diff --git a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java index 8d9b5a3194..d06350b401 100644 --- a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java +++ b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java @@ -1162,28 +1162,17 @@ private static void populateLlapDaemonVarsSet(Set llapDaemonVarsSetLocal // materialized views HIVE_MATERIALIZED_VIEW_ENABLE_AUTO_REWRITING("hive.materializedview.rewriting", false, "Whether to try to rewrite queries using the materialized views enabled for rewriting"), - HIVE_MATERIALIZED_VIEW_REWRITING_TIME_WINDOW("hive.materializedview.rewriting.time.window", "0s", new TimeValidator(TimeUnit.SECONDS), + HIVE_MATERIALIZED_VIEW_REWRITING_TIME_WINDOW("hive.materializedview.rewriting.time.window", "0min", new TimeValidator(TimeUnit.MINUTES), "Time window, specified in seconds, after which outdated materialized views become invalid for automatic query rewriting.\n" + - "For instance, if a materialized view is created and afterwards one of its source tables is changed at " + - "moment in time t0, the materialized view will not be considered for rewriting anymore after t0 plus " + - "the value assigned to this property. Default value 0 means that the materialized view cannot be " + + "For instance, if more time than the value assigned to the property has passed since the materialized view " + + "was created or rebuilt, and one of its source tables has changed since, the materialized view will not be " + + "considered for rewriting. Default value 0 means that the materialized view cannot be " + "outdated to be used automatically in query rewriting."), HIVE_MATERIALIZED_VIEW_FILE_FORMAT("hive.materializedview.fileformat", "ORC", new StringSet("none", "TextFile", "SequenceFile", "RCfile", "ORC"), "Default file format for CREATE MATERIALIZED VIEW statement"), HIVE_MATERIALIZED_VIEW_SERDE("hive.materializedview.serde", "org.apache.hadoop.hive.ql.io.orc.OrcSerde", "Default SerDe used for materialized views"), - HIVE_MATERIALIZATIONS_INVALIDATION_CACHE_IMPL("hive.metastore.materializations.invalidation.impl", "DEFAULT", - new StringSet("DEFAULT", "DISABLE"), - "The implementation that we should use for the materializations invalidation cache. \n" + - " DEFAULT: Default implementation for invalidation cache\n" + - " DISABLE: Disable invalidation cache (debugging purposes)"), - HIVE_MATERIALIZATIONS_INVALIDATION_CACHE_CLEAN_FREQUENCY("hive.metastore.materializations.invalidation.clean.frequency", - "3600s", new TimeValidator(TimeUnit.SECONDS), "Frequency at which timer task runs to remove unnecessary transactions information from" + - "materializations invalidation cache."), - HIVE_MATERIALIZATIONS_INVALIDATION_CACHE_EXPIRY_DURATION("hive.metastore.materializations.invalidation.max.duration", - "86400s", new TimeValidator(TimeUnit.SECONDS), "Maximum duration for query producing a materialization. After this time, transactions" + - "information that is not relevant for materializations can be removed from invalidation cache."), // hive.mapjoin.bucket.cache.size has been replaced by hive.smbjoin.cache.row, // need to remove by hive .13. Also, do not change default (see SMB operator) diff --git a/metastore/scripts/upgrade/derby/048-HIVE-14498.derby.sql b/metastore/scripts/upgrade/derby/048-HIVE-14498.derby.sql index e28d002ad6..0dfbe538a9 100644 --- a/metastore/scripts/upgrade/derby/048-HIVE-14498.derby.sql +++ b/metastore/scripts/upgrade/derby/048-HIVE-14498.derby.sql @@ -1,5 +1,5 @@ -- create mv_creation_metadata table -CREATE TABLE "APP"."MV_CREATION_METADATA" ("MV_CREATION_METADATA_ID" BIGINT NOT NULL, "DB_NAME" VARCHAR(128) NOT NULL, "TBL_NAME" VARCHAR(256) NOT NULL, "TXN_LIST" CLOB); +CREATE TABLE "APP"."MV_CREATION_METADATA" ("MV_CREATION_METADATA_ID" BIGINT NOT NULL, "DB_NAME" VARCHAR(128) NOT NULL, "TBL_NAME" VARCHAR(256) NOT NULL, "TXN_LIST" CLOB, "MATERIALIZATION_TIME" BIGINT NOT NULL); CREATE TABLE "APP"."MV_TABLES_USED" ("MV_CREATION_METADATA_ID" BIGINT NOT NULL, "TBL_ID" BIGINT NOT NULL); ALTER TABLE "APP"."MV_CREATION_METADATA" ADD CONSTRAINT "MV_CREATION_METADATA_PK" PRIMARY KEY ("MV_CREATION_METADATA_ID"); CREATE UNIQUE INDEX "APP"."MV_UNIQUE_TABLE" ON "APP"."MV_CREATION_METADATA" ("TBL_NAME", "DB_NAME"); diff --git a/metastore/scripts/upgrade/derby/hive-schema-3.0.0.derby.sql b/metastore/scripts/upgrade/derby/hive-schema-3.0.0.derby.sql index 2b1dd5bf7f..c614d28105 100644 --- a/metastore/scripts/upgrade/derby/hive-schema-3.0.0.derby.sql +++ b/metastore/scripts/upgrade/derby/hive-schema-3.0.0.derby.sql @@ -62,7 +62,7 @@ CREATE TABLE "APP"."ROLES" ("ROLE_ID" BIGINT NOT NULL, "CREATE_TIME" INTEGER NOT CREATE TABLE "APP"."TBLS" ("TBL_ID" BIGINT NOT NULL, "CREATE_TIME" INTEGER NOT NULL, "DB_ID" BIGINT, "LAST_ACCESS_TIME" INTEGER NOT NULL, "OWNER" VARCHAR(767), "RETENTION" INTEGER NOT NULL, "SD_ID" BIGINT, "TBL_NAME" VARCHAR(256), "TBL_TYPE" VARCHAR(128), "VIEW_EXPANDED_TEXT" LONG VARCHAR, "VIEW_ORIGINAL_TEXT" LONG VARCHAR, "IS_REWRITE_ENABLED" CHAR(1) NOT NULL DEFAULT 'N'); -CREATE TABLE "APP"."MV_CREATION_METADATA" ("MV_CREATION_METADATA_ID" BIGINT NOT NULL, "DB_NAME" VARCHAR(128) NOT NULL, "TBL_NAME" VARCHAR(256) NOT NULL, "TXN_LIST" CLOB); +CREATE TABLE "APP"."MV_CREATION_METADATA" ("MV_CREATION_METADATA_ID" BIGINT NOT NULL, "DB_NAME" VARCHAR(128) NOT NULL, "TBL_NAME" VARCHAR(256) NOT NULL, "TXN_LIST" CLOB, "MATERIALIZATION_TIME" BIGINT NOT NULL); CREATE TABLE "APP"."MV_TABLES_USED" ("MV_CREATION_METADATA_ID" BIGINT NOT NULL, "TBL_ID" BIGINT NOT NULL); diff --git a/metastore/scripts/upgrade/hive/hive-schema-3.0.0.hive.sql b/metastore/scripts/upgrade/hive/hive-schema-3.0.0.hive.sql index 3444439ce4..b4914babe3 100644 --- a/metastore/scripts/upgrade/hive/hive-schema-3.0.0.hive.sql +++ b/metastore/scripts/upgrade/hive/hive-schema-3.0.0.hive.sql @@ -613,6 +613,7 @@ CREATE TABLE IF NOT EXISTS `MV_CREATION_METADATA` ( `DB_NAME` string, `TBL_NAME` string, `TXN_LIST` string, + `MATERIALIZATION_TIME` bigint, CONSTRAINT `SYS_PK_MV_CREATION_METADATA` PRIMARY KEY (`MV_CREATION_METADATA_ID`) DISABLE ) STORED BY 'org.apache.hive.storage.jdbc.JdbcStorageHandler' @@ -623,7 +624,8 @@ TBLPROPERTIES ( \"MV_CREATION_METADATA_ID\", \"DB_NAME\", \"TBL_NAME\", - \"TXN_LIST\" + \"TXN_LIST\", + \"MATERIALIZATION_TIME\" FROM MV_CREATION_METADATA" ); diff --git a/metastore/scripts/upgrade/mssql/033-HIVE-14498.mssql.sql b/metastore/scripts/upgrade/mssql/033-HIVE-14498.mssql.sql index cb41b99abd..a029b56f51 100644 --- a/metastore/scripts/upgrade/mssql/033-HIVE-14498.mssql.sql +++ b/metastore/scripts/upgrade/mssql/033-HIVE-14498.mssql.sql @@ -3,7 +3,8 @@ CREATE TABLE MV_CREATION_METADATA MV_CREATION_METADATA_ID bigint NOT NULL, DB_NAME nvarchar(128) NOT NULL, TBL_NAME nvarchar(256) NOT NULL, - TXN_LIST text NULL + TXN_LIST text NULL, + MATERIALIZATION_TIME bigint NOT NULL ); CREATE TABLE MV_TABLES_USED ( diff --git a/metastore/scripts/upgrade/mysql/048-HIVE-14498.mysql.sql b/metastore/scripts/upgrade/mysql/048-HIVE-14498.mysql.sql index 1a791a6d00..0e25a59cd0 100644 --- a/metastore/scripts/upgrade/mysql/048-HIVE-14498.mysql.sql +++ b/metastore/scripts/upgrade/mysql/048-HIVE-14498.mysql.sql @@ -3,6 +3,7 @@ CREATE TABLE IF NOT EXISTS `MV_CREATION_METADATA` ( `DB_NAME` varchar(128) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL, `TBL_NAME` varchar(256) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL, `TXN_LIST` TEXT DEFAULT NULL, + `MATERIALIZATION_TIME` bigint(20) NOT NULL, PRIMARY KEY (`MV_CREATION_METADATA_ID`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; CREATE INDEX MV_UNIQUE_TABLE ON MV_CREATION_METADATA (TBL_NAME, DB_NAME) USING BTREE; diff --git a/metastore/scripts/upgrade/oracle/048-HIVE-14498.oracle.sql b/metastore/scripts/upgrade/oracle/048-HIVE-14498.oracle.sql index 9c3e3cc6f6..180fc623e9 100644 --- a/metastore/scripts/upgrade/oracle/048-HIVE-14498.oracle.sql +++ b/metastore/scripts/upgrade/oracle/048-HIVE-14498.oracle.sql @@ -3,7 +3,8 @@ CREATE TABLE MV_CREATION_METADATA MV_CREATION_METADATA_ID NUMBER NOT NULL, DB_NAME VARCHAR2(128) NOT NULL, TBL_NAME VARCHAR2(256) NOT NULL, - TXN_LIST CLOB NULL + TXN_LIST CLOB NULL, + MATERIALIZATION_TIME NUMBER NOT NULL ); CREATE TABLE MV_TABLES_USED ( diff --git a/metastore/scripts/upgrade/postgres/047-HIVE-14498.postgres.sql b/metastore/scripts/upgrade/postgres/047-HIVE-14498.postgres.sql index 8d1c5b2d7c..2529fb85d9 100644 --- a/metastore/scripts/upgrade/postgres/047-HIVE-14498.postgres.sql +++ b/metastore/scripts/upgrade/postgres/047-HIVE-14498.postgres.sql @@ -2,7 +2,8 @@ CREATE TABLE "MV_CREATION_METADATA" ( "MV_CREATION_METADATA_ID" bigint NOT NULL, "DB_NAME" character varying(128) NOT NULL, "TBL_NAME" character varying(256) NOT NULL, - "TXN_LIST" text + "TXN_LIST" text, + "MATERIALIZATION_TIME" bigint NOT NULL ); CREATE TABLE "MV_TABLES_USED" ( "MV_CREATION_METADATA_ID" bigint NOT NULL, diff --git a/ql/src/java/org/apache/hadoop/hive/ql/Driver.java b/ql/src/java/org/apache/hadoop/hive/ql/Driver.java index 75f928b69d..667f436a89 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/Driver.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/Driver.java @@ -196,6 +196,10 @@ private HiveTxnManager queryTxnMgr; private RuntimeStatsSource runtimeStatsSource; + // Boolean to store information about whether valid txn list was generated + // for current query. + private boolean validTxnListsGenerated; + private CacheUsage cacheUsage; private CacheEntry usedCacheEntry; @@ -613,6 +617,9 @@ public void run() { tree = hookRunner.runPreAnalyzeHooks(hookCtx, tree); sem = SemanticAnalyzerFactory.get(queryState, tree); openTransaction(); + // TODO: Lock acquisition should be moved before this method call + // when we want to implement lock-based concurrency control + generateValidTxnList(); sem.analyze(tree, ctx); hookCtx.update(sem); @@ -620,6 +627,9 @@ public void run() { } else { sem = SemanticAnalyzerFactory.get(queryState, tree); openTransaction(); + // TODO: Lock acquisition should be moved before this method call + // when we want to implement lock-based concurrency control + generateValidTxnList(); sem.analyze(tree, ctx); } LOG.info("Semantic Analysis Completed"); @@ -769,6 +779,24 @@ private void openTransaction() throws LockException, CommandProcessorResponse { } } + private void generateValidTxnList() throws LockException { + // Record current valid txn list that will be used throughout the query + // compilation and processing. We only do this if 1) a transaction + // was already opened and 2) the list has not been recorded yet, + // e.g., by an explicit open transaction command. + validTxnListsGenerated = false; + String currentTxnString = conf.get(ValidTxnList.VALID_TXNS_KEY); + if (queryTxnMgr.isTxnOpen() && (currentTxnString == null || currentTxnString.isEmpty())) { + try { + recordValidTxns(queryTxnMgr); + validTxnListsGenerated = true; + } catch (LockException e) { + LOG.error("Exception while acquiring valid txn list", e); + throw e; + } + } + } + private boolean startImplicitTxn(HiveTxnManager txnManager) throws LockException { boolean shouldOpenImplicitTxn = !ctx.isExplainPlan(); //this is dumb. HiveOperation is not always set. see HIVE-16447/HIVE-16443 @@ -1360,8 +1388,10 @@ private void acquireLocks() throws CommandProcessorResponse { /*It's imperative that {@code acquireLocks()} is called for all commands so that HiveTxnManager can transition its state machine correctly*/ queryTxnMgr.acquireLocks(plan, ctx, userFromUGI, lDrvState); - if (queryTxnMgr.recordSnapshot(plan)) { - recordValidTxns(queryTxnMgr); + // This check is for controlling the correctness of the current state + if (queryTxnMgr.recordSnapshot(plan) && !validTxnListsGenerated) { + throw new IllegalStateException("calling recordValidTxn() more than once in the same " + + JavaUtils.txnIdToString(queryTxnMgr.getCurrentTxnId())); } if (plan.hasAcidResourcesInQuery()) { recordValidWriteIds(queryTxnMgr); @@ -1519,11 +1549,21 @@ public CommandProcessorResponse run(String command, boolean alreadyCompiled) { @Override public CommandProcessorResponse compileAndRespond(String command) { + return compileAndRespond(command, false); + } + + public CommandProcessorResponse compileAndRespond(String command, boolean cleanupTxnList) { try { compileInternal(command, false); return createProcessorResponse(0); } catch (CommandProcessorResponse e) { return e; + } finally { + if (cleanupTxnList) { + // Valid txn list might be generated for a query compiled using this + // command, thus we need to reset it + conf.unset(ValidTxnList.VALID_TXNS_KEY); + } } } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java index 4eafcde7fb..ca93486c0c 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java @@ -63,6 +63,7 @@ import org.apache.hadoop.hive.common.JavaUtils; import org.apache.hadoop.hive.common.StatsSetupConst; import org.apache.hadoop.hive.common.ValidTxnList; +import org.apache.hadoop.hive.common.ValidTxnWriteIdList; import org.apache.hadoop.hive.common.ValidWriteIdList; import org.apache.hadoop.hive.common.type.HiveDecimal; import org.apache.hadoop.hive.conf.Constants; @@ -5017,7 +5018,7 @@ private int createView(Hive db, CreateViewDesc crtView) throws HiveException { CreationMetadata cm = new CreationMetadata(tbl.getDbName(), tbl.getTableName(), ImmutableSet.copyOf(crtView.getTablesUsed())); - cm.setValidTxnList(conf.get(ValidTxnList.VALID_TXNS_KEY)); + cm.setValidTxnList(conf.get(ValidTxnWriteIdList.VALID_TABLES_WRITEIDS_KEY)); tbl.getTTable().setCreationMetadata(cm); } db.createTable(tbl, crtView.getIfNotExists()); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/MaterializedViewTask.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/MaterializedViewTask.java index de120afbbc..ada9d9f186 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/MaterializedViewTask.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/MaterializedViewTask.java @@ -19,7 +19,7 @@ package org.apache.hadoop.hive.ql.exec; import com.google.common.collect.ImmutableSet; -import org.apache.hadoop.hive.common.ValidTxnList; +import org.apache.hadoop.hive.common.ValidTxnWriteIdList; import org.apache.hadoop.hive.metastore.api.CreationMetadata; import org.apache.hadoop.hive.ql.DriverContext; import org.apache.hadoop.hive.ql.metadata.Hive; @@ -65,7 +65,7 @@ public int execute(DriverContext driverContext) { CreationMetadata cm = new CreationMetadata(mvTable.getDbName(), mvTable.getTableName(), ImmutableSet.copyOf(mvTable.getCreationMetadata().getTablesUsed())); - cm.setValidTxnList(conf.get(ValidTxnList.VALID_TXNS_KEY)); + cm.setValidTxnList(conf.get(ValidTxnWriteIdList.VALID_TABLES_WRITEIDS_KEY)); db.updateCreationMetadata(mvTable.getDbName(), mvTable.getTableName(), cm); } } catch (HiveException e) { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java index da690b4aa4..5791ab0514 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java @@ -72,6 +72,9 @@ import org.apache.hadoop.hive.common.JavaUtils; import org.apache.hadoop.hive.common.ObjectPair; import org.apache.hadoop.hive.common.StatsSetupConst; +import org.apache.hadoop.hive.common.ValidTxnList; +import org.apache.hadoop.hive.common.ValidTxnWriteIdList; +import org.apache.hadoop.hive.common.ValidWriteIdList; import org.apache.hadoop.hive.common.classification.InterfaceAudience.LimitedPrivate; import org.apache.hadoop.hive.common.classification.InterfaceStability.Unstable; import org.apache.hadoop.hive.common.log.InPlaceUpdate; @@ -115,7 +118,6 @@ import org.apache.hadoop.hive.metastore.api.HiveObjectType; import org.apache.hadoop.hive.metastore.api.InsertEventRequestData; import org.apache.hadoop.hive.metastore.api.InvalidOperationException; -import org.apache.hadoop.hive.metastore.api.Materialization; import org.apache.hadoop.hive.metastore.api.MetaException; import org.apache.hadoop.hive.metastore.api.MetadataPpdResult; import org.apache.hadoop.hive.metastore.api.NoSuchObjectException; @@ -154,6 +156,7 @@ import org.apache.hadoop.hive.ql.exec.Utilities; import org.apache.hadoop.hive.ql.io.AcidUtils; import org.apache.hadoop.hive.ql.lockmgr.DbTxnManager; +import org.apache.hadoop.hive.ql.lockmgr.HiveTxnManager; import org.apache.hadoop.hive.ql.log.PerfLogger; import org.apache.hadoop.hive.ql.optimizer.calcite.RelOptHiveTable; import org.apache.hadoop.hive.ql.optimizer.listbucketingpruner.ListBucketingPrunerUtils; @@ -171,6 +174,7 @@ import org.apache.hadoop.mapred.InputFormat; import org.apache.hadoop.security.UserGroupInformation; import org.apache.hadoop.util.StringUtils; +import org.apache.hive.common.util.TxnIdUtils; import org.apache.thrift.TException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -1301,7 +1305,10 @@ public Table apply(org.apache.hadoop.hive.metastore.api.Table table) { * @return the list of materialized views available for rewriting * @throws HiveException */ - public List getValidMaterializedViews(boolean materializedViewRebuild) throws HiveException { + public List getValidMaterializedViews(boolean materializedViewRebuild) + throws HiveException { + final HiveTxnManager txnMgr = SessionState.get().getTxnMgr(); + final Map cachedWriteIdLists = new HashMap<>(); final long defaultDiff = HiveConf.getTimeVar(conf, HiveConf.ConfVars.HIVE_MATERIALIZED_VIEW_REWRITING_TIME_WINDOW, TimeUnit.MILLISECONDS); @@ -1317,17 +1324,17 @@ public Table apply(org.apache.hadoop.hive.metastore.api.Table table) { continue; } List materializedViewTables = getTableObjects(dbName, materializedViewNames); - Map databaseInvalidationInfo = - getMSC().getMaterializationsInvalidationInfo(dbName, materializedViewNames); + // First we loop to gather all the information about the tables that are used by the MVs + List tablesNeeded = new ArrayList<>(); + for (Table materializedViewTable : materializedViewTables) { + tablesNeeded.addAll(materializedViewTable.getCreationMetadata().getTablesUsed()); + } + String txnString = conf.get(ValidTxnList.VALID_TXNS_KEY); + ValidTxnWriteIdList currentTxnWriteIds = null; + if (txnString != null && !txnString.isEmpty()) { + currentTxnWriteIds = txnMgr.getValidWriteIds(tablesNeeded, txnString); + } for (Table materializedViewTable : materializedViewTables) { - // Check whether the materialized view is invalidated - Materialization materializationInvalidationInfo = - databaseInvalidationInfo.get(materializedViewTable.getTableName()); - if (materializationInvalidationInfo == null) { - LOG.debug("Materialized view " + materializedViewTable.getFullyQualifiedName() + - " ignored for rewriting as there was no information loaded in the invalidation cache"); - continue; - } // Check if materialization defined its own invalidation time window String timeWindowString = materializedViewTable.getProperty(MATERIALIZED_VIEW_REWRITING_TIME_WINDOW); long diff = org.apache.commons.lang.StringUtils.isEmpty(timeWindowString) ? defaultDiff : @@ -1335,22 +1342,70 @@ public Table apply(org.apache.hadoop.hive.metastore.api.Table table) { HiveConf.getDefaultTimeUnit(HiveConf.ConfVars.HIVE_MATERIALIZED_VIEW_REWRITING_TIME_WINDOW), TimeUnit.MILLISECONDS); - long invalidationTime = materializationInvalidationInfo.getInvalidationTime(); + CreationMetadata cm = materializedViewTable.getCreationMetadata(); // If the limit is not met, we do not add the materialized view. // If we are doing a rebuild, we do not consider outdated materialized views either. if (diff == 0L || materializedViewRebuild) { - if (invalidationTime != 0L) { + if (currentTxnWriteIds == null) { // If parameter is zero, materialized view cannot be outdated at all LOG.debug("Materialized view " + materializedViewTable.getFullyQualifiedName() + - " ignored for rewriting as its contents are outdated"); + " ignored for rewriting as we could not obtain current txn ids"); continue; } - } else { - if (invalidationTime != 0 && invalidationTime > currentTime - diff) { + if (cm.getValidTxnList() == null) { + // If parameter is zero, materialized view cannot be outdated at all + LOG.debug("Materialized view " + materializedViewTable.getFullyQualifiedName() + + " ignored for rewriting as we could not obtain materialization txn ids"); + continue; + } + ValidTxnWriteIdList mvTxnWriteIds = new ValidTxnWriteIdList(cm.getValidTxnList()); + boolean accepted = true; + for (String qName : cm.getTablesUsed()) { + ValidWriteIdList tableCurrentWriteIds = currentTxnWriteIds.getTableValidWriteIdList(qName); + ValidWriteIdList tableWriteIds = mvTxnWriteIds.getTableValidWriteIdList(qName); + if (tableCurrentWriteIds == null || tableWriteIds == null || + !TxnIdUtils.checkEquivalentWriteIds(tableCurrentWriteIds, tableWriteIds)) { + accepted = false; + break; + } + } + if (!accepted) { + // If parameter is zero, materialized view cannot be outdated at all LOG.debug("Materialized view " + materializedViewTable.getFullyQualifiedName() + " ignored for rewriting as its contents are outdated"); continue; } + } else { + if (cm.getMaterializationTime() < currentTime - diff) { + if (currentTxnWriteIds == null) { + // If parameter is zero, materialized view cannot be outdated at all + LOG.debug("Materialized view " + materializedViewTable.getFullyQualifiedName() + + " ignored for rewriting as we could not obtain current txn ids"); + continue; + } + if (cm.getValidTxnList() == null) { + // If parameter is zero, materialized view cannot be outdated at all + LOG.debug("Materialized view " + materializedViewTable.getFullyQualifiedName() + + " ignored for rewriting as we could not obtain materialization txn ids"); + continue; + } + ValidTxnWriteIdList mvTxnWriteIds = new ValidTxnWriteIdList(cm.getValidTxnList()); + boolean accepted = true; + for (String qName : cm.getTablesUsed()) { + ValidWriteIdList tableCurrentWriteIds = currentTxnWriteIds.getTableValidWriteIdList(qName); + ValidWriteIdList tableWriteIds = mvTxnWriteIds.getTableValidWriteIdList(qName); + if (tableCurrentWriteIds == null || tableWriteIds == null || + !TxnIdUtils.checkEquivalentWriteIds(tableCurrentWriteIds, tableWriteIds)) { + accepted = false; + break; + } + } + if (!accepted) { + LOG.debug("Materialized view " + materializedViewTable.getFullyQualifiedName() + + " ignored for rewriting as its contents are outdated"); + continue; + } + } } // It passed the test, load diff --git a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDTFGetSplits.java b/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDTFGetSplits.java index ba0d56ae37..4c86fb8937 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDTFGetSplits.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDTFGetSplits.java @@ -317,6 +317,7 @@ public PlanFragment createPlanFragment(String query, int num, ApplicationId spli } String validWriteIdString = driverConf.get(ValidTxnWriteIdList.VALID_TABLES_WRITEIDS_KEY); if (validWriteIdString != null) { + assert validTxnString != null; jc.set(ValidTxnWriteIdList.VALID_TABLES_WRITEIDS_KEY, validWriteIdString); } diff --git a/ql/src/test/org/apache/hadoop/hive/ql/lockmgr/TestDbTxnManager2.java b/ql/src/test/org/apache/hadoop/hive/ql/lockmgr/TestDbTxnManager2.java index efc0cfe940..39f40b1b85 100644 --- a/ql/src/test/org/apache/hadoop/hive/ql/lockmgr/TestDbTxnManager2.java +++ b/ql/src/test/org/apache/hadoop/hive/ql/lockmgr/TestDbTxnManager2.java @@ -126,7 +126,7 @@ public void testMetadataOperationLocks() throws Exception { conf.setBoolVar(HiveConf.ConfVars.HIVE_TXN_STRICT_LOCKING_MODE, false); dropTable(new String[] {"T"}); checkCmdOnDriver(driver.run("create table if not exists T (a int, b int)")); - checkCmdOnDriver(driver.compileAndRespond("insert into T values (1,2)")); + checkCmdOnDriver(driver.compileAndRespond("insert into T values (1,2)", true)); txnMgr.acquireLocks(driver.getPlan(), ctx, "Fifer"); List locks = getLocks(); Assert.assertEquals("Unexpected lock count", 2, locks.size()); @@ -137,7 +137,7 @@ public void testMetadataOperationLocks() throws Exception { //simulate concurrent session HiveTxnManager txnMgr2 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); swapTxnManager(txnMgr2); - checkCmdOnDriver(driver.compileAndRespond("alter table T SET TBLPROPERTIES ('transactional'='true')")); + checkCmdOnDriver(driver.compileAndRespond("alter table T SET TBLPROPERTIES ('transactional'='true')", true)); ((DbTxnManager)txnMgr2).acquireLocks(driver.getPlan(), ctx, "Fiddler", false); locks = getLocks(); Assert.assertEquals("Unexpected lock count", 3, locks.size()); @@ -155,7 +155,7 @@ public void testLocksInSubquery() throws Exception { checkCmdOnDriver(driver.run("create table if not exists S (a int, b int) clustered by(b) into 2 buckets stored as orc TBLPROPERTIES ('transactional'='true')")); checkCmdOnDriver(driver.run("create table if not exists R (a int, b int) clustered by(b) into 2 buckets stored as orc TBLPROPERTIES ('transactional'='true')")); - checkCmdOnDriver(driver.compileAndRespond("delete from S where a in (select a from T where b = 1)")); + checkCmdOnDriver(driver.compileAndRespond("delete from S where a in (select a from T where b = 1)", true)); txnMgr.acquireLocks(driver.getPlan(), ctx, "one"); List locks = getLocks(); Assert.assertEquals("Unexpected lock count", 2, locks.size()); @@ -163,7 +163,7 @@ public void testLocksInSubquery() throws Exception { checkLock(LockType.SHARED_WRITE, LockState.ACQUIRED, "default", "S", null, locks); txnMgr.rollbackTxn(); - checkCmdOnDriver(driver.compileAndRespond("update S set a = 7 where a in (select a from T where b = 1)")); + checkCmdOnDriver(driver.compileAndRespond("update S set a = 7 where a in (select a from T where b = 1)", true)); txnMgr.acquireLocks(driver.getPlan(), ctx, "one"); locks = getLocks(); Assert.assertEquals("Unexpected lock count", 2, locks.size()); @@ -171,7 +171,7 @@ public void testLocksInSubquery() throws Exception { checkLock(LockType.SHARED_WRITE, LockState.ACQUIRED, "default", "S", null, locks); txnMgr.rollbackTxn(); - checkCmdOnDriver(driver.compileAndRespond("insert into R select * from S where a in (select a from T where b = 1)")); + checkCmdOnDriver(driver.compileAndRespond("insert into R select * from S where a in (select a from T where b = 1)", true)); txnMgr.acquireLocks(driver.getPlan(), ctx, "three"); locks = getLocks(); Assert.assertEquals("Unexpected lock count", 3, locks.size()); @@ -183,7 +183,7 @@ public void testLocksInSubquery() throws Exception { @Test public void createTable() throws Exception { dropTable(new String[] {"T"}); - CommandProcessorResponse cpr = driver.compileAndRespond("create table if not exists T (a int, b int)"); + CommandProcessorResponse cpr = driver.compileAndRespond("create table if not exists T (a int, b int)", true); checkCmdOnDriver(cpr); txnMgr.acquireLocks(driver.getPlan(), ctx, "Fifer"); List locks = getLocks(); @@ -199,7 +199,7 @@ public void insertOverwriteCreate() throws Exception { checkCmdOnDriver(cpr); cpr = driver.run("create table if not exists T3(a int)"); checkCmdOnDriver(cpr); - cpr = driver.compileAndRespond("insert overwrite table T3 select a from T2"); + cpr = driver.compileAndRespond("insert overwrite table T3 select a from T2", true); checkCmdOnDriver(cpr); txnMgr.acquireLocks(driver.getPlan(), ctx, "Fifer"); List locks = getLocks(); @@ -220,7 +220,7 @@ public void insertOverwritePartitionedCreate() throws Exception { checkCmdOnDriver(cpr); cpr = driver.run("create table if not exists T5(name string, age int, gpa double)"); checkCmdOnDriver(cpr); - cpr = driver.compileAndRespond("INSERT OVERWRITE TABLE T4 PARTITION (age) SELECT name, age, gpa FROM T5"); + cpr = driver.compileAndRespond("INSERT OVERWRITE TABLE T4 PARTITION (age) SELECT name, age, gpa FROM T5", true); checkCmdOnDriver(cpr); txnMgr.acquireLocks(driver.getPlan(), ctx, "Fifer"); List locks = getLocks(); @@ -239,13 +239,13 @@ public void basicBlocking() throws Exception { dropTable(new String[] {"T6"}); CommandProcessorResponse cpr = driver.run("create table if not exists T6(a int)"); checkCmdOnDriver(cpr); - cpr = driver.compileAndRespond("select a from T6"); + cpr = driver.compileAndRespond("select a from T6", true); checkCmdOnDriver(cpr); txnMgr.acquireLocks(driver.getPlan(), ctx, "Fifer");//gets S lock on T6 List selectLocks = ctx.getHiveLocks(); HiveTxnManager txnMgr2 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); swapTxnManager(txnMgr2); - cpr = driver.compileAndRespond("drop table if exists T6"); + cpr = driver.compileAndRespond("drop table if exists T6", true); checkCmdOnDriver(cpr); //tries to get X lock on T1 and gets Waiting state LockState lockState = ((DbTxnManager) txnMgr2).acquireLocks(driver.getPlan(), ctx, "Fiddler", false); @@ -272,12 +272,12 @@ public void lockConflictDbTable() throws Exception { checkCmdOnDriver(cpr); cpr = driver.run("create table if not exists temp.T7(a int, b int) clustered by(b) into 2 buckets stored as orc TBLPROPERTIES ('transactional'='true')"); checkCmdOnDriver(cpr); - cpr = driver.compileAndRespond("update temp.T7 set a = 5 where b = 6");//gets SS lock on T7 + cpr = driver.compileAndRespond("update temp.T7 set a = 5 where b = 6", true);//gets SS lock on T7 checkCmdOnDriver(cpr); txnMgr.acquireLocks(driver.getPlan(), ctx, "Fifer"); HiveTxnManager txnMgr2 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); swapTxnManager(txnMgr2); - checkCmdOnDriver(driver.compileAndRespond("drop database if exists temp")); + checkCmdOnDriver(driver.compileAndRespond("drop database if exists temp", true)); ((DbTxnManager)txnMgr2).acquireLocks(driver.getPlan(), ctx, "Fiddler", false); List locks = getLocks(); Assert.assertEquals("Unexpected lock count", 2, locks.size()); @@ -295,16 +295,16 @@ public void updateSelectUpdate() throws Exception { dropTable(new String[] {"T8"}); CommandProcessorResponse cpr = driver.run("create table T8(a int, b int) clustered by(b) into 2 buckets stored as orc TBLPROPERTIES ('transactional'='true')"); checkCmdOnDriver(cpr); - cpr = driver.compileAndRespond("delete from T8 where b = 89"); + cpr = driver.compileAndRespond("delete from T8 where b = 89", true); checkCmdOnDriver(cpr); txnMgr.acquireLocks(driver.getPlan(), ctx, "Fifer");//gets SS lock on T8 HiveTxnManager txnMgr2 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); swapTxnManager(txnMgr2); checkCmdOnDriver(driver.run("start transaction")); - cpr = driver.compileAndRespond("select a from T8");//gets S lock on T8 + cpr = driver.compileAndRespond("select a from T8", true);//gets S lock on T8 checkCmdOnDriver(cpr); txnMgr2.acquireLocks(driver.getPlan(), ctx, "Fiddler"); - checkCmdOnDriver(driver.compileAndRespond("update T8 set a = 1 where b = 1")); + checkCmdOnDriver(driver.compileAndRespond("update T8 set a = 1 where b = 1", true)); ((DbTxnManager) txnMgr2).acquireLocks(driver.getPlan(), ctx, "Practical", false);//waits for SS lock on T8 from fifer List locks = getLocks(); Assert.assertEquals("Unexpected lock count", 3, locks.size()); @@ -332,7 +332,7 @@ public void testLockRetryLimit() throws Exception { conf.setBoolVar(HiveConf.ConfVars.TXN_MGR_DUMP_LOCK_STATE_ON_ACQUIRE_TIMEOUT, true); CommandProcessorResponse cpr = driver.run("create table T9(a int)"); checkCmdOnDriver(cpr); - cpr = driver.compileAndRespond("select * from T9"); + cpr = driver.compileAndRespond("select * from T9", true); checkCmdOnDriver(cpr); txnMgr.acquireLocks(driver.getPlan(), ctx, "Vincent Vega"); List locks = getLocks(); @@ -340,7 +340,7 @@ public void testLockRetryLimit() throws Exception { checkLock(LockType.SHARED_READ, LockState.ACQUIRED, "default", "T9", null, locks); HiveTxnManager txnMgr2 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); swapTxnManager(txnMgr2); - cpr = driver.compileAndRespond("drop table T9"); + cpr = driver.compileAndRespond("drop table T9", true); checkCmdOnDriver(cpr); try { txnMgr2.acquireLocks(driver.getPlan(), ctx, "Winston Winnfield"); @@ -366,7 +366,7 @@ public void testLockBlockedBy() throws Exception { dropTable(new String[] {"TAB_BLOCKED"}); CommandProcessorResponse cpr = driver.run("create table TAB_BLOCKED (a int, b int) clustered by (a) into 2 buckets stored as orc TBLPROPERTIES ('transactional'='true')"); checkCmdOnDriver(cpr); - cpr = driver.compileAndRespond("select * from TAB_BLOCKED"); + cpr = driver.compileAndRespond("select * from TAB_BLOCKED", true); checkCmdOnDriver(cpr); txnMgr.acquireLocks(driver.getPlan(), ctx, "I AM SAM"); List locks = getLocks(); @@ -374,7 +374,7 @@ public void testLockBlockedBy() throws Exception { checkLock(LockType.SHARED_READ, LockState.ACQUIRED, "default", "TAB_BLOCKED", null, locks); HiveTxnManager txnMgr2 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); swapTxnManager(txnMgr2); - cpr = driver.compileAndRespond("drop table TAB_BLOCKED"); + cpr = driver.compileAndRespond("drop table TAB_BLOCKED", true); checkCmdOnDriver(cpr); ((DbTxnManager)txnMgr2).acquireLocks(driver.getPlan(), ctx, "SAM I AM", false);//make non-blocking locks = getLocks(); @@ -396,22 +396,22 @@ public void testDummyTxnManagerOnAcidTable() throws Exception { // All DML should fail with DummyTxnManager on ACID table useDummyTxnManagerTemporarily(conf); - cpr = driver.compileAndRespond("select * from T10"); + cpr = driver.compileAndRespond("select * from T10", true); Assert.assertEquals(ErrorMsg.TXNMGR_NOT_ACID.getErrorCode(), cpr.getResponseCode()); Assert.assertTrue(cpr.getErrorMessage().contains("This command is not allowed on an ACID table")); useDummyTxnManagerTemporarily(conf); - cpr = driver.compileAndRespond("insert into table T10 values (1, 2)"); + cpr = driver.compileAndRespond("insert into table T10 values (1, 2)", true); Assert.assertEquals(ErrorMsg.TXNMGR_NOT_ACID.getErrorCode(), cpr.getResponseCode()); Assert.assertTrue(cpr.getErrorMessage().contains("This command is not allowed on an ACID table")); useDummyTxnManagerTemporarily(conf); - cpr = driver.compileAndRespond("update T10 set a=0 where b=1"); + cpr = driver.compileAndRespond("update T10 set a=0 where b=1", true); Assert.assertEquals(ErrorMsg.ACID_OP_ON_NONACID_TXNMGR.getErrorCode(), cpr.getResponseCode()); Assert.assertTrue(cpr.getErrorMessage().contains("Attempt to do update or delete using transaction manager that does not support these operations.")); useDummyTxnManagerTemporarily(conf); - cpr = driver.compileAndRespond("delete from T10"); + cpr = driver.compileAndRespond("delete from T10", true); Assert.assertEquals(ErrorMsg.ACID_OP_ON_NONACID_TXNMGR.getErrorCode(), cpr.getResponseCode()); Assert.assertTrue(cpr.getErrorMessage().contains("Attempt to do update or delete using transaction manager that does not support these operations.")); @@ -632,7 +632,7 @@ public void checkExpectedLocks() throws Exception { cpr = driver.run("create table nonAcidPart(a int, b int) partitioned by (p string) stored as orc TBLPROPERTIES ('transactional'='false')"); checkCmdOnDriver(cpr); - cpr = driver.compileAndRespond("insert into nonAcidPart partition(p) values(1,2,3)"); + cpr = driver.compileAndRespond("insert into nonAcidPart partition(p) values(1,2,3)", true); checkCmdOnDriver(cpr); LockState lockState = ((DbTxnManager) txnMgr).acquireLocks(driver.getPlan(), ctx, "Practical", false); List locks = getLocks(); @@ -641,7 +641,7 @@ public void checkExpectedLocks() throws Exception { checkLock(LockType.SHARED_READ, LockState.ACQUIRED, "_dummy_database", "_dummy_table", null, locks); txnMgr.rollbackTxn();; - cpr = driver.compileAndRespond("insert into nonAcidPart partition(p=1) values(5,6)"); + cpr = driver.compileAndRespond("insert into nonAcidPart partition(p=1) values(5,6)", true); checkCmdOnDriver(cpr); lockState = ((DbTxnManager) txnMgr).acquireLocks(driver.getPlan(), ctx, "Practical", false); locks = getLocks(); @@ -650,7 +650,7 @@ public void checkExpectedLocks() throws Exception { checkLock(LockType.SHARED_READ, LockState.ACQUIRED, "_dummy_database", "_dummy_table", null, locks); txnMgr.rollbackTxn(); - cpr = driver.compileAndRespond("insert into acidPart partition(p) values(1,2,3)"); + cpr = driver.compileAndRespond("insert into acidPart partition(p) values(1,2,3)", true); checkCmdOnDriver(cpr); lockState = ((DbTxnManager) txnMgr).acquireLocks(driver.getPlan(), ctx, "Practical", false); locks = getLocks(); @@ -659,7 +659,7 @@ public void checkExpectedLocks() throws Exception { checkLock(LockType.SHARED_READ, LockState.ACQUIRED, "_dummy_database", "_dummy_table", null, locks); txnMgr.rollbackTxn(); - cpr = driver.compileAndRespond("insert into acidPart partition(p=1) values(5,6)"); + cpr = driver.compileAndRespond("insert into acidPart partition(p=1) values(5,6)", true); checkCmdOnDriver(cpr); lockState = ((DbTxnManager) txnMgr).acquireLocks(driver.getPlan(), ctx, "Practical", false); locks = getLocks(); @@ -668,7 +668,7 @@ public void checkExpectedLocks() throws Exception { checkLock(LockType.SHARED_READ, LockState.ACQUIRED, "_dummy_database", "_dummy_table", null, locks); txnMgr.rollbackTxn(); - cpr = driver.compileAndRespond("update acidPart set b = 17 where a = 1"); + cpr = driver.compileAndRespond("update acidPart set b = 17 where a = 1", true); checkCmdOnDriver(cpr); lockState = ((DbTxnManager) txnMgr).acquireLocks(driver.getPlan(), ctx, "Practical", false); locks = getLocks(); @@ -676,7 +676,7 @@ public void checkExpectedLocks() throws Exception { checkLock(LockType.SHARED_WRITE, LockState.ACQUIRED, "default", "acidPart", null, locks); txnMgr.rollbackTxn(); - cpr = driver.compileAndRespond("update acidPart set b = 17 where p = 1"); + cpr = driver.compileAndRespond("update acidPart set b = 17 where p = 1", true); checkCmdOnDriver(cpr); lockState = ((DbTxnManager) txnMgr).acquireLocks(driver.getPlan(), ctx, "Practical", false); locks = getLocks(); @@ -697,7 +697,7 @@ public void checkExpectedLocks2() throws Exception { checkCmdOnDriver(driver.run("insert into tab_acid partition(p) (a,b,p) values(1,2,'foo'),(3,4,'bar')")); checkCmdOnDriver(driver.run("insert into tab_not_acid partition(np) (na,nb,np) values(1,2,'blah'),(3,4,'doh')")); txnMgr.openTxn(ctx, "T1"); - checkCmdOnDriver(driver.compileAndRespond("select * from tab_acid inner join tab_not_acid on a = na")); + checkCmdOnDriver(driver.compileAndRespond("select * from tab_acid inner join tab_not_acid on a = na", true)); txnMgr.acquireLocks(driver.getPlan(), ctx, "T1"); List locks = getLocks(txnMgr); Assert.assertEquals("Unexpected lock count", 6, locks.size()); @@ -710,7 +710,7 @@ public void checkExpectedLocks2() throws Exception { HiveTxnManager txnMgr2 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); txnMgr2.openTxn(ctx, "T2"); - checkCmdOnDriver(driver.compileAndRespond("insert into tab_not_acid partition(np='doh') values(5,6)")); + checkCmdOnDriver(driver.compileAndRespond("insert into tab_not_acid partition(np='doh') values(5,6)", true)); LockState ls = ((DbTxnManager)txnMgr2).acquireLocks(driver.getPlan(), ctx, "T2", false); locks = getLocks(txnMgr2); Assert.assertEquals("Unexpected lock count", 8, locks.size()); @@ -728,7 +728,7 @@ public void checkExpectedLocks2() throws Exception { conf.setBoolVar(HiveConf.ConfVars.HIVE_TXN_STRICT_LOCKING_MODE, false); HiveTxnManager txnMgr3 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); txnMgr3.openTxn(ctx, "T3"); - checkCmdOnDriver(driver.compileAndRespond("insert into tab_not_acid partition(np='blah') values(7,8)")); + checkCmdOnDriver(driver.compileAndRespond("insert into tab_not_acid partition(np='blah') values(7,8)", true)); ((DbTxnManager)txnMgr3).acquireLocks(driver.getPlan(), ctx, "T3", false); locks = getLocks(txnMgr3); Assert.assertEquals("Unexpected lock count", 10, locks.size()); @@ -804,31 +804,31 @@ public void testShowLocksFilterOptions() throws Exception { HiveTxnManager txnMgr1 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); swapTxnManager(txnMgr1); - cpr = driver.compileAndRespond("insert into table db1.t14 partition (ds='today') values (1, 2)"); + cpr = driver.compileAndRespond("insert into table db1.t14 partition (ds='today') values (1, 2)", true); checkCmdOnDriver(cpr); txnMgr1.acquireLocks(driver.getPlan(), ctx, "Tom"); HiveTxnManager txnMgr2 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); swapTxnManager(txnMgr2); - cpr = driver.compileAndRespond("insert into table db1.t14 partition (ds='tomorrow') values (3, 4)"); + cpr = driver.compileAndRespond("insert into table db1.t14 partition (ds='tomorrow') values (3, 4)", true); checkCmdOnDriver(cpr); txnMgr2.acquireLocks(driver.getPlan(), ctx, "Jerry"); HiveTxnManager txnMgr3 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); swapTxnManager(txnMgr3); - cpr = driver.compileAndRespond("select * from db2.t15"); + cpr = driver.compileAndRespond("select * from db2.t15", true); checkCmdOnDriver(cpr); txnMgr3.acquireLocks(driver.getPlan(), ctx, "Donald"); HiveTxnManager txnMgr4 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); swapTxnManager(txnMgr4); - cpr = driver.compileAndRespond("select * from db2.t16"); + cpr = driver.compileAndRespond("select * from db2.t16", true); checkCmdOnDriver(cpr); txnMgr4.acquireLocks(driver.getPlan(), ctx, "Hillary"); HiveTxnManager txnMgr5 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); swapTxnManager(txnMgr5); - cpr = driver.compileAndRespond("select * from db2.t14"); + cpr = driver.compileAndRespond("select * from db2.t14", true); checkCmdOnDriver(cpr); txnMgr5.acquireLocks(driver.getPlan(), ctx, "Obama"); @@ -900,13 +900,13 @@ public void testWriteSetTracking1() throws Exception { "partitioned by (p string) clustered by (a) into 2 buckets stored as orc TBLPROPERTIES ('transactional'='true')"); checkCmdOnDriver(cpr); - checkCmdOnDriver(driver.compileAndRespond("select * from TAB_PART")); + checkCmdOnDriver(driver.compileAndRespond("select * from TAB_PART", true)); txnMgr.acquireLocks(driver.getPlan(), ctx, "Nicholas"); txnMgr.commitTxn(); HiveTxnManager txnMgr2 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); swapTxnManager(txnMgr2); - checkCmdOnDriver(driver.compileAndRespond("update TAB_PART set b = 7 where p = 'blah'")); - checkCmdOnDriver(driver.compileAndRespond("update TAB_PART set b = 7 where p = 'blah'")); + checkCmdOnDriver(driver.compileAndRespond("update TAB_PART set b = 7 where p = 'blah'", true)); + checkCmdOnDriver(driver.compileAndRespond("update TAB_PART set b = 7 where p = 'blah'", true)); txnMgr2.acquireLocks(driver.getPlan(), ctx, "Alexandra"); txnMgr2.commitTxn(); } @@ -930,7 +930,7 @@ public void testWriteSetTracking2() throws Exception { HiveTxnManager txnMgr2 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); txnMgr.openTxn(ctx, "Peter"); - checkCmdOnDriver(driver.compileAndRespond("update TAB_PART set b = 7 where p = 'blah'")); + checkCmdOnDriver(driver.compileAndRespond("update TAB_PART set b = 7 where p = 'blah'", true)); txnMgr.acquireLocks(driver.getPlan(), ctx, "Peter"); txnMgr2.openTxn(ctx, "Catherine"); List locks = getLocks(txnMgr); @@ -938,7 +938,7 @@ public void testWriteSetTracking2() throws Exception { //note that "update" uses dynamic partitioning thus lock is on the table not partition checkLock(LockType.SHARED_WRITE, LockState.ACQUIRED, "default", "TAB_PART", null, locks); txnMgr.commitTxn(); - checkCmdOnDriver(driver.compileAndRespond("update TAB2 set b = 9 where p = 'doh'")); + checkCmdOnDriver(driver.compileAndRespond("update TAB2 set b = 9 where p = 'doh'", true)); txnMgr2.acquireLocks(driver.getPlan(), ctx, "Catherine"); txnMgr2.commitTxn(); } @@ -953,7 +953,7 @@ public void testWriteSetTracking3() throws Exception { checkCmdOnDriver(cpr); checkCmdOnDriver(driver.run("insert into TAB_PART partition(p='blah') values(1,2)")); - checkCmdOnDriver(driver.compileAndRespond("update TAB_PART set b = 7 where p = 'blah'")); + checkCmdOnDriver(driver.compileAndRespond("update TAB_PART set b = 7 where p = 'blah'", true)); long txnId = txnMgr.getCurrentTxnId(); txnMgr.acquireLocks(driver.getPlan(), ctx, "Known"); List locks = getLocks(txnMgr); @@ -961,7 +961,7 @@ public void testWriteSetTracking3() throws Exception { checkLock(LockType.SHARED_WRITE, LockState.ACQUIRED, "default", "TAB_PART", "p=blah", locks); HiveTxnManager txnMgr2 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); swapTxnManager(txnMgr2); - checkCmdOnDriver(driver.compileAndRespond("update TAB_PART set b = 7 where p = 'blah'")); + checkCmdOnDriver(driver.compileAndRespond("update TAB_PART set b = 7 where p = 'blah'", true)); long txnId2 = txnMgr2.getCurrentTxnId(); ((DbTxnManager)txnMgr2).acquireLocks(driver.getPlan(), ctx, "Unknown", false); locks = getLocks(txnMgr2);//should not matter which txnMgr is used here @@ -1009,7 +1009,7 @@ public void testWriteSetTracking4() throws Exception { checkCmdOnDriver(cpr); txnMgr.openTxn(ctx, "Long Running"); - checkCmdOnDriver(driver.compileAndRespond("select a from TAB_PART where p = 'blah'")); + checkCmdOnDriver(driver.compileAndRespond("select a from TAB_PART where p = 'blah'", true)); txnMgr.acquireLocks(driver.getPlan(), ctx, "Long Running"); List locks = getLocks(txnMgr); Assert.assertEquals("Unexpected lock count", 1, locks.size()); @@ -1020,7 +1020,7 @@ public void testWriteSetTracking4() throws Exception { HiveTxnManager txnMgr2 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); txnMgr2.openTxn(ctx, "Short Running"); - checkCmdOnDriver(driver.compileAndRespond("update TAB2 set b = 7 where p = 'blah'"));//no such partition + checkCmdOnDriver(driver.compileAndRespond("update TAB2 set b = 7 where p = 'blah'", true));//no such partition txnMgr2.acquireLocks(driver.getPlan(), ctx, "Short Running"); locks = getLocks(txnMgr); Assert.assertEquals("Unexpected lock count", 2, locks.size()); @@ -1043,7 +1043,7 @@ public void testWriteSetTracking4() throws Exception { Assert.assertEquals( 0, TxnDbUtil.countQueryAgent(conf, "select count(*) from WRITE_SET")); txnMgr2.openTxn(ctx, "T3"); - checkCmdOnDriver(driver.compileAndRespond("update TAB2 set b = 7 where p = 'two'"));//pretend this partition exists + checkCmdOnDriver(driver.compileAndRespond("update TAB2 set b = 7 where p = 'two'", true));//pretend this partition exists txnMgr2.acquireLocks(driver.getPlan(), ctx, "T3"); locks = getLocks(txnMgr); Assert.assertEquals("Unexpected lock count", 2, locks.size()); @@ -1069,7 +1069,7 @@ public void testWriteSetTracking4() throws Exception { houseKeeper.run(); //since T3 overlaps with Long Running (still open) GC does nothing Assert.assertEquals(1, TxnDbUtil.countQueryAgent(conf, "select count(*) from WRITE_SET")); - checkCmdOnDriver(driver.compileAndRespond("update TAB2 set b = 17 where a = 1"));//no rows match + checkCmdOnDriver(driver.compileAndRespond("update TAB2 set b = 17 where a = 1", true));//no rows match txnMgr.acquireLocks(driver.getPlan(), ctx, "Long Running"); writeIds = txnHandler.allocateTableWriteIds(new AllocateTableWriteIdsRequest(Collections.singletonList(txnMgr.getCurrentTxnId()), @@ -1104,12 +1104,12 @@ public void testWriteSetTracking5() throws Exception { txnMgr.openTxn(ctx, "Known"); long txnId = txnMgr2.openTxn(ctx, "Unknown"); - checkCmdOnDriver(driver.compileAndRespond("update TAB_PART set b = 7 where p = 'blah'")); + checkCmdOnDriver(driver.compileAndRespond("update TAB_PART set b = 7 where p = 'blah'", true)); txnMgr.acquireLocks(driver.getPlan(), ctx, "Known"); List locks = getLocks(txnMgr); Assert.assertEquals("Unexpected lock count", 1, locks.size()); checkLock(LockType.SHARED_WRITE, LockState.ACQUIRED, "default", "TAB_PART", "p=blah", locks); - checkCmdOnDriver(driver.compileAndRespond("update TAB_PART set b = 7 where p = 'blah'")); + checkCmdOnDriver(driver.compileAndRespond("update TAB_PART set b = 7 where p = 'blah'", true)); ((DbTxnManager)txnMgr2).acquireLocks(driver.getPlan(), ctx, "Unknown", false); locks = getLocks(txnMgr2);//should not matter which txnMgr is used here Assert.assertEquals("Unexpected lock count", 2, locks.size()); @@ -1140,14 +1140,14 @@ public void testWriteSetTracking6() throws Exception { CommandProcessorResponse cpr = driver.run("create table if not exists TAB2(a int, b int) clustered " + "by (a) into 2 buckets stored as orc TBLPROPERTIES ('transactional'='true')"); checkCmdOnDriver(cpr); - checkCmdOnDriver(driver.compileAndRespond("select * from TAB2 where a = 113")); + checkCmdOnDriver(driver.compileAndRespond("select * from TAB2 where a = 113", true)); txnMgr.acquireLocks(driver.getPlan(), ctx, "Works"); List locks = getLocks(txnMgr); Assert.assertEquals("Unexpected lock count", 1, locks.size()); checkLock(LockType.SHARED_READ, LockState.ACQUIRED, "default", "TAB2", null, locks); HiveTxnManager txnMgr2 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); swapTxnManager(txnMgr2); - checkCmdOnDriver(driver.compileAndRespond("update TAB2 set b = 17 where a = 101")); + checkCmdOnDriver(driver.compileAndRespond("update TAB2 set b = 17 where a = 101", true)); txnMgr2.acquireLocks(driver.getPlan(), ctx, "Horton"); Assert.assertEquals(0, TxnDbUtil.countQueryAgent(conf, "select count(*) from WRITE_SET")); locks = getLocks(txnMgr); @@ -1181,7 +1181,7 @@ public void testWriteSetTracking7() throws Exception { HiveTxnManager txnMgr2 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); swapTxnManager(txnMgr2); //test with predicates such that partition pruning works - checkCmdOnDriver(driver.compileAndRespond("update tab2 set b = 7 where p='two'")); + checkCmdOnDriver(driver.compileAndRespond("update tab2 set b = 7 where p='two'", true)); long idTxnUpdate1 = txnMgr2.getCurrentTxnId(); txnMgr2.acquireLocks(driver.getPlan(), ctx, "T2"); List locks = getLocks(txnMgr2); @@ -1190,7 +1190,7 @@ public void testWriteSetTracking7() throws Exception { //now start concurrent txn swapTxnManager(txnMgr); - checkCmdOnDriver(driver.compileAndRespond("update tab2 set b = 7 where p='one'")); + checkCmdOnDriver(driver.compileAndRespond("update tab2 set b = 7 where p='one'", true)); long idTxnUpdate2 = txnMgr.getCurrentTxnId(); ((DbTxnManager)txnMgr).acquireLocks(driver.getPlan(), ctx, "T3", false); locks = getLocks(txnMgr); @@ -1232,7 +1232,7 @@ public void testWriteSetTracking7() throws Exception { checkCmdOnDriver(cpr); checkCmdOnDriver(driver.run("insert into tab1 partition(p)(a,b,p) values(1,1,'one'),(2,2,'two')"));//txnid:4 swapTxnManager(txnMgr2); - checkCmdOnDriver(driver.compileAndRespond("update tab1 set b = 7 where b=1")); + checkCmdOnDriver(driver.compileAndRespond("update tab1 set b = 7 where b=1", true)); long idTxnUpdate3 = txnMgr2.getCurrentTxnId(); txnMgr2.acquireLocks(driver.getPlan(), ctx, "T5"); locks = getLocks(txnMgr2); @@ -1242,7 +1242,7 @@ public void testWriteSetTracking7() throws Exception { //now start concurrent txn swapTxnManager(txnMgr); - checkCmdOnDriver(driver.compileAndRespond("update tab1 set b = 7 where b = 2")); + checkCmdOnDriver(driver.compileAndRespond("update tab1 set b = 7 where b = 2", true)); long idTxnUpdate4 = txnMgr.getCurrentTxnId(); ((DbTxnManager)txnMgr).acquireLocks(driver.getPlan(), ctx, "T6", false); locks = getLocks(txnMgr); @@ -1293,7 +1293,7 @@ public void testWriteSetTracking8() throws Exception { checkCmdOnDriver(driver.run("insert into tab1 partition(p)(a,b,p) values(1,1,'one'),(2,2,'two')")); HiveTxnManager txnMgr2 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); swapTxnManager(txnMgr2); - checkCmdOnDriver(driver.compileAndRespond("update tab1 set b = 7 where b=1")); + checkCmdOnDriver(driver.compileAndRespond("update tab1 set b = 7 where b=1", true)); long idTxnUpdate1 = txnMgr2.getCurrentTxnId(); txnMgr2.acquireLocks(driver.getPlan(), ctx, "T2"); List locks = getLocks(txnMgr2); @@ -1303,7 +1303,7 @@ public void testWriteSetTracking8() throws Exception { //now start concurrent txn swapTxnManager(txnMgr); - checkCmdOnDriver(driver.compileAndRespond("update tab1 set b = 7 where p='two'")); + checkCmdOnDriver(driver.compileAndRespond("update tab1 set b = 7 where p='two'", true)); long idTxnUpdate2 = txnMgr.getCurrentTxnId(); ((DbTxnManager)txnMgr).acquireLocks(driver.getPlan(), ctx, "T3", false); locks = getLocks(txnMgr); @@ -1351,7 +1351,7 @@ public void testWriteSetTracking9() throws Exception { checkCmdOnDriver(driver.run("insert into tab1 partition(p)(a,b,p) values(1,1,'one'),(2,2,'two')")); HiveTxnManager txnMgr2 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); swapTxnManager(txnMgr2); - checkCmdOnDriver(driver.compileAndRespond("update tab1 set b = 7 where b=1")); + checkCmdOnDriver(driver.compileAndRespond("update tab1 set b = 7 where b=1", true)); long idTxnUpdate1 = txnMgr2.getCurrentTxnId(); txnMgr2.acquireLocks(driver.getPlan(), ctx, "T2"); List locks = getLocks(txnMgr2); @@ -1361,7 +1361,7 @@ public void testWriteSetTracking9() throws Exception { //now start concurrent txn swapTxnManager(txnMgr); - checkCmdOnDriver(driver.compileAndRespond("delete from tab1 where p='two' and b=2")); + checkCmdOnDriver(driver.compileAndRespond("delete from tab1 where p='two' and b=2", true)); long idTxnDelete1 = txnMgr.getCurrentTxnId(); ((DbTxnManager)txnMgr).acquireLocks(driver.getPlan(), ctx, "T3", false); locks = getLocks(txnMgr); @@ -1415,7 +1415,7 @@ public void testWriteSetTracking10() throws Exception { checkCmdOnDriver(driver.run("insert into tab1 partition(p)(a,b,p) values(1,1,'one'),(2,2,'two')"));//txnid:1 HiveTxnManager txnMgr2 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); swapTxnManager(txnMgr2); - checkCmdOnDriver(driver.compileAndRespond("update tab1 set b = 7 where b=2")); + checkCmdOnDriver(driver.compileAndRespond("update tab1 set b = 7 where b=2", true)); txnMgr2.acquireLocks(driver.getPlan(), ctx, "T2"); List locks = getLocks(txnMgr2); Assert.assertEquals("Unexpected lock count", 2, locks.size()); @@ -1424,7 +1424,7 @@ public void testWriteSetTracking10() throws Exception { //now start concurrent txn swapTxnManager(txnMgr); - checkCmdOnDriver(driver.compileAndRespond("delete from tab1 where p='two' and b=2")); + checkCmdOnDriver(driver.compileAndRespond("delete from tab1 where p='two' and b=2", true)); ((DbTxnManager)txnMgr).acquireLocks(driver.getPlan(), ctx, "T3", false); locks = getLocks(txnMgr); Assert.assertEquals("Unexpected lock count", 3, locks.size()); @@ -1479,7 +1479,7 @@ public void testWriteSetTracking11() throws Exception { checkCmdOnDriver(driver.run("insert into tab1 partition(p)(a,b,p) values(1,1,'one'),(2,2,'two')")); HiveTxnManager txnMgr2 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); swapTxnManager(txnMgr2); - checkCmdOnDriver(driver.compileAndRespond("delete from tab1 where b=2"));//start "delete from tab1" txn + checkCmdOnDriver(driver.compileAndRespond("delete from tab1 where b=2", true));//start "delete from tab1" txn long txnIdDelete = txnMgr2.getCurrentTxnId(); txnMgr2.acquireLocks(driver.getPlan(), ctx, "T2"); List locks = getLocks(txnMgr2); @@ -1490,10 +1490,10 @@ public void testWriteSetTracking11() throws Exception { //now start concurrent "select * from tab1" txn swapTxnManager(txnMgr); checkCmdOnDriver(driver.run("start transaction"));//start explicit txn so that txnMgr knows it - checkCmdOnDriver(driver.compileAndRespond("select * from tab1 where b=1 and p='one'")); + checkCmdOnDriver(driver.compileAndRespond("select * from tab1 where b=1 and p='one'", true)); long txnIdSelect = txnMgr.getCurrentTxnId(); ((DbTxnManager)txnMgr).acquireLocks(driver.getPlan(), ctx, "T3", false); - checkCmdOnDriver(driver.compileAndRespond("delete from tab1 where p='two' and b=2")); + checkCmdOnDriver(driver.compileAndRespond("delete from tab1 where p='two' and b=2", true)); ((DbTxnManager)txnMgr).acquireLocks(driver.getPlan(), ctx, "T3", false); locks = getLocks(txnMgr); Assert.assertEquals("Unexpected lock count", 5, locks.size()); @@ -1609,7 +1609,7 @@ public void testMultiInsert() throws Exception { public void testShowLocksAgentInfo() throws Exception { CommandProcessorResponse cpr = driver.run("create table if not exists XYZ (a int, b int)"); checkCmdOnDriver(cpr); - checkCmdOnDriver(driver.compileAndRespond("select a from XYZ where b = 8")); + checkCmdOnDriver(driver.compileAndRespond("select a from XYZ where b = 8", true)); txnMgr.acquireLocks(driver.getPlan(), ctx, "XYZ"); List locks = getLocks(txnMgr); Assert.assertEquals("Unexpected lock count", 1, locks.size()); @@ -1652,7 +1652,7 @@ private void testMerge3Way(boolean cc) throws Exception { checkCmdOnDriver(driver.compileAndRespond("merge into target t using source s on t.a=s.b " + "when matched and t.a=5 then update set b=s.b " + //updates p=1/q=3 "when matched and t.a in (3,7) then delete " + //deletes from p=1/q=2, p=2/q=2 - "when not matched and t.a >= 8 then insert values(s.a, s.b, s.p, s.q)"));//insert p=1/q=2, p=1/q=3 and new part 1/1 + "when not matched and t.a >= 8 then insert values(s.a, s.b, s.p, s.q)", true));//insert p=1/q=2, p=1/q=3 and new part 1/1 long txnId1 = txnMgr.getCurrentTxnId(); txnMgr.acquireLocks(driver.getPlan(), ctx, "T1"); List locks = getLocks(); @@ -1669,7 +1669,7 @@ private void testMerge3Way(boolean cc) throws Exception { checkCmdOnDriver(driver.compileAndRespond("merge into target t using source2 s on t.a=s.b " + "when matched and t.a=" + (cc ? 5 : 9) + " then update set b=s.b " + //if conflict updates p=1/q=3 else update p=1/q=2 "when matched and t.a in (3,7) then delete " + //deletes from p=1/q=2, p=2/q=2 - "when not matched and t.a >= 8 then insert values(s.a, s.b, s.p, s.q)"));//insert p=1/q=2, p=1/q=3 and new part 1/1 + "when not matched and t.a >= 8 then insert values(s.a, s.b, s.p, s.q)", true));//insert p=1/q=2, p=1/q=3 and new part 1/1 long txnId2 = txnMgr2.getCurrentTxnId(); txnMgr2.acquireLocks(driver.getPlan(), ctx, "T1", false); locks = getLocks(); @@ -1860,10 +1860,10 @@ private void testMergeUnpartitioned(boolean causeConflict) throws Exception { checkCmdOnDriver(driver.run("insert into target values (1,2), (3,4), (5,6), (7,8)")); checkCmdOnDriver(driver.run("create table source (a int, b int)")); if(causeConflict) { - checkCmdOnDriver(driver.compileAndRespond("update target set b = 2 where a=1")); + checkCmdOnDriver(driver.compileAndRespond("update target set b = 2 where a=1", true)); } else { - checkCmdOnDriver(driver.compileAndRespond("insert into target values(9,10),(11,12)")); + checkCmdOnDriver(driver.compileAndRespond("insert into target values(9,10),(11,12)", true)); } long txnid1 = txnMgr.getCurrentTxnId(); txnMgr.acquireLocks(driver.getPlan(), ctx, "T1"); @@ -1889,7 +1889,7 @@ private void testMergeUnpartitioned(boolean causeConflict) throws Exception { checkCmdOnDriver(driver.compileAndRespond("merge into target t using source s " + "on t.a=s.a " + "when matched then delete " + - "when not matched then insert values(s.a,s.b)")); + "when not matched then insert values(s.a,s.b)", true)); long txnid2 = txnMgr2.getCurrentTxnId(); txnMgr2.acquireLocks(driver.getPlan(), ctx, "T2", false); locks = getLocks(); @@ -1966,7 +1966,7 @@ public void testDynamicPartitionInsert() throws Exception { "partitioned by (p int, q int) clustered by (a) into 2 buckets " + "stored as orc TBLPROPERTIES ('transactional'='true')")); long txnid1 = txnMgr.openTxn(ctx, "T1"); - checkCmdOnDriver(driver.compileAndRespond("insert into target partition(p=1,q) values (1,2,2), (3,4,2), (5,6,3), (7,8,2)")); + checkCmdOnDriver(driver.compileAndRespond("insert into target partition(p=1,q) values (1,2,2), (3,4,2), (5,6,3), (7,8,2)", true)); txnMgr.acquireLocks(driver.getPlan(), ctx, "T1"); List locks = getLocks(txnMgr); Assert.assertEquals("Unexpected lock count", 2, locks.size()); @@ -1999,7 +1999,7 @@ public void testDynamicPartitionInsert() throws Exception { long txnid2 = txnMgr.openTxn(ctx, "T1"); - checkCmdOnDriver(driver.compileAndRespond("insert into target partition(p=1,q) values (10,2,2), (30,4,2), (50,6,3), (70,8,2)")); + checkCmdOnDriver(driver.compileAndRespond("insert into target partition(p=1,q) values (10,2,2), (30,4,2), (50,6,3), (70,8,2)", true)); txnMgr.acquireLocks(driver.getPlan(), ctx, "T1"); locks = getLocks(txnMgr); Assert.assertEquals("Unexpected lock count", 2, locks.size()); @@ -2039,7 +2039,7 @@ private void testMergePartitioned(boolean causeConflict) throws Exception { checkCmdOnDriver(driver.run("insert into target partition(p,q) values (1,2,1,2), (3,4,1,2), (5,6,1,3), (7,8,2,2)")); checkCmdOnDriver(driver.run("create table source (a1 int, b1 int, p1 int, q1 int)")); - checkCmdOnDriver(driver.compileAndRespond("update target set b = 2 where p=1")); + checkCmdOnDriver(driver.compileAndRespond("update target set b = 2 where p=1", true)); long txnId1 = txnMgr.getCurrentTxnId(); txnMgr.acquireLocks(driver.getPlan(), ctx, "T1"); List locks = getLocks(); @@ -2053,7 +2053,7 @@ private void testMergePartitioned(boolean causeConflict) throws Exception { checkCmdOnDriver(driver.compileAndRespond("merge into target using source " + "on target.p=source.p1 and target.a=source.a1 " + "when matched then update set b = 11 " + - "when not matched then insert values(a1,b1,p1,q1)")); + "when not matched then insert values(a1,b1,p1,q1)", true)); long txnid2 = txnMgr2.getCurrentTxnId(); txnMgr2.acquireLocks(driver.getPlan(), ctx, "T2", false); locks = getLocks(txnMgr); @@ -2180,7 +2180,7 @@ public void testShowTablesLock() throws Exception { checkCmdOnDriver(cpr); long txnid1 = txnMgr.openTxn(ctx, "Fifer"); - checkCmdOnDriver(driver.compileAndRespond("insert into T values(1,3)")); + checkCmdOnDriver(driver.compileAndRespond("insert into T values(1,3)", true)); txnMgr.acquireLocks(driver.getPlan(), ctx, "Fifer"); List locks = getLocks(); Assert.assertEquals("Unexpected lock count", 2, locks.size()); @@ -2190,7 +2190,7 @@ public void testShowTablesLock() throws Exception { DbTxnManager txnMgr2 = (DbTxnManager) TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); txnMgr2.openTxn(ctx, "Fidler"); swapTxnManager(txnMgr2); - checkCmdOnDriver(driver.compileAndRespond("show tables")); + checkCmdOnDriver(driver.compileAndRespond("show tables", true)); txnMgr2.acquireLocks(driver.getPlan(), ctx, "Fidler"); locks = getLocks(); Assert.assertEquals("Unexpected lock count", 3, locks.size()); @@ -2209,7 +2209,7 @@ public void testShowTablesLock() throws Exception { "into 2 buckets stored as orc TBLPROPERTIES ('transactional'='false')"); checkCmdOnDriver(cpr); - checkCmdOnDriver(driver.compileAndRespond("insert into T2 partition(p=1) values(1,3)")); + checkCmdOnDriver(driver.compileAndRespond("insert into T2 partition(p=1) values(1,3)", true)); txnMgr.acquireLocks(driver.getPlan(), ctx, "Fifer"); locks = getLocks(); Assert.assertEquals("Unexpected lock count", 2, locks.size()); @@ -2219,7 +2219,7 @@ public void testShowTablesLock() throws Exception { txnMgr2 = (DbTxnManager) TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); txnMgr2.openTxn(ctx, "Fidler"); swapTxnManager(txnMgr2); - checkCmdOnDriver(driver.compileAndRespond("show tables")); + checkCmdOnDriver(driver.compileAndRespond("show tables", true)); txnMgr2.acquireLocks(driver.getPlan(), ctx, "Fidler", false); locks = getLocks(); Assert.assertEquals("Unexpected lock count", 3, locks.size()); @@ -2236,12 +2236,12 @@ public void testFairness() throws Exception { dropTable(new String[] {"T6"}); CommandProcessorResponse cpr = driver.run("create table if not exists T6(a int)"); checkCmdOnDriver(cpr); - cpr = driver.compileAndRespond("select a from T6"); + cpr = driver.compileAndRespond("select a from T6", true); checkCmdOnDriver(cpr); txnMgr.acquireLocks(driver.getPlan(), ctx, "Fifer");//gets S lock on T6 HiveTxnManager txnMgr2 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); swapTxnManager(txnMgr2); - cpr = driver.compileAndRespond("drop table if exists T6"); + cpr = driver.compileAndRespond("drop table if exists T6", true); checkCmdOnDriver(cpr); //tries to get X lock on T6 and gets Waiting state LockState lockState = ((DbTxnManager) txnMgr2).acquireLocks(driver.getPlan(), ctx, "Fiddler", false); @@ -2254,7 +2254,7 @@ public void testFairness() throws Exception { swapTxnManager(txnMgr3); //this should block behind the X lock on T6 //this is a contrived example, in practice this query would of course fail after drop table - cpr = driver.compileAndRespond("select a from T6"); + cpr = driver.compileAndRespond("select a from T6", true); checkCmdOnDriver(cpr); ((DbTxnManager)txnMgr3).acquireLocks(driver.getPlan(), ctx, "Fifer", false);//gets S lock on T6 locks = getLocks(); @@ -2282,12 +2282,12 @@ public void testFairness2() throws Exception { checkCmdOnDriver(cpr); checkCmdOnDriver(driver.run( "insert into T7 partition(p) values(1,1),(1,2)"));//create 2 partitions - cpr = driver.compileAndRespond("select a from T7 "); + cpr = driver.compileAndRespond("select a from T7 ", true); checkCmdOnDriver(cpr); txnMgr.acquireLocks(driver.getPlan(), ctx, "Fifer");//gets S lock on T7 HiveTxnManager txnMgr2 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); swapTxnManager(txnMgr2); - cpr = driver.compileAndRespond("alter table T7 drop partition (p=1)"); + cpr = driver.compileAndRespond("alter table T7 drop partition (p=1)", true); checkCmdOnDriver(cpr); //tries to get X lock on T7.p=1 and gets Waiting state LockState lockState = ((DbTxnManager) txnMgr2).acquireLocks(driver.getPlan(), ctx, @@ -2302,7 +2302,7 @@ public void testFairness2() throws Exception { HiveTxnManager txnMgr3 = TxnManagerFactory.getTxnManagerFactory().getTxnManager(conf); swapTxnManager(txnMgr3); //this should block behind the X lock on T7.p=1 - cpr = driver.compileAndRespond("select a from T7"); + cpr = driver.compileAndRespond("select a from T7", true); checkCmdOnDriver(cpr); //tries to get S lock on T7, S on T7.p=1 and S on T7.p=2 ((DbTxnManager)txnMgr3).acquireLocks(driver.getPlan(), ctx, "Fifer", false); diff --git a/ql/src/test/queries/clientpositive/materialized_view_create_rewrite_time_window.q b/ql/src/test/queries/clientpositive/materialized_view_create_rewrite_time_window.q index 0755d39f19..535203b97e 100644 --- a/ql/src/test/queries/clientpositive/materialized_view_create_rewrite_time_window.q +++ b/ql/src/test/queries/clientpositive/materialized_view_create_rewrite_time_window.q @@ -24,7 +24,7 @@ analyze table cmv_basetable_2 compute statistics for columns; -- CREATE VIEW WITH REWRITE DISABLED EXPLAIN -CREATE MATERIALIZED VIEW cmv_mat_view TBLPROPERTIES('rewriting.time.window'='300s') AS +CREATE MATERIALIZED VIEW cmv_mat_view TBLPROPERTIES('rewriting.time.window'='5min') AS SELECT cmv_basetable.a, cmv_basetable_2.c FROM cmv_basetable JOIN cmv_basetable_2 ON (cmv_basetable.a = cmv_basetable_2.a) WHERE cmv_basetable_2.c > 10.0 diff --git a/ql/src/test/results/clientpositive/materialized_view_create_rewrite_time_window.q.out b/ql/src/test/results/clientpositive/materialized_view_create_rewrite_time_window.q.out index bfbac3f349..1785b2ab11 100644 --- a/ql/src/test/results/clientpositive/materialized_view_create_rewrite_time_window.q.out +++ b/ql/src/test/results/clientpositive/materialized_view_create_rewrite_time_window.q.out @@ -73,14 +73,14 @@ POSTHOOK: Input: default@cmv_basetable_2 POSTHOOK: Output: default@cmv_basetable_2 #### A masked pattern was here #### PREHOOK: query: EXPLAIN -CREATE MATERIALIZED VIEW cmv_mat_view TBLPROPERTIES('rewriting.time.window'='300s') AS +CREATE MATERIALIZED VIEW cmv_mat_view TBLPROPERTIES('rewriting.time.window'='5min') AS SELECT cmv_basetable.a, cmv_basetable_2.c FROM cmv_basetable JOIN cmv_basetable_2 ON (cmv_basetable.a = cmv_basetable_2.a) WHERE cmv_basetable_2.c > 10.0 GROUP BY cmv_basetable.a, cmv_basetable_2.c PREHOOK: type: CREATE_MATERIALIZED_VIEW POSTHOOK: query: EXPLAIN -CREATE MATERIALIZED VIEW cmv_mat_view TBLPROPERTIES('rewriting.time.window'='300s') AS +CREATE MATERIALIZED VIEW cmv_mat_view TBLPROPERTIES('rewriting.time.window'='5min') AS SELECT cmv_basetable.a, cmv_basetable_2.c FROM cmv_basetable JOIN cmv_basetable_2 ON (cmv_basetable.a = cmv_basetable_2.a) WHERE cmv_basetable_2.c > 10.0 @@ -185,7 +185,7 @@ STAGE PLANS: Create View columns: a int, c decimal(10,2) table properties: - rewriting.time.window 300s + rewriting.time.window 5min expanded text: SELECT `cmv_basetable`.`a`, `cmv_basetable_2`.`c` FROM `default`.`cmv_basetable` JOIN `default`.`cmv_basetable_2` ON (`cmv_basetable`.`a` = `cmv_basetable_2`.`a`) WHERE `cmv_basetable_2`.`c` > 10.0 diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index b7a3b929be..1eec88a2db 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 _size1137; - ::apache::thrift::protocol::TType _etype1140; - xfer += iprot->readListBegin(_etype1140, _size1137); - this->success.resize(_size1137); - uint32_t _i1141; - for (_i1141 = 0; _i1141 < _size1137; ++_i1141) + 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[_i1141]); + xfer += iprot->readString(this->success[_i1132]); } 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 _iter1142; - for (_iter1142 = this->success.begin(); _iter1142 != this->success.end(); ++_iter1142) + std::vector ::const_iterator _iter1133; + for (_iter1133 = this->success.begin(); _iter1133 != this->success.end(); ++_iter1133) { - xfer += oprot->writeString((*_iter1142)); + xfer += oprot->writeString((*_iter1133)); } 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 _size1143; - ::apache::thrift::protocol::TType _etype1146; - xfer += iprot->readListBegin(_etype1146, _size1143); - (*(this->success)).resize(_size1143); - uint32_t _i1147; - for (_i1147 = 0; _i1147 < _size1143; ++_i1147) + 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))[_i1147]); + xfer += iprot->readString((*(this->success))[_i1138]); } 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 _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 _size1139; + ::apache::thrift::protocol::TType _etype1142; + xfer += iprot->readListBegin(_etype1142, _size1139); + this->success.resize(_size1139); + uint32_t _i1143; + for (_i1143 = 0; _i1143 < _size1139; ++_i1143) { - xfer += iprot->readString(this->success[_i1152]); + xfer += iprot->readString(this->success[_i1143]); } 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 _iter1153; - for (_iter1153 = this->success.begin(); _iter1153 != this->success.end(); ++_iter1153) + std::vector ::const_iterator _iter1144; + for (_iter1144 = this->success.begin(); _iter1144 != this->success.end(); ++_iter1144) { - xfer += oprot->writeString((*_iter1153)); + xfer += oprot->writeString((*_iter1144)); } 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 _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 _size1145; + ::apache::thrift::protocol::TType _etype1148; + xfer += iprot->readListBegin(_etype1148, _size1145); + (*(this->success)).resize(_size1145); + uint32_t _i1149; + for (_i1149 = 0; _i1149 < _size1145; ++_i1149) { - xfer += iprot->readString((*(this->success))[_i1158]); + xfer += iprot->readString((*(this->success))[_i1149]); } 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 _size1159; - ::apache::thrift::protocol::TType _ktype1160; - ::apache::thrift::protocol::TType _vtype1161; - xfer += iprot->readMapBegin(_ktype1160, _vtype1161, _size1159); - uint32_t _i1163; - for (_i1163 = 0; _i1163 < _size1159; ++_i1163) + uint32_t _size1150; + ::apache::thrift::protocol::TType _ktype1151; + ::apache::thrift::protocol::TType _vtype1152; + xfer += iprot->readMapBegin(_ktype1151, _vtype1152, _size1150); + uint32_t _i1154; + for (_i1154 = 0; _i1154 < _size1150; ++_i1154) { - std::string _key1164; - xfer += iprot->readString(_key1164); - Type& _val1165 = this->success[_key1164]; - xfer += _val1165.read(iprot); + std::string _key1155; + xfer += iprot->readString(_key1155); + Type& _val1156 = this->success[_key1155]; + xfer += _val1156.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 _iter1166; - for (_iter1166 = this->success.begin(); _iter1166 != this->success.end(); ++_iter1166) + std::map ::const_iterator _iter1157; + for (_iter1157 = this->success.begin(); _iter1157 != this->success.end(); ++_iter1157) { - xfer += oprot->writeString(_iter1166->first); - xfer += _iter1166->second.write(oprot); + xfer += oprot->writeString(_iter1157->first); + xfer += _iter1157->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 _size1167; - ::apache::thrift::protocol::TType _ktype1168; - ::apache::thrift::protocol::TType _vtype1169; - xfer += iprot->readMapBegin(_ktype1168, _vtype1169, _size1167); - uint32_t _i1171; - for (_i1171 = 0; _i1171 < _size1167; ++_i1171) + uint32_t _size1158; + ::apache::thrift::protocol::TType _ktype1159; + ::apache::thrift::protocol::TType _vtype1160; + xfer += iprot->readMapBegin(_ktype1159, _vtype1160, _size1158); + uint32_t _i1162; + for (_i1162 = 0; _i1162 < _size1158; ++_i1162) { - std::string _key1172; - xfer += iprot->readString(_key1172); - Type& _val1173 = (*(this->success))[_key1172]; - xfer += _val1173.read(iprot); + std::string _key1163; + xfer += iprot->readString(_key1163); + Type& _val1164 = (*(this->success))[_key1163]; + xfer += _val1164.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 _size1174; - ::apache::thrift::protocol::TType _etype1177; - xfer += iprot->readListBegin(_etype1177, _size1174); - this->success.resize(_size1174); - uint32_t _i1178; - for (_i1178 = 0; _i1178 < _size1174; ++_i1178) + uint32_t _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[_i1178].read(iprot); + xfer += this->success[_i1169].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 _iter1179; - for (_iter1179 = this->success.begin(); _iter1179 != this->success.end(); ++_iter1179) + std::vector ::const_iterator _iter1170; + for (_iter1170 = this->success.begin(); _iter1170 != this->success.end(); ++_iter1170) { - xfer += (*_iter1179).write(oprot); + xfer += (*_iter1170).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 _size1180; - ::apache::thrift::protocol::TType _etype1183; - xfer += iprot->readListBegin(_etype1183, _size1180); - (*(this->success)).resize(_size1180); - uint32_t _i1184; - for (_i1184 = 0; _i1184 < _size1180; ++_i1184) + 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))[_i1184].read(iprot); + xfer += (*(this->success))[_i1175].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 _size1185; - ::apache::thrift::protocol::TType _etype1188; - xfer += iprot->readListBegin(_etype1188, _size1185); - this->success.resize(_size1185); - uint32_t _i1189; - for (_i1189 = 0; _i1189 < _size1185; ++_i1189) + 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[_i1189].read(iprot); + xfer += this->success[_i1180].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 _iter1190; - for (_iter1190 = this->success.begin(); _iter1190 != this->success.end(); ++_iter1190) + std::vector ::const_iterator _iter1181; + for (_iter1181 = this->success.begin(); _iter1181 != this->success.end(); ++_iter1181) { - xfer += (*_iter1190).write(oprot); + xfer += (*_iter1181).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 _size1191; - ::apache::thrift::protocol::TType _etype1194; - xfer += iprot->readListBegin(_etype1194, _size1191); - (*(this->success)).resize(_size1191); - uint32_t _i1195; - for (_i1195 = 0; _i1195 < _size1191; ++_i1195) + uint32_t _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))[_i1195].read(iprot); + xfer += (*(this->success))[_i1186].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 _size1196; - ::apache::thrift::protocol::TType _etype1199; - xfer += iprot->readListBegin(_etype1199, _size1196); - this->success.resize(_size1196); - uint32_t _i1200; - for (_i1200 = 0; _i1200 < _size1196; ++_i1200) + 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[_i1200].read(iprot); + xfer += this->success[_i1191].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 _iter1201; - for (_iter1201 = this->success.begin(); _iter1201 != this->success.end(); ++_iter1201) + std::vector ::const_iterator _iter1192; + for (_iter1192 = this->success.begin(); _iter1192 != this->success.end(); ++_iter1192) { - xfer += (*_iter1201).write(oprot); + xfer += (*_iter1192).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 _size1202; - ::apache::thrift::protocol::TType _etype1205; - xfer += iprot->readListBegin(_etype1205, _size1202); - (*(this->success)).resize(_size1202); - uint32_t _i1206; - for (_i1206 = 0; _i1206 < _size1202; ++_i1206) + uint32_t _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))[_i1206].read(iprot); + xfer += (*(this->success))[_i1197].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 _size1207; - ::apache::thrift::protocol::TType _etype1210; - xfer += iprot->readListBegin(_etype1210, _size1207); - this->success.resize(_size1207); - uint32_t _i1211; - for (_i1211 = 0; _i1211 < _size1207; ++_i1211) + uint32_t _size1198; + ::apache::thrift::protocol::TType _etype1201; + xfer += iprot->readListBegin(_etype1201, _size1198); + this->success.resize(_size1198); + uint32_t _i1202; + for (_i1202 = 0; _i1202 < _size1198; ++_i1202) { - xfer += this->success[_i1211].read(iprot); + xfer += this->success[_i1202].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 _iter1212; - for (_iter1212 = this->success.begin(); _iter1212 != this->success.end(); ++_iter1212) + std::vector ::const_iterator _iter1203; + for (_iter1203 = this->success.begin(); _iter1203 != this->success.end(); ++_iter1203) { - xfer += (*_iter1212).write(oprot); + xfer += (*_iter1203).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 _size1213; - ::apache::thrift::protocol::TType _etype1216; - xfer += iprot->readListBegin(_etype1216, _size1213); - (*(this->success)).resize(_size1213); - uint32_t _i1217; - for (_i1217 = 0; _i1217 < _size1213; ++_i1217) + uint32_t _size1204; + ::apache::thrift::protocol::TType _etype1207; + xfer += iprot->readListBegin(_etype1207, _size1204); + (*(this->success)).resize(_size1204); + uint32_t _i1208; + for (_i1208 = 0; _i1208 < _size1204; ++_i1208) { - xfer += (*(this->success))[_i1217].read(iprot); + xfer += (*(this->success))[_i1208].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 _size1218; - ::apache::thrift::protocol::TType _etype1221; - xfer += iprot->readListBegin(_etype1221, _size1218); - this->primaryKeys.resize(_size1218); - uint32_t _i1222; - for (_i1222 = 0; _i1222 < _size1218; ++_i1222) + uint32_t _size1209; + ::apache::thrift::protocol::TType _etype1212; + xfer += iprot->readListBegin(_etype1212, _size1209); + this->primaryKeys.resize(_size1209); + uint32_t _i1213; + for (_i1213 = 0; _i1213 < _size1209; ++_i1213) { - xfer += this->primaryKeys[_i1222].read(iprot); + xfer += this->primaryKeys[_i1213].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 _size1223; - ::apache::thrift::protocol::TType _etype1226; - xfer += iprot->readListBegin(_etype1226, _size1223); - this->foreignKeys.resize(_size1223); - uint32_t _i1227; - for (_i1227 = 0; _i1227 < _size1223; ++_i1227) + uint32_t _size1214; + ::apache::thrift::protocol::TType _etype1217; + xfer += iprot->readListBegin(_etype1217, _size1214); + this->foreignKeys.resize(_size1214); + uint32_t _i1218; + for (_i1218 = 0; _i1218 < _size1214; ++_i1218) { - xfer += this->foreignKeys[_i1227].read(iprot); + xfer += this->foreignKeys[_i1218].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 _size1228; - ::apache::thrift::protocol::TType _etype1231; - xfer += iprot->readListBegin(_etype1231, _size1228); - this->uniqueConstraints.resize(_size1228); - uint32_t _i1232; - for (_i1232 = 0; _i1232 < _size1228; ++_i1232) + uint32_t _size1219; + ::apache::thrift::protocol::TType _etype1222; + xfer += iprot->readListBegin(_etype1222, _size1219); + this->uniqueConstraints.resize(_size1219); + uint32_t _i1223; + for (_i1223 = 0; _i1223 < _size1219; ++_i1223) { - xfer += this->uniqueConstraints[_i1232].read(iprot); + xfer += this->uniqueConstraints[_i1223].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 _size1233; - ::apache::thrift::protocol::TType _etype1236; - xfer += iprot->readListBegin(_etype1236, _size1233); - this->notNullConstraints.resize(_size1233); - uint32_t _i1237; - for (_i1237 = 0; _i1237 < _size1233; ++_i1237) + uint32_t _size1224; + ::apache::thrift::protocol::TType _etype1227; + xfer += iprot->readListBegin(_etype1227, _size1224); + this->notNullConstraints.resize(_size1224); + uint32_t _i1228; + for (_i1228 = 0; _i1228 < _size1224; ++_i1228) { - xfer += this->notNullConstraints[_i1237].read(iprot); + xfer += this->notNullConstraints[_i1228].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 _size1238; - ::apache::thrift::protocol::TType _etype1241; - xfer += iprot->readListBegin(_etype1241, _size1238); - this->defaultConstraints.resize(_size1238); - uint32_t _i1242; - for (_i1242 = 0; _i1242 < _size1238; ++_i1242) + uint32_t _size1229; + ::apache::thrift::protocol::TType _etype1232; + xfer += iprot->readListBegin(_etype1232, _size1229); + this->defaultConstraints.resize(_size1229); + uint32_t _i1233; + for (_i1233 = 0; _i1233 < _size1229; ++_i1233) { - xfer += this->defaultConstraints[_i1242].read(iprot); + xfer += this->defaultConstraints[_i1233].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 _iter1243; - for (_iter1243 = this->primaryKeys.begin(); _iter1243 != this->primaryKeys.end(); ++_iter1243) + std::vector ::const_iterator _iter1234; + for (_iter1234 = this->primaryKeys.begin(); _iter1234 != this->primaryKeys.end(); ++_iter1234) { - xfer += (*_iter1243).write(oprot); + xfer += (*_iter1234).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 _iter1244; - for (_iter1244 = this->foreignKeys.begin(); _iter1244 != this->foreignKeys.end(); ++_iter1244) + std::vector ::const_iterator _iter1235; + for (_iter1235 = this->foreignKeys.begin(); _iter1235 != this->foreignKeys.end(); ++_iter1235) { - xfer += (*_iter1244).write(oprot); + xfer += (*_iter1235).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 _iter1245; - for (_iter1245 = this->uniqueConstraints.begin(); _iter1245 != this->uniqueConstraints.end(); ++_iter1245) + std::vector ::const_iterator _iter1236; + for (_iter1236 = this->uniqueConstraints.begin(); _iter1236 != this->uniqueConstraints.end(); ++_iter1236) { - xfer += (*_iter1245).write(oprot); + xfer += (*_iter1236).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 _iter1246; - for (_iter1246 = this->notNullConstraints.begin(); _iter1246 != this->notNullConstraints.end(); ++_iter1246) + std::vector ::const_iterator _iter1237; + for (_iter1237 = this->notNullConstraints.begin(); _iter1237 != this->notNullConstraints.end(); ++_iter1237) { - xfer += (*_iter1246).write(oprot); + xfer += (*_iter1237).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 _iter1247; - for (_iter1247 = this->defaultConstraints.begin(); _iter1247 != this->defaultConstraints.end(); ++_iter1247) + std::vector ::const_iterator _iter1238; + for (_iter1238 = this->defaultConstraints.begin(); _iter1238 != this->defaultConstraints.end(); ++_iter1238) { - xfer += (*_iter1247).write(oprot); + xfer += (*_iter1238).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 _iter1248; - for (_iter1248 = (*(this->primaryKeys)).begin(); _iter1248 != (*(this->primaryKeys)).end(); ++_iter1248) + std::vector ::const_iterator _iter1239; + for (_iter1239 = (*(this->primaryKeys)).begin(); _iter1239 != (*(this->primaryKeys)).end(); ++_iter1239) { - xfer += (*_iter1248).write(oprot); + xfer += (*_iter1239).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 _iter1249; - for (_iter1249 = (*(this->foreignKeys)).begin(); _iter1249 != (*(this->foreignKeys)).end(); ++_iter1249) + std::vector ::const_iterator _iter1240; + for (_iter1240 = (*(this->foreignKeys)).begin(); _iter1240 != (*(this->foreignKeys)).end(); ++_iter1240) { - xfer += (*_iter1249).write(oprot); + xfer += (*_iter1240).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 _iter1250; - for (_iter1250 = (*(this->uniqueConstraints)).begin(); _iter1250 != (*(this->uniqueConstraints)).end(); ++_iter1250) + std::vector ::const_iterator _iter1241; + for (_iter1241 = (*(this->uniqueConstraints)).begin(); _iter1241 != (*(this->uniqueConstraints)).end(); ++_iter1241) { - xfer += (*_iter1250).write(oprot); + xfer += (*_iter1241).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 _iter1251; - for (_iter1251 = (*(this->notNullConstraints)).begin(); _iter1251 != (*(this->notNullConstraints)).end(); ++_iter1251) + std::vector ::const_iterator _iter1242; + for (_iter1242 = (*(this->notNullConstraints)).begin(); _iter1242 != (*(this->notNullConstraints)).end(); ++_iter1242) { - xfer += (*_iter1251).write(oprot); + xfer += (*_iter1242).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 _iter1252; - for (_iter1252 = (*(this->defaultConstraints)).begin(); _iter1252 != (*(this->defaultConstraints)).end(); ++_iter1252) + std::vector ::const_iterator _iter1243; + for (_iter1243 = (*(this->defaultConstraints)).begin(); _iter1243 != (*(this->defaultConstraints)).end(); ++_iter1243) { - xfer += (*_iter1252).write(oprot); + xfer += (*_iter1243).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 _size1253; - ::apache::thrift::protocol::TType _etype1256; - xfer += iprot->readListBegin(_etype1256, _size1253); - this->partNames.resize(_size1253); - uint32_t _i1257; - for (_i1257 = 0; _i1257 < _size1253; ++_i1257) + uint32_t _size1244; + ::apache::thrift::protocol::TType _etype1247; + xfer += iprot->readListBegin(_etype1247, _size1244); + this->partNames.resize(_size1244); + uint32_t _i1248; + for (_i1248 = 0; _i1248 < _size1244; ++_i1248) { - xfer += iprot->readString(this->partNames[_i1257]); + xfer += iprot->readString(this->partNames[_i1248]); } 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 _iter1258; - for (_iter1258 = this->partNames.begin(); _iter1258 != this->partNames.end(); ++_iter1258) + std::vector ::const_iterator _iter1249; + for (_iter1249 = this->partNames.begin(); _iter1249 != this->partNames.end(); ++_iter1249) { - xfer += oprot->writeString((*_iter1258)); + xfer += oprot->writeString((*_iter1249)); } 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 _iter1259; - for (_iter1259 = (*(this->partNames)).begin(); _iter1259 != (*(this->partNames)).end(); ++_iter1259) + std::vector ::const_iterator _iter1250; + for (_iter1250 = (*(this->partNames)).begin(); _iter1250 != (*(this->partNames)).end(); ++_iter1250) { - xfer += oprot->writeString((*_iter1259)); + xfer += oprot->writeString((*_iter1250)); } 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 _size1260; - ::apache::thrift::protocol::TType _etype1263; - xfer += iprot->readListBegin(_etype1263, _size1260); - this->success.resize(_size1260); - uint32_t _i1264; - for (_i1264 = 0; _i1264 < _size1260; ++_i1264) + 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[_i1264]); + xfer += iprot->readString(this->success[_i1255]); } 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 _iter1265; - for (_iter1265 = this->success.begin(); _iter1265 != this->success.end(); ++_iter1265) + std::vector ::const_iterator _iter1256; + for (_iter1256 = this->success.begin(); _iter1256 != this->success.end(); ++_iter1256) { - xfer += oprot->writeString((*_iter1265)); + xfer += oprot->writeString((*_iter1256)); } 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 _size1266; - ::apache::thrift::protocol::TType _etype1269; - xfer += iprot->readListBegin(_etype1269, _size1266); - (*(this->success)).resize(_size1266); - uint32_t _i1270; - for (_i1270 = 0; _i1270 < _size1266; ++_i1270) + 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))[_i1270]); + xfer += iprot->readString((*(this->success))[_i1261]); } 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 _size1271; - ::apache::thrift::protocol::TType _etype1274; - xfer += iprot->readListBegin(_etype1274, _size1271); - this->success.resize(_size1271); - uint32_t _i1275; - for (_i1275 = 0; _i1275 < _size1271; ++_i1275) + 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[_i1275]); + xfer += iprot->readString(this->success[_i1266]); } 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 _iter1276; - for (_iter1276 = this->success.begin(); _iter1276 != this->success.end(); ++_iter1276) + std::vector ::const_iterator _iter1267; + for (_iter1267 = this->success.begin(); _iter1267 != this->success.end(); ++_iter1267) { - xfer += oprot->writeString((*_iter1276)); + xfer += oprot->writeString((*_iter1267)); } 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 _size1277; - ::apache::thrift::protocol::TType _etype1280; - xfer += iprot->readListBegin(_etype1280, _size1277); - (*(this->success)).resize(_size1277); - uint32_t _i1281; - for (_i1281 = 0; _i1281 < _size1277; ++_i1281) + 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))[_i1281]); + xfer += iprot->readString((*(this->success))[_i1272]); } 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 _size1282; - ::apache::thrift::protocol::TType _etype1285; - xfer += iprot->readListBegin(_etype1285, _size1282); - this->success.resize(_size1282); - uint32_t _i1286; - for (_i1286 = 0; _i1286 < _size1282; ++_i1286) + uint32_t _size1273; + ::apache::thrift::protocol::TType _etype1276; + xfer += iprot->readListBegin(_etype1276, _size1273); + this->success.resize(_size1273); + uint32_t _i1277; + for (_i1277 = 0; _i1277 < _size1273; ++_i1277) { - xfer += iprot->readString(this->success[_i1286]); + xfer += iprot->readString(this->success[_i1277]); } 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 _iter1287; - for (_iter1287 = this->success.begin(); _iter1287 != this->success.end(); ++_iter1287) + std::vector ::const_iterator _iter1278; + for (_iter1278 = this->success.begin(); _iter1278 != this->success.end(); ++_iter1278) { - xfer += oprot->writeString((*_iter1287)); + xfer += oprot->writeString((*_iter1278)); } 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 _size1288; - ::apache::thrift::protocol::TType _etype1291; - xfer += iprot->readListBegin(_etype1291, _size1288); - (*(this->success)).resize(_size1288); - uint32_t _i1292; - for (_i1292 = 0; _i1292 < _size1288; ++_i1292) + uint32_t _size1279; + ::apache::thrift::protocol::TType _etype1282; + xfer += iprot->readListBegin(_etype1282, _size1279); + (*(this->success)).resize(_size1279); + uint32_t _i1283; + for (_i1283 = 0; _i1283 < _size1279; ++_i1283) { - xfer += iprot->readString((*(this->success))[_i1292]); + xfer += iprot->readString((*(this->success))[_i1283]); } 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 _size1293; - ::apache::thrift::protocol::TType _etype1296; - xfer += iprot->readListBegin(_etype1296, _size1293); - this->tbl_types.resize(_size1293); - uint32_t _i1297; - for (_i1297 = 0; _i1297 < _size1293; ++_i1297) + uint32_t _size1284; + ::apache::thrift::protocol::TType _etype1287; + xfer += iprot->readListBegin(_etype1287, _size1284); + this->tbl_types.resize(_size1284); + uint32_t _i1288; + for (_i1288 = 0; _i1288 < _size1284; ++_i1288) { - xfer += iprot->readString(this->tbl_types[_i1297]); + xfer += iprot->readString(this->tbl_types[_i1288]); } 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 _iter1298; - for (_iter1298 = this->tbl_types.begin(); _iter1298 != this->tbl_types.end(); ++_iter1298) + std::vector ::const_iterator _iter1289; + for (_iter1289 = this->tbl_types.begin(); _iter1289 != this->tbl_types.end(); ++_iter1289) { - xfer += oprot->writeString((*_iter1298)); + xfer += oprot->writeString((*_iter1289)); } 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 _iter1299; - for (_iter1299 = (*(this->tbl_types)).begin(); _iter1299 != (*(this->tbl_types)).end(); ++_iter1299) + std::vector ::const_iterator _iter1290; + for (_iter1290 = (*(this->tbl_types)).begin(); _iter1290 != (*(this->tbl_types)).end(); ++_iter1290) { - xfer += oprot->writeString((*_iter1299)); + xfer += oprot->writeString((*_iter1290)); } 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 _size1300; - ::apache::thrift::protocol::TType _etype1303; - xfer += iprot->readListBegin(_etype1303, _size1300); - this->success.resize(_size1300); - uint32_t _i1304; - for (_i1304 = 0; _i1304 < _size1300; ++_i1304) + 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 += this->success[_i1304].read(iprot); + xfer += this->success[_i1295].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 _iter1305; - for (_iter1305 = this->success.begin(); _iter1305 != this->success.end(); ++_iter1305) + std::vector ::const_iterator _iter1296; + for (_iter1296 = this->success.begin(); _iter1296 != this->success.end(); ++_iter1296) { - xfer += (*_iter1305).write(oprot); + xfer += (*_iter1296).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 _size1306; - ::apache::thrift::protocol::TType _etype1309; - xfer += iprot->readListBegin(_etype1309, _size1306); - (*(this->success)).resize(_size1306); - uint32_t _i1310; - for (_i1310 = 0; _i1310 < _size1306; ++_i1310) + 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 += (*(this->success))[_i1310].read(iprot); + xfer += (*(this->success))[_i1301].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 _size1311; - ::apache::thrift::protocol::TType _etype1314; - xfer += iprot->readListBegin(_etype1314, _size1311); - this->success.resize(_size1311); - uint32_t _i1315; - for (_i1315 = 0; _i1315 < _size1311; ++_i1315) + uint32_t _size1302; + ::apache::thrift::protocol::TType _etype1305; + xfer += iprot->readListBegin(_etype1305, _size1302); + this->success.resize(_size1302); + uint32_t _i1306; + for (_i1306 = 0; _i1306 < _size1302; ++_i1306) { - xfer += iprot->readString(this->success[_i1315]); + xfer += iprot->readString(this->success[_i1306]); } 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 _iter1316; - for (_iter1316 = this->success.begin(); _iter1316 != this->success.end(); ++_iter1316) + std::vector ::const_iterator _iter1307; + for (_iter1307 = this->success.begin(); _iter1307 != this->success.end(); ++_iter1307) { - xfer += oprot->writeString((*_iter1316)); + xfer += oprot->writeString((*_iter1307)); } 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 _size1317; - ::apache::thrift::protocol::TType _etype1320; - xfer += iprot->readListBegin(_etype1320, _size1317); - (*(this->success)).resize(_size1317); - uint32_t _i1321; - for (_i1321 = 0; _i1321 < _size1317; ++_i1321) + uint32_t _size1308; + ::apache::thrift::protocol::TType _etype1311; + xfer += iprot->readListBegin(_etype1311, _size1308); + (*(this->success)).resize(_size1308); + uint32_t _i1312; + for (_i1312 = 0; _i1312 < _size1308; ++_i1312) { - xfer += iprot->readString((*(this->success))[_i1321]); + xfer += iprot->readString((*(this->success))[_i1312]); } 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 _size1322; - ::apache::thrift::protocol::TType _etype1325; - xfer += iprot->readListBegin(_etype1325, _size1322); - this->tbl_names.resize(_size1322); - uint32_t _i1326; - for (_i1326 = 0; _i1326 < _size1322; ++_i1326) + uint32_t _size1313; + ::apache::thrift::protocol::TType _etype1316; + xfer += iprot->readListBegin(_etype1316, _size1313); + this->tbl_names.resize(_size1313); + uint32_t _i1317; + for (_i1317 = 0; _i1317 < _size1313; ++_i1317) { - xfer += iprot->readString(this->tbl_names[_i1326]); + xfer += iprot->readString(this->tbl_names[_i1317]); } 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 _iter1327; - for (_iter1327 = this->tbl_names.begin(); _iter1327 != this->tbl_names.end(); ++_iter1327) + std::vector ::const_iterator _iter1318; + for (_iter1318 = this->tbl_names.begin(); _iter1318 != this->tbl_names.end(); ++_iter1318) { - xfer += oprot->writeString((*_iter1327)); + xfer += oprot->writeString((*_iter1318)); } 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 _iter1328; - for (_iter1328 = (*(this->tbl_names)).begin(); _iter1328 != (*(this->tbl_names)).end(); ++_iter1328) + std::vector ::const_iterator _iter1319; + for (_iter1319 = (*(this->tbl_names)).begin(); _iter1319 != (*(this->tbl_names)).end(); ++_iter1319) { - xfer += oprot->writeString((*_iter1328)); + xfer += oprot->writeString((*_iter1319)); } 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 _size1329; - ::apache::thrift::protocol::TType _etype1332; - xfer += iprot->readListBegin(_etype1332, _size1329); - this->success.resize(_size1329); - uint32_t _i1333; - for (_i1333 = 0; _i1333 < _size1329; ++_i1333) + uint32_t _size1320; + ::apache::thrift::protocol::TType _etype1323; + xfer += iprot->readListBegin(_etype1323, _size1320); + this->success.resize(_size1320); + uint32_t _i1324; + for (_i1324 = 0; _i1324 < _size1320; ++_i1324) { - xfer += this->success[_i1333].read(iprot); + xfer += this->success[_i1324].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 _iter1334; - for (_iter1334 = this->success.begin(); _iter1334 != this->success.end(); ++_iter1334) + std::vector
::const_iterator _iter1325; + for (_iter1325 = this->success.begin(); _iter1325 != this->success.end(); ++_iter1325) { - xfer += (*_iter1334).write(oprot); + xfer += (*_iter1325).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 _size1335; - ::apache::thrift::protocol::TType _etype1338; - xfer += iprot->readListBegin(_etype1338, _size1335); - (*(this->success)).resize(_size1335); - uint32_t _i1339; - for (_i1339 = 0; _i1339 < _size1335; ++_i1339) + uint32_t _size1326; + ::apache::thrift::protocol::TType _etype1329; + xfer += iprot->readListBegin(_etype1329, _size1326); + (*(this->success)).resize(_size1326); + uint32_t _i1330; + for (_i1330 = 0; _i1330 < _size1326; ++_i1330) { - xfer += (*(this->success))[_i1339].read(iprot); + xfer += (*(this->success))[_i1330].read(iprot); } xfer += iprot->readListEnd(); } @@ -9214,336 +9214,6 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_req_presult::read(::apach } -ThriftHiveMetastore_get_materialization_invalidation_info_args::~ThriftHiveMetastore_get_materialization_invalidation_info_args() throw() { -} - - -uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_args::read(::apache::thrift::protocol::TProtocol* iprot) { - - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->dbname); - this->__isset.dbname = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->tbl_names.clear(); - uint32_t _size1340; - ::apache::thrift::protocol::TType _etype1343; - xfer += iprot->readListBegin(_etype1343, _size1340); - this->tbl_names.resize(_size1340); - uint32_t _i1344; - for (_i1344 = 0; _i1344 < _size1340; ++_i1344) - { - xfer += iprot->readString(this->tbl_names[_i1344]); - } - xfer += iprot->readListEnd(); - } - this->__isset.tbl_names = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_args::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_materialization_invalidation_info_args"); - - xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); - xfer += oprot->writeString(this->dbname); - xfer += oprot->writeFieldEnd(); - - 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 _iter1345; - for (_iter1345 = this->tbl_names.begin(); _iter1345 != this->tbl_names.end(); ++_iter1345) - { - xfer += oprot->writeString((*_iter1345)); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -ThriftHiveMetastore_get_materialization_invalidation_info_pargs::~ThriftHiveMetastore_get_materialization_invalidation_info_pargs() throw() { -} - - -uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_materialization_invalidation_info_pargs"); - - xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); - xfer += oprot->writeString((*(this->dbname))); - xfer += oprot->writeFieldEnd(); - - 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 _iter1346; - for (_iter1346 = (*(this->tbl_names)).begin(); _iter1346 != (*(this->tbl_names)).end(); ++_iter1346) - { - xfer += oprot->writeString((*_iter1346)); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -ThriftHiveMetastore_get_materialization_invalidation_info_result::~ThriftHiveMetastore_get_materialization_invalidation_info_result() throw() { -} - - -uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_result::read(::apache::thrift::protocol::TProtocol* iprot) { - - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_MAP) { - { - this->success.clear(); - uint32_t _size1347; - ::apache::thrift::protocol::TType _ktype1348; - ::apache::thrift::protocol::TType _vtype1349; - xfer += iprot->readMapBegin(_ktype1348, _vtype1349, _size1347); - uint32_t _i1351; - for (_i1351 = 0; _i1351 < _size1347; ++_i1351) - { - std::string _key1352; - xfer += iprot->readString(_key1352); - Materialization& _val1353 = this->success[_key1352]; - xfer += _val1353.read(iprot); - } - xfer += iprot->readMapEnd(); - } - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->o1.read(iprot); - this->__isset.o1 = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->o2.read(iprot); - this->__isset.o2 = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->o3.read(iprot); - this->__isset.o3 = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_result::write(::apache::thrift::protocol::TProtocol* oprot) const { - - uint32_t xfer = 0; - - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_materialization_invalidation_info_result"); - - if (this->__isset.success) { - 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 _iter1354; - for (_iter1354 = this->success.begin(); _iter1354 != this->success.end(); ++_iter1354) - { - xfer += oprot->writeString(_iter1354->first); - xfer += _iter1354->second.write(oprot); - } - xfer += oprot->writeMapEnd(); - } - xfer += oprot->writeFieldEnd(); - } else if (this->__isset.o1) { - xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->o1.write(oprot); - xfer += oprot->writeFieldEnd(); - } else if (this->__isset.o2) { - xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2); - xfer += this->o2.write(oprot); - xfer += oprot->writeFieldEnd(); - } else if (this->__isset.o3) { - xfer += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->o3.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -ThriftHiveMetastore_get_materialization_invalidation_info_presult::~ThriftHiveMetastore_get_materialization_invalidation_info_presult() throw() { -} - - -uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_presult::read(::apache::thrift::protocol::TProtocol* iprot) { - - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_MAP) { - { - (*(this->success)).clear(); - uint32_t _size1355; - ::apache::thrift::protocol::TType _ktype1356; - ::apache::thrift::protocol::TType _vtype1357; - xfer += iprot->readMapBegin(_ktype1356, _vtype1357, _size1355); - uint32_t _i1359; - for (_i1359 = 0; _i1359 < _size1355; ++_i1359) - { - std::string _key1360; - xfer += iprot->readString(_key1360); - Materialization& _val1361 = (*(this->success))[_key1360]; - xfer += _val1361.read(iprot); - } - xfer += iprot->readMapEnd(); - } - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->o1.read(iprot); - this->__isset.o1 = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->o2.read(iprot); - this->__isset.o2 = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->o3.read(iprot); - this->__isset.o3 = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - - ThriftHiveMetastore_update_creation_metadata_args::~ThriftHiveMetastore_update_creation_metadata_args() throw() { } @@ -9943,14 +9613,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 _size1362; - ::apache::thrift::protocol::TType _etype1365; - xfer += iprot->readListBegin(_etype1365, _size1362); - this->success.resize(_size1362); - uint32_t _i1366; - for (_i1366 = 0; _i1366 < _size1362; ++_i1366) + uint32_t _size1331; + ::apache::thrift::protocol::TType _etype1334; + xfer += iprot->readListBegin(_etype1334, _size1331); + this->success.resize(_size1331); + uint32_t _i1335; + for (_i1335 = 0; _i1335 < _size1331; ++_i1335) { - xfer += iprot->readString(this->success[_i1366]); + xfer += iprot->readString(this->success[_i1335]); } xfer += iprot->readListEnd(); } @@ -10005,10 +9675,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 _iter1367; - for (_iter1367 = this->success.begin(); _iter1367 != this->success.end(); ++_iter1367) + std::vector ::const_iterator _iter1336; + for (_iter1336 = this->success.begin(); _iter1336 != this->success.end(); ++_iter1336) { - xfer += oprot->writeString((*_iter1367)); + xfer += oprot->writeString((*_iter1336)); } xfer += oprot->writeListEnd(); } @@ -10061,14 +9731,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 _size1368; - ::apache::thrift::protocol::TType _etype1371; - xfer += iprot->readListBegin(_etype1371, _size1368); - (*(this->success)).resize(_size1368); - uint32_t _i1372; - for (_i1372 = 0; _i1372 < _size1368; ++_i1372) + uint32_t _size1337; + ::apache::thrift::protocol::TType _etype1340; + xfer += iprot->readListBegin(_etype1340, _size1337); + (*(this->success)).resize(_size1337); + uint32_t _i1341; + for (_i1341 = 0; _i1341 < _size1337; ++_i1341) { - xfer += iprot->readString((*(this->success))[_i1372]); + xfer += iprot->readString((*(this->success))[_i1341]); } xfer += iprot->readListEnd(); } @@ -11402,14 +11072,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1373; - ::apache::thrift::protocol::TType _etype1376; - xfer += iprot->readListBegin(_etype1376, _size1373); - this->new_parts.resize(_size1373); - uint32_t _i1377; - for (_i1377 = 0; _i1377 < _size1373; ++_i1377) + uint32_t _size1342; + ::apache::thrift::protocol::TType _etype1345; + xfer += iprot->readListBegin(_etype1345, _size1342); + this->new_parts.resize(_size1342); + uint32_t _i1346; + for (_i1346 = 0; _i1346 < _size1342; ++_i1346) { - xfer += this->new_parts[_i1377].read(iprot); + xfer += this->new_parts[_i1346].read(iprot); } xfer += iprot->readListEnd(); } @@ -11438,10 +11108,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 _iter1378; - for (_iter1378 = this->new_parts.begin(); _iter1378 != this->new_parts.end(); ++_iter1378) + std::vector ::const_iterator _iter1347; + for (_iter1347 = this->new_parts.begin(); _iter1347 != this->new_parts.end(); ++_iter1347) { - xfer += (*_iter1378).write(oprot); + xfer += (*_iter1347).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11465,10 +11135,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 _iter1379; - for (_iter1379 = (*(this->new_parts)).begin(); _iter1379 != (*(this->new_parts)).end(); ++_iter1379) + std::vector ::const_iterator _iter1348; + for (_iter1348 = (*(this->new_parts)).begin(); _iter1348 != (*(this->new_parts)).end(); ++_iter1348) { - xfer += (*_iter1379).write(oprot); + xfer += (*_iter1348).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11677,14 +11347,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 _size1380; - ::apache::thrift::protocol::TType _etype1383; - xfer += iprot->readListBegin(_etype1383, _size1380); - this->new_parts.resize(_size1380); - uint32_t _i1384; - for (_i1384 = 0; _i1384 < _size1380; ++_i1384) + uint32_t _size1349; + ::apache::thrift::protocol::TType _etype1352; + xfer += iprot->readListBegin(_etype1352, _size1349); + this->new_parts.resize(_size1349); + uint32_t _i1353; + for (_i1353 = 0; _i1353 < _size1349; ++_i1353) { - xfer += this->new_parts[_i1384].read(iprot); + xfer += this->new_parts[_i1353].read(iprot); } xfer += iprot->readListEnd(); } @@ -11713,10 +11383,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 _iter1385; - for (_iter1385 = this->new_parts.begin(); _iter1385 != this->new_parts.end(); ++_iter1385) + std::vector ::const_iterator _iter1354; + for (_iter1354 = this->new_parts.begin(); _iter1354 != this->new_parts.end(); ++_iter1354) { - xfer += (*_iter1385).write(oprot); + xfer += (*_iter1354).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11740,10 +11410,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 _iter1386; - for (_iter1386 = (*(this->new_parts)).begin(); _iter1386 != (*(this->new_parts)).end(); ++_iter1386) + std::vector ::const_iterator _iter1355; + for (_iter1355 = (*(this->new_parts)).begin(); _iter1355 != (*(this->new_parts)).end(); ++_iter1355) { - xfer += (*_iter1386).write(oprot); + xfer += (*_iter1355).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11968,14 +11638,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1387; - ::apache::thrift::protocol::TType _etype1390; - xfer += iprot->readListBegin(_etype1390, _size1387); - this->part_vals.resize(_size1387); - uint32_t _i1391; - for (_i1391 = 0; _i1391 < _size1387; ++_i1391) + uint32_t _size1356; + ::apache::thrift::protocol::TType _etype1359; + xfer += iprot->readListBegin(_etype1359, _size1356); + this->part_vals.resize(_size1356); + uint32_t _i1360; + for (_i1360 = 0; _i1360 < _size1356; ++_i1360) { - xfer += iprot->readString(this->part_vals[_i1391]); + xfer += iprot->readString(this->part_vals[_i1360]); } xfer += iprot->readListEnd(); } @@ -12012,10 +11682,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 _iter1392; - for (_iter1392 = this->part_vals.begin(); _iter1392 != this->part_vals.end(); ++_iter1392) + std::vector ::const_iterator _iter1361; + for (_iter1361 = this->part_vals.begin(); _iter1361 != this->part_vals.end(); ++_iter1361) { - xfer += oprot->writeString((*_iter1392)); + xfer += oprot->writeString((*_iter1361)); } xfer += oprot->writeListEnd(); } @@ -12047,10 +11717,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 _iter1393; - for (_iter1393 = (*(this->part_vals)).begin(); _iter1393 != (*(this->part_vals)).end(); ++_iter1393) + std::vector ::const_iterator _iter1362; + for (_iter1362 = (*(this->part_vals)).begin(); _iter1362 != (*(this->part_vals)).end(); ++_iter1362) { - xfer += oprot->writeString((*_iter1393)); + xfer += oprot->writeString((*_iter1362)); } xfer += oprot->writeListEnd(); } @@ -12522,14 +12192,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1394; - ::apache::thrift::protocol::TType _etype1397; - xfer += iprot->readListBegin(_etype1397, _size1394); - this->part_vals.resize(_size1394); - uint32_t _i1398; - for (_i1398 = 0; _i1398 < _size1394; ++_i1398) + uint32_t _size1363; + ::apache::thrift::protocol::TType _etype1366; + xfer += iprot->readListBegin(_etype1366, _size1363); + this->part_vals.resize(_size1363); + uint32_t _i1367; + for (_i1367 = 0; _i1367 < _size1363; ++_i1367) { - xfer += iprot->readString(this->part_vals[_i1398]); + xfer += iprot->readString(this->part_vals[_i1367]); } xfer += iprot->readListEnd(); } @@ -12574,10 +12244,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 _iter1399; - for (_iter1399 = this->part_vals.begin(); _iter1399 != this->part_vals.end(); ++_iter1399) + std::vector ::const_iterator _iter1368; + for (_iter1368 = this->part_vals.begin(); _iter1368 != this->part_vals.end(); ++_iter1368) { - xfer += oprot->writeString((*_iter1399)); + xfer += oprot->writeString((*_iter1368)); } xfer += oprot->writeListEnd(); } @@ -12613,10 +12283,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 _iter1400; - for (_iter1400 = (*(this->part_vals)).begin(); _iter1400 != (*(this->part_vals)).end(); ++_iter1400) + std::vector ::const_iterator _iter1369; + for (_iter1369 = (*(this->part_vals)).begin(); _iter1369 != (*(this->part_vals)).end(); ++_iter1369) { - xfer += oprot->writeString((*_iter1400)); + xfer += oprot->writeString((*_iter1369)); } xfer += oprot->writeListEnd(); } @@ -13419,14 +13089,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1401; - ::apache::thrift::protocol::TType _etype1404; - xfer += iprot->readListBegin(_etype1404, _size1401); - this->part_vals.resize(_size1401); - uint32_t _i1405; - for (_i1405 = 0; _i1405 < _size1401; ++_i1405) + uint32_t _size1370; + ::apache::thrift::protocol::TType _etype1373; + xfer += iprot->readListBegin(_etype1373, _size1370); + this->part_vals.resize(_size1370); + uint32_t _i1374; + for (_i1374 = 0; _i1374 < _size1370; ++_i1374) { - xfer += iprot->readString(this->part_vals[_i1405]); + xfer += iprot->readString(this->part_vals[_i1374]); } xfer += iprot->readListEnd(); } @@ -13471,10 +13141,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 _iter1406; - for (_iter1406 = this->part_vals.begin(); _iter1406 != this->part_vals.end(); ++_iter1406) + std::vector ::const_iterator _iter1375; + for (_iter1375 = this->part_vals.begin(); _iter1375 != this->part_vals.end(); ++_iter1375) { - xfer += oprot->writeString((*_iter1406)); + xfer += oprot->writeString((*_iter1375)); } xfer += oprot->writeListEnd(); } @@ -13510,10 +13180,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 _iter1407; - for (_iter1407 = (*(this->part_vals)).begin(); _iter1407 != (*(this->part_vals)).end(); ++_iter1407) + std::vector ::const_iterator _iter1376; + for (_iter1376 = (*(this->part_vals)).begin(); _iter1376 != (*(this->part_vals)).end(); ++_iter1376) { - xfer += oprot->writeString((*_iter1407)); + xfer += oprot->writeString((*_iter1376)); } xfer += oprot->writeListEnd(); } @@ -13722,14 +13392,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1408; - ::apache::thrift::protocol::TType _etype1411; - xfer += iprot->readListBegin(_etype1411, _size1408); - this->part_vals.resize(_size1408); - uint32_t _i1412; - for (_i1412 = 0; _i1412 < _size1408; ++_i1412) + uint32_t _size1377; + ::apache::thrift::protocol::TType _etype1380; + xfer += iprot->readListBegin(_etype1380, _size1377); + this->part_vals.resize(_size1377); + uint32_t _i1381; + for (_i1381 = 0; _i1381 < _size1377; ++_i1381) { - xfer += iprot->readString(this->part_vals[_i1412]); + xfer += iprot->readString(this->part_vals[_i1381]); } xfer += iprot->readListEnd(); } @@ -13782,10 +13452,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 _iter1413; - for (_iter1413 = this->part_vals.begin(); _iter1413 != this->part_vals.end(); ++_iter1413) + std::vector ::const_iterator _iter1382; + for (_iter1382 = this->part_vals.begin(); _iter1382 != this->part_vals.end(); ++_iter1382) { - xfer += oprot->writeString((*_iter1413)); + xfer += oprot->writeString((*_iter1382)); } xfer += oprot->writeListEnd(); } @@ -13825,10 +13495,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 _iter1414; - for (_iter1414 = (*(this->part_vals)).begin(); _iter1414 != (*(this->part_vals)).end(); ++_iter1414) + std::vector ::const_iterator _iter1383; + for (_iter1383 = (*(this->part_vals)).begin(); _iter1383 != (*(this->part_vals)).end(); ++_iter1383) { - xfer += oprot->writeString((*_iter1414)); + xfer += oprot->writeString((*_iter1383)); } xfer += oprot->writeListEnd(); } @@ -14834,14 +14504,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1415; - ::apache::thrift::protocol::TType _etype1418; - xfer += iprot->readListBegin(_etype1418, _size1415); - this->part_vals.resize(_size1415); - uint32_t _i1419; - for (_i1419 = 0; _i1419 < _size1415; ++_i1419) + uint32_t _size1384; + ::apache::thrift::protocol::TType _etype1387; + xfer += iprot->readListBegin(_etype1387, _size1384); + this->part_vals.resize(_size1384); + uint32_t _i1388; + for (_i1388 = 0; _i1388 < _size1384; ++_i1388) { - xfer += iprot->readString(this->part_vals[_i1419]); + xfer += iprot->readString(this->part_vals[_i1388]); } xfer += iprot->readListEnd(); } @@ -14878,10 +14548,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 _iter1420; - for (_iter1420 = this->part_vals.begin(); _iter1420 != this->part_vals.end(); ++_iter1420) + std::vector ::const_iterator _iter1389; + for (_iter1389 = this->part_vals.begin(); _iter1389 != this->part_vals.end(); ++_iter1389) { - xfer += oprot->writeString((*_iter1420)); + xfer += oprot->writeString((*_iter1389)); } xfer += oprot->writeListEnd(); } @@ -14913,10 +14583,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 _iter1421; - for (_iter1421 = (*(this->part_vals)).begin(); _iter1421 != (*(this->part_vals)).end(); ++_iter1421) + std::vector ::const_iterator _iter1390; + for (_iter1390 = (*(this->part_vals)).begin(); _iter1390 != (*(this->part_vals)).end(); ++_iter1390) { - xfer += oprot->writeString((*_iter1421)); + xfer += oprot->writeString((*_iter1390)); } xfer += oprot->writeListEnd(); } @@ -15105,17 +14775,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1422; - ::apache::thrift::protocol::TType _ktype1423; - ::apache::thrift::protocol::TType _vtype1424; - xfer += iprot->readMapBegin(_ktype1423, _vtype1424, _size1422); - uint32_t _i1426; - for (_i1426 = 0; _i1426 < _size1422; ++_i1426) + uint32_t _size1391; + ::apache::thrift::protocol::TType _ktype1392; + ::apache::thrift::protocol::TType _vtype1393; + xfer += iprot->readMapBegin(_ktype1392, _vtype1393, _size1391); + uint32_t _i1395; + for (_i1395 = 0; _i1395 < _size1391; ++_i1395) { - std::string _key1427; - xfer += iprot->readString(_key1427); - std::string& _val1428 = this->partitionSpecs[_key1427]; - xfer += iprot->readString(_val1428); + std::string _key1396; + xfer += iprot->readString(_key1396); + std::string& _val1397 = this->partitionSpecs[_key1396]; + xfer += iprot->readString(_val1397); } xfer += iprot->readMapEnd(); } @@ -15176,11 +14846,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 _iter1429; - for (_iter1429 = this->partitionSpecs.begin(); _iter1429 != this->partitionSpecs.end(); ++_iter1429) + std::map ::const_iterator _iter1398; + for (_iter1398 = this->partitionSpecs.begin(); _iter1398 != this->partitionSpecs.end(); ++_iter1398) { - xfer += oprot->writeString(_iter1429->first); - xfer += oprot->writeString(_iter1429->second); + xfer += oprot->writeString(_iter1398->first); + xfer += oprot->writeString(_iter1398->second); } xfer += oprot->writeMapEnd(); } @@ -15220,11 +14890,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 _iter1430; - for (_iter1430 = (*(this->partitionSpecs)).begin(); _iter1430 != (*(this->partitionSpecs)).end(); ++_iter1430) + std::map ::const_iterator _iter1399; + for (_iter1399 = (*(this->partitionSpecs)).begin(); _iter1399 != (*(this->partitionSpecs)).end(); ++_iter1399) { - xfer += oprot->writeString(_iter1430->first); - xfer += oprot->writeString(_iter1430->second); + xfer += oprot->writeString(_iter1399->first); + xfer += oprot->writeString(_iter1399->second); } xfer += oprot->writeMapEnd(); } @@ -15469,17 +15139,17 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1431; - ::apache::thrift::protocol::TType _ktype1432; - ::apache::thrift::protocol::TType _vtype1433; - xfer += iprot->readMapBegin(_ktype1432, _vtype1433, _size1431); - uint32_t _i1435; - for (_i1435 = 0; _i1435 < _size1431; ++_i1435) + uint32_t _size1400; + ::apache::thrift::protocol::TType _ktype1401; + ::apache::thrift::protocol::TType _vtype1402; + xfer += iprot->readMapBegin(_ktype1401, _vtype1402, _size1400); + uint32_t _i1404; + for (_i1404 = 0; _i1404 < _size1400; ++_i1404) { - std::string _key1436; - xfer += iprot->readString(_key1436); - std::string& _val1437 = this->partitionSpecs[_key1436]; - xfer += iprot->readString(_val1437); + std::string _key1405; + xfer += iprot->readString(_key1405); + std::string& _val1406 = this->partitionSpecs[_key1405]; + xfer += iprot->readString(_val1406); } xfer += iprot->readMapEnd(); } @@ -15540,11 +15210,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 _iter1438; - for (_iter1438 = this->partitionSpecs.begin(); _iter1438 != this->partitionSpecs.end(); ++_iter1438) + std::map ::const_iterator _iter1407; + for (_iter1407 = this->partitionSpecs.begin(); _iter1407 != this->partitionSpecs.end(); ++_iter1407) { - xfer += oprot->writeString(_iter1438->first); - xfer += oprot->writeString(_iter1438->second); + xfer += oprot->writeString(_iter1407->first); + xfer += oprot->writeString(_iter1407->second); } xfer += oprot->writeMapEnd(); } @@ -15584,11 +15254,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 _iter1439; - for (_iter1439 = (*(this->partitionSpecs)).begin(); _iter1439 != (*(this->partitionSpecs)).end(); ++_iter1439) + std::map ::const_iterator _iter1408; + for (_iter1408 = (*(this->partitionSpecs)).begin(); _iter1408 != (*(this->partitionSpecs)).end(); ++_iter1408) { - xfer += oprot->writeString(_iter1439->first); - xfer += oprot->writeString(_iter1439->second); + xfer += oprot->writeString(_iter1408->first); + xfer += oprot->writeString(_iter1408->second); } xfer += oprot->writeMapEnd(); } @@ -15645,14 +15315,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1440; - ::apache::thrift::protocol::TType _etype1443; - xfer += iprot->readListBegin(_etype1443, _size1440); - this->success.resize(_size1440); - uint32_t _i1444; - for (_i1444 = 0; _i1444 < _size1440; ++_i1444) + uint32_t _size1409; + ::apache::thrift::protocol::TType _etype1412; + xfer += iprot->readListBegin(_etype1412, _size1409); + this->success.resize(_size1409); + uint32_t _i1413; + for (_i1413 = 0; _i1413 < _size1409; ++_i1413) { - xfer += this->success[_i1444].read(iprot); + xfer += this->success[_i1413].read(iprot); } xfer += iprot->readListEnd(); } @@ -15715,10 +15385,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 _iter1445; - for (_iter1445 = this->success.begin(); _iter1445 != this->success.end(); ++_iter1445) + std::vector ::const_iterator _iter1414; + for (_iter1414 = this->success.begin(); _iter1414 != this->success.end(); ++_iter1414) { - xfer += (*_iter1445).write(oprot); + xfer += (*_iter1414).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15775,14 +15445,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1446; - ::apache::thrift::protocol::TType _etype1449; - xfer += iprot->readListBegin(_etype1449, _size1446); - (*(this->success)).resize(_size1446); - uint32_t _i1450; - for (_i1450 = 0; _i1450 < _size1446; ++_i1450) + uint32_t _size1415; + ::apache::thrift::protocol::TType _etype1418; + xfer += iprot->readListBegin(_etype1418, _size1415); + (*(this->success)).resize(_size1415); + uint32_t _i1419; + for (_i1419 = 0; _i1419 < _size1415; ++_i1419) { - xfer += (*(this->success))[_i1450].read(iprot); + xfer += (*(this->success))[_i1419].read(iprot); } xfer += iprot->readListEnd(); } @@ -15881,14 +15551,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 _size1451; - ::apache::thrift::protocol::TType _etype1454; - xfer += iprot->readListBegin(_etype1454, _size1451); - this->part_vals.resize(_size1451); - uint32_t _i1455; - for (_i1455 = 0; _i1455 < _size1451; ++_i1455) + uint32_t _size1420; + ::apache::thrift::protocol::TType _etype1423; + xfer += iprot->readListBegin(_etype1423, _size1420); + this->part_vals.resize(_size1420); + uint32_t _i1424; + for (_i1424 = 0; _i1424 < _size1420; ++_i1424) { - xfer += iprot->readString(this->part_vals[_i1455]); + xfer += iprot->readString(this->part_vals[_i1424]); } xfer += iprot->readListEnd(); } @@ -15909,14 +15579,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 _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) + uint32_t _size1425; + ::apache::thrift::protocol::TType _etype1428; + xfer += iprot->readListBegin(_etype1428, _size1425); + this->group_names.resize(_size1425); + uint32_t _i1429; + for (_i1429 = 0; _i1429 < _size1425; ++_i1429) { - xfer += iprot->readString(this->group_names[_i1460]); + xfer += iprot->readString(this->group_names[_i1429]); } xfer += iprot->readListEnd(); } @@ -15953,10 +15623,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 _iter1461; - for (_iter1461 = this->part_vals.begin(); _iter1461 != this->part_vals.end(); ++_iter1461) + std::vector ::const_iterator _iter1430; + for (_iter1430 = this->part_vals.begin(); _iter1430 != this->part_vals.end(); ++_iter1430) { - xfer += oprot->writeString((*_iter1461)); + xfer += oprot->writeString((*_iter1430)); } xfer += oprot->writeListEnd(); } @@ -15969,10 +15639,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 _iter1462; - for (_iter1462 = this->group_names.begin(); _iter1462 != this->group_names.end(); ++_iter1462) + std::vector ::const_iterator _iter1431; + for (_iter1431 = this->group_names.begin(); _iter1431 != this->group_names.end(); ++_iter1431) { - xfer += oprot->writeString((*_iter1462)); + xfer += oprot->writeString((*_iter1431)); } xfer += oprot->writeListEnd(); } @@ -16004,10 +15674,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 _iter1463; - for (_iter1463 = (*(this->part_vals)).begin(); _iter1463 != (*(this->part_vals)).end(); ++_iter1463) + std::vector ::const_iterator _iter1432; + for (_iter1432 = (*(this->part_vals)).begin(); _iter1432 != (*(this->part_vals)).end(); ++_iter1432) { - xfer += oprot->writeString((*_iter1463)); + xfer += oprot->writeString((*_iter1432)); } xfer += oprot->writeListEnd(); } @@ -16020,10 +15690,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 _iter1464; - for (_iter1464 = (*(this->group_names)).begin(); _iter1464 != (*(this->group_names)).end(); ++_iter1464) + std::vector ::const_iterator _iter1433; + for (_iter1433 = (*(this->group_names)).begin(); _iter1433 != (*(this->group_names)).end(); ++_iter1433) { - xfer += oprot->writeString((*_iter1464)); + xfer += oprot->writeString((*_iter1433)); } xfer += oprot->writeListEnd(); } @@ -16582,14 +16252,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1465; - ::apache::thrift::protocol::TType _etype1468; - xfer += iprot->readListBegin(_etype1468, _size1465); - this->success.resize(_size1465); - uint32_t _i1469; - for (_i1469 = 0; _i1469 < _size1465; ++_i1469) + uint32_t _size1434; + ::apache::thrift::protocol::TType _etype1437; + xfer += iprot->readListBegin(_etype1437, _size1434); + this->success.resize(_size1434); + uint32_t _i1438; + for (_i1438 = 0; _i1438 < _size1434; ++_i1438) { - xfer += this->success[_i1469].read(iprot); + xfer += this->success[_i1438].read(iprot); } xfer += iprot->readListEnd(); } @@ -16636,10 +16306,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 _iter1470; - for (_iter1470 = this->success.begin(); _iter1470 != this->success.end(); ++_iter1470) + std::vector ::const_iterator _iter1439; + for (_iter1439 = this->success.begin(); _iter1439 != this->success.end(); ++_iter1439) { - xfer += (*_iter1470).write(oprot); + xfer += (*_iter1439).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16688,14 +16358,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1471; - ::apache::thrift::protocol::TType _etype1474; - xfer += iprot->readListBegin(_etype1474, _size1471); - (*(this->success)).resize(_size1471); - uint32_t _i1475; - for (_i1475 = 0; _i1475 < _size1471; ++_i1475) + uint32_t _size1440; + ::apache::thrift::protocol::TType _etype1443; + xfer += iprot->readListBegin(_etype1443, _size1440); + (*(this->success)).resize(_size1440); + uint32_t _i1444; + for (_i1444 = 0; _i1444 < _size1440; ++_i1444) { - xfer += (*(this->success))[_i1475].read(iprot); + xfer += (*(this->success))[_i1444].read(iprot); } xfer += iprot->readListEnd(); } @@ -16794,14 +16464,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 _size1476; - ::apache::thrift::protocol::TType _etype1479; - xfer += iprot->readListBegin(_etype1479, _size1476); - this->group_names.resize(_size1476); - uint32_t _i1480; - for (_i1480 = 0; _i1480 < _size1476; ++_i1480) + uint32_t _size1445; + ::apache::thrift::protocol::TType _etype1448; + xfer += iprot->readListBegin(_etype1448, _size1445); + this->group_names.resize(_size1445); + uint32_t _i1449; + for (_i1449 = 0; _i1449 < _size1445; ++_i1449) { - xfer += iprot->readString(this->group_names[_i1480]); + xfer += iprot->readString(this->group_names[_i1449]); } xfer += iprot->readListEnd(); } @@ -16846,10 +16516,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 _iter1481; - for (_iter1481 = this->group_names.begin(); _iter1481 != this->group_names.end(); ++_iter1481) + std::vector ::const_iterator _iter1450; + for (_iter1450 = this->group_names.begin(); _iter1450 != this->group_names.end(); ++_iter1450) { - xfer += oprot->writeString((*_iter1481)); + xfer += oprot->writeString((*_iter1450)); } xfer += oprot->writeListEnd(); } @@ -16889,10 +16559,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 _iter1482; - for (_iter1482 = (*(this->group_names)).begin(); _iter1482 != (*(this->group_names)).end(); ++_iter1482) + std::vector ::const_iterator _iter1451; + for (_iter1451 = (*(this->group_names)).begin(); _iter1451 != (*(this->group_names)).end(); ++_iter1451) { - xfer += oprot->writeString((*_iter1482)); + xfer += oprot->writeString((*_iter1451)); } xfer += oprot->writeListEnd(); } @@ -16933,14 +16603,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1483; - ::apache::thrift::protocol::TType _etype1486; - xfer += iprot->readListBegin(_etype1486, _size1483); - this->success.resize(_size1483); - uint32_t _i1487; - for (_i1487 = 0; _i1487 < _size1483; ++_i1487) + uint32_t _size1452; + ::apache::thrift::protocol::TType _etype1455; + xfer += iprot->readListBegin(_etype1455, _size1452); + this->success.resize(_size1452); + uint32_t _i1456; + for (_i1456 = 0; _i1456 < _size1452; ++_i1456) { - xfer += this->success[_i1487].read(iprot); + xfer += this->success[_i1456].read(iprot); } xfer += iprot->readListEnd(); } @@ -16987,10 +16657,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 _iter1488; - for (_iter1488 = this->success.begin(); _iter1488 != this->success.end(); ++_iter1488) + std::vector ::const_iterator _iter1457; + for (_iter1457 = this->success.begin(); _iter1457 != this->success.end(); ++_iter1457) { - xfer += (*_iter1488).write(oprot); + xfer += (*_iter1457).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17039,14 +16709,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1489; - ::apache::thrift::protocol::TType _etype1492; - xfer += iprot->readListBegin(_etype1492, _size1489); - (*(this->success)).resize(_size1489); - uint32_t _i1493; - for (_i1493 = 0; _i1493 < _size1489; ++_i1493) + uint32_t _size1458; + ::apache::thrift::protocol::TType _etype1461; + xfer += iprot->readListBegin(_etype1461, _size1458); + (*(this->success)).resize(_size1458); + uint32_t _i1462; + for (_i1462 = 0; _i1462 < _size1458; ++_i1462) { - xfer += (*(this->success))[_i1493].read(iprot); + xfer += (*(this->success))[_i1462].read(iprot); } xfer += iprot->readListEnd(); } @@ -17224,14 +16894,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1494; - ::apache::thrift::protocol::TType _etype1497; - xfer += iprot->readListBegin(_etype1497, _size1494); - this->success.resize(_size1494); - uint32_t _i1498; - for (_i1498 = 0; _i1498 < _size1494; ++_i1498) + 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[_i1498].read(iprot); + xfer += this->success[_i1467].read(iprot); } xfer += iprot->readListEnd(); } @@ -17278,10 +16948,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 _iter1499; - for (_iter1499 = this->success.begin(); _iter1499 != this->success.end(); ++_iter1499) + std::vector ::const_iterator _iter1468; + for (_iter1468 = this->success.begin(); _iter1468 != this->success.end(); ++_iter1468) { - xfer += (*_iter1499).write(oprot); + xfer += (*_iter1468).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17330,14 +17000,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1500; - ::apache::thrift::protocol::TType _etype1503; - xfer += iprot->readListBegin(_etype1503, _size1500); - (*(this->success)).resize(_size1500); - uint32_t _i1504; - for (_i1504 = 0; _i1504 < _size1500; ++_i1504) + 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))[_i1504].read(iprot); + xfer += (*(this->success))[_i1473].read(iprot); } xfer += iprot->readListEnd(); } @@ -17515,14 +17185,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1505; - ::apache::thrift::protocol::TType _etype1508; - xfer += iprot->readListBegin(_etype1508, _size1505); - this->success.resize(_size1505); - uint32_t _i1509; - for (_i1509 = 0; _i1509 < _size1505; ++_i1509) + 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 += iprot->readString(this->success[_i1509]); + xfer += iprot->readString(this->success[_i1478]); } xfer += iprot->readListEnd(); } @@ -17569,10 +17239,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 _iter1510; - for (_iter1510 = this->success.begin(); _iter1510 != this->success.end(); ++_iter1510) + std::vector ::const_iterator _iter1479; + for (_iter1479 = this->success.begin(); _iter1479 != this->success.end(); ++_iter1479) { - xfer += oprot->writeString((*_iter1510)); + xfer += oprot->writeString((*_iter1479)); } xfer += oprot->writeListEnd(); } @@ -17621,14 +17291,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1511; - ::apache::thrift::protocol::TType _etype1514; - xfer += iprot->readListBegin(_etype1514, _size1511); - (*(this->success)).resize(_size1511); - uint32_t _i1515; - for (_i1515 = 0; _i1515 < _size1511; ++_i1515) + 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 += iprot->readString((*(this->success))[_i1515]); + xfer += iprot->readString((*(this->success))[_i1484]); } xfer += iprot->readListEnd(); } @@ -17938,14 +17608,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 _size1516; - ::apache::thrift::protocol::TType _etype1519; - xfer += iprot->readListBegin(_etype1519, _size1516); - this->part_vals.resize(_size1516); - uint32_t _i1520; - for (_i1520 = 0; _i1520 < _size1516; ++_i1520) + uint32_t _size1485; + ::apache::thrift::protocol::TType _etype1488; + xfer += iprot->readListBegin(_etype1488, _size1485); + this->part_vals.resize(_size1485); + uint32_t _i1489; + for (_i1489 = 0; _i1489 < _size1485; ++_i1489) { - xfer += iprot->readString(this->part_vals[_i1520]); + xfer += iprot->readString(this->part_vals[_i1489]); } xfer += iprot->readListEnd(); } @@ -17990,10 +17660,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 _iter1521; - for (_iter1521 = this->part_vals.begin(); _iter1521 != this->part_vals.end(); ++_iter1521) + std::vector ::const_iterator _iter1490; + for (_iter1490 = this->part_vals.begin(); _iter1490 != this->part_vals.end(); ++_iter1490) { - xfer += oprot->writeString((*_iter1521)); + xfer += oprot->writeString((*_iter1490)); } xfer += oprot->writeListEnd(); } @@ -18029,10 +17699,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 _iter1522; - for (_iter1522 = (*(this->part_vals)).begin(); _iter1522 != (*(this->part_vals)).end(); ++_iter1522) + std::vector ::const_iterator _iter1491; + for (_iter1491 = (*(this->part_vals)).begin(); _iter1491 != (*(this->part_vals)).end(); ++_iter1491) { - xfer += oprot->writeString((*_iter1522)); + xfer += oprot->writeString((*_iter1491)); } xfer += oprot->writeListEnd(); } @@ -18077,14 +17747,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1523; - ::apache::thrift::protocol::TType _etype1526; - xfer += iprot->readListBegin(_etype1526, _size1523); - this->success.resize(_size1523); - uint32_t _i1527; - for (_i1527 = 0; _i1527 < _size1523; ++_i1527) + uint32_t _size1492; + ::apache::thrift::protocol::TType _etype1495; + xfer += iprot->readListBegin(_etype1495, _size1492); + this->success.resize(_size1492); + uint32_t _i1496; + for (_i1496 = 0; _i1496 < _size1492; ++_i1496) { - xfer += this->success[_i1527].read(iprot); + xfer += this->success[_i1496].read(iprot); } xfer += iprot->readListEnd(); } @@ -18131,10 +17801,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 _iter1528; - for (_iter1528 = this->success.begin(); _iter1528 != this->success.end(); ++_iter1528) + std::vector ::const_iterator _iter1497; + for (_iter1497 = this->success.begin(); _iter1497 != this->success.end(); ++_iter1497) { - xfer += (*_iter1528).write(oprot); + xfer += (*_iter1497).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18183,14 +17853,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1529; - ::apache::thrift::protocol::TType _etype1532; - xfer += iprot->readListBegin(_etype1532, _size1529); - (*(this->success)).resize(_size1529); - uint32_t _i1533; - for (_i1533 = 0; _i1533 < _size1529; ++_i1533) + uint32_t _size1498; + ::apache::thrift::protocol::TType _etype1501; + xfer += iprot->readListBegin(_etype1501, _size1498); + (*(this->success)).resize(_size1498); + uint32_t _i1502; + for (_i1502 = 0; _i1502 < _size1498; ++_i1502) { - xfer += (*(this->success))[_i1533].read(iprot); + xfer += (*(this->success))[_i1502].read(iprot); } xfer += iprot->readListEnd(); } @@ -18273,14 +17943,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 _size1534; - ::apache::thrift::protocol::TType _etype1537; - xfer += iprot->readListBegin(_etype1537, _size1534); - this->part_vals.resize(_size1534); - uint32_t _i1538; - for (_i1538 = 0; _i1538 < _size1534; ++_i1538) + uint32_t _size1503; + ::apache::thrift::protocol::TType _etype1506; + xfer += iprot->readListBegin(_etype1506, _size1503); + this->part_vals.resize(_size1503); + uint32_t _i1507; + for (_i1507 = 0; _i1507 < _size1503; ++_i1507) { - xfer += iprot->readString(this->part_vals[_i1538]); + xfer += iprot->readString(this->part_vals[_i1507]); } xfer += iprot->readListEnd(); } @@ -18309,14 +17979,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 _size1539; - ::apache::thrift::protocol::TType _etype1542; - xfer += iprot->readListBegin(_etype1542, _size1539); - this->group_names.resize(_size1539); - uint32_t _i1543; - for (_i1543 = 0; _i1543 < _size1539; ++_i1543) + uint32_t _size1508; + ::apache::thrift::protocol::TType _etype1511; + xfer += iprot->readListBegin(_etype1511, _size1508); + this->group_names.resize(_size1508); + uint32_t _i1512; + for (_i1512 = 0; _i1512 < _size1508; ++_i1512) { - xfer += iprot->readString(this->group_names[_i1543]); + xfer += iprot->readString(this->group_names[_i1512]); } xfer += iprot->readListEnd(); } @@ -18353,10 +18023,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 _iter1544; - for (_iter1544 = this->part_vals.begin(); _iter1544 != this->part_vals.end(); ++_iter1544) + std::vector ::const_iterator _iter1513; + for (_iter1513 = this->part_vals.begin(); _iter1513 != this->part_vals.end(); ++_iter1513) { - xfer += oprot->writeString((*_iter1544)); + xfer += oprot->writeString((*_iter1513)); } xfer += oprot->writeListEnd(); } @@ -18373,10 +18043,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 _iter1545; - for (_iter1545 = this->group_names.begin(); _iter1545 != this->group_names.end(); ++_iter1545) + std::vector ::const_iterator _iter1514; + for (_iter1514 = this->group_names.begin(); _iter1514 != this->group_names.end(); ++_iter1514) { - xfer += oprot->writeString((*_iter1545)); + xfer += oprot->writeString((*_iter1514)); } xfer += oprot->writeListEnd(); } @@ -18408,10 +18078,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 _iter1546; - for (_iter1546 = (*(this->part_vals)).begin(); _iter1546 != (*(this->part_vals)).end(); ++_iter1546) + std::vector ::const_iterator _iter1515; + for (_iter1515 = (*(this->part_vals)).begin(); _iter1515 != (*(this->part_vals)).end(); ++_iter1515) { - xfer += oprot->writeString((*_iter1546)); + xfer += oprot->writeString((*_iter1515)); } xfer += oprot->writeListEnd(); } @@ -18428,10 +18098,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 _iter1547; - for (_iter1547 = (*(this->group_names)).begin(); _iter1547 != (*(this->group_names)).end(); ++_iter1547) + std::vector ::const_iterator _iter1516; + for (_iter1516 = (*(this->group_names)).begin(); _iter1516 != (*(this->group_names)).end(); ++_iter1516) { - xfer += oprot->writeString((*_iter1547)); + xfer += oprot->writeString((*_iter1516)); } xfer += oprot->writeListEnd(); } @@ -18472,14 +18142,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1548; - ::apache::thrift::protocol::TType _etype1551; - xfer += iprot->readListBegin(_etype1551, _size1548); - this->success.resize(_size1548); - uint32_t _i1552; - for (_i1552 = 0; _i1552 < _size1548; ++_i1552) + uint32_t _size1517; + ::apache::thrift::protocol::TType _etype1520; + xfer += iprot->readListBegin(_etype1520, _size1517); + this->success.resize(_size1517); + uint32_t _i1521; + for (_i1521 = 0; _i1521 < _size1517; ++_i1521) { - xfer += this->success[_i1552].read(iprot); + xfer += this->success[_i1521].read(iprot); } xfer += iprot->readListEnd(); } @@ -18526,10 +18196,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 _iter1553; - for (_iter1553 = this->success.begin(); _iter1553 != this->success.end(); ++_iter1553) + std::vector ::const_iterator _iter1522; + for (_iter1522 = this->success.begin(); _iter1522 != this->success.end(); ++_iter1522) { - xfer += (*_iter1553).write(oprot); + xfer += (*_iter1522).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18578,14 +18248,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1554; - ::apache::thrift::protocol::TType _etype1557; - xfer += iprot->readListBegin(_etype1557, _size1554); - (*(this->success)).resize(_size1554); - uint32_t _i1558; - for (_i1558 = 0; _i1558 < _size1554; ++_i1558) + uint32_t _size1523; + ::apache::thrift::protocol::TType _etype1526; + xfer += iprot->readListBegin(_etype1526, _size1523); + (*(this->success)).resize(_size1523); + uint32_t _i1527; + for (_i1527 = 0; _i1527 < _size1523; ++_i1527) { - xfer += (*(this->success))[_i1558].read(iprot); + xfer += (*(this->success))[_i1527].read(iprot); } xfer += iprot->readListEnd(); } @@ -18668,14 +18338,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 _size1559; - ::apache::thrift::protocol::TType _etype1562; - xfer += iprot->readListBegin(_etype1562, _size1559); - this->part_vals.resize(_size1559); - uint32_t _i1563; - for (_i1563 = 0; _i1563 < _size1559; ++_i1563) + uint32_t _size1528; + ::apache::thrift::protocol::TType _etype1531; + xfer += iprot->readListBegin(_etype1531, _size1528); + this->part_vals.resize(_size1528); + uint32_t _i1532; + for (_i1532 = 0; _i1532 < _size1528; ++_i1532) { - xfer += iprot->readString(this->part_vals[_i1563]); + xfer += iprot->readString(this->part_vals[_i1532]); } xfer += iprot->readListEnd(); } @@ -18720,10 +18390,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 _iter1564; - for (_iter1564 = this->part_vals.begin(); _iter1564 != this->part_vals.end(); ++_iter1564) + std::vector ::const_iterator _iter1533; + for (_iter1533 = this->part_vals.begin(); _iter1533 != this->part_vals.end(); ++_iter1533) { - xfer += oprot->writeString((*_iter1564)); + xfer += oprot->writeString((*_iter1533)); } xfer += oprot->writeListEnd(); } @@ -18759,10 +18429,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 _iter1565; - for (_iter1565 = (*(this->part_vals)).begin(); _iter1565 != (*(this->part_vals)).end(); ++_iter1565) + std::vector ::const_iterator _iter1534; + for (_iter1534 = (*(this->part_vals)).begin(); _iter1534 != (*(this->part_vals)).end(); ++_iter1534) { - xfer += oprot->writeString((*_iter1565)); + xfer += oprot->writeString((*_iter1534)); } xfer += oprot->writeListEnd(); } @@ -18807,14 +18477,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1566; - ::apache::thrift::protocol::TType _etype1569; - xfer += iprot->readListBegin(_etype1569, _size1566); - this->success.resize(_size1566); - uint32_t _i1570; - for (_i1570 = 0; _i1570 < _size1566; ++_i1570) + uint32_t _size1535; + ::apache::thrift::protocol::TType _etype1538; + xfer += iprot->readListBegin(_etype1538, _size1535); + this->success.resize(_size1535); + uint32_t _i1539; + for (_i1539 = 0; _i1539 < _size1535; ++_i1539) { - xfer += iprot->readString(this->success[_i1570]); + xfer += iprot->readString(this->success[_i1539]); } xfer += iprot->readListEnd(); } @@ -18861,10 +18531,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 _iter1571; - for (_iter1571 = this->success.begin(); _iter1571 != this->success.end(); ++_iter1571) + std::vector ::const_iterator _iter1540; + for (_iter1540 = this->success.begin(); _iter1540 != this->success.end(); ++_iter1540) { - xfer += oprot->writeString((*_iter1571)); + xfer += oprot->writeString((*_iter1540)); } xfer += oprot->writeListEnd(); } @@ -18913,14 +18583,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1572; - ::apache::thrift::protocol::TType _etype1575; - xfer += iprot->readListBegin(_etype1575, _size1572); - (*(this->success)).resize(_size1572); - uint32_t _i1576; - for (_i1576 = 0; _i1576 < _size1572; ++_i1576) + uint32_t _size1541; + ::apache::thrift::protocol::TType _etype1544; + xfer += iprot->readListBegin(_etype1544, _size1541); + (*(this->success)).resize(_size1541); + uint32_t _i1545; + for (_i1545 = 0; _i1545 < _size1541; ++_i1545) { - xfer += iprot->readString((*(this->success))[_i1576]); + xfer += iprot->readString((*(this->success))[_i1545]); } xfer += iprot->readListEnd(); } @@ -19114,14 +18784,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1577; - ::apache::thrift::protocol::TType _etype1580; - xfer += iprot->readListBegin(_etype1580, _size1577); - this->success.resize(_size1577); - uint32_t _i1581; - for (_i1581 = 0; _i1581 < _size1577; ++_i1581) + 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 += this->success[_i1581].read(iprot); + xfer += this->success[_i1550].read(iprot); } xfer += iprot->readListEnd(); } @@ -19168,10 +18838,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 _iter1582; - for (_iter1582 = this->success.begin(); _iter1582 != this->success.end(); ++_iter1582) + std::vector ::const_iterator _iter1551; + for (_iter1551 = this->success.begin(); _iter1551 != this->success.end(); ++_iter1551) { - xfer += (*_iter1582).write(oprot); + xfer += (*_iter1551).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19220,14 +18890,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1583; - ::apache::thrift::protocol::TType _etype1586; - xfer += iprot->readListBegin(_etype1586, _size1583); - (*(this->success)).resize(_size1583); - uint32_t _i1587; - for (_i1587 = 0; _i1587 < _size1583; ++_i1587) + uint32_t _size1552; + ::apache::thrift::protocol::TType _etype1555; + xfer += iprot->readListBegin(_etype1555, _size1552); + (*(this->success)).resize(_size1552); + uint32_t _i1556; + for (_i1556 = 0; _i1556 < _size1552; ++_i1556) { - xfer += (*(this->success))[_i1587].read(iprot); + xfer += (*(this->success))[_i1556].read(iprot); } xfer += iprot->readListEnd(); } @@ -19421,14 +19091,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 _size1588; - ::apache::thrift::protocol::TType _etype1591; - xfer += iprot->readListBegin(_etype1591, _size1588); - this->success.resize(_size1588); - uint32_t _i1592; - for (_i1592 = 0; _i1592 < _size1588; ++_i1592) + 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[_i1592].read(iprot); + xfer += this->success[_i1561].read(iprot); } xfer += iprot->readListEnd(); } @@ -19475,10 +19145,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 _iter1593; - for (_iter1593 = this->success.begin(); _iter1593 != this->success.end(); ++_iter1593) + std::vector ::const_iterator _iter1562; + for (_iter1562 = this->success.begin(); _iter1562 != this->success.end(); ++_iter1562) { - xfer += (*_iter1593).write(oprot); + xfer += (*_iter1562).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19527,14 +19197,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 _size1594; - ::apache::thrift::protocol::TType _etype1597; - xfer += iprot->readListBegin(_etype1597, _size1594); - (*(this->success)).resize(_size1594); - uint32_t _i1598; - for (_i1598 = 0; _i1598 < _size1594; ++_i1598) + 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))[_i1598].read(iprot); + xfer += (*(this->success))[_i1567].read(iprot); } xfer += iprot->readListEnd(); } @@ -20103,14 +19773,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size1599; - ::apache::thrift::protocol::TType _etype1602; - xfer += iprot->readListBegin(_etype1602, _size1599); - this->names.resize(_size1599); - uint32_t _i1603; - for (_i1603 = 0; _i1603 < _size1599; ++_i1603) + uint32_t _size1568; + ::apache::thrift::protocol::TType _etype1571; + xfer += iprot->readListBegin(_etype1571, _size1568); + this->names.resize(_size1568); + uint32_t _i1572; + for (_i1572 = 0; _i1572 < _size1568; ++_i1572) { - xfer += iprot->readString(this->names[_i1603]); + xfer += iprot->readString(this->names[_i1572]); } xfer += iprot->readListEnd(); } @@ -20147,10 +19817,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 _iter1604; - for (_iter1604 = this->names.begin(); _iter1604 != this->names.end(); ++_iter1604) + std::vector ::const_iterator _iter1573; + for (_iter1573 = this->names.begin(); _iter1573 != this->names.end(); ++_iter1573) { - xfer += oprot->writeString((*_iter1604)); + xfer += oprot->writeString((*_iter1573)); } xfer += oprot->writeListEnd(); } @@ -20182,10 +19852,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 _iter1605; - for (_iter1605 = (*(this->names)).begin(); _iter1605 != (*(this->names)).end(); ++_iter1605) + std::vector ::const_iterator _iter1574; + for (_iter1574 = (*(this->names)).begin(); _iter1574 != (*(this->names)).end(); ++_iter1574) { - xfer += oprot->writeString((*_iter1605)); + xfer += oprot->writeString((*_iter1574)); } xfer += oprot->writeListEnd(); } @@ -20226,14 +19896,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1606; - ::apache::thrift::protocol::TType _etype1609; - xfer += iprot->readListBegin(_etype1609, _size1606); - this->success.resize(_size1606); - uint32_t _i1610; - for (_i1610 = 0; _i1610 < _size1606; ++_i1610) + uint32_t _size1575; + ::apache::thrift::protocol::TType _etype1578; + xfer += iprot->readListBegin(_etype1578, _size1575); + this->success.resize(_size1575); + uint32_t _i1579; + for (_i1579 = 0; _i1579 < _size1575; ++_i1579) { - xfer += this->success[_i1610].read(iprot); + xfer += this->success[_i1579].read(iprot); } xfer += iprot->readListEnd(); } @@ -20280,10 +19950,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 _iter1611; - for (_iter1611 = this->success.begin(); _iter1611 != this->success.end(); ++_iter1611) + std::vector ::const_iterator _iter1580; + for (_iter1580 = this->success.begin(); _iter1580 != this->success.end(); ++_iter1580) { - xfer += (*_iter1611).write(oprot); + xfer += (*_iter1580).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20332,14 +20002,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1612; - ::apache::thrift::protocol::TType _etype1615; - xfer += iprot->readListBegin(_etype1615, _size1612); - (*(this->success)).resize(_size1612); - uint32_t _i1616; - for (_i1616 = 0; _i1616 < _size1612; ++_i1616) + uint32_t _size1581; + ::apache::thrift::protocol::TType _etype1584; + xfer += iprot->readListBegin(_etype1584, _size1581); + (*(this->success)).resize(_size1581); + uint32_t _i1585; + for (_i1585 = 0; _i1585 < _size1581; ++_i1585) { - xfer += (*(this->success))[_i1616].read(iprot); + xfer += (*(this->success))[_i1585].read(iprot); } xfer += iprot->readListEnd(); } @@ -20661,14 +20331,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1617; - ::apache::thrift::protocol::TType _etype1620; - xfer += iprot->readListBegin(_etype1620, _size1617); - this->new_parts.resize(_size1617); - uint32_t _i1621; - for (_i1621 = 0; _i1621 < _size1617; ++_i1621) + uint32_t _size1586; + ::apache::thrift::protocol::TType _etype1589; + xfer += iprot->readListBegin(_etype1589, _size1586); + this->new_parts.resize(_size1586); + uint32_t _i1590; + for (_i1590 = 0; _i1590 < _size1586; ++_i1590) { - xfer += this->new_parts[_i1621].read(iprot); + xfer += this->new_parts[_i1590].read(iprot); } xfer += iprot->readListEnd(); } @@ -20705,10 +20375,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 _iter1622; - for (_iter1622 = this->new_parts.begin(); _iter1622 != this->new_parts.end(); ++_iter1622) + std::vector ::const_iterator _iter1591; + for (_iter1591 = this->new_parts.begin(); _iter1591 != this->new_parts.end(); ++_iter1591) { - xfer += (*_iter1622).write(oprot); + xfer += (*_iter1591).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20740,10 +20410,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 _iter1623; - for (_iter1623 = (*(this->new_parts)).begin(); _iter1623 != (*(this->new_parts)).end(); ++_iter1623) + std::vector ::const_iterator _iter1592; + for (_iter1592 = (*(this->new_parts)).begin(); _iter1592 != (*(this->new_parts)).end(); ++_iter1592) { - xfer += (*_iter1623).write(oprot); + xfer += (*_iter1592).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20928,14 +20598,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1624; - ::apache::thrift::protocol::TType _etype1627; - xfer += iprot->readListBegin(_etype1627, _size1624); - this->new_parts.resize(_size1624); - uint32_t _i1628; - for (_i1628 = 0; _i1628 < _size1624; ++_i1628) + uint32_t _size1593; + ::apache::thrift::protocol::TType _etype1596; + xfer += iprot->readListBegin(_etype1596, _size1593); + this->new_parts.resize(_size1593); + uint32_t _i1597; + for (_i1597 = 0; _i1597 < _size1593; ++_i1597) { - xfer += this->new_parts[_i1628].read(iprot); + xfer += this->new_parts[_i1597].read(iprot); } xfer += iprot->readListEnd(); } @@ -20980,10 +20650,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 _iter1629; - for (_iter1629 = this->new_parts.begin(); _iter1629 != this->new_parts.end(); ++_iter1629) + std::vector ::const_iterator _iter1598; + for (_iter1598 = this->new_parts.begin(); _iter1598 != this->new_parts.end(); ++_iter1598) { - xfer += (*_iter1629).write(oprot); + xfer += (*_iter1598).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21019,10 +20689,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 _iter1630; - for (_iter1630 = (*(this->new_parts)).begin(); _iter1630 != (*(this->new_parts)).end(); ++_iter1630) + std::vector ::const_iterator _iter1599; + for (_iter1599 = (*(this->new_parts)).begin(); _iter1599 != (*(this->new_parts)).end(); ++_iter1599) { - xfer += (*_iter1630).write(oprot); + xfer += (*_iter1599).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21466,14 +21136,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1631; - ::apache::thrift::protocol::TType _etype1634; - xfer += iprot->readListBegin(_etype1634, _size1631); - this->part_vals.resize(_size1631); - uint32_t _i1635; - for (_i1635 = 0; _i1635 < _size1631; ++_i1635) + uint32_t _size1600; + ::apache::thrift::protocol::TType _etype1603; + xfer += iprot->readListBegin(_etype1603, _size1600); + this->part_vals.resize(_size1600); + uint32_t _i1604; + for (_i1604 = 0; _i1604 < _size1600; ++_i1604) { - xfer += iprot->readString(this->part_vals[_i1635]); + xfer += iprot->readString(this->part_vals[_i1604]); } xfer += iprot->readListEnd(); } @@ -21518,10 +21188,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 _iter1636; - for (_iter1636 = this->part_vals.begin(); _iter1636 != this->part_vals.end(); ++_iter1636) + std::vector ::const_iterator _iter1605; + for (_iter1605 = this->part_vals.begin(); _iter1605 != this->part_vals.end(); ++_iter1605) { - xfer += oprot->writeString((*_iter1636)); + xfer += oprot->writeString((*_iter1605)); } xfer += oprot->writeListEnd(); } @@ -21557,10 +21227,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 _iter1637; - for (_iter1637 = (*(this->part_vals)).begin(); _iter1637 != (*(this->part_vals)).end(); ++_iter1637) + std::vector ::const_iterator _iter1606; + for (_iter1606 = (*(this->part_vals)).begin(); _iter1606 != (*(this->part_vals)).end(); ++_iter1606) { - xfer += oprot->writeString((*_iter1637)); + xfer += oprot->writeString((*_iter1606)); } xfer += oprot->writeListEnd(); } @@ -21733,14 +21403,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 _size1638; - ::apache::thrift::protocol::TType _etype1641; - xfer += iprot->readListBegin(_etype1641, _size1638); - this->part_vals.resize(_size1638); - uint32_t _i1642; - for (_i1642 = 0; _i1642 < _size1638; ++_i1642) + uint32_t _size1607; + ::apache::thrift::protocol::TType _etype1610; + xfer += iprot->readListBegin(_etype1610, _size1607); + this->part_vals.resize(_size1607); + uint32_t _i1611; + for (_i1611 = 0; _i1611 < _size1607; ++_i1611) { - xfer += iprot->readString(this->part_vals[_i1642]); + xfer += iprot->readString(this->part_vals[_i1611]); } xfer += iprot->readListEnd(); } @@ -21777,10 +21447,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 _iter1643; - for (_iter1643 = this->part_vals.begin(); _iter1643 != this->part_vals.end(); ++_iter1643) + std::vector ::const_iterator _iter1612; + for (_iter1612 = this->part_vals.begin(); _iter1612 != this->part_vals.end(); ++_iter1612) { - xfer += oprot->writeString((*_iter1643)); + xfer += oprot->writeString((*_iter1612)); } xfer += oprot->writeListEnd(); } @@ -21808,10 +21478,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 _iter1644; - for (_iter1644 = (*(this->part_vals)).begin(); _iter1644 != (*(this->part_vals)).end(); ++_iter1644) + std::vector ::const_iterator _iter1613; + for (_iter1613 = (*(this->part_vals)).begin(); _iter1613 != (*(this->part_vals)).end(); ++_iter1613) { - xfer += oprot->writeString((*_iter1644)); + xfer += oprot->writeString((*_iter1613)); } xfer += oprot->writeListEnd(); } @@ -22286,14 +21956,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1645; - ::apache::thrift::protocol::TType _etype1648; - xfer += iprot->readListBegin(_etype1648, _size1645); - this->success.resize(_size1645); - uint32_t _i1649; - for (_i1649 = 0; _i1649 < _size1645; ++_i1649) + uint32_t _size1614; + ::apache::thrift::protocol::TType _etype1617; + xfer += iprot->readListBegin(_etype1617, _size1614); + this->success.resize(_size1614); + uint32_t _i1618; + for (_i1618 = 0; _i1618 < _size1614; ++_i1618) { - xfer += iprot->readString(this->success[_i1649]); + xfer += iprot->readString(this->success[_i1618]); } xfer += iprot->readListEnd(); } @@ -22332,10 +22002,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 _iter1650; - for (_iter1650 = this->success.begin(); _iter1650 != this->success.end(); ++_iter1650) + std::vector ::const_iterator _iter1619; + for (_iter1619 = this->success.begin(); _iter1619 != this->success.end(); ++_iter1619) { - xfer += oprot->writeString((*_iter1650)); + xfer += oprot->writeString((*_iter1619)); } xfer += oprot->writeListEnd(); } @@ -22380,14 +22050,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1651; - ::apache::thrift::protocol::TType _etype1654; - xfer += iprot->readListBegin(_etype1654, _size1651); - (*(this->success)).resize(_size1651); - uint32_t _i1655; - for (_i1655 = 0; _i1655 < _size1651; ++_i1655) + uint32_t _size1620; + ::apache::thrift::protocol::TType _etype1623; + xfer += iprot->readListBegin(_etype1623, _size1620); + (*(this->success)).resize(_size1620); + uint32_t _i1624; + for (_i1624 = 0; _i1624 < _size1620; ++_i1624) { - xfer += iprot->readString((*(this->success))[_i1655]); + xfer += iprot->readString((*(this->success))[_i1624]); } xfer += iprot->readListEnd(); } @@ -22525,17 +22195,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1656; - ::apache::thrift::protocol::TType _ktype1657; - ::apache::thrift::protocol::TType _vtype1658; - xfer += iprot->readMapBegin(_ktype1657, _vtype1658, _size1656); - uint32_t _i1660; - for (_i1660 = 0; _i1660 < _size1656; ++_i1660) + uint32_t _size1625; + ::apache::thrift::protocol::TType _ktype1626; + ::apache::thrift::protocol::TType _vtype1627; + xfer += iprot->readMapBegin(_ktype1626, _vtype1627, _size1625); + uint32_t _i1629; + for (_i1629 = 0; _i1629 < _size1625; ++_i1629) { - std::string _key1661; - xfer += iprot->readString(_key1661); - std::string& _val1662 = this->success[_key1661]; - xfer += iprot->readString(_val1662); + std::string _key1630; + xfer += iprot->readString(_key1630); + std::string& _val1631 = this->success[_key1630]; + xfer += iprot->readString(_val1631); } xfer += iprot->readMapEnd(); } @@ -22574,11 +22244,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 _iter1663; - for (_iter1663 = this->success.begin(); _iter1663 != this->success.end(); ++_iter1663) + std::map ::const_iterator _iter1632; + for (_iter1632 = this->success.begin(); _iter1632 != this->success.end(); ++_iter1632) { - xfer += oprot->writeString(_iter1663->first); - xfer += oprot->writeString(_iter1663->second); + xfer += oprot->writeString(_iter1632->first); + xfer += oprot->writeString(_iter1632->second); } xfer += oprot->writeMapEnd(); } @@ -22623,17 +22293,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1664; - ::apache::thrift::protocol::TType _ktype1665; - ::apache::thrift::protocol::TType _vtype1666; - xfer += iprot->readMapBegin(_ktype1665, _vtype1666, _size1664); - uint32_t _i1668; - for (_i1668 = 0; _i1668 < _size1664; ++_i1668) + uint32_t _size1633; + ::apache::thrift::protocol::TType _ktype1634; + ::apache::thrift::protocol::TType _vtype1635; + xfer += iprot->readMapBegin(_ktype1634, _vtype1635, _size1633); + uint32_t _i1637; + for (_i1637 = 0; _i1637 < _size1633; ++_i1637) { - std::string _key1669; - xfer += iprot->readString(_key1669); - std::string& _val1670 = (*(this->success))[_key1669]; - xfer += iprot->readString(_val1670); + std::string _key1638; + xfer += iprot->readString(_key1638); + std::string& _val1639 = (*(this->success))[_key1638]; + xfer += iprot->readString(_val1639); } xfer += iprot->readMapEnd(); } @@ -22708,17 +22378,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1671; - ::apache::thrift::protocol::TType _ktype1672; - ::apache::thrift::protocol::TType _vtype1673; - xfer += iprot->readMapBegin(_ktype1672, _vtype1673, _size1671); - uint32_t _i1675; - for (_i1675 = 0; _i1675 < _size1671; ++_i1675) + uint32_t _size1640; + ::apache::thrift::protocol::TType _ktype1641; + ::apache::thrift::protocol::TType _vtype1642; + xfer += iprot->readMapBegin(_ktype1641, _vtype1642, _size1640); + uint32_t _i1644; + for (_i1644 = 0; _i1644 < _size1640; ++_i1644) { - std::string _key1676; - xfer += iprot->readString(_key1676); - std::string& _val1677 = this->part_vals[_key1676]; - xfer += iprot->readString(_val1677); + std::string _key1645; + xfer += iprot->readString(_key1645); + std::string& _val1646 = this->part_vals[_key1645]; + xfer += iprot->readString(_val1646); } xfer += iprot->readMapEnd(); } @@ -22729,9 +22399,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1678; - xfer += iprot->readI32(ecast1678); - this->eventType = (PartitionEventType::type)ecast1678; + int32_t ecast1647; + xfer += iprot->readI32(ecast1647); + this->eventType = (PartitionEventType::type)ecast1647; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -22765,11 +22435,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 _iter1679; - for (_iter1679 = this->part_vals.begin(); _iter1679 != this->part_vals.end(); ++_iter1679) + std::map ::const_iterator _iter1648; + for (_iter1648 = this->part_vals.begin(); _iter1648 != this->part_vals.end(); ++_iter1648) { - xfer += oprot->writeString(_iter1679->first); - xfer += oprot->writeString(_iter1679->second); + xfer += oprot->writeString(_iter1648->first); + xfer += oprot->writeString(_iter1648->second); } xfer += oprot->writeMapEnd(); } @@ -22805,11 +22475,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 _iter1680; - for (_iter1680 = (*(this->part_vals)).begin(); _iter1680 != (*(this->part_vals)).end(); ++_iter1680) + std::map ::const_iterator _iter1649; + for (_iter1649 = (*(this->part_vals)).begin(); _iter1649 != (*(this->part_vals)).end(); ++_iter1649) { - xfer += oprot->writeString(_iter1680->first); - xfer += oprot->writeString(_iter1680->second); + xfer += oprot->writeString(_iter1649->first); + xfer += oprot->writeString(_iter1649->second); } xfer += oprot->writeMapEnd(); } @@ -23078,17 +22748,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1681; - ::apache::thrift::protocol::TType _ktype1682; - ::apache::thrift::protocol::TType _vtype1683; - xfer += iprot->readMapBegin(_ktype1682, _vtype1683, _size1681); - uint32_t _i1685; - for (_i1685 = 0; _i1685 < _size1681; ++_i1685) + uint32_t _size1650; + ::apache::thrift::protocol::TType _ktype1651; + ::apache::thrift::protocol::TType _vtype1652; + xfer += iprot->readMapBegin(_ktype1651, _vtype1652, _size1650); + uint32_t _i1654; + for (_i1654 = 0; _i1654 < _size1650; ++_i1654) { - std::string _key1686; - xfer += iprot->readString(_key1686); - std::string& _val1687 = this->part_vals[_key1686]; - xfer += iprot->readString(_val1687); + std::string _key1655; + xfer += iprot->readString(_key1655); + std::string& _val1656 = this->part_vals[_key1655]; + xfer += iprot->readString(_val1656); } xfer += iprot->readMapEnd(); } @@ -23099,9 +22769,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1688; - xfer += iprot->readI32(ecast1688); - this->eventType = (PartitionEventType::type)ecast1688; + int32_t ecast1657; + xfer += iprot->readI32(ecast1657); + this->eventType = (PartitionEventType::type)ecast1657; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -23135,11 +22805,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 _iter1689; - for (_iter1689 = this->part_vals.begin(); _iter1689 != this->part_vals.end(); ++_iter1689) + std::map ::const_iterator _iter1658; + for (_iter1658 = this->part_vals.begin(); _iter1658 != this->part_vals.end(); ++_iter1658) { - xfer += oprot->writeString(_iter1689->first); - xfer += oprot->writeString(_iter1689->second); + xfer += oprot->writeString(_iter1658->first); + xfer += oprot->writeString(_iter1658->second); } xfer += oprot->writeMapEnd(); } @@ -23175,11 +22845,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 _iter1690; - for (_iter1690 = (*(this->part_vals)).begin(); _iter1690 != (*(this->part_vals)).end(); ++_iter1690) + std::map ::const_iterator _iter1659; + for (_iter1659 = (*(this->part_vals)).begin(); _iter1659 != (*(this->part_vals)).end(); ++_iter1659) { - xfer += oprot->writeString(_iter1690->first); - xfer += oprot->writeString(_iter1690->second); + xfer += oprot->writeString(_iter1659->first); + xfer += oprot->writeString(_iter1659->second); } xfer += oprot->writeMapEnd(); } @@ -28101,14 +27771,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1691; - ::apache::thrift::protocol::TType _etype1694; - xfer += iprot->readListBegin(_etype1694, _size1691); - this->success.resize(_size1691); - uint32_t _i1695; - for (_i1695 = 0; _i1695 < _size1691; ++_i1695) + uint32_t _size1660; + ::apache::thrift::protocol::TType _etype1663; + xfer += iprot->readListBegin(_etype1663, _size1660); + this->success.resize(_size1660); + uint32_t _i1664; + for (_i1664 = 0; _i1664 < _size1660; ++_i1664) { - xfer += iprot->readString(this->success[_i1695]); + xfer += iprot->readString(this->success[_i1664]); } xfer += iprot->readListEnd(); } @@ -28147,10 +27817,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 _iter1696; - for (_iter1696 = this->success.begin(); _iter1696 != this->success.end(); ++_iter1696) + std::vector ::const_iterator _iter1665; + for (_iter1665 = this->success.begin(); _iter1665 != this->success.end(); ++_iter1665) { - xfer += oprot->writeString((*_iter1696)); + xfer += oprot->writeString((*_iter1665)); } xfer += oprot->writeListEnd(); } @@ -28195,14 +27865,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1697; - ::apache::thrift::protocol::TType _etype1700; - xfer += iprot->readListBegin(_etype1700, _size1697); - (*(this->success)).resize(_size1697); - uint32_t _i1701; - for (_i1701 = 0; _i1701 < _size1697; ++_i1701) + uint32_t _size1666; + ::apache::thrift::protocol::TType _etype1669; + xfer += iprot->readListBegin(_etype1669, _size1666); + (*(this->success)).resize(_size1666); + uint32_t _i1670; + for (_i1670 = 0; _i1670 < _size1666; ++_i1670) { - xfer += iprot->readString((*(this->success))[_i1701]); + xfer += iprot->readString((*(this->success))[_i1670]); } xfer += iprot->readListEnd(); } @@ -29162,14 +28832,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1702; - ::apache::thrift::protocol::TType _etype1705; - xfer += iprot->readListBegin(_etype1705, _size1702); - this->success.resize(_size1702); - uint32_t _i1706; - for (_i1706 = 0; _i1706 < _size1702; ++_i1706) + uint32_t _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 += iprot->readString(this->success[_i1706]); + xfer += iprot->readString(this->success[_i1675]); } xfer += iprot->readListEnd(); } @@ -29208,10 +28878,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 _iter1707; - for (_iter1707 = this->success.begin(); _iter1707 != this->success.end(); ++_iter1707) + std::vector ::const_iterator _iter1676; + for (_iter1676 = this->success.begin(); _iter1676 != this->success.end(); ++_iter1676) { - xfer += oprot->writeString((*_iter1707)); + xfer += oprot->writeString((*_iter1676)); } xfer += oprot->writeListEnd(); } @@ -29256,14 +28926,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1708; - ::apache::thrift::protocol::TType _etype1711; - xfer += iprot->readListBegin(_etype1711, _size1708); - (*(this->success)).resize(_size1708); - uint32_t _i1712; - for (_i1712 = 0; _i1712 < _size1708; ++_i1712) + 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 += iprot->readString((*(this->success))[_i1712]); + xfer += iprot->readString((*(this->success))[_i1681]); } xfer += iprot->readListEnd(); } @@ -29336,9 +29006,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1713; - xfer += iprot->readI32(ecast1713); - this->principal_type = (PrincipalType::type)ecast1713; + int32_t ecast1682; + xfer += iprot->readI32(ecast1682); + this->principal_type = (PrincipalType::type)ecast1682; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -29354,9 +29024,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1714; - xfer += iprot->readI32(ecast1714); - this->grantorType = (PrincipalType::type)ecast1714; + int32_t ecast1683; + xfer += iprot->readI32(ecast1683); + this->grantorType = (PrincipalType::type)ecast1683; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -29627,9 +29297,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1715; - xfer += iprot->readI32(ecast1715); - this->principal_type = (PrincipalType::type)ecast1715; + int32_t ecast1684; + xfer += iprot->readI32(ecast1684); + this->principal_type = (PrincipalType::type)ecast1684; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -29860,9 +29530,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1716; - xfer += iprot->readI32(ecast1716); - this->principal_type = (PrincipalType::type)ecast1716; + int32_t ecast1685; + xfer += iprot->readI32(ecast1685); + this->principal_type = (PrincipalType::type)ecast1685; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -29951,14 +29621,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1717; - ::apache::thrift::protocol::TType _etype1720; - xfer += iprot->readListBegin(_etype1720, _size1717); - this->success.resize(_size1717); - uint32_t _i1721; - for (_i1721 = 0; _i1721 < _size1717; ++_i1721) + uint32_t _size1686; + ::apache::thrift::protocol::TType _etype1689; + xfer += iprot->readListBegin(_etype1689, _size1686); + this->success.resize(_size1686); + uint32_t _i1690; + for (_i1690 = 0; _i1690 < _size1686; ++_i1690) { - xfer += this->success[_i1721].read(iprot); + xfer += this->success[_i1690].read(iprot); } xfer += iprot->readListEnd(); } @@ -29997,10 +29667,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 _iter1722; - for (_iter1722 = this->success.begin(); _iter1722 != this->success.end(); ++_iter1722) + std::vector ::const_iterator _iter1691; + for (_iter1691 = this->success.begin(); _iter1691 != this->success.end(); ++_iter1691) { - xfer += (*_iter1722).write(oprot); + xfer += (*_iter1691).write(oprot); } xfer += oprot->writeListEnd(); } @@ -30045,14 +29715,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1723; - ::apache::thrift::protocol::TType _etype1726; - xfer += iprot->readListBegin(_etype1726, _size1723); - (*(this->success)).resize(_size1723); - uint32_t _i1727; - for (_i1727 = 0; _i1727 < _size1723; ++_i1727) + uint32_t _size1692; + ::apache::thrift::protocol::TType _etype1695; + xfer += iprot->readListBegin(_etype1695, _size1692); + (*(this->success)).resize(_size1692); + uint32_t _i1696; + for (_i1696 = 0; _i1696 < _size1692; ++_i1696) { - xfer += (*(this->success))[_i1727].read(iprot); + xfer += (*(this->success))[_i1696].read(iprot); } xfer += iprot->readListEnd(); } @@ -30748,14 +30418,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 _size1728; - ::apache::thrift::protocol::TType _etype1731; - xfer += iprot->readListBegin(_etype1731, _size1728); - this->group_names.resize(_size1728); - uint32_t _i1732; - for (_i1732 = 0; _i1732 < _size1728; ++_i1732) + uint32_t _size1697; + ::apache::thrift::protocol::TType _etype1700; + xfer += iprot->readListBegin(_etype1700, _size1697); + this->group_names.resize(_size1697); + uint32_t _i1701; + for (_i1701 = 0; _i1701 < _size1697; ++_i1701) { - xfer += iprot->readString(this->group_names[_i1732]); + xfer += iprot->readString(this->group_names[_i1701]); } xfer += iprot->readListEnd(); } @@ -30792,10 +30462,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 _iter1733; - for (_iter1733 = this->group_names.begin(); _iter1733 != this->group_names.end(); ++_iter1733) + std::vector ::const_iterator _iter1702; + for (_iter1702 = this->group_names.begin(); _iter1702 != this->group_names.end(); ++_iter1702) { - xfer += oprot->writeString((*_iter1733)); + xfer += oprot->writeString((*_iter1702)); } xfer += oprot->writeListEnd(); } @@ -30827,10 +30497,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 _iter1734; - for (_iter1734 = (*(this->group_names)).begin(); _iter1734 != (*(this->group_names)).end(); ++_iter1734) + std::vector ::const_iterator _iter1703; + for (_iter1703 = (*(this->group_names)).begin(); _iter1703 != (*(this->group_names)).end(); ++_iter1703) { - xfer += oprot->writeString((*_iter1734)); + xfer += oprot->writeString((*_iter1703)); } xfer += oprot->writeListEnd(); } @@ -31005,9 +30675,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1735; - xfer += iprot->readI32(ecast1735); - this->principal_type = (PrincipalType::type)ecast1735; + int32_t ecast1704; + xfer += iprot->readI32(ecast1704); + this->principal_type = (PrincipalType::type)ecast1704; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -31112,14 +30782,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1736; - ::apache::thrift::protocol::TType _etype1739; - xfer += iprot->readListBegin(_etype1739, _size1736); - this->success.resize(_size1736); - uint32_t _i1740; - for (_i1740 = 0; _i1740 < _size1736; ++_i1740) + uint32_t _size1705; + ::apache::thrift::protocol::TType _etype1708; + xfer += iprot->readListBegin(_etype1708, _size1705); + this->success.resize(_size1705); + uint32_t _i1709; + for (_i1709 = 0; _i1709 < _size1705; ++_i1709) { - xfer += this->success[_i1740].read(iprot); + xfer += this->success[_i1709].read(iprot); } xfer += iprot->readListEnd(); } @@ -31158,10 +30828,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 _iter1741; - for (_iter1741 = this->success.begin(); _iter1741 != this->success.end(); ++_iter1741) + std::vector ::const_iterator _iter1710; + for (_iter1710 = this->success.begin(); _iter1710 != this->success.end(); ++_iter1710) { - xfer += (*_iter1741).write(oprot); + xfer += (*_iter1710).write(oprot); } xfer += oprot->writeListEnd(); } @@ -31206,14 +30876,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1742; - ::apache::thrift::protocol::TType _etype1745; - xfer += iprot->readListBegin(_etype1745, _size1742); - (*(this->success)).resize(_size1742); - uint32_t _i1746; - for (_i1746 = 0; _i1746 < _size1742; ++_i1746) + uint32_t _size1711; + ::apache::thrift::protocol::TType _etype1714; + xfer += iprot->readListBegin(_etype1714, _size1711); + (*(this->success)).resize(_size1711); + uint32_t _i1715; + for (_i1715 = 0; _i1715 < _size1711; ++_i1715) { - xfer += (*(this->success))[_i1746].read(iprot); + xfer += (*(this->success))[_i1715].read(iprot); } xfer += iprot->readListEnd(); } @@ -31901,14 +31571,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 _size1747; - ::apache::thrift::protocol::TType _etype1750; - xfer += iprot->readListBegin(_etype1750, _size1747); - this->group_names.resize(_size1747); - uint32_t _i1751; - for (_i1751 = 0; _i1751 < _size1747; ++_i1751) + uint32_t _size1716; + ::apache::thrift::protocol::TType _etype1719; + xfer += iprot->readListBegin(_etype1719, _size1716); + this->group_names.resize(_size1716); + uint32_t _i1720; + for (_i1720 = 0; _i1720 < _size1716; ++_i1720) { - xfer += iprot->readString(this->group_names[_i1751]); + xfer += iprot->readString(this->group_names[_i1720]); } xfer += iprot->readListEnd(); } @@ -31941,10 +31611,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 _iter1752; - for (_iter1752 = this->group_names.begin(); _iter1752 != this->group_names.end(); ++_iter1752) + std::vector ::const_iterator _iter1721; + for (_iter1721 = this->group_names.begin(); _iter1721 != this->group_names.end(); ++_iter1721) { - xfer += oprot->writeString((*_iter1752)); + xfer += oprot->writeString((*_iter1721)); } xfer += oprot->writeListEnd(); } @@ -31972,10 +31642,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 _iter1753; - for (_iter1753 = (*(this->group_names)).begin(); _iter1753 != (*(this->group_names)).end(); ++_iter1753) + std::vector ::const_iterator _iter1722; + for (_iter1722 = (*(this->group_names)).begin(); _iter1722 != (*(this->group_names)).end(); ++_iter1722) { - xfer += oprot->writeString((*_iter1753)); + xfer += oprot->writeString((*_iter1722)); } xfer += oprot->writeListEnd(); } @@ -32016,14 +31686,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1754; - ::apache::thrift::protocol::TType _etype1757; - xfer += iprot->readListBegin(_etype1757, _size1754); - this->success.resize(_size1754); - uint32_t _i1758; - for (_i1758 = 0; _i1758 < _size1754; ++_i1758) + uint32_t _size1723; + ::apache::thrift::protocol::TType _etype1726; + xfer += iprot->readListBegin(_etype1726, _size1723); + this->success.resize(_size1723); + uint32_t _i1727; + for (_i1727 = 0; _i1727 < _size1723; ++_i1727) { - xfer += iprot->readString(this->success[_i1758]); + xfer += iprot->readString(this->success[_i1727]); } xfer += iprot->readListEnd(); } @@ -32062,10 +31732,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 _iter1759; - for (_iter1759 = this->success.begin(); _iter1759 != this->success.end(); ++_iter1759) + std::vector ::const_iterator _iter1728; + for (_iter1728 = this->success.begin(); _iter1728 != this->success.end(); ++_iter1728) { - xfer += oprot->writeString((*_iter1759)); + xfer += oprot->writeString((*_iter1728)); } xfer += oprot->writeListEnd(); } @@ -32110,14 +31780,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1760; - ::apache::thrift::protocol::TType _etype1763; - xfer += iprot->readListBegin(_etype1763, _size1760); - (*(this->success)).resize(_size1760); - uint32_t _i1764; - for (_i1764 = 0; _i1764 < _size1760; ++_i1764) + uint32_t _size1729; + ::apache::thrift::protocol::TType _etype1732; + xfer += iprot->readListBegin(_etype1732, _size1729); + (*(this->success)).resize(_size1729); + uint32_t _i1733; + for (_i1733 = 0; _i1733 < _size1729; ++_i1733) { - xfer += iprot->readString((*(this->success))[_i1764]); + xfer += iprot->readString((*(this->success))[_i1733]); } xfer += iprot->readListEnd(); } @@ -33428,14 +33098,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1765; - ::apache::thrift::protocol::TType _etype1768; - xfer += iprot->readListBegin(_etype1768, _size1765); - this->success.resize(_size1765); - uint32_t _i1769; - for (_i1769 = 0; _i1769 < _size1765; ++_i1769) + uint32_t _size1734; + ::apache::thrift::protocol::TType _etype1737; + xfer += iprot->readListBegin(_etype1737, _size1734); + this->success.resize(_size1734); + uint32_t _i1738; + for (_i1738 = 0; _i1738 < _size1734; ++_i1738) { - xfer += iprot->readString(this->success[_i1769]); + xfer += iprot->readString(this->success[_i1738]); } xfer += iprot->readListEnd(); } @@ -33466,10 +33136,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 _iter1770; - for (_iter1770 = this->success.begin(); _iter1770 != this->success.end(); ++_iter1770) + std::vector ::const_iterator _iter1739; + for (_iter1739 = this->success.begin(); _iter1739 != this->success.end(); ++_iter1739) { - xfer += oprot->writeString((*_iter1770)); + xfer += oprot->writeString((*_iter1739)); } xfer += oprot->writeListEnd(); } @@ -33510,14 +33180,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1771; - ::apache::thrift::protocol::TType _etype1774; - xfer += iprot->readListBegin(_etype1774, _size1771); - (*(this->success)).resize(_size1771); - uint32_t _i1775; - for (_i1775 = 0; _i1775 < _size1771; ++_i1775) + uint32_t _size1740; + ::apache::thrift::protocol::TType _etype1743; + xfer += iprot->readListBegin(_etype1743, _size1740); + (*(this->success)).resize(_size1740); + uint32_t _i1744; + for (_i1744 = 0; _i1744 < _size1740; ++_i1744) { - xfer += iprot->readString((*(this->success))[_i1775]); + xfer += iprot->readString((*(this->success))[_i1744]); } xfer += iprot->readListEnd(); } @@ -34243,14 +33913,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1776; - ::apache::thrift::protocol::TType _etype1779; - xfer += iprot->readListBegin(_etype1779, _size1776); - this->success.resize(_size1776); - uint32_t _i1780; - for (_i1780 = 0; _i1780 < _size1776; ++_i1780) + uint32_t _size1745; + ::apache::thrift::protocol::TType _etype1748; + xfer += iprot->readListBegin(_etype1748, _size1745); + this->success.resize(_size1745); + uint32_t _i1749; + for (_i1749 = 0; _i1749 < _size1745; ++_i1749) { - xfer += iprot->readString(this->success[_i1780]); + xfer += iprot->readString(this->success[_i1749]); } xfer += iprot->readListEnd(); } @@ -34281,10 +33951,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 _iter1781; - for (_iter1781 = this->success.begin(); _iter1781 != this->success.end(); ++_iter1781) + std::vector ::const_iterator _iter1750; + for (_iter1750 = this->success.begin(); _iter1750 != this->success.end(); ++_iter1750) { - xfer += oprot->writeString((*_iter1781)); + xfer += oprot->writeString((*_iter1750)); } xfer += oprot->writeListEnd(); } @@ -34325,14 +33995,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1782; - ::apache::thrift::protocol::TType _etype1785; - xfer += iprot->readListBegin(_etype1785, _size1782); - (*(this->success)).resize(_size1782); - uint32_t _i1786; - for (_i1786 = 0; _i1786 < _size1782; ++_i1786) + uint32_t _size1751; + ::apache::thrift::protocol::TType _etype1754; + xfer += iprot->readListBegin(_etype1754, _size1751); + (*(this->success)).resize(_size1751); + uint32_t _i1755; + for (_i1755 = 0; _i1755 < _size1751; ++_i1755) { - xfer += iprot->readString((*(this->success))[_i1786]); + xfer += iprot->readString((*(this->success))[_i1755]); } xfer += iprot->readListEnd(); } @@ -44408,7 +44078,7 @@ uint32_t ThriftHiveMetastore_create_ischema_result::read(::apache::thrift::proto xfer += iprot->skip(ftype); } break; - case -1: + case 2: if (ftype == ::apache::thrift::protocol::T_STRUCT) { xfer += this->o2.read(iprot); this->__isset.o2 = true; @@ -44442,14 +44112,14 @@ uint32_t ThriftHiveMetastore_create_ischema_result::write(::apache::thrift::prot xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_ischema_result"); - if (this->__isset.o2) { - xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, -1); - xfer += this->o2.write(oprot); - xfer += oprot->writeFieldEnd(); - } else if (this->__isset.o1) { + if (this->__isset.o1) { xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->o1.write(oprot); xfer += oprot->writeFieldEnd(); + } else if (this->__isset.o2) { + xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->o2.write(oprot); + xfer += oprot->writeFieldEnd(); } else if (this->__isset.o3) { xfer += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 3); xfer += this->o3.write(oprot); @@ -44494,7 +44164,7 @@ uint32_t ThriftHiveMetastore_create_ischema_presult::read(::apache::thrift::prot xfer += iprot->skip(ftype); } break; - case -1: + case 2: if (ftype == ::apache::thrift::protocol::T_STRUCT) { xfer += this->o2.read(iprot); this->__isset.o2 = true; @@ -45973,14 +45643,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1787; - ::apache::thrift::protocol::TType _etype1790; - xfer += iprot->readListBegin(_etype1790, _size1787); - this->success.resize(_size1787); - uint32_t _i1791; - for (_i1791 = 0; _i1791 < _size1787; ++_i1791) + uint32_t _size1756; + ::apache::thrift::protocol::TType _etype1759; + xfer += iprot->readListBegin(_etype1759, _size1756); + this->success.resize(_size1756); + uint32_t _i1760; + for (_i1760 = 0; _i1760 < _size1756; ++_i1760) { - xfer += this->success[_i1791].read(iprot); + xfer += this->success[_i1760].read(iprot); } xfer += iprot->readListEnd(); } @@ -46027,10 +45697,10 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_result::write(::apache::thr xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1792; - for (_iter1792 = this->success.begin(); _iter1792 != this->success.end(); ++_iter1792) + std::vector ::const_iterator _iter1761; + for (_iter1761 = this->success.begin(); _iter1761 != this->success.end(); ++_iter1761) { - xfer += (*_iter1792).write(oprot); + xfer += (*_iter1761).write(oprot); } xfer += oprot->writeListEnd(); } @@ -46079,14 +45749,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1793; - ::apache::thrift::protocol::TType _etype1796; - xfer += iprot->readListBegin(_etype1796, _size1793); - (*(this->success)).resize(_size1793); - uint32_t _i1797; - for (_i1797 = 0; _i1797 < _size1793; ++_i1797) + uint32_t _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 += (*(this->success))[_i1797].read(iprot); + xfer += (*(this->success))[_i1766].read(iprot); } xfer += iprot->readListEnd(); } @@ -49725,74 +49395,6 @@ void ThriftHiveMetastoreClient::recv_get_table_objects_by_name_req(GetTablesResu throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_table_objects_by_name_req failed: unknown result"); } -void ThriftHiveMetastoreClient::get_materialization_invalidation_info(std::map & _return, const std::string& dbname, const std::vector & tbl_names) -{ - send_get_materialization_invalidation_info(dbname, tbl_names); - recv_get_materialization_invalidation_info(_return); -} - -void ThriftHiveMetastoreClient::send_get_materialization_invalidation_info(const std::string& dbname, const std::vector & tbl_names) -{ - int32_t cseqid = 0; - oprot_->writeMessageBegin("get_materialization_invalidation_info", ::apache::thrift::protocol::T_CALL, cseqid); - - ThriftHiveMetastore_get_materialization_invalidation_info_pargs args; - args.dbname = &dbname; - args.tbl_names = &tbl_names; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); -} - -void ThriftHiveMetastoreClient::recv_get_materialization_invalidation_info(std::map & _return) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - iprot_->readMessageBegin(fname, mtype, rseqid); - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("get_materialization_invalidation_info") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - ThriftHiveMetastore_get_materialization_invalidation_info_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - return; - } - if (result.__isset.o1) { - throw result.o1; - } - if (result.__isset.o2) { - throw result.o2; - } - if (result.__isset.o3) { - throw result.o3; - } - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_materialization_invalidation_info failed: unknown result"); -} - void ThriftHiveMetastoreClient::update_creation_metadata(const std::string& dbname, const std::string& tbl_name, const CreationMetadata& creation_metadata) { send_update_creation_metadata(dbname, tbl_name, creation_metadata); @@ -61915,69 +61517,6 @@ void ThriftHiveMetastoreProcessor::process_get_table_objects_by_name_req(int32_t } } -void ThriftHiveMetastoreProcessor::process_get_materialization_invalidation_info(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) -{ - void* ctx = NULL; - if (this->eventHandler_.get() != NULL) { - ctx = this->eventHandler_->getContext("ThriftHiveMetastore.get_materialization_invalidation_info", callContext); - } - ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "ThriftHiveMetastore.get_materialization_invalidation_info"); - - if (this->eventHandler_.get() != NULL) { - this->eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_materialization_invalidation_info"); - } - - ThriftHiveMetastore_get_materialization_invalidation_info_args args; - args.read(iprot); - iprot->readMessageEnd(); - uint32_t bytes = iprot->getTransport()->readEnd(); - - if (this->eventHandler_.get() != NULL) { - this->eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_materialization_invalidation_info", bytes); - } - - ThriftHiveMetastore_get_materialization_invalidation_info_result result; - try { - iface_->get_materialization_invalidation_info(result.success, args.dbname, args.tbl_names); - result.__isset.success = true; - } catch (MetaException &o1) { - result.o1 = o1; - result.__isset.o1 = true; - } catch (InvalidOperationException &o2) { - result.o2 = o2; - result.__isset.o2 = true; - } catch (UnknownDBException &o3) { - result.o3 = o3; - result.__isset.o3 = true; - } catch (const std::exception& e) { - if (this->eventHandler_.get() != NULL) { - this->eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_materialization_invalidation_info"); - } - - ::apache::thrift::TApplicationException x(e.what()); - oprot->writeMessageBegin("get_materialization_invalidation_info", ::apache::thrift::protocol::T_EXCEPTION, seqid); - x.write(oprot); - oprot->writeMessageEnd(); - oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - return; - } - - if (this->eventHandler_.get() != NULL) { - this->eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_materialization_invalidation_info"); - } - - oprot->writeMessageBegin("get_materialization_invalidation_info", ::apache::thrift::protocol::T_REPLY, seqid); - result.write(oprot); - oprot->writeMessageEnd(); - bytes = oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - - if (this->eventHandler_.get() != NULL) { - this->eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_materialization_invalidation_info", bytes); - } -} - void ThriftHiveMetastoreProcessor::process_update_creation_metadata(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) { void* ctx = NULL; @@ -74604,103 +74143,6 @@ void ThriftHiveMetastoreConcurrentClient::recv_get_table_objects_by_name_req(Get } // end while(true) } -void ThriftHiveMetastoreConcurrentClient::get_materialization_invalidation_info(std::map & _return, const std::string& dbname, const std::vector & tbl_names) -{ - int32_t seqid = send_get_materialization_invalidation_info(dbname, tbl_names); - recv_get_materialization_invalidation_info(_return, seqid); -} - -int32_t ThriftHiveMetastoreConcurrentClient::send_get_materialization_invalidation_info(const std::string& dbname, const std::vector & tbl_names) -{ - int32_t cseqid = this->sync_.generateSeqId(); - ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); - oprot_->writeMessageBegin("get_materialization_invalidation_info", ::apache::thrift::protocol::T_CALL, cseqid); - - ThriftHiveMetastore_get_materialization_invalidation_info_pargs args; - args.dbname = &dbname; - args.tbl_names = &tbl_names; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); - - sentry.commit(); - return cseqid; -} - -void ThriftHiveMetastoreConcurrentClient::recv_get_materialization_invalidation_info(std::map & _return, const int32_t seqid) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - // the read mutex gets dropped and reacquired as part of waitForWork() - // The destructor of this sentry wakes up other clients - ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid); - - while(true) { - if(!this->sync_.getPending(fname, mtype, rseqid)) { - iprot_->readMessageBegin(fname, mtype, rseqid); - } - if(seqid == rseqid) { - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - sentry.commit(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("get_materialization_invalidation_info") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - // in a bad state, don't commit - using ::apache::thrift::protocol::TProtocolException; - throw TProtocolException(TProtocolException::INVALID_DATA); - } - ThriftHiveMetastore_get_materialization_invalidation_info_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - sentry.commit(); - return; - } - if (result.__isset.o1) { - sentry.commit(); - throw result.o1; - } - if (result.__isset.o2) { - sentry.commit(); - throw result.o2; - } - if (result.__isset.o3) { - sentry.commit(); - throw result.o3; - } - // in a bad state, don't commit - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_materialization_invalidation_info failed: unknown result"); - } - // seqid != rseqid - this->sync_.updatePending(fname, mtype, rseqid); - - // this will temporarily unlock the readMutex, and let other clients get work done - this->sync_.waitForWork(seqid); - } // end while(true) -} - void ThriftHiveMetastoreConcurrentClient::update_creation_metadata(const std::string& dbname, const std::string& tbl_name, const CreationMetadata& creation_metadata) { int32_t seqid = send_update_creation_metadata(dbname, tbl_name, creation_metadata); diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h index 7206e296fd..26dc92fc43 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h +++ b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h @@ -59,7 +59,6 @@ class ThriftHiveMetastoreIf : virtual public ::facebook::fb303::FacebookService virtual void get_table_objects_by_name(std::vector
& _return, const std::string& dbname, const std::vector & tbl_names) = 0; virtual void get_table_req(GetTableResult& _return, const GetTableRequest& req) = 0; virtual void get_table_objects_by_name_req(GetTablesResult& _return, const GetTablesRequest& req) = 0; - virtual void get_materialization_invalidation_info(std::map & _return, const std::string& dbname, const std::vector & tbl_names) = 0; virtual void update_creation_metadata(const std::string& dbname, const std::string& tbl_name, const CreationMetadata& creation_metadata) = 0; virtual void get_table_names_by_filter(std::vector & _return, const std::string& dbname, const std::string& filter, const int16_t max_tables) = 0; virtual void alter_table(const std::string& dbname, const std::string& tbl_name, const Table& new_tbl) = 0; @@ -358,9 +357,6 @@ class ThriftHiveMetastoreNull : virtual public ThriftHiveMetastoreIf , virtual p void get_table_objects_by_name_req(GetTablesResult& /* _return */, const GetTablesRequest& /* req */) { return; } - void get_materialization_invalidation_info(std::map & /* _return */, const std::string& /* dbname */, const std::vector & /* tbl_names */) { - return; - } void update_creation_metadata(const std::string& /* dbname */, const std::string& /* tbl_name */, const CreationMetadata& /* creation_metadata */) { return; } @@ -5374,141 +5370,6 @@ class ThriftHiveMetastore_get_table_objects_by_name_req_presult { }; -typedef struct _ThriftHiveMetastore_get_materialization_invalidation_info_args__isset { - _ThriftHiveMetastore_get_materialization_invalidation_info_args__isset() : dbname(false), tbl_names(false) {} - bool dbname :1; - bool tbl_names :1; -} _ThriftHiveMetastore_get_materialization_invalidation_info_args__isset; - -class ThriftHiveMetastore_get_materialization_invalidation_info_args { - public: - - ThriftHiveMetastore_get_materialization_invalidation_info_args(const ThriftHiveMetastore_get_materialization_invalidation_info_args&); - ThriftHiveMetastore_get_materialization_invalidation_info_args& operator=(const ThriftHiveMetastore_get_materialization_invalidation_info_args&); - ThriftHiveMetastore_get_materialization_invalidation_info_args() : dbname() { - } - - virtual ~ThriftHiveMetastore_get_materialization_invalidation_info_args() throw(); - std::string dbname; - std::vector tbl_names; - - _ThriftHiveMetastore_get_materialization_invalidation_info_args__isset __isset; - - void __set_dbname(const std::string& val); - - void __set_tbl_names(const std::vector & val); - - bool operator == (const ThriftHiveMetastore_get_materialization_invalidation_info_args & rhs) const - { - if (!(dbname == rhs.dbname)) - return false; - if (!(tbl_names == rhs.tbl_names)) - return false; - return true; - } - bool operator != (const ThriftHiveMetastore_get_materialization_invalidation_info_args &rhs) const { - return !(*this == rhs); - } - - bool operator < (const ThriftHiveMetastore_get_materialization_invalidation_info_args & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - - -class ThriftHiveMetastore_get_materialization_invalidation_info_pargs { - public: - - - virtual ~ThriftHiveMetastore_get_materialization_invalidation_info_pargs() throw(); - const std::string* dbname; - const std::vector * tbl_names; - - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _ThriftHiveMetastore_get_materialization_invalidation_info_result__isset { - _ThriftHiveMetastore_get_materialization_invalidation_info_result__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success :1; - bool o1 :1; - bool o2 :1; - bool o3 :1; -} _ThriftHiveMetastore_get_materialization_invalidation_info_result__isset; - -class ThriftHiveMetastore_get_materialization_invalidation_info_result { - public: - - ThriftHiveMetastore_get_materialization_invalidation_info_result(const ThriftHiveMetastore_get_materialization_invalidation_info_result&); - ThriftHiveMetastore_get_materialization_invalidation_info_result& operator=(const ThriftHiveMetastore_get_materialization_invalidation_info_result&); - ThriftHiveMetastore_get_materialization_invalidation_info_result() { - } - - virtual ~ThriftHiveMetastore_get_materialization_invalidation_info_result() throw(); - std::map success; - MetaException o1; - InvalidOperationException o2; - UnknownDBException o3; - - _ThriftHiveMetastore_get_materialization_invalidation_info_result__isset __isset; - - void __set_success(const std::map & val); - - void __set_o1(const MetaException& val); - - void __set_o2(const InvalidOperationException& val); - - void __set_o3(const UnknownDBException& val); - - bool operator == (const ThriftHiveMetastore_get_materialization_invalidation_info_result & rhs) const - { - if (!(success == rhs.success)) - return false; - if (!(o1 == rhs.o1)) - return false; - if (!(o2 == rhs.o2)) - return false; - if (!(o3 == rhs.o3)) - return false; - return true; - } - bool operator != (const ThriftHiveMetastore_get_materialization_invalidation_info_result &rhs) const { - return !(*this == rhs); - } - - bool operator < (const ThriftHiveMetastore_get_materialization_invalidation_info_result & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _ThriftHiveMetastore_get_materialization_invalidation_info_presult__isset { - _ThriftHiveMetastore_get_materialization_invalidation_info_presult__isset() : success(false), o1(false), o2(false), o3(false) {} - bool success :1; - bool o1 :1; - bool o2 :1; - bool o3 :1; -} _ThriftHiveMetastore_get_materialization_invalidation_info_presult__isset; - -class ThriftHiveMetastore_get_materialization_invalidation_info_presult { - public: - - - virtual ~ThriftHiveMetastore_get_materialization_invalidation_info_presult() throw(); - std::map * success; - MetaException o1; - InvalidOperationException o2; - UnknownDBException o3; - - _ThriftHiveMetastore_get_materialization_invalidation_info_presult__isset __isset; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - -}; - typedef struct _ThriftHiveMetastore_update_creation_metadata_args__isset { _ThriftHiveMetastore_update_creation_metadata_args__isset() : dbname(false), tbl_name(false), creation_metadata(false) {} bool dbname :1; @@ -24791,9 +24652,6 @@ class ThriftHiveMetastoreClient : virtual public ThriftHiveMetastoreIf, public void get_table_objects_by_name_req(GetTablesResult& _return, const GetTablesRequest& req); void send_get_table_objects_by_name_req(const GetTablesRequest& req); void recv_get_table_objects_by_name_req(GetTablesResult& _return); - void get_materialization_invalidation_info(std::map & _return, const std::string& dbname, const std::vector & tbl_names); - void send_get_materialization_invalidation_info(const std::string& dbname, const std::vector & tbl_names); - void recv_get_materialization_invalidation_info(std::map & _return); void update_creation_metadata(const std::string& dbname, const std::string& tbl_name, const CreationMetadata& creation_metadata); void send_update_creation_metadata(const std::string& dbname, const std::string& tbl_name, const CreationMetadata& creation_metadata); void recv_update_creation_metadata(); @@ -25309,7 +25167,6 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP void process_get_table_objects_by_name(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_table_req(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_table_objects_by_name_req(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); - void process_get_materialization_invalidation_info(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_update_creation_metadata(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_table_names_by_filter(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_alter_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); @@ -25507,7 +25364,6 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP processMap_["get_table_objects_by_name"] = &ThriftHiveMetastoreProcessor::process_get_table_objects_by_name; processMap_["get_table_req"] = &ThriftHiveMetastoreProcessor::process_get_table_req; processMap_["get_table_objects_by_name_req"] = &ThriftHiveMetastoreProcessor::process_get_table_objects_by_name_req; - processMap_["get_materialization_invalidation_info"] = &ThriftHiveMetastoreProcessor::process_get_materialization_invalidation_info; processMap_["update_creation_metadata"] = &ThriftHiveMetastoreProcessor::process_update_creation_metadata; processMap_["get_table_names_by_filter"] = &ThriftHiveMetastoreProcessor::process_get_table_names_by_filter; processMap_["alter_table"] = &ThriftHiveMetastoreProcessor::process_alter_table; @@ -26049,16 +25905,6 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi return; } - void get_materialization_invalidation_info(std::map & _return, const std::string& dbname, const std::vector & tbl_names) { - size_t sz = ifaces_.size(); - size_t i = 0; - for (; i < (sz - 1); ++i) { - ifaces_[i]->get_materialization_invalidation_info(_return, dbname, tbl_names); - } - ifaces_[i]->get_materialization_invalidation_info(_return, dbname, tbl_names); - return; - } - void update_creation_metadata(const std::string& dbname, const std::string& tbl_name, const CreationMetadata& creation_metadata) { size_t sz = ifaces_.size(); size_t i = 0; @@ -27690,9 +27536,6 @@ class ThriftHiveMetastoreConcurrentClient : virtual public ThriftHiveMetastoreIf void get_table_objects_by_name_req(GetTablesResult& _return, const GetTablesRequest& req); int32_t send_get_table_objects_by_name_req(const GetTablesRequest& req); void recv_get_table_objects_by_name_req(GetTablesResult& _return, const int32_t seqid); - void get_materialization_invalidation_info(std::map & _return, const std::string& dbname, const std::vector & tbl_names); - int32_t send_get_materialization_invalidation_info(const std::string& dbname, const std::vector & tbl_names); - void recv_get_materialization_invalidation_info(std::map & _return, const int32_t seqid); void update_creation_metadata(const std::string& dbname, const std::string& tbl_name, const CreationMetadata& creation_metadata); int32_t send_update_creation_metadata(const std::string& dbname, const std::string& tbl_name, const CreationMetadata& creation_metadata); void recv_update_creation_metadata(const int32_t seqid); diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp index 8d9ad254a3..e3f66475e6 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp +++ b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp @@ -207,11 +207,6 @@ class ThriftHiveMetastoreHandler : virtual public ThriftHiveMetastoreIf { printf("get_table_objects_by_name_req\n"); } - void get_materialization_invalidation_info(std::map & _return, const std::string& dbname, const std::vector & tbl_names) { - // Your implementation goes here - printf("get_materialization_invalidation_info\n"); - } - void update_creation_metadata(const std::string& dbname, const std::string& tbl_name, const CreationMetadata& creation_metadata) { // Your implementation goes here printf("update_creation_metadata\n"); diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp index 620d6ef6ba..f433c8bdb3 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 @@ -18692,6 +18692,11 @@ void CreationMetadata::__set_validTxnList(const std::string& val) { __isset.validTxnList = true; } +void CreationMetadata::__set_materializationTime(const int64_t val) { + this->materializationTime = val; +__isset.materializationTime = true; +} + uint32_t CreationMetadata::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); @@ -18761,6 +18766,14 @@ uint32_t CreationMetadata::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 5: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->materializationTime); + this->__isset.materializationTime = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -18809,6 +18822,11 @@ uint32_t CreationMetadata::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeString(this->validTxnList); xfer += oprot->writeFieldEnd(); } + if (this->__isset.materializationTime) { + xfer += oprot->writeFieldBegin("materializationTime", ::apache::thrift::protocol::T_I64, 5); + xfer += oprot->writeI64(this->materializationTime); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -18820,6 +18838,7 @@ void swap(CreationMetadata &a, CreationMetadata &b) { swap(a.tblName, b.tblName); swap(a.tablesUsed, b.tablesUsed); swap(a.validTxnList, b.validTxnList); + swap(a.materializationTime, b.materializationTime); swap(a.__isset, b.__isset); } @@ -18828,6 +18847,7 @@ CreationMetadata::CreationMetadata(const CreationMetadata& other768) { tblName = other768.tblName; tablesUsed = other768.tablesUsed; validTxnList = other768.validTxnList; + materializationTime = other768.materializationTime; __isset = other768.__isset; } CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other769) { @@ -18835,6 +18855,7 @@ CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other769) tblName = other769.tblName; tablesUsed = other769.tablesUsed; validTxnList = other769.validTxnList; + materializationTime = other769.materializationTime; __isset = other769.__isset; return *this; } @@ -18845,6 +18866,7 @@ void CreationMetadata::printTo(std::ostream& out) const { out << ", " << "tblName=" << to_string(tblName); out << ", " << "tablesUsed=" << to_string(tablesUsed); out << ", " << "validTxnList="; (__isset.validTxnList ? (out << to_string(validTxnList)) : (out << "")); + out << ", " << "materializationTime="; (__isset.materializationTime ? (out << to_string(materializationTime)) : (out << "")); out << ")"; } @@ -22421,161 +22443,6 @@ void TableMeta::printTo(std::ostream& out) const { } -Materialization::~Materialization() throw() { -} - - -void Materialization::__set_tablesUsed(const std::set & val) { - this->tablesUsed = val; -} - -void Materialization::__set_validTxnList(const std::string& val) { - this->validTxnList = val; -__isset.validTxnList = true; -} - -void Materialization::__set_invalidationTime(const int64_t val) { - this->invalidationTime = val; -} - -uint32_t Materialization::read(::apache::thrift::protocol::TProtocol* iprot) { - - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - bool isset_tablesUsed = false; - bool isset_invalidationTime = false; - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_SET) { - { - this->tablesUsed.clear(); - uint32_t _size927; - ::apache::thrift::protocol::TType _etype930; - xfer += iprot->readSetBegin(_etype930, _size927); - uint32_t _i931; - for (_i931 = 0; _i931 < _size927; ++_i931) - { - std::string _elem932; - xfer += iprot->readString(_elem932); - this->tablesUsed.insert(_elem932); - } - xfer += iprot->readSetEnd(); - } - isset_tablesUsed = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->validTxnList); - this->__isset.validTxnList = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_I64) { - xfer += iprot->readI64(this->invalidationTime); - isset_invalidationTime = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - if (!isset_tablesUsed) - throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_invalidationTime) - throw TProtocolException(TProtocolException::INVALID_DATA); - return xfer; -} - -uint32_t Materialization::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("Materialization"); - - 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 _iter933; - for (_iter933 = this->tablesUsed.begin(); _iter933 != this->tablesUsed.end(); ++_iter933) - { - xfer += oprot->writeString((*_iter933)); - } - xfer += oprot->writeSetEnd(); - } - xfer += oprot->writeFieldEnd(); - - if (this->__isset.validTxnList) { - xfer += oprot->writeFieldBegin("validTxnList", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString(this->validTxnList); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldBegin("invalidationTime", ::apache::thrift::protocol::T_I64, 3); - xfer += oprot->writeI64(this->invalidationTime); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - -void swap(Materialization &a, Materialization &b) { - using ::std::swap; - swap(a.tablesUsed, b.tablesUsed); - swap(a.validTxnList, b.validTxnList); - swap(a.invalidationTime, b.invalidationTime); - swap(a.__isset, b.__isset); -} - -Materialization::Materialization(const Materialization& other934) { - tablesUsed = other934.tablesUsed; - validTxnList = other934.validTxnList; - invalidationTime = other934.invalidationTime; - __isset = other934.__isset; -} -Materialization& Materialization::operator=(const Materialization& other935) { - tablesUsed = other935.tablesUsed; - validTxnList = other935.validTxnList; - invalidationTime = other935.invalidationTime; - __isset = other935.__isset; - return *this; -} -void Materialization::printTo(std::ostream& out) const { - using ::apache::thrift::to_string; - out << "Materialization("; - out << "tablesUsed=" << to_string(tablesUsed); - out << ", " << "validTxnList="; (__isset.validTxnList ? (out << to_string(validTxnList)) : (out << "")); - out << ", " << "invalidationTime=" << to_string(invalidationTime); - out << ")"; -} - - WMResourcePlan::~WMResourcePlan() throw() { } @@ -22631,9 +22498,9 @@ uint32_t WMResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast936; - xfer += iprot->readI32(ecast936); - this->status = (WMResourcePlanStatus::type)ecast936; + int32_t ecast927; + xfer += iprot->readI32(ecast927); + this->status = (WMResourcePlanStatus::type)ecast927; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -22707,19 +22574,19 @@ void swap(WMResourcePlan &a, WMResourcePlan &b) { swap(a.__isset, b.__isset); } -WMResourcePlan::WMResourcePlan(const WMResourcePlan& other937) { - name = other937.name; - status = other937.status; - queryParallelism = other937.queryParallelism; - defaultPoolPath = other937.defaultPoolPath; - __isset = other937.__isset; +WMResourcePlan::WMResourcePlan(const WMResourcePlan& other928) { + name = other928.name; + status = other928.status; + queryParallelism = other928.queryParallelism; + defaultPoolPath = other928.defaultPoolPath; + __isset = other928.__isset; } -WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other938) { - name = other938.name; - status = other938.status; - queryParallelism = other938.queryParallelism; - defaultPoolPath = other938.defaultPoolPath; - __isset = other938.__isset; +WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other929) { + name = other929.name; + status = other929.status; + queryParallelism = other929.queryParallelism; + defaultPoolPath = other929.defaultPoolPath; + __isset = other929.__isset; return *this; } void WMResourcePlan::printTo(std::ostream& out) const { @@ -22798,9 +22665,9 @@ uint32_t WMNullableResourcePlan::read(::apache::thrift::protocol::TProtocol* ipr break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast939; - xfer += iprot->readI32(ecast939); - this->status = (WMResourcePlanStatus::type)ecast939; + int32_t ecast930; + xfer += iprot->readI32(ecast930); + this->status = (WMResourcePlanStatus::type)ecast930; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -22902,23 +22769,23 @@ void swap(WMNullableResourcePlan &a, WMNullableResourcePlan &b) { swap(a.__isset, b.__isset); } -WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other940) { - name = other940.name; - status = other940.status; - queryParallelism = other940.queryParallelism; - isSetQueryParallelism = other940.isSetQueryParallelism; - defaultPoolPath = other940.defaultPoolPath; - isSetDefaultPoolPath = other940.isSetDefaultPoolPath; - __isset = other940.__isset; -} -WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other941) { - name = other941.name; - status = other941.status; - queryParallelism = other941.queryParallelism; - isSetQueryParallelism = other941.isSetQueryParallelism; - defaultPoolPath = other941.defaultPoolPath; - isSetDefaultPoolPath = other941.isSetDefaultPoolPath; - __isset = other941.__isset; +WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other931) { + name = other931.name; + status = other931.status; + queryParallelism = other931.queryParallelism; + isSetQueryParallelism = other931.isSetQueryParallelism; + defaultPoolPath = other931.defaultPoolPath; + isSetDefaultPoolPath = other931.isSetDefaultPoolPath; + __isset = other931.__isset; +} +WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other932) { + name = other932.name; + status = other932.status; + queryParallelism = other932.queryParallelism; + isSetQueryParallelism = other932.isSetQueryParallelism; + defaultPoolPath = other932.defaultPoolPath; + isSetDefaultPoolPath = other932.isSetDefaultPoolPath; + __isset = other932.__isset; return *this; } void WMNullableResourcePlan::printTo(std::ostream& out) const { @@ -23083,21 +22950,21 @@ void swap(WMPool &a, WMPool &b) { swap(a.__isset, b.__isset); } -WMPool::WMPool(const WMPool& other942) { - resourcePlanName = other942.resourcePlanName; - poolPath = other942.poolPath; - allocFraction = other942.allocFraction; - queryParallelism = other942.queryParallelism; - schedulingPolicy = other942.schedulingPolicy; - __isset = other942.__isset; -} -WMPool& WMPool::operator=(const WMPool& other943) { - resourcePlanName = other943.resourcePlanName; - poolPath = other943.poolPath; - allocFraction = other943.allocFraction; - queryParallelism = other943.queryParallelism; - schedulingPolicy = other943.schedulingPolicy; - __isset = other943.__isset; +WMPool::WMPool(const WMPool& other933) { + resourcePlanName = other933.resourcePlanName; + poolPath = other933.poolPath; + allocFraction = other933.allocFraction; + queryParallelism = other933.queryParallelism; + schedulingPolicy = other933.schedulingPolicy; + __isset = other933.__isset; +} +WMPool& WMPool::operator=(const WMPool& other934) { + resourcePlanName = other934.resourcePlanName; + poolPath = other934.poolPath; + allocFraction = other934.allocFraction; + queryParallelism = other934.queryParallelism; + schedulingPolicy = other934.schedulingPolicy; + __isset = other934.__isset; return *this; } void WMPool::printTo(std::ostream& out) const { @@ -23280,23 +23147,23 @@ void swap(WMNullablePool &a, WMNullablePool &b) { swap(a.__isset, b.__isset); } -WMNullablePool::WMNullablePool(const WMNullablePool& other944) { - resourcePlanName = other944.resourcePlanName; - poolPath = other944.poolPath; - allocFraction = other944.allocFraction; - queryParallelism = other944.queryParallelism; - schedulingPolicy = other944.schedulingPolicy; - isSetSchedulingPolicy = other944.isSetSchedulingPolicy; - __isset = other944.__isset; -} -WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other945) { - resourcePlanName = other945.resourcePlanName; - poolPath = other945.poolPath; - allocFraction = other945.allocFraction; - queryParallelism = other945.queryParallelism; - schedulingPolicy = other945.schedulingPolicy; - isSetSchedulingPolicy = other945.isSetSchedulingPolicy; - __isset = other945.__isset; +WMNullablePool::WMNullablePool(const WMNullablePool& other935) { + resourcePlanName = other935.resourcePlanName; + poolPath = other935.poolPath; + allocFraction = other935.allocFraction; + queryParallelism = other935.queryParallelism; + schedulingPolicy = other935.schedulingPolicy; + isSetSchedulingPolicy = other935.isSetSchedulingPolicy; + __isset = other935.__isset; +} +WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other936) { + resourcePlanName = other936.resourcePlanName; + poolPath = other936.poolPath; + allocFraction = other936.allocFraction; + queryParallelism = other936.queryParallelism; + schedulingPolicy = other936.schedulingPolicy; + isSetSchedulingPolicy = other936.isSetSchedulingPolicy; + __isset = other936.__isset; return *this; } void WMNullablePool::printTo(std::ostream& out) const { @@ -23461,21 +23328,21 @@ void swap(WMTrigger &a, WMTrigger &b) { swap(a.__isset, b.__isset); } -WMTrigger::WMTrigger(const WMTrigger& other946) { - resourcePlanName = other946.resourcePlanName; - triggerName = other946.triggerName; - triggerExpression = other946.triggerExpression; - actionExpression = other946.actionExpression; - isInUnmanaged = other946.isInUnmanaged; - __isset = other946.__isset; -} -WMTrigger& WMTrigger::operator=(const WMTrigger& other947) { - resourcePlanName = other947.resourcePlanName; - triggerName = other947.triggerName; - triggerExpression = other947.triggerExpression; - actionExpression = other947.actionExpression; - isInUnmanaged = other947.isInUnmanaged; - __isset = other947.__isset; +WMTrigger::WMTrigger(const WMTrigger& other937) { + resourcePlanName = other937.resourcePlanName; + triggerName = other937.triggerName; + triggerExpression = other937.triggerExpression; + actionExpression = other937.actionExpression; + isInUnmanaged = other937.isInUnmanaged; + __isset = other937.__isset; +} +WMTrigger& WMTrigger::operator=(const WMTrigger& other938) { + resourcePlanName = other938.resourcePlanName; + triggerName = other938.triggerName; + triggerExpression = other938.triggerExpression; + actionExpression = other938.actionExpression; + isInUnmanaged = other938.isInUnmanaged; + __isset = other938.__isset; return *this; } void WMTrigger::printTo(std::ostream& out) const { @@ -23640,21 +23507,21 @@ void swap(WMMapping &a, WMMapping &b) { swap(a.__isset, b.__isset); } -WMMapping::WMMapping(const WMMapping& other948) { - resourcePlanName = other948.resourcePlanName; - entityType = other948.entityType; - entityName = other948.entityName; - poolPath = other948.poolPath; - ordering = other948.ordering; - __isset = other948.__isset; -} -WMMapping& WMMapping::operator=(const WMMapping& other949) { - resourcePlanName = other949.resourcePlanName; - entityType = other949.entityType; - entityName = other949.entityName; - poolPath = other949.poolPath; - ordering = other949.ordering; - __isset = other949.__isset; +WMMapping::WMMapping(const WMMapping& other939) { + resourcePlanName = other939.resourcePlanName; + entityType = other939.entityType; + entityName = other939.entityName; + poolPath = other939.poolPath; + ordering = other939.ordering; + __isset = other939.__isset; +} +WMMapping& WMMapping::operator=(const WMMapping& other940) { + resourcePlanName = other940.resourcePlanName; + entityType = other940.entityType; + entityName = other940.entityName; + poolPath = other940.poolPath; + ordering = other940.ordering; + __isset = other940.__isset; return *this; } void WMMapping::printTo(std::ostream& out) const { @@ -23760,13 +23627,13 @@ void swap(WMPoolTrigger &a, WMPoolTrigger &b) { swap(a.trigger, b.trigger); } -WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other950) { - pool = other950.pool; - trigger = other950.trigger; +WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other941) { + pool = other941.pool; + trigger = other941.trigger; } -WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other951) { - pool = other951.pool; - trigger = other951.trigger; +WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other942) { + pool = other942.pool; + trigger = other942.trigger; return *this; } void WMPoolTrigger::printTo(std::ostream& out) const { @@ -23840,14 +23707,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->pools.clear(); - uint32_t _size952; - ::apache::thrift::protocol::TType _etype955; - xfer += iprot->readListBegin(_etype955, _size952); - this->pools.resize(_size952); - uint32_t _i956; - for (_i956 = 0; _i956 < _size952; ++_i956) + uint32_t _size943; + ::apache::thrift::protocol::TType _etype946; + xfer += iprot->readListBegin(_etype946, _size943); + this->pools.resize(_size943); + uint32_t _i947; + for (_i947 = 0; _i947 < _size943; ++_i947) { - xfer += this->pools[_i956].read(iprot); + xfer += this->pools[_i947].read(iprot); } xfer += iprot->readListEnd(); } @@ -23860,14 +23727,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->mappings.clear(); - uint32_t _size957; - ::apache::thrift::protocol::TType _etype960; - xfer += iprot->readListBegin(_etype960, _size957); - this->mappings.resize(_size957); - uint32_t _i961; - for (_i961 = 0; _i961 < _size957; ++_i961) + uint32_t _size948; + ::apache::thrift::protocol::TType _etype951; + xfer += iprot->readListBegin(_etype951, _size948); + this->mappings.resize(_size948); + uint32_t _i952; + for (_i952 = 0; _i952 < _size948; ++_i952) { - xfer += this->mappings[_i961].read(iprot); + xfer += this->mappings[_i952].read(iprot); } xfer += iprot->readListEnd(); } @@ -23880,14 +23747,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size962; - ::apache::thrift::protocol::TType _etype965; - xfer += iprot->readListBegin(_etype965, _size962); - this->triggers.resize(_size962); - uint32_t _i966; - for (_i966 = 0; _i966 < _size962; ++_i966) + uint32_t _size953; + ::apache::thrift::protocol::TType _etype956; + xfer += iprot->readListBegin(_etype956, _size953); + this->triggers.resize(_size953); + uint32_t _i957; + for (_i957 = 0; _i957 < _size953; ++_i957) { - xfer += this->triggers[_i966].read(iprot); + xfer += this->triggers[_i957].read(iprot); } xfer += iprot->readListEnd(); } @@ -23900,14 +23767,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->poolTriggers.clear(); - uint32_t _size967; - ::apache::thrift::protocol::TType _etype970; - xfer += iprot->readListBegin(_etype970, _size967); - this->poolTriggers.resize(_size967); - uint32_t _i971; - for (_i971 = 0; _i971 < _size967; ++_i971) + uint32_t _size958; + ::apache::thrift::protocol::TType _etype961; + xfer += iprot->readListBegin(_etype961, _size958); + this->poolTriggers.resize(_size958); + uint32_t _i962; + for (_i962 = 0; _i962 < _size958; ++_i962) { - xfer += this->poolTriggers[_i971].read(iprot); + xfer += this->poolTriggers[_i962].read(iprot); } xfer += iprot->readListEnd(); } @@ -23944,10 +23811,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 _iter972; - for (_iter972 = this->pools.begin(); _iter972 != this->pools.end(); ++_iter972) + std::vector ::const_iterator _iter963; + for (_iter963 = this->pools.begin(); _iter963 != this->pools.end(); ++_iter963) { - xfer += (*_iter972).write(oprot); + xfer += (*_iter963).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23957,10 +23824,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 _iter973; - for (_iter973 = this->mappings.begin(); _iter973 != this->mappings.end(); ++_iter973) + std::vector ::const_iterator _iter964; + for (_iter964 = this->mappings.begin(); _iter964 != this->mappings.end(); ++_iter964) { - xfer += (*_iter973).write(oprot); + xfer += (*_iter964).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23970,10 +23837,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 _iter974; - for (_iter974 = this->triggers.begin(); _iter974 != this->triggers.end(); ++_iter974) + std::vector ::const_iterator _iter965; + for (_iter965 = this->triggers.begin(); _iter965 != this->triggers.end(); ++_iter965) { - xfer += (*_iter974).write(oprot); + xfer += (*_iter965).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23983,10 +23850,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 _iter975; - for (_iter975 = this->poolTriggers.begin(); _iter975 != this->poolTriggers.end(); ++_iter975) + std::vector ::const_iterator _iter966; + for (_iter966 = this->poolTriggers.begin(); _iter966 != this->poolTriggers.end(); ++_iter966) { - xfer += (*_iter975).write(oprot); + xfer += (*_iter966).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24007,21 +23874,21 @@ void swap(WMFullResourcePlan &a, WMFullResourcePlan &b) { swap(a.__isset, b.__isset); } -WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other976) { - plan = other976.plan; - pools = other976.pools; - mappings = other976.mappings; - triggers = other976.triggers; - poolTriggers = other976.poolTriggers; - __isset = other976.__isset; -} -WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other977) { - plan = other977.plan; - pools = other977.pools; - mappings = other977.mappings; - triggers = other977.triggers; - poolTriggers = other977.poolTriggers; - __isset = other977.__isset; +WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other967) { + plan = other967.plan; + pools = other967.pools; + mappings = other967.mappings; + triggers = other967.triggers; + poolTriggers = other967.poolTriggers; + __isset = other967.__isset; +} +WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other968) { + plan = other968.plan; + pools = other968.pools; + mappings = other968.mappings; + triggers = other968.triggers; + poolTriggers = other968.poolTriggers; + __isset = other968.__isset; return *this; } void WMFullResourcePlan::printTo(std::ostream& out) const { @@ -24126,15 +23993,15 @@ void swap(WMCreateResourcePlanRequest &a, WMCreateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other978) { - resourcePlan = other978.resourcePlan; - copyFrom = other978.copyFrom; - __isset = other978.__isset; +WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other969) { + resourcePlan = other969.resourcePlan; + copyFrom = other969.copyFrom; + __isset = other969.__isset; } -WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other979) { - resourcePlan = other979.resourcePlan; - copyFrom = other979.copyFrom; - __isset = other979.__isset; +WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other970) { + resourcePlan = other970.resourcePlan; + copyFrom = other970.copyFrom; + __isset = other970.__isset; return *this; } void WMCreateResourcePlanRequest::printTo(std::ostream& out) const { @@ -24194,11 +24061,11 @@ void swap(WMCreateResourcePlanResponse &a, WMCreateResourcePlanResponse &b) { (void) b; } -WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other980) { - (void) other980; +WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other971) { + (void) other971; } -WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other981) { - (void) other981; +WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other972) { + (void) other972; return *this; } void WMCreateResourcePlanResponse::printTo(std::ostream& out) const { @@ -24256,11 +24123,11 @@ void swap(WMGetActiveResourcePlanRequest &a, WMGetActiveResourcePlanRequest &b) (void) b; } -WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other982) { - (void) other982; +WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other973) { + (void) other973; } -WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other983) { - (void) other983; +WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other974) { + (void) other974; return *this; } void WMGetActiveResourcePlanRequest::printTo(std::ostream& out) const { @@ -24341,13 +24208,13 @@ void swap(WMGetActiveResourcePlanResponse &a, WMGetActiveResourcePlanResponse &b swap(a.__isset, b.__isset); } -WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other984) { - resourcePlan = other984.resourcePlan; - __isset = other984.__isset; +WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other975) { + resourcePlan = other975.resourcePlan; + __isset = other975.__isset; } -WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other985) { - resourcePlan = other985.resourcePlan; - __isset = other985.__isset; +WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other976) { + resourcePlan = other976.resourcePlan; + __isset = other976.__isset; return *this; } void WMGetActiveResourcePlanResponse::printTo(std::ostream& out) const { @@ -24429,13 +24296,13 @@ void swap(WMGetResourcePlanRequest &a, WMGetResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other986) { - resourcePlanName = other986.resourcePlanName; - __isset = other986.__isset; +WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other977) { + resourcePlanName = other977.resourcePlanName; + __isset = other977.__isset; } -WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other987) { - resourcePlanName = other987.resourcePlanName; - __isset = other987.__isset; +WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other978) { + resourcePlanName = other978.resourcePlanName; + __isset = other978.__isset; return *this; } void WMGetResourcePlanRequest::printTo(std::ostream& out) const { @@ -24517,13 +24384,13 @@ void swap(WMGetResourcePlanResponse &a, WMGetResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other988) { - resourcePlan = other988.resourcePlan; - __isset = other988.__isset; +WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other979) { + resourcePlan = other979.resourcePlan; + __isset = other979.__isset; } -WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other989) { - resourcePlan = other989.resourcePlan; - __isset = other989.__isset; +WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other980) { + resourcePlan = other980.resourcePlan; + __isset = other980.__isset; return *this; } void WMGetResourcePlanResponse::printTo(std::ostream& out) const { @@ -24582,11 +24449,11 @@ void swap(WMGetAllResourcePlanRequest &a, WMGetAllResourcePlanRequest &b) { (void) b; } -WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other990) { - (void) other990; +WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other981) { + (void) other981; } -WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other991) { - (void) other991; +WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other982) { + (void) other982; return *this; } void WMGetAllResourcePlanRequest::printTo(std::ostream& out) const { @@ -24630,14 +24497,14 @@ uint32_t WMGetAllResourcePlanResponse::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->resourcePlans.clear(); - uint32_t _size992; - ::apache::thrift::protocol::TType _etype995; - xfer += iprot->readListBegin(_etype995, _size992); - this->resourcePlans.resize(_size992); - uint32_t _i996; - for (_i996 = 0; _i996 < _size992; ++_i996) + uint32_t _size983; + ::apache::thrift::protocol::TType _etype986; + xfer += iprot->readListBegin(_etype986, _size983); + this->resourcePlans.resize(_size983); + uint32_t _i987; + for (_i987 = 0; _i987 < _size983; ++_i987) { - xfer += this->resourcePlans[_i996].read(iprot); + xfer += this->resourcePlans[_i987].read(iprot); } xfer += iprot->readListEnd(); } @@ -24667,10 +24534,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 _iter997; - for (_iter997 = this->resourcePlans.begin(); _iter997 != this->resourcePlans.end(); ++_iter997) + std::vector ::const_iterator _iter988; + for (_iter988 = this->resourcePlans.begin(); _iter988 != this->resourcePlans.end(); ++_iter988) { - xfer += (*_iter997).write(oprot); + xfer += (*_iter988).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24687,13 +24554,13 @@ void swap(WMGetAllResourcePlanResponse &a, WMGetAllResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other998) { - resourcePlans = other998.resourcePlans; - __isset = other998.__isset; +WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other989) { + resourcePlans = other989.resourcePlans; + __isset = other989.__isset; } -WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other999) { - resourcePlans = other999.resourcePlans; - __isset = other999.__isset; +WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other990) { + resourcePlans = other990.resourcePlans; + __isset = other990.__isset; return *this; } void WMGetAllResourcePlanResponse::printTo(std::ostream& out) const { @@ -24851,21 +24718,21 @@ void swap(WMAlterResourcePlanRequest &a, WMAlterResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1000) { - resourcePlanName = other1000.resourcePlanName; - resourcePlan = other1000.resourcePlan; - isEnableAndActivate = other1000.isEnableAndActivate; - isForceDeactivate = other1000.isForceDeactivate; - isReplace = other1000.isReplace; - __isset = other1000.__isset; -} -WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1001) { - resourcePlanName = other1001.resourcePlanName; - resourcePlan = other1001.resourcePlan; - isEnableAndActivate = other1001.isEnableAndActivate; - isForceDeactivate = other1001.isForceDeactivate; - isReplace = other1001.isReplace; - __isset = other1001.__isset; +WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other991) { + resourcePlanName = other991.resourcePlanName; + resourcePlan = other991.resourcePlan; + isEnableAndActivate = other991.isEnableAndActivate; + isForceDeactivate = other991.isForceDeactivate; + isReplace = other991.isReplace; + __isset = other991.__isset; +} +WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other992) { + resourcePlanName = other992.resourcePlanName; + resourcePlan = other992.resourcePlan; + isEnableAndActivate = other992.isEnableAndActivate; + isForceDeactivate = other992.isForceDeactivate; + isReplace = other992.isReplace; + __isset = other992.__isset; return *this; } void WMAlterResourcePlanRequest::printTo(std::ostream& out) const { @@ -24951,13 +24818,13 @@ void swap(WMAlterResourcePlanResponse &a, WMAlterResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1002) { - fullResourcePlan = other1002.fullResourcePlan; - __isset = other1002.__isset; +WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other993) { + fullResourcePlan = other993.fullResourcePlan; + __isset = other993.__isset; } -WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1003) { - fullResourcePlan = other1003.fullResourcePlan; - __isset = other1003.__isset; +WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other994) { + fullResourcePlan = other994.fullResourcePlan; + __isset = other994.__isset; return *this; } void WMAlterResourcePlanResponse::printTo(std::ostream& out) const { @@ -25039,13 +24906,13 @@ void swap(WMValidateResourcePlanRequest &a, WMValidateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1004) { - resourcePlanName = other1004.resourcePlanName; - __isset = other1004.__isset; +WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other995) { + resourcePlanName = other995.resourcePlanName; + __isset = other995.__isset; } -WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1005) { - resourcePlanName = other1005.resourcePlanName; - __isset = other1005.__isset; +WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other996) { + resourcePlanName = other996.resourcePlanName; + __isset = other996.__isset; return *this; } void WMValidateResourcePlanRequest::printTo(std::ostream& out) const { @@ -25095,14 +24962,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->errors.clear(); - uint32_t _size1006; - ::apache::thrift::protocol::TType _etype1009; - xfer += iprot->readListBegin(_etype1009, _size1006); - this->errors.resize(_size1006); - uint32_t _i1010; - for (_i1010 = 0; _i1010 < _size1006; ++_i1010) + uint32_t _size997; + ::apache::thrift::protocol::TType _etype1000; + xfer += iprot->readListBegin(_etype1000, _size997); + this->errors.resize(_size997); + uint32_t _i1001; + for (_i1001 = 0; _i1001 < _size997; ++_i1001) { - xfer += iprot->readString(this->errors[_i1010]); + xfer += iprot->readString(this->errors[_i1001]); } xfer += iprot->readListEnd(); } @@ -25115,14 +24982,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->warnings.clear(); - uint32_t _size1011; - ::apache::thrift::protocol::TType _etype1014; - xfer += iprot->readListBegin(_etype1014, _size1011); - this->warnings.resize(_size1011); - uint32_t _i1015; - for (_i1015 = 0; _i1015 < _size1011; ++_i1015) + uint32_t _size1002; + ::apache::thrift::protocol::TType _etype1005; + xfer += iprot->readListBegin(_etype1005, _size1002); + this->warnings.resize(_size1002); + uint32_t _i1006; + for (_i1006 = 0; _i1006 < _size1002; ++_i1006) { - xfer += iprot->readString(this->warnings[_i1015]); + xfer += iprot->readString(this->warnings[_i1006]); } xfer += iprot->readListEnd(); } @@ -25152,10 +25019,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 _iter1016; - for (_iter1016 = this->errors.begin(); _iter1016 != this->errors.end(); ++_iter1016) + std::vector ::const_iterator _iter1007; + for (_iter1007 = this->errors.begin(); _iter1007 != this->errors.end(); ++_iter1007) { - xfer += oprot->writeString((*_iter1016)); + xfer += oprot->writeString((*_iter1007)); } xfer += oprot->writeListEnd(); } @@ -25165,10 +25032,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 _iter1017; - for (_iter1017 = this->warnings.begin(); _iter1017 != this->warnings.end(); ++_iter1017) + std::vector ::const_iterator _iter1008; + for (_iter1008 = this->warnings.begin(); _iter1008 != this->warnings.end(); ++_iter1008) { - xfer += oprot->writeString((*_iter1017)); + xfer += oprot->writeString((*_iter1008)); } xfer += oprot->writeListEnd(); } @@ -25186,15 +25053,15 @@ void swap(WMValidateResourcePlanResponse &a, WMValidateResourcePlanResponse &b) swap(a.__isset, b.__isset); } -WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1018) { - errors = other1018.errors; - warnings = other1018.warnings; - __isset = other1018.__isset; +WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1009) { + errors = other1009.errors; + warnings = other1009.warnings; + __isset = other1009.__isset; } -WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1019) { - errors = other1019.errors; - warnings = other1019.warnings; - __isset = other1019.__isset; +WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1010) { + errors = other1010.errors; + warnings = other1010.warnings; + __isset = other1010.__isset; return *this; } void WMValidateResourcePlanResponse::printTo(std::ostream& out) const { @@ -25277,13 +25144,13 @@ void swap(WMDropResourcePlanRequest &a, WMDropResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1020) { - resourcePlanName = other1020.resourcePlanName; - __isset = other1020.__isset; +WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1011) { + resourcePlanName = other1011.resourcePlanName; + __isset = other1011.__isset; } -WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1021) { - resourcePlanName = other1021.resourcePlanName; - __isset = other1021.__isset; +WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1012) { + resourcePlanName = other1012.resourcePlanName; + __isset = other1012.__isset; return *this; } void WMDropResourcePlanRequest::printTo(std::ostream& out) const { @@ -25342,11 +25209,11 @@ void swap(WMDropResourcePlanResponse &a, WMDropResourcePlanResponse &b) { (void) b; } -WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1022) { - (void) other1022; +WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1013) { + (void) other1013; } -WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1023) { - (void) other1023; +WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1014) { + (void) other1014; return *this; } void WMDropResourcePlanResponse::printTo(std::ostream& out) const { @@ -25427,13 +25294,13 @@ void swap(WMCreateTriggerRequest &a, WMCreateTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1024) { - trigger = other1024.trigger; - __isset = other1024.__isset; +WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1015) { + trigger = other1015.trigger; + __isset = other1015.__isset; } -WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1025) { - trigger = other1025.trigger; - __isset = other1025.__isset; +WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1016) { + trigger = other1016.trigger; + __isset = other1016.__isset; return *this; } void WMCreateTriggerRequest::printTo(std::ostream& out) const { @@ -25492,11 +25359,11 @@ void swap(WMCreateTriggerResponse &a, WMCreateTriggerResponse &b) { (void) b; } -WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1026) { - (void) other1026; +WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1017) { + (void) other1017; } -WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1027) { - (void) other1027; +WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1018) { + (void) other1018; return *this; } void WMCreateTriggerResponse::printTo(std::ostream& out) const { @@ -25577,13 +25444,13 @@ void swap(WMAlterTriggerRequest &a, WMAlterTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1028) { - trigger = other1028.trigger; - __isset = other1028.__isset; +WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1019) { + trigger = other1019.trigger; + __isset = other1019.__isset; } -WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1029) { - trigger = other1029.trigger; - __isset = other1029.__isset; +WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1020) { + trigger = other1020.trigger; + __isset = other1020.__isset; return *this; } void WMAlterTriggerRequest::printTo(std::ostream& out) const { @@ -25642,11 +25509,11 @@ void swap(WMAlterTriggerResponse &a, WMAlterTriggerResponse &b) { (void) b; } -WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1030) { - (void) other1030; +WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1021) { + (void) other1021; } -WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1031) { - (void) other1031; +WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1022) { + (void) other1022; return *this; } void WMAlterTriggerResponse::printTo(std::ostream& out) const { @@ -25746,15 +25613,15 @@ void swap(WMDropTriggerRequest &a, WMDropTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1032) { - resourcePlanName = other1032.resourcePlanName; - triggerName = other1032.triggerName; - __isset = other1032.__isset; +WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1023) { + resourcePlanName = other1023.resourcePlanName; + triggerName = other1023.triggerName; + __isset = other1023.__isset; } -WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1033) { - resourcePlanName = other1033.resourcePlanName; - triggerName = other1033.triggerName; - __isset = other1033.__isset; +WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1024) { + resourcePlanName = other1024.resourcePlanName; + triggerName = other1024.triggerName; + __isset = other1024.__isset; return *this; } void WMDropTriggerRequest::printTo(std::ostream& out) const { @@ -25814,11 +25681,11 @@ void swap(WMDropTriggerResponse &a, WMDropTriggerResponse &b) { (void) b; } -WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1034) { - (void) other1034; +WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1025) { + (void) other1025; } -WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1035) { - (void) other1035; +WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1026) { + (void) other1026; return *this; } void WMDropTriggerResponse::printTo(std::ostream& out) const { @@ -25899,13 +25766,13 @@ void swap(WMGetTriggersForResourePlanRequest &a, WMGetTriggersForResourePlanRequ swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1036) { - resourcePlanName = other1036.resourcePlanName; - __isset = other1036.__isset; +WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1027) { + resourcePlanName = other1027.resourcePlanName; + __isset = other1027.__isset; } -WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1037) { - resourcePlanName = other1037.resourcePlanName; - __isset = other1037.__isset; +WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1028) { + resourcePlanName = other1028.resourcePlanName; + __isset = other1028.__isset; return *this; } void WMGetTriggersForResourePlanRequest::printTo(std::ostream& out) const { @@ -25950,14 +25817,14 @@ uint32_t WMGetTriggersForResourePlanResponse::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size1038; - ::apache::thrift::protocol::TType _etype1041; - xfer += iprot->readListBegin(_etype1041, _size1038); - this->triggers.resize(_size1038); - uint32_t _i1042; - for (_i1042 = 0; _i1042 < _size1038; ++_i1042) + uint32_t _size1029; + ::apache::thrift::protocol::TType _etype1032; + xfer += iprot->readListBegin(_etype1032, _size1029); + this->triggers.resize(_size1029); + uint32_t _i1033; + for (_i1033 = 0; _i1033 < _size1029; ++_i1033) { - xfer += this->triggers[_i1042].read(iprot); + xfer += this->triggers[_i1033].read(iprot); } xfer += iprot->readListEnd(); } @@ -25987,10 +25854,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 _iter1043; - for (_iter1043 = this->triggers.begin(); _iter1043 != this->triggers.end(); ++_iter1043) + std::vector ::const_iterator _iter1034; + for (_iter1034 = this->triggers.begin(); _iter1034 != this->triggers.end(); ++_iter1034) { - xfer += (*_iter1043).write(oprot); + xfer += (*_iter1034).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26007,13 +25874,13 @@ void swap(WMGetTriggersForResourePlanResponse &a, WMGetTriggersForResourePlanRes swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1044) { - triggers = other1044.triggers; - __isset = other1044.__isset; +WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1035) { + triggers = other1035.triggers; + __isset = other1035.__isset; } -WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1045) { - triggers = other1045.triggers; - __isset = other1045.__isset; +WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1036) { + triggers = other1036.triggers; + __isset = other1036.__isset; return *this; } void WMGetTriggersForResourePlanResponse::printTo(std::ostream& out) const { @@ -26095,13 +25962,13 @@ void swap(WMCreatePoolRequest &a, WMCreatePoolRequest &b) { swap(a.__isset, b.__isset); } -WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1046) { - pool = other1046.pool; - __isset = other1046.__isset; +WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1037) { + pool = other1037.pool; + __isset = other1037.__isset; } -WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1047) { - pool = other1047.pool; - __isset = other1047.__isset; +WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1038) { + pool = other1038.pool; + __isset = other1038.__isset; return *this; } void WMCreatePoolRequest::printTo(std::ostream& out) const { @@ -26160,11 +26027,11 @@ void swap(WMCreatePoolResponse &a, WMCreatePoolResponse &b) { (void) b; } -WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1048) { - (void) other1048; +WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1039) { + (void) other1039; } -WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1049) { - (void) other1049; +WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1040) { + (void) other1040; return *this; } void WMCreatePoolResponse::printTo(std::ostream& out) const { @@ -26264,15 +26131,15 @@ void swap(WMAlterPoolRequest &a, WMAlterPoolRequest &b) { swap(a.__isset, b.__isset); } -WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1050) { - pool = other1050.pool; - poolPath = other1050.poolPath; - __isset = other1050.__isset; +WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1041) { + pool = other1041.pool; + poolPath = other1041.poolPath; + __isset = other1041.__isset; } -WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1051) { - pool = other1051.pool; - poolPath = other1051.poolPath; - __isset = other1051.__isset; +WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1042) { + pool = other1042.pool; + poolPath = other1042.poolPath; + __isset = other1042.__isset; return *this; } void WMAlterPoolRequest::printTo(std::ostream& out) const { @@ -26332,11 +26199,11 @@ void swap(WMAlterPoolResponse &a, WMAlterPoolResponse &b) { (void) b; } -WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1052) { - (void) other1052; +WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1043) { + (void) other1043; } -WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1053) { - (void) other1053; +WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1044) { + (void) other1044; return *this; } void WMAlterPoolResponse::printTo(std::ostream& out) const { @@ -26436,15 +26303,15 @@ void swap(WMDropPoolRequest &a, WMDropPoolRequest &b) { swap(a.__isset, b.__isset); } -WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1054) { - resourcePlanName = other1054.resourcePlanName; - poolPath = other1054.poolPath; - __isset = other1054.__isset; +WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1045) { + resourcePlanName = other1045.resourcePlanName; + poolPath = other1045.poolPath; + __isset = other1045.__isset; } -WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1055) { - resourcePlanName = other1055.resourcePlanName; - poolPath = other1055.poolPath; - __isset = other1055.__isset; +WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1046) { + resourcePlanName = other1046.resourcePlanName; + poolPath = other1046.poolPath; + __isset = other1046.__isset; return *this; } void WMDropPoolRequest::printTo(std::ostream& out) const { @@ -26504,11 +26371,11 @@ void swap(WMDropPoolResponse &a, WMDropPoolResponse &b) { (void) b; } -WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1056) { - (void) other1056; +WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1047) { + (void) other1047; } -WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1057) { - (void) other1057; +WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1048) { + (void) other1048; return *this; } void WMDropPoolResponse::printTo(std::ostream& out) const { @@ -26608,15 +26475,15 @@ void swap(WMCreateOrUpdateMappingRequest &a, WMCreateOrUpdateMappingRequest &b) swap(a.__isset, b.__isset); } -WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1058) { - mapping = other1058.mapping; - update = other1058.update; - __isset = other1058.__isset; +WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1049) { + mapping = other1049.mapping; + update = other1049.update; + __isset = other1049.__isset; } -WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1059) { - mapping = other1059.mapping; - update = other1059.update; - __isset = other1059.__isset; +WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1050) { + mapping = other1050.mapping; + update = other1050.update; + __isset = other1050.__isset; return *this; } void WMCreateOrUpdateMappingRequest::printTo(std::ostream& out) const { @@ -26676,11 +26543,11 @@ void swap(WMCreateOrUpdateMappingResponse &a, WMCreateOrUpdateMappingResponse &b (void) b; } -WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1060) { - (void) other1060; +WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1051) { + (void) other1051; } -WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1061) { - (void) other1061; +WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1052) { + (void) other1052; return *this; } void WMCreateOrUpdateMappingResponse::printTo(std::ostream& out) const { @@ -26761,13 +26628,13 @@ void swap(WMDropMappingRequest &a, WMDropMappingRequest &b) { swap(a.__isset, b.__isset); } -WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1062) { - mapping = other1062.mapping; - __isset = other1062.__isset; +WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1053) { + mapping = other1053.mapping; + __isset = other1053.__isset; } -WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1063) { - mapping = other1063.mapping; - __isset = other1063.__isset; +WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1054) { + mapping = other1054.mapping; + __isset = other1054.__isset; return *this; } void WMDropMappingRequest::printTo(std::ostream& out) const { @@ -26826,11 +26693,11 @@ void swap(WMDropMappingResponse &a, WMDropMappingResponse &b) { (void) b; } -WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1064) { - (void) other1064; +WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1055) { + (void) other1055; } -WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1065) { - (void) other1065; +WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1056) { + (void) other1056; return *this; } void WMDropMappingResponse::printTo(std::ostream& out) const { @@ -26968,19 +26835,19 @@ void swap(WMCreateOrDropTriggerToPoolMappingRequest &a, WMCreateOrDropTriggerToP swap(a.__isset, b.__isset); } -WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1066) { - resourcePlanName = other1066.resourcePlanName; - triggerName = other1066.triggerName; - poolPath = other1066.poolPath; - drop = other1066.drop; - __isset = other1066.__isset; +WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1057) { + resourcePlanName = other1057.resourcePlanName; + triggerName = other1057.triggerName; + poolPath = other1057.poolPath; + drop = other1057.drop; + __isset = other1057.__isset; } -WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1067) { - resourcePlanName = other1067.resourcePlanName; - triggerName = other1067.triggerName; - poolPath = other1067.poolPath; - drop = other1067.drop; - __isset = other1067.__isset; +WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1058) { + resourcePlanName = other1058.resourcePlanName; + triggerName = other1058.triggerName; + poolPath = other1058.poolPath; + drop = other1058.drop; + __isset = other1058.__isset; return *this; } void WMCreateOrDropTriggerToPoolMappingRequest::printTo(std::ostream& out) const { @@ -27042,11 +26909,11 @@ void swap(WMCreateOrDropTriggerToPoolMappingResponse &a, WMCreateOrDropTriggerTo (void) b; } -WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1068) { - (void) other1068; +WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1059) { + (void) other1059; } -WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1069) { - (void) other1069; +WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1060) { + (void) other1060; return *this; } void WMCreateOrDropTriggerToPoolMappingResponse::printTo(std::ostream& out) const { @@ -27117,9 +26984,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1070; - xfer += iprot->readI32(ecast1070); - this->schemaType = (SchemaType::type)ecast1070; + int32_t ecast1061; + xfer += iprot->readI32(ecast1061); + this->schemaType = (SchemaType::type)ecast1061; this->__isset.schemaType = true; } else { xfer += iprot->skip(ftype); @@ -27143,9 +27010,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1071; - xfer += iprot->readI32(ecast1071); - this->compatibility = (SchemaCompatibility::type)ecast1071; + int32_t ecast1062; + xfer += iprot->readI32(ecast1062); + this->compatibility = (SchemaCompatibility::type)ecast1062; this->__isset.compatibility = true; } else { xfer += iprot->skip(ftype); @@ -27153,9 +27020,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1072; - xfer += iprot->readI32(ecast1072); - this->validationLevel = (SchemaValidation::type)ecast1072; + int32_t ecast1063; + xfer += iprot->readI32(ecast1063); + this->validationLevel = (SchemaValidation::type)ecast1063; this->__isset.validationLevel = true; } else { xfer += iprot->skip(ftype); @@ -27254,27 +27121,27 @@ void swap(ISchema &a, ISchema &b) { swap(a.__isset, b.__isset); } -ISchema::ISchema(const ISchema& other1073) { - schemaType = other1073.schemaType; - name = other1073.name; - dbName = other1073.dbName; - compatibility = other1073.compatibility; - validationLevel = other1073.validationLevel; - canEvolve = other1073.canEvolve; - schemaGroup = other1073.schemaGroup; - description = other1073.description; - __isset = other1073.__isset; -} -ISchema& ISchema::operator=(const ISchema& other1074) { - schemaType = other1074.schemaType; - name = other1074.name; - dbName = other1074.dbName; - compatibility = other1074.compatibility; - validationLevel = other1074.validationLevel; - canEvolve = other1074.canEvolve; - schemaGroup = other1074.schemaGroup; - description = other1074.description; - __isset = other1074.__isset; +ISchema::ISchema(const ISchema& other1064) { + schemaType = other1064.schemaType; + name = other1064.name; + dbName = other1064.dbName; + compatibility = other1064.compatibility; + validationLevel = other1064.validationLevel; + canEvolve = other1064.canEvolve; + schemaGroup = other1064.schemaGroup; + description = other1064.description; + __isset = other1064.__isset; +} +ISchema& ISchema::operator=(const ISchema& other1065) { + schemaType = other1065.schemaType; + name = other1065.name; + dbName = other1065.dbName; + compatibility = other1065.compatibility; + validationLevel = other1065.validationLevel; + canEvolve = other1065.canEvolve; + schemaGroup = other1065.schemaGroup; + description = other1065.description; + __isset = other1065.__isset; return *this; } void ISchema::printTo(std::ostream& out) const { @@ -27378,15 +27245,15 @@ void swap(ISchemaName &a, ISchemaName &b) { swap(a.__isset, b.__isset); } -ISchemaName::ISchemaName(const ISchemaName& other1075) { - dbName = other1075.dbName; - schemaName = other1075.schemaName; - __isset = other1075.__isset; +ISchemaName::ISchemaName(const ISchemaName& other1066) { + dbName = other1066.dbName; + schemaName = other1066.schemaName; + __isset = other1066.__isset; } -ISchemaName& ISchemaName::operator=(const ISchemaName& other1076) { - dbName = other1076.dbName; - schemaName = other1076.schemaName; - __isset = other1076.__isset; +ISchemaName& ISchemaName::operator=(const ISchemaName& other1067) { + dbName = other1067.dbName; + schemaName = other1067.schemaName; + __isset = other1067.__isset; return *this; } void ISchemaName::printTo(std::ostream& out) const { @@ -27484,15 +27351,15 @@ void swap(AlterISchemaRequest &a, AlterISchemaRequest &b) { swap(a.__isset, b.__isset); } -AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1077) { - name = other1077.name; - newSchema = other1077.newSchema; - __isset = other1077.__isset; +AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1068) { + name = other1068.name; + newSchema = other1068.newSchema; + __isset = other1068.__isset; } -AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1078) { - name = other1078.name; - newSchema = other1078.newSchema; - __isset = other1078.__isset; +AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1069) { + name = other1069.name; + newSchema = other1069.newSchema; + __isset = other1069.__isset; return *this; } void AlterISchemaRequest::printTo(std::ostream& out) const { @@ -27603,14 +27470,14 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->cols.clear(); - uint32_t _size1079; - ::apache::thrift::protocol::TType _etype1082; - xfer += iprot->readListBegin(_etype1082, _size1079); - this->cols.resize(_size1079); - uint32_t _i1083; - for (_i1083 = 0; _i1083 < _size1079; ++_i1083) + uint32_t _size1070; + ::apache::thrift::protocol::TType _etype1073; + xfer += iprot->readListBegin(_etype1073, _size1070); + this->cols.resize(_size1070); + uint32_t _i1074; + for (_i1074 = 0; _i1074 < _size1070; ++_i1074) { - xfer += this->cols[_i1083].read(iprot); + xfer += this->cols[_i1074].read(iprot); } xfer += iprot->readListEnd(); } @@ -27621,9 +27488,9 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1084; - xfer += iprot->readI32(ecast1084); - this->state = (SchemaVersionState::type)ecast1084; + int32_t ecast1075; + xfer += iprot->readI32(ecast1075); + this->state = (SchemaVersionState::type)ecast1075; this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -27701,10 +27568,10 @@ uint32_t SchemaVersion::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldBegin("cols", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->cols.size())); - std::vector ::const_iterator _iter1085; - for (_iter1085 = this->cols.begin(); _iter1085 != this->cols.end(); ++_iter1085) + std::vector ::const_iterator _iter1076; + for (_iter1076 = this->cols.begin(); _iter1076 != this->cols.end(); ++_iter1076) { - xfer += (*_iter1085).write(oprot); + xfer += (*_iter1076).write(oprot); } xfer += oprot->writeListEnd(); } @@ -27760,31 +27627,31 @@ void swap(SchemaVersion &a, SchemaVersion &b) { swap(a.__isset, b.__isset); } -SchemaVersion::SchemaVersion(const SchemaVersion& other1086) { - schema = other1086.schema; - version = other1086.version; - createdAt = other1086.createdAt; - cols = other1086.cols; - state = other1086.state; - description = other1086.description; - schemaText = other1086.schemaText; - fingerprint = other1086.fingerprint; - name = other1086.name; - serDe = other1086.serDe; - __isset = other1086.__isset; -} -SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1087) { - schema = other1087.schema; - version = other1087.version; - createdAt = other1087.createdAt; - cols = other1087.cols; - state = other1087.state; - description = other1087.description; - schemaText = other1087.schemaText; - fingerprint = other1087.fingerprint; - name = other1087.name; - serDe = other1087.serDe; - __isset = other1087.__isset; +SchemaVersion::SchemaVersion(const SchemaVersion& other1077) { + schema = other1077.schema; + version = other1077.version; + createdAt = other1077.createdAt; + cols = other1077.cols; + state = other1077.state; + description = other1077.description; + schemaText = other1077.schemaText; + fingerprint = other1077.fingerprint; + name = other1077.name; + serDe = other1077.serDe; + __isset = other1077.__isset; +} +SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1078) { + schema = other1078.schema; + version = other1078.version; + createdAt = other1078.createdAt; + cols = other1078.cols; + state = other1078.state; + description = other1078.description; + schemaText = other1078.schemaText; + fingerprint = other1078.fingerprint; + name = other1078.name; + serDe = other1078.serDe; + __isset = other1078.__isset; return *this; } void SchemaVersion::printTo(std::ostream& out) const { @@ -27890,15 +27757,15 @@ void swap(SchemaVersionDescriptor &a, SchemaVersionDescriptor &b) { swap(a.__isset, b.__isset); } -SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1088) { - schema = other1088.schema; - version = other1088.version; - __isset = other1088.__isset; +SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1079) { + schema = other1079.schema; + version = other1079.version; + __isset = other1079.__isset; } -SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1089) { - schema = other1089.schema; - version = other1089.version; - __isset = other1089.__isset; +SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1080) { + schema = other1080.schema; + version = other1080.version; + __isset = other1080.__isset; return *this; } void SchemaVersionDescriptor::printTo(std::ostream& out) const { @@ -28019,17 +27886,17 @@ void swap(FindSchemasByColsRqst &a, FindSchemasByColsRqst &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1090) { - colName = other1090.colName; - colNamespace = other1090.colNamespace; - type = other1090.type; - __isset = other1090.__isset; +FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1081) { + colName = other1081.colName; + colNamespace = other1081.colNamespace; + type = other1081.type; + __isset = other1081.__isset; } -FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1091) { - colName = other1091.colName; - colNamespace = other1091.colNamespace; - type = other1091.type; - __isset = other1091.__isset; +FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1082) { + colName = other1082.colName; + colNamespace = other1082.colNamespace; + type = other1082.type; + __isset = other1082.__isset; return *this; } void FindSchemasByColsRqst::printTo(std::ostream& out) const { @@ -28075,14 +27942,14 @@ uint32_t FindSchemasByColsResp::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->schemaVersions.clear(); - uint32_t _size1092; - ::apache::thrift::protocol::TType _etype1095; - xfer += iprot->readListBegin(_etype1095, _size1092); - this->schemaVersions.resize(_size1092); - uint32_t _i1096; - for (_i1096 = 0; _i1096 < _size1092; ++_i1096) + uint32_t _size1083; + ::apache::thrift::protocol::TType _etype1086; + xfer += iprot->readListBegin(_etype1086, _size1083); + this->schemaVersions.resize(_size1083); + uint32_t _i1087; + for (_i1087 = 0; _i1087 < _size1083; ++_i1087) { - xfer += this->schemaVersions[_i1096].read(iprot); + xfer += this->schemaVersions[_i1087].read(iprot); } xfer += iprot->readListEnd(); } @@ -28111,10 +27978,10 @@ uint32_t FindSchemasByColsResp::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("schemaVersions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->schemaVersions.size())); - std::vector ::const_iterator _iter1097; - for (_iter1097 = this->schemaVersions.begin(); _iter1097 != this->schemaVersions.end(); ++_iter1097) + std::vector ::const_iterator _iter1088; + for (_iter1088 = this->schemaVersions.begin(); _iter1088 != this->schemaVersions.end(); ++_iter1088) { - xfer += (*_iter1097).write(oprot); + xfer += (*_iter1088).write(oprot); } xfer += oprot->writeListEnd(); } @@ -28131,13 +27998,13 @@ void swap(FindSchemasByColsResp &a, FindSchemasByColsResp &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1098) { - schemaVersions = other1098.schemaVersions; - __isset = other1098.__isset; +FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1089) { + schemaVersions = other1089.schemaVersions; + __isset = other1089.__isset; } -FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1099) { - schemaVersions = other1099.schemaVersions; - __isset = other1099.__isset; +FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1090) { + schemaVersions = other1090.schemaVersions; + __isset = other1090.__isset; return *this; } void FindSchemasByColsResp::printTo(std::ostream& out) const { @@ -28234,15 +28101,15 @@ void swap(MapSchemaVersionToSerdeRequest &a, MapSchemaVersionToSerdeRequest &b) swap(a.__isset, b.__isset); } -MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1100) { - schemaVersion = other1100.schemaVersion; - serdeName = other1100.serdeName; - __isset = other1100.__isset; +MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1091) { + schemaVersion = other1091.schemaVersion; + serdeName = other1091.serdeName; + __isset = other1091.__isset; } -MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1101) { - schemaVersion = other1101.schemaVersion; - serdeName = other1101.serdeName; - __isset = other1101.__isset; +MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1092) { + schemaVersion = other1092.schemaVersion; + serdeName = other1092.serdeName; + __isset = other1092.__isset; return *this; } void MapSchemaVersionToSerdeRequest::printTo(std::ostream& out) const { @@ -28297,9 +28164,9 @@ uint32_t SetSchemaVersionStateRequest::read(::apache::thrift::protocol::TProtoco break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1102; - xfer += iprot->readI32(ecast1102); - this->state = (SchemaVersionState::type)ecast1102; + int32_t ecast1093; + xfer += iprot->readI32(ecast1093); + this->state = (SchemaVersionState::type)ecast1093; this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -28342,15 +28209,15 @@ void swap(SetSchemaVersionStateRequest &a, SetSchemaVersionStateRequest &b) { swap(a.__isset, b.__isset); } -SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1103) { - schemaVersion = other1103.schemaVersion; - state = other1103.state; - __isset = other1103.__isset; +SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1094) { + schemaVersion = other1094.schemaVersion; + state = other1094.state; + __isset = other1094.__isset; } -SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1104) { - schemaVersion = other1104.schemaVersion; - state = other1104.state; - __isset = other1104.__isset; +SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1095) { + schemaVersion = other1095.schemaVersion; + state = other1095.state; + __isset = other1095.__isset; return *this; } void SetSchemaVersionStateRequest::printTo(std::ostream& out) const { @@ -28431,13 +28298,13 @@ void swap(GetSerdeRequest &a, GetSerdeRequest &b) { swap(a.__isset, b.__isset); } -GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1105) { - serdeName = other1105.serdeName; - __isset = other1105.__isset; +GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1096) { + serdeName = other1096.serdeName; + __isset = other1096.__isset; } -GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1106) { - serdeName = other1106.serdeName; - __isset = other1106.__isset; +GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1097) { + serdeName = other1097.serdeName; + __isset = other1097.__isset; return *this; } void GetSerdeRequest::printTo(std::ostream& out) const { @@ -28517,13 +28384,13 @@ void swap(MetaException &a, MetaException &b) { swap(a.__isset, b.__isset); } -MetaException::MetaException(const MetaException& other1107) : TException() { - message = other1107.message; - __isset = other1107.__isset; +MetaException::MetaException(const MetaException& other1098) : TException() { + message = other1098.message; + __isset = other1098.__isset; } -MetaException& MetaException::operator=(const MetaException& other1108) { - message = other1108.message; - __isset = other1108.__isset; +MetaException& MetaException::operator=(const MetaException& other1099) { + message = other1099.message; + __isset = other1099.__isset; return *this; } void MetaException::printTo(std::ostream& out) const { @@ -28614,13 +28481,13 @@ void swap(UnknownTableException &a, UnknownTableException &b) { swap(a.__isset, b.__isset); } -UnknownTableException::UnknownTableException(const UnknownTableException& other1109) : TException() { - message = other1109.message; - __isset = other1109.__isset; +UnknownTableException::UnknownTableException(const UnknownTableException& other1100) : TException() { + message = other1100.message; + __isset = other1100.__isset; } -UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1110) { - message = other1110.message; - __isset = other1110.__isset; +UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1101) { + message = other1101.message; + __isset = other1101.__isset; return *this; } void UnknownTableException::printTo(std::ostream& out) const { @@ -28711,13 +28578,13 @@ void swap(UnknownDBException &a, UnknownDBException &b) { swap(a.__isset, b.__isset); } -UnknownDBException::UnknownDBException(const UnknownDBException& other1111) : TException() { - message = other1111.message; - __isset = other1111.__isset; +UnknownDBException::UnknownDBException(const UnknownDBException& other1102) : TException() { + message = other1102.message; + __isset = other1102.__isset; } -UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1112) { - message = other1112.message; - __isset = other1112.__isset; +UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1103) { + message = other1103.message; + __isset = other1103.__isset; return *this; } void UnknownDBException::printTo(std::ostream& out) const { @@ -28808,13 +28675,13 @@ void swap(AlreadyExistsException &a, AlreadyExistsException &b) { swap(a.__isset, b.__isset); } -AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1113) : TException() { - message = other1113.message; - __isset = other1113.__isset; +AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1104) : TException() { + message = other1104.message; + __isset = other1104.__isset; } -AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1114) { - message = other1114.message; - __isset = other1114.__isset; +AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1105) { + message = other1105.message; + __isset = other1105.__isset; return *this; } void AlreadyExistsException::printTo(std::ostream& out) const { @@ -28905,13 +28772,13 @@ void swap(InvalidPartitionException &a, InvalidPartitionException &b) { swap(a.__isset, b.__isset); } -InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1115) : TException() { - message = other1115.message; - __isset = other1115.__isset; +InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1106) : TException() { + message = other1106.message; + __isset = other1106.__isset; } -InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1116) { - message = other1116.message; - __isset = other1116.__isset; +InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1107) { + message = other1107.message; + __isset = other1107.__isset; return *this; } void InvalidPartitionException::printTo(std::ostream& out) const { @@ -29002,13 +28869,13 @@ void swap(UnknownPartitionException &a, UnknownPartitionException &b) { swap(a.__isset, b.__isset); } -UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1117) : TException() { - message = other1117.message; - __isset = other1117.__isset; +UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1108) : TException() { + message = other1108.message; + __isset = other1108.__isset; } -UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1118) { - message = other1118.message; - __isset = other1118.__isset; +UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1109) { + message = other1109.message; + __isset = other1109.__isset; return *this; } void UnknownPartitionException::printTo(std::ostream& out) const { @@ -29099,13 +28966,13 @@ void swap(InvalidObjectException &a, InvalidObjectException &b) { swap(a.__isset, b.__isset); } -InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1119) : TException() { - message = other1119.message; - __isset = other1119.__isset; +InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1110) : TException() { + message = other1110.message; + __isset = other1110.__isset; } -InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1120) { - message = other1120.message; - __isset = other1120.__isset; +InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1111) { + message = other1111.message; + __isset = other1111.__isset; return *this; } void InvalidObjectException::printTo(std::ostream& out) const { @@ -29196,13 +29063,13 @@ void swap(NoSuchObjectException &a, NoSuchObjectException &b) { swap(a.__isset, b.__isset); } -NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1121) : TException() { - message = other1121.message; - __isset = other1121.__isset; +NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1112) : TException() { + message = other1112.message; + __isset = other1112.__isset; } -NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1122) { - message = other1122.message; - __isset = other1122.__isset; +NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1113) { + message = other1113.message; + __isset = other1113.__isset; return *this; } void NoSuchObjectException::printTo(std::ostream& out) const { @@ -29293,13 +29160,13 @@ void swap(InvalidOperationException &a, InvalidOperationException &b) { swap(a.__isset, b.__isset); } -InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1123) : TException() { - message = other1123.message; - __isset = other1123.__isset; +InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1114) : TException() { + message = other1114.message; + __isset = other1114.__isset; } -InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1124) { - message = other1124.message; - __isset = other1124.__isset; +InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1115) { + message = other1115.message; + __isset = other1115.__isset; return *this; } void InvalidOperationException::printTo(std::ostream& out) const { @@ -29390,13 +29257,13 @@ void swap(ConfigValSecurityException &a, ConfigValSecurityException &b) { swap(a.__isset, b.__isset); } -ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1125) : TException() { - message = other1125.message; - __isset = other1125.__isset; +ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1116) : TException() { + message = other1116.message; + __isset = other1116.__isset; } -ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1126) { - message = other1126.message; - __isset = other1126.__isset; +ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1117) { + message = other1117.message; + __isset = other1117.__isset; return *this; } void ConfigValSecurityException::printTo(std::ostream& out) const { @@ -29487,13 +29354,13 @@ void swap(InvalidInputException &a, InvalidInputException &b) { swap(a.__isset, b.__isset); } -InvalidInputException::InvalidInputException(const InvalidInputException& other1127) : TException() { - message = other1127.message; - __isset = other1127.__isset; +InvalidInputException::InvalidInputException(const InvalidInputException& other1118) : TException() { + message = other1118.message; + __isset = other1118.__isset; } -InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1128) { - message = other1128.message; - __isset = other1128.__isset; +InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1119) { + message = other1119.message; + __isset = other1119.__isset; return *this; } void InvalidInputException::printTo(std::ostream& out) const { @@ -29584,13 +29451,13 @@ void swap(NoSuchTxnException &a, NoSuchTxnException &b) { swap(a.__isset, b.__isset); } -NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1129) : TException() { - message = other1129.message; - __isset = other1129.__isset; +NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1120) : TException() { + message = other1120.message; + __isset = other1120.__isset; } -NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1130) { - message = other1130.message; - __isset = other1130.__isset; +NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1121) { + message = other1121.message; + __isset = other1121.__isset; return *this; } void NoSuchTxnException::printTo(std::ostream& out) const { @@ -29681,13 +29548,13 @@ void swap(TxnAbortedException &a, TxnAbortedException &b) { swap(a.__isset, b.__isset); } -TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1131) : TException() { - message = other1131.message; - __isset = other1131.__isset; +TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1122) : TException() { + message = other1122.message; + __isset = other1122.__isset; } -TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1132) { - message = other1132.message; - __isset = other1132.__isset; +TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1123) { + message = other1123.message; + __isset = other1123.__isset; return *this; } void TxnAbortedException::printTo(std::ostream& out) const { @@ -29778,13 +29645,13 @@ void swap(TxnOpenException &a, TxnOpenException &b) { swap(a.__isset, b.__isset); } -TxnOpenException::TxnOpenException(const TxnOpenException& other1133) : TException() { - message = other1133.message; - __isset = other1133.__isset; +TxnOpenException::TxnOpenException(const TxnOpenException& other1124) : TException() { + message = other1124.message; + __isset = other1124.__isset; } -TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1134) { - message = other1134.message; - __isset = other1134.__isset; +TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1125) { + message = other1125.message; + __isset = other1125.__isset; return *this; } void TxnOpenException::printTo(std::ostream& out) const { @@ -29875,13 +29742,13 @@ void swap(NoSuchLockException &a, NoSuchLockException &b) { swap(a.__isset, b.__isset); } -NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1135) : TException() { - message = other1135.message; - __isset = other1135.__isset; +NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1126) : TException() { + message = other1126.message; + __isset = other1126.__isset; } -NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1136) { - message = other1136.message; - __isset = other1136.__isset; +NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1127) { + message = other1127.message; + __isset = other1127.__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 05a7a29fcc..9a7b7f884e 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 @@ -533,8 +533,6 @@ class CmRecycleResponse; class TableMeta; -class Materialization; - class WMResourcePlan; class WMNullableResourcePlan; @@ -7698,8 +7696,9 @@ inline std::ostream& operator<<(std::ostream& out, const BasicTxnInfo& obj) } typedef struct _CreationMetadata__isset { - _CreationMetadata__isset() : validTxnList(false) {} + _CreationMetadata__isset() : validTxnList(false), materializationTime(false) {} bool validTxnList :1; + bool materializationTime :1; } _CreationMetadata__isset; class CreationMetadata { @@ -7707,7 +7706,7 @@ class CreationMetadata { CreationMetadata(const CreationMetadata&); CreationMetadata& operator=(const CreationMetadata&); - CreationMetadata() : dbName(), tblName(), validTxnList() { + CreationMetadata() : dbName(), tblName(), validTxnList(), materializationTime(0) { } virtual ~CreationMetadata() throw(); @@ -7715,6 +7714,7 @@ class CreationMetadata { std::string tblName; std::set tablesUsed; std::string validTxnList; + int64_t materializationTime; _CreationMetadata__isset __isset; @@ -7726,6 +7726,8 @@ class CreationMetadata { void __set_validTxnList(const std::string& val); + void __set_materializationTime(const int64_t val); + bool operator == (const CreationMetadata & rhs) const { if (!(dbName == rhs.dbName)) @@ -7738,6 +7740,10 @@ class CreationMetadata { return false; else if (__isset.validTxnList && !(validTxnList == rhs.validTxnList)) return false; + if (__isset.materializationTime != rhs.__isset.materializationTime) + return false; + else if (__isset.materializationTime && !(materializationTime == rhs.materializationTime)) + return false; return true; } bool operator != (const CreationMetadata &rhs) const { @@ -9234,64 +9240,6 @@ inline std::ostream& operator<<(std::ostream& out, const TableMeta& obj) return out; } -typedef struct _Materialization__isset { - _Materialization__isset() : validTxnList(false) {} - bool validTxnList :1; -} _Materialization__isset; - -class Materialization { - public: - - Materialization(const Materialization&); - Materialization& operator=(const Materialization&); - Materialization() : validTxnList(), invalidationTime(0) { - } - - virtual ~Materialization() throw(); - std::set tablesUsed; - std::string validTxnList; - int64_t invalidationTime; - - _Materialization__isset __isset; - - void __set_tablesUsed(const std::set & val); - - void __set_validTxnList(const std::string& val); - - void __set_invalidationTime(const int64_t val); - - bool operator == (const Materialization & rhs) const - { - if (!(tablesUsed == rhs.tablesUsed)) - return false; - if (__isset.validTxnList != rhs.__isset.validTxnList) - return false; - else if (__isset.validTxnList && !(validTxnList == rhs.validTxnList)) - return false; - if (!(invalidationTime == rhs.invalidationTime)) - return false; - return true; - } - bool operator != (const Materialization &rhs) const { - return !(*this == rhs); - } - - bool operator < (const Materialization & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - - virtual void printTo(std::ostream& out) const; -}; - -void swap(Materialization &a, Materialization &b); - -inline std::ostream& operator<<(std::ostream& out, const Materialization& obj) -{ - obj.printTo(out); - return out; -} - typedef struct _WMResourcePlan__isset { _WMResourcePlan__isset() : status(false), queryParallelism(false), defaultPoolPath(false) {} bool status :1; 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 ed89b2e938..78f94c2f37 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 @@ -42,6 +42,7 @@ private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tblName", org.apache.thrift.protocol.TType.STRING, (short)2); private static final org.apache.thrift.protocol.TField TABLES_USED_FIELD_DESC = new org.apache.thrift.protocol.TField("tablesUsed", org.apache.thrift.protocol.TType.SET, (short)3); private static final org.apache.thrift.protocol.TField VALID_TXN_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("validTxnList", org.apache.thrift.protocol.TType.STRING, (short)4); + private static final org.apache.thrift.protocol.TField MATERIALIZATION_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("materializationTime", org.apache.thrift.protocol.TType.I64, (short)5); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -53,13 +54,15 @@ private String tblName; // required private Set tablesUsed; // required private String validTxnList; // optional + private long materializationTime; // 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 { DB_NAME((short)1, "dbName"), TBL_NAME((short)2, "tblName"), TABLES_USED((short)3, "tablesUsed"), - VALID_TXN_LIST((short)4, "validTxnList"); + VALID_TXN_LIST((short)4, "validTxnList"), + MATERIALIZATION_TIME((short)5, "materializationTime"); private static final Map byName = new HashMap(); @@ -82,6 +85,8 @@ public static _Fields findByThriftId(int fieldId) { return TABLES_USED; case 4: // VALID_TXN_LIST return VALID_TXN_LIST; + case 5: // MATERIALIZATION_TIME + return MATERIALIZATION_TIME; default: return null; } @@ -122,7 +127,9 @@ public String getFieldName() { } // isset id assignments - private static final _Fields optionals[] = {_Fields.VALID_TXN_LIST}; + private static final int __MATERIALIZATIONTIME_ISSET_ID = 0; + private byte __isset_bitfield = 0; + private static final _Fields optionals[] = {_Fields.VALID_TXN_LIST,_Fields.MATERIALIZATION_TIME}; 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); @@ -135,6 +142,8 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); tmpMap.put(_Fields.VALID_TXN_LIST, new org.apache.thrift.meta_data.FieldMetaData("validTxnList", org.apache.thrift.TFieldRequirementType.OPTIONAL, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.MATERIALIZATION_TIME, new org.apache.thrift.meta_data.FieldMetaData("materializationTime", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(CreationMetadata.class, metaDataMap); } @@ -157,6 +166,7 @@ public CreationMetadata( * Performs a deep copy on other. */ public CreationMetadata(CreationMetadata other) { + __isset_bitfield = other.__isset_bitfield; if (other.isSetDbName()) { this.dbName = other.dbName; } @@ -170,6 +180,7 @@ public CreationMetadata(CreationMetadata other) { if (other.isSetValidTxnList()) { this.validTxnList = other.validTxnList; } + this.materializationTime = other.materializationTime; } public CreationMetadata deepCopy() { @@ -182,6 +193,8 @@ public void clear() { this.tblName = null; this.tablesUsed = null; this.validTxnList = null; + setMaterializationTimeIsSet(false); + this.materializationTime = 0; } public String getDbName() { @@ -291,6 +304,28 @@ public void setValidTxnListIsSet(boolean value) { } } + public long getMaterializationTime() { + return this.materializationTime; + } + + public void setMaterializationTime(long materializationTime) { + this.materializationTime = materializationTime; + setMaterializationTimeIsSet(true); + } + + public void unsetMaterializationTime() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __MATERIALIZATIONTIME_ISSET_ID); + } + + /** Returns true if field materializationTime is set (has been assigned a value) and false otherwise */ + public boolean isSetMaterializationTime() { + return EncodingUtils.testBit(__isset_bitfield, __MATERIALIZATIONTIME_ISSET_ID); + } + + public void setMaterializationTimeIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MATERIALIZATIONTIME_ISSET_ID, value); + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case DB_NAME: @@ -325,6 +360,14 @@ public void setFieldValue(_Fields field, Object value) { } break; + case MATERIALIZATION_TIME: + if (value == null) { + unsetMaterializationTime(); + } else { + setMaterializationTime((Long)value); + } + break; + } } @@ -342,6 +385,9 @@ public Object getFieldValue(_Fields field) { case VALID_TXN_LIST: return getValidTxnList(); + case MATERIALIZATION_TIME: + return getMaterializationTime(); + } throw new IllegalStateException(); } @@ -361,6 +407,8 @@ public boolean isSet(_Fields field) { return isSetTablesUsed(); case VALID_TXN_LIST: return isSetValidTxnList(); + case MATERIALIZATION_TIME: + return isSetMaterializationTime(); } throw new IllegalStateException(); } @@ -414,6 +462,15 @@ public boolean equals(CreationMetadata that) { return false; } + boolean this_present_materializationTime = true && this.isSetMaterializationTime(); + boolean that_present_materializationTime = true && that.isSetMaterializationTime(); + if (this_present_materializationTime || that_present_materializationTime) { + if (!(this_present_materializationTime && that_present_materializationTime)) + return false; + if (this.materializationTime != that.materializationTime) + return false; + } + return true; } @@ -441,6 +498,11 @@ public int hashCode() { if (present_validTxnList) list.add(validTxnList); + boolean present_materializationTime = true && (isSetMaterializationTime()); + list.add(present_materializationTime); + if (present_materializationTime) + list.add(materializationTime); + return list.hashCode(); } @@ -492,6 +554,16 @@ public int compareTo(CreationMetadata other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetMaterializationTime()).compareTo(other.isSetMaterializationTime()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetMaterializationTime()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.materializationTime, other.materializationTime); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -545,6 +617,12 @@ public String toString() { } first = false; } + if (isSetMaterializationTime()) { + if (!first) sb.append(", "); + sb.append("materializationTime:"); + sb.append(this.materializationTime); + first = false; + } sb.append(")"); return sb.toString(); } @@ -576,6 +654,8 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); } catch (org.apache.thrift.TException te) { throw new java.io.IOException(te); @@ -642,6 +722,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreationMetadata st org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 5: // MATERIALIZATION_TIME + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.materializationTime = iprot.readI64(); + struct.setMaterializationTimeIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -684,6 +772,11 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CreationMetadata s oprot.writeFieldEnd(); } } + if (struct.isSetMaterializationTime()) { + oprot.writeFieldBegin(MATERIALIZATION_TIME_FIELD_DESC); + oprot.writeI64(struct.materializationTime); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -714,10 +807,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CreationMetadata st if (struct.isSetValidTxnList()) { optionals.set(0); } - oprot.writeBitSet(optionals, 1); + if (struct.isSetMaterializationTime()) { + optionals.set(1); + } + oprot.writeBitSet(optionals, 2); if (struct.isSetValidTxnList()) { oprot.writeString(struct.validTxnList); } + if (struct.isSetMaterializationTime()) { + oprot.writeI64(struct.materializationTime); + } } @Override @@ -738,11 +837,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CreationMetadata str } } struct.setTablesUsedIsSet(true); - BitSet incoming = iprot.readBitSet(1); + BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.validTxnList = iprot.readString(); struct.setValidTxnListIsSet(true); } + if (incoming.get(1)) { + struct.materializationTime = iprot.readI64(); + struct.setMaterializationTimeIsSet(true); + } } } diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java index 01bc32d70b..a7d5e9e1ae 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java @@ -350,14 +350,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FindSchemasByColsRe case 1: // SCHEMA_VERSIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list872 = iprot.readListBegin(); - struct.schemaVersions = new ArrayList(_list872.size); - SchemaVersionDescriptor _elem873; - for (int _i874 = 0; _i874 < _list872.size; ++_i874) + org.apache.thrift.protocol.TList _list864 = iprot.readListBegin(); + struct.schemaVersions = new ArrayList(_list864.size); + SchemaVersionDescriptor _elem865; + for (int _i866 = 0; _i866 < _list864.size; ++_i866) { - _elem873 = new SchemaVersionDescriptor(); - _elem873.read(iprot); - struct.schemaVersions.add(_elem873); + _elem865 = new SchemaVersionDescriptor(); + _elem865.read(iprot); + struct.schemaVersions.add(_elem865); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FindSchemasByColsR oprot.writeFieldBegin(SCHEMA_VERSIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.schemaVersions.size())); - for (SchemaVersionDescriptor _iter875 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter867 : struct.schemaVersions) { - _iter875.write(oprot); + _iter867.write(oprot); } oprot.writeListEnd(); } @@ -416,9 +416,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FindSchemasByColsRe if (struct.isSetSchemaVersions()) { { oprot.writeI32(struct.schemaVersions.size()); - for (SchemaVersionDescriptor _iter876 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter868 : struct.schemaVersions) { - _iter876.write(oprot); + _iter868.write(oprot); } } } @@ -430,14 +430,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FindSchemasByColsRes BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list877 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.schemaVersions = new ArrayList(_list877.size); - SchemaVersionDescriptor _elem878; - for (int _i879 = 0; _i879 < _list877.size; ++_i879) + org.apache.thrift.protocol.TList _list869 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.schemaVersions = new ArrayList(_list869.size); + SchemaVersionDescriptor _elem870; + for (int _i871 = 0; _i871 < _list869.size; ++_i871) { - _elem878 = new SchemaVersionDescriptor(); - _elem878.read(iprot); - struct.schemaVersions.add(_elem878); + _elem870 = new SchemaVersionDescriptor(); + _elem870.read(iprot); + struct.schemaVersions.add(_elem870); } } struct.setSchemaVersionsIsSet(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 deleted file mode 100644 index dc6dc0d560..0000000000 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Materialization.java +++ /dev/null @@ -1,647 +0,0 @@ -/** - * Autogenerated by Thrift Compiler (0.9.3) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -package org.apache.hadoop.hive.metastore.api; - -import org.apache.thrift.scheme.IScheme; -import org.apache.thrift.scheme.SchemeFactory; -import org.apache.thrift.scheme.StandardScheme; - -import org.apache.thrift.scheme.TupleScheme; -import org.apache.thrift.protocol.TTupleProtocol; -import org.apache.thrift.protocol.TProtocolException; -import org.apache.thrift.EncodingUtils; -import org.apache.thrift.TException; -import org.apache.thrift.async.AsyncMethodCallback; -import org.apache.thrift.server.AbstractNonblockingServer.*; -import java.util.List; -import java.util.ArrayList; -import java.util.Map; -import java.util.HashMap; -import java.util.EnumMap; -import java.util.Set; -import java.util.HashSet; -import java.util.EnumSet; -import java.util.Collections; -import java.util.BitSet; -import java.nio.ByteBuffer; -import java.util.Arrays; -import javax.annotation.Generated; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)") -@org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public class Materialization implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Materialization"); - - private static final org.apache.thrift.protocol.TField TABLES_USED_FIELD_DESC = new org.apache.thrift.protocol.TField("tablesUsed", org.apache.thrift.protocol.TType.SET, (short)1); - private static final org.apache.thrift.protocol.TField VALID_TXN_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("validTxnList", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField INVALIDATION_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("invalidationTime", org.apache.thrift.protocol.TType.I64, (short)3); - - private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); - static { - schemes.put(StandardScheme.class, new MaterializationStandardSchemeFactory()); - schemes.put(TupleScheme.class, new MaterializationTupleSchemeFactory()); - } - - private Set tablesUsed; // required - private String validTxnList; // optional - private long invalidationTime; // required - - /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { - TABLES_USED((short)1, "tablesUsed"), - VALID_TXN_LIST((short)2, "validTxnList"), - INVALIDATION_TIME((short)3, "invalidationTime"); - - private static final Map byName = new HashMap(); - - static { - for (_Fields field : EnumSet.allOf(_Fields.class)) { - byName.put(field.getFieldName(), field); - } - } - - /** - * Find the _Fields constant that matches fieldId, or null if its not found. - */ - public static _Fields findByThriftId(int fieldId) { - switch(fieldId) { - case 1: // TABLES_USED - return TABLES_USED; - case 2: // VALID_TXN_LIST - return VALID_TXN_LIST; - case 3: // INVALIDATION_TIME - return INVALIDATION_TIME; - default: - return null; - } - } - - /** - * Find the _Fields constant that matches fieldId, throwing an exception - * if it is not found. - */ - public static _Fields findByThriftIdOrThrow(int fieldId) { - _Fields fields = findByThriftId(fieldId); - if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); - return fields; - } - - /** - * Find the _Fields constant that matches name, or null if its not found. - */ - public static _Fields findByName(String name) { - return byName.get(name); - } - - private final short _thriftId; - private final String _fieldName; - - _Fields(short thriftId, String fieldName) { - _thriftId = thriftId; - _fieldName = fieldName; - } - - public short getThriftFieldId() { - return _thriftId; - } - - public String getFieldName() { - return _fieldName; - } - } - - // isset id assignments - private static final int __INVALIDATIONTIME_ISSET_ID = 0; - private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.VALID_TXN_LIST}; - 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.TABLES_USED, new org.apache.thrift.meta_data.FieldMetaData("tablesUsed", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.SetMetaData(org.apache.thrift.protocol.TType.SET, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.VALID_TXN_LIST, new org.apache.thrift.meta_data.FieldMetaData("validTxnList", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.INVALIDATION_TIME, new org.apache.thrift.meta_data.FieldMetaData("invalidationTime", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Materialization.class, metaDataMap); - } - - public Materialization() { - } - - public Materialization( - Set tablesUsed, - long invalidationTime) - { - this(); - this.tablesUsed = tablesUsed; - this.invalidationTime = invalidationTime; - setInvalidationTimeIsSet(true); - } - - /** - * Performs a deep copy on other. - */ - public Materialization(Materialization other) { - __isset_bitfield = other.__isset_bitfield; - if (other.isSetTablesUsed()) { - Set __this__tablesUsed = new HashSet(other.tablesUsed); - this.tablesUsed = __this__tablesUsed; - } - if (other.isSetValidTxnList()) { - this.validTxnList = other.validTxnList; - } - this.invalidationTime = other.invalidationTime; - } - - public Materialization deepCopy() { - return new Materialization(this); - } - - @Override - public void clear() { - this.tablesUsed = null; - this.validTxnList = null; - setInvalidationTimeIsSet(false); - this.invalidationTime = 0; - } - - public int getTablesUsedSize() { - return (this.tablesUsed == null) ? 0 : this.tablesUsed.size(); - } - - public java.util.Iterator getTablesUsedIterator() { - return (this.tablesUsed == null) ? null : this.tablesUsed.iterator(); - } - - public void addToTablesUsed(String elem) { - if (this.tablesUsed == null) { - this.tablesUsed = new HashSet(); - } - this.tablesUsed.add(elem); - } - - public Set getTablesUsed() { - return this.tablesUsed; - } - - public void setTablesUsed(Set tablesUsed) { - this.tablesUsed = tablesUsed; - } - - public void unsetTablesUsed() { - this.tablesUsed = null; - } - - /** Returns true if field tablesUsed is set (has been assigned a value) and false otherwise */ - public boolean isSetTablesUsed() { - return this.tablesUsed != null; - } - - public void setTablesUsedIsSet(boolean value) { - if (!value) { - this.tablesUsed = null; - } - } - - public String getValidTxnList() { - return this.validTxnList; - } - - public void setValidTxnList(String validTxnList) { - this.validTxnList = validTxnList; - } - - public void unsetValidTxnList() { - this.validTxnList = null; - } - - /** Returns true if field validTxnList is set (has been assigned a value) and false otherwise */ - public boolean isSetValidTxnList() { - return this.validTxnList != null; - } - - public void setValidTxnListIsSet(boolean value) { - if (!value) { - this.validTxnList = null; - } - } - - public long getInvalidationTime() { - return this.invalidationTime; - } - - public void setInvalidationTime(long invalidationTime) { - this.invalidationTime = invalidationTime; - setInvalidationTimeIsSet(true); - } - - public void unsetInvalidationTime() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __INVALIDATIONTIME_ISSET_ID); - } - - /** Returns true if field invalidationTime is set (has been assigned a value) and false otherwise */ - public boolean isSetInvalidationTime() { - return EncodingUtils.testBit(__isset_bitfield, __INVALIDATIONTIME_ISSET_ID); - } - - public void setInvalidationTimeIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __INVALIDATIONTIME_ISSET_ID, value); - } - - public void setFieldValue(_Fields field, Object value) { - switch (field) { - case TABLES_USED: - if (value == null) { - unsetTablesUsed(); - } else { - setTablesUsed((Set)value); - } - break; - - case VALID_TXN_LIST: - if (value == null) { - unsetValidTxnList(); - } else { - setValidTxnList((String)value); - } - break; - - case INVALIDATION_TIME: - if (value == null) { - unsetInvalidationTime(); - } else { - setInvalidationTime((Long)value); - } - break; - - } - } - - public Object getFieldValue(_Fields field) { - switch (field) { - case TABLES_USED: - return getTablesUsed(); - - case VALID_TXN_LIST: - return getValidTxnList(); - - case INVALIDATION_TIME: - return getInvalidationTime(); - - } - throw new IllegalStateException(); - } - - /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ - public boolean isSet(_Fields field) { - if (field == null) { - throw new IllegalArgumentException(); - } - - switch (field) { - case TABLES_USED: - return isSetTablesUsed(); - case VALID_TXN_LIST: - return isSetValidTxnList(); - case INVALIDATION_TIME: - return isSetInvalidationTime(); - } - throw new IllegalStateException(); - } - - @Override - public boolean equals(Object that) { - if (that == null) - return false; - if (that instanceof Materialization) - return this.equals((Materialization)that); - return false; - } - - public boolean equals(Materialization that) { - if (that == null) - return false; - - boolean this_present_tablesUsed = true && this.isSetTablesUsed(); - boolean that_present_tablesUsed = true && that.isSetTablesUsed(); - if (this_present_tablesUsed || that_present_tablesUsed) { - if (!(this_present_tablesUsed && that_present_tablesUsed)) - return false; - if (!this.tablesUsed.equals(that.tablesUsed)) - return false; - } - - boolean this_present_validTxnList = true && this.isSetValidTxnList(); - boolean that_present_validTxnList = true && that.isSetValidTxnList(); - if (this_present_validTxnList || that_present_validTxnList) { - if (!(this_present_validTxnList && that_present_validTxnList)) - return false; - if (!this.validTxnList.equals(that.validTxnList)) - return false; - } - - boolean this_present_invalidationTime = true; - boolean that_present_invalidationTime = true; - if (this_present_invalidationTime || that_present_invalidationTime) { - if (!(this_present_invalidationTime && that_present_invalidationTime)) - return false; - if (this.invalidationTime != that.invalidationTime) - return false; - } - - return true; - } - - @Override - public int hashCode() { - List list = new ArrayList(); - - boolean present_tablesUsed = true && (isSetTablesUsed()); - list.add(present_tablesUsed); - if (present_tablesUsed) - list.add(tablesUsed); - - boolean present_validTxnList = true && (isSetValidTxnList()); - list.add(present_validTxnList); - if (present_validTxnList) - list.add(validTxnList); - - boolean present_invalidationTime = true; - list.add(present_invalidationTime); - if (present_invalidationTime) - list.add(invalidationTime); - - return list.hashCode(); - } - - @Override - public int compareTo(Materialization other) { - if (!getClass().equals(other.getClass())) { - return getClass().getName().compareTo(other.getClass().getName()); - } - - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetTablesUsed()).compareTo(other.isSetTablesUsed()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetTablesUsed()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tablesUsed, other.tablesUsed); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetValidTxnList()).compareTo(other.isSetValidTxnList()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetValidTxnList()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.validTxnList, other.validTxnList); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetInvalidationTime()).compareTo(other.isSetInvalidationTime()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetInvalidationTime()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.invalidationTime, other.invalidationTime); - if (lastComparison != 0) { - return lastComparison; - } - } - return 0; - } - - public _Fields fieldForId(int fieldId) { - return _Fields.findByThriftId(fieldId); - } - - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { - schemes.get(iprot.getScheme()).getScheme().read(iprot, this); - } - - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { - schemes.get(oprot.getScheme()).getScheme().write(oprot, this); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("Materialization("); - boolean first = true; - - sb.append("tablesUsed:"); - if (this.tablesUsed == null) { - sb.append("null"); - } else { - sb.append(this.tablesUsed); - } - first = false; - if (isSetValidTxnList()) { - if (!first) sb.append(", "); - sb.append("validTxnList:"); - if (this.validTxnList == null) { - sb.append("null"); - } else { - sb.append(this.validTxnList); - } - first = false; - } - if (!first) sb.append(", "); - sb.append("invalidationTime:"); - sb.append(this.invalidationTime); - first = false; - sb.append(")"); - return sb.toString(); - } - - public void validate() throws org.apache.thrift.TException { - // check for required fields - if (!isSetTablesUsed()) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'tablesUsed' is unset! Struct:" + toString()); - } - - if (!isSetInvalidationTime()) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'invalidationTime' is unset! Struct:" + toString()); - } - - // check for sub-struct validity - } - - private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { - try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { - throw new java.io.IOException(te); - } - } - - private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { - try { - // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. - __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { - throw new java.io.IOException(te); - } - } - - private static class MaterializationStandardSchemeFactory implements SchemeFactory { - public MaterializationStandardScheme getScheme() { - return new MaterializationStandardScheme(); - } - } - - private static class MaterializationStandardScheme extends StandardScheme { - - public void read(org.apache.thrift.protocol.TProtocol iprot, Materialization struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TABLES_USED - if (schemeField.type == org.apache.thrift.protocol.TType.SET) { - { - org.apache.thrift.protocol.TSet _set792 = iprot.readSetBegin(); - struct.tablesUsed = new HashSet(2*_set792.size); - String _elem793; - for (int _i794 = 0; _i794 < _set792.size; ++_i794) - { - _elem793 = iprot.readString(); - struct.tablesUsed.add(_elem793); - } - iprot.readSetEnd(); - } - struct.setTablesUsedIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // VALID_TXN_LIST - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.validTxnList = iprot.readString(); - struct.setValidTxnListIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // INVALIDATION_TIME - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.invalidationTime = iprot.readI64(); - struct.setInvalidationTimeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - struct.validate(); - } - - public void write(org.apache.thrift.protocol.TProtocol oprot, Materialization struct) throws org.apache.thrift.TException { - struct.validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (struct.tablesUsed != null) { - 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 _iter795 : struct.tablesUsed) - { - oprot.writeString(_iter795); - } - oprot.writeSetEnd(); - } - oprot.writeFieldEnd(); - } - if (struct.validTxnList != null) { - if (struct.isSetValidTxnList()) { - oprot.writeFieldBegin(VALID_TXN_LIST_FIELD_DESC); - oprot.writeString(struct.validTxnList); - oprot.writeFieldEnd(); - } - } - oprot.writeFieldBegin(INVALIDATION_TIME_FIELD_DESC); - oprot.writeI64(struct.invalidationTime); - oprot.writeFieldEnd(); - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - } - - private static class MaterializationTupleSchemeFactory implements SchemeFactory { - public MaterializationTupleScheme getScheme() { - return new MaterializationTupleScheme(); - } - } - - private static class MaterializationTupleScheme extends TupleScheme { - - @Override - public void write(org.apache.thrift.protocol.TProtocol prot, Materialization struct) throws org.apache.thrift.TException { - TTupleProtocol oprot = (TTupleProtocol) prot; - { - oprot.writeI32(struct.tablesUsed.size()); - for (String _iter796 : struct.tablesUsed) - { - oprot.writeString(_iter796); - } - } - oprot.writeI64(struct.invalidationTime); - BitSet optionals = new BitSet(); - if (struct.isSetValidTxnList()) { - optionals.set(0); - } - oprot.writeBitSet(optionals, 1); - if (struct.isSetValidTxnList()) { - oprot.writeString(struct.validTxnList); - } - } - - @Override - 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 _set797 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tablesUsed = new HashSet(2*_set797.size); - String _elem798; - for (int _i799 = 0; _i799 < _set797.size; ++_i799) - { - _elem798 = iprot.readString(); - struct.tablesUsed.add(_elem798); - } - } - struct.setTablesUsedIsSet(true); - struct.invalidationTime = iprot.readI64(); - struct.setInvalidationTimeIsSet(true); - BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.validTxnList = iprot.readString(); - struct.setValidTxnListIsSet(true); - } - } - } - -} - diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java index fb0be40fba..aa544cdc5b 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java @@ -1119,14 +1119,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SchemaVersion struc case 4: // COLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list864 = iprot.readListBegin(); - struct.cols = new ArrayList(_list864.size); - FieldSchema _elem865; - for (int _i866 = 0; _i866 < _list864.size; ++_i866) + org.apache.thrift.protocol.TList _list856 = iprot.readListBegin(); + struct.cols = new ArrayList(_list856.size); + FieldSchema _elem857; + for (int _i858 = 0; _i858 < _list856.size; ++_i858) { - _elem865 = new FieldSchema(); - _elem865.read(iprot); - struct.cols.add(_elem865); + _elem857 = new FieldSchema(); + _elem857.read(iprot); + struct.cols.add(_elem857); } iprot.readListEnd(); } @@ -1212,9 +1212,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, SchemaVersion stru oprot.writeFieldBegin(COLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.cols.size())); - for (FieldSchema _iter867 : struct.cols) + for (FieldSchema _iter859 : struct.cols) { - _iter867.write(oprot); + _iter859.write(oprot); } oprot.writeListEnd(); } @@ -1323,9 +1323,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, SchemaVersion struc if (struct.isSetCols()) { { oprot.writeI32(struct.cols.size()); - for (FieldSchema _iter868 : struct.cols) + for (FieldSchema _iter860 : struct.cols) { - _iter868.write(oprot); + _iter860.write(oprot); } } } @@ -1368,14 +1368,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SchemaVersion struct } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list869 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.cols = new ArrayList(_list869.size); - FieldSchema _elem870; - for (int _i871 = 0; _i871 < _list869.size; ++_i871) + org.apache.thrift.protocol.TList _list861 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.cols = new ArrayList(_list861.size); + FieldSchema _elem862; + for (int _i863 = 0; _i863 < _list861.size; ++_i863) { - _elem870 = new FieldSchema(); - _elem870.read(iprot); - struct.cols.add(_elem870); + _elem862 = new FieldSchema(); + _elem862.read(iprot); + struct.cols.add(_elem862); } } struct.setColsIsSet(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 8c5ceafb25..008d28a928 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 @@ -116,8 +116,6 @@ public GetTablesResult get_table_objects_by_name_req(GetTablesRequest req) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException; - public Map get_materialization_invalidation_info(String dbname, List tbl_names) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException; - public void update_creation_metadata(String dbname, String tbl_name, CreationMetadata creation_metadata) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException; public List get_table_names_by_filter(String dbname, String filter, short max_tables) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException; @@ -508,8 +506,6 @@ public void get_table_objects_by_name_req(GetTablesRequest req, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_materialization_invalidation_info(String dbname, List tbl_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void update_creation_metadata(String dbname, String tbl_name, CreationMetadata creation_metadata, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; public void get_table_names_by_filter(String dbname, String filter, short max_tables, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; @@ -1901,39 +1897,6 @@ public GetTablesResult recv_get_table_objects_by_name_req() throws MetaException throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_table_objects_by_name_req failed: unknown result"); } - public Map get_materialization_invalidation_info(String dbname, List tbl_names) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException - { - send_get_materialization_invalidation_info(dbname, tbl_names); - return recv_get_materialization_invalidation_info(); - } - - public void send_get_materialization_invalidation_info(String dbname, List tbl_names) throws org.apache.thrift.TException - { - get_materialization_invalidation_info_args args = new get_materialization_invalidation_info_args(); - args.setDbname(dbname); - args.setTbl_names(tbl_names); - sendBase("get_materialization_invalidation_info", args); - } - - public Map recv_get_materialization_invalidation_info() throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException - { - get_materialization_invalidation_info_result result = new get_materialization_invalidation_info_result(); - receiveBase(result, "get_materialization_invalidation_info"); - if (result.isSetSuccess()) { - return result.success; - } - if (result.o1 != null) { - throw result.o1; - } - if (result.o2 != null) { - throw result.o2; - } - if (result.o3 != null) { - throw result.o3; - } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_materialization_invalidation_info failed: unknown result"); - } - public void update_creation_metadata(String dbname, String tbl_name, CreationMetadata creation_metadata) throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException { send_update_creation_metadata(dbname, tbl_name, creation_metadata); @@ -7730,41 +7693,6 @@ public GetTablesResult getResult() throws MetaException, InvalidOperationExcepti } } - public void get_materialization_invalidation_info(String dbname, List tbl_names, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - checkReady(); - get_materialization_invalidation_info_call method_call = new get_materialization_invalidation_info_call(dbname, tbl_names, resultHandler, this, ___protocolFactory, ___transport); - this.___currentMethod = method_call; - ___manager.call(method_call); - } - - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_materialization_invalidation_info_call extends org.apache.thrift.async.TAsyncMethodCall { - private String dbname; - private List tbl_names; - public get_materialization_invalidation_info_call(String dbname, List tbl_names, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { - super(client, protocolFactory, transport, resultHandler, false); - this.dbname = dbname; - this.tbl_names = tbl_names; - } - - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get_materialization_invalidation_info", org.apache.thrift.protocol.TMessageType.CALL, 0)); - get_materialization_invalidation_info_args args = new get_materialization_invalidation_info_args(); - args.setDbname(dbname); - args.setTbl_names(tbl_names); - args.write(prot); - prot.writeMessageEnd(); - } - - public Map getResult() throws MetaException, InvalidOperationException, UnknownDBException, org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { - throw new IllegalStateException("Method call not finished!"); - } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_get_materialization_invalidation_info(); - } - } - public void update_creation_metadata(String dbname, String tbl_name, CreationMetadata creation_metadata, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); update_creation_metadata_call method_call = new update_creation_metadata_call(dbname, tbl_name, creation_metadata, resultHandler, this, ___protocolFactory, ___transport); @@ -13188,7 +13116,6 @@ protected Processor(I iface, Map extends org.apache.thrift.ProcessFunction { - public get_materialization_invalidation_info() { - super("get_materialization_invalidation_info"); - } - - public get_materialization_invalidation_info_args getEmptyArgsInstance() { - return new get_materialization_invalidation_info_args(); - } - - protected boolean isOneway() { - return false; - } - - public get_materialization_invalidation_info_result getResult(I iface, get_materialization_invalidation_info_args args) throws org.apache.thrift.TException { - get_materialization_invalidation_info_result result = new get_materialization_invalidation_info_result(); - try { - result.success = iface.get_materialization_invalidation_info(args.dbname, args.tbl_names); - } catch (MetaException o1) { - result.o1 = o1; - } catch (InvalidOperationException o2) { - result.o2 = o2; - } catch (UnknownDBException o3) { - result.o3 = o3; - } - return result; - } - } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class update_creation_metadata extends org.apache.thrift.ProcessFunction { public update_creation_metadata() { super("update_creation_metadata"); @@ -18389,7 +18288,6 @@ protected AsyncProcessor(I iface, Map extends org.apache.thrift.AsyncProcessFunction> { - public get_materialization_invalidation_info() { - super("get_materialization_invalidation_info"); - } - - public get_materialization_invalidation_info_args getEmptyArgsInstance() { - return new get_materialization_invalidation_info_args(); - } - - public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(Map o) { - get_materialization_invalidation_info_result result = new get_materialization_invalidation_info_result(); - result.success = o; - try { - fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - return; - } catch (Exception e) { - LOGGER.error("Exception writing to internal frame buffer", e); - } - fb.close(); - } - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - get_materialization_invalidation_info_result result = new get_materialization_invalidation_info_result(); - if (e instanceof MetaException) { - result.o1 = (MetaException) e; - result.setO1IsSet(true); - msg = result; - } - else if (e instanceof InvalidOperationException) { - result.o2 = (InvalidOperationException) e; - result.setO2IsSet(true); - msg = result; - } - else if (e instanceof UnknownDBException) { - result.o3 = (UnknownDBException) e; - result.setO3IsSet(true); - msg = result; - } - else - { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); - } - try { - fcall.sendResponse(fb,msg,msgType,seqid); - return; - } catch (Exception ex) { - LOGGER.error("Exception writing to internal frame buffer", ex); - } - fb.close(); - } - }; - } - - protected boolean isOneway() { - return false; - } - - public void start(I iface, get_materialization_invalidation_info_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.get_materialization_invalidation_info(args.dbname, args.tbl_names,resultHandler); - } - } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class update_creation_metadata extends org.apache.thrift.AsyncProcessFunction { public update_creation_metadata() { super("update_creation_metadata"); @@ -35852,13 +35683,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 _list880 = iprot.readListBegin(); - struct.success = new ArrayList(_list880.size); - String _elem881; - for (int _i882 = 0; _i882 < _list880.size; ++_i882) + org.apache.thrift.protocol.TList _list872 = iprot.readListBegin(); + struct.success = new ArrayList(_list872.size); + String _elem873; + for (int _i874 = 0; _i874 < _list872.size; ++_i874) { - _elem881 = iprot.readString(); - struct.success.add(_elem881); + _elem873 = iprot.readString(); + struct.success.add(_elem873); } iprot.readListEnd(); } @@ -35893,9 +35724,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 _iter883 : struct.success) + for (String _iter875 : struct.success) { - oprot.writeString(_iter883); + oprot.writeString(_iter875); } oprot.writeListEnd(); } @@ -35934,9 +35765,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter884 : struct.success) + for (String _iter876 : struct.success) { - oprot.writeString(_iter884); + oprot.writeString(_iter876); } } } @@ -35951,13 +35782,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 _list885 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list885.size); - String _elem886; - for (int _i887 = 0; _i887 < _list885.size; ++_i887) + org.apache.thrift.protocol.TList _list877 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list877.size); + String _elem878; + for (int _i879 = 0; _i879 < _list877.size; ++_i879) { - _elem886 = iprot.readString(); - struct.success.add(_elem886); + _elem878 = iprot.readString(); + struct.success.add(_elem878); } } struct.setSuccessIsSet(true); @@ -36611,13 +36442,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 _list888 = iprot.readListBegin(); - struct.success = new ArrayList(_list888.size); - String _elem889; - for (int _i890 = 0; _i890 < _list888.size; ++_i890) + org.apache.thrift.protocol.TList _list880 = iprot.readListBegin(); + struct.success = new ArrayList(_list880.size); + String _elem881; + for (int _i882 = 0; _i882 < _list880.size; ++_i882) { - _elem889 = iprot.readString(); - struct.success.add(_elem889); + _elem881 = iprot.readString(); + struct.success.add(_elem881); } iprot.readListEnd(); } @@ -36652,9 +36483,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 _iter891 : struct.success) + for (String _iter883 : struct.success) { - oprot.writeString(_iter891); + oprot.writeString(_iter883); } oprot.writeListEnd(); } @@ -36693,9 +36524,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter892 : struct.success) + for (String _iter884 : struct.success) { - oprot.writeString(_iter892); + oprot.writeString(_iter884); } } } @@ -36710,13 +36541,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 _list893 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list893.size); - String _elem894; - for (int _i895 = 0; _i895 < _list893.size; ++_i895) + org.apache.thrift.protocol.TList _list885 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list885.size); + String _elem886; + for (int _i887 = 0; _i887 < _list885.size; ++_i887) { - _elem894 = iprot.readString(); - struct.success.add(_elem894); + _elem886 = iprot.readString(); + struct.success.add(_elem886); } } struct.setSuccessIsSet(true); @@ -41323,16 +41154,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 _map896 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map896.size); - String _key897; - Type _val898; - for (int _i899 = 0; _i899 < _map896.size; ++_i899) + org.apache.thrift.protocol.TMap _map888 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map888.size); + String _key889; + Type _val890; + for (int _i891 = 0; _i891 < _map888.size; ++_i891) { - _key897 = iprot.readString(); - _val898 = new Type(); - _val898.read(iprot); - struct.success.put(_key897, _val898); + _key889 = iprot.readString(); + _val890 = new Type(); + _val890.read(iprot); + struct.success.put(_key889, _val890); } iprot.readMapEnd(); } @@ -41367,10 +41198,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 _iter900 : struct.success.entrySet()) + for (Map.Entry _iter892 : struct.success.entrySet()) { - oprot.writeString(_iter900.getKey()); - _iter900.getValue().write(oprot); + oprot.writeString(_iter892.getKey()); + _iter892.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -41409,10 +41240,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 _iter901 : struct.success.entrySet()) + for (Map.Entry _iter893 : struct.success.entrySet()) { - oprot.writeString(_iter901.getKey()); - _iter901.getValue().write(oprot); + oprot.writeString(_iter893.getKey()); + _iter893.getValue().write(oprot); } } } @@ -41427,16 +41258,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 _map902 = 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*_map902.size); - String _key903; - Type _val904; - for (int _i905 = 0; _i905 < _map902.size; ++_i905) + org.apache.thrift.protocol.TMap _map894 = 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*_map894.size); + String _key895; + Type _val896; + for (int _i897 = 0; _i897 < _map894.size; ++_i897) { - _key903 = iprot.readString(); - _val904 = new Type(); - _val904.read(iprot); - struct.success.put(_key903, _val904); + _key895 = iprot.readString(); + _val896 = new Type(); + _val896.read(iprot); + struct.success.put(_key895, _val896); } } struct.setSuccessIsSet(true); @@ -42471,14 +42302,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 _list906 = iprot.readListBegin(); - struct.success = new ArrayList(_list906.size); - FieldSchema _elem907; - for (int _i908 = 0; _i908 < _list906.size; ++_i908) + org.apache.thrift.protocol.TList _list898 = iprot.readListBegin(); + struct.success = new ArrayList(_list898.size); + FieldSchema _elem899; + for (int _i900 = 0; _i900 < _list898.size; ++_i900) { - _elem907 = new FieldSchema(); - _elem907.read(iprot); - struct.success.add(_elem907); + _elem899 = new FieldSchema(); + _elem899.read(iprot); + struct.success.add(_elem899); } iprot.readListEnd(); } @@ -42531,9 +42362,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 _iter909 : struct.success) + for (FieldSchema _iter901 : struct.success) { - _iter909.write(oprot); + _iter901.write(oprot); } oprot.writeListEnd(); } @@ -42588,9 +42419,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter910 : struct.success) + for (FieldSchema _iter902 : struct.success) { - _iter910.write(oprot); + _iter902.write(oprot); } } } @@ -42611,14 +42442,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 _list911 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list911.size); - FieldSchema _elem912; - for (int _i913 = 0; _i913 < _list911.size; ++_i913) + org.apache.thrift.protocol.TList _list903 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list903.size); + FieldSchema _elem904; + for (int _i905 = 0; _i905 < _list903.size; ++_i905) { - _elem912 = new FieldSchema(); - _elem912.read(iprot); - struct.success.add(_elem912); + _elem904 = new FieldSchema(); + _elem904.read(iprot); + struct.success.add(_elem904); } } struct.setSuccessIsSet(true); @@ -43772,14 +43603,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 _list914 = iprot.readListBegin(); - struct.success = new ArrayList(_list914.size); - FieldSchema _elem915; - for (int _i916 = 0; _i916 < _list914.size; ++_i916) + org.apache.thrift.protocol.TList _list906 = iprot.readListBegin(); + struct.success = new ArrayList(_list906.size); + FieldSchema _elem907; + for (int _i908 = 0; _i908 < _list906.size; ++_i908) { - _elem915 = new FieldSchema(); - _elem915.read(iprot); - struct.success.add(_elem915); + _elem907 = new FieldSchema(); + _elem907.read(iprot); + struct.success.add(_elem907); } iprot.readListEnd(); } @@ -43832,9 +43663,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 _iter917 : struct.success) + for (FieldSchema _iter909 : struct.success) { - _iter917.write(oprot); + _iter909.write(oprot); } oprot.writeListEnd(); } @@ -43889,9 +43720,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter918 : struct.success) + for (FieldSchema _iter910 : struct.success) { - _iter918.write(oprot); + _iter910.write(oprot); } } } @@ -43912,14 +43743,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 _list919 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list919.size); - FieldSchema _elem920; - for (int _i921 = 0; _i921 < _list919.size; ++_i921) + org.apache.thrift.protocol.TList _list911 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list911.size); + FieldSchema _elem912; + for (int _i913 = 0; _i913 < _list911.size; ++_i913) { - _elem920 = new FieldSchema(); - _elem920.read(iprot); - struct.success.add(_elem920); + _elem912 = new FieldSchema(); + _elem912.read(iprot); + struct.success.add(_elem912); } } struct.setSuccessIsSet(true); @@ -44964,14 +44795,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 _list922 = iprot.readListBegin(); - struct.success = new ArrayList(_list922.size); - FieldSchema _elem923; - for (int _i924 = 0; _i924 < _list922.size; ++_i924) + org.apache.thrift.protocol.TList _list914 = iprot.readListBegin(); + struct.success = new ArrayList(_list914.size); + FieldSchema _elem915; + for (int _i916 = 0; _i916 < _list914.size; ++_i916) { - _elem923 = new FieldSchema(); - _elem923.read(iprot); - struct.success.add(_elem923); + _elem915 = new FieldSchema(); + _elem915.read(iprot); + struct.success.add(_elem915); } iprot.readListEnd(); } @@ -45024,9 +44855,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 _iter925 : struct.success) + for (FieldSchema _iter917 : struct.success) { - _iter925.write(oprot); + _iter917.write(oprot); } oprot.writeListEnd(); } @@ -45081,9 +44912,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter926 : struct.success) + for (FieldSchema _iter918 : struct.success) { - _iter926.write(oprot); + _iter918.write(oprot); } } } @@ -45104,14 +44935,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 _list927 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list927.size); - FieldSchema _elem928; - for (int _i929 = 0; _i929 < _list927.size; ++_i929) + org.apache.thrift.protocol.TList _list919 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list919.size); + FieldSchema _elem920; + for (int _i921 = 0; _i921 < _list919.size; ++_i921) { - _elem928 = new FieldSchema(); - _elem928.read(iprot); - struct.success.add(_elem928); + _elem920 = new FieldSchema(); + _elem920.read(iprot); + struct.success.add(_elem920); } } struct.setSuccessIsSet(true); @@ -46265,14 +46096,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 _list930 = iprot.readListBegin(); - struct.success = new ArrayList(_list930.size); - FieldSchema _elem931; - for (int _i932 = 0; _i932 < _list930.size; ++_i932) + org.apache.thrift.protocol.TList _list922 = iprot.readListBegin(); + struct.success = new ArrayList(_list922.size); + FieldSchema _elem923; + for (int _i924 = 0; _i924 < _list922.size; ++_i924) { - _elem931 = new FieldSchema(); - _elem931.read(iprot); - struct.success.add(_elem931); + _elem923 = new FieldSchema(); + _elem923.read(iprot); + struct.success.add(_elem923); } iprot.readListEnd(); } @@ -46325,9 +46156,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 _iter933 : struct.success) + for (FieldSchema _iter925 : struct.success) { - _iter933.write(oprot); + _iter925.write(oprot); } oprot.writeListEnd(); } @@ -46382,9 +46213,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter934 : struct.success) + for (FieldSchema _iter926 : struct.success) { - _iter934.write(oprot); + _iter926.write(oprot); } } } @@ -46405,14 +46236,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 _list935 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list935.size); - FieldSchema _elem936; - for (int _i937 = 0; _i937 < _list935.size; ++_i937) + org.apache.thrift.protocol.TList _list927 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list927.size); + FieldSchema _elem928; + for (int _i929 = 0; _i929 < _list927.size; ++_i929) { - _elem936 = new FieldSchema(); - _elem936.read(iprot); - struct.success.add(_elem936); + _elem928 = new FieldSchema(); + _elem928.read(iprot); + struct.success.add(_elem928); } } struct.setSuccessIsSet(true); @@ -49440,14 +49271,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 _list938 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list938.size); - SQLPrimaryKey _elem939; - for (int _i940 = 0; _i940 < _list938.size; ++_i940) + org.apache.thrift.protocol.TList _list930 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list930.size); + SQLPrimaryKey _elem931; + for (int _i932 = 0; _i932 < _list930.size; ++_i932) { - _elem939 = new SQLPrimaryKey(); - _elem939.read(iprot); - struct.primaryKeys.add(_elem939); + _elem931 = new SQLPrimaryKey(); + _elem931.read(iprot); + struct.primaryKeys.add(_elem931); } iprot.readListEnd(); } @@ -49459,14 +49290,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 _list941 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list941.size); - SQLForeignKey _elem942; - for (int _i943 = 0; _i943 < _list941.size; ++_i943) + org.apache.thrift.protocol.TList _list933 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list933.size); + SQLForeignKey _elem934; + for (int _i935 = 0; _i935 < _list933.size; ++_i935) { - _elem942 = new SQLForeignKey(); - _elem942.read(iprot); - struct.foreignKeys.add(_elem942); + _elem934 = new SQLForeignKey(); + _elem934.read(iprot); + struct.foreignKeys.add(_elem934); } iprot.readListEnd(); } @@ -49478,14 +49309,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 _list944 = iprot.readListBegin(); - struct.uniqueConstraints = new ArrayList(_list944.size); - SQLUniqueConstraint _elem945; - for (int _i946 = 0; _i946 < _list944.size; ++_i946) + org.apache.thrift.protocol.TList _list936 = iprot.readListBegin(); + struct.uniqueConstraints = new ArrayList(_list936.size); + SQLUniqueConstraint _elem937; + for (int _i938 = 0; _i938 < _list936.size; ++_i938) { - _elem945 = new SQLUniqueConstraint(); - _elem945.read(iprot); - struct.uniqueConstraints.add(_elem945); + _elem937 = new SQLUniqueConstraint(); + _elem937.read(iprot); + struct.uniqueConstraints.add(_elem937); } iprot.readListEnd(); } @@ -49497,14 +49328,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 _list947 = iprot.readListBegin(); - struct.notNullConstraints = new ArrayList(_list947.size); - SQLNotNullConstraint _elem948; - for (int _i949 = 0; _i949 < _list947.size; ++_i949) + org.apache.thrift.protocol.TList _list939 = iprot.readListBegin(); + struct.notNullConstraints = new ArrayList(_list939.size); + SQLNotNullConstraint _elem940; + for (int _i941 = 0; _i941 < _list939.size; ++_i941) { - _elem948 = new SQLNotNullConstraint(); - _elem948.read(iprot); - struct.notNullConstraints.add(_elem948); + _elem940 = new SQLNotNullConstraint(); + _elem940.read(iprot); + struct.notNullConstraints.add(_elem940); } iprot.readListEnd(); } @@ -49516,14 +49347,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 _list950 = iprot.readListBegin(); - struct.defaultConstraints = new ArrayList(_list950.size); - SQLDefaultConstraint _elem951; - for (int _i952 = 0; _i952 < _list950.size; ++_i952) + org.apache.thrift.protocol.TList _list942 = iprot.readListBegin(); + struct.defaultConstraints = new ArrayList(_list942.size); + SQLDefaultConstraint _elem943; + for (int _i944 = 0; _i944 < _list942.size; ++_i944) { - _elem951 = new SQLDefaultConstraint(); - _elem951.read(iprot); - struct.defaultConstraints.add(_elem951); + _elem943 = new SQLDefaultConstraint(); + _elem943.read(iprot); + struct.defaultConstraints.add(_elem943); } iprot.readListEnd(); } @@ -49554,9 +49385,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 _iter953 : struct.primaryKeys) + for (SQLPrimaryKey _iter945 : struct.primaryKeys) { - _iter953.write(oprot); + _iter945.write(oprot); } oprot.writeListEnd(); } @@ -49566,9 +49397,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 _iter954 : struct.foreignKeys) + for (SQLForeignKey _iter946 : struct.foreignKeys) { - _iter954.write(oprot); + _iter946.write(oprot); } oprot.writeListEnd(); } @@ -49578,9 +49409,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 _iter955 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter947 : struct.uniqueConstraints) { - _iter955.write(oprot); + _iter947.write(oprot); } oprot.writeListEnd(); } @@ -49590,9 +49421,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 _iter956 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter948 : struct.notNullConstraints) { - _iter956.write(oprot); + _iter948.write(oprot); } oprot.writeListEnd(); } @@ -49602,9 +49433,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 _iter957 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter949 : struct.defaultConstraints) { - _iter957.write(oprot); + _iter949.write(oprot); } oprot.writeListEnd(); } @@ -49653,45 +49484,45 @@ public void write(org.apache.thrift.protocol.TProtocol prot, create_table_with_c if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter958 : struct.primaryKeys) + for (SQLPrimaryKey _iter950 : struct.primaryKeys) { - _iter958.write(oprot); + _iter950.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter959 : struct.foreignKeys) + for (SQLForeignKey _iter951 : struct.foreignKeys) { - _iter959.write(oprot); + _iter951.write(oprot); } } } if (struct.isSetUniqueConstraints()) { { oprot.writeI32(struct.uniqueConstraints.size()); - for (SQLUniqueConstraint _iter960 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter952 : struct.uniqueConstraints) { - _iter960.write(oprot); + _iter952.write(oprot); } } } if (struct.isSetNotNullConstraints()) { { oprot.writeI32(struct.notNullConstraints.size()); - for (SQLNotNullConstraint _iter961 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter953 : struct.notNullConstraints) { - _iter961.write(oprot); + _iter953.write(oprot); } } } if (struct.isSetDefaultConstraints()) { { oprot.writeI32(struct.defaultConstraints.size()); - for (SQLDefaultConstraint _iter962 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter954 : struct.defaultConstraints) { - _iter962.write(oprot); + _iter954.write(oprot); } } } @@ -49708,70 +49539,70 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_with_co } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list963 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list963.size); - SQLPrimaryKey _elem964; - for (int _i965 = 0; _i965 < _list963.size; ++_i965) + org.apache.thrift.protocol.TList _list955 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeys = new ArrayList(_list955.size); + SQLPrimaryKey _elem956; + for (int _i957 = 0; _i957 < _list955.size; ++_i957) { - _elem964 = new SQLPrimaryKey(); - _elem964.read(iprot); - struct.primaryKeys.add(_elem964); + _elem956 = new SQLPrimaryKey(); + _elem956.read(iprot); + struct.primaryKeys.add(_elem956); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list966 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list966.size); - SQLForeignKey _elem967; - for (int _i968 = 0; _i968 < _list966.size; ++_i968) + org.apache.thrift.protocol.TList _list958 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.foreignKeys = new ArrayList(_list958.size); + SQLForeignKey _elem959; + for (int _i960 = 0; _i960 < _list958.size; ++_i960) { - _elem967 = new SQLForeignKey(); - _elem967.read(iprot); - struct.foreignKeys.add(_elem967); + _elem959 = new SQLForeignKey(); + _elem959.read(iprot); + struct.foreignKeys.add(_elem959); } } struct.setForeignKeysIsSet(true); } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list969 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.uniqueConstraints = new ArrayList(_list969.size); - SQLUniqueConstraint _elem970; - for (int _i971 = 0; _i971 < _list969.size; ++_i971) + org.apache.thrift.protocol.TList _list961 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.uniqueConstraints = new ArrayList(_list961.size); + SQLUniqueConstraint _elem962; + for (int _i963 = 0; _i963 < _list961.size; ++_i963) { - _elem970 = new SQLUniqueConstraint(); - _elem970.read(iprot); - struct.uniqueConstraints.add(_elem970); + _elem962 = new SQLUniqueConstraint(); + _elem962.read(iprot); + struct.uniqueConstraints.add(_elem962); } } struct.setUniqueConstraintsIsSet(true); } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list972 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.notNullConstraints = new ArrayList(_list972.size); - SQLNotNullConstraint _elem973; - for (int _i974 = 0; _i974 < _list972.size; ++_i974) + org.apache.thrift.protocol.TList _list964 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.notNullConstraints = new ArrayList(_list964.size); + SQLNotNullConstraint _elem965; + for (int _i966 = 0; _i966 < _list964.size; ++_i966) { - _elem973 = new SQLNotNullConstraint(); - _elem973.read(iprot); - struct.notNullConstraints.add(_elem973); + _elem965 = new SQLNotNullConstraint(); + _elem965.read(iprot); + struct.notNullConstraints.add(_elem965); } } struct.setNotNullConstraintsIsSet(true); } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list975 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.defaultConstraints = new ArrayList(_list975.size); - SQLDefaultConstraint _elem976; - for (int _i977 = 0; _i977 < _list975.size; ++_i977) + org.apache.thrift.protocol.TList _list967 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.defaultConstraints = new ArrayList(_list967.size); + SQLDefaultConstraint _elem968; + for (int _i969 = 0; _i969 < _list967.size; ++_i969) { - _elem976 = new SQLDefaultConstraint(); - _elem976.read(iprot); - struct.defaultConstraints.add(_elem976); + _elem968 = new SQLDefaultConstraint(); + _elem968.read(iprot); + struct.defaultConstraints.add(_elem968); } } struct.setDefaultConstraintsIsSet(true); @@ -58092,13 +57923,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 _list978 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list978.size); - String _elem979; - for (int _i980 = 0; _i980 < _list978.size; ++_i980) + org.apache.thrift.protocol.TList _list970 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list970.size); + String _elem971; + for (int _i972 = 0; _i972 < _list970.size; ++_i972) { - _elem979 = iprot.readString(); - struct.partNames.add(_elem979); + _elem971 = iprot.readString(); + struct.partNames.add(_elem971); } iprot.readListEnd(); } @@ -58134,9 +57965,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 _iter981 : struct.partNames) + for (String _iter973 : struct.partNames) { - oprot.writeString(_iter981); + oprot.writeString(_iter973); } oprot.writeListEnd(); } @@ -58179,9 +58010,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, truncate_table_args if (struct.isSetPartNames()) { { oprot.writeI32(struct.partNames.size()); - for (String _iter982 : struct.partNames) + for (String _iter974 : struct.partNames) { - oprot.writeString(_iter982); + oprot.writeString(_iter974); } } } @@ -58201,13 +58032,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, truncate_table_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list983 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = new ArrayList(_list983.size); - String _elem984; - for (int _i985 = 0; _i985 < _list983.size; ++_i985) + org.apache.thrift.protocol.TList _list975 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list975.size); + String _elem976; + for (int _i977 = 0; _i977 < _list975.size; ++_i977) { - _elem984 = iprot.readString(); - struct.partNames.add(_elem984); + _elem976 = iprot.readString(); + struct.partNames.add(_elem976); } } struct.setPartNamesIsSet(true); @@ -59432,13 +59263,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 _list986 = iprot.readListBegin(); - struct.success = new ArrayList(_list986.size); - String _elem987; - for (int _i988 = 0; _i988 < _list986.size; ++_i988) + org.apache.thrift.protocol.TList _list978 = iprot.readListBegin(); + struct.success = new ArrayList(_list978.size); + String _elem979; + for (int _i980 = 0; _i980 < _list978.size; ++_i980) { - _elem987 = iprot.readString(); - struct.success.add(_elem987); + _elem979 = iprot.readString(); + struct.success.add(_elem979); } iprot.readListEnd(); } @@ -59473,9 +59304,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 _iter989 : struct.success) + for (String _iter981 : struct.success) { - oprot.writeString(_iter989); + oprot.writeString(_iter981); } oprot.writeListEnd(); } @@ -59514,9 +59345,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter990 : struct.success) + for (String _iter982 : struct.success) { - oprot.writeString(_iter990); + oprot.writeString(_iter982); } } } @@ -59531,13 +59362,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 _list991 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list991.size); - String _elem992; - for (int _i993 = 0; _i993 < _list991.size; ++_i993) + org.apache.thrift.protocol.TList _list983 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list983.size); + String _elem984; + for (int _i985 = 0; _i985 < _list983.size; ++_i985) { - _elem992 = iprot.readString(); - struct.success.add(_elem992); + _elem984 = iprot.readString(); + struct.success.add(_elem984); } } struct.setSuccessIsSet(true); @@ -60511,13 +60342,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 _list994 = iprot.readListBegin(); - struct.success = new ArrayList(_list994.size); - String _elem995; - for (int _i996 = 0; _i996 < _list994.size; ++_i996) + org.apache.thrift.protocol.TList _list986 = iprot.readListBegin(); + struct.success = new ArrayList(_list986.size); + String _elem987; + for (int _i988 = 0; _i988 < _list986.size; ++_i988) { - _elem995 = iprot.readString(); - struct.success.add(_elem995); + _elem987 = iprot.readString(); + struct.success.add(_elem987); } iprot.readListEnd(); } @@ -60552,9 +60383,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 _iter997 : struct.success) + for (String _iter989 : struct.success) { - oprot.writeString(_iter997); + oprot.writeString(_iter989); } oprot.writeListEnd(); } @@ -60593,9 +60424,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter998 : struct.success) + for (String _iter990 : struct.success) { - oprot.writeString(_iter998); + oprot.writeString(_iter990); } } } @@ -60610,13 +60441,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 _list999 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list999.size); - String _elem1000; - for (int _i1001 = 0; _i1001 < _list999.size; ++_i1001) + org.apache.thrift.protocol.TList _list991 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list991.size); + String _elem992; + for (int _i993 = 0; _i993 < _list991.size; ++_i993) { - _elem1000 = iprot.readString(); - struct.success.add(_elem1000); + _elem992 = iprot.readString(); + struct.success.add(_elem992); } } struct.setSuccessIsSet(true); @@ -61382,13 +61213,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 _list1002 = iprot.readListBegin(); - struct.success = new ArrayList(_list1002.size); - String _elem1003; - for (int _i1004 = 0; _i1004 < _list1002.size; ++_i1004) + org.apache.thrift.protocol.TList _list994 = iprot.readListBegin(); + struct.success = new ArrayList(_list994.size); + String _elem995; + for (int _i996 = 0; _i996 < _list994.size; ++_i996) { - _elem1003 = iprot.readString(); - struct.success.add(_elem1003); + _elem995 = iprot.readString(); + struct.success.add(_elem995); } iprot.readListEnd(); } @@ -61423,9 +61254,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 _iter1005 : struct.success) + for (String _iter997 : struct.success) { - oprot.writeString(_iter1005); + oprot.writeString(_iter997); } oprot.writeListEnd(); } @@ -61464,9 +61295,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_vi if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1006 : struct.success) + for (String _iter998 : struct.success) { - oprot.writeString(_iter1006); + oprot.writeString(_iter998); } } } @@ -61481,13 +61312,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 _list1007 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1007.size); - String _elem1008; - for (int _i1009 = 0; _i1009 < _list1007.size; ++_i1009) + org.apache.thrift.protocol.TList _list999 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list999.size); + String _elem1000; + for (int _i1001 = 0; _i1001 < _list999.size; ++_i1001) { - _elem1008 = iprot.readString(); - struct.success.add(_elem1008); + _elem1000 = iprot.readString(); + struct.success.add(_elem1000); } } struct.setSuccessIsSet(true); @@ -61992,13 +61823,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 _list1010 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list1010.size); - String _elem1011; - for (int _i1012 = 0; _i1012 < _list1010.size; ++_i1012) + org.apache.thrift.protocol.TList _list1002 = iprot.readListBegin(); + struct.tbl_types = new ArrayList(_list1002.size); + String _elem1003; + for (int _i1004 = 0; _i1004 < _list1002.size; ++_i1004) { - _elem1011 = iprot.readString(); - struct.tbl_types.add(_elem1011); + _elem1003 = iprot.readString(); + struct.tbl_types.add(_elem1003); } iprot.readListEnd(); } @@ -62034,9 +61865,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 _iter1013 : struct.tbl_types) + for (String _iter1005 : struct.tbl_types) { - oprot.writeString(_iter1013); + oprot.writeString(_iter1005); } oprot.writeListEnd(); } @@ -62079,9 +61910,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 _iter1014 : struct.tbl_types) + for (String _iter1006 : struct.tbl_types) { - oprot.writeString(_iter1014); + oprot.writeString(_iter1006); } } } @@ -62101,13 +61932,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1015 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = new ArrayList(_list1015.size); - String _elem1016; - for (int _i1017 = 0; _i1017 < _list1015.size; ++_i1017) + org.apache.thrift.protocol.TList _list1007 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_types = new ArrayList(_list1007.size); + String _elem1008; + for (int _i1009 = 0; _i1009 < _list1007.size; ++_i1009) { - _elem1016 = iprot.readString(); - struct.tbl_types.add(_elem1016); + _elem1008 = iprot.readString(); + struct.tbl_types.add(_elem1008); } } struct.setTbl_typesIsSet(true); @@ -62513,14 +62344,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 _list1018 = iprot.readListBegin(); - struct.success = new ArrayList(_list1018.size); - TableMeta _elem1019; - for (int _i1020 = 0; _i1020 < _list1018.size; ++_i1020) + org.apache.thrift.protocol.TList _list1010 = iprot.readListBegin(); + struct.success = new ArrayList(_list1010.size); + TableMeta _elem1011; + for (int _i1012 = 0; _i1012 < _list1010.size; ++_i1012) { - _elem1019 = new TableMeta(); - _elem1019.read(iprot); - struct.success.add(_elem1019); + _elem1011 = new TableMeta(); + _elem1011.read(iprot); + struct.success.add(_elem1011); } iprot.readListEnd(); } @@ -62555,9 +62386,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 _iter1021 : struct.success) + for (TableMeta _iter1013 : struct.success) { - _iter1021.write(oprot); + _iter1013.write(oprot); } oprot.writeListEnd(); } @@ -62596,9 +62427,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter1022 : struct.success) + for (TableMeta _iter1014 : struct.success) { - _iter1022.write(oprot); + _iter1014.write(oprot); } } } @@ -62613,14 +62444,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 _list1023 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1023.size); - TableMeta _elem1024; - for (int _i1025 = 0; _i1025 < _list1023.size; ++_i1025) + org.apache.thrift.protocol.TList _list1015 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1015.size); + TableMeta _elem1016; + for (int _i1017 = 0; _i1017 < _list1015.size; ++_i1017) { - _elem1024 = new TableMeta(); - _elem1024.read(iprot); - struct.success.add(_elem1024); + _elem1016 = new TableMeta(); + _elem1016.read(iprot); + struct.success.add(_elem1016); } } struct.setSuccessIsSet(true); @@ -63386,13 +63217,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 _list1026 = iprot.readListBegin(); - struct.success = new ArrayList(_list1026.size); - String _elem1027; - for (int _i1028 = 0; _i1028 < _list1026.size; ++_i1028) + org.apache.thrift.protocol.TList _list1018 = iprot.readListBegin(); + struct.success = new ArrayList(_list1018.size); + String _elem1019; + for (int _i1020 = 0; _i1020 < _list1018.size; ++_i1020) { - _elem1027 = iprot.readString(); - struct.success.add(_elem1027); + _elem1019 = iprot.readString(); + struct.success.add(_elem1019); } iprot.readListEnd(); } @@ -63427,9 +63258,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 _iter1029 : struct.success) + for (String _iter1021 : struct.success) { - oprot.writeString(_iter1029); + oprot.writeString(_iter1021); } oprot.writeListEnd(); } @@ -63468,9 +63299,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1030 : struct.success) + for (String _iter1022 : struct.success) { - oprot.writeString(_iter1030); + oprot.writeString(_iter1022); } } } @@ -63485,13 +63316,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 _list1031 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1031.size); - String _elem1032; - for (int _i1033 = 0; _i1033 < _list1031.size; ++_i1033) + org.apache.thrift.protocol.TList _list1023 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1023.size); + String _elem1024; + for (int _i1025 = 0; _i1025 < _list1023.size; ++_i1025) { - _elem1032 = iprot.readString(); - struct.success.add(_elem1032); + _elem1024 = iprot.readString(); + struct.success.add(_elem1024); } } struct.setSuccessIsSet(true); @@ -64944,13 +64775,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 _list1034 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1034.size); - String _elem1035; - for (int _i1036 = 0; _i1036 < _list1034.size; ++_i1036) + org.apache.thrift.protocol.TList _list1026 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list1026.size); + String _elem1027; + for (int _i1028 = 0; _i1028 < _list1026.size; ++_i1028) { - _elem1035 = iprot.readString(); - struct.tbl_names.add(_elem1035); + _elem1027 = iprot.readString(); + struct.tbl_names.add(_elem1027); } iprot.readListEnd(); } @@ -64981,9 +64812,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 _iter1037 : struct.tbl_names) + for (String _iter1029 : struct.tbl_names) { - oprot.writeString(_iter1037); + oprot.writeString(_iter1029); } oprot.writeListEnd(); } @@ -65020,9 +64851,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 _iter1038 : struct.tbl_names) + for (String _iter1030 : struct.tbl_names) { - oprot.writeString(_iter1038); + oprot.writeString(_iter1030); } } } @@ -65038,13 +64869,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1039 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1039.size); - String _elem1040; - for (int _i1041 = 0; _i1041 < _list1039.size; ++_i1041) + org.apache.thrift.protocol.TList _list1031 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list1031.size); + String _elem1032; + for (int _i1033 = 0; _i1033 < _list1031.size; ++_i1033) { - _elem1040 = iprot.readString(); - struct.tbl_names.add(_elem1040); + _elem1032 = iprot.readString(); + struct.tbl_names.add(_elem1032); } } struct.setTbl_namesIsSet(true); @@ -65369,14 +65200,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 _list1042 = iprot.readListBegin(); - struct.success = new ArrayList
(_list1042.size); - Table _elem1043; - for (int _i1044 = 0; _i1044 < _list1042.size; ++_i1044) + org.apache.thrift.protocol.TList _list1034 = iprot.readListBegin(); + struct.success = new ArrayList
(_list1034.size); + Table _elem1035; + for (int _i1036 = 0; _i1036 < _list1034.size; ++_i1036) { - _elem1043 = new Table(); - _elem1043.read(iprot); - struct.success.add(_elem1043); + _elem1035 = new Table(); + _elem1035.read(iprot); + struct.success.add(_elem1035); } iprot.readListEnd(); } @@ -65402,9 +65233,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 _iter1045 : struct.success) + for (Table _iter1037 : struct.success) { - _iter1045.write(oprot); + _iter1037.write(oprot); } oprot.writeListEnd(); } @@ -65435,9 +65266,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter1046 : struct.success) + for (Table _iter1038 : struct.success) { - _iter1046.write(oprot); + _iter1038.write(oprot); } } } @@ -65449,14 +65280,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 _list1047 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list1047.size); - Table _elem1048; - for (int _i1049 = 0; _i1049 < _list1047.size; ++_i1049) + org.apache.thrift.protocol.TList _list1039 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list1039.size); + Table _elem1040; + for (int _i1041 = 0; _i1041 < _list1039.size; ++_i1041) { - _elem1048 = new Table(); - _elem1048.read(iprot); - struct.success.add(_elem1048); + _elem1040 = new Table(); + _elem1040.read(iprot); + struct.success.add(_elem1040); } } struct.setSuccessIsSet(true); @@ -65637,950 +65468,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_table_req_args) - return this.equals((get_table_req_args)that); - return false; - } - - public boolean equals(get_table_req_args that) { - if (that == null) - return false; - - boolean this_present_req = true && this.isSetReq(); - boolean that_present_req = true && that.isSetReq(); - if (this_present_req || that_present_req) { - if (!(this_present_req && that_present_req)) - return false; - if (!this.req.equals(that.req)) - return false; - } - - return true; - } - - @Override - public int hashCode() { - List list = new ArrayList(); - - boolean present_req = true && (isSetReq()); - list.add(present_req); - if (present_req) - list.add(req); - - return list.hashCode(); - } - - @Override - public int compareTo(get_table_req_args other) { - if (!getClass().equals(other.getClass())) { - return getClass().getName().compareTo(other.getClass().getName()); - } - - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetReq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); - if (lastComparison != 0) { - return lastComparison; - } - } - return 0; - } - - public _Fields fieldForId(int fieldId) { - return _Fields.findByThriftId(fieldId); - } - - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { - schemes.get(iprot.getScheme()).getScheme().read(iprot, this); - } - - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { - schemes.get(oprot.getScheme()).getScheme().write(oprot, this); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("get_table_req_args("); - boolean first = true; - - sb.append("req:"); - if (this.req == null) { - sb.append("null"); - } else { - sb.append(this.req); - } - first = false; - sb.append(")"); - return sb.toString(); - } - - public void validate() throws org.apache.thrift.TException { - // check for required fields - // check for sub-struct validity - if (req != null) { - req.validate(); - } - } - - private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { - try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { - throw new java.io.IOException(te); - } - } - - private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { - try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { - throw new java.io.IOException(te); - } - } - - private static class get_table_req_argsStandardSchemeFactory implements SchemeFactory { - public get_table_req_argsStandardScheme getScheme() { - return new get_table_req_argsStandardScheme(); - } - } - - private static class get_table_req_argsStandardScheme extends StandardScheme { - - public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_req_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // REQ - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.req = new GetTableRequest(); - struct.req.read(iprot); - struct.setReqIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - struct.validate(); - } - - public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_req_args struct) throws org.apache.thrift.TException { - struct.validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (struct.req != null) { - oprot.writeFieldBegin(REQ_FIELD_DESC); - struct.req.write(oprot); - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - } - - private static class get_table_req_argsTupleSchemeFactory implements SchemeFactory { - public get_table_req_argsTupleScheme getScheme() { - return new get_table_req_argsTupleScheme(); - } - } - - private static class get_table_req_argsTupleScheme extends TupleScheme { - - @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_table_req_args struct) throws org.apache.thrift.TException { - TTupleProtocol oprot = (TTupleProtocol) prot; - BitSet optionals = new BitSet(); - if (struct.isSetReq()) { - optionals.set(0); - } - oprot.writeBitSet(optionals, 1); - if (struct.isSetReq()) { - struct.req.write(oprot); - } - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_table_req_args struct) throws org.apache.thrift.TException { - TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.req = new GetTableRequest(); - struct.req.read(iprot); - struct.setReqIsSet(true); - } - } - } - - } - - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_table_req_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_req_result"); - - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); - private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2); - - private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); - static { - schemes.put(StandardScheme.class, new get_table_req_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_table_req_resultTupleSchemeFactory()); - } - - private GetTableResult success; // required - private MetaException o1; // required - private NoSuchObjectException o2; // required - - /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { - SUCCESS((short)0, "success"), - O1((short)1, "o1"), - O2((short)2, "o2"); - - private static final Map byName = new HashMap(); - - static { - for (_Fields field : EnumSet.allOf(_Fields.class)) { - byName.put(field.getFieldName(), field); - } - } - - /** - * Find the _Fields constant that matches fieldId, or null if its not found. - */ - public static _Fields findByThriftId(int fieldId) { - switch(fieldId) { - case 0: // SUCCESS - return SUCCESS; - case 1: // O1 - return O1; - case 2: // O2 - return O2; - default: - return null; - } - } - - /** - * Find the _Fields constant that matches fieldId, throwing an exception - * if it is not found. - */ - public static _Fields findByThriftIdOrThrow(int fieldId) { - _Fields fields = findByThriftId(fieldId); - if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); - return fields; - } - - /** - * Find the _Fields constant that matches name, or null if its not found. - */ - public static _Fields findByName(String name) { - return byName.get(name); - } - - private final short _thriftId; - private final String _fieldName; - - _Fields(short thriftId, String fieldName) { - _thriftId = thriftId; - _fieldName = fieldName; - } - - public short getThriftFieldId() { - return _thriftId; - } - - public String getFieldName() { - return _fieldName; - } - } - - // isset id assignments - public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; - static { - Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetTableResult.class))); - tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); - metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_table_req_result.class, metaDataMap); - } - - public get_table_req_result() { - } - - public get_table_req_result( - GetTableResult success, - MetaException o1, - NoSuchObjectException o2) - { - this(); - this.success = success; - this.o1 = o1; - this.o2 = o2; - } - - /** - * Performs a deep copy on other. - */ - public get_table_req_result(get_table_req_result other) { - if (other.isSetSuccess()) { - this.success = new GetTableResult(other.success); - } - if (other.isSetO1()) { - this.o1 = new MetaException(other.o1); - } - if (other.isSetO2()) { - this.o2 = new NoSuchObjectException(other.o2); - } - } - - public get_table_req_result deepCopy() { - return new get_table_req_result(this); - } - - @Override - public void clear() { - this.success = null; - this.o1 = null; - this.o2 = null; - } - - public GetTableResult getSuccess() { - return this.success; - } - - public void setSuccess(GetTableResult success) { - this.success = success; - } - - public void unsetSuccess() { - this.success = null; - } - - /** Returns true if field success is set (has been assigned a value) and false otherwise */ - public boolean isSetSuccess() { - return this.success != null; - } - - public void setSuccessIsSet(boolean value) { - if (!value) { - this.success = null; - } - } - - public MetaException getO1() { - return this.o1; - } - - public void setO1(MetaException o1) { - this.o1 = o1; - } - - public void unsetO1() { - this.o1 = null; - } - - /** Returns true if field o1 is set (has been assigned a value) and false otherwise */ - public boolean isSetO1() { - return this.o1 != null; - } - - public void setO1IsSet(boolean value) { - if (!value) { - this.o1 = null; - } - } - - public NoSuchObjectException getO2() { - return this.o2; - } - - public void setO2(NoSuchObjectException o2) { - this.o2 = o2; - } - - public void unsetO2() { - this.o2 = null; - } - - /** Returns true if field o2 is set (has been assigned a value) and false otherwise */ - public boolean isSetO2() { - return this.o2 != null; - } - - public void setO2IsSet(boolean value) { - if (!value) { - this.o2 = null; - } - } - - public void setFieldValue(_Fields field, Object value) { - switch (field) { - case SUCCESS: - if (value == null) { - unsetSuccess(); - } else { - setSuccess((GetTableResult)value); - } - break; - - case O1: - if (value == null) { - unsetO1(); - } else { - setO1((MetaException)value); - } - break; - - case O2: - if (value == null) { - unsetO2(); - } else { - setO2((NoSuchObjectException)value); - } - break; - - } - } - - public Object getFieldValue(_Fields field) { - switch (field) { - case SUCCESS: - return getSuccess(); - - case O1: - return getO1(); - - case O2: - return getO2(); - - } - throw new IllegalStateException(); - } - - /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ - public boolean isSet(_Fields field) { - if (field == null) { - throw new IllegalArgumentException(); - } - - switch (field) { - case SUCCESS: - return isSetSuccess(); - case O1: - return isSetO1(); - case O2: - return isSetO2(); - } - throw new IllegalStateException(); - } - - @Override - public boolean equals(Object that) { - if (that == null) - return false; - if (that instanceof get_table_req_result) - return this.equals((get_table_req_result)that); - return false; - } - - public boolean equals(get_table_req_result that) { - if (that == null) - return false; - - boolean this_present_success = true && this.isSetSuccess(); - boolean that_present_success = true && that.isSetSuccess(); - if (this_present_success || that_present_success) { - if (!(this_present_success && that_present_success)) - return false; - if (!this.success.equals(that.success)) - return false; - } - - boolean this_present_o1 = true && this.isSetO1(); - boolean that_present_o1 = true && that.isSetO1(); - if (this_present_o1 || that_present_o1) { - if (!(this_present_o1 && that_present_o1)) - return false; - if (!this.o1.equals(that.o1)) - return false; - } - - boolean this_present_o2 = true && this.isSetO2(); - boolean that_present_o2 = true && that.isSetO2(); - if (this_present_o2 || that_present_o2) { - if (!(this_present_o2 && that_present_o2)) - return false; - if (!this.o2.equals(that.o2)) - return false; - } - - return true; - } - - @Override - public int hashCode() { - List list = new ArrayList(); - - boolean present_success = true && (isSetSuccess()); - list.add(present_success); - if (present_success) - list.add(success); - - boolean present_o1 = true && (isSetO1()); - list.add(present_o1); - if (present_o1) - list.add(o1); - - boolean present_o2 = true && (isSetO2()); - list.add(present_o2); - if (present_o2) - list.add(o2); - - return list.hashCode(); - } - - @Override - public int compareTo(get_table_req_result other) { - if (!getClass().equals(other.getClass())) { - return getClass().getName().compareTo(other.getClass().getName()); - } - - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); - if (lastComparison != 0) { - return lastComparison; - } - } - return 0; - } - - public _Fields fieldForId(int fieldId) { - return _Fields.findByThriftId(fieldId); - } - - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { - schemes.get(iprot.getScheme()).getScheme().read(iprot, this); - } - - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { - schemes.get(oprot.getScheme()).getScheme().write(oprot, this); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("get_table_req_result("); - boolean first = true; - - sb.append("success:"); - if (this.success == null) { - sb.append("null"); - } else { - sb.append(this.success); - } - first = false; - if (!first) sb.append(", "); - sb.append("o1:"); - if (this.o1 == null) { - sb.append("null"); - } else { - sb.append(this.o1); - } - first = false; - if (!first) sb.append(", "); - sb.append("o2:"); - if (this.o2 == null) { - sb.append("null"); - } else { - sb.append(this.o2); - } - first = false; - sb.append(")"); - return sb.toString(); - } - - public void validate() throws org.apache.thrift.TException { - // check for required fields - // check for sub-struct validity - if (success != null) { - success.validate(); - } - } - - private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { - try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { - throw new java.io.IOException(te); - } - } - - private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { - try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { - throw new java.io.IOException(te); - } - } - - private static class get_table_req_resultStandardSchemeFactory implements SchemeFactory { - public get_table_req_resultStandardScheme getScheme() { - return new get_table_req_resultStandardScheme(); - } - } - - private static class get_table_req_resultStandardScheme extends StandardScheme { - - public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_req_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new GetTableResult(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 1: // O1 - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o1 = new MetaException(); - struct.o1.read(iprot); - struct.setO1IsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // O2 - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o2 = new NoSuchObjectException(); - struct.o2.read(iprot); - struct.setO2IsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - struct.validate(); - } - - public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_req_result struct) throws org.apache.thrift.TException { - struct.validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (struct.success != null) { - oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - struct.success.write(oprot); - oprot.writeFieldEnd(); - } - if (struct.o1 != null) { - oprot.writeFieldBegin(O1_FIELD_DESC); - struct.o1.write(oprot); - oprot.writeFieldEnd(); - } - if (struct.o2 != null) { - oprot.writeFieldBegin(O2_FIELD_DESC); - struct.o2.write(oprot); - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - } - - private static class get_table_req_resultTupleSchemeFactory implements SchemeFactory { - public get_table_req_resultTupleScheme getScheme() { - return new get_table_req_resultTupleScheme(); - } - } - - private static class get_table_req_resultTupleScheme extends TupleScheme { - - @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_table_req_result struct) throws org.apache.thrift.TException { - TTupleProtocol oprot = (TTupleProtocol) prot; - BitSet optionals = new BitSet(); - if (struct.isSetSuccess()) { - optionals.set(0); - } - if (struct.isSetO1()) { - optionals.set(1); - } - if (struct.isSetO2()) { - optionals.set(2); - } - oprot.writeBitSet(optionals, 3); - if (struct.isSetSuccess()) { - struct.success.write(oprot); - } - if (struct.isSetO1()) { - struct.o1.write(oprot); - } - if (struct.isSetO2()) { - struct.o2.write(oprot); - } - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_table_req_result struct) throws org.apache.thrift.TException { - TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); - if (incoming.get(0)) { - struct.success = new GetTableResult(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); - } - if (incoming.get(1)) { - struct.o1 = new MetaException(); - struct.o1.read(iprot); - struct.setO1IsSet(true); - } - if (incoming.get(2)) { - struct.o2 = new NoSuchObjectException(); - struct.o2.read(iprot); - struct.setO2IsSet(true); - } - } - } - - } - - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_table_objects_by_name_req_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_objects_by_name_req_args"); - - private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); - - private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); - static { - schemes.put(StandardScheme.class, new get_table_objects_by_name_req_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_table_objects_by_name_req_argsTupleSchemeFactory()); - } - - private GetTablesRequest req; // required - - /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { - REQ((short)1, "req"); - - private static final Map byName = new HashMap(); - - static { - for (_Fields field : EnumSet.allOf(_Fields.class)) { - byName.put(field.getFieldName(), field); - } - } - - /** - * Find the _Fields constant that matches fieldId, or null if its not found. - */ - public static _Fields findByThriftId(int fieldId) { - switch(fieldId) { - case 1: // REQ - return REQ; - default: - return null; - } - } - - /** - * Find the _Fields constant that matches fieldId, throwing an exception - * if it is not found. - */ - public static _Fields findByThriftIdOrThrow(int fieldId) { - _Fields fields = findByThriftId(fieldId); - if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); - return fields; - } - - /** - * Find the _Fields constant that matches name, or null if its not found. - */ - public static _Fields findByName(String name) { - return byName.get(name); - } - - private final short _thriftId; - private final String _fieldName; - - _Fields(short thriftId, String fieldName) { - _thriftId = thriftId; - _fieldName = fieldName; - } - - public short getThriftFieldId() { - return _thriftId; - } - - public String getFieldName() { - return _fieldName; - } - } - - // isset id assignments - 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.REQ, new org.apache.thrift.meta_data.FieldMetaData("req", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetTablesRequest.class))); - metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_table_objects_by_name_req_args.class, metaDataMap); - } - - public get_table_objects_by_name_req_args() { - } - - public get_table_objects_by_name_req_args( - GetTablesRequest req) - { - this(); - this.req = req; - } - - /** - * Performs a deep copy on other. - */ - public get_table_objects_by_name_req_args(get_table_objects_by_name_req_args other) { - if (other.isSetReq()) { - this.req = new GetTablesRequest(other.req); - } - } - - public get_table_objects_by_name_req_args deepCopy() { - return new get_table_objects_by_name_req_args(this); - } - - @Override - public void clear() { - this.req = null; - } - - public GetTablesRequest getReq() { - return this.req; - } - - public void setReq(GetTablesRequest req) { - this.req = req; - } - - public void unsetReq() { - this.req = null; - } - - /** Returns true if field req is set (has been assigned a value) and false otherwise */ - public boolean isSetReq() { - return this.req != null; - } - - public void setReqIsSet(boolean value) { - if (!value) { - this.req = null; - } - } - - public void setFieldValue(_Fields field, Object value) { - switch (field) { - case REQ: - if (value == null) { - unsetReq(); - } else { - setReq((GetTablesRequest)value); - } - break; - - } - } - - public Object getFieldValue(_Fields field) { - switch (field) { - case REQ: - return getReq(); - - } - throw new IllegalStateException(); - } - - /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ - public boolean isSet(_Fields field) { - if (field == null) { - throw new IllegalArgumentException(); - } - - switch (field) { - case REQ: - return isSetReq(); - } - throw new IllegalStateException(); - } - - @Override - public boolean equals(Object that) { - if (that == null) - return false; - if (that instanceof get_table_objects_by_name_req_args) - return this.equals((get_table_objects_by_name_req_args)that); + if (that instanceof get_table_req_args) + return this.equals((get_table_req_args)that); return false; } - public boolean equals(get_table_objects_by_name_req_args that) { + public boolean equals(get_table_req_args that) { if (that == null) return false; @@ -66609,7 +65502,7 @@ public int hashCode() { } @Override - public int compareTo(get_table_objects_by_name_req_args other) { + public int compareTo(get_table_req_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -66643,7 +65536,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_table_objects_by_name_req_args("); + StringBuilder sb = new StringBuilder("get_table_req_args("); boolean first = true; sb.append("req:"); @@ -66681,15 +65574,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_table_objects_by_name_req_argsStandardSchemeFactory implements SchemeFactory { - public get_table_objects_by_name_req_argsStandardScheme getScheme() { - return new get_table_objects_by_name_req_argsStandardScheme(); + private static class get_table_req_argsStandardSchemeFactory implements SchemeFactory { + public get_table_req_argsStandardScheme getScheme() { + return new get_table_req_argsStandardScheme(); } } - private static class get_table_objects_by_name_req_argsStandardScheme extends StandardScheme { + private static class get_table_req_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_by_name_req_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_req_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -66701,7 +65594,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b switch (schemeField.id) { case 1: // REQ if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.req = new GetTablesRequest(); + struct.req = new GetTableRequest(); struct.req.read(iprot); struct.setReqIsSet(true); } else { @@ -66717,7 +65610,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_by_name_req_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_req_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -66732,16 +65625,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_ } - private static class get_table_objects_by_name_req_argsTupleSchemeFactory implements SchemeFactory { - public get_table_objects_by_name_req_argsTupleScheme getScheme() { - return new get_table_objects_by_name_req_argsTupleScheme(); + private static class get_table_req_argsTupleSchemeFactory implements SchemeFactory { + public get_table_req_argsTupleScheme getScheme() { + return new get_table_req_argsTupleScheme(); } } - private static class get_table_objects_by_name_req_argsTupleScheme extends TupleScheme { + private static class get_table_req_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by_name_req_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_table_req_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetReq()) { @@ -66754,11 +65647,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by_name_req_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_table_req_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.req = new GetTablesRequest(); + struct.req = new GetTableRequest(); struct.req.read(iprot); struct.setReqIsSet(true); } @@ -66767,31 +65660,28 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_table_objects_by_name_req_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_objects_by_name_req_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_table_req_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_req_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.protocol.TField O3_FIELD_DESC = new org.apache.thrift.protocol.TField("o3", org.apache.thrift.protocol.TType.STRUCT, (short)3); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_table_objects_by_name_req_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_table_objects_by_name_req_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_table_req_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_table_req_resultTupleSchemeFactory()); } - private GetTablesResult success; // required + private GetTableResult success; // required private MetaException o1; // required - private InvalidOperationException o2; // required - private UnknownDBException o3; // required + private NoSuchObjectException o2; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { SUCCESS((short)0, "success"), O1((short)1, "o1"), - O2((short)2, "o2"), - O3((short)3, "o3"); + O2((short)2, "o2"); private static final Map byName = new HashMap(); @@ -66812,8 +65702,6 @@ public static _Fields findByThriftId(int fieldId) { return O1; case 2: // O2 return O2; - case 3: // O3 - return O3; default: return null; } @@ -66858,53 +65746,46 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetTablesResult.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetTableResult.class))); tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.O3, new org.apache.thrift.meta_data.FieldMetaData("o3", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_table_objects_by_name_req_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_table_req_result.class, metaDataMap); } - public get_table_objects_by_name_req_result() { + public get_table_req_result() { } - public get_table_objects_by_name_req_result( - GetTablesResult success, + public get_table_req_result( + GetTableResult success, MetaException o1, - InvalidOperationException o2, - UnknownDBException o3) + NoSuchObjectException o2) { this(); this.success = success; this.o1 = o1; this.o2 = o2; - this.o3 = o3; } /** * Performs a deep copy on other. */ - public get_table_objects_by_name_req_result(get_table_objects_by_name_req_result other) { + public get_table_req_result(get_table_req_result other) { if (other.isSetSuccess()) { - this.success = new GetTablesResult(other.success); + this.success = new GetTableResult(other.success); } if (other.isSetO1()) { this.o1 = new MetaException(other.o1); } if (other.isSetO2()) { - this.o2 = new InvalidOperationException(other.o2); - } - if (other.isSetO3()) { - this.o3 = new UnknownDBException(other.o3); + this.o2 = new NoSuchObjectException(other.o2); } } - public get_table_objects_by_name_req_result deepCopy() { - return new get_table_objects_by_name_req_result(this); + public get_table_req_result deepCopy() { + return new get_table_req_result(this); } @Override @@ -66912,14 +65793,13 @@ public void clear() { this.success = null; this.o1 = null; this.o2 = null; - this.o3 = null; } - public GetTablesResult getSuccess() { + public GetTableResult getSuccess() { return this.success; } - public void setSuccess(GetTablesResult success) { + public void setSuccess(GetTableResult success) { this.success = success; } @@ -66961,11 +65841,11 @@ public void setO1IsSet(boolean value) { } } - public InvalidOperationException getO2() { + public NoSuchObjectException getO2() { return this.o2; } - public void setO2(InvalidOperationException o2) { + public void setO2(NoSuchObjectException o2) { this.o2 = o2; } @@ -66984,36 +65864,13 @@ public void setO2IsSet(boolean value) { } } - public UnknownDBException getO3() { - return this.o3; - } - - public void setO3(UnknownDBException o3) { - this.o3 = o3; - } - - public void unsetO3() { - this.o3 = null; - } - - /** Returns true if field o3 is set (has been assigned a value) and false otherwise */ - public boolean isSetO3() { - return this.o3 != null; - } - - public void setO3IsSet(boolean value) { - if (!value) { - this.o3 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { - setSuccess((GetTablesResult)value); + setSuccess((GetTableResult)value); } break; @@ -67029,15 +65886,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO2(); } else { - setO2((InvalidOperationException)value); - } - break; - - case O3: - if (value == null) { - unsetO3(); - } else { - setO3((UnknownDBException)value); + setO2((NoSuchObjectException)value); } break; @@ -67055,9 +65904,6 @@ public Object getFieldValue(_Fields field) { case O2: return getO2(); - case O3: - return getO3(); - } throw new IllegalStateException(); } @@ -67075,8 +65921,6 @@ public boolean isSet(_Fields field) { return isSetO1(); case O2: return isSetO2(); - case O3: - return isSetO3(); } throw new IllegalStateException(); } @@ -67085,12 +65929,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_table_objects_by_name_req_result) - return this.equals((get_table_objects_by_name_req_result)that); + if (that instanceof get_table_req_result) + return this.equals((get_table_req_result)that); return false; } - public boolean equals(get_table_objects_by_name_req_result that) { + public boolean equals(get_table_req_result that) { if (that == null) return false; @@ -67121,15 +65965,6 @@ public boolean equals(get_table_objects_by_name_req_result that) { return false; } - boolean this_present_o3 = true && this.isSetO3(); - boolean that_present_o3 = true && that.isSetO3(); - if (this_present_o3 || that_present_o3) { - if (!(this_present_o3 && that_present_o3)) - return false; - if (!this.o3.equals(that.o3)) - return false; - } - return true; } @@ -67152,16 +65987,11 @@ public int hashCode() { if (present_o2) list.add(o2); - boolean present_o3 = true && (isSetO3()); - list.add(present_o3); - if (present_o3) - list.add(o3); - return list.hashCode(); } @Override - public int compareTo(get_table_objects_by_name_req_result other) { + public int compareTo(get_table_req_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -67198,16 +66028,6 @@ public int compareTo(get_table_objects_by_name_req_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); - if (lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -67225,7 +66045,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_table_objects_by_name_req_result("); + StringBuilder sb = new StringBuilder("get_table_req_result("); boolean first = true; sb.append("success:"); @@ -67251,14 +66071,6 @@ public String toString() { sb.append(this.o2); } first = false; - if (!first) sb.append(", "); - sb.append("o3:"); - if (this.o3 == null) { - sb.append("null"); - } else { - sb.append(this.o3); - } - first = false; sb.append(")"); return sb.toString(); } @@ -67287,15 +66099,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_table_objects_by_name_req_resultStandardSchemeFactory implements SchemeFactory { - public get_table_objects_by_name_req_resultStandardScheme getScheme() { - return new get_table_objects_by_name_req_resultStandardScheme(); + private static class get_table_req_resultStandardSchemeFactory implements SchemeFactory { + public get_table_req_resultStandardScheme getScheme() { + return new get_table_req_resultStandardScheme(); } } - private static class get_table_objects_by_name_req_resultStandardScheme extends StandardScheme { + private static class get_table_req_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_by_name_req_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_req_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -67307,7 +66119,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new GetTablesResult(); + struct.success = new GetTableResult(); struct.success.read(iprot); struct.setSuccessIsSet(true); } else { @@ -67325,22 +66137,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b break; case 2: // O2 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o2 = new InvalidOperationException(); + struct.o2 = new NoSuchObjectException(); struct.o2.read(iprot); struct.setO2IsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // O3 - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o3 = new UnknownDBException(); - struct.o3.read(iprot); - struct.setO3IsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -67350,7 +66153,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_by_name_req_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_req_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -67369,27 +66172,22 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_ struct.o2.write(oprot); oprot.writeFieldEnd(); } - if (struct.o3 != null) { - oprot.writeFieldBegin(O3_FIELD_DESC); - struct.o3.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_table_objects_by_name_req_resultTupleSchemeFactory implements SchemeFactory { - public get_table_objects_by_name_req_resultTupleScheme getScheme() { - return new get_table_objects_by_name_req_resultTupleScheme(); + private static class get_table_req_resultTupleSchemeFactory implements SchemeFactory { + public get_table_req_resultTupleScheme getScheme() { + return new get_table_req_resultTupleScheme(); } } - private static class get_table_objects_by_name_req_resultTupleScheme extends TupleScheme { + private static class get_table_req_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by_name_req_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_table_req_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -67401,10 +66199,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetO2()) { optionals.set(2); } - if (struct.isSetO3()) { - optionals.set(3); - } - oprot.writeBitSet(optionals, 4); + oprot.writeBitSet(optionals, 3); if (struct.isSetSuccess()) { struct.success.write(oprot); } @@ -67414,17 +66209,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetO2()) { struct.o2.write(oprot); } - if (struct.isSetO3()) { - struct.o3.write(oprot); - } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by_name_req_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_table_req_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { - struct.success = new GetTablesResult(); + struct.success = new GetTableResult(); struct.success.read(iprot); struct.setSuccessIsSet(true); } @@ -67434,39 +66226,31 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by struct.setO1IsSet(true); } if (incoming.get(2)) { - struct.o2 = new InvalidOperationException(); + struct.o2 = new NoSuchObjectException(); struct.o2.read(iprot); struct.setO2IsSet(true); } - if (incoming.get(3)) { - struct.o3 = new UnknownDBException(); - struct.o3.read(iprot); - struct.setO3IsSet(true); - } } } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_materialization_invalidation_info_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_materialization_invalidation_info_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_table_objects_by_name_req_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_objects_by_name_req_args"); - private static final org.apache.thrift.protocol.TField DBNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbname", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TBL_NAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("tbl_names", org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.thrift.protocol.TField REQ_FIELD_DESC = new org.apache.thrift.protocol.TField("req", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_materialization_invalidation_info_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_materialization_invalidation_info_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_table_objects_by_name_req_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_table_objects_by_name_req_argsTupleSchemeFactory()); } - private String dbname; // required - private List tbl_names; // required + private GetTablesRequest req; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - DBNAME((short)1, "dbname"), - TBL_NAMES((short)2, "tbl_names"); + REQ((short)1, "req"); private static final Map byName = new HashMap(); @@ -67481,10 +66265,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 1: // DBNAME - return DBNAME; - case 2: // TBL_NAMES - return TBL_NAMES; + case 1: // REQ + return REQ; default: return null; } @@ -67528,126 +66310,70 @@ public String getFieldName() { public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.DBNAME, new org.apache.thrift.meta_data.FieldMetaData("dbname", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TBL_NAMES, new org.apache.thrift.meta_data.FieldMetaData("tbl_names", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.REQ, new org.apache.thrift.meta_data.FieldMetaData("req", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetTablesRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_materialization_invalidation_info_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_table_objects_by_name_req_args.class, metaDataMap); } - public get_materialization_invalidation_info_args() { + public get_table_objects_by_name_req_args() { } - public get_materialization_invalidation_info_args( - String dbname, - List tbl_names) + public get_table_objects_by_name_req_args( + GetTablesRequest req) { this(); - this.dbname = dbname; - this.tbl_names = tbl_names; + this.req = req; } /** * Performs a deep copy on other. */ - public get_materialization_invalidation_info_args(get_materialization_invalidation_info_args other) { - if (other.isSetDbname()) { - this.dbname = other.dbname; - } - if (other.isSetTbl_names()) { - List __this__tbl_names = new ArrayList(other.tbl_names); - this.tbl_names = __this__tbl_names; + public get_table_objects_by_name_req_args(get_table_objects_by_name_req_args other) { + if (other.isSetReq()) { + this.req = new GetTablesRequest(other.req); } } - public get_materialization_invalidation_info_args deepCopy() { - return new get_materialization_invalidation_info_args(this); + public get_table_objects_by_name_req_args deepCopy() { + return new get_table_objects_by_name_req_args(this); } @Override public void clear() { - this.dbname = null; - this.tbl_names = null; - } - - public String getDbname() { - return this.dbname; - } - - public void setDbname(String dbname) { - this.dbname = dbname; - } - - public void unsetDbname() { - this.dbname = null; - } - - /** Returns true if field dbname is set (has been assigned a value) and false otherwise */ - public boolean isSetDbname() { - return this.dbname != null; - } - - public void setDbnameIsSet(boolean value) { - if (!value) { - this.dbname = null; - } - } - - public int getTbl_namesSize() { - return (this.tbl_names == null) ? 0 : this.tbl_names.size(); - } - - public java.util.Iterator getTbl_namesIterator() { - return (this.tbl_names == null) ? null : this.tbl_names.iterator(); - } - - public void addToTbl_names(String elem) { - if (this.tbl_names == null) { - this.tbl_names = new ArrayList(); - } - this.tbl_names.add(elem); + this.req = null; } - public List getTbl_names() { - return this.tbl_names; + public GetTablesRequest getReq() { + return this.req; } - public void setTbl_names(List tbl_names) { - this.tbl_names = tbl_names; + public void setReq(GetTablesRequest req) { + this.req = req; } - public void unsetTbl_names() { - this.tbl_names = null; + public void unsetReq() { + this.req = null; } - /** Returns true if field tbl_names is set (has been assigned a value) and false otherwise */ - public boolean isSetTbl_names() { - return this.tbl_names != null; + /** Returns true if field req is set (has been assigned a value) and false otherwise */ + public boolean isSetReq() { + return this.req != null; } - public void setTbl_namesIsSet(boolean value) { + public void setReqIsSet(boolean value) { if (!value) { - this.tbl_names = null; + this.req = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { - case DBNAME: - if (value == null) { - unsetDbname(); - } else { - setDbname((String)value); - } - break; - - case TBL_NAMES: + case REQ: if (value == null) { - unsetTbl_names(); + unsetReq(); } else { - setTbl_names((List)value); + setReq((GetTablesRequest)value); } break; @@ -67656,11 +66382,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case DBNAME: - return getDbname(); - - case TBL_NAMES: - return getTbl_names(); + case REQ: + return getReq(); } throw new IllegalStateException(); @@ -67673,10 +66396,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case DBNAME: - return isSetDbname(); - case TBL_NAMES: - return isSetTbl_names(); + case REQ: + return isSetReq(); } throw new IllegalStateException(); } @@ -67685,30 +66406,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_materialization_invalidation_info_args) - return this.equals((get_materialization_invalidation_info_args)that); + if (that instanceof get_table_objects_by_name_req_args) + return this.equals((get_table_objects_by_name_req_args)that); return false; } - public boolean equals(get_materialization_invalidation_info_args that) { + public boolean equals(get_table_objects_by_name_req_args that) { if (that == null) return false; - boolean this_present_dbname = true && this.isSetDbname(); - boolean that_present_dbname = true && that.isSetDbname(); - if (this_present_dbname || that_present_dbname) { - if (!(this_present_dbname && that_present_dbname)) - return false; - if (!this.dbname.equals(that.dbname)) - return false; - } - - boolean this_present_tbl_names = true && this.isSetTbl_names(); - boolean that_present_tbl_names = true && that.isSetTbl_names(); - if (this_present_tbl_names || that_present_tbl_names) { - if (!(this_present_tbl_names && that_present_tbl_names)) + boolean this_present_req = true && this.isSetReq(); + boolean that_present_req = true && that.isSetReq(); + if (this_present_req || that_present_req) { + if (!(this_present_req && that_present_req)) return false; - if (!this.tbl_names.equals(that.tbl_names)) + if (!this.req.equals(that.req)) return false; } @@ -67719,43 +66431,28 @@ public boolean equals(get_materialization_invalidation_info_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_dbname = true && (isSetDbname()); - list.add(present_dbname); - if (present_dbname) - list.add(dbname); - - boolean present_tbl_names = true && (isSetTbl_names()); - list.add(present_tbl_names); - if (present_tbl_names) - list.add(tbl_names); + boolean present_req = true && (isSetReq()); + list.add(present_req); + if (present_req) + list.add(req); return list.hashCode(); } @Override - public int compareTo(get_materialization_invalidation_info_args other) { + public int compareTo(get_table_objects_by_name_req_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetDbname()).compareTo(other.isSetDbname()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetDbname()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbname, other.dbname); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetTbl_names()).compareTo(other.isSetTbl_names()); + lastComparison = Boolean.valueOf(isSetReq()).compareTo(other.isSetReq()); if (lastComparison != 0) { return lastComparison; } - if (isSetTbl_names()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tbl_names, other.tbl_names); + if (isSetReq()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.req, other.req); if (lastComparison != 0) { return lastComparison; } @@ -67777,22 +66474,14 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_materialization_invalidation_info_args("); + StringBuilder sb = new StringBuilder("get_table_objects_by_name_req_args("); boolean first = true; - sb.append("dbname:"); - if (this.dbname == null) { - sb.append("null"); - } else { - sb.append(this.dbname); - } - first = false; - if (!first) sb.append(", "); - sb.append("tbl_names:"); - if (this.tbl_names == null) { + sb.append("req:"); + if (this.req == null) { sb.append("null"); } else { - sb.append(this.tbl_names); + sb.append(this.req); } first = false; sb.append(")"); @@ -67802,6 +66491,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if (req != null) { + req.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -67820,15 +66512,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_materialization_invalidation_info_argsStandardSchemeFactory implements SchemeFactory { - public get_materialization_invalidation_info_argsStandardScheme getScheme() { - return new get_materialization_invalidation_info_argsStandardScheme(); + private static class get_table_objects_by_name_req_argsStandardSchemeFactory implements SchemeFactory { + public get_table_objects_by_name_req_argsStandardScheme getScheme() { + return new get_table_objects_by_name_req_argsStandardScheme(); } } - private static class get_materialization_invalidation_info_argsStandardScheme extends StandardScheme { + private static class get_table_objects_by_name_req_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialization_invalidation_info_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_by_name_req_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -67838,28 +66530,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialization break; } switch (schemeField.id) { - case 1: // DBNAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.dbname = iprot.readString(); - struct.setDbnameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // TBL_NAMES - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1050 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1050.size); - String _elem1051; - for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) - { - _elem1051 = iprot.readString(); - struct.tbl_names.add(_elem1051); - } - iprot.readListEnd(); - } - struct.setTbl_namesIsSet(true); + case 1: // REQ + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.req = new GetTablesRequest(); + struct.req.read(iprot); + struct.setReqIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -67873,25 +66548,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialization struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_materialization_invalidation_info_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_by_name_req_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.dbname != null) { - oprot.writeFieldBegin(DBNAME_FIELD_DESC); - oprot.writeString(struct.dbname); - oprot.writeFieldEnd(); - } - if (struct.tbl_names != null) { - 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 _iter1053 : struct.tbl_names) - { - oprot.writeString(_iter1053); - } - oprot.writeListEnd(); - } + if (struct.req != null) { + oprot.writeFieldBegin(REQ_FIELD_DESC); + struct.req.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -67900,80 +66563,56 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_materializatio } - private static class get_materialization_invalidation_info_argsTupleSchemeFactory implements SchemeFactory { - public get_materialization_invalidation_info_argsTupleScheme getScheme() { - return new get_materialization_invalidation_info_argsTupleScheme(); + private static class get_table_objects_by_name_req_argsTupleSchemeFactory implements SchemeFactory { + public get_table_objects_by_name_req_argsTupleScheme getScheme() { + return new get_table_objects_by_name_req_argsTupleScheme(); } } - private static class get_materialization_invalidation_info_argsTupleScheme extends TupleScheme { + private static class get_table_objects_by_name_req_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization_invalidation_info_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by_name_req_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetDbname()) { + if (struct.isSetReq()) { optionals.set(0); } - if (struct.isSetTbl_names()) { - optionals.set(1); - } - oprot.writeBitSet(optionals, 2); - if (struct.isSetDbname()) { - oprot.writeString(struct.dbname); - } - if (struct.isSetTbl_names()) { - { - oprot.writeI32(struct.tbl_names.size()); - for (String _iter1054 : struct.tbl_names) - { - oprot.writeString(_iter1054); - } - } + oprot.writeBitSet(optionals, 1); + if (struct.isSetReq()) { + struct.req.write(oprot); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_materialization_invalidation_info_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by_name_req_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(2); + BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.dbname = iprot.readString(); - struct.setDbnameIsSet(true); - } - if (incoming.get(1)) { - { - org.apache.thrift.protocol.TList _list1055 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1055.size); - String _elem1056; - for (int _i1057 = 0; _i1057 < _list1055.size; ++_i1057) - { - _elem1056 = iprot.readString(); - struct.tbl_names.add(_elem1056); - } - } - struct.setTbl_namesIsSet(true); + struct.req = new GetTablesRequest(); + struct.req.read(iprot); + struct.setReqIsSet(true); } } } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_materialization_invalidation_info_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_materialization_invalidation_info_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_table_objects_by_name_req_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_table_objects_by_name_req_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final org.apache.thrift.protocol.TField O3_FIELD_DESC = new org.apache.thrift.protocol.TField("o3", org.apache.thrift.protocol.TType.STRUCT, (short)3); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_materialization_invalidation_info_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_materialization_invalidation_info_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_table_objects_by_name_req_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_table_objects_by_name_req_resultTupleSchemeFactory()); } - private Map success; // required + private GetTablesResult success; // required private MetaException o1; // required private InvalidOperationException o2; // required private UnknownDBException o3; // required @@ -68050,9 +66689,7 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, Materialization.class)))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetTablesResult.class))); tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", org.apache.thrift.TFieldRequirementType.DEFAULT, @@ -68060,14 +66697,14 @@ public String getFieldName() { tmpMap.put(_Fields.O3, new org.apache.thrift.meta_data.FieldMetaData("o3", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_materialization_invalidation_info_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_table_objects_by_name_req_result.class, metaDataMap); } - public get_materialization_invalidation_info_result() { + public get_table_objects_by_name_req_result() { } - public get_materialization_invalidation_info_result( - Map success, + public get_table_objects_by_name_req_result( + GetTablesResult success, MetaException o1, InvalidOperationException o2, UnknownDBException o3) @@ -68082,21 +66719,9 @@ public get_materialization_invalidation_info_result( /** * Performs a deep copy on other. */ - public get_materialization_invalidation_info_result(get_materialization_invalidation_info_result other) { + public get_table_objects_by_name_req_result(get_table_objects_by_name_req_result other) { if (other.isSetSuccess()) { - Map __this__success = new HashMap(other.success.size()); - for (Map.Entry other_element : other.success.entrySet()) { - - String other_element_key = other_element.getKey(); - Materialization other_element_value = other_element.getValue(); - - String __this__success_copy_key = other_element_key; - - Materialization __this__success_copy_value = new Materialization(other_element_value); - - __this__success.put(__this__success_copy_key, __this__success_copy_value); - } - this.success = __this__success; + this.success = new GetTablesResult(other.success); } if (other.isSetO1()) { this.o1 = new MetaException(other.o1); @@ -68109,8 +66734,8 @@ public get_materialization_invalidation_info_result(get_materialization_invalida } } - public get_materialization_invalidation_info_result deepCopy() { - return new get_materialization_invalidation_info_result(this); + public get_table_objects_by_name_req_result deepCopy() { + return new get_table_objects_by_name_req_result(this); } @Override @@ -68121,22 +66746,11 @@ public void clear() { this.o3 = null; } - public int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); - } - - public void putToSuccess(String key, Materialization val) { - if (this.success == null) { - this.success = new HashMap(); - } - this.success.put(key, val); - } - - public Map getSuccess() { + public GetTablesResult getSuccess() { return this.success; } - public void setSuccess(Map success) { + public void setSuccess(GetTablesResult success) { this.success = success; } @@ -68230,7 +66844,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((Map)value); + setSuccess((GetTablesResult)value); } break; @@ -68302,12 +66916,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_materialization_invalidation_info_result) - return this.equals((get_materialization_invalidation_info_result)that); + if (that instanceof get_table_objects_by_name_req_result) + return this.equals((get_table_objects_by_name_req_result)that); return false; } - public boolean equals(get_materialization_invalidation_info_result that) { + public boolean equals(get_table_objects_by_name_req_result that) { if (that == null) return false; @@ -68378,7 +66992,7 @@ public int hashCode() { } @Override - public int compareTo(get_materialization_invalidation_info_result other) { + public int compareTo(get_table_objects_by_name_req_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -68442,7 +67056,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_materialization_invalidation_info_result("); + StringBuilder sb = new StringBuilder("get_table_objects_by_name_req_result("); boolean first = true; sb.append("success:"); @@ -68483,6 +67097,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if (success != null) { + success.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -68501,15 +67118,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_materialization_invalidation_info_resultStandardSchemeFactory implements SchemeFactory { - public get_materialization_invalidation_info_resultStandardScheme getScheme() { - return new get_materialization_invalidation_info_resultStandardScheme(); + private static class get_table_objects_by_name_req_resultStandardSchemeFactory implements SchemeFactory { + public get_table_objects_by_name_req_resultStandardScheme getScheme() { + return new get_table_objects_by_name_req_resultStandardScheme(); } } - private static class get_materialization_invalidation_info_resultStandardScheme extends StandardScheme { + private static class get_table_objects_by_name_req_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialization_invalidation_info_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_by_name_req_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -68520,21 +67137,9 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialization } switch (schemeField.id) { case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map1058 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1058.size); - String _key1059; - Materialization _val1060; - for (int _i1061 = 0; _i1061 < _map1058.size; ++_i1061) - { - _key1059 = iprot.readString(); - _val1060 = new Materialization(); - _val1060.read(iprot); - struct.success.put(_key1059, _val1060); - } - iprot.readMapEnd(); - } + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new GetTablesResult(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -68576,21 +67181,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialization struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_materialization_invalidation_info_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_by_name_req_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { 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 _iter1062 : struct.success.entrySet()) - { - oprot.writeString(_iter1062.getKey()); - _iter1062.getValue().write(oprot); - } - oprot.writeMapEnd(); - } + struct.success.write(oprot); oprot.writeFieldEnd(); } if (struct.o1 != null) { @@ -68614,16 +67211,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_materializatio } - private static class get_materialization_invalidation_info_resultTupleSchemeFactory implements SchemeFactory { - public get_materialization_invalidation_info_resultTupleScheme getScheme() { - return new get_materialization_invalidation_info_resultTupleScheme(); + private static class get_table_objects_by_name_req_resultTupleSchemeFactory implements SchemeFactory { + public get_table_objects_by_name_req_resultTupleScheme getScheme() { + return new get_table_objects_by_name_req_resultTupleScheme(); } } - private static class get_materialization_invalidation_info_resultTupleScheme extends TupleScheme { + private static class get_table_objects_by_name_req_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization_invalidation_info_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by_name_req_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -68640,14 +67237,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization } oprot.writeBitSet(optionals, 4); if (struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (Map.Entry _iter1063 : struct.success.entrySet()) - { - oprot.writeString(_iter1063.getKey()); - _iter1063.getValue().write(oprot); - } - } + struct.success.write(oprot); } if (struct.isSetO1()) { struct.o1.write(oprot); @@ -68661,23 +67251,12 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_materialization_invalidation_info_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by_name_req_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { - { - org.apache.thrift.protocol.TMap _map1064 = 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*_map1064.size); - String _key1065; - Materialization _val1066; - for (int _i1067 = 0; _i1067 < _map1064.size; ++_i1067) - { - _key1065 = iprot.readString(); - _val1066 = new Materialization(); - _val1066.read(iprot); - struct.success.put(_key1065, _val1066); - } - } + struct.success = new GetTablesResult(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } if (incoming.get(1)) { @@ -70964,13 +69543,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 _list1068 = iprot.readListBegin(); - struct.success = new ArrayList(_list1068.size); - String _elem1069; - for (int _i1070 = 0; _i1070 < _list1068.size; ++_i1070) + org.apache.thrift.protocol.TList _list1042 = iprot.readListBegin(); + struct.success = new ArrayList(_list1042.size); + String _elem1043; + for (int _i1044 = 0; _i1044 < _list1042.size; ++_i1044) { - _elem1069 = iprot.readString(); - struct.success.add(_elem1069); + _elem1043 = iprot.readString(); + struct.success.add(_elem1043); } iprot.readListEnd(); } @@ -71023,9 +69602,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 _iter1071 : struct.success) + for (String _iter1045 : struct.success) { - oprot.writeString(_iter1071); + oprot.writeString(_iter1045); } oprot.writeListEnd(); } @@ -71080,9 +69659,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1072 : struct.success) + for (String _iter1046 : struct.success) { - oprot.writeString(_iter1072); + oprot.writeString(_iter1046); } } } @@ -71103,13 +69682,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 _list1073 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1073.size); - String _elem1074; - for (int _i1075 = 0; _i1075 < _list1073.size; ++_i1075) + org.apache.thrift.protocol.TList _list1047 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1047.size); + String _elem1048; + for (int _i1049 = 0; _i1049 < _list1047.size; ++_i1049) { - _elem1074 = iprot.readString(); - struct.success.add(_elem1074); + _elem1048 = iprot.readString(); + struct.success.add(_elem1048); } } struct.setSuccessIsSet(true); @@ -76968,14 +75547,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 _list1076 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1076.size); - Partition _elem1077; - for (int _i1078 = 0; _i1078 < _list1076.size; ++_i1078) + org.apache.thrift.protocol.TList _list1050 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1050.size); + Partition _elem1051; + for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) { - _elem1077 = new Partition(); - _elem1077.read(iprot); - struct.new_parts.add(_elem1077); + _elem1051 = new Partition(); + _elem1051.read(iprot); + struct.new_parts.add(_elem1051); } iprot.readListEnd(); } @@ -77001,9 +75580,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 _iter1079 : struct.new_parts) + for (Partition _iter1053 : struct.new_parts) { - _iter1079.write(oprot); + _iter1053.write(oprot); } oprot.writeListEnd(); } @@ -77034,9 +75613,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 _iter1080 : struct.new_parts) + for (Partition _iter1054 : struct.new_parts) { - _iter1080.write(oprot); + _iter1054.write(oprot); } } } @@ -77048,14 +75627,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 _list1081 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1081.size); - Partition _elem1082; - for (int _i1083 = 0; _i1083 < _list1081.size; ++_i1083) + org.apache.thrift.protocol.TList _list1055 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1055.size); + Partition _elem1056; + for (int _i1057 = 0; _i1057 < _list1055.size; ++_i1057) { - _elem1082 = new Partition(); - _elem1082.read(iprot); - struct.new_parts.add(_elem1082); + _elem1056 = new Partition(); + _elem1056.read(iprot); + struct.new_parts.add(_elem1056); } } struct.setNew_partsIsSet(true); @@ -78056,14 +76635,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 _list1084 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1084.size); - PartitionSpec _elem1085; - for (int _i1086 = 0; _i1086 < _list1084.size; ++_i1086) + org.apache.thrift.protocol.TList _list1058 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1058.size); + PartitionSpec _elem1059; + for (int _i1060 = 0; _i1060 < _list1058.size; ++_i1060) { - _elem1085 = new PartitionSpec(); - _elem1085.read(iprot); - struct.new_parts.add(_elem1085); + _elem1059 = new PartitionSpec(); + _elem1059.read(iprot); + struct.new_parts.add(_elem1059); } iprot.readListEnd(); } @@ -78089,9 +76668,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 _iter1087 : struct.new_parts) + for (PartitionSpec _iter1061 : struct.new_parts) { - _iter1087.write(oprot); + _iter1061.write(oprot); } oprot.writeListEnd(); } @@ -78122,9 +76701,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 _iter1088 : struct.new_parts) + for (PartitionSpec _iter1062 : struct.new_parts) { - _iter1088.write(oprot); + _iter1062.write(oprot); } } } @@ -78136,14 +76715,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 _list1089 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1089.size); - PartitionSpec _elem1090; - for (int _i1091 = 0; _i1091 < _list1089.size; ++_i1091) + org.apache.thrift.protocol.TList _list1063 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1063.size); + PartitionSpec _elem1064; + for (int _i1065 = 0; _i1065 < _list1063.size; ++_i1065) { - _elem1090 = new PartitionSpec(); - _elem1090.read(iprot); - struct.new_parts.add(_elem1090); + _elem1064 = new PartitionSpec(); + _elem1064.read(iprot); + struct.new_parts.add(_elem1064); } } struct.setNew_partsIsSet(true); @@ -79319,13 +77898,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 _list1092 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1092.size); - String _elem1093; - for (int _i1094 = 0; _i1094 < _list1092.size; ++_i1094) + org.apache.thrift.protocol.TList _list1066 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1066.size); + String _elem1067; + for (int _i1068 = 0; _i1068 < _list1066.size; ++_i1068) { - _elem1093 = iprot.readString(); - struct.part_vals.add(_elem1093); + _elem1067 = iprot.readString(); + struct.part_vals.add(_elem1067); } iprot.readListEnd(); } @@ -79361,9 +77940,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 _iter1095 : struct.part_vals) + for (String _iter1069 : struct.part_vals) { - oprot.writeString(_iter1095); + oprot.writeString(_iter1069); } oprot.writeListEnd(); } @@ -79406,9 +77985,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 _iter1096 : struct.part_vals) + for (String _iter1070 : struct.part_vals) { - oprot.writeString(_iter1096); + oprot.writeString(_iter1070); } } } @@ -79428,13 +78007,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1097 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1097.size); - String _elem1098; - for (int _i1099 = 0; _i1099 < _list1097.size; ++_i1099) + org.apache.thrift.protocol.TList _list1071 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1071.size); + String _elem1072; + for (int _i1073 = 0; _i1073 < _list1071.size; ++_i1073) { - _elem1098 = iprot.readString(); - struct.part_vals.add(_elem1098); + _elem1072 = iprot.readString(); + struct.part_vals.add(_elem1072); } } struct.setPart_valsIsSet(true); @@ -81743,13 +80322,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 _list1100 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1100.size); - String _elem1101; - for (int _i1102 = 0; _i1102 < _list1100.size; ++_i1102) + org.apache.thrift.protocol.TList _list1074 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1074.size); + String _elem1075; + for (int _i1076 = 0; _i1076 < _list1074.size; ++_i1076) { - _elem1101 = iprot.readString(); - struct.part_vals.add(_elem1101); + _elem1075 = iprot.readString(); + struct.part_vals.add(_elem1075); } iprot.readListEnd(); } @@ -81794,9 +80373,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 _iter1103 : struct.part_vals) + for (String _iter1077 : struct.part_vals) { - oprot.writeString(_iter1103); + oprot.writeString(_iter1077); } oprot.writeListEnd(); } @@ -81847,9 +80426,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 _iter1104 : struct.part_vals) + for (String _iter1078 : struct.part_vals) { - oprot.writeString(_iter1104); + oprot.writeString(_iter1078); } } } @@ -81872,13 +80451,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1105 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1105.size); - String _elem1106; - for (int _i1107 = 0; _i1107 < _list1105.size; ++_i1107) + org.apache.thrift.protocol.TList _list1079 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1079.size); + String _elem1080; + for (int _i1081 = 0; _i1081 < _list1079.size; ++_i1081) { - _elem1106 = iprot.readString(); - struct.part_vals.add(_elem1106); + _elem1080 = iprot.readString(); + struct.part_vals.add(_elem1080); } } struct.setPart_valsIsSet(true); @@ -85748,13 +84327,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 _list1108 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1108.size); - String _elem1109; - for (int _i1110 = 0; _i1110 < _list1108.size; ++_i1110) + org.apache.thrift.protocol.TList _list1082 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1082.size); + String _elem1083; + for (int _i1084 = 0; _i1084 < _list1082.size; ++_i1084) { - _elem1109 = iprot.readString(); - struct.part_vals.add(_elem1109); + _elem1083 = iprot.readString(); + struct.part_vals.add(_elem1083); } iprot.readListEnd(); } @@ -85798,9 +84377,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 _iter1111 : struct.part_vals) + for (String _iter1085 : struct.part_vals) { - oprot.writeString(_iter1111); + oprot.writeString(_iter1085); } oprot.writeListEnd(); } @@ -85849,9 +84428,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 _iter1112 : struct.part_vals) + for (String _iter1086 : struct.part_vals) { - oprot.writeString(_iter1112); + oprot.writeString(_iter1086); } } } @@ -85874,13 +84453,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1113 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1113.size); - String _elem1114; - for (int _i1115 = 0; _i1115 < _list1113.size; ++_i1115) + org.apache.thrift.protocol.TList _list1087 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1087.size); + String _elem1088; + for (int _i1089 = 0; _i1089 < _list1087.size; ++_i1089) { - _elem1114 = iprot.readString(); - struct.part_vals.add(_elem1114); + _elem1088 = iprot.readString(); + struct.part_vals.add(_elem1088); } } struct.setPart_valsIsSet(true); @@ -87119,13 +85698,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 _list1116 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1116.size); - String _elem1117; - for (int _i1118 = 0; _i1118 < _list1116.size; ++_i1118) + org.apache.thrift.protocol.TList _list1090 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1090.size); + String _elem1091; + for (int _i1092 = 0; _i1092 < _list1090.size; ++_i1092) { - _elem1117 = iprot.readString(); - struct.part_vals.add(_elem1117); + _elem1091 = iprot.readString(); + struct.part_vals.add(_elem1091); } iprot.readListEnd(); } @@ -87178,9 +85757,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 _iter1119 : struct.part_vals) + for (String _iter1093 : struct.part_vals) { - oprot.writeString(_iter1119); + oprot.writeString(_iter1093); } oprot.writeListEnd(); } @@ -87237,9 +85816,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 _iter1120 : struct.part_vals) + for (String _iter1094 : struct.part_vals) { - oprot.writeString(_iter1120); + oprot.writeString(_iter1094); } } } @@ -87265,13 +85844,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1121 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1121.size); - String _elem1122; - for (int _i1123 = 0; _i1123 < _list1121.size; ++_i1123) + org.apache.thrift.protocol.TList _list1095 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1095.size); + String _elem1096; + for (int _i1097 = 0; _i1097 < _list1095.size; ++_i1097) { - _elem1122 = iprot.readString(); - struct.part_vals.add(_elem1122); + _elem1096 = iprot.readString(); + struct.part_vals.add(_elem1096); } } struct.setPart_valsIsSet(true); @@ -91873,13 +90452,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 _list1124 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1124.size); - String _elem1125; - for (int _i1126 = 0; _i1126 < _list1124.size; ++_i1126) + org.apache.thrift.protocol.TList _list1098 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1098.size); + String _elem1099; + for (int _i1100 = 0; _i1100 < _list1098.size; ++_i1100) { - _elem1125 = iprot.readString(); - struct.part_vals.add(_elem1125); + _elem1099 = iprot.readString(); + struct.part_vals.add(_elem1099); } iprot.readListEnd(); } @@ -91915,9 +90494,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 _iter1127 : struct.part_vals) + for (String _iter1101 : struct.part_vals) { - oprot.writeString(_iter1127); + oprot.writeString(_iter1101); } oprot.writeListEnd(); } @@ -91960,9 +90539,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 _iter1128 : struct.part_vals) + for (String _iter1102 : struct.part_vals) { - oprot.writeString(_iter1128); + oprot.writeString(_iter1102); } } } @@ -91982,13 +90561,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1129 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1129.size); - String _elem1130; - for (int _i1131 = 0; _i1131 < _list1129.size; ++_i1131) + org.apache.thrift.protocol.TList _list1103 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1103.size); + String _elem1104; + for (int _i1105 = 0; _i1105 < _list1103.size; ++_i1105) { - _elem1130 = iprot.readString(); - struct.part_vals.add(_elem1130); + _elem1104 = iprot.readString(); + struct.part_vals.add(_elem1104); } } struct.setPart_valsIsSet(true); @@ -93206,15 +91785,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 _map1132 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1132.size); - String _key1133; - String _val1134; - for (int _i1135 = 0; _i1135 < _map1132.size; ++_i1135) + org.apache.thrift.protocol.TMap _map1106 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1106.size); + String _key1107; + String _val1108; + for (int _i1109 = 0; _i1109 < _map1106.size; ++_i1109) { - _key1133 = iprot.readString(); - _val1134 = iprot.readString(); - struct.partitionSpecs.put(_key1133, _val1134); + _key1107 = iprot.readString(); + _val1108 = iprot.readString(); + struct.partitionSpecs.put(_key1107, _val1108); } iprot.readMapEnd(); } @@ -93272,10 +91851,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 _iter1136 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1110 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1136.getKey()); - oprot.writeString(_iter1136.getValue()); + oprot.writeString(_iter1110.getKey()); + oprot.writeString(_iter1110.getValue()); } oprot.writeMapEnd(); } @@ -93338,10 +91917,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1137 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1111 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1137.getKey()); - oprot.writeString(_iter1137.getValue()); + oprot.writeString(_iter1111.getKey()); + oprot.writeString(_iter1111.getValue()); } } } @@ -93365,15 +91944,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 _map1138 = 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*_map1138.size); - String _key1139; - String _val1140; - for (int _i1141 = 0; _i1141 < _map1138.size; ++_i1141) + org.apache.thrift.protocol.TMap _map1112 = 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*_map1112.size); + String _key1113; + String _val1114; + for (int _i1115 = 0; _i1115 < _map1112.size; ++_i1115) { - _key1139 = iprot.readString(); - _val1140 = iprot.readString(); - struct.partitionSpecs.put(_key1139, _val1140); + _key1113 = iprot.readString(); + _val1114 = iprot.readString(); + struct.partitionSpecs.put(_key1113, _val1114); } } struct.setPartitionSpecsIsSet(true); @@ -94819,15 +93398,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 _map1142 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1142.size); - String _key1143; - String _val1144; - for (int _i1145 = 0; _i1145 < _map1142.size; ++_i1145) + org.apache.thrift.protocol.TMap _map1116 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1116.size); + String _key1117; + String _val1118; + for (int _i1119 = 0; _i1119 < _map1116.size; ++_i1119) { - _key1143 = iprot.readString(); - _val1144 = iprot.readString(); - struct.partitionSpecs.put(_key1143, _val1144); + _key1117 = iprot.readString(); + _val1118 = iprot.readString(); + struct.partitionSpecs.put(_key1117, _val1118); } iprot.readMapEnd(); } @@ -94885,10 +93464,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 _iter1146 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1120 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1146.getKey()); - oprot.writeString(_iter1146.getValue()); + oprot.writeString(_iter1120.getKey()); + oprot.writeString(_iter1120.getValue()); } oprot.writeMapEnd(); } @@ -94951,10 +93530,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1147 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1121 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1147.getKey()); - oprot.writeString(_iter1147.getValue()); + oprot.writeString(_iter1121.getKey()); + oprot.writeString(_iter1121.getValue()); } } } @@ -94978,15 +93557,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 _map1148 = 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*_map1148.size); - String _key1149; - String _val1150; - for (int _i1151 = 0; _i1151 < _map1148.size; ++_i1151) + org.apache.thrift.protocol.TMap _map1122 = 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*_map1122.size); + String _key1123; + String _val1124; + for (int _i1125 = 0; _i1125 < _map1122.size; ++_i1125) { - _key1149 = iprot.readString(); - _val1150 = iprot.readString(); - struct.partitionSpecs.put(_key1149, _val1150); + _key1123 = iprot.readString(); + _val1124 = iprot.readString(); + struct.partitionSpecs.put(_key1123, _val1124); } } struct.setPartitionSpecsIsSet(true); @@ -95651,14 +94230,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 _list1152 = iprot.readListBegin(); - struct.success = new ArrayList(_list1152.size); - Partition _elem1153; - for (int _i1154 = 0; _i1154 < _list1152.size; ++_i1154) + org.apache.thrift.protocol.TList _list1126 = iprot.readListBegin(); + struct.success = new ArrayList(_list1126.size); + Partition _elem1127; + for (int _i1128 = 0; _i1128 < _list1126.size; ++_i1128) { - _elem1153 = new Partition(); - _elem1153.read(iprot); - struct.success.add(_elem1153); + _elem1127 = new Partition(); + _elem1127.read(iprot); + struct.success.add(_elem1127); } iprot.readListEnd(); } @@ -95720,9 +94299,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 _iter1155 : struct.success) + for (Partition _iter1129 : struct.success) { - _iter1155.write(oprot); + _iter1129.write(oprot); } oprot.writeListEnd(); } @@ -95785,9 +94364,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1156 : struct.success) + for (Partition _iter1130 : struct.success) { - _iter1156.write(oprot); + _iter1130.write(oprot); } } } @@ -95811,14 +94390,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 _list1157 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1157.size); - Partition _elem1158; - for (int _i1159 = 0; _i1159 < _list1157.size; ++_i1159) + org.apache.thrift.protocol.TList _list1131 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1131.size); + Partition _elem1132; + for (int _i1133 = 0; _i1133 < _list1131.size; ++_i1133) { - _elem1158 = new Partition(); - _elem1158.read(iprot); - struct.success.add(_elem1158); + _elem1132 = new Partition(); + _elem1132.read(iprot); + struct.success.add(_elem1132); } } struct.setSuccessIsSet(true); @@ -96517,13 +95096,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 _list1160 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1160.size); - String _elem1161; - for (int _i1162 = 0; _i1162 < _list1160.size; ++_i1162) + org.apache.thrift.protocol.TList _list1134 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1134.size); + String _elem1135; + for (int _i1136 = 0; _i1136 < _list1134.size; ++_i1136) { - _elem1161 = iprot.readString(); - struct.part_vals.add(_elem1161); + _elem1135 = iprot.readString(); + struct.part_vals.add(_elem1135); } iprot.readListEnd(); } @@ -96543,13 +95122,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 _list1163 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1163.size); - String _elem1164; - for (int _i1165 = 0; _i1165 < _list1163.size; ++_i1165) + org.apache.thrift.protocol.TList _list1137 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1137.size); + String _elem1138; + for (int _i1139 = 0; _i1139 < _list1137.size; ++_i1139) { - _elem1164 = iprot.readString(); - struct.group_names.add(_elem1164); + _elem1138 = iprot.readString(); + struct.group_names.add(_elem1138); } iprot.readListEnd(); } @@ -96585,9 +95164,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 _iter1166 : struct.part_vals) + for (String _iter1140 : struct.part_vals) { - oprot.writeString(_iter1166); + oprot.writeString(_iter1140); } oprot.writeListEnd(); } @@ -96602,9 +95181,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 _iter1167 : struct.group_names) + for (String _iter1141 : struct.group_names) { - oprot.writeString(_iter1167); + oprot.writeString(_iter1141); } oprot.writeListEnd(); } @@ -96653,9 +95232,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 _iter1168 : struct.part_vals) + for (String _iter1142 : struct.part_vals) { - oprot.writeString(_iter1168); + oprot.writeString(_iter1142); } } } @@ -96665,9 +95244,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 _iter1169 : struct.group_names) + for (String _iter1143 : struct.group_names) { - oprot.writeString(_iter1169); + oprot.writeString(_iter1143); } } } @@ -96687,13 +95266,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1170 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1170.size); - String _elem1171; - for (int _i1172 = 0; _i1172 < _list1170.size; ++_i1172) + org.apache.thrift.protocol.TList _list1144 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1144.size); + String _elem1145; + for (int _i1146 = 0; _i1146 < _list1144.size; ++_i1146) { - _elem1171 = iprot.readString(); - struct.part_vals.add(_elem1171); + _elem1145 = iprot.readString(); + struct.part_vals.add(_elem1145); } } struct.setPart_valsIsSet(true); @@ -96704,13 +95283,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1173 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1173.size); - String _elem1174; - for (int _i1175 = 0; _i1175 < _list1173.size; ++_i1175) + org.apache.thrift.protocol.TList _list1147 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1147.size); + String _elem1148; + for (int _i1149 = 0; _i1149 < _list1147.size; ++_i1149) { - _elem1174 = iprot.readString(); - struct.group_names.add(_elem1174); + _elem1148 = iprot.readString(); + struct.group_names.add(_elem1148); } } struct.setGroup_namesIsSet(true); @@ -99479,14 +98058,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 _list1176 = iprot.readListBegin(); - struct.success = new ArrayList(_list1176.size); - Partition _elem1177; - for (int _i1178 = 0; _i1178 < _list1176.size; ++_i1178) + org.apache.thrift.protocol.TList _list1150 = iprot.readListBegin(); + struct.success = new ArrayList(_list1150.size); + Partition _elem1151; + for (int _i1152 = 0; _i1152 < _list1150.size; ++_i1152) { - _elem1177 = new Partition(); - _elem1177.read(iprot); - struct.success.add(_elem1177); + _elem1151 = new Partition(); + _elem1151.read(iprot); + struct.success.add(_elem1151); } iprot.readListEnd(); } @@ -99530,9 +98109,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 _iter1179 : struct.success) + for (Partition _iter1153 : struct.success) { - _iter1179.write(oprot); + _iter1153.write(oprot); } oprot.writeListEnd(); } @@ -99579,9 +98158,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1180 : struct.success) + for (Partition _iter1154 : struct.success) { - _iter1180.write(oprot); + _iter1154.write(oprot); } } } @@ -99599,14 +98178,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 _list1181 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1181.size); - Partition _elem1182; - for (int _i1183 = 0; _i1183 < _list1181.size; ++_i1183) + org.apache.thrift.protocol.TList _list1155 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1155.size); + Partition _elem1156; + for (int _i1157 = 0; _i1157 < _list1155.size; ++_i1157) { - _elem1182 = new Partition(); - _elem1182.read(iprot); - struct.success.add(_elem1182); + _elem1156 = new Partition(); + _elem1156.read(iprot); + struct.success.add(_elem1156); } } struct.setSuccessIsSet(true); @@ -100296,13 +98875,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 _list1184 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1184.size); - String _elem1185; - for (int _i1186 = 0; _i1186 < _list1184.size; ++_i1186) + org.apache.thrift.protocol.TList _list1158 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1158.size); + String _elem1159; + for (int _i1160 = 0; _i1160 < _list1158.size; ++_i1160) { - _elem1185 = iprot.readString(); - struct.group_names.add(_elem1185); + _elem1159 = iprot.readString(); + struct.group_names.add(_elem1159); } iprot.readListEnd(); } @@ -100346,9 +98925,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 _iter1187 : struct.group_names) + for (String _iter1161 : struct.group_names) { - oprot.writeString(_iter1187); + oprot.writeString(_iter1161); } oprot.writeListEnd(); } @@ -100403,9 +98982,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 _iter1188 : struct.group_names) + for (String _iter1162 : struct.group_names) { - oprot.writeString(_iter1188); + oprot.writeString(_iter1162); } } } @@ -100433,13 +99012,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1189 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1189.size); - String _elem1190; - for (int _i1191 = 0; _i1191 < _list1189.size; ++_i1191) + org.apache.thrift.protocol.TList _list1163 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1163.size); + String _elem1164; + for (int _i1165 = 0; _i1165 < _list1163.size; ++_i1165) { - _elem1190 = iprot.readString(); - struct.group_names.add(_elem1190); + _elem1164 = iprot.readString(); + struct.group_names.add(_elem1164); } } struct.setGroup_namesIsSet(true); @@ -100926,14 +99505,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 _list1192 = iprot.readListBegin(); - struct.success = new ArrayList(_list1192.size); - Partition _elem1193; - for (int _i1194 = 0; _i1194 < _list1192.size; ++_i1194) + org.apache.thrift.protocol.TList _list1166 = iprot.readListBegin(); + struct.success = new ArrayList(_list1166.size); + Partition _elem1167; + for (int _i1168 = 0; _i1168 < _list1166.size; ++_i1168) { - _elem1193 = new Partition(); - _elem1193.read(iprot); - struct.success.add(_elem1193); + _elem1167 = new Partition(); + _elem1167.read(iprot); + struct.success.add(_elem1167); } iprot.readListEnd(); } @@ -100977,9 +99556,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 _iter1195 : struct.success) + for (Partition _iter1169 : struct.success) { - _iter1195.write(oprot); + _iter1169.write(oprot); } oprot.writeListEnd(); } @@ -101026,9 +99605,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1196 : struct.success) + for (Partition _iter1170 : struct.success) { - _iter1196.write(oprot); + _iter1170.write(oprot); } } } @@ -101046,14 +99625,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 _list1197 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1197.size); - Partition _elem1198; - for (int _i1199 = 0; _i1199 < _list1197.size; ++_i1199) + org.apache.thrift.protocol.TList _list1171 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1171.size); + Partition _elem1172; + for (int _i1173 = 0; _i1173 < _list1171.size; ++_i1173) { - _elem1198 = new Partition(); - _elem1198.read(iprot); - struct.success.add(_elem1198); + _elem1172 = new Partition(); + _elem1172.read(iprot); + struct.success.add(_elem1172); } } struct.setSuccessIsSet(true); @@ -102116,14 +100695,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 _list1200 = iprot.readListBegin(); - struct.success = new ArrayList(_list1200.size); - PartitionSpec _elem1201; - for (int _i1202 = 0; _i1202 < _list1200.size; ++_i1202) + org.apache.thrift.protocol.TList _list1174 = iprot.readListBegin(); + struct.success = new ArrayList(_list1174.size); + PartitionSpec _elem1175; + for (int _i1176 = 0; _i1176 < _list1174.size; ++_i1176) { - _elem1201 = new PartitionSpec(); - _elem1201.read(iprot); - struct.success.add(_elem1201); + _elem1175 = new PartitionSpec(); + _elem1175.read(iprot); + struct.success.add(_elem1175); } iprot.readListEnd(); } @@ -102167,9 +100746,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 _iter1203 : struct.success) + for (PartitionSpec _iter1177 : struct.success) { - _iter1203.write(oprot); + _iter1177.write(oprot); } oprot.writeListEnd(); } @@ -102216,9 +100795,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1204 : struct.success) + for (PartitionSpec _iter1178 : struct.success) { - _iter1204.write(oprot); + _iter1178.write(oprot); } } } @@ -102236,14 +100815,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 _list1205 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1205.size); - PartitionSpec _elem1206; - for (int _i1207 = 0; _i1207 < _list1205.size; ++_i1207) + org.apache.thrift.protocol.TList _list1179 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1179.size); + PartitionSpec _elem1180; + for (int _i1181 = 0; _i1181 < _list1179.size; ++_i1181) { - _elem1206 = new PartitionSpec(); - _elem1206.read(iprot); - struct.success.add(_elem1206); + _elem1180 = new PartitionSpec(); + _elem1180.read(iprot); + struct.success.add(_elem1180); } } struct.setSuccessIsSet(true); @@ -103303,13 +101882,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 _list1208 = iprot.readListBegin(); - struct.success = new ArrayList(_list1208.size); - String _elem1209; - for (int _i1210 = 0; _i1210 < _list1208.size; ++_i1210) + org.apache.thrift.protocol.TList _list1182 = iprot.readListBegin(); + struct.success = new ArrayList(_list1182.size); + String _elem1183; + for (int _i1184 = 0; _i1184 < _list1182.size; ++_i1184) { - _elem1209 = iprot.readString(); - struct.success.add(_elem1209); + _elem1183 = iprot.readString(); + struct.success.add(_elem1183); } iprot.readListEnd(); } @@ -103353,9 +101932,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 _iter1211 : struct.success) + for (String _iter1185 : struct.success) { - oprot.writeString(_iter1211); + oprot.writeString(_iter1185); } oprot.writeListEnd(); } @@ -103402,9 +101981,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1212 : struct.success) + for (String _iter1186 : struct.success) { - oprot.writeString(_iter1212); + oprot.writeString(_iter1186); } } } @@ -103422,13 +102001,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 _list1213 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1213.size); - String _elem1214; - for (int _i1215 = 0; _i1215 < _list1213.size; ++_i1215) + org.apache.thrift.protocol.TList _list1187 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1187.size); + String _elem1188; + for (int _i1189 = 0; _i1189 < _list1187.size; ++_i1189) { - _elem1214 = iprot.readString(); - struct.success.add(_elem1214); + _elem1188 = iprot.readString(); + struct.success.add(_elem1188); } } struct.setSuccessIsSet(true); @@ -104959,13 +103538,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 _list1216 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1216.size); - String _elem1217; - for (int _i1218 = 0; _i1218 < _list1216.size; ++_i1218) + org.apache.thrift.protocol.TList _list1190 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1190.size); + String _elem1191; + for (int _i1192 = 0; _i1192 < _list1190.size; ++_i1192) { - _elem1217 = iprot.readString(); - struct.part_vals.add(_elem1217); + _elem1191 = iprot.readString(); + struct.part_vals.add(_elem1191); } iprot.readListEnd(); } @@ -105009,9 +103588,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 _iter1219 : struct.part_vals) + for (String _iter1193 : struct.part_vals) { - oprot.writeString(_iter1219); + oprot.writeString(_iter1193); } oprot.writeListEnd(); } @@ -105060,9 +103639,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 _iter1220 : struct.part_vals) + for (String _iter1194 : struct.part_vals) { - oprot.writeString(_iter1220); + oprot.writeString(_iter1194); } } } @@ -105085,13 +103664,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1221 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1221.size); - String _elem1222; - for (int _i1223 = 0; _i1223 < _list1221.size; ++_i1223) + org.apache.thrift.protocol.TList _list1195 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1195.size); + String _elem1196; + for (int _i1197 = 0; _i1197 < _list1195.size; ++_i1197) { - _elem1222 = iprot.readString(); - struct.part_vals.add(_elem1222); + _elem1196 = iprot.readString(); + struct.part_vals.add(_elem1196); } } struct.setPart_valsIsSet(true); @@ -105582,14 +104161,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 _list1224 = iprot.readListBegin(); - struct.success = new ArrayList(_list1224.size); - Partition _elem1225; - for (int _i1226 = 0; _i1226 < _list1224.size; ++_i1226) + org.apache.thrift.protocol.TList _list1198 = iprot.readListBegin(); + struct.success = new ArrayList(_list1198.size); + Partition _elem1199; + for (int _i1200 = 0; _i1200 < _list1198.size; ++_i1200) { - _elem1225 = new Partition(); - _elem1225.read(iprot); - struct.success.add(_elem1225); + _elem1199 = new Partition(); + _elem1199.read(iprot); + struct.success.add(_elem1199); } iprot.readListEnd(); } @@ -105633,9 +104212,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 _iter1227 : struct.success) + for (Partition _iter1201 : struct.success) { - _iter1227.write(oprot); + _iter1201.write(oprot); } oprot.writeListEnd(); } @@ -105682,9 +104261,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1228 : struct.success) + for (Partition _iter1202 : struct.success) { - _iter1228.write(oprot); + _iter1202.write(oprot); } } } @@ -105702,14 +104281,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 _list1229 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1229.size); - Partition _elem1230; - for (int _i1231 = 0; _i1231 < _list1229.size; ++_i1231) + org.apache.thrift.protocol.TList _list1203 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1203.size); + Partition _elem1204; + for (int _i1205 = 0; _i1205 < _list1203.size; ++_i1205) { - _elem1230 = new Partition(); - _elem1230.read(iprot); - struct.success.add(_elem1230); + _elem1204 = new Partition(); + _elem1204.read(iprot); + struct.success.add(_elem1204); } } struct.setSuccessIsSet(true); @@ -106481,13 +105060,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 _list1232 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1232.size); - String _elem1233; - for (int _i1234 = 0; _i1234 < _list1232.size; ++_i1234) + org.apache.thrift.protocol.TList _list1206 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1206.size); + String _elem1207; + for (int _i1208 = 0; _i1208 < _list1206.size; ++_i1208) { - _elem1233 = iprot.readString(); - struct.part_vals.add(_elem1233); + _elem1207 = iprot.readString(); + struct.part_vals.add(_elem1207); } iprot.readListEnd(); } @@ -106515,13 +105094,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 _list1235 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1235.size); - String _elem1236; - for (int _i1237 = 0; _i1237 < _list1235.size; ++_i1237) + org.apache.thrift.protocol.TList _list1209 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1209.size); + String _elem1210; + for (int _i1211 = 0; _i1211 < _list1209.size; ++_i1211) { - _elem1236 = iprot.readString(); - struct.group_names.add(_elem1236); + _elem1210 = iprot.readString(); + struct.group_names.add(_elem1210); } iprot.readListEnd(); } @@ -106557,9 +105136,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 _iter1238 : struct.part_vals) + for (String _iter1212 : struct.part_vals) { - oprot.writeString(_iter1238); + oprot.writeString(_iter1212); } oprot.writeListEnd(); } @@ -106577,9 +105156,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 _iter1239 : struct.group_names) + for (String _iter1213 : struct.group_names) { - oprot.writeString(_iter1239); + oprot.writeString(_iter1213); } oprot.writeListEnd(); } @@ -106631,9 +105210,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 _iter1240 : struct.part_vals) + for (String _iter1214 : struct.part_vals) { - oprot.writeString(_iter1240); + oprot.writeString(_iter1214); } } } @@ -106646,9 +105225,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 _iter1241 : struct.group_names) + for (String _iter1215 : struct.group_names) { - oprot.writeString(_iter1241); + oprot.writeString(_iter1215); } } } @@ -106668,13 +105247,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1242 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1242.size); - String _elem1243; - for (int _i1244 = 0; _i1244 < _list1242.size; ++_i1244) + org.apache.thrift.protocol.TList _list1216 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1216.size); + String _elem1217; + for (int _i1218 = 0; _i1218 < _list1216.size; ++_i1218) { - _elem1243 = iprot.readString(); - struct.part_vals.add(_elem1243); + _elem1217 = iprot.readString(); + struct.part_vals.add(_elem1217); } } struct.setPart_valsIsSet(true); @@ -106689,13 +105268,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1245 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1245.size); - String _elem1246; - for (int _i1247 = 0; _i1247 < _list1245.size; ++_i1247) + org.apache.thrift.protocol.TList _list1219 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1219.size); + String _elem1220; + for (int _i1221 = 0; _i1221 < _list1219.size; ++_i1221) { - _elem1246 = iprot.readString(); - struct.group_names.add(_elem1246); + _elem1220 = iprot.readString(); + struct.group_names.add(_elem1220); } } struct.setGroup_namesIsSet(true); @@ -107182,14 +105761,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 _list1248 = iprot.readListBegin(); - struct.success = new ArrayList(_list1248.size); - Partition _elem1249; - for (int _i1250 = 0; _i1250 < _list1248.size; ++_i1250) + org.apache.thrift.protocol.TList _list1222 = iprot.readListBegin(); + struct.success = new ArrayList(_list1222.size); + Partition _elem1223; + for (int _i1224 = 0; _i1224 < _list1222.size; ++_i1224) { - _elem1249 = new Partition(); - _elem1249.read(iprot); - struct.success.add(_elem1249); + _elem1223 = new Partition(); + _elem1223.read(iprot); + struct.success.add(_elem1223); } iprot.readListEnd(); } @@ -107233,9 +105812,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1251 : struct.success) + for (Partition _iter1225 : struct.success) { - _iter1251.write(oprot); + _iter1225.write(oprot); } oprot.writeListEnd(); } @@ -107282,9 +105861,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1252 : struct.success) + for (Partition _iter1226 : struct.success) { - _iter1252.write(oprot); + _iter1226.write(oprot); } } } @@ -107302,14 +105881,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 _list1253 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1253.size); - Partition _elem1254; - for (int _i1255 = 0; _i1255 < _list1253.size; ++_i1255) + org.apache.thrift.protocol.TList _list1227 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1227.size); + Partition _elem1228; + for (int _i1229 = 0; _i1229 < _list1227.size; ++_i1229) { - _elem1254 = new Partition(); - _elem1254.read(iprot); - struct.success.add(_elem1254); + _elem1228 = new Partition(); + _elem1228.read(iprot); + struct.success.add(_elem1228); } } struct.setSuccessIsSet(true); @@ -107902,13 +106481,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 _list1256 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1256.size); - String _elem1257; - for (int _i1258 = 0; _i1258 < _list1256.size; ++_i1258) + org.apache.thrift.protocol.TList _list1230 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1230.size); + String _elem1231; + for (int _i1232 = 0; _i1232 < _list1230.size; ++_i1232) { - _elem1257 = iprot.readString(); - struct.part_vals.add(_elem1257); + _elem1231 = iprot.readString(); + struct.part_vals.add(_elem1231); } iprot.readListEnd(); } @@ -107952,9 +106531,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 _iter1259 : struct.part_vals) + for (String _iter1233 : struct.part_vals) { - oprot.writeString(_iter1259); + oprot.writeString(_iter1233); } oprot.writeListEnd(); } @@ -108003,9 +106582,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 _iter1260 : struct.part_vals) + for (String _iter1234 : struct.part_vals) { - oprot.writeString(_iter1260); + oprot.writeString(_iter1234); } } } @@ -108028,13 +106607,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1261 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1261.size); - String _elem1262; - for (int _i1263 = 0; _i1263 < _list1261.size; ++_i1263) + org.apache.thrift.protocol.TList _list1235 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1235.size); + String _elem1236; + for (int _i1237 = 0; _i1237 < _list1235.size; ++_i1237) { - _elem1262 = iprot.readString(); - struct.part_vals.add(_elem1262); + _elem1236 = iprot.readString(); + struct.part_vals.add(_elem1236); } } struct.setPart_valsIsSet(true); @@ -108522,13 +107101,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 _list1264 = iprot.readListBegin(); - struct.success = new ArrayList(_list1264.size); - String _elem1265; - for (int _i1266 = 0; _i1266 < _list1264.size; ++_i1266) + org.apache.thrift.protocol.TList _list1238 = iprot.readListBegin(); + struct.success = new ArrayList(_list1238.size); + String _elem1239; + for (int _i1240 = 0; _i1240 < _list1238.size; ++_i1240) { - _elem1265 = iprot.readString(); - struct.success.add(_elem1265); + _elem1239 = iprot.readString(); + struct.success.add(_elem1239); } iprot.readListEnd(); } @@ -108572,9 +107151,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 _iter1267 : struct.success) + for (String _iter1241 : struct.success) { - oprot.writeString(_iter1267); + oprot.writeString(_iter1241); } oprot.writeListEnd(); } @@ -108621,9 +107200,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1268 : struct.success) + for (String _iter1242 : struct.success) { - oprot.writeString(_iter1268); + oprot.writeString(_iter1242); } } } @@ -108641,13 +107220,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 _list1269 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1269.size); - String _elem1270; - for (int _i1271 = 0; _i1271 < _list1269.size; ++_i1271) + org.apache.thrift.protocol.TList _list1243 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1243.size); + String _elem1244; + for (int _i1245 = 0; _i1245 < _list1243.size; ++_i1245) { - _elem1270 = iprot.readString(); - struct.success.add(_elem1270); + _elem1244 = iprot.readString(); + struct.success.add(_elem1244); } } struct.setSuccessIsSet(true); @@ -109814,14 +108393,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 _list1272 = iprot.readListBegin(); - struct.success = new ArrayList(_list1272.size); - Partition _elem1273; - for (int _i1274 = 0; _i1274 < _list1272.size; ++_i1274) + org.apache.thrift.protocol.TList _list1246 = iprot.readListBegin(); + struct.success = new ArrayList(_list1246.size); + Partition _elem1247; + for (int _i1248 = 0; _i1248 < _list1246.size; ++_i1248) { - _elem1273 = new Partition(); - _elem1273.read(iprot); - struct.success.add(_elem1273); + _elem1247 = new Partition(); + _elem1247.read(iprot); + struct.success.add(_elem1247); } iprot.readListEnd(); } @@ -109865,9 +108444,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 _iter1275 : struct.success) + for (Partition _iter1249 : struct.success) { - _iter1275.write(oprot); + _iter1249.write(oprot); } oprot.writeListEnd(); } @@ -109914,9 +108493,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1276 : struct.success) + for (Partition _iter1250 : struct.success) { - _iter1276.write(oprot); + _iter1250.write(oprot); } } } @@ -109934,14 +108513,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 _list1277 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1277.size); - Partition _elem1278; - for (int _i1279 = 0; _i1279 < _list1277.size; ++_i1279) + org.apache.thrift.protocol.TList _list1251 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1251.size); + Partition _elem1252; + for (int _i1253 = 0; _i1253 < _list1251.size; ++_i1253) { - _elem1278 = new Partition(); - _elem1278.read(iprot); - struct.success.add(_elem1278); + _elem1252 = new Partition(); + _elem1252.read(iprot); + struct.success.add(_elem1252); } } struct.setSuccessIsSet(true); @@ -111108,14 +109687,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 _list1280 = iprot.readListBegin(); - struct.success = new ArrayList(_list1280.size); - PartitionSpec _elem1281; - for (int _i1282 = 0; _i1282 < _list1280.size; ++_i1282) + org.apache.thrift.protocol.TList _list1254 = iprot.readListBegin(); + struct.success = new ArrayList(_list1254.size); + PartitionSpec _elem1255; + for (int _i1256 = 0; _i1256 < _list1254.size; ++_i1256) { - _elem1281 = new PartitionSpec(); - _elem1281.read(iprot); - struct.success.add(_elem1281); + _elem1255 = new PartitionSpec(); + _elem1255.read(iprot); + struct.success.add(_elem1255); } iprot.readListEnd(); } @@ -111159,9 +109738,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 _iter1283 : struct.success) + for (PartitionSpec _iter1257 : struct.success) { - _iter1283.write(oprot); + _iter1257.write(oprot); } oprot.writeListEnd(); } @@ -111208,9 +109787,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 _iter1284 : struct.success) + for (PartitionSpec _iter1258 : struct.success) { - _iter1284.write(oprot); + _iter1258.write(oprot); } } } @@ -111228,14 +109807,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 _list1285 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1285.size); - PartitionSpec _elem1286; - for (int _i1287 = 0; _i1287 < _list1285.size; ++_i1287) + org.apache.thrift.protocol.TList _list1259 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1259.size); + PartitionSpec _elem1260; + for (int _i1261 = 0; _i1261 < _list1259.size; ++_i1261) { - _elem1286 = new PartitionSpec(); - _elem1286.read(iprot); - struct.success.add(_elem1286); + _elem1260 = new PartitionSpec(); + _elem1260.read(iprot); + struct.success.add(_elem1260); } } struct.setSuccessIsSet(true); @@ -113819,13 +112398,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 _list1288 = iprot.readListBegin(); - struct.names = new ArrayList(_list1288.size); - String _elem1289; - for (int _i1290 = 0; _i1290 < _list1288.size; ++_i1290) + org.apache.thrift.protocol.TList _list1262 = iprot.readListBegin(); + struct.names = new ArrayList(_list1262.size); + String _elem1263; + for (int _i1264 = 0; _i1264 < _list1262.size; ++_i1264) { - _elem1289 = iprot.readString(); - struct.names.add(_elem1289); + _elem1263 = iprot.readString(); + struct.names.add(_elem1263); } iprot.readListEnd(); } @@ -113861,9 +112440,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 _iter1291 : struct.names) + for (String _iter1265 : struct.names) { - oprot.writeString(_iter1291); + oprot.writeString(_iter1265); } oprot.writeListEnd(); } @@ -113906,9 +112485,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter1292 : struct.names) + for (String _iter1266 : struct.names) { - oprot.writeString(_iter1292); + oprot.writeString(_iter1266); } } } @@ -113928,13 +112507,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1293 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list1293.size); - String _elem1294; - for (int _i1295 = 0; _i1295 < _list1293.size; ++_i1295) + org.apache.thrift.protocol.TList _list1267 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list1267.size); + String _elem1268; + for (int _i1269 = 0; _i1269 < _list1267.size; ++_i1269) { - _elem1294 = iprot.readString(); - struct.names.add(_elem1294); + _elem1268 = iprot.readString(); + struct.names.add(_elem1268); } } struct.setNamesIsSet(true); @@ -114421,14 +113000,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 _list1296 = iprot.readListBegin(); - struct.success = new ArrayList(_list1296.size); - Partition _elem1297; - for (int _i1298 = 0; _i1298 < _list1296.size; ++_i1298) + org.apache.thrift.protocol.TList _list1270 = iprot.readListBegin(); + struct.success = new ArrayList(_list1270.size); + Partition _elem1271; + for (int _i1272 = 0; _i1272 < _list1270.size; ++_i1272) { - _elem1297 = new Partition(); - _elem1297.read(iprot); - struct.success.add(_elem1297); + _elem1271 = new Partition(); + _elem1271.read(iprot); + struct.success.add(_elem1271); } iprot.readListEnd(); } @@ -114472,9 +113051,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1299 : struct.success) + for (Partition _iter1273 : struct.success) { - _iter1299.write(oprot); + _iter1273.write(oprot); } oprot.writeListEnd(); } @@ -114521,9 +113100,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1300 : struct.success) + for (Partition _iter1274 : struct.success) { - _iter1300.write(oprot); + _iter1274.write(oprot); } } } @@ -114541,14 +113120,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 _list1301 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1301.size); - Partition _elem1302; - for (int _i1303 = 0; _i1303 < _list1301.size; ++_i1303) + org.apache.thrift.protocol.TList _list1275 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1275.size); + Partition _elem1276; + for (int _i1277 = 0; _i1277 < _list1275.size; ++_i1277) { - _elem1302 = new Partition(); - _elem1302.read(iprot); - struct.success.add(_elem1302); + _elem1276 = new Partition(); + _elem1276.read(iprot); + struct.success.add(_elem1276); } } struct.setSuccessIsSet(true); @@ -116098,14 +114677,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 _list1304 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1304.size); - Partition _elem1305; - for (int _i1306 = 0; _i1306 < _list1304.size; ++_i1306) + org.apache.thrift.protocol.TList _list1278 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1278.size); + Partition _elem1279; + for (int _i1280 = 0; _i1280 < _list1278.size; ++_i1280) { - _elem1305 = new Partition(); - _elem1305.read(iprot); - struct.new_parts.add(_elem1305); + _elem1279 = new Partition(); + _elem1279.read(iprot); + struct.new_parts.add(_elem1279); } iprot.readListEnd(); } @@ -116141,9 +114720,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 _iter1307 : struct.new_parts) + for (Partition _iter1281 : struct.new_parts) { - _iter1307.write(oprot); + _iter1281.write(oprot); } oprot.writeListEnd(); } @@ -116186,9 +114765,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 _iter1308 : struct.new_parts) + for (Partition _iter1282 : struct.new_parts) { - _iter1308.write(oprot); + _iter1282.write(oprot); } } } @@ -116208,14 +114787,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1309 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1309.size); - Partition _elem1310; - for (int _i1311 = 0; _i1311 < _list1309.size; ++_i1311) + org.apache.thrift.protocol.TList _list1283 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1283.size); + Partition _elem1284; + for (int _i1285 = 0; _i1285 < _list1283.size; ++_i1285) { - _elem1310 = new Partition(); - _elem1310.read(iprot); - struct.new_parts.add(_elem1310); + _elem1284 = new Partition(); + _elem1284.read(iprot); + struct.new_parts.add(_elem1284); } } struct.setNew_partsIsSet(true); @@ -117268,14 +115847,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 _list1312 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1312.size); - Partition _elem1313; - for (int _i1314 = 0; _i1314 < _list1312.size; ++_i1314) + org.apache.thrift.protocol.TList _list1286 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1286.size); + Partition _elem1287; + for (int _i1288 = 0; _i1288 < _list1286.size; ++_i1288) { - _elem1313 = new Partition(); - _elem1313.read(iprot); - struct.new_parts.add(_elem1313); + _elem1287 = new Partition(); + _elem1287.read(iprot); + struct.new_parts.add(_elem1287); } iprot.readListEnd(); } @@ -117320,9 +115899,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 _iter1315 : struct.new_parts) + for (Partition _iter1289 : struct.new_parts) { - _iter1315.write(oprot); + _iter1289.write(oprot); } oprot.writeListEnd(); } @@ -117373,9 +115952,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 _iter1316 : struct.new_parts) + for (Partition _iter1290 : struct.new_parts) { - _iter1316.write(oprot); + _iter1290.write(oprot); } } } @@ -117398,14 +115977,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1317 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1317.size); - Partition _elem1318; - for (int _i1319 = 0; _i1319 < _list1317.size; ++_i1319) + org.apache.thrift.protocol.TList _list1291 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1291.size); + Partition _elem1292; + for (int _i1293 = 0; _i1293 < _list1291.size; ++_i1293) { - _elem1318 = new Partition(); - _elem1318.read(iprot); - struct.new_parts.add(_elem1318); + _elem1292 = new Partition(); + _elem1292.read(iprot); + struct.new_parts.add(_elem1292); } } struct.setNew_partsIsSet(true); @@ -119606,13 +118185,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 _list1320 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1320.size); - String _elem1321; - for (int _i1322 = 0; _i1322 < _list1320.size; ++_i1322) + org.apache.thrift.protocol.TList _list1294 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1294.size); + String _elem1295; + for (int _i1296 = 0; _i1296 < _list1294.size; ++_i1296) { - _elem1321 = iprot.readString(); - struct.part_vals.add(_elem1321); + _elem1295 = iprot.readString(); + struct.part_vals.add(_elem1295); } iprot.readListEnd(); } @@ -119657,9 +118236,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 _iter1323 : struct.part_vals) + for (String _iter1297 : struct.part_vals) { - oprot.writeString(_iter1323); + oprot.writeString(_iter1297); } oprot.writeListEnd(); } @@ -119710,9 +118289,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 _iter1324 : struct.part_vals) + for (String _iter1298 : struct.part_vals) { - oprot.writeString(_iter1324); + oprot.writeString(_iter1298); } } } @@ -119735,13 +118314,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1325 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1325.size); - String _elem1326; - for (int _i1327 = 0; _i1327 < _list1325.size; ++_i1327) + org.apache.thrift.protocol.TList _list1299 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1299.size); + String _elem1300; + for (int _i1301 = 0; _i1301 < _list1299.size; ++_i1301) { - _elem1326 = iprot.readString(); - struct.part_vals.add(_elem1326); + _elem1300 = iprot.readString(); + struct.part_vals.add(_elem1300); } } struct.setPart_valsIsSet(true); @@ -120615,13 +119194,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 _list1328 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1328.size); - String _elem1329; - for (int _i1330 = 0; _i1330 < _list1328.size; ++_i1330) + org.apache.thrift.protocol.TList _list1302 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1302.size); + String _elem1303; + for (int _i1304 = 0; _i1304 < _list1302.size; ++_i1304) { - _elem1329 = iprot.readString(); - struct.part_vals.add(_elem1329); + _elem1303 = iprot.readString(); + struct.part_vals.add(_elem1303); } iprot.readListEnd(); } @@ -120655,9 +119234,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 _iter1331 : struct.part_vals) + for (String _iter1305 : struct.part_vals) { - oprot.writeString(_iter1331); + oprot.writeString(_iter1305); } oprot.writeListEnd(); } @@ -120694,9 +119273,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 _iter1332 : struct.part_vals) + for (String _iter1306 : struct.part_vals) { - oprot.writeString(_iter1332); + oprot.writeString(_iter1306); } } } @@ -120711,13 +119290,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 _list1333 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1333.size); - String _elem1334; - for (int _i1335 = 0; _i1335 < _list1333.size; ++_i1335) + org.apache.thrift.protocol.TList _list1307 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1307.size); + String _elem1308; + for (int _i1309 = 0; _i1309 < _list1307.size; ++_i1309) { - _elem1334 = iprot.readString(); - struct.part_vals.add(_elem1334); + _elem1308 = iprot.readString(); + struct.part_vals.add(_elem1308); } } struct.setPart_valsIsSet(true); @@ -122872,13 +121451,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 _list1336 = iprot.readListBegin(); - struct.success = new ArrayList(_list1336.size); - String _elem1337; - for (int _i1338 = 0; _i1338 < _list1336.size; ++_i1338) + org.apache.thrift.protocol.TList _list1310 = iprot.readListBegin(); + struct.success = new ArrayList(_list1310.size); + String _elem1311; + for (int _i1312 = 0; _i1312 < _list1310.size; ++_i1312) { - _elem1337 = iprot.readString(); - struct.success.add(_elem1337); + _elem1311 = iprot.readString(); + struct.success.add(_elem1311); } iprot.readListEnd(); } @@ -122913,9 +121492,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 _iter1339 : struct.success) + for (String _iter1313 : struct.success) { - oprot.writeString(_iter1339); + oprot.writeString(_iter1313); } oprot.writeListEnd(); } @@ -122954,9 +121533,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1340 : struct.success) + for (String _iter1314 : struct.success) { - oprot.writeString(_iter1340); + oprot.writeString(_iter1314); } } } @@ -122971,13 +121550,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 _list1341 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1341.size); - String _elem1342; - for (int _i1343 = 0; _i1343 < _list1341.size; ++_i1343) + org.apache.thrift.protocol.TList _list1315 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1315.size); + String _elem1316; + for (int _i1317 = 0; _i1317 < _list1315.size; ++_i1317) { - _elem1342 = iprot.readString(); - struct.success.add(_elem1342); + _elem1316 = iprot.readString(); + struct.success.add(_elem1316); } } struct.setSuccessIsSet(true); @@ -123740,15 +122319,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 _map1344 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1344.size); - String _key1345; - String _val1346; - for (int _i1347 = 0; _i1347 < _map1344.size; ++_i1347) + org.apache.thrift.protocol.TMap _map1318 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1318.size); + String _key1319; + String _val1320; + for (int _i1321 = 0; _i1321 < _map1318.size; ++_i1321) { - _key1345 = iprot.readString(); - _val1346 = iprot.readString(); - struct.success.put(_key1345, _val1346); + _key1319 = iprot.readString(); + _val1320 = iprot.readString(); + struct.success.put(_key1319, _val1320); } iprot.readMapEnd(); } @@ -123783,10 +122362,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 _iter1348 : struct.success.entrySet()) + for (Map.Entry _iter1322 : struct.success.entrySet()) { - oprot.writeString(_iter1348.getKey()); - oprot.writeString(_iter1348.getValue()); + oprot.writeString(_iter1322.getKey()); + oprot.writeString(_iter1322.getValue()); } oprot.writeMapEnd(); } @@ -123825,10 +122404,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 _iter1349 : struct.success.entrySet()) + for (Map.Entry _iter1323 : struct.success.entrySet()) { - oprot.writeString(_iter1349.getKey()); - oprot.writeString(_iter1349.getValue()); + oprot.writeString(_iter1323.getKey()); + oprot.writeString(_iter1323.getValue()); } } } @@ -123843,15 +122422,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 _map1350 = 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*_map1350.size); - String _key1351; - String _val1352; - for (int _i1353 = 0; _i1353 < _map1350.size; ++_i1353) + org.apache.thrift.protocol.TMap _map1324 = 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*_map1324.size); + String _key1325; + String _val1326; + for (int _i1327 = 0; _i1327 < _map1324.size; ++_i1327) { - _key1351 = iprot.readString(); - _val1352 = iprot.readString(); - struct.success.put(_key1351, _val1352); + _key1325 = iprot.readString(); + _val1326 = iprot.readString(); + struct.success.put(_key1325, _val1326); } } struct.setSuccessIsSet(true); @@ -124446,15 +123025,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 _map1354 = iprot.readMapBegin(); - 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 _map1328 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1328.size); + String _key1329; + String _val1330; + for (int _i1331 = 0; _i1331 < _map1328.size; ++_i1331) { - _key1355 = iprot.readString(); - _val1356 = iprot.readString(); - struct.part_vals.put(_key1355, _val1356); + _key1329 = iprot.readString(); + _val1330 = iprot.readString(); + struct.part_vals.put(_key1329, _val1330); } iprot.readMapEnd(); } @@ -124498,10 +123077,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 _iter1358 : struct.part_vals.entrySet()) + for (Map.Entry _iter1332 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1358.getKey()); - oprot.writeString(_iter1358.getValue()); + oprot.writeString(_iter1332.getKey()); + oprot.writeString(_iter1332.getValue()); } oprot.writeMapEnd(); } @@ -124552,10 +123131,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1359 : struct.part_vals.entrySet()) + for (Map.Entry _iter1333 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1359.getKey()); - oprot.writeString(_iter1359.getValue()); + oprot.writeString(_iter1333.getKey()); + oprot.writeString(_iter1333.getValue()); } } } @@ -124578,15 +123157,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1360 = 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*_map1360.size); - String _key1361; - String _val1362; - for (int _i1363 = 0; _i1363 < _map1360.size; ++_i1363) + org.apache.thrift.protocol.TMap _map1334 = 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*_map1334.size); + String _key1335; + String _val1336; + for (int _i1337 = 0; _i1337 < _map1334.size; ++_i1337) { - _key1361 = iprot.readString(); - _val1362 = iprot.readString(); - struct.part_vals.put(_key1361, _val1362); + _key1335 = iprot.readString(); + _val1336 = iprot.readString(); + struct.part_vals.put(_key1335, _val1336); } } struct.setPart_valsIsSet(true); @@ -126070,15 +124649,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 _map1364 = iprot.readMapBegin(); - 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 _map1338 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1338.size); + String _key1339; + String _val1340; + for (int _i1341 = 0; _i1341 < _map1338.size; ++_i1341) { - _key1365 = iprot.readString(); - _val1366 = iprot.readString(); - struct.part_vals.put(_key1365, _val1366); + _key1339 = iprot.readString(); + _val1340 = iprot.readString(); + struct.part_vals.put(_key1339, _val1340); } iprot.readMapEnd(); } @@ -126122,10 +124701,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 _iter1368 : struct.part_vals.entrySet()) + for (Map.Entry _iter1342 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1368.getKey()); - oprot.writeString(_iter1368.getValue()); + oprot.writeString(_iter1342.getKey()); + oprot.writeString(_iter1342.getValue()); } oprot.writeMapEnd(); } @@ -126176,10 +124755,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1369 : struct.part_vals.entrySet()) + for (Map.Entry _iter1343 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1369.getKey()); - oprot.writeString(_iter1369.getValue()); + oprot.writeString(_iter1343.getKey()); + oprot.writeString(_iter1343.getValue()); } } } @@ -126202,15 +124781,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1370 = 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*_map1370.size); - String _key1371; - String _val1372; - for (int _i1373 = 0; _i1373 < _map1370.size; ++_i1373) + 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.part_vals = new HashMap(2*_map1344.size); + String _key1345; + String _val1346; + for (int _i1347 = 0; _i1347 < _map1344.size; ++_i1347) { - _key1371 = iprot.readString(); - _val1372 = iprot.readString(); - struct.part_vals.put(_key1371, _val1372); + _key1345 = iprot.readString(); + _val1346 = iprot.readString(); + struct.part_vals.put(_key1345, _val1346); } } struct.setPart_valsIsSet(true); @@ -147628,13 +146207,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 _list1374 = iprot.readListBegin(); - struct.success = new ArrayList(_list1374.size); - String _elem1375; - for (int _i1376 = 0; _i1376 < _list1374.size; ++_i1376) + org.apache.thrift.protocol.TList _list1348 = iprot.readListBegin(); + struct.success = new ArrayList(_list1348.size); + String _elem1349; + for (int _i1350 = 0; _i1350 < _list1348.size; ++_i1350) { - _elem1375 = iprot.readString(); - struct.success.add(_elem1375); + _elem1349 = iprot.readString(); + struct.success.add(_elem1349); } iprot.readListEnd(); } @@ -147669,9 +146248,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 _iter1377 : struct.success) + for (String _iter1351 : struct.success) { - oprot.writeString(_iter1377); + oprot.writeString(_iter1351); } oprot.writeListEnd(); } @@ -147710,9 +146289,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1378 : struct.success) + for (String _iter1352 : struct.success) { - oprot.writeString(_iter1378); + oprot.writeString(_iter1352); } } } @@ -147727,13 +146306,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 _list1379 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1379.size); - String _elem1380; - for (int _i1381 = 0; _i1381 < _list1379.size; ++_i1381) + org.apache.thrift.protocol.TList _list1353 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1353.size); + String _elem1354; + for (int _i1355 = 0; _i1355 < _list1353.size; ++_i1355) { - _elem1380 = iprot.readString(); - struct.success.add(_elem1380); + _elem1354 = iprot.readString(); + struct.success.add(_elem1354); } } struct.setSuccessIsSet(true); @@ -151788,13 +150367,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 _list1382 = iprot.readListBegin(); - struct.success = new ArrayList(_list1382.size); - String _elem1383; - for (int _i1384 = 0; _i1384 < _list1382.size; ++_i1384) + org.apache.thrift.protocol.TList _list1356 = iprot.readListBegin(); + struct.success = new ArrayList(_list1356.size); + String _elem1357; + for (int _i1358 = 0; _i1358 < _list1356.size; ++_i1358) { - _elem1383 = iprot.readString(); - struct.success.add(_elem1383); + _elem1357 = iprot.readString(); + struct.success.add(_elem1357); } iprot.readListEnd(); } @@ -151829,9 +150408,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 _iter1385 : struct.success) + for (String _iter1359 : struct.success) { - oprot.writeString(_iter1385); + oprot.writeString(_iter1359); } oprot.writeListEnd(); } @@ -151870,9 +150449,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1386 : struct.success) + for (String _iter1360 : struct.success) { - oprot.writeString(_iter1386); + oprot.writeString(_iter1360); } } } @@ -151887,13 +150466,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 _list1387 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1387.size); - String _elem1388; - for (int _i1389 = 0; _i1389 < _list1387.size; ++_i1389) + org.apache.thrift.protocol.TList _list1361 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1361.size); + String _elem1362; + for (int _i1363 = 0; _i1363 < _list1361.size; ++_i1363) { - _elem1388 = iprot.readString(); - struct.success.add(_elem1388); + _elem1362 = iprot.readString(); + struct.success.add(_elem1362); } } struct.setSuccessIsSet(true); @@ -155184,14 +153763,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 _list1390 = iprot.readListBegin(); - struct.success = new ArrayList(_list1390.size); - Role _elem1391; - for (int _i1392 = 0; _i1392 < _list1390.size; ++_i1392) + org.apache.thrift.protocol.TList _list1364 = iprot.readListBegin(); + struct.success = new ArrayList(_list1364.size); + Role _elem1365; + for (int _i1366 = 0; _i1366 < _list1364.size; ++_i1366) { - _elem1391 = new Role(); - _elem1391.read(iprot); - struct.success.add(_elem1391); + _elem1365 = new Role(); + _elem1365.read(iprot); + struct.success.add(_elem1365); } iprot.readListEnd(); } @@ -155226,9 +153805,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 _iter1393 : struct.success) + for (Role _iter1367 : struct.success) { - _iter1393.write(oprot); + _iter1367.write(oprot); } oprot.writeListEnd(); } @@ -155267,9 +153846,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1394 : struct.success) + for (Role _iter1368 : struct.success) { - _iter1394.write(oprot); + _iter1368.write(oprot); } } } @@ -155284,14 +153863,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 _list1395 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1395.size); - Role _elem1396; - for (int _i1397 = 0; _i1397 < _list1395.size; ++_i1397) + org.apache.thrift.protocol.TList _list1369 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1369.size); + Role _elem1370; + for (int _i1371 = 0; _i1371 < _list1369.size; ++_i1371) { - _elem1396 = new Role(); - _elem1396.read(iprot); - struct.success.add(_elem1396); + _elem1370 = new Role(); + _elem1370.read(iprot); + struct.success.add(_elem1370); } } struct.setSuccessIsSet(true); @@ -158296,13 +156875,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 _list1398 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1398.size); - String _elem1399; - for (int _i1400 = 0; _i1400 < _list1398.size; ++_i1400) + org.apache.thrift.protocol.TList _list1372 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1372.size); + String _elem1373; + for (int _i1374 = 0; _i1374 < _list1372.size; ++_i1374) { - _elem1399 = iprot.readString(); - struct.group_names.add(_elem1399); + _elem1373 = iprot.readString(); + struct.group_names.add(_elem1373); } iprot.readListEnd(); } @@ -158338,9 +156917,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 _iter1401 : struct.group_names) + for (String _iter1375 : struct.group_names) { - oprot.writeString(_iter1401); + oprot.writeString(_iter1375); } oprot.writeListEnd(); } @@ -158383,9 +156962,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 _iter1402 : struct.group_names) + for (String _iter1376 : struct.group_names) { - oprot.writeString(_iter1402); + oprot.writeString(_iter1376); } } } @@ -158406,13 +156985,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1403 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1403.size); - String _elem1404; - for (int _i1405 = 0; _i1405 < _list1403.size; ++_i1405) + org.apache.thrift.protocol.TList _list1377 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1377.size); + String _elem1378; + for (int _i1379 = 0; _i1379 < _list1377.size; ++_i1379) { - _elem1404 = iprot.readString(); - struct.group_names.add(_elem1404); + _elem1378 = iprot.readString(); + struct.group_names.add(_elem1378); } } struct.setGroup_namesIsSet(true); @@ -159870,14 +158449,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 _list1406 = iprot.readListBegin(); - struct.success = new ArrayList(_list1406.size); - HiveObjectPrivilege _elem1407; - for (int _i1408 = 0; _i1408 < _list1406.size; ++_i1408) + org.apache.thrift.protocol.TList _list1380 = iprot.readListBegin(); + struct.success = new ArrayList(_list1380.size); + HiveObjectPrivilege _elem1381; + for (int _i1382 = 0; _i1382 < _list1380.size; ++_i1382) { - _elem1407 = new HiveObjectPrivilege(); - _elem1407.read(iprot); - struct.success.add(_elem1407); + _elem1381 = new HiveObjectPrivilege(); + _elem1381.read(iprot); + struct.success.add(_elem1381); } iprot.readListEnd(); } @@ -159912,9 +158491,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 _iter1409 : struct.success) + for (HiveObjectPrivilege _iter1383 : struct.success) { - _iter1409.write(oprot); + _iter1383.write(oprot); } oprot.writeListEnd(); } @@ -159953,9 +158532,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1410 : struct.success) + for (HiveObjectPrivilege _iter1384 : struct.success) { - _iter1410.write(oprot); + _iter1384.write(oprot); } } } @@ -159970,14 +158549,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 _list1411 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1411.size); - HiveObjectPrivilege _elem1412; - for (int _i1413 = 0; _i1413 < _list1411.size; ++_i1413) + org.apache.thrift.protocol.TList _list1385 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1385.size); + HiveObjectPrivilege _elem1386; + for (int _i1387 = 0; _i1387 < _list1385.size; ++_i1387) { - _elem1412 = new HiveObjectPrivilege(); - _elem1412.read(iprot); - struct.success.add(_elem1412); + _elem1386 = new HiveObjectPrivilege(); + _elem1386.read(iprot); + struct.success.add(_elem1386); } } struct.setSuccessIsSet(true); @@ -162879,13 +161458,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 _list1414 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1414.size); - String _elem1415; - for (int _i1416 = 0; _i1416 < _list1414.size; ++_i1416) + org.apache.thrift.protocol.TList _list1388 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1388.size); + String _elem1389; + for (int _i1390 = 0; _i1390 < _list1388.size; ++_i1390) { - _elem1415 = iprot.readString(); - struct.group_names.add(_elem1415); + _elem1389 = iprot.readString(); + struct.group_names.add(_elem1389); } iprot.readListEnd(); } @@ -162916,9 +161495,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 _iter1417 : struct.group_names) + for (String _iter1391 : struct.group_names) { - oprot.writeString(_iter1417); + oprot.writeString(_iter1391); } oprot.writeListEnd(); } @@ -162955,9 +161534,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 _iter1418 : struct.group_names) + for (String _iter1392 : struct.group_names) { - oprot.writeString(_iter1418); + oprot.writeString(_iter1392); } } } @@ -162973,13 +161552,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1419 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1419.size); - String _elem1420; - for (int _i1421 = 0; _i1421 < _list1419.size; ++_i1421) + org.apache.thrift.protocol.TList _list1393 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1393.size); + String _elem1394; + for (int _i1395 = 0; _i1395 < _list1393.size; ++_i1395) { - _elem1420 = iprot.readString(); - struct.group_names.add(_elem1420); + _elem1394 = iprot.readString(); + struct.group_names.add(_elem1394); } } struct.setGroup_namesIsSet(true); @@ -163382,13 +161961,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 _list1422 = iprot.readListBegin(); - struct.success = new ArrayList(_list1422.size); - String _elem1423; - for (int _i1424 = 0; _i1424 < _list1422.size; ++_i1424) + org.apache.thrift.protocol.TList _list1396 = iprot.readListBegin(); + struct.success = new ArrayList(_list1396.size); + String _elem1397; + for (int _i1398 = 0; _i1398 < _list1396.size; ++_i1398) { - _elem1423 = iprot.readString(); - struct.success.add(_elem1423); + _elem1397 = iprot.readString(); + struct.success.add(_elem1397); } iprot.readListEnd(); } @@ -163423,9 +162002,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 _iter1425 : struct.success) + for (String _iter1399 : struct.success) { - oprot.writeString(_iter1425); + oprot.writeString(_iter1399); } oprot.writeListEnd(); } @@ -163464,9 +162043,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1426 : struct.success) + for (String _iter1400 : struct.success) { - oprot.writeString(_iter1426); + oprot.writeString(_iter1400); } } } @@ -163481,13 +162060,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 _list1427 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1427.size); - String _elem1428; - for (int _i1429 = 0; _i1429 < _list1427.size; ++_i1429) + org.apache.thrift.protocol.TList _list1401 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1401.size); + String _elem1402; + for (int _i1403 = 0; _i1403 < _list1401.size; ++_i1403) { - _elem1428 = iprot.readString(); - struct.success.add(_elem1428); + _elem1402 = iprot.readString(); + struct.success.add(_elem1402); } } struct.setSuccessIsSet(true); @@ -168778,13 +167357,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 _list1430 = iprot.readListBegin(); - struct.success = new ArrayList(_list1430.size); - String _elem1431; - for (int _i1432 = 0; _i1432 < _list1430.size; ++_i1432) + org.apache.thrift.protocol.TList _list1404 = iprot.readListBegin(); + struct.success = new ArrayList(_list1404.size); + String _elem1405; + for (int _i1406 = 0; _i1406 < _list1404.size; ++_i1406) { - _elem1431 = iprot.readString(); - struct.success.add(_elem1431); + _elem1405 = iprot.readString(); + struct.success.add(_elem1405); } iprot.readListEnd(); } @@ -168810,9 +167389,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 _iter1433 : struct.success) + for (String _iter1407 : struct.success) { - oprot.writeString(_iter1433); + oprot.writeString(_iter1407); } oprot.writeListEnd(); } @@ -168843,9 +167422,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1434 : struct.success) + for (String _iter1408 : struct.success) { - oprot.writeString(_iter1434); + oprot.writeString(_iter1408); } } } @@ -168857,13 +167436,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 _list1435 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1435.size); - String _elem1436; - for (int _i1437 = 0; _i1437 < _list1435.size; ++_i1437) + org.apache.thrift.protocol.TList _list1409 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1409.size); + String _elem1410; + for (int _i1411 = 0; _i1411 < _list1409.size; ++_i1411) { - _elem1436 = iprot.readString(); - struct.success.add(_elem1436); + _elem1410 = iprot.readString(); + struct.success.add(_elem1410); } } struct.setSuccessIsSet(true); @@ -171893,13 +170472,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 _list1438 = iprot.readListBegin(); - struct.success = new ArrayList(_list1438.size); - String _elem1439; - for (int _i1440 = 0; _i1440 < _list1438.size; ++_i1440) + org.apache.thrift.protocol.TList _list1412 = iprot.readListBegin(); + struct.success = new ArrayList(_list1412.size); + String _elem1413; + for (int _i1414 = 0; _i1414 < _list1412.size; ++_i1414) { - _elem1439 = iprot.readString(); - struct.success.add(_elem1439); + _elem1413 = iprot.readString(); + struct.success.add(_elem1413); } iprot.readListEnd(); } @@ -171925,9 +170504,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 _iter1441 : struct.success) + for (String _iter1415 : struct.success) { - oprot.writeString(_iter1441); + oprot.writeString(_iter1415); } oprot.writeListEnd(); } @@ -171958,9 +170537,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1442 : struct.success) + for (String _iter1416 : struct.success) { - oprot.writeString(_iter1442); + oprot.writeString(_iter1416); } } } @@ -171972,13 +170551,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 _list1443 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1443.size); - String _elem1444; - for (int _i1445 = 0; _i1445 < _list1443.size; ++_i1445) + org.apache.thrift.protocol.TList _list1417 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1417.size); + String _elem1418; + for (int _i1419 = 0; _i1419 < _list1417.size; ++_i1419) { - _elem1444 = iprot.readString(); - struct.success.add(_elem1444); + _elem1418 = iprot.readString(); + struct.success.add(_elem1418); } } struct.setSuccessIsSet(true); @@ -212631,7 +211210,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_ischema_args private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("create_ischema_result"); private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)-1); + private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final org.apache.thrift.protocol.TField O3_FIELD_DESC = new org.apache.thrift.protocol.TField("o3", org.apache.thrift.protocol.TType.STRUCT, (short)3); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); @@ -212647,7 +211226,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_ischema_args /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { O1((short)1, "o1"), - O2((short)-1, "o2"), + O2((short)2, "o2"), O3((short)3, "o3"); private static final Map byName = new HashMap(); @@ -212665,7 +211244,7 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // O1 return O1; - case -1: // O2 + case 2: // O2 return O2; case 3: // O3 return O3; @@ -213090,7 +211669,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_ischema_resu org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case -1: // O2 + case 2: // O2 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.o2 = new NoSuchObjectException(); struct.o2.read(iprot); @@ -213121,16 +211700,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_ischema_res struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.o2 != null) { - oprot.writeFieldBegin(O2_FIELD_DESC); - struct.o2.write(oprot); - oprot.writeFieldEnd(); - } if (struct.o1 != null) { oprot.writeFieldBegin(O1_FIELD_DESC); struct.o1.write(oprot); oprot.writeFieldEnd(); } + if (struct.o2 != null) { + oprot.writeFieldBegin(O2_FIELD_DESC); + struct.o2.write(oprot); + oprot.writeFieldEnd(); + } if (struct.o3 != null) { oprot.writeFieldBegin(O3_FIELD_DESC); struct.o3.write(oprot); @@ -219552,14 +218131,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_all_vers case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1446 = iprot.readListBegin(); - struct.success = new ArrayList(_list1446.size); - SchemaVersion _elem1447; - for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) + org.apache.thrift.protocol.TList _list1420 = iprot.readListBegin(); + struct.success = new ArrayList(_list1420.size); + SchemaVersion _elem1421; + for (int _i1422 = 0; _i1422 < _list1420.size; ++_i1422) { - _elem1447 = new SchemaVersion(); - _elem1447.read(iprot); - struct.success.add(_elem1447); + _elem1421 = new SchemaVersion(); + _elem1421.read(iprot); + struct.success.add(_elem1421); } iprot.readListEnd(); } @@ -219603,9 +218182,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_all_ver oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (SchemaVersion _iter1449 : struct.success) + for (SchemaVersion _iter1423 : struct.success) { - _iter1449.write(oprot); + _iter1423.write(oprot); } oprot.writeListEnd(); } @@ -219652,9 +218231,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_all_vers if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (SchemaVersion _iter1450 : struct.success) + for (SchemaVersion _iter1424 : struct.success) { - _iter1450.write(oprot); + _iter1424.write(oprot); } } } @@ -219672,14 +218251,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_all_versi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1451.size); - SchemaVersion _elem1452; - for (int _i1453 = 0; _i1453 < _list1451.size; ++_i1453) + org.apache.thrift.protocol.TList _list1425 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1425.size); + SchemaVersion _elem1426; + for (int _i1427 = 0; _i1427 < _list1425.size; ++_i1427) { - _elem1452 = new SchemaVersion(); - _elem1452.read(iprot); - struct.success.add(_elem1452); + _elem1426 = new SchemaVersion(); + _elem1426.read(iprot); + struct.success.add(_elem1426); } } 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 2fc0e00d6c..34407bb73e 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 _list800 = iprot.readListBegin(); - struct.pools = new ArrayList(_list800.size); - WMPool _elem801; - for (int _i802 = 0; _i802 < _list800.size; ++_i802) + org.apache.thrift.protocol.TList _list792 = iprot.readListBegin(); + struct.pools = new ArrayList(_list792.size); + WMPool _elem793; + for (int _i794 = 0; _i794 < _list792.size; ++_i794) { - _elem801 = new WMPool(); - _elem801.read(iprot); - struct.pools.add(_elem801); + _elem793 = new WMPool(); + _elem793.read(iprot); + struct.pools.add(_elem793); } 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 _list803 = iprot.readListBegin(); - struct.mappings = new ArrayList(_list803.size); - WMMapping _elem804; - for (int _i805 = 0; _i805 < _list803.size; ++_i805) + org.apache.thrift.protocol.TList _list795 = iprot.readListBegin(); + struct.mappings = new ArrayList(_list795.size); + WMMapping _elem796; + for (int _i797 = 0; _i797 < _list795.size; ++_i797) { - _elem804 = new WMMapping(); - _elem804.read(iprot); - struct.mappings.add(_elem804); + _elem796 = new WMMapping(); + _elem796.read(iprot); + struct.mappings.add(_elem796); } 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 _list806 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list806.size); - WMTrigger _elem807; - for (int _i808 = 0; _i808 < _list806.size; ++_i808) + org.apache.thrift.protocol.TList _list798 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list798.size); + WMTrigger _elem799; + for (int _i800 = 0; _i800 < _list798.size; ++_i800) { - _elem807 = new WMTrigger(); - _elem807.read(iprot); - struct.triggers.add(_elem807); + _elem799 = new WMTrigger(); + _elem799.read(iprot); + struct.triggers.add(_elem799); } 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 _list809 = iprot.readListBegin(); - struct.poolTriggers = new ArrayList(_list809.size); - WMPoolTrigger _elem810; - for (int _i811 = 0; _i811 < _list809.size; ++_i811) + org.apache.thrift.protocol.TList _list801 = iprot.readListBegin(); + struct.poolTriggers = new ArrayList(_list801.size); + WMPoolTrigger _elem802; + for (int _i803 = 0; _i803 < _list801.size; ++_i803) { - _elem810 = new WMPoolTrigger(); - _elem810.read(iprot); - struct.poolTriggers.add(_elem810); + _elem802 = new WMPoolTrigger(); + _elem802.read(iprot); + struct.poolTriggers.add(_elem802); } 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 _iter812 : struct.pools) + for (WMPool _iter804 : struct.pools) { - _iter812.write(oprot); + _iter804.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 _iter813 : struct.mappings) + for (WMMapping _iter805 : struct.mappings) { - _iter813.write(oprot); + _iter805.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 _iter814 : struct.triggers) + for (WMTrigger _iter806 : struct.triggers) { - _iter814.write(oprot); + _iter806.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 _iter815 : struct.poolTriggers) + for (WMPoolTrigger _iter807 : struct.poolTriggers) { - _iter815.write(oprot); + _iter807.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 _iter816 : struct.pools) + for (WMPool _iter808 : struct.pools) { - _iter816.write(oprot); + _iter808.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 _iter817 : struct.mappings) + for (WMMapping _iter809 : struct.mappings) { - _iter817.write(oprot); + _iter809.write(oprot); } } } if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter818 : struct.triggers) + for (WMTrigger _iter810 : struct.triggers) { - _iter818.write(oprot); + _iter810.write(oprot); } } } if (struct.isSetPoolTriggers()) { { oprot.writeI32(struct.poolTriggers.size()); - for (WMPoolTrigger _iter819 : struct.poolTriggers) + for (WMPoolTrigger _iter811 : struct.poolTriggers) { - _iter819.write(oprot); + _iter811.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 _list820 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.pools = new ArrayList(_list820.size); - WMPool _elem821; - for (int _i822 = 0; _i822 < _list820.size; ++_i822) + org.apache.thrift.protocol.TList _list812 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.pools = new ArrayList(_list812.size); + WMPool _elem813; + for (int _i814 = 0; _i814 < _list812.size; ++_i814) { - _elem821 = new WMPool(); - _elem821.read(iprot); - struct.pools.add(_elem821); + _elem813 = new WMPool(); + _elem813.read(iprot); + struct.pools.add(_elem813); } } struct.setPoolsIsSet(true); BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list823 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.mappings = new ArrayList(_list823.size); - WMMapping _elem824; - for (int _i825 = 0; _i825 < _list823.size; ++_i825) + org.apache.thrift.protocol.TList _list815 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.mappings = new ArrayList(_list815.size); + WMMapping _elem816; + for (int _i817 = 0; _i817 < _list815.size; ++_i817) { - _elem824 = new WMMapping(); - _elem824.read(iprot); - struct.mappings.add(_elem824); + _elem816 = new WMMapping(); + _elem816.read(iprot); + struct.mappings.add(_elem816); } } struct.setMappingsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list826 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list826.size); - WMTrigger _elem827; - for (int _i828 = 0; _i828 < _list826.size; ++_i828) + org.apache.thrift.protocol.TList _list818 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list818.size); + WMTrigger _elem819; + for (int _i820 = 0; _i820 < _list818.size; ++_i820) { - _elem827 = new WMTrigger(); - _elem827.read(iprot); - struct.triggers.add(_elem827); + _elem819 = new WMTrigger(); + _elem819.read(iprot); + struct.triggers.add(_elem819); } } struct.setTriggersIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list829 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.poolTriggers = new ArrayList(_list829.size); - WMPoolTrigger _elem830; - for (int _i831 = 0; _i831 < _list829.size; ++_i831) + org.apache.thrift.protocol.TList _list821 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.poolTriggers = new ArrayList(_list821.size); + WMPoolTrigger _elem822; + for (int _i823 = 0; _i823 < _list821.size; ++_i823) { - _elem830 = new WMPoolTrigger(); - _elem830.read(iprot); - struct.poolTriggers.add(_elem830); + _elem822 = new WMPoolTrigger(); + _elem822.read(iprot); + struct.poolTriggers.add(_elem822); } } 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 0ddb2b2dff..1558ffa333 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 _list832 = iprot.readListBegin(); - struct.resourcePlans = new ArrayList(_list832.size); - WMResourcePlan _elem833; - for (int _i834 = 0; _i834 < _list832.size; ++_i834) + org.apache.thrift.protocol.TList _list824 = iprot.readListBegin(); + struct.resourcePlans = new ArrayList(_list824.size); + WMResourcePlan _elem825; + for (int _i826 = 0; _i826 < _list824.size; ++_i826) { - _elem833 = new WMResourcePlan(); - _elem833.read(iprot); - struct.resourcePlans.add(_elem833); + _elem825 = new WMResourcePlan(); + _elem825.read(iprot); + struct.resourcePlans.add(_elem825); } 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 _iter835 : struct.resourcePlans) + for (WMResourcePlan _iter827 : struct.resourcePlans) { - _iter835.write(oprot); + _iter827.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 _iter836 : struct.resourcePlans) + for (WMResourcePlan _iter828 : struct.resourcePlans) { - _iter836.write(oprot); + _iter828.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 _list837 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.resourcePlans = new ArrayList(_list837.size); - WMResourcePlan _elem838; - for (int _i839 = 0; _i839 < _list837.size; ++_i839) + org.apache.thrift.protocol.TList _list829 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.resourcePlans = new ArrayList(_list829.size); + WMResourcePlan _elem830; + for (int _i831 = 0; _i831 < _list829.size; ++_i831) { - _elem838 = new WMResourcePlan(); - _elem838.read(iprot); - struct.resourcePlans.add(_elem838); + _elem830 = new WMResourcePlan(); + _elem830.read(iprot); + struct.resourcePlans.add(_elem830); } } 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 93fa2b7ee9..6662f06534 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 _list856 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list856.size); - WMTrigger _elem857; - for (int _i858 = 0; _i858 < _list856.size; ++_i858) + org.apache.thrift.protocol.TList _list848 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list848.size); + WMTrigger _elem849; + for (int _i850 = 0; _i850 < _list848.size; ++_i850) { - _elem857 = new WMTrigger(); - _elem857.read(iprot); - struct.triggers.add(_elem857); + _elem849 = new WMTrigger(); + _elem849.read(iprot); + struct.triggers.add(_elem849); } 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 _iter859 : struct.triggers) + for (WMTrigger _iter851 : struct.triggers) { - _iter859.write(oprot); + _iter851.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 _iter860 : struct.triggers) + for (WMTrigger _iter852 : struct.triggers) { - _iter860.write(oprot); + _iter852.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 _list861 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list861.size); - WMTrigger _elem862; - for (int _i863 = 0; _i863 < _list861.size; ++_i863) + org.apache.thrift.protocol.TList _list853 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list853.size); + WMTrigger _elem854; + for (int _i855 = 0; _i855 < _list853.size; ++_i855) { - _elem862 = new WMTrigger(); - _elem862.read(iprot); - struct.triggers.add(_elem862); + _elem854 = new WMTrigger(); + _elem854.read(iprot); + struct.triggers.add(_elem854); } } 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 97d33c1da4..0aeaced239 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 _list840 = iprot.readListBegin(); - struct.errors = new ArrayList(_list840.size); - String _elem841; - for (int _i842 = 0; _i842 < _list840.size; ++_i842) + org.apache.thrift.protocol.TList _list832 = iprot.readListBegin(); + struct.errors = new ArrayList(_list832.size); + String _elem833; + for (int _i834 = 0; _i834 < _list832.size; ++_i834) { - _elem841 = iprot.readString(); - struct.errors.add(_elem841); + _elem833 = iprot.readString(); + struct.errors.add(_elem833); } 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 _list843 = iprot.readListBegin(); - struct.warnings = new ArrayList(_list843.size); - String _elem844; - for (int _i845 = 0; _i845 < _list843.size; ++_i845) + org.apache.thrift.protocol.TList _list835 = iprot.readListBegin(); + struct.warnings = new ArrayList(_list835.size); + String _elem836; + for (int _i837 = 0; _i837 < _list835.size; ++_i837) { - _elem844 = iprot.readString(); - struct.warnings.add(_elem844); + _elem836 = iprot.readString(); + struct.warnings.add(_elem836); } 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 _iter846 : struct.errors) + for (String _iter838 : struct.errors) { - oprot.writeString(_iter846); + oprot.writeString(_iter838); } 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 _iter847 : struct.warnings) + for (String _iter839 : struct.warnings) { - oprot.writeString(_iter847); + oprot.writeString(_iter839); } 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 _iter848 : struct.errors) + for (String _iter840 : struct.errors) { - oprot.writeString(_iter848); + oprot.writeString(_iter840); } } } if (struct.isSetWarnings()) { { oprot.writeI32(struct.warnings.size()); - for (String _iter849 : struct.warnings) + for (String _iter841 : struct.warnings) { - oprot.writeString(_iter849); + oprot.writeString(_iter841); } } } @@ -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 _list850 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.errors = new ArrayList(_list850.size); - String _elem851; - for (int _i852 = 0; _i852 < _list850.size; ++_i852) + org.apache.thrift.protocol.TList _list842 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.errors = new ArrayList(_list842.size); + String _elem843; + for (int _i844 = 0; _i844 < _list842.size; ++_i844) { - _elem851 = iprot.readString(); - struct.errors.add(_elem851); + _elem843 = iprot.readString(); + struct.errors.add(_elem843); } } struct.setErrorsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list853 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.warnings = new ArrayList(_list853.size); - String _elem854; - for (int _i855 = 0; _i855 < _list853.size; ++_i855) + org.apache.thrift.protocol.TList _list845 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.warnings = new ArrayList(_list845.size); + String _elem846; + for (int _i847 = 0; _i847 < _list845.size; ++_i847) { - _elem854 = iprot.readString(); - struct.warnings.add(_elem854); + _elem846 = iprot.readString(); + struct.warnings.add(_elem846); } } 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 efe693a65e..42482dc592 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -293,15 +293,6 @@ interface ThriftHiveMetastoreIf extends \FacebookServiceIf { * @throws \metastore\UnknownDBException */ public function get_table_objects_by_name_req(\metastore\GetTablesRequest $req); - /** - * @param string $dbname - * @param string[] $tbl_names - * @return array - * @throws \metastore\MetaException - * @throws \metastore\InvalidOperationException - * @throws \metastore\UnknownDBException - */ - public function get_materialization_invalidation_info($dbname, array $tbl_names); /** * @param string $dbname * @param string $tbl_name @@ -3573,67 +3564,6 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("get_table_objects_by_name_req failed: unknown result"); } - public function get_materialization_invalidation_info($dbname, array $tbl_names) - { - $this->send_get_materialization_invalidation_info($dbname, $tbl_names); - return $this->recv_get_materialization_invalidation_info(); - } - - public function send_get_materialization_invalidation_info($dbname, array $tbl_names) - { - $args = new \metastore\ThriftHiveMetastore_get_materialization_invalidation_info_args(); - $args->dbname = $dbname; - $args->tbl_names = $tbl_names; - $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); - if ($bin_accel) - { - thrift_protocol_write_binary($this->output_, 'get_materialization_invalidation_info', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); - } - else - { - $this->output_->writeMessageBegin('get_materialization_invalidation_info', TMessageType::CALL, $this->seqid_); - $args->write($this->output_); - $this->output_->writeMessageEnd(); - $this->output_->getTransport()->flush(); - } - } - - public function recv_get_materialization_invalidation_info() - { - $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); - if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_materialization_invalidation_info_result', $this->input_->isStrictRead()); - else - { - $rseqid = 0; - $fname = null; - $mtype = 0; - - $this->input_->readMessageBegin($fname, $mtype, $rseqid); - if ($mtype == TMessageType::EXCEPTION) { - $x = new TApplicationException(); - $x->read($this->input_); - $this->input_->readMessageEnd(); - throw $x; - } - $result = new \metastore\ThriftHiveMetastore_get_materialization_invalidation_info_result(); - $result->read($this->input_); - $this->input_->readMessageEnd(); - } - if ($result->success !== null) { - return $result->success; - } - if ($result->o1 !== null) { - throw $result->o1; - } - if ($result->o2 !== null) { - throw $result->o2; - } - if ($result->o3 !== null) { - throw $result->o3; - } - throw new \Exception("get_materialization_invalidation_info failed: unknown result"); - } - public function update_creation_metadata($dbname, $tbl_name, \metastore\CreationMetadata $creation_metadata) { $this->send_update_creation_metadata($dbname, $tbl_name, $creation_metadata); @@ -13660,14 +13590,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size778 = 0; - $_etype781 = 0; - $xfer += $input->readListBegin($_etype781, $_size778); - for ($_i782 = 0; $_i782 < $_size778; ++$_i782) + $_size770 = 0; + $_etype773 = 0; + $xfer += $input->readListBegin($_etype773, $_size770); + for ($_i774 = 0; $_i774 < $_size770; ++$_i774) { - $elem783 = null; - $xfer += $input->readString($elem783); - $this->success []= $elem783; + $elem775 = null; + $xfer += $input->readString($elem775); + $this->success []= $elem775; } $xfer += $input->readListEnd(); } else { @@ -13703,9 +13633,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter784) + foreach ($this->success as $iter776) { - $xfer += $output->writeString($iter784); + $xfer += $output->writeString($iter776); } } $output->writeListEnd(); @@ -13836,14 +13766,14 @@ class ThriftHiveMetastore_get_all_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size785 = 0; - $_etype788 = 0; - $xfer += $input->readListBegin($_etype788, $_size785); - for ($_i789 = 0; $_i789 < $_size785; ++$_i789) + $_size777 = 0; + $_etype780 = 0; + $xfer += $input->readListBegin($_etype780, $_size777); + for ($_i781 = 0; $_i781 < $_size777; ++$_i781) { - $elem790 = null; - $xfer += $input->readString($elem790); - $this->success []= $elem790; + $elem782 = null; + $xfer += $input->readString($elem782); + $this->success []= $elem782; } $xfer += $input->readListEnd(); } else { @@ -13879,9 +13809,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter791) + foreach ($this->success as $iter783) { - $xfer += $output->writeString($iter791); + $xfer += $output->writeString($iter783); } } $output->writeListEnd(); @@ -14882,18 +14812,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size792 = 0; - $_ktype793 = 0; - $_vtype794 = 0; - $xfer += $input->readMapBegin($_ktype793, $_vtype794, $_size792); - for ($_i796 = 0; $_i796 < $_size792; ++$_i796) + $_size784 = 0; + $_ktype785 = 0; + $_vtype786 = 0; + $xfer += $input->readMapBegin($_ktype785, $_vtype786, $_size784); + for ($_i788 = 0; $_i788 < $_size784; ++$_i788) { - $key797 = ''; - $val798 = new \metastore\Type(); - $xfer += $input->readString($key797); - $val798 = new \metastore\Type(); - $xfer += $val798->read($input); - $this->success[$key797] = $val798; + $key789 = ''; + $val790 = new \metastore\Type(); + $xfer += $input->readString($key789); + $val790 = new \metastore\Type(); + $xfer += $val790->read($input); + $this->success[$key789] = $val790; } $xfer += $input->readMapEnd(); } else { @@ -14929,10 +14859,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter799 => $viter800) + foreach ($this->success as $kiter791 => $viter792) { - $xfer += $output->writeString($kiter799); - $xfer += $viter800->write($output); + $xfer += $output->writeString($kiter791); + $xfer += $viter792->write($output); } } $output->writeMapEnd(); @@ -15136,15 +15066,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size801 = 0; - $_etype804 = 0; - $xfer += $input->readListBegin($_etype804, $_size801); - for ($_i805 = 0; $_i805 < $_size801; ++$_i805) + $_size793 = 0; + $_etype796 = 0; + $xfer += $input->readListBegin($_etype796, $_size793); + for ($_i797 = 0; $_i797 < $_size793; ++$_i797) { - $elem806 = null; - $elem806 = new \metastore\FieldSchema(); - $xfer += $elem806->read($input); - $this->success []= $elem806; + $elem798 = null; + $elem798 = new \metastore\FieldSchema(); + $xfer += $elem798->read($input); + $this->success []= $elem798; } $xfer += $input->readListEnd(); } else { @@ -15196,9 +15126,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter807) + foreach ($this->success as $iter799) { - $xfer += $iter807->write($output); + $xfer += $iter799->write($output); } } $output->writeListEnd(); @@ -15440,15 +15370,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size808 = 0; - $_etype811 = 0; - $xfer += $input->readListBegin($_etype811, $_size808); - for ($_i812 = 0; $_i812 < $_size808; ++$_i812) + $_size800 = 0; + $_etype803 = 0; + $xfer += $input->readListBegin($_etype803, $_size800); + for ($_i804 = 0; $_i804 < $_size800; ++$_i804) { - $elem813 = null; - $elem813 = new \metastore\FieldSchema(); - $xfer += $elem813->read($input); - $this->success []= $elem813; + $elem805 = null; + $elem805 = new \metastore\FieldSchema(); + $xfer += $elem805->read($input); + $this->success []= $elem805; } $xfer += $input->readListEnd(); } else { @@ -15500,9 +15430,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter814) + foreach ($this->success as $iter806) { - $xfer += $iter814->write($output); + $xfer += $iter806->write($output); } } $output->writeListEnd(); @@ -15716,15 +15646,15 @@ class ThriftHiveMetastore_get_schema_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size815 = 0; - $_etype818 = 0; - $xfer += $input->readListBegin($_etype818, $_size815); - for ($_i819 = 0; $_i819 < $_size815; ++$_i819) + $_size807 = 0; + $_etype810 = 0; + $xfer += $input->readListBegin($_etype810, $_size807); + for ($_i811 = 0; $_i811 < $_size807; ++$_i811) { - $elem820 = null; - $elem820 = new \metastore\FieldSchema(); - $xfer += $elem820->read($input); - $this->success []= $elem820; + $elem812 = null; + $elem812 = new \metastore\FieldSchema(); + $xfer += $elem812->read($input); + $this->success []= $elem812; } $xfer += $input->readListEnd(); } else { @@ -15776,9 +15706,9 @@ class ThriftHiveMetastore_get_schema_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter821) + foreach ($this->success as $iter813) { - $xfer += $iter821->write($output); + $xfer += $iter813->write($output); } } $output->writeListEnd(); @@ -16020,15 +15950,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size822 = 0; - $_etype825 = 0; - $xfer += $input->readListBegin($_etype825, $_size822); - for ($_i826 = 0; $_i826 < $_size822; ++$_i826) + $_size814 = 0; + $_etype817 = 0; + $xfer += $input->readListBegin($_etype817, $_size814); + for ($_i818 = 0; $_i818 < $_size814; ++$_i818) { - $elem827 = null; - $elem827 = new \metastore\FieldSchema(); - $xfer += $elem827->read($input); - $this->success []= $elem827; + $elem819 = null; + $elem819 = new \metastore\FieldSchema(); + $xfer += $elem819->read($input); + $this->success []= $elem819; } $xfer += $input->readListEnd(); } else { @@ -16080,9 +16010,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter828) + foreach ($this->success as $iter820) { - $xfer += $iter828->write($output); + $xfer += $iter820->write($output); } } $output->writeListEnd(); @@ -16738,15 +16668,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 2: if ($ftype == TType::LST) { $this->primaryKeys = array(); - $_size829 = 0; - $_etype832 = 0; - $xfer += $input->readListBegin($_etype832, $_size829); - for ($_i833 = 0; $_i833 < $_size829; ++$_i833) + $_size821 = 0; + $_etype824 = 0; + $xfer += $input->readListBegin($_etype824, $_size821); + for ($_i825 = 0; $_i825 < $_size821; ++$_i825) { - $elem834 = null; - $elem834 = new \metastore\SQLPrimaryKey(); - $xfer += $elem834->read($input); - $this->primaryKeys []= $elem834; + $elem826 = null; + $elem826 = new \metastore\SQLPrimaryKey(); + $xfer += $elem826->read($input); + $this->primaryKeys []= $elem826; } $xfer += $input->readListEnd(); } else { @@ -16756,15 +16686,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 3: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size835 = 0; - $_etype838 = 0; - $xfer += $input->readListBegin($_etype838, $_size835); - for ($_i839 = 0; $_i839 < $_size835; ++$_i839) + $_size827 = 0; + $_etype830 = 0; + $xfer += $input->readListBegin($_etype830, $_size827); + for ($_i831 = 0; $_i831 < $_size827; ++$_i831) { - $elem840 = null; - $elem840 = new \metastore\SQLForeignKey(); - $xfer += $elem840->read($input); - $this->foreignKeys []= $elem840; + $elem832 = null; + $elem832 = new \metastore\SQLForeignKey(); + $xfer += $elem832->read($input); + $this->foreignKeys []= $elem832; } $xfer += $input->readListEnd(); } else { @@ -16774,15 +16704,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 4: if ($ftype == TType::LST) { $this->uniqueConstraints = array(); - $_size841 = 0; - $_etype844 = 0; - $xfer += $input->readListBegin($_etype844, $_size841); - for ($_i845 = 0; $_i845 < $_size841; ++$_i845) + $_size833 = 0; + $_etype836 = 0; + $xfer += $input->readListBegin($_etype836, $_size833); + for ($_i837 = 0; $_i837 < $_size833; ++$_i837) { - $elem846 = null; - $elem846 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem846->read($input); - $this->uniqueConstraints []= $elem846; + $elem838 = null; + $elem838 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem838->read($input); + $this->uniqueConstraints []= $elem838; } $xfer += $input->readListEnd(); } else { @@ -16792,15 +16722,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 5: if ($ftype == TType::LST) { $this->notNullConstraints = array(); - $_size847 = 0; - $_etype850 = 0; - $xfer += $input->readListBegin($_etype850, $_size847); - for ($_i851 = 0; $_i851 < $_size847; ++$_i851) + $_size839 = 0; + $_etype842 = 0; + $xfer += $input->readListBegin($_etype842, $_size839); + for ($_i843 = 0; $_i843 < $_size839; ++$_i843) { - $elem852 = null; - $elem852 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem852->read($input); - $this->notNullConstraints []= $elem852; + $elem844 = null; + $elem844 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem844->read($input); + $this->notNullConstraints []= $elem844; } $xfer += $input->readListEnd(); } else { @@ -16810,15 +16740,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 6: if ($ftype == TType::LST) { $this->defaultConstraints = array(); - $_size853 = 0; - $_etype856 = 0; - $xfer += $input->readListBegin($_etype856, $_size853); - for ($_i857 = 0; $_i857 < $_size853; ++$_i857) + $_size845 = 0; + $_etype848 = 0; + $xfer += $input->readListBegin($_etype848, $_size845); + for ($_i849 = 0; $_i849 < $_size845; ++$_i849) { - $elem858 = null; - $elem858 = new \metastore\SQLDefaultConstraint(); - $xfer += $elem858->read($input); - $this->defaultConstraints []= $elem858; + $elem850 = null; + $elem850 = new \metastore\SQLDefaultConstraint(); + $xfer += $elem850->read($input); + $this->defaultConstraints []= $elem850; } $xfer += $input->readListEnd(); } else { @@ -16854,9 +16784,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); { - foreach ($this->primaryKeys as $iter859) + foreach ($this->primaryKeys as $iter851) { - $xfer += $iter859->write($output); + $xfer += $iter851->write($output); } } $output->writeListEnd(); @@ -16871,9 +16801,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); { - foreach ($this->foreignKeys as $iter860) + foreach ($this->foreignKeys as $iter852) { - $xfer += $iter860->write($output); + $xfer += $iter852->write($output); } } $output->writeListEnd(); @@ -16888,9 +16818,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints)); { - foreach ($this->uniqueConstraints as $iter861) + foreach ($this->uniqueConstraints as $iter853) { - $xfer += $iter861->write($output); + $xfer += $iter853->write($output); } } $output->writeListEnd(); @@ -16905,9 +16835,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->notNullConstraints)); { - foreach ($this->notNullConstraints as $iter862) + foreach ($this->notNullConstraints as $iter854) { - $xfer += $iter862->write($output); + $xfer += $iter854->write($output); } } $output->writeListEnd(); @@ -16922,9 +16852,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->defaultConstraints)); { - foreach ($this->defaultConstraints as $iter863) + foreach ($this->defaultConstraints as $iter855) { - $xfer += $iter863->write($output); + $xfer += $iter855->write($output); } } $output->writeListEnd(); @@ -18742,14 +18672,14 @@ class ThriftHiveMetastore_truncate_table_args { case 3: if ($ftype == TType::LST) { $this->partNames = array(); - $_size864 = 0; - $_etype867 = 0; - $xfer += $input->readListBegin($_etype867, $_size864); - for ($_i868 = 0; $_i868 < $_size864; ++$_i868) + $_size856 = 0; + $_etype859 = 0; + $xfer += $input->readListBegin($_etype859, $_size856); + for ($_i860 = 0; $_i860 < $_size856; ++$_i860) { - $elem869 = null; - $xfer += $input->readString($elem869); - $this->partNames []= $elem869; + $elem861 = null; + $xfer += $input->readString($elem861); + $this->partNames []= $elem861; } $xfer += $input->readListEnd(); } else { @@ -18787,9 +18717,9 @@ class ThriftHiveMetastore_truncate_table_args { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter870) + foreach ($this->partNames as $iter862) { - $xfer += $output->writeString($iter870); + $xfer += $output->writeString($iter862); } } $output->writeListEnd(); @@ -19040,14 +18970,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size871 = 0; - $_etype874 = 0; - $xfer += $input->readListBegin($_etype874, $_size871); - for ($_i875 = 0; $_i875 < $_size871; ++$_i875) + $_size863 = 0; + $_etype866 = 0; + $xfer += $input->readListBegin($_etype866, $_size863); + for ($_i867 = 0; $_i867 < $_size863; ++$_i867) { - $elem876 = null; - $xfer += $input->readString($elem876); - $this->success []= $elem876; + $elem868 = null; + $xfer += $input->readString($elem868); + $this->success []= $elem868; } $xfer += $input->readListEnd(); } else { @@ -19083,9 +19013,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter877) + foreach ($this->success as $iter869) { - $xfer += $output->writeString($iter877); + $xfer += $output->writeString($iter869); } } $output->writeListEnd(); @@ -19287,14 +19217,14 @@ class ThriftHiveMetastore_get_tables_by_type_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size878 = 0; - $_etype881 = 0; - $xfer += $input->readListBegin($_etype881, $_size878); - for ($_i882 = 0; $_i882 < $_size878; ++$_i882) + $_size870 = 0; + $_etype873 = 0; + $xfer += $input->readListBegin($_etype873, $_size870); + for ($_i874 = 0; $_i874 < $_size870; ++$_i874) { - $elem883 = null; - $xfer += $input->readString($elem883); - $this->success []= $elem883; + $elem875 = null; + $xfer += $input->readString($elem875); + $this->success []= $elem875; } $xfer += $input->readListEnd(); } else { @@ -19330,9 +19260,9 @@ class ThriftHiveMetastore_get_tables_by_type_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter884) + foreach ($this->success as $iter876) { - $xfer += $output->writeString($iter884); + $xfer += $output->writeString($iter876); } } $output->writeListEnd(); @@ -19488,14 +19418,14 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size885 = 0; - $_etype888 = 0; - $xfer += $input->readListBegin($_etype888, $_size885); - for ($_i889 = 0; $_i889 < $_size885; ++$_i889) + $_size877 = 0; + $_etype880 = 0; + $xfer += $input->readListBegin($_etype880, $_size877); + for ($_i881 = 0; $_i881 < $_size877; ++$_i881) { - $elem890 = null; - $xfer += $input->readString($elem890); - $this->success []= $elem890; + $elem882 = null; + $xfer += $input->readString($elem882); + $this->success []= $elem882; } $xfer += $input->readListEnd(); } else { @@ -19531,9 +19461,9 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter891) + foreach ($this->success as $iter883) { - $xfer += $output->writeString($iter891); + $xfer += $output->writeString($iter883); } } $output->writeListEnd(); @@ -19638,14 +19568,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = array(); - $_size892 = 0; - $_etype895 = 0; - $xfer += $input->readListBegin($_etype895, $_size892); - for ($_i896 = 0; $_i896 < $_size892; ++$_i896) + $_size884 = 0; + $_etype887 = 0; + $xfer += $input->readListBegin($_etype887, $_size884); + for ($_i888 = 0; $_i888 < $_size884; ++$_i888) { - $elem897 = null; - $xfer += $input->readString($elem897); - $this->tbl_types []= $elem897; + $elem889 = null; + $xfer += $input->readString($elem889); + $this->tbl_types []= $elem889; } $xfer += $input->readListEnd(); } else { @@ -19683,9 +19613,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter898) + foreach ($this->tbl_types as $iter890) { - $xfer += $output->writeString($iter898); + $xfer += $output->writeString($iter890); } } $output->writeListEnd(); @@ -19762,15 +19692,15 @@ class ThriftHiveMetastore_get_table_meta_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size899 = 0; - $_etype902 = 0; - $xfer += $input->readListBegin($_etype902, $_size899); - for ($_i903 = 0; $_i903 < $_size899; ++$_i903) + $_size891 = 0; + $_etype894 = 0; + $xfer += $input->readListBegin($_etype894, $_size891); + for ($_i895 = 0; $_i895 < $_size891; ++$_i895) { - $elem904 = null; - $elem904 = new \metastore\TableMeta(); - $xfer += $elem904->read($input); - $this->success []= $elem904; + $elem896 = null; + $elem896 = new \metastore\TableMeta(); + $xfer += $elem896->read($input); + $this->success []= $elem896; } $xfer += $input->readListEnd(); } else { @@ -19806,9 +19736,9 @@ class ThriftHiveMetastore_get_table_meta_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter905) + foreach ($this->success as $iter897) { - $xfer += $iter905->write($output); + $xfer += $iter897->write($output); } } $output->writeListEnd(); @@ -19964,14 +19894,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size906 = 0; - $_etype909 = 0; - $xfer += $input->readListBegin($_etype909, $_size906); - for ($_i910 = 0; $_i910 < $_size906; ++$_i910) + $_size898 = 0; + $_etype901 = 0; + $xfer += $input->readListBegin($_etype901, $_size898); + for ($_i902 = 0; $_i902 < $_size898; ++$_i902) { - $elem911 = null; - $xfer += $input->readString($elem911); - $this->success []= $elem911; + $elem903 = null; + $xfer += $input->readString($elem903); + $this->success []= $elem903; } $xfer += $input->readListEnd(); } else { @@ -20007,9 +19937,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter912) + foreach ($this->success as $iter904) { - $xfer += $output->writeString($iter912); + $xfer += $output->writeString($iter904); } } $output->writeListEnd(); @@ -20324,14 +20254,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size913 = 0; - $_etype916 = 0; - $xfer += $input->readListBegin($_etype916, $_size913); - for ($_i917 = 0; $_i917 < $_size913; ++$_i917) + $_size905 = 0; + $_etype908 = 0; + $xfer += $input->readListBegin($_etype908, $_size905); + for ($_i909 = 0; $_i909 < $_size905; ++$_i909) { - $elem918 = null; - $xfer += $input->readString($elem918); - $this->tbl_names []= $elem918; + $elem910 = null; + $xfer += $input->readString($elem910); + $this->tbl_names []= $elem910; } $xfer += $input->readListEnd(); } else { @@ -20364,9 +20294,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter919) + foreach ($this->tbl_names as $iter911) { - $xfer += $output->writeString($iter919); + $xfer += $output->writeString($iter911); } } $output->writeListEnd(); @@ -20431,15 +20361,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size920 = 0; - $_etype923 = 0; - $xfer += $input->readListBegin($_etype923, $_size920); - for ($_i924 = 0; $_i924 < $_size920; ++$_i924) + $_size912 = 0; + $_etype915 = 0; + $xfer += $input->readListBegin($_etype915, $_size912); + for ($_i916 = 0; $_i916 < $_size912; ++$_i916) { - $elem925 = null; - $elem925 = new \metastore\Table(); - $xfer += $elem925->read($input); - $this->success []= $elem925; + $elem917 = null; + $elem917 = new \metastore\Table(); + $xfer += $elem917->read($input); + $this->success []= $elem917; } $xfer += $input->readListEnd(); } else { @@ -20467,9 +20397,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter926) + foreach ($this->success as $iter918) { - $xfer += $iter926->write($output); + $xfer += $iter918->write($output); } } $output->writeListEnd(); @@ -20928,316 +20858,6 @@ class ThriftHiveMetastore_get_table_objects_by_name_req_result { } -class ThriftHiveMetastore_get_materialization_invalidation_info_args { - static $_TSPEC; - - /** - * @var string - */ - public $dbname = null; - /** - * @var string[] - */ - public $tbl_names = null; - - public function __construct($vals=null) { - if (!isset(self::$_TSPEC)) { - self::$_TSPEC = array( - 1 => array( - 'var' => 'dbname', - 'type' => TType::STRING, - ), - 2 => array( - 'var' => 'tbl_names', - 'type' => TType::LST, - 'etype' => TType::STRING, - 'elem' => array( - 'type' => TType::STRING, - ), - ), - ); - } - if (is_array($vals)) { - if (isset($vals['dbname'])) { - $this->dbname = $vals['dbname']; - } - if (isset($vals['tbl_names'])) { - $this->tbl_names = $vals['tbl_names']; - } - } - } - - public function getName() { - return 'ThriftHiveMetastore_get_materialization_invalidation_info_args'; - } - - public function read($input) - { - $xfer = 0; - $fname = null; - $ftype = 0; - $fid = 0; - $xfer += $input->readStructBegin($fname); - while (true) - { - $xfer += $input->readFieldBegin($fname, $ftype, $fid); - if ($ftype == TType::STOP) { - break; - } - switch ($fid) - { - case 1: - if ($ftype == TType::STRING) { - $xfer += $input->readString($this->dbname); - } else { - $xfer += $input->skip($ftype); - } - break; - case 2: - if ($ftype == TType::LST) { - $this->tbl_names = array(); - $_size927 = 0; - $_etype930 = 0; - $xfer += $input->readListBegin($_etype930, $_size927); - for ($_i931 = 0; $_i931 < $_size927; ++$_i931) - { - $elem932 = null; - $xfer += $input->readString($elem932); - $this->tbl_names []= $elem932; - } - $xfer += $input->readListEnd(); - } else { - $xfer += $input->skip($ftype); - } - break; - default: - $xfer += $input->skip($ftype); - break; - } - $xfer += $input->readFieldEnd(); - } - $xfer += $input->readStructEnd(); - return $xfer; - } - - public function write($output) { - $xfer = 0; - $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_materialization_invalidation_info_args'); - if ($this->dbname !== null) { - $xfer += $output->writeFieldBegin('dbname', TType::STRING, 1); - $xfer += $output->writeString($this->dbname); - $xfer += $output->writeFieldEnd(); - } - if ($this->tbl_names !== null) { - if (!is_array($this->tbl_names)) { - throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); - } - $xfer += $output->writeFieldBegin('tbl_names', TType::LST, 2); - { - $output->writeListBegin(TType::STRING, count($this->tbl_names)); - { - foreach ($this->tbl_names as $iter933) - { - $xfer += $output->writeString($iter933); - } - } - $output->writeListEnd(); - } - $xfer += $output->writeFieldEnd(); - } - $xfer += $output->writeFieldStop(); - $xfer += $output->writeStructEnd(); - return $xfer; - } - -} - -class ThriftHiveMetastore_get_materialization_invalidation_info_result { - static $_TSPEC; - - /** - * @var array - */ - public $success = null; - /** - * @var \metastore\MetaException - */ - public $o1 = null; - /** - * @var \metastore\InvalidOperationException - */ - public $o2 = null; - /** - * @var \metastore\UnknownDBException - */ - public $o3 = null; - - public function __construct($vals=null) { - if (!isset(self::$_TSPEC)) { - self::$_TSPEC = array( - 0 => array( - 'var' => 'success', - 'type' => TType::MAP, - 'ktype' => TType::STRING, - 'vtype' => TType::STRUCT, - 'key' => array( - 'type' => TType::STRING, - ), - 'val' => array( - 'type' => TType::STRUCT, - 'class' => '\metastore\Materialization', - ), - ), - 1 => array( - 'var' => 'o1', - 'type' => TType::STRUCT, - 'class' => '\metastore\MetaException', - ), - 2 => array( - 'var' => 'o2', - 'type' => TType::STRUCT, - 'class' => '\metastore\InvalidOperationException', - ), - 3 => array( - 'var' => 'o3', - 'type' => TType::STRUCT, - 'class' => '\metastore\UnknownDBException', - ), - ); - } - if (is_array($vals)) { - if (isset($vals['success'])) { - $this->success = $vals['success']; - } - if (isset($vals['o1'])) { - $this->o1 = $vals['o1']; - } - if (isset($vals['o2'])) { - $this->o2 = $vals['o2']; - } - if (isset($vals['o3'])) { - $this->o3 = $vals['o3']; - } - } - } - - public function getName() { - return 'ThriftHiveMetastore_get_materialization_invalidation_info_result'; - } - - public function read($input) - { - $xfer = 0; - $fname = null; - $ftype = 0; - $fid = 0; - $xfer += $input->readStructBegin($fname); - while (true) - { - $xfer += $input->readFieldBegin($fname, $ftype, $fid); - if ($ftype == TType::STOP) { - break; - } - switch ($fid) - { - case 0: - if ($ftype == TType::MAP) { - $this->success = array(); - $_size934 = 0; - $_ktype935 = 0; - $_vtype936 = 0; - $xfer += $input->readMapBegin($_ktype935, $_vtype936, $_size934); - for ($_i938 = 0; $_i938 < $_size934; ++$_i938) - { - $key939 = ''; - $val940 = new \metastore\Materialization(); - $xfer += $input->readString($key939); - $val940 = new \metastore\Materialization(); - $xfer += $val940->read($input); - $this->success[$key939] = $val940; - } - $xfer += $input->readMapEnd(); - } else { - $xfer += $input->skip($ftype); - } - break; - case 1: - if ($ftype == TType::STRUCT) { - $this->o1 = new \metastore\MetaException(); - $xfer += $this->o1->read($input); - } else { - $xfer += $input->skip($ftype); - } - break; - case 2: - if ($ftype == TType::STRUCT) { - $this->o2 = new \metastore\InvalidOperationException(); - $xfer += $this->o2->read($input); - } else { - $xfer += $input->skip($ftype); - } - break; - case 3: - if ($ftype == TType::STRUCT) { - $this->o3 = new \metastore\UnknownDBException(); - $xfer += $this->o3->read($input); - } else { - $xfer += $input->skip($ftype); - } - break; - default: - $xfer += $input->skip($ftype); - break; - } - $xfer += $input->readFieldEnd(); - } - $xfer += $input->readStructEnd(); - return $xfer; - } - - public function write($output) { - $xfer = 0; - $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_materialization_invalidation_info_result'); - if ($this->success !== null) { - if (!is_array($this->success)) { - throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); - } - $xfer += $output->writeFieldBegin('success', TType::MAP, 0); - { - $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); - { - foreach ($this->success as $kiter941 => $viter942) - { - $xfer += $output->writeString($kiter941); - $xfer += $viter942->write($output); - } - } - $output->writeMapEnd(); - } - $xfer += $output->writeFieldEnd(); - } - if ($this->o1 !== null) { - $xfer += $output->writeFieldBegin('o1', TType::STRUCT, 1); - $xfer += $this->o1->write($output); - $xfer += $output->writeFieldEnd(); - } - if ($this->o2 !== null) { - $xfer += $output->writeFieldBegin('o2', TType::STRUCT, 2); - $xfer += $this->o2->write($output); - $xfer += $output->writeFieldEnd(); - } - if ($this->o3 !== null) { - $xfer += $output->writeFieldBegin('o3', TType::STRUCT, 3); - $xfer += $this->o3->write($output); - $xfer += $output->writeFieldEnd(); - } - $xfer += $output->writeFieldStop(); - $xfer += $output->writeStructEnd(); - return $xfer; - } - -} - class ThriftHiveMetastore_update_creation_metadata_args { static $_TSPEC; @@ -21698,14 +21318,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size943 = 0; - $_etype946 = 0; - $xfer += $input->readListBegin($_etype946, $_size943); - for ($_i947 = 0; $_i947 < $_size943; ++$_i947) + $_size919 = 0; + $_etype922 = 0; + $xfer += $input->readListBegin($_etype922, $_size919); + for ($_i923 = 0; $_i923 < $_size919; ++$_i923) { - $elem948 = null; - $xfer += $input->readString($elem948); - $this->success []= $elem948; + $elem924 = null; + $xfer += $input->readString($elem924); + $this->success []= $elem924; } $xfer += $input->readListEnd(); } else { @@ -21757,9 +21377,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter949) + foreach ($this->success as $iter925) { - $xfer += $output->writeString($iter949); + $xfer += $output->writeString($iter925); } } $output->writeListEnd(); @@ -23072,15 +22692,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size950 = 0; - $_etype953 = 0; - $xfer += $input->readListBegin($_etype953, $_size950); - for ($_i954 = 0; $_i954 < $_size950; ++$_i954) + $_size926 = 0; + $_etype929 = 0; + $xfer += $input->readListBegin($_etype929, $_size926); + for ($_i930 = 0; $_i930 < $_size926; ++$_i930) { - $elem955 = null; - $elem955 = new \metastore\Partition(); - $xfer += $elem955->read($input); - $this->new_parts []= $elem955; + $elem931 = null; + $elem931 = new \metastore\Partition(); + $xfer += $elem931->read($input); + $this->new_parts []= $elem931; } $xfer += $input->readListEnd(); } else { @@ -23108,9 +22728,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter956) + foreach ($this->new_parts as $iter932) { - $xfer += $iter956->write($output); + $xfer += $iter932->write($output); } } $output->writeListEnd(); @@ -23325,15 +22945,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size957 = 0; - $_etype960 = 0; - $xfer += $input->readListBegin($_etype960, $_size957); - for ($_i961 = 0; $_i961 < $_size957; ++$_i961) + $_size933 = 0; + $_etype936 = 0; + $xfer += $input->readListBegin($_etype936, $_size933); + for ($_i937 = 0; $_i937 < $_size933; ++$_i937) { - $elem962 = null; - $elem962 = new \metastore\PartitionSpec(); - $xfer += $elem962->read($input); - $this->new_parts []= $elem962; + $elem938 = null; + $elem938 = new \metastore\PartitionSpec(); + $xfer += $elem938->read($input); + $this->new_parts []= $elem938; } $xfer += $input->readListEnd(); } else { @@ -23361,9 +22981,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter963) + foreach ($this->new_parts as $iter939) { - $xfer += $iter963->write($output); + $xfer += $iter939->write($output); } } $output->writeListEnd(); @@ -23613,14 +23233,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size964 = 0; - $_etype967 = 0; - $xfer += $input->readListBegin($_etype967, $_size964); - for ($_i968 = 0; $_i968 < $_size964; ++$_i968) + $_size940 = 0; + $_etype943 = 0; + $xfer += $input->readListBegin($_etype943, $_size940); + for ($_i944 = 0; $_i944 < $_size940; ++$_i944) { - $elem969 = null; - $xfer += $input->readString($elem969); - $this->part_vals []= $elem969; + $elem945 = null; + $xfer += $input->readString($elem945); + $this->part_vals []= $elem945; } $xfer += $input->readListEnd(); } else { @@ -23658,9 +23278,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter970) + foreach ($this->part_vals as $iter946) { - $xfer += $output->writeString($iter970); + $xfer += $output->writeString($iter946); } } $output->writeListEnd(); @@ -24162,14 +23782,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size971 = 0; - $_etype974 = 0; - $xfer += $input->readListBegin($_etype974, $_size971); - for ($_i975 = 0; $_i975 < $_size971; ++$_i975) + $_size947 = 0; + $_etype950 = 0; + $xfer += $input->readListBegin($_etype950, $_size947); + for ($_i951 = 0; $_i951 < $_size947; ++$_i951) { - $elem976 = null; - $xfer += $input->readString($elem976); - $this->part_vals []= $elem976; + $elem952 = null; + $xfer += $input->readString($elem952); + $this->part_vals []= $elem952; } $xfer += $input->readListEnd(); } else { @@ -24215,9 +23835,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter977) + foreach ($this->part_vals as $iter953) { - $xfer += $output->writeString($iter977); + $xfer += $output->writeString($iter953); } } $output->writeListEnd(); @@ -25071,14 +24691,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size978 = 0; - $_etype981 = 0; - $xfer += $input->readListBegin($_etype981, $_size978); - for ($_i982 = 0; $_i982 < $_size978; ++$_i982) + $_size954 = 0; + $_etype957 = 0; + $xfer += $input->readListBegin($_etype957, $_size954); + for ($_i958 = 0; $_i958 < $_size954; ++$_i958) { - $elem983 = null; - $xfer += $input->readString($elem983); - $this->part_vals []= $elem983; + $elem959 = null; + $xfer += $input->readString($elem959); + $this->part_vals []= $elem959; } $xfer += $input->readListEnd(); } else { @@ -25123,9 +24743,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter984) + foreach ($this->part_vals as $iter960) { - $xfer += $output->writeString($iter984); + $xfer += $output->writeString($iter960); } } $output->writeListEnd(); @@ -25378,14 +24998,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size985 = 0; - $_etype988 = 0; - $xfer += $input->readListBegin($_etype988, $_size985); - for ($_i989 = 0; $_i989 < $_size985; ++$_i989) + $_size961 = 0; + $_etype964 = 0; + $xfer += $input->readListBegin($_etype964, $_size961); + for ($_i965 = 0; $_i965 < $_size961; ++$_i965) { - $elem990 = null; - $xfer += $input->readString($elem990); - $this->part_vals []= $elem990; + $elem966 = null; + $xfer += $input->readString($elem966); + $this->part_vals []= $elem966; } $xfer += $input->readListEnd(); } else { @@ -25438,9 +25058,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter991) + foreach ($this->part_vals as $iter967) { - $xfer += $output->writeString($iter991); + $xfer += $output->writeString($iter967); } } $output->writeListEnd(); @@ -26454,14 +26074,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size992 = 0; - $_etype995 = 0; - $xfer += $input->readListBegin($_etype995, $_size992); - for ($_i996 = 0; $_i996 < $_size992; ++$_i996) + $_size968 = 0; + $_etype971 = 0; + $xfer += $input->readListBegin($_etype971, $_size968); + for ($_i972 = 0; $_i972 < $_size968; ++$_i972) { - $elem997 = null; - $xfer += $input->readString($elem997); - $this->part_vals []= $elem997; + $elem973 = null; + $xfer += $input->readString($elem973); + $this->part_vals []= $elem973; } $xfer += $input->readListEnd(); } else { @@ -26499,9 +26119,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter998) + foreach ($this->part_vals as $iter974) { - $xfer += $output->writeString($iter998); + $xfer += $output->writeString($iter974); } } $output->writeListEnd(); @@ -26743,17 +26363,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size999 = 0; - $_ktype1000 = 0; - $_vtype1001 = 0; - $xfer += $input->readMapBegin($_ktype1000, $_vtype1001, $_size999); - for ($_i1003 = 0; $_i1003 < $_size999; ++$_i1003) + $_size975 = 0; + $_ktype976 = 0; + $_vtype977 = 0; + $xfer += $input->readMapBegin($_ktype976, $_vtype977, $_size975); + for ($_i979 = 0; $_i979 < $_size975; ++$_i979) { - $key1004 = ''; - $val1005 = ''; - $xfer += $input->readString($key1004); - $xfer += $input->readString($val1005); - $this->partitionSpecs[$key1004] = $val1005; + $key980 = ''; + $val981 = ''; + $xfer += $input->readString($key980); + $xfer += $input->readString($val981); + $this->partitionSpecs[$key980] = $val981; } $xfer += $input->readMapEnd(); } else { @@ -26809,10 +26429,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1006 => $viter1007) + foreach ($this->partitionSpecs as $kiter982 => $viter983) { - $xfer += $output->writeString($kiter1006); - $xfer += $output->writeString($viter1007); + $xfer += $output->writeString($kiter982); + $xfer += $output->writeString($viter983); } } $output->writeMapEnd(); @@ -27124,17 +26744,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1008 = 0; - $_ktype1009 = 0; - $_vtype1010 = 0; - $xfer += $input->readMapBegin($_ktype1009, $_vtype1010, $_size1008); - for ($_i1012 = 0; $_i1012 < $_size1008; ++$_i1012) + $_size984 = 0; + $_ktype985 = 0; + $_vtype986 = 0; + $xfer += $input->readMapBegin($_ktype985, $_vtype986, $_size984); + for ($_i988 = 0; $_i988 < $_size984; ++$_i988) { - $key1013 = ''; - $val1014 = ''; - $xfer += $input->readString($key1013); - $xfer += $input->readString($val1014); - $this->partitionSpecs[$key1013] = $val1014; + $key989 = ''; + $val990 = ''; + $xfer += $input->readString($key989); + $xfer += $input->readString($val990); + $this->partitionSpecs[$key989] = $val990; } $xfer += $input->readMapEnd(); } else { @@ -27190,10 +26810,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1015 => $viter1016) + foreach ($this->partitionSpecs as $kiter991 => $viter992) { - $xfer += $output->writeString($kiter1015); - $xfer += $output->writeString($viter1016); + $xfer += $output->writeString($kiter991); + $xfer += $output->writeString($viter992); } } $output->writeMapEnd(); @@ -27326,15 +26946,15 @@ class ThriftHiveMetastore_exchange_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1017 = 0; - $_etype1020 = 0; - $xfer += $input->readListBegin($_etype1020, $_size1017); - for ($_i1021 = 0; $_i1021 < $_size1017; ++$_i1021) + $_size993 = 0; + $_etype996 = 0; + $xfer += $input->readListBegin($_etype996, $_size993); + for ($_i997 = 0; $_i997 < $_size993; ++$_i997) { - $elem1022 = null; - $elem1022 = new \metastore\Partition(); - $xfer += $elem1022->read($input); - $this->success []= $elem1022; + $elem998 = null; + $elem998 = new \metastore\Partition(); + $xfer += $elem998->read($input); + $this->success []= $elem998; } $xfer += $input->readListEnd(); } else { @@ -27394,9 +27014,9 @@ class ThriftHiveMetastore_exchange_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1023) + foreach ($this->success as $iter999) { - $xfer += $iter1023->write($output); + $xfer += $iter999->write($output); } } $output->writeListEnd(); @@ -27542,14 +27162,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1024 = 0; - $_etype1027 = 0; - $xfer += $input->readListBegin($_etype1027, $_size1024); - for ($_i1028 = 0; $_i1028 < $_size1024; ++$_i1028) + $_size1000 = 0; + $_etype1003 = 0; + $xfer += $input->readListBegin($_etype1003, $_size1000); + for ($_i1004 = 0; $_i1004 < $_size1000; ++$_i1004) { - $elem1029 = null; - $xfer += $input->readString($elem1029); - $this->part_vals []= $elem1029; + $elem1005 = null; + $xfer += $input->readString($elem1005); + $this->part_vals []= $elem1005; } $xfer += $input->readListEnd(); } else { @@ -27566,14 +27186,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1030 = 0; - $_etype1033 = 0; - $xfer += $input->readListBegin($_etype1033, $_size1030); - for ($_i1034 = 0; $_i1034 < $_size1030; ++$_i1034) + $_size1006 = 0; + $_etype1009 = 0; + $xfer += $input->readListBegin($_etype1009, $_size1006); + for ($_i1010 = 0; $_i1010 < $_size1006; ++$_i1010) { - $elem1035 = null; - $xfer += $input->readString($elem1035); - $this->group_names []= $elem1035; + $elem1011 = null; + $xfer += $input->readString($elem1011); + $this->group_names []= $elem1011; } $xfer += $input->readListEnd(); } else { @@ -27611,9 +27231,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1036) + foreach ($this->part_vals as $iter1012) { - $xfer += $output->writeString($iter1036); + $xfer += $output->writeString($iter1012); } } $output->writeListEnd(); @@ -27633,9 +27253,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1037) + foreach ($this->group_names as $iter1013) { - $xfer += $output->writeString($iter1037); + $xfer += $output->writeString($iter1013); } } $output->writeListEnd(); @@ -28226,15 +27846,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1038 = 0; - $_etype1041 = 0; - $xfer += $input->readListBegin($_etype1041, $_size1038); - for ($_i1042 = 0; $_i1042 < $_size1038; ++$_i1042) + $_size1014 = 0; + $_etype1017 = 0; + $xfer += $input->readListBegin($_etype1017, $_size1014); + for ($_i1018 = 0; $_i1018 < $_size1014; ++$_i1018) { - $elem1043 = null; - $elem1043 = new \metastore\Partition(); - $xfer += $elem1043->read($input); - $this->success []= $elem1043; + $elem1019 = null; + $elem1019 = new \metastore\Partition(); + $xfer += $elem1019->read($input); + $this->success []= $elem1019; } $xfer += $input->readListEnd(); } else { @@ -28278,9 +27898,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1044) + foreach ($this->success as $iter1020) { - $xfer += $iter1044->write($output); + $xfer += $iter1020->write($output); } } $output->writeListEnd(); @@ -28426,14 +28046,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1045 = 0; - $_etype1048 = 0; - $xfer += $input->readListBegin($_etype1048, $_size1045); - for ($_i1049 = 0; $_i1049 < $_size1045; ++$_i1049) + $_size1021 = 0; + $_etype1024 = 0; + $xfer += $input->readListBegin($_etype1024, $_size1021); + for ($_i1025 = 0; $_i1025 < $_size1021; ++$_i1025) { - $elem1050 = null; - $xfer += $input->readString($elem1050); - $this->group_names []= $elem1050; + $elem1026 = null; + $xfer += $input->readString($elem1026); + $this->group_names []= $elem1026; } $xfer += $input->readListEnd(); } else { @@ -28481,9 +28101,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1051) + foreach ($this->group_names as $iter1027) { - $xfer += $output->writeString($iter1051); + $xfer += $output->writeString($iter1027); } } $output->writeListEnd(); @@ -28572,15 +28192,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1052 = 0; - $_etype1055 = 0; - $xfer += $input->readListBegin($_etype1055, $_size1052); - for ($_i1056 = 0; $_i1056 < $_size1052; ++$_i1056) + $_size1028 = 0; + $_etype1031 = 0; + $xfer += $input->readListBegin($_etype1031, $_size1028); + for ($_i1032 = 0; $_i1032 < $_size1028; ++$_i1032) { - $elem1057 = null; - $elem1057 = new \metastore\Partition(); - $xfer += $elem1057->read($input); - $this->success []= $elem1057; + $elem1033 = null; + $elem1033 = new \metastore\Partition(); + $xfer += $elem1033->read($input); + $this->success []= $elem1033; } $xfer += $input->readListEnd(); } else { @@ -28624,9 +28244,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1058) + foreach ($this->success as $iter1034) { - $xfer += $iter1058->write($output); + $xfer += $iter1034->write($output); } } $output->writeListEnd(); @@ -28846,15 +28466,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1059 = 0; - $_etype1062 = 0; - $xfer += $input->readListBegin($_etype1062, $_size1059); - for ($_i1063 = 0; $_i1063 < $_size1059; ++$_i1063) + $_size1035 = 0; + $_etype1038 = 0; + $xfer += $input->readListBegin($_etype1038, $_size1035); + for ($_i1039 = 0; $_i1039 < $_size1035; ++$_i1039) { - $elem1064 = null; - $elem1064 = new \metastore\PartitionSpec(); - $xfer += $elem1064->read($input); - $this->success []= $elem1064; + $elem1040 = null; + $elem1040 = new \metastore\PartitionSpec(); + $xfer += $elem1040->read($input); + $this->success []= $elem1040; } $xfer += $input->readListEnd(); } else { @@ -28898,9 +28518,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1065) + foreach ($this->success as $iter1041) { - $xfer += $iter1065->write($output); + $xfer += $iter1041->write($output); } } $output->writeListEnd(); @@ -29119,14 +28739,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1066 = 0; - $_etype1069 = 0; - $xfer += $input->readListBegin($_etype1069, $_size1066); - for ($_i1070 = 0; $_i1070 < $_size1066; ++$_i1070) + $_size1042 = 0; + $_etype1045 = 0; + $xfer += $input->readListBegin($_etype1045, $_size1042); + for ($_i1046 = 0; $_i1046 < $_size1042; ++$_i1046) { - $elem1071 = null; - $xfer += $input->readString($elem1071); - $this->success []= $elem1071; + $elem1047 = null; + $xfer += $input->readString($elem1047); + $this->success []= $elem1047; } $xfer += $input->readListEnd(); } else { @@ -29170,9 +28790,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1072) + foreach ($this->success as $iter1048) { - $xfer += $output->writeString($iter1072); + $xfer += $output->writeString($iter1048); } } $output->writeListEnd(); @@ -29503,14 +29123,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1073 = 0; - $_etype1076 = 0; - $xfer += $input->readListBegin($_etype1076, $_size1073); - for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) + $_size1049 = 0; + $_etype1052 = 0; + $xfer += $input->readListBegin($_etype1052, $_size1049); + for ($_i1053 = 0; $_i1053 < $_size1049; ++$_i1053) { - $elem1078 = null; - $xfer += $input->readString($elem1078); - $this->part_vals []= $elem1078; + $elem1054 = null; + $xfer += $input->readString($elem1054); + $this->part_vals []= $elem1054; } $xfer += $input->readListEnd(); } else { @@ -29555,9 +29175,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1079) + foreach ($this->part_vals as $iter1055) { - $xfer += $output->writeString($iter1079); + $xfer += $output->writeString($iter1055); } } $output->writeListEnd(); @@ -29651,15 +29271,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1080 = 0; - $_etype1083 = 0; - $xfer += $input->readListBegin($_etype1083, $_size1080); - for ($_i1084 = 0; $_i1084 < $_size1080; ++$_i1084) + $_size1056 = 0; + $_etype1059 = 0; + $xfer += $input->readListBegin($_etype1059, $_size1056); + for ($_i1060 = 0; $_i1060 < $_size1056; ++$_i1060) { - $elem1085 = null; - $elem1085 = new \metastore\Partition(); - $xfer += $elem1085->read($input); - $this->success []= $elem1085; + $elem1061 = null; + $elem1061 = new \metastore\Partition(); + $xfer += $elem1061->read($input); + $this->success []= $elem1061; } $xfer += $input->readListEnd(); } else { @@ -29703,9 +29323,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1086) + foreach ($this->success as $iter1062) { - $xfer += $iter1086->write($output); + $xfer += $iter1062->write($output); } } $output->writeListEnd(); @@ -29852,14 +29472,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1087 = 0; - $_etype1090 = 0; - $xfer += $input->readListBegin($_etype1090, $_size1087); - for ($_i1091 = 0; $_i1091 < $_size1087; ++$_i1091) + $_size1063 = 0; + $_etype1066 = 0; + $xfer += $input->readListBegin($_etype1066, $_size1063); + for ($_i1067 = 0; $_i1067 < $_size1063; ++$_i1067) { - $elem1092 = null; - $xfer += $input->readString($elem1092); - $this->part_vals []= $elem1092; + $elem1068 = null; + $xfer += $input->readString($elem1068); + $this->part_vals []= $elem1068; } $xfer += $input->readListEnd(); } else { @@ -29883,14 +29503,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1093 = 0; - $_etype1096 = 0; - $xfer += $input->readListBegin($_etype1096, $_size1093); - for ($_i1097 = 0; $_i1097 < $_size1093; ++$_i1097) + $_size1069 = 0; + $_etype1072 = 0; + $xfer += $input->readListBegin($_etype1072, $_size1069); + for ($_i1073 = 0; $_i1073 < $_size1069; ++$_i1073) { - $elem1098 = null; - $xfer += $input->readString($elem1098); - $this->group_names []= $elem1098; + $elem1074 = null; + $xfer += $input->readString($elem1074); + $this->group_names []= $elem1074; } $xfer += $input->readListEnd(); } else { @@ -29928,9 +29548,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1099) + foreach ($this->part_vals as $iter1075) { - $xfer += $output->writeString($iter1099); + $xfer += $output->writeString($iter1075); } } $output->writeListEnd(); @@ -29955,9 +29575,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1100) + foreach ($this->group_names as $iter1076) { - $xfer += $output->writeString($iter1100); + $xfer += $output->writeString($iter1076); } } $output->writeListEnd(); @@ -30046,15 +29666,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1101 = 0; - $_etype1104 = 0; - $xfer += $input->readListBegin($_etype1104, $_size1101); - for ($_i1105 = 0; $_i1105 < $_size1101; ++$_i1105) + $_size1077 = 0; + $_etype1080 = 0; + $xfer += $input->readListBegin($_etype1080, $_size1077); + for ($_i1081 = 0; $_i1081 < $_size1077; ++$_i1081) { - $elem1106 = null; - $elem1106 = new \metastore\Partition(); - $xfer += $elem1106->read($input); - $this->success []= $elem1106; + $elem1082 = null; + $elem1082 = new \metastore\Partition(); + $xfer += $elem1082->read($input); + $this->success []= $elem1082; } $xfer += $input->readListEnd(); } else { @@ -30098,9 +29718,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1107) + foreach ($this->success as $iter1083) { - $xfer += $iter1107->write($output); + $xfer += $iter1083->write($output); } } $output->writeListEnd(); @@ -30221,14 +29841,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1108 = 0; - $_etype1111 = 0; - $xfer += $input->readListBegin($_etype1111, $_size1108); - for ($_i1112 = 0; $_i1112 < $_size1108; ++$_i1112) + $_size1084 = 0; + $_etype1087 = 0; + $xfer += $input->readListBegin($_etype1087, $_size1084); + for ($_i1088 = 0; $_i1088 < $_size1084; ++$_i1088) { - $elem1113 = null; - $xfer += $input->readString($elem1113); - $this->part_vals []= $elem1113; + $elem1089 = null; + $xfer += $input->readString($elem1089); + $this->part_vals []= $elem1089; } $xfer += $input->readListEnd(); } else { @@ -30273,9 +29893,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1114) + foreach ($this->part_vals as $iter1090) { - $xfer += $output->writeString($iter1114); + $xfer += $output->writeString($iter1090); } } $output->writeListEnd(); @@ -30368,14 +29988,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1115 = 0; - $_etype1118 = 0; - $xfer += $input->readListBegin($_etype1118, $_size1115); - for ($_i1119 = 0; $_i1119 < $_size1115; ++$_i1119) + $_size1091 = 0; + $_etype1094 = 0; + $xfer += $input->readListBegin($_etype1094, $_size1091); + for ($_i1095 = 0; $_i1095 < $_size1091; ++$_i1095) { - $elem1120 = null; - $xfer += $input->readString($elem1120); - $this->success []= $elem1120; + $elem1096 = null; + $xfer += $input->readString($elem1096); + $this->success []= $elem1096; } $xfer += $input->readListEnd(); } else { @@ -30419,9 +30039,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1121) + foreach ($this->success as $iter1097) { - $xfer += $output->writeString($iter1121); + $xfer += $output->writeString($iter1097); } } $output->writeListEnd(); @@ -30664,15 +30284,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1122 = 0; - $_etype1125 = 0; - $xfer += $input->readListBegin($_etype1125, $_size1122); - for ($_i1126 = 0; $_i1126 < $_size1122; ++$_i1126) + $_size1098 = 0; + $_etype1101 = 0; + $xfer += $input->readListBegin($_etype1101, $_size1098); + for ($_i1102 = 0; $_i1102 < $_size1098; ++$_i1102) { - $elem1127 = null; - $elem1127 = new \metastore\Partition(); - $xfer += $elem1127->read($input); - $this->success []= $elem1127; + $elem1103 = null; + $elem1103 = new \metastore\Partition(); + $xfer += $elem1103->read($input); + $this->success []= $elem1103; } $xfer += $input->readListEnd(); } else { @@ -30716,9 +30336,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1128) + foreach ($this->success as $iter1104) { - $xfer += $iter1128->write($output); + $xfer += $iter1104->write($output); } } $output->writeListEnd(); @@ -30961,15 +30581,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1129 = 0; - $_etype1132 = 0; - $xfer += $input->readListBegin($_etype1132, $_size1129); - for ($_i1133 = 0; $_i1133 < $_size1129; ++$_i1133) + $_size1105 = 0; + $_etype1108 = 0; + $xfer += $input->readListBegin($_etype1108, $_size1105); + for ($_i1109 = 0; $_i1109 < $_size1105; ++$_i1109) { - $elem1134 = null; - $elem1134 = new \metastore\PartitionSpec(); - $xfer += $elem1134->read($input); - $this->success []= $elem1134; + $elem1110 = null; + $elem1110 = new \metastore\PartitionSpec(); + $xfer += $elem1110->read($input); + $this->success []= $elem1110; } $xfer += $input->readListEnd(); } else { @@ -31013,9 +30633,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1135) + foreach ($this->success as $iter1111) { - $xfer += $iter1135->write($output); + $xfer += $iter1111->write($output); } } $output->writeListEnd(); @@ -31581,14 +31201,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size1136 = 0; - $_etype1139 = 0; - $xfer += $input->readListBegin($_etype1139, $_size1136); - for ($_i1140 = 0; $_i1140 < $_size1136; ++$_i1140) + $_size1112 = 0; + $_etype1115 = 0; + $xfer += $input->readListBegin($_etype1115, $_size1112); + for ($_i1116 = 0; $_i1116 < $_size1112; ++$_i1116) { - $elem1141 = null; - $xfer += $input->readString($elem1141); - $this->names []= $elem1141; + $elem1117 = null; + $xfer += $input->readString($elem1117); + $this->names []= $elem1117; } $xfer += $input->readListEnd(); } else { @@ -31626,9 +31246,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter1142) + foreach ($this->names as $iter1118) { - $xfer += $output->writeString($iter1142); + $xfer += $output->writeString($iter1118); } } $output->writeListEnd(); @@ -31717,15 +31337,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1143 = 0; - $_etype1146 = 0; - $xfer += $input->readListBegin($_etype1146, $_size1143); - for ($_i1147 = 0; $_i1147 < $_size1143; ++$_i1147) + $_size1119 = 0; + $_etype1122 = 0; + $xfer += $input->readListBegin($_etype1122, $_size1119); + for ($_i1123 = 0; $_i1123 < $_size1119; ++$_i1123) { - $elem1148 = null; - $elem1148 = new \metastore\Partition(); - $xfer += $elem1148->read($input); - $this->success []= $elem1148; + $elem1124 = null; + $elem1124 = new \metastore\Partition(); + $xfer += $elem1124->read($input); + $this->success []= $elem1124; } $xfer += $input->readListEnd(); } else { @@ -31769,9 +31389,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1149) + foreach ($this->success as $iter1125) { - $xfer += $iter1149->write($output); + $xfer += $iter1125->write($output); } } $output->writeListEnd(); @@ -32110,15 +31730,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1150 = 0; - $_etype1153 = 0; - $xfer += $input->readListBegin($_etype1153, $_size1150); - for ($_i1154 = 0; $_i1154 < $_size1150; ++$_i1154) + $_size1126 = 0; + $_etype1129 = 0; + $xfer += $input->readListBegin($_etype1129, $_size1126); + for ($_i1130 = 0; $_i1130 < $_size1126; ++$_i1130) { - $elem1155 = null; - $elem1155 = new \metastore\Partition(); - $xfer += $elem1155->read($input); - $this->new_parts []= $elem1155; + $elem1131 = null; + $elem1131 = new \metastore\Partition(); + $xfer += $elem1131->read($input); + $this->new_parts []= $elem1131; } $xfer += $input->readListEnd(); } else { @@ -32156,9 +31776,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1156) + foreach ($this->new_parts as $iter1132) { - $xfer += $iter1156->write($output); + $xfer += $iter1132->write($output); } } $output->writeListEnd(); @@ -32373,15 +31993,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1157 = 0; - $_etype1160 = 0; - $xfer += $input->readListBegin($_etype1160, $_size1157); - for ($_i1161 = 0; $_i1161 < $_size1157; ++$_i1161) + $_size1133 = 0; + $_etype1136 = 0; + $xfer += $input->readListBegin($_etype1136, $_size1133); + for ($_i1137 = 0; $_i1137 < $_size1133; ++$_i1137) { - $elem1162 = null; - $elem1162 = new \metastore\Partition(); - $xfer += $elem1162->read($input); - $this->new_parts []= $elem1162; + $elem1138 = null; + $elem1138 = new \metastore\Partition(); + $xfer += $elem1138->read($input); + $this->new_parts []= $elem1138; } $xfer += $input->readListEnd(); } else { @@ -32427,9 +32047,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1163) + foreach ($this->new_parts as $iter1139) { - $xfer += $iter1163->write($output); + $xfer += $iter1139->write($output); } } $output->writeListEnd(); @@ -32907,14 +32527,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1164 = 0; - $_etype1167 = 0; - $xfer += $input->readListBegin($_etype1167, $_size1164); - for ($_i1168 = 0; $_i1168 < $_size1164; ++$_i1168) + $_size1140 = 0; + $_etype1143 = 0; + $xfer += $input->readListBegin($_etype1143, $_size1140); + for ($_i1144 = 0; $_i1144 < $_size1140; ++$_i1144) { - $elem1169 = null; - $xfer += $input->readString($elem1169); - $this->part_vals []= $elem1169; + $elem1145 = null; + $xfer += $input->readString($elem1145); + $this->part_vals []= $elem1145; } $xfer += $input->readListEnd(); } else { @@ -32960,9 +32580,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1170) + foreach ($this->part_vals as $iter1146) { - $xfer += $output->writeString($iter1170); + $xfer += $output->writeString($iter1146); } } $output->writeListEnd(); @@ -33147,14 +32767,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1171 = 0; - $_etype1174 = 0; - $xfer += $input->readListBegin($_etype1174, $_size1171); - for ($_i1175 = 0; $_i1175 < $_size1171; ++$_i1175) + $_size1147 = 0; + $_etype1150 = 0; + $xfer += $input->readListBegin($_etype1150, $_size1147); + for ($_i1151 = 0; $_i1151 < $_size1147; ++$_i1151) { - $elem1176 = null; - $xfer += $input->readString($elem1176); - $this->part_vals []= $elem1176; + $elem1152 = null; + $xfer += $input->readString($elem1152); + $this->part_vals []= $elem1152; } $xfer += $input->readListEnd(); } else { @@ -33189,9 +32809,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1177) + foreach ($this->part_vals as $iter1153) { - $xfer += $output->writeString($iter1177); + $xfer += $output->writeString($iter1153); } } $output->writeListEnd(); @@ -33645,14 +33265,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1178 = 0; - $_etype1181 = 0; - $xfer += $input->readListBegin($_etype1181, $_size1178); - for ($_i1182 = 0; $_i1182 < $_size1178; ++$_i1182) + $_size1154 = 0; + $_etype1157 = 0; + $xfer += $input->readListBegin($_etype1157, $_size1154); + for ($_i1158 = 0; $_i1158 < $_size1154; ++$_i1158) { - $elem1183 = null; - $xfer += $input->readString($elem1183); - $this->success []= $elem1183; + $elem1159 = null; + $xfer += $input->readString($elem1159); + $this->success []= $elem1159; } $xfer += $input->readListEnd(); } else { @@ -33688,9 +33308,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1184) + foreach ($this->success as $iter1160) { - $xfer += $output->writeString($iter1184); + $xfer += $output->writeString($iter1160); } } $output->writeListEnd(); @@ -33850,17 +33470,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1185 = 0; - $_ktype1186 = 0; - $_vtype1187 = 0; - $xfer += $input->readMapBegin($_ktype1186, $_vtype1187, $_size1185); - for ($_i1189 = 0; $_i1189 < $_size1185; ++$_i1189) + $_size1161 = 0; + $_ktype1162 = 0; + $_vtype1163 = 0; + $xfer += $input->readMapBegin($_ktype1162, $_vtype1163, $_size1161); + for ($_i1165 = 0; $_i1165 < $_size1161; ++$_i1165) { - $key1190 = ''; - $val1191 = ''; - $xfer += $input->readString($key1190); - $xfer += $input->readString($val1191); - $this->success[$key1190] = $val1191; + $key1166 = ''; + $val1167 = ''; + $xfer += $input->readString($key1166); + $xfer += $input->readString($val1167); + $this->success[$key1166] = $val1167; } $xfer += $input->readMapEnd(); } else { @@ -33896,10 +33516,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter1192 => $viter1193) + foreach ($this->success as $kiter1168 => $viter1169) { - $xfer += $output->writeString($kiter1192); - $xfer += $output->writeString($viter1193); + $xfer += $output->writeString($kiter1168); + $xfer += $output->writeString($viter1169); } } $output->writeMapEnd(); @@ -34019,17 +33639,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1194 = 0; - $_ktype1195 = 0; - $_vtype1196 = 0; - $xfer += $input->readMapBegin($_ktype1195, $_vtype1196, $_size1194); - for ($_i1198 = 0; $_i1198 < $_size1194; ++$_i1198) + $_size1170 = 0; + $_ktype1171 = 0; + $_vtype1172 = 0; + $xfer += $input->readMapBegin($_ktype1171, $_vtype1172, $_size1170); + for ($_i1174 = 0; $_i1174 < $_size1170; ++$_i1174) { - $key1199 = ''; - $val1200 = ''; - $xfer += $input->readString($key1199); - $xfer += $input->readString($val1200); - $this->part_vals[$key1199] = $val1200; + $key1175 = ''; + $val1176 = ''; + $xfer += $input->readString($key1175); + $xfer += $input->readString($val1176); + $this->part_vals[$key1175] = $val1176; } $xfer += $input->readMapEnd(); } else { @@ -34074,10 +33694,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1201 => $viter1202) + foreach ($this->part_vals as $kiter1177 => $viter1178) { - $xfer += $output->writeString($kiter1201); - $xfer += $output->writeString($viter1202); + $xfer += $output->writeString($kiter1177); + $xfer += $output->writeString($viter1178); } } $output->writeMapEnd(); @@ -34399,17 +34019,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1203 = 0; - $_ktype1204 = 0; - $_vtype1205 = 0; - $xfer += $input->readMapBegin($_ktype1204, $_vtype1205, $_size1203); - for ($_i1207 = 0; $_i1207 < $_size1203; ++$_i1207) + $_size1179 = 0; + $_ktype1180 = 0; + $_vtype1181 = 0; + $xfer += $input->readMapBegin($_ktype1180, $_vtype1181, $_size1179); + for ($_i1183 = 0; $_i1183 < $_size1179; ++$_i1183) { - $key1208 = ''; - $val1209 = ''; - $xfer += $input->readString($key1208); - $xfer += $input->readString($val1209); - $this->part_vals[$key1208] = $val1209; + $key1184 = ''; + $val1185 = ''; + $xfer += $input->readString($key1184); + $xfer += $input->readString($val1185); + $this->part_vals[$key1184] = $val1185; } $xfer += $input->readMapEnd(); } else { @@ -34454,10 +34074,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1210 => $viter1211) + foreach ($this->part_vals as $kiter1186 => $viter1187) { - $xfer += $output->writeString($kiter1210); - $xfer += $output->writeString($viter1211); + $xfer += $output->writeString($kiter1186); + $xfer += $output->writeString($viter1187); } } $output->writeMapEnd(); @@ -39206,14 +38826,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1212 = 0; - $_etype1215 = 0; - $xfer += $input->readListBegin($_etype1215, $_size1212); - for ($_i1216 = 0; $_i1216 < $_size1212; ++$_i1216) + $_size1188 = 0; + $_etype1191 = 0; + $xfer += $input->readListBegin($_etype1191, $_size1188); + for ($_i1192 = 0; $_i1192 < $_size1188; ++$_i1192) { - $elem1217 = null; - $xfer += $input->readString($elem1217); - $this->success []= $elem1217; + $elem1193 = null; + $xfer += $input->readString($elem1193); + $this->success []= $elem1193; } $xfer += $input->readListEnd(); } else { @@ -39249,9 +38869,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1218) + foreach ($this->success as $iter1194) { - $xfer += $output->writeString($iter1218); + $xfer += $output->writeString($iter1194); } } $output->writeListEnd(); @@ -40120,14 +39740,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1219 = 0; - $_etype1222 = 0; - $xfer += $input->readListBegin($_etype1222, $_size1219); - for ($_i1223 = 0; $_i1223 < $_size1219; ++$_i1223) + $_size1195 = 0; + $_etype1198 = 0; + $xfer += $input->readListBegin($_etype1198, $_size1195); + for ($_i1199 = 0; $_i1199 < $_size1195; ++$_i1199) { - $elem1224 = null; - $xfer += $input->readString($elem1224); - $this->success []= $elem1224; + $elem1200 = null; + $xfer += $input->readString($elem1200); + $this->success []= $elem1200; } $xfer += $input->readListEnd(); } else { @@ -40163,9 +39783,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1225) + foreach ($this->success as $iter1201) { - $xfer += $output->writeString($iter1225); + $xfer += $output->writeString($iter1201); } } $output->writeListEnd(); @@ -40856,15 +40476,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1226 = 0; - $_etype1229 = 0; - $xfer += $input->readListBegin($_etype1229, $_size1226); - for ($_i1230 = 0; $_i1230 < $_size1226; ++$_i1230) + $_size1202 = 0; + $_etype1205 = 0; + $xfer += $input->readListBegin($_etype1205, $_size1202); + for ($_i1206 = 0; $_i1206 < $_size1202; ++$_i1206) { - $elem1231 = null; - $elem1231 = new \metastore\Role(); - $xfer += $elem1231->read($input); - $this->success []= $elem1231; + $elem1207 = null; + $elem1207 = new \metastore\Role(); + $xfer += $elem1207->read($input); + $this->success []= $elem1207; } $xfer += $input->readListEnd(); } else { @@ -40900,9 +40520,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1232) + foreach ($this->success as $iter1208) { - $xfer += $iter1232->write($output); + $xfer += $iter1208->write($output); } } $output->writeListEnd(); @@ -41564,14 +41184,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1233 = 0; - $_etype1236 = 0; - $xfer += $input->readListBegin($_etype1236, $_size1233); - for ($_i1237 = 0; $_i1237 < $_size1233; ++$_i1237) + $_size1209 = 0; + $_etype1212 = 0; + $xfer += $input->readListBegin($_etype1212, $_size1209); + for ($_i1213 = 0; $_i1213 < $_size1209; ++$_i1213) { - $elem1238 = null; - $xfer += $input->readString($elem1238); - $this->group_names []= $elem1238; + $elem1214 = null; + $xfer += $input->readString($elem1214); + $this->group_names []= $elem1214; } $xfer += $input->readListEnd(); } else { @@ -41612,9 +41232,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1239) + foreach ($this->group_names as $iter1215) { - $xfer += $output->writeString($iter1239); + $xfer += $output->writeString($iter1215); } } $output->writeListEnd(); @@ -41922,15 +41542,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1240 = 0; - $_etype1243 = 0; - $xfer += $input->readListBegin($_etype1243, $_size1240); - for ($_i1244 = 0; $_i1244 < $_size1240; ++$_i1244) + $_size1216 = 0; + $_etype1219 = 0; + $xfer += $input->readListBegin($_etype1219, $_size1216); + for ($_i1220 = 0; $_i1220 < $_size1216; ++$_i1220) { - $elem1245 = null; - $elem1245 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem1245->read($input); - $this->success []= $elem1245; + $elem1221 = null; + $elem1221 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem1221->read($input); + $this->success []= $elem1221; } $xfer += $input->readListEnd(); } else { @@ -41966,9 +41586,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1246) + foreach ($this->success as $iter1222) { - $xfer += $iter1246->write($output); + $xfer += $iter1222->write($output); } } $output->writeListEnd(); @@ -42600,14 +42220,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1247 = 0; - $_etype1250 = 0; - $xfer += $input->readListBegin($_etype1250, $_size1247); - for ($_i1251 = 0; $_i1251 < $_size1247; ++$_i1251) + $_size1223 = 0; + $_etype1226 = 0; + $xfer += $input->readListBegin($_etype1226, $_size1223); + for ($_i1227 = 0; $_i1227 < $_size1223; ++$_i1227) { - $elem1252 = null; - $xfer += $input->readString($elem1252); - $this->group_names []= $elem1252; + $elem1228 = null; + $xfer += $input->readString($elem1228); + $this->group_names []= $elem1228; } $xfer += $input->readListEnd(); } else { @@ -42640,9 +42260,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1253) + foreach ($this->group_names as $iter1229) { - $xfer += $output->writeString($iter1253); + $xfer += $output->writeString($iter1229); } } $output->writeListEnd(); @@ -42718,14 +42338,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1254 = 0; - $_etype1257 = 0; - $xfer += $input->readListBegin($_etype1257, $_size1254); - for ($_i1258 = 0; $_i1258 < $_size1254; ++$_i1258) + $_size1230 = 0; + $_etype1233 = 0; + $xfer += $input->readListBegin($_etype1233, $_size1230); + for ($_i1234 = 0; $_i1234 < $_size1230; ++$_i1234) { - $elem1259 = null; - $xfer += $input->readString($elem1259); - $this->success []= $elem1259; + $elem1235 = null; + $xfer += $input->readString($elem1235); + $this->success []= $elem1235; } $xfer += $input->readListEnd(); } else { @@ -42761,9 +42381,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1260) + foreach ($this->success as $iter1236) { - $xfer += $output->writeString($iter1260); + $xfer += $output->writeString($iter1236); } } $output->writeListEnd(); @@ -43880,14 +43500,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1261 = 0; - $_etype1264 = 0; - $xfer += $input->readListBegin($_etype1264, $_size1261); - for ($_i1265 = 0; $_i1265 < $_size1261; ++$_i1265) + $_size1237 = 0; + $_etype1240 = 0; + $xfer += $input->readListBegin($_etype1240, $_size1237); + for ($_i1241 = 0; $_i1241 < $_size1237; ++$_i1241) { - $elem1266 = null; - $xfer += $input->readString($elem1266); - $this->success []= $elem1266; + $elem1242 = null; + $xfer += $input->readString($elem1242); + $this->success []= $elem1242; } $xfer += $input->readListEnd(); } else { @@ -43915,9 +43535,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1267) + foreach ($this->success as $iter1243) { - $xfer += $output->writeString($iter1267); + $xfer += $output->writeString($iter1243); } } $output->writeListEnd(); @@ -44556,14 +44176,14 @@ class ThriftHiveMetastore_get_master_keys_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1268 = 0; - $_etype1271 = 0; - $xfer += $input->readListBegin($_etype1271, $_size1268); - for ($_i1272 = 0; $_i1272 < $_size1268; ++$_i1272) + $_size1244 = 0; + $_etype1247 = 0; + $xfer += $input->readListBegin($_etype1247, $_size1244); + for ($_i1248 = 0; $_i1248 < $_size1244; ++$_i1248) { - $elem1273 = null; - $xfer += $input->readString($elem1273); - $this->success []= $elem1273; + $elem1249 = null; + $xfer += $input->readString($elem1249); + $this->success []= $elem1249; } $xfer += $input->readListEnd(); } else { @@ -44591,9 +44211,9 @@ class ThriftHiveMetastore_get_master_keys_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1274) + foreach ($this->success as $iter1250) { - $xfer += $output->writeString($iter1274); + $xfer += $output->writeString($iter1250); } } $output->writeListEnd(); @@ -53648,7 +53268,7 @@ class ThriftHiveMetastore_create_ischema_result { 'type' => TType::STRUCT, 'class' => '\metastore\AlreadyExistsException', ), - -1 => array( + 2 => array( 'var' => 'o2', 'type' => TType::STRUCT, 'class' => '\metastore\NoSuchObjectException', @@ -53700,7 +53320,7 @@ class ThriftHiveMetastore_create_ischema_result { $xfer += $input->skip($ftype); } break; - case -1: + case 2: if ($ftype == TType::STRUCT) { $this->o2 = new \metastore\NoSuchObjectException(); $xfer += $this->o2->read($input); @@ -53729,16 +53349,16 @@ class ThriftHiveMetastore_create_ischema_result { public function write($output) { $xfer = 0; $xfer += $output->writeStructBegin('ThriftHiveMetastore_create_ischema_result'); - if ($this->o2 !== null) { - $xfer += $output->writeFieldBegin('o2', TType::STRUCT, -1); - $xfer += $this->o2->write($output); - $xfer += $output->writeFieldEnd(); - } if ($this->o1 !== null) { $xfer += $output->writeFieldBegin('o1', TType::STRUCT, 1); $xfer += $this->o1->write($output); $xfer += $output->writeFieldEnd(); } + if ($this->o2 !== null) { + $xfer += $output->writeFieldBegin('o2', TType::STRUCT, 2); + $xfer += $this->o2->write($output); + $xfer += $output->writeFieldEnd(); + } if ($this->o3 !== null) { $xfer += $output->writeFieldBegin('o3', TType::STRUCT, 3); $xfer += $this->o3->write($output); @@ -55132,15 +54752,15 @@ class ThriftHiveMetastore_get_schema_all_versions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1275 = 0; - $_etype1278 = 0; - $xfer += $input->readListBegin($_etype1278, $_size1275); - for ($_i1279 = 0; $_i1279 < $_size1275; ++$_i1279) + $_size1251 = 0; + $_etype1254 = 0; + $xfer += $input->readListBegin($_etype1254, $_size1251); + for ($_i1255 = 0; $_i1255 < $_size1251; ++$_i1255) { - $elem1280 = null; - $elem1280 = new \metastore\SchemaVersion(); - $xfer += $elem1280->read($input); - $this->success []= $elem1280; + $elem1256 = null; + $elem1256 = new \metastore\SchemaVersion(); + $xfer += $elem1256->read($input); + $this->success []= $elem1256; } $xfer += $input->readListEnd(); } else { @@ -55184,9 +54804,9 @@ class ThriftHiveMetastore_get_schema_all_versions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1281) + foreach ($this->success as $iter1257) { - $xfer += $iter1281->write($output); + $xfer += $iter1257->write($output); } } $output->writeListEnd(); diff --git a/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php b/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php index 6e3ec622cc..54199a79c0 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -18504,6 +18504,10 @@ class CreationMetadata { * @var string */ public $validTxnList = null; + /** + * @var int + */ + public $materializationTime = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -18528,6 +18532,10 @@ class CreationMetadata { 'var' => 'validTxnList', 'type' => TType::STRING, ), + 5 => array( + 'var' => 'materializationTime', + 'type' => TType::I64, + ), ); } if (is_array($vals)) { @@ -18543,6 +18551,9 @@ class CreationMetadata { if (isset($vals['validTxnList'])) { $this->validTxnList = $vals['validTxnList']; } + if (isset($vals['materializationTime'])) { + $this->materializationTime = $vals['materializationTime']; + } } } @@ -18607,6 +18618,13 @@ class CreationMetadata { $xfer += $input->skip($ftype); } break; + case 5: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->materializationTime); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -18656,6 +18674,11 @@ class CreationMetadata { $xfer += $output->writeString($this->validTxnList); $xfer += $output->writeFieldEnd(); } + if ($this->materializationTime !== null) { + $xfer += $output->writeFieldBegin('materializationTime', TType::I64, 5); + $xfer += $output->writeI64($this->materializationTime); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -22011,161 +22034,6 @@ class TableMeta { } -class Materialization { - static $_TSPEC; - - /** - * @var string[] - */ - public $tablesUsed = null; - /** - * @var string - */ - public $validTxnList = null; - /** - * @var int - */ - public $invalidationTime = null; - - public function __construct($vals=null) { - if (!isset(self::$_TSPEC)) { - self::$_TSPEC = array( - 1 => array( - 'var' => 'tablesUsed', - 'type' => TType::SET, - 'etype' => TType::STRING, - 'elem' => array( - 'type' => TType::STRING, - ), - ), - 2 => array( - 'var' => 'validTxnList', - 'type' => TType::STRING, - ), - 3 => array( - 'var' => 'invalidationTime', - 'type' => TType::I64, - ), - ); - } - if (is_array($vals)) { - if (isset($vals['tablesUsed'])) { - $this->tablesUsed = $vals['tablesUsed']; - } - if (isset($vals['validTxnList'])) { - $this->validTxnList = $vals['validTxnList']; - } - if (isset($vals['invalidationTime'])) { - $this->invalidationTime = $vals['invalidationTime']; - } - } - } - - public function getName() { - return 'Materialization'; - } - - public function read($input) - { - $xfer = 0; - $fname = null; - $ftype = 0; - $fid = 0; - $xfer += $input->readStructBegin($fname); - while (true) - { - $xfer += $input->readFieldBegin($fname, $ftype, $fid); - if ($ftype == TType::STOP) { - break; - } - switch ($fid) - { - case 1: - if ($ftype == TType::SET) { - $this->tablesUsed = array(); - $_size700 = 0; - $_etype703 = 0; - $xfer += $input->readSetBegin($_etype703, $_size700); - for ($_i704 = 0; $_i704 < $_size700; ++$_i704) - { - $elem705 = null; - $xfer += $input->readString($elem705); - if (is_scalar($elem705)) { - $this->tablesUsed[$elem705] = true; - } else { - $this->tablesUsed []= $elem705; - } - } - $xfer += $input->readSetEnd(); - } else { - $xfer += $input->skip($ftype); - } - break; - case 2: - if ($ftype == TType::STRING) { - $xfer += $input->readString($this->validTxnList); - } else { - $xfer += $input->skip($ftype); - } - break; - case 3: - if ($ftype == TType::I64) { - $xfer += $input->readI64($this->invalidationTime); - } else { - $xfer += $input->skip($ftype); - } - break; - default: - $xfer += $input->skip($ftype); - break; - } - $xfer += $input->readFieldEnd(); - } - $xfer += $input->readStructEnd(); - return $xfer; - } - - public function write($output) { - $xfer = 0; - $xfer += $output->writeStructBegin('Materialization'); - if ($this->tablesUsed !== null) { - if (!is_array($this->tablesUsed)) { - throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); - } - $xfer += $output->writeFieldBegin('tablesUsed', TType::SET, 1); - { - $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); - { - foreach ($this->tablesUsed as $iter706 => $iter707) - { - if (is_scalar($iter707)) { - $xfer += $output->writeString($iter706); - } else { - $xfer += $output->writeString($iter707); - } - } - } - $output->writeSetEnd(); - } - $xfer += $output->writeFieldEnd(); - } - if ($this->validTxnList !== null) { - $xfer += $output->writeFieldBegin('validTxnList', TType::STRING, 2); - $xfer += $output->writeString($this->validTxnList); - $xfer += $output->writeFieldEnd(); - } - if ($this->invalidationTime !== null) { - $xfer += $output->writeFieldBegin('invalidationTime', TType::I64, 3); - $xfer += $output->writeI64($this->invalidationTime); - $xfer += $output->writeFieldEnd(); - } - $xfer += $output->writeFieldStop(); - $xfer += $output->writeStructEnd(); - return $xfer; - } - -} - class WMResourcePlan { static $_TSPEC; @@ -23408,15 +23276,15 @@ class WMFullResourcePlan { case 2: if ($ftype == TType::LST) { $this->pools = array(); - $_size708 = 0; - $_etype711 = 0; - $xfer += $input->readListBegin($_etype711, $_size708); - for ($_i712 = 0; $_i712 < $_size708; ++$_i712) + $_size700 = 0; + $_etype703 = 0; + $xfer += $input->readListBegin($_etype703, $_size700); + for ($_i704 = 0; $_i704 < $_size700; ++$_i704) { - $elem713 = null; - $elem713 = new \metastore\WMPool(); - $xfer += $elem713->read($input); - $this->pools []= $elem713; + $elem705 = null; + $elem705 = new \metastore\WMPool(); + $xfer += $elem705->read($input); + $this->pools []= $elem705; } $xfer += $input->readListEnd(); } else { @@ -23426,15 +23294,15 @@ class WMFullResourcePlan { case 3: if ($ftype == TType::LST) { $this->mappings = array(); - $_size714 = 0; - $_etype717 = 0; - $xfer += $input->readListBegin($_etype717, $_size714); - for ($_i718 = 0; $_i718 < $_size714; ++$_i718) + $_size706 = 0; + $_etype709 = 0; + $xfer += $input->readListBegin($_etype709, $_size706); + for ($_i710 = 0; $_i710 < $_size706; ++$_i710) { - $elem719 = null; - $elem719 = new \metastore\WMMapping(); - $xfer += $elem719->read($input); - $this->mappings []= $elem719; + $elem711 = null; + $elem711 = new \metastore\WMMapping(); + $xfer += $elem711->read($input); + $this->mappings []= $elem711; } $xfer += $input->readListEnd(); } else { @@ -23444,15 +23312,15 @@ class WMFullResourcePlan { case 4: if ($ftype == TType::LST) { $this->triggers = array(); - $_size720 = 0; - $_etype723 = 0; - $xfer += $input->readListBegin($_etype723, $_size720); - for ($_i724 = 0; $_i724 < $_size720; ++$_i724) + $_size712 = 0; + $_etype715 = 0; + $xfer += $input->readListBegin($_etype715, $_size712); + for ($_i716 = 0; $_i716 < $_size712; ++$_i716) { - $elem725 = null; - $elem725 = new \metastore\WMTrigger(); - $xfer += $elem725->read($input); - $this->triggers []= $elem725; + $elem717 = null; + $elem717 = new \metastore\WMTrigger(); + $xfer += $elem717->read($input); + $this->triggers []= $elem717; } $xfer += $input->readListEnd(); } else { @@ -23462,15 +23330,15 @@ class WMFullResourcePlan { case 5: if ($ftype == TType::LST) { $this->poolTriggers = array(); - $_size726 = 0; - $_etype729 = 0; - $xfer += $input->readListBegin($_etype729, $_size726); - for ($_i730 = 0; $_i730 < $_size726; ++$_i730) + $_size718 = 0; + $_etype721 = 0; + $xfer += $input->readListBegin($_etype721, $_size718); + for ($_i722 = 0; $_i722 < $_size718; ++$_i722) { - $elem731 = null; - $elem731 = new \metastore\WMPoolTrigger(); - $xfer += $elem731->read($input); - $this->poolTriggers []= $elem731; + $elem723 = null; + $elem723 = new \metastore\WMPoolTrigger(); + $xfer += $elem723->read($input); + $this->poolTriggers []= $elem723; } $xfer += $input->readListEnd(); } else { @@ -23506,9 +23374,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->pools)); { - foreach ($this->pools as $iter732) + foreach ($this->pools as $iter724) { - $xfer += $iter732->write($output); + $xfer += $iter724->write($output); } } $output->writeListEnd(); @@ -23523,9 +23391,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->mappings)); { - foreach ($this->mappings as $iter733) + foreach ($this->mappings as $iter725) { - $xfer += $iter733->write($output); + $xfer += $iter725->write($output); } } $output->writeListEnd(); @@ -23540,9 +23408,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter734) + foreach ($this->triggers as $iter726) { - $xfer += $iter734->write($output); + $xfer += $iter726->write($output); } } $output->writeListEnd(); @@ -23557,9 +23425,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->poolTriggers)); { - foreach ($this->poolTriggers as $iter735) + foreach ($this->poolTriggers as $iter727) { - $xfer += $iter735->write($output); + $xfer += $iter727->write($output); } } $output->writeListEnd(); @@ -24112,15 +23980,15 @@ class WMGetAllResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->resourcePlans = array(); - $_size736 = 0; - $_etype739 = 0; - $xfer += $input->readListBegin($_etype739, $_size736); - for ($_i740 = 0; $_i740 < $_size736; ++$_i740) + $_size728 = 0; + $_etype731 = 0; + $xfer += $input->readListBegin($_etype731, $_size728); + for ($_i732 = 0; $_i732 < $_size728; ++$_i732) { - $elem741 = null; - $elem741 = new \metastore\WMResourcePlan(); - $xfer += $elem741->read($input); - $this->resourcePlans []= $elem741; + $elem733 = null; + $elem733 = new \metastore\WMResourcePlan(); + $xfer += $elem733->read($input); + $this->resourcePlans []= $elem733; } $xfer += $input->readListEnd(); } else { @@ -24148,9 +24016,9 @@ class WMGetAllResourcePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->resourcePlans)); { - foreach ($this->resourcePlans as $iter742) + foreach ($this->resourcePlans as $iter734) { - $xfer += $iter742->write($output); + $xfer += $iter734->write($output); } } $output->writeListEnd(); @@ -24556,14 +24424,14 @@ class WMValidateResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->errors = array(); - $_size743 = 0; - $_etype746 = 0; - $xfer += $input->readListBegin($_etype746, $_size743); - for ($_i747 = 0; $_i747 < $_size743; ++$_i747) + $_size735 = 0; + $_etype738 = 0; + $xfer += $input->readListBegin($_etype738, $_size735); + for ($_i739 = 0; $_i739 < $_size735; ++$_i739) { - $elem748 = null; - $xfer += $input->readString($elem748); - $this->errors []= $elem748; + $elem740 = null; + $xfer += $input->readString($elem740); + $this->errors []= $elem740; } $xfer += $input->readListEnd(); } else { @@ -24573,14 +24441,14 @@ class WMValidateResourcePlanResponse { case 2: if ($ftype == TType::LST) { $this->warnings = array(); - $_size749 = 0; - $_etype752 = 0; - $xfer += $input->readListBegin($_etype752, $_size749); - for ($_i753 = 0; $_i753 < $_size749; ++$_i753) + $_size741 = 0; + $_etype744 = 0; + $xfer += $input->readListBegin($_etype744, $_size741); + for ($_i745 = 0; $_i745 < $_size741; ++$_i745) { - $elem754 = null; - $xfer += $input->readString($elem754); - $this->warnings []= $elem754; + $elem746 = null; + $xfer += $input->readString($elem746); + $this->warnings []= $elem746; } $xfer += $input->readListEnd(); } else { @@ -24608,9 +24476,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->errors)); { - foreach ($this->errors as $iter755) + foreach ($this->errors as $iter747) { - $xfer += $output->writeString($iter755); + $xfer += $output->writeString($iter747); } } $output->writeListEnd(); @@ -24625,9 +24493,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->warnings)); { - foreach ($this->warnings as $iter756) + foreach ($this->warnings as $iter748) { - $xfer += $output->writeString($iter756); + $xfer += $output->writeString($iter748); } } $output->writeListEnd(); @@ -25300,15 +25168,15 @@ class WMGetTriggersForResourePlanResponse { case 1: if ($ftype == TType::LST) { $this->triggers = array(); - $_size757 = 0; - $_etype760 = 0; - $xfer += $input->readListBegin($_etype760, $_size757); - for ($_i761 = 0; $_i761 < $_size757; ++$_i761) + $_size749 = 0; + $_etype752 = 0; + $xfer += $input->readListBegin($_etype752, $_size749); + for ($_i753 = 0; $_i753 < $_size749; ++$_i753) { - $elem762 = null; - $elem762 = new \metastore\WMTrigger(); - $xfer += $elem762->read($input); - $this->triggers []= $elem762; + $elem754 = null; + $elem754 = new \metastore\WMTrigger(); + $xfer += $elem754->read($input); + $this->triggers []= $elem754; } $xfer += $input->readListEnd(); } else { @@ -25336,9 +25204,9 @@ class WMGetTriggersForResourePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter763) + foreach ($this->triggers as $iter755) { - $xfer += $iter763->write($output); + $xfer += $iter755->write($output); } } $output->writeListEnd(); @@ -26876,15 +26744,15 @@ class SchemaVersion { case 4: if ($ftype == TType::LST) { $this->cols = array(); - $_size764 = 0; - $_etype767 = 0; - $xfer += $input->readListBegin($_etype767, $_size764); - for ($_i768 = 0; $_i768 < $_size764; ++$_i768) + $_size756 = 0; + $_etype759 = 0; + $xfer += $input->readListBegin($_etype759, $_size756); + for ($_i760 = 0; $_i760 < $_size756; ++$_i760) { - $elem769 = null; - $elem769 = new \metastore\FieldSchema(); - $xfer += $elem769->read($input); - $this->cols []= $elem769; + $elem761 = null; + $elem761 = new \metastore\FieldSchema(); + $xfer += $elem761->read($input); + $this->cols []= $elem761; } $xfer += $input->readListEnd(); } else { @@ -26973,9 +26841,9 @@ class SchemaVersion { { $output->writeListBegin(TType::STRUCT, count($this->cols)); { - foreach ($this->cols as $iter770) + foreach ($this->cols as $iter762) { - $xfer += $iter770->write($output); + $xfer += $iter762->write($output); } } $output->writeListEnd(); @@ -27297,15 +27165,15 @@ class FindSchemasByColsResp { case 1: if ($ftype == TType::LST) { $this->schemaVersions = array(); - $_size771 = 0; - $_etype774 = 0; - $xfer += $input->readListBegin($_etype774, $_size771); - for ($_i775 = 0; $_i775 < $_size771; ++$_i775) + $_size763 = 0; + $_etype766 = 0; + $xfer += $input->readListBegin($_etype766, $_size763); + for ($_i767 = 0; $_i767 < $_size763; ++$_i767) { - $elem776 = null; - $elem776 = new \metastore\SchemaVersionDescriptor(); - $xfer += $elem776->read($input); - $this->schemaVersions []= $elem776; + $elem768 = null; + $elem768 = new \metastore\SchemaVersionDescriptor(); + $xfer += $elem768->read($input); + $this->schemaVersions []= $elem768; } $xfer += $input->readListEnd(); } else { @@ -27333,9 +27201,9 @@ class FindSchemasByColsResp { { $output->writeListBegin(TType::STRUCT, count($this->schemaVersions)); { - foreach ($this->schemaVersions as $iter777) + foreach ($this->schemaVersions as $iter769) { - $xfer += $iter777->write($output); + $xfer += $iter769->write($output); } } $output->writeListEnd(); diff --git a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote index a8e83863f7..a3416c1703 100755 --- a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote @@ -61,7 +61,6 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print(' get_table_objects_by_name(string dbname, tbl_names)') print(' GetTableResult get_table_req(GetTableRequest req)') print(' GetTablesResult get_table_objects_by_name_req(GetTablesRequest req)') - print(' get_materialization_invalidation_info(string dbname, tbl_names)') print(' void update_creation_metadata(string dbname, string tbl_name, CreationMetadata creation_metadata)') print(' get_table_names_by_filter(string dbname, string filter, i16 max_tables)') print(' void alter_table(string dbname, string tbl_name, Table new_tbl)') @@ -509,12 +508,6 @@ elif cmd == 'get_table_objects_by_name_req': sys.exit(1) pp.pprint(client.get_table_objects_by_name_req(eval(args[0]),)) -elif cmd == 'get_materialization_invalidation_info': - if len(args) != 2: - print('get_materialization_invalidation_info requires 2 args') - sys.exit(1) - pp.pprint(client.get_materialization_invalidation_info(args[0],eval(args[1]),)) - elif cmd == 'update_creation_metadata': if len(args) != 3: print('update_creation_metadata requires 3 args') diff --git a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index 30214d8df8..e7e247ec3e 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 @@ -308,14 +308,6 @@ def get_table_objects_by_name_req(self, req): """ pass - def get_materialization_invalidation_info(self, dbname, tbl_names): - """ - Parameters: - - dbname - - tbl_names - """ - pass - def update_creation_metadata(self, dbname, tbl_name, creation_metadata): """ Parameters: @@ -2836,45 +2828,6 @@ def recv_get_table_objects_by_name_req(self): raise result.o3 raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_objects_by_name_req failed: unknown result") - def get_materialization_invalidation_info(self, dbname, tbl_names): - """ - Parameters: - - dbname - - tbl_names - """ - self.send_get_materialization_invalidation_info(dbname, tbl_names) - return self.recv_get_materialization_invalidation_info() - - def send_get_materialization_invalidation_info(self, dbname, tbl_names): - self._oprot.writeMessageBegin('get_materialization_invalidation_info', TMessageType.CALL, self._seqid) - args = get_materialization_invalidation_info_args() - args.dbname = dbname - args.tbl_names = tbl_names - args.write(self._oprot) - self._oprot.writeMessageEnd() - self._oprot.trans.flush() - - def recv_get_materialization_invalidation_info(self): - iprot = self._iprot - (fname, mtype, rseqid) = iprot.readMessageBegin() - if mtype == TMessageType.EXCEPTION: - x = TApplicationException() - x.read(iprot) - iprot.readMessageEnd() - raise x - result = get_materialization_invalidation_info_result() - result.read(iprot) - iprot.readMessageEnd() - if result.success is not None: - return result.success - if result.o1 is not None: - raise result.o1 - if result.o2 is not None: - raise result.o2 - if result.o3 is not None: - raise result.o3 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_materialization_invalidation_info failed: unknown result") - def update_creation_metadata(self, dbname, tbl_name, creation_metadata): """ Parameters: @@ -8507,7 +8460,6 @@ def __init__(self, handler): self._processMap["get_table_objects_by_name"] = Processor.process_get_table_objects_by_name self._processMap["get_table_req"] = Processor.process_get_table_req self._processMap["get_table_objects_by_name_req"] = Processor.process_get_table_objects_by_name_req - self._processMap["get_materialization_invalidation_info"] = Processor.process_get_materialization_invalidation_info self._processMap["update_creation_metadata"] = Processor.process_update_creation_metadata self._processMap["get_table_names_by_filter"] = Processor.process_get_table_names_by_filter self._processMap["alter_table"] = Processor.process_alter_table @@ -9608,34 +9560,6 @@ def process_get_table_objects_by_name_req(self, seqid, iprot, oprot): oprot.writeMessageEnd() oprot.trans.flush() - def process_get_materialization_invalidation_info(self, seqid, iprot, oprot): - args = get_materialization_invalidation_info_args() - args.read(iprot) - iprot.readMessageEnd() - result = get_materialization_invalidation_info_result() - try: - result.success = self._handler.get_materialization_invalidation_info(args.dbname, args.tbl_names) - msg_type = TMessageType.REPLY - except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): - raise - except MetaException as o1: - msg_type = TMessageType.REPLY - result.o1 = o1 - except InvalidOperationException as o2: - msg_type = TMessageType.REPLY - result.o2 = o2 - except UnknownDBException as o3: - msg_type = TMessageType.REPLY - result.o3 = o3 - except Exception as ex: - msg_type = TMessageType.EXCEPTION - logging.exception(ex) - result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') - oprot.writeMessageBegin("get_materialization_invalidation_info", msg_type, seqid) - result.write(oprot) - oprot.writeMessageEnd() - oprot.trans.flush() - def process_update_creation_metadata(self, seqid, iprot, oprot): args = update_creation_metadata_args() args.read(iprot) @@ -14371,10 +14295,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype777, _size774) = iprot.readListBegin() - for _i778 in xrange(_size774): - _elem779 = iprot.readString() - self.success.append(_elem779) + (_etype770, _size767) = iprot.readListBegin() + for _i771 in xrange(_size767): + _elem772 = iprot.readString() + self.success.append(_elem772) iprot.readListEnd() else: iprot.skip(ftype) @@ -14397,8 +14321,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 iter780 in self.success: - oprot.writeString(iter780) + for iter773 in self.success: + oprot.writeString(iter773) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14503,10 +14427,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype784, _size781) = iprot.readListBegin() - for _i785 in xrange(_size781): - _elem786 = iprot.readString() - self.success.append(_elem786) + (_etype777, _size774) = iprot.readListBegin() + for _i778 in xrange(_size774): + _elem779 = iprot.readString() + self.success.append(_elem779) iprot.readListEnd() else: iprot.skip(ftype) @@ -14529,8 +14453,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 iter787 in self.success: - oprot.writeString(iter787) + for iter780 in self.success: + oprot.writeString(iter780) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15300,12 +15224,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype789, _vtype790, _size788 ) = iprot.readMapBegin() - for _i792 in xrange(_size788): - _key793 = iprot.readString() - _val794 = Type() - _val794.read(iprot) - self.success[_key793] = _val794 + (_ktype782, _vtype783, _size781 ) = iprot.readMapBegin() + for _i785 in xrange(_size781): + _key786 = iprot.readString() + _val787 = Type() + _val787.read(iprot) + self.success[_key786] = _val787 iprot.readMapEnd() else: iprot.skip(ftype) @@ -15328,9 +15252,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 kiter795,viter796 in self.success.items(): - oprot.writeString(kiter795) - viter796.write(oprot) + for kiter788,viter789 in self.success.items(): + oprot.writeString(kiter788) + viter789.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -15473,11 +15397,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype800, _size797) = iprot.readListBegin() - for _i801 in xrange(_size797): - _elem802 = FieldSchema() - _elem802.read(iprot) - self.success.append(_elem802) + (_etype793, _size790) = iprot.readListBegin() + for _i794 in xrange(_size790): + _elem795 = FieldSchema() + _elem795.read(iprot) + self.success.append(_elem795) iprot.readListEnd() else: iprot.skip(ftype) @@ -15512,8 +15436,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 iter803 in self.success: - iter803.write(oprot) + for iter796 in self.success: + iter796.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15680,11 +15604,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype807, _size804) = iprot.readListBegin() - for _i808 in xrange(_size804): - _elem809 = FieldSchema() - _elem809.read(iprot) - self.success.append(_elem809) + (_etype800, _size797) = iprot.readListBegin() + for _i801 in xrange(_size797): + _elem802 = FieldSchema() + _elem802.read(iprot) + self.success.append(_elem802) iprot.readListEnd() else: iprot.skip(ftype) @@ -15719,8 +15643,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 iter810 in self.success: - iter810.write(oprot) + for iter803 in self.success: + iter803.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15873,11 +15797,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype814, _size811) = iprot.readListBegin() - for _i815 in xrange(_size811): - _elem816 = FieldSchema() - _elem816.read(iprot) - self.success.append(_elem816) + (_etype807, _size804) = iprot.readListBegin() + for _i808 in xrange(_size804): + _elem809 = FieldSchema() + _elem809.read(iprot) + self.success.append(_elem809) iprot.readListEnd() else: iprot.skip(ftype) @@ -15912,8 +15836,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter817 in self.success: - iter817.write(oprot) + for iter810 in self.success: + iter810.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16080,11 +16004,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype821, _size818) = iprot.readListBegin() - for _i822 in xrange(_size818): - _elem823 = FieldSchema() - _elem823.read(iprot) - self.success.append(_elem823) + (_etype814, _size811) = iprot.readListBegin() + for _i815 in xrange(_size811): + _elem816 = FieldSchema() + _elem816.read(iprot) + self.success.append(_elem816) iprot.readListEnd() else: iprot.skip(ftype) @@ -16119,8 +16043,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter824 in self.success: - iter824.write(oprot) + for iter817 in self.success: + iter817.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16570,55 +16494,55 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.primaryKeys = [] - (_etype828, _size825) = iprot.readListBegin() - for _i829 in xrange(_size825): - _elem830 = SQLPrimaryKey() - _elem830.read(iprot) - self.primaryKeys.append(_elem830) + (_etype821, _size818) = iprot.readListBegin() + for _i822 in xrange(_size818): + _elem823 = SQLPrimaryKey() + _elem823.read(iprot) + self.primaryKeys.append(_elem823) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.foreignKeys = [] - (_etype834, _size831) = iprot.readListBegin() - for _i835 in xrange(_size831): - _elem836 = SQLForeignKey() - _elem836.read(iprot) - self.foreignKeys.append(_elem836) + (_etype827, _size824) = iprot.readListBegin() + for _i828 in xrange(_size824): + _elem829 = SQLForeignKey() + _elem829.read(iprot) + self.foreignKeys.append(_elem829) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.uniqueConstraints = [] - (_etype840, _size837) = iprot.readListBegin() - for _i841 in xrange(_size837): - _elem842 = SQLUniqueConstraint() - _elem842.read(iprot) - self.uniqueConstraints.append(_elem842) + (_etype833, _size830) = iprot.readListBegin() + for _i834 in xrange(_size830): + _elem835 = SQLUniqueConstraint() + _elem835.read(iprot) + self.uniqueConstraints.append(_elem835) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.notNullConstraints = [] - (_etype846, _size843) = iprot.readListBegin() - for _i847 in xrange(_size843): - _elem848 = SQLNotNullConstraint() - _elem848.read(iprot) - self.notNullConstraints.append(_elem848) + (_etype839, _size836) = iprot.readListBegin() + for _i840 in xrange(_size836): + _elem841 = SQLNotNullConstraint() + _elem841.read(iprot) + self.notNullConstraints.append(_elem841) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.LIST: self.defaultConstraints = [] - (_etype852, _size849) = iprot.readListBegin() - for _i853 in xrange(_size849): - _elem854 = SQLDefaultConstraint() - _elem854.read(iprot) - self.defaultConstraints.append(_elem854) + (_etype845, _size842) = iprot.readListBegin() + for _i846 in xrange(_size842): + _elem847 = SQLDefaultConstraint() + _elem847.read(iprot) + self.defaultConstraints.append(_elem847) iprot.readListEnd() else: iprot.skip(ftype) @@ -16639,36 +16563,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 iter855 in self.primaryKeys: - iter855.write(oprot) + for iter848 in self.primaryKeys: + iter848.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 iter856 in self.foreignKeys: - iter856.write(oprot) + for iter849 in self.foreignKeys: + iter849.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 iter857 in self.uniqueConstraints: - iter857.write(oprot) + for iter850 in self.uniqueConstraints: + iter850.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 iter858 in self.notNullConstraints: - iter858.write(oprot) + for iter851 in self.notNullConstraints: + iter851.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 iter859 in self.defaultConstraints: - iter859.write(oprot) + for iter852 in self.defaultConstraints: + iter852.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18081,10 +18005,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.partNames = [] - (_etype863, _size860) = iprot.readListBegin() - for _i864 in xrange(_size860): - _elem865 = iprot.readString() - self.partNames.append(_elem865) + (_etype856, _size853) = iprot.readListBegin() + for _i857 in xrange(_size853): + _elem858 = iprot.readString() + self.partNames.append(_elem858) iprot.readListEnd() else: iprot.skip(ftype) @@ -18109,8 +18033,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 iter866 in self.partNames: - oprot.writeString(iter866) + for iter859 in self.partNames: + oprot.writeString(iter859) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18310,10 +18234,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype870, _size867) = iprot.readListBegin() - for _i871 in xrange(_size867): - _elem872 = iprot.readString() - self.success.append(_elem872) + (_etype863, _size860) = iprot.readListBegin() + for _i864 in xrange(_size860): + _elem865 = iprot.readString() + self.success.append(_elem865) iprot.readListEnd() else: iprot.skip(ftype) @@ -18336,8 +18260,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 iter873 in self.success: - oprot.writeString(iter873) + for iter866 in self.success: + oprot.writeString(iter866) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18487,10 +18411,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype877, _size874) = iprot.readListBegin() - for _i878 in xrange(_size874): - _elem879 = iprot.readString() - self.success.append(_elem879) + (_etype870, _size867) = iprot.readListBegin() + for _i871 in xrange(_size867): + _elem872 = iprot.readString() + self.success.append(_elem872) iprot.readListEnd() else: iprot.skip(ftype) @@ -18513,8 +18437,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 iter880 in self.success: - oprot.writeString(iter880) + for iter873 in self.success: + oprot.writeString(iter873) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18638,10 +18562,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype884, _size881) = iprot.readListBegin() - for _i885 in xrange(_size881): - _elem886 = iprot.readString() - self.success.append(_elem886) + (_etype877, _size874) = iprot.readListBegin() + for _i878 in xrange(_size874): + _elem879 = iprot.readString() + self.success.append(_elem879) iprot.readListEnd() else: iprot.skip(ftype) @@ -18664,8 +18588,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 iter887 in self.success: - oprot.writeString(iter887) + for iter880 in self.success: + oprot.writeString(iter880) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18738,10 +18662,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype891, _size888) = iprot.readListBegin() - for _i892 in xrange(_size888): - _elem893 = iprot.readString() - self.tbl_types.append(_elem893) + (_etype884, _size881) = iprot.readListBegin() + for _i885 in xrange(_size881): + _elem886 = iprot.readString() + self.tbl_types.append(_elem886) iprot.readListEnd() else: iprot.skip(ftype) @@ -18766,8 +18690,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 iter894 in self.tbl_types: - oprot.writeString(iter894) + for iter887 in self.tbl_types: + oprot.writeString(iter887) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18823,11 +18747,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype898, _size895) = iprot.readListBegin() - for _i899 in xrange(_size895): - _elem900 = TableMeta() - _elem900.read(iprot) - self.success.append(_elem900) + (_etype891, _size888) = iprot.readListBegin() + for _i892 in xrange(_size888): + _elem893 = TableMeta() + _elem893.read(iprot) + self.success.append(_elem893) iprot.readListEnd() else: iprot.skip(ftype) @@ -18850,8 +18774,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 iter901 in self.success: - iter901.write(oprot) + for iter894 in self.success: + iter894.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18975,10 +18899,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype905, _size902) = iprot.readListBegin() - for _i906 in xrange(_size902): - _elem907 = iprot.readString() - self.success.append(_elem907) + (_etype898, _size895) = iprot.readListBegin() + for _i899 in xrange(_size895): + _elem900 = iprot.readString() + self.success.append(_elem900) iprot.readListEnd() else: iprot.skip(ftype) @@ -19001,8 +18925,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter908 in self.success: - oprot.writeString(iter908) + for iter901 in self.success: + oprot.writeString(iter901) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19238,10 +19162,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype912, _size909) = iprot.readListBegin() - for _i913 in xrange(_size909): - _elem914 = iprot.readString() - self.tbl_names.append(_elem914) + (_etype905, _size902) = iprot.readListBegin() + for _i906 in xrange(_size902): + _elem907 = iprot.readString() + self.tbl_names.append(_elem907) iprot.readListEnd() else: iprot.skip(ftype) @@ -19262,8 +19186,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 iter915 in self.tbl_names: - oprot.writeString(iter915) + for iter908 in self.tbl_names: + oprot.writeString(iter908) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19315,11 +19239,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype919, _size916) = iprot.readListBegin() - for _i920 in xrange(_size916): - _elem921 = Table() - _elem921.read(iprot) - self.success.append(_elem921) + (_etype912, _size909) = iprot.readListBegin() + for _i913 in xrange(_size909): + _elem914 = Table() + _elem914.read(iprot) + self.success.append(_elem914) iprot.readListEnd() else: iprot.skip(ftype) @@ -19336,8 +19260,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter922 in self.success: - iter922.write(oprot) + for iter915 in self.success: + iter915.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19695,209 +19619,6 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class get_materialization_invalidation_info_args: - """ - Attributes: - - dbname - - tbl_names - """ - - thrift_spec = ( - None, # 0 - (1, TType.STRING, 'dbname', None, None, ), # 1 - (2, TType.LIST, 'tbl_names', (TType.STRING,None), None, ), # 2 - ) - - def __init__(self, dbname=None, tbl_names=None,): - self.dbname = dbname - self.tbl_names = tbl_names - - def read(self, iprot): - if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: - fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) - return - iprot.readStructBegin() - while True: - (fname, ftype, fid) = iprot.readFieldBegin() - if ftype == TType.STOP: - break - if fid == 1: - if ftype == TType.STRING: - self.dbname = iprot.readString() - else: - iprot.skip(ftype) - elif fid == 2: - if ftype == TType.LIST: - self.tbl_names = [] - (_etype926, _size923) = iprot.readListBegin() - for _i927 in xrange(_size923): - _elem928 = iprot.readString() - self.tbl_names.append(_elem928) - iprot.readListEnd() - else: - iprot.skip(ftype) - else: - iprot.skip(ftype) - iprot.readFieldEnd() - iprot.readStructEnd() - - def write(self, oprot): - if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: - oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) - return - oprot.writeStructBegin('get_materialization_invalidation_info_args') - if self.dbname is not None: - oprot.writeFieldBegin('dbname', TType.STRING, 1) - oprot.writeString(self.dbname) - oprot.writeFieldEnd() - if self.tbl_names is not None: - oprot.writeFieldBegin('tbl_names', TType.LIST, 2) - oprot.writeListBegin(TType.STRING, len(self.tbl_names)) - for iter929 in self.tbl_names: - oprot.writeString(iter929) - oprot.writeListEnd() - oprot.writeFieldEnd() - oprot.writeFieldStop() - oprot.writeStructEnd() - - def validate(self): - return - - - def __hash__(self): - value = 17 - value = (value * 31) ^ hash(self.dbname) - value = (value * 31) ^ hash(self.tbl_names) - return value - - def __repr__(self): - L = ['%s=%r' % (key, value) - for key, value in self.__dict__.iteritems()] - return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) - - def __eq__(self, other): - return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ - - def __ne__(self, other): - return not (self == other) - -class get_materialization_invalidation_info_result: - """ - Attributes: - - success - - o1 - - o2 - - o3 - """ - - thrift_spec = ( - (0, TType.MAP, 'success', (TType.STRING,None,TType.STRUCT,(Materialization, Materialization.thrift_spec)), None, ), # 0 - (1, TType.STRUCT, 'o1', (MetaException, MetaException.thrift_spec), None, ), # 1 - (2, TType.STRUCT, 'o2', (InvalidOperationException, InvalidOperationException.thrift_spec), None, ), # 2 - (3, TType.STRUCT, 'o3', (UnknownDBException, UnknownDBException.thrift_spec), None, ), # 3 - ) - - def __init__(self, success=None, o1=None, o2=None, o3=None,): - self.success = success - self.o1 = o1 - self.o2 = o2 - self.o3 = o3 - - def read(self, iprot): - if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: - fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) - return - iprot.readStructBegin() - while True: - (fname, ftype, fid) = iprot.readFieldBegin() - if ftype == TType.STOP: - break - if fid == 0: - if ftype == TType.MAP: - self.success = {} - (_ktype931, _vtype932, _size930 ) = iprot.readMapBegin() - for _i934 in xrange(_size930): - _key935 = iprot.readString() - _val936 = Materialization() - _val936.read(iprot) - self.success[_key935] = _val936 - iprot.readMapEnd() - else: - iprot.skip(ftype) - elif fid == 1: - if ftype == TType.STRUCT: - self.o1 = MetaException() - self.o1.read(iprot) - else: - iprot.skip(ftype) - elif fid == 2: - if ftype == TType.STRUCT: - self.o2 = InvalidOperationException() - self.o2.read(iprot) - else: - iprot.skip(ftype) - elif fid == 3: - if ftype == TType.STRUCT: - self.o3 = UnknownDBException() - self.o3.read(iprot) - else: - iprot.skip(ftype) - else: - iprot.skip(ftype) - iprot.readFieldEnd() - iprot.readStructEnd() - - def write(self, oprot): - if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: - oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) - return - oprot.writeStructBegin('get_materialization_invalidation_info_result') - if self.success is not None: - oprot.writeFieldBegin('success', TType.MAP, 0) - oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success)) - for kiter937,viter938 in self.success.items(): - oprot.writeString(kiter937) - viter938.write(oprot) - oprot.writeMapEnd() - oprot.writeFieldEnd() - if self.o1 is not None: - oprot.writeFieldBegin('o1', TType.STRUCT, 1) - self.o1.write(oprot) - oprot.writeFieldEnd() - if self.o2 is not None: - oprot.writeFieldBegin('o2', TType.STRUCT, 2) - self.o2.write(oprot) - oprot.writeFieldEnd() - if self.o3 is not None: - oprot.writeFieldBegin('o3', TType.STRUCT, 3) - self.o3.write(oprot) - oprot.writeFieldEnd() - oprot.writeFieldStop() - oprot.writeStructEnd() - - def validate(self): - return - - - def __hash__(self): - value = 17 - value = (value * 31) ^ hash(self.success) - value = (value * 31) ^ hash(self.o1) - value = (value * 31) ^ hash(self.o2) - value = (value * 31) ^ hash(self.o3) - return value - - def __repr__(self): - L = ['%s=%r' % (key, value) - for key, value in self.__dict__.iteritems()] - return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) - - def __eq__(self, other): - return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ - - def __ne__(self, other): - return not (self == other) - class update_creation_metadata_args: """ Attributes: @@ -20209,10 +19930,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype942, _size939) = iprot.readListBegin() - for _i943 in xrange(_size939): - _elem944 = iprot.readString() - self.success.append(_elem944) + (_etype919, _size916) = iprot.readListBegin() + for _i920 in xrange(_size916): + _elem921 = iprot.readString() + self.success.append(_elem921) iprot.readListEnd() else: iprot.skip(ftype) @@ -20247,8 +19968,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 iter945 in self.success: - oprot.writeString(iter945) + for iter922 in self.success: + oprot.writeString(iter922) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21218,11 +20939,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype949, _size946) = iprot.readListBegin() - for _i950 in xrange(_size946): - _elem951 = Partition() - _elem951.read(iprot) - self.new_parts.append(_elem951) + (_etype926, _size923) = iprot.readListBegin() + for _i927 in xrange(_size923): + _elem928 = Partition() + _elem928.read(iprot) + self.new_parts.append(_elem928) iprot.readListEnd() else: iprot.skip(ftype) @@ -21239,8 +20960,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 iter952 in self.new_parts: - iter952.write(oprot) + for iter929 in self.new_parts: + iter929.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21398,11 +21119,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype956, _size953) = iprot.readListBegin() - for _i957 in xrange(_size953): - _elem958 = PartitionSpec() - _elem958.read(iprot) - self.new_parts.append(_elem958) + (_etype933, _size930) = iprot.readListBegin() + for _i934 in xrange(_size930): + _elem935 = PartitionSpec() + _elem935.read(iprot) + self.new_parts.append(_elem935) iprot.readListEnd() else: iprot.skip(ftype) @@ -21419,8 +21140,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 iter959 in self.new_parts: - iter959.write(oprot) + for iter936 in self.new_parts: + iter936.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21594,10 +21315,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype963, _size960) = iprot.readListBegin() - for _i964 in xrange(_size960): - _elem965 = iprot.readString() - self.part_vals.append(_elem965) + (_etype940, _size937) = iprot.readListBegin() + for _i941 in xrange(_size937): + _elem942 = iprot.readString() + self.part_vals.append(_elem942) iprot.readListEnd() else: iprot.skip(ftype) @@ -21622,8 +21343,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 iter966 in self.part_vals: - oprot.writeString(iter966) + for iter943 in self.part_vals: + oprot.writeString(iter943) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21976,10 +21697,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype970, _size967) = iprot.readListBegin() - for _i971 in xrange(_size967): - _elem972 = iprot.readString() - self.part_vals.append(_elem972) + (_etype947, _size944) = iprot.readListBegin() + for _i948 in xrange(_size944): + _elem949 = iprot.readString() + self.part_vals.append(_elem949) iprot.readListEnd() else: iprot.skip(ftype) @@ -22010,8 +21731,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 iter973 in self.part_vals: - oprot.writeString(iter973) + for iter950 in self.part_vals: + oprot.writeString(iter950) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -22606,10 +22327,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype977, _size974) = iprot.readListBegin() - for _i978 in xrange(_size974): - _elem979 = iprot.readString() - self.part_vals.append(_elem979) + (_etype954, _size951) = iprot.readListBegin() + for _i955 in xrange(_size951): + _elem956 = iprot.readString() + self.part_vals.append(_elem956) iprot.readListEnd() else: iprot.skip(ftype) @@ -22639,8 +22360,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 iter980 in self.part_vals: - oprot.writeString(iter980) + for iter957 in self.part_vals: + oprot.writeString(iter957) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -22813,10 +22534,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype984, _size981) = iprot.readListBegin() - for _i985 in xrange(_size981): - _elem986 = iprot.readString() - self.part_vals.append(_elem986) + (_etype961, _size958) = iprot.readListBegin() + for _i962 in xrange(_size958): + _elem963 = iprot.readString() + self.part_vals.append(_elem963) iprot.readListEnd() else: iprot.skip(ftype) @@ -22852,8 +22573,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter987 in self.part_vals: - oprot.writeString(iter987) + for iter964 in self.part_vals: + oprot.writeString(iter964) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -23590,10 +23311,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype991, _size988) = iprot.readListBegin() - for _i992 in xrange(_size988): - _elem993 = iprot.readString() - self.part_vals.append(_elem993) + (_etype968, _size965) = iprot.readListBegin() + for _i969 in xrange(_size965): + _elem970 = iprot.readString() + self.part_vals.append(_elem970) iprot.readListEnd() else: iprot.skip(ftype) @@ -23618,8 +23339,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter994 in self.part_vals: - oprot.writeString(iter994) + for iter971 in self.part_vals: + oprot.writeString(iter971) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23778,11 +23499,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype996, _vtype997, _size995 ) = iprot.readMapBegin() - for _i999 in xrange(_size995): - _key1000 = iprot.readString() - _val1001 = iprot.readString() - self.partitionSpecs[_key1000] = _val1001 + (_ktype973, _vtype974, _size972 ) = iprot.readMapBegin() + for _i976 in xrange(_size972): + _key977 = iprot.readString() + _val978 = iprot.readString() + self.partitionSpecs[_key977] = _val978 iprot.readMapEnd() else: iprot.skip(ftype) @@ -23819,9 +23540,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 kiter1002,viter1003 in self.partitionSpecs.items(): - oprot.writeString(kiter1002) - oprot.writeString(viter1003) + for kiter979,viter980 in self.partitionSpecs.items(): + oprot.writeString(kiter979) + oprot.writeString(viter980) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -24026,11 +23747,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1005, _vtype1006, _size1004 ) = iprot.readMapBegin() - for _i1008 in xrange(_size1004): - _key1009 = iprot.readString() - _val1010 = iprot.readString() - self.partitionSpecs[_key1009] = _val1010 + (_ktype982, _vtype983, _size981 ) = iprot.readMapBegin() + for _i985 in xrange(_size981): + _key986 = iprot.readString() + _val987 = iprot.readString() + self.partitionSpecs[_key986] = _val987 iprot.readMapEnd() else: iprot.skip(ftype) @@ -24067,9 +23788,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 kiter1011,viter1012 in self.partitionSpecs.items(): - oprot.writeString(kiter1011) - oprot.writeString(viter1012) + for kiter988,viter989 in self.partitionSpecs.items(): + oprot.writeString(kiter988) + oprot.writeString(viter989) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -24152,11 +23873,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1016, _size1013) = iprot.readListBegin() - for _i1017 in xrange(_size1013): - _elem1018 = Partition() - _elem1018.read(iprot) - self.success.append(_elem1018) + (_etype993, _size990) = iprot.readListBegin() + for _i994 in xrange(_size990): + _elem995 = Partition() + _elem995.read(iprot) + self.success.append(_elem995) iprot.readListEnd() else: iprot.skip(ftype) @@ -24197,8 +23918,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 iter1019 in self.success: - iter1019.write(oprot) + for iter996 in self.success: + iter996.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24292,10 +24013,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1023, _size1020) = iprot.readListBegin() - for _i1024 in xrange(_size1020): - _elem1025 = iprot.readString() - self.part_vals.append(_elem1025) + (_etype1000, _size997) = iprot.readListBegin() + for _i1001 in xrange(_size997): + _elem1002 = iprot.readString() + self.part_vals.append(_elem1002) iprot.readListEnd() else: iprot.skip(ftype) @@ -24307,10 +24028,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1029, _size1026) = iprot.readListBegin() - for _i1030 in xrange(_size1026): - _elem1031 = iprot.readString() - self.group_names.append(_elem1031) + (_etype1006, _size1003) = iprot.readListBegin() + for _i1007 in xrange(_size1003): + _elem1008 = iprot.readString() + self.group_names.append(_elem1008) iprot.readListEnd() else: iprot.skip(ftype) @@ -24335,8 +24056,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 iter1032 in self.part_vals: - oprot.writeString(iter1032) + for iter1009 in self.part_vals: + oprot.writeString(iter1009) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -24346,8 +24067,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 iter1033 in self.group_names: - oprot.writeString(iter1033) + for iter1010 in self.group_names: + oprot.writeString(iter1010) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24776,11 +24497,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1037, _size1034) = iprot.readListBegin() - for _i1038 in xrange(_size1034): - _elem1039 = Partition() - _elem1039.read(iprot) - self.success.append(_elem1039) + (_etype1014, _size1011) = iprot.readListBegin() + for _i1015 in xrange(_size1011): + _elem1016 = Partition() + _elem1016.read(iprot) + self.success.append(_elem1016) iprot.readListEnd() else: iprot.skip(ftype) @@ -24809,8 +24530,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1040 in self.success: - iter1040.write(oprot) + for iter1017 in self.success: + iter1017.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24904,10 +24625,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1044, _size1041) = iprot.readListBegin() - for _i1045 in xrange(_size1041): - _elem1046 = iprot.readString() - self.group_names.append(_elem1046) + (_etype1021, _size1018) = iprot.readListBegin() + for _i1022 in xrange(_size1018): + _elem1023 = iprot.readString() + self.group_names.append(_elem1023) iprot.readListEnd() else: iprot.skip(ftype) @@ -24940,8 +24661,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 iter1047 in self.group_names: - oprot.writeString(iter1047) + for iter1024 in self.group_names: + oprot.writeString(iter1024) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -25002,11 +24723,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1051, _size1048) = iprot.readListBegin() - for _i1052 in xrange(_size1048): - _elem1053 = Partition() - _elem1053.read(iprot) - self.success.append(_elem1053) + (_etype1028, _size1025) = iprot.readListBegin() + for _i1029 in xrange(_size1025): + _elem1030 = Partition() + _elem1030.read(iprot) + self.success.append(_elem1030) iprot.readListEnd() else: iprot.skip(ftype) @@ -25035,8 +24756,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1054 in self.success: - iter1054.write(oprot) + for iter1031 in self.success: + iter1031.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25194,11 +24915,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1058, _size1055) = iprot.readListBegin() - for _i1059 in xrange(_size1055): - _elem1060 = PartitionSpec() - _elem1060.read(iprot) - self.success.append(_elem1060) + (_etype1035, _size1032) = iprot.readListBegin() + for _i1036 in xrange(_size1032): + _elem1037 = PartitionSpec() + _elem1037.read(iprot) + self.success.append(_elem1037) iprot.readListEnd() else: iprot.skip(ftype) @@ -25227,8 +24948,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1061 in self.success: - iter1061.write(oprot) + for iter1038 in self.success: + iter1038.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25386,10 +25107,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1065, _size1062) = iprot.readListBegin() - for _i1066 in xrange(_size1062): - _elem1067 = iprot.readString() - self.success.append(_elem1067) + (_etype1042, _size1039) = iprot.readListBegin() + for _i1043 in xrange(_size1039): + _elem1044 = iprot.readString() + self.success.append(_elem1044) iprot.readListEnd() else: iprot.skip(ftype) @@ -25418,8 +25139,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 iter1068 in self.success: - oprot.writeString(iter1068) + for iter1045 in self.success: + oprot.writeString(iter1045) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25659,10 +25380,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1072, _size1069) = iprot.readListBegin() - for _i1073 in xrange(_size1069): - _elem1074 = iprot.readString() - self.part_vals.append(_elem1074) + (_etype1049, _size1046) = iprot.readListBegin() + for _i1050 in xrange(_size1046): + _elem1051 = iprot.readString() + self.part_vals.append(_elem1051) iprot.readListEnd() else: iprot.skip(ftype) @@ -25692,8 +25413,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 iter1075 in self.part_vals: - oprot.writeString(iter1075) + for iter1052 in self.part_vals: + oprot.writeString(iter1052) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -25757,11 +25478,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1079, _size1076) = iprot.readListBegin() - for _i1080 in xrange(_size1076): - _elem1081 = Partition() - _elem1081.read(iprot) - self.success.append(_elem1081) + (_etype1056, _size1053) = iprot.readListBegin() + for _i1057 in xrange(_size1053): + _elem1058 = Partition() + _elem1058.read(iprot) + self.success.append(_elem1058) iprot.readListEnd() else: iprot.skip(ftype) @@ -25790,8 +25511,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1082 in self.success: - iter1082.write(oprot) + for iter1059 in self.success: + iter1059.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25878,10 +25599,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1086, _size1083) = iprot.readListBegin() - for _i1087 in xrange(_size1083): - _elem1088 = iprot.readString() - self.part_vals.append(_elem1088) + (_etype1063, _size1060) = iprot.readListBegin() + for _i1064 in xrange(_size1060): + _elem1065 = iprot.readString() + self.part_vals.append(_elem1065) iprot.readListEnd() else: iprot.skip(ftype) @@ -25898,10 +25619,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype1092, _size1089) = iprot.readListBegin() - for _i1093 in xrange(_size1089): - _elem1094 = iprot.readString() - self.group_names.append(_elem1094) + (_etype1069, _size1066) = iprot.readListBegin() + for _i1070 in xrange(_size1066): + _elem1071 = iprot.readString() + self.group_names.append(_elem1071) iprot.readListEnd() else: iprot.skip(ftype) @@ -25926,8 +25647,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 iter1095 in self.part_vals: - oprot.writeString(iter1095) + for iter1072 in self.part_vals: + oprot.writeString(iter1072) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -25941,8 +25662,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 iter1096 in self.group_names: - oprot.writeString(iter1096) + for iter1073 in self.group_names: + oprot.writeString(iter1073) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26004,11 +25725,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1100, _size1097) = iprot.readListBegin() - for _i1101 in xrange(_size1097): - _elem1102 = Partition() - _elem1102.read(iprot) - self.success.append(_elem1102) + (_etype1077, _size1074) = iprot.readListBegin() + for _i1078 in xrange(_size1074): + _elem1079 = Partition() + _elem1079.read(iprot) + self.success.append(_elem1079) iprot.readListEnd() else: iprot.skip(ftype) @@ -26037,8 +25758,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1103 in self.success: - iter1103.write(oprot) + for iter1080 in self.success: + iter1080.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26119,10 +25840,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1107, _size1104) = iprot.readListBegin() - for _i1108 in xrange(_size1104): - _elem1109 = iprot.readString() - self.part_vals.append(_elem1109) + (_etype1084, _size1081) = iprot.readListBegin() + for _i1085 in xrange(_size1081): + _elem1086 = iprot.readString() + self.part_vals.append(_elem1086) iprot.readListEnd() else: iprot.skip(ftype) @@ -26152,8 +25873,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1110 in self.part_vals: - oprot.writeString(iter1110) + for iter1087 in self.part_vals: + oprot.writeString(iter1087) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -26217,10 +25938,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1114, _size1111) = iprot.readListBegin() - for _i1115 in xrange(_size1111): - _elem1116 = iprot.readString() - self.success.append(_elem1116) + (_etype1091, _size1088) = iprot.readListBegin() + for _i1092 in xrange(_size1088): + _elem1093 = iprot.readString() + self.success.append(_elem1093) iprot.readListEnd() else: iprot.skip(ftype) @@ -26249,8 +25970,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 iter1117 in self.success: - oprot.writeString(iter1117) + for iter1094 in self.success: + oprot.writeString(iter1094) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26421,11 +26142,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1121, _size1118) = iprot.readListBegin() - for _i1122 in xrange(_size1118): - _elem1123 = Partition() - _elem1123.read(iprot) - self.success.append(_elem1123) + (_etype1098, _size1095) = iprot.readListBegin() + for _i1099 in xrange(_size1095): + _elem1100 = Partition() + _elem1100.read(iprot) + self.success.append(_elem1100) iprot.readListEnd() else: iprot.skip(ftype) @@ -26454,8 +26175,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1124 in self.success: - iter1124.write(oprot) + for iter1101 in self.success: + iter1101.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26626,11 +26347,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1128, _size1125) = iprot.readListBegin() - for _i1129 in xrange(_size1125): - _elem1130 = PartitionSpec() - _elem1130.read(iprot) - self.success.append(_elem1130) + (_etype1105, _size1102) = iprot.readListBegin() + for _i1106 in xrange(_size1102): + _elem1107 = PartitionSpec() + _elem1107.read(iprot) + self.success.append(_elem1107) iprot.readListEnd() else: iprot.skip(ftype) @@ -26659,8 +26380,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1131 in self.success: - iter1131.write(oprot) + for iter1108 in self.success: + iter1108.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27080,10 +26801,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype1135, _size1132) = iprot.readListBegin() - for _i1136 in xrange(_size1132): - _elem1137 = iprot.readString() - self.names.append(_elem1137) + (_etype1112, _size1109) = iprot.readListBegin() + for _i1113 in xrange(_size1109): + _elem1114 = iprot.readString() + self.names.append(_elem1114) iprot.readListEnd() else: iprot.skip(ftype) @@ -27108,8 +26829,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 iter1138 in self.names: - oprot.writeString(iter1138) + for iter1115 in self.names: + oprot.writeString(iter1115) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27168,11 +26889,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1142, _size1139) = iprot.readListBegin() - for _i1143 in xrange(_size1139): - _elem1144 = Partition() - _elem1144.read(iprot) - self.success.append(_elem1144) + (_etype1119, _size1116) = iprot.readListBegin() + for _i1120 in xrange(_size1116): + _elem1121 = Partition() + _elem1121.read(iprot) + self.success.append(_elem1121) iprot.readListEnd() else: iprot.skip(ftype) @@ -27201,8 +26922,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1145 in self.success: - iter1145.write(oprot) + for iter1122 in self.success: + iter1122.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27452,11 +27173,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1149, _size1146) = iprot.readListBegin() - for _i1150 in xrange(_size1146): - _elem1151 = Partition() - _elem1151.read(iprot) - self.new_parts.append(_elem1151) + (_etype1126, _size1123) = iprot.readListBegin() + for _i1127 in xrange(_size1123): + _elem1128 = Partition() + _elem1128.read(iprot) + self.new_parts.append(_elem1128) iprot.readListEnd() else: iprot.skip(ftype) @@ -27481,8 +27202,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 iter1152 in self.new_parts: - iter1152.write(oprot) + for iter1129 in self.new_parts: + iter1129.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27635,11 +27356,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1156, _size1153) = iprot.readListBegin() - for _i1157 in xrange(_size1153): - _elem1158 = Partition() - _elem1158.read(iprot) - self.new_parts.append(_elem1158) + (_etype1133, _size1130) = iprot.readListBegin() + for _i1134 in xrange(_size1130): + _elem1135 = Partition() + _elem1135.read(iprot) + self.new_parts.append(_elem1135) iprot.readListEnd() else: iprot.skip(ftype) @@ -27670,8 +27391,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 iter1159 in self.new_parts: - iter1159.write(oprot) + for iter1136 in self.new_parts: + iter1136.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -28015,10 +27736,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1163, _size1160) = iprot.readListBegin() - for _i1164 in xrange(_size1160): - _elem1165 = iprot.readString() - self.part_vals.append(_elem1165) + (_etype1140, _size1137) = iprot.readListBegin() + for _i1141 in xrange(_size1137): + _elem1142 = iprot.readString() + self.part_vals.append(_elem1142) iprot.readListEnd() else: iprot.skip(ftype) @@ -28049,8 +27770,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 iter1166 in self.part_vals: - oprot.writeString(iter1166) + for iter1143 in self.part_vals: + oprot.writeString(iter1143) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -28192,10 +27913,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype1170, _size1167) = iprot.readListBegin() - for _i1171 in xrange(_size1167): - _elem1172 = iprot.readString() - self.part_vals.append(_elem1172) + (_etype1147, _size1144) = iprot.readListBegin() + for _i1148 in xrange(_size1144): + _elem1149 = iprot.readString() + self.part_vals.append(_elem1149) iprot.readListEnd() else: iprot.skip(ftype) @@ -28217,8 +27938,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 iter1173 in self.part_vals: - oprot.writeString(iter1173) + for iter1150 in self.part_vals: + oprot.writeString(iter1150) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -28576,10 +28297,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1177, _size1174) = iprot.readListBegin() - for _i1178 in xrange(_size1174): - _elem1179 = iprot.readString() - self.success.append(_elem1179) + (_etype1154, _size1151) = iprot.readListBegin() + for _i1155 in xrange(_size1151): + _elem1156 = iprot.readString() + self.success.append(_elem1156) iprot.readListEnd() else: iprot.skip(ftype) @@ -28602,8 +28323,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 iter1180 in self.success: - oprot.writeString(iter1180) + for iter1157 in self.success: + oprot.writeString(iter1157) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28727,11 +28448,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1182, _vtype1183, _size1181 ) = iprot.readMapBegin() - for _i1185 in xrange(_size1181): - _key1186 = iprot.readString() - _val1187 = iprot.readString() - self.success[_key1186] = _val1187 + (_ktype1159, _vtype1160, _size1158 ) = iprot.readMapBegin() + for _i1162 in xrange(_size1158): + _key1163 = iprot.readString() + _val1164 = iprot.readString() + self.success[_key1163] = _val1164 iprot.readMapEnd() else: iprot.skip(ftype) @@ -28754,9 +28475,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 kiter1188,viter1189 in self.success.items(): - oprot.writeString(kiter1188) - oprot.writeString(viter1189) + for kiter1165,viter1166 in self.success.items(): + oprot.writeString(kiter1165) + oprot.writeString(viter1166) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28832,11 +28553,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1191, _vtype1192, _size1190 ) = iprot.readMapBegin() - for _i1194 in xrange(_size1190): - _key1195 = iprot.readString() - _val1196 = iprot.readString() - self.part_vals[_key1195] = _val1196 + (_ktype1168, _vtype1169, _size1167 ) = iprot.readMapBegin() + for _i1171 in xrange(_size1167): + _key1172 = iprot.readString() + _val1173 = iprot.readString() + self.part_vals[_key1172] = _val1173 iprot.readMapEnd() else: iprot.skip(ftype) @@ -28866,9 +28587,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 kiter1197,viter1198 in self.part_vals.items(): - oprot.writeString(kiter1197) - oprot.writeString(viter1198) + for kiter1174,viter1175 in self.part_vals.items(): + oprot.writeString(kiter1174) + oprot.writeString(viter1175) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -29082,11 +28803,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1200, _vtype1201, _size1199 ) = iprot.readMapBegin() - for _i1203 in xrange(_size1199): - _key1204 = iprot.readString() - _val1205 = iprot.readString() - self.part_vals[_key1204] = _val1205 + (_ktype1177, _vtype1178, _size1176 ) = iprot.readMapBegin() + for _i1180 in xrange(_size1176): + _key1181 = iprot.readString() + _val1182 = iprot.readString() + self.part_vals[_key1181] = _val1182 iprot.readMapEnd() else: iprot.skip(ftype) @@ -29116,9 +28837,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 kiter1206,viter1207 in self.part_vals.items(): - oprot.writeString(kiter1206) - oprot.writeString(viter1207) + for kiter1183,viter1184 in self.part_vals.items(): + oprot.writeString(kiter1183) + oprot.writeString(viter1184) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -32611,10 +32332,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1211, _size1208) = iprot.readListBegin() - for _i1212 in xrange(_size1208): - _elem1213 = iprot.readString() - self.success.append(_elem1213) + (_etype1188, _size1185) = iprot.readListBegin() + for _i1189 in xrange(_size1185): + _elem1190 = iprot.readString() + self.success.append(_elem1190) iprot.readListEnd() else: iprot.skip(ftype) @@ -32637,8 +32358,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 iter1214 in self.success: - oprot.writeString(iter1214) + for iter1191 in self.success: + oprot.writeString(iter1191) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -33326,10 +33047,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1218, _size1215) = iprot.readListBegin() - for _i1219 in xrange(_size1215): - _elem1220 = iprot.readString() - self.success.append(_elem1220) + (_etype1195, _size1192) = iprot.readListBegin() + for _i1196 in xrange(_size1192): + _elem1197 = iprot.readString() + self.success.append(_elem1197) iprot.readListEnd() else: iprot.skip(ftype) @@ -33352,8 +33073,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 iter1221 in self.success: - oprot.writeString(iter1221) + for iter1198 in self.success: + oprot.writeString(iter1198) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -33867,11 +33588,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1225, _size1222) = iprot.readListBegin() - for _i1226 in xrange(_size1222): - _elem1227 = Role() - _elem1227.read(iprot) - self.success.append(_elem1227) + (_etype1202, _size1199) = iprot.readListBegin() + for _i1203 in xrange(_size1199): + _elem1204 = Role() + _elem1204.read(iprot) + self.success.append(_elem1204) iprot.readListEnd() else: iprot.skip(ftype) @@ -33894,8 +33615,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 iter1228 in self.success: - iter1228.write(oprot) + for iter1205 in self.success: + iter1205.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -34404,10 +34125,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype1232, _size1229) = iprot.readListBegin() - for _i1233 in xrange(_size1229): - _elem1234 = iprot.readString() - self.group_names.append(_elem1234) + (_etype1209, _size1206) = iprot.readListBegin() + for _i1210 in xrange(_size1206): + _elem1211 = iprot.readString() + self.group_names.append(_elem1211) iprot.readListEnd() else: iprot.skip(ftype) @@ -34432,8 +34153,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 iter1235 in self.group_names: - oprot.writeString(iter1235) + for iter1212 in self.group_names: + oprot.writeString(iter1212) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -34660,11 +34381,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1239, _size1236) = iprot.readListBegin() - for _i1240 in xrange(_size1236): - _elem1241 = HiveObjectPrivilege() - _elem1241.read(iprot) - self.success.append(_elem1241) + (_etype1216, _size1213) = iprot.readListBegin() + for _i1217 in xrange(_size1213): + _elem1218 = HiveObjectPrivilege() + _elem1218.read(iprot) + self.success.append(_elem1218) iprot.readListEnd() else: iprot.skip(ftype) @@ -34687,8 +34408,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 iter1242 in self.success: - iter1242.write(oprot) + for iter1219 in self.success: + iter1219.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -35186,10 +34907,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype1246, _size1243) = iprot.readListBegin() - for _i1247 in xrange(_size1243): - _elem1248 = iprot.readString() - self.group_names.append(_elem1248) + (_etype1223, _size1220) = iprot.readListBegin() + for _i1224 in xrange(_size1220): + _elem1225 = iprot.readString() + self.group_names.append(_elem1225) iprot.readListEnd() else: iprot.skip(ftype) @@ -35210,8 +34931,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 iter1249 in self.group_names: - oprot.writeString(iter1249) + for iter1226 in self.group_names: + oprot.writeString(iter1226) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -35266,10 +34987,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1253, _size1250) = iprot.readListBegin() - for _i1254 in xrange(_size1250): - _elem1255 = iprot.readString() - self.success.append(_elem1255) + (_etype1230, _size1227) = iprot.readListBegin() + for _i1231 in xrange(_size1227): + _elem1232 = iprot.readString() + self.success.append(_elem1232) iprot.readListEnd() else: iprot.skip(ftype) @@ -35292,8 +35013,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1256 in self.success: - oprot.writeString(iter1256) + for iter1233 in self.success: + oprot.writeString(iter1233) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -36225,10 +35946,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1260, _size1257) = iprot.readListBegin() - for _i1261 in xrange(_size1257): - _elem1262 = iprot.readString() - self.success.append(_elem1262) + (_etype1237, _size1234) = iprot.readListBegin() + for _i1238 in xrange(_size1234): + _elem1239 = iprot.readString() + self.success.append(_elem1239) iprot.readListEnd() else: iprot.skip(ftype) @@ -36245,8 +35966,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1263 in self.success: - oprot.writeString(iter1263) + for iter1240 in self.success: + oprot.writeString(iter1240) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -36773,10 +36494,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1267, _size1264) = iprot.readListBegin() - for _i1268 in xrange(_size1264): - _elem1269 = iprot.readString() - self.success.append(_elem1269) + (_etype1244, _size1241) = iprot.readListBegin() + for _i1245 in xrange(_size1241): + _elem1246 = iprot.readString() + self.success.append(_elem1246) iprot.readListEnd() else: iprot.skip(ftype) @@ -36793,8 +36514,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 iter1270 in self.success: - oprot.writeString(iter1270) + for iter1247 in self.success: + oprot.writeString(iter1247) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -43842,7 +43563,13 @@ class create_ischema_result: - o3 """ - thrift_spec = None + thrift_spec = ( + None, # 0 + (1, TType.STRUCT, 'o1', (AlreadyExistsException, AlreadyExistsException.thrift_spec), None, ), # 1 + (2, TType.STRUCT, 'o2', (NoSuchObjectException, NoSuchObjectException.thrift_spec), None, ), # 2 + (3, TType.STRUCT, 'o3', (MetaException, MetaException.thrift_spec), None, ), # 3 + ) + def __init__(self, o1=None, o2=None, o3=None,): self.o1 = o1 self.o2 = o2 @@ -43863,7 +43590,7 @@ def read(self, iprot): self.o1.read(iprot) else: iprot.skip(ftype) - elif fid == -1: + elif fid == 2: if ftype == TType.STRUCT: self.o2 = NoSuchObjectException() self.o2.read(iprot) @@ -43885,14 +43612,14 @@ def write(self, oprot): oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) return oprot.writeStructBegin('create_ischema_result') - if self.o2 is not None: - oprot.writeFieldBegin('o2', TType.STRUCT, -1) - self.o2.write(oprot) - oprot.writeFieldEnd() if self.o1 is not None: oprot.writeFieldBegin('o1', TType.STRUCT, 1) self.o1.write(oprot) oprot.writeFieldEnd() + if self.o2 is not None: + oprot.writeFieldBegin('o2', TType.STRUCT, 2) + self.o2.write(oprot) + oprot.writeFieldEnd() if self.o3 is not None: oprot.writeFieldBegin('o3', TType.STRUCT, 3) self.o3.write(oprot) @@ -44962,11 +44689,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1274, _size1271) = iprot.readListBegin() - for _i1275 in xrange(_size1271): - _elem1276 = SchemaVersion() - _elem1276.read(iprot) - self.success.append(_elem1276) + (_etype1251, _size1248) = iprot.readListBegin() + for _i1252 in xrange(_size1248): + _elem1253 = SchemaVersion() + _elem1253.read(iprot) + self.success.append(_elem1253) iprot.readListEnd() else: iprot.skip(ftype) @@ -44995,8 +44722,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1277 in self.success: - iter1277.write(oprot) + for iter1254 in self.success: + iter1254.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: diff --git a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py index 486f0612b9..c33d689b3a 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 @@ -12999,6 +12999,7 @@ class CreationMetadata: - tblName - tablesUsed - validTxnList + - materializationTime """ thrift_spec = ( @@ -13007,13 +13008,15 @@ class CreationMetadata: (2, TType.STRING, 'tblName', None, None, ), # 2 (3, TType.SET, 'tablesUsed', (TType.STRING,None), None, ), # 3 (4, TType.STRING, 'validTxnList', None, None, ), # 4 + (5, TType.I64, 'materializationTime', None, None, ), # 5 ) - def __init__(self, dbName=None, tblName=None, tablesUsed=None, validTxnList=None,): + def __init__(self, dbName=None, tblName=None, tablesUsed=None, validTxnList=None, materializationTime=None,): self.dbName = dbName self.tblName = tblName self.tablesUsed = tablesUsed self.validTxnList = validTxnList + self.materializationTime = materializationTime 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: @@ -13049,6 +13052,11 @@ def read(self, iprot): self.validTxnList = iprot.readString() else: iprot.skip(ftype) + elif fid == 5: + if ftype == TType.I64: + self.materializationTime = iprot.readI64() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -13078,6 +13086,10 @@ def write(self, oprot): oprot.writeFieldBegin('validTxnList', TType.STRING, 4) oprot.writeString(self.validTxnList) oprot.writeFieldEnd() + if self.materializationTime is not None: + oprot.writeFieldBegin('materializationTime', TType.I64, 5) + oprot.writeI64(self.materializationTime) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -13097,6 +13109,7 @@ def __hash__(self): value = (value * 31) ^ hash(self.tblName) value = (value * 31) ^ hash(self.tablesUsed) value = (value * 31) ^ hash(self.validTxnList) + value = (value * 31) ^ hash(self.materializationTime) return value def __repr__(self): @@ -15620,109 +15633,6 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class Materialization: - """ - Attributes: - - tablesUsed - - validTxnList - - invalidationTime - """ - - thrift_spec = ( - None, # 0 - (1, TType.SET, 'tablesUsed', (TType.STRING,None), None, ), # 1 - (2, TType.STRING, 'validTxnList', None, None, ), # 2 - (3, TType.I64, 'invalidationTime', None, None, ), # 3 - ) - - def __init__(self, tablesUsed=None, validTxnList=None, invalidationTime=None,): - self.tablesUsed = tablesUsed - self.validTxnList = validTxnList - self.invalidationTime = invalidationTime - - def read(self, iprot): - if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: - fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) - return - iprot.readStructBegin() - while True: - (fname, ftype, fid) = iprot.readFieldBegin() - if ftype == TType.STOP: - break - if fid == 1: - if ftype == TType.SET: - self.tablesUsed = set() - (_etype700, _size697) = iprot.readSetBegin() - for _i701 in xrange(_size697): - _elem702 = iprot.readString() - self.tablesUsed.add(_elem702) - iprot.readSetEnd() - else: - iprot.skip(ftype) - elif fid == 2: - if ftype == TType.STRING: - self.validTxnList = iprot.readString() - else: - iprot.skip(ftype) - elif fid == 3: - if ftype == TType.I64: - self.invalidationTime = iprot.readI64() - else: - iprot.skip(ftype) - else: - iprot.skip(ftype) - iprot.readFieldEnd() - iprot.readStructEnd() - - def write(self, oprot): - if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: - oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) - return - oprot.writeStructBegin('Materialization') - if self.tablesUsed is not None: - oprot.writeFieldBegin('tablesUsed', TType.SET, 1) - oprot.writeSetBegin(TType.STRING, len(self.tablesUsed)) - for iter703 in self.tablesUsed: - oprot.writeString(iter703) - oprot.writeSetEnd() - oprot.writeFieldEnd() - if self.validTxnList is not None: - oprot.writeFieldBegin('validTxnList', TType.STRING, 2) - oprot.writeString(self.validTxnList) - oprot.writeFieldEnd() - if self.invalidationTime is not None: - oprot.writeFieldBegin('invalidationTime', TType.I64, 3) - oprot.writeI64(self.invalidationTime) - oprot.writeFieldEnd() - oprot.writeFieldStop() - oprot.writeStructEnd() - - def validate(self): - if self.tablesUsed is None: - raise TProtocol.TProtocolException(message='Required field tablesUsed is unset!') - if self.invalidationTime is None: - raise TProtocol.TProtocolException(message='Required field invalidationTime is unset!') - return - - - def __hash__(self): - value = 17 - value = (value * 31) ^ hash(self.tablesUsed) - value = (value * 31) ^ hash(self.validTxnList) - value = (value * 31) ^ hash(self.invalidationTime) - return value - - def __repr__(self): - L = ['%s=%r' % (key, value) - for key, value in self.__dict__.iteritems()] - return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) - - def __eq__(self, other): - return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ - - def __ne__(self, other): - return not (self == other) - class WMResourcePlan: """ Attributes: @@ -16587,44 +16497,44 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.pools = [] - (_etype707, _size704) = iprot.readListBegin() - for _i708 in xrange(_size704): - _elem709 = WMPool() - _elem709.read(iprot) - self.pools.append(_elem709) + (_etype700, _size697) = iprot.readListBegin() + for _i701 in xrange(_size697): + _elem702 = WMPool() + _elem702.read(iprot) + self.pools.append(_elem702) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.mappings = [] - (_etype713, _size710) = iprot.readListBegin() - for _i714 in xrange(_size710): - _elem715 = WMMapping() - _elem715.read(iprot) - self.mappings.append(_elem715) + (_etype706, _size703) = iprot.readListBegin() + for _i707 in xrange(_size703): + _elem708 = WMMapping() + _elem708.read(iprot) + self.mappings.append(_elem708) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.triggers = [] - (_etype719, _size716) = iprot.readListBegin() - for _i720 in xrange(_size716): - _elem721 = WMTrigger() - _elem721.read(iprot) - self.triggers.append(_elem721) + (_etype712, _size709) = iprot.readListBegin() + for _i713 in xrange(_size709): + _elem714 = WMTrigger() + _elem714.read(iprot) + self.triggers.append(_elem714) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.poolTriggers = [] - (_etype725, _size722) = iprot.readListBegin() - for _i726 in xrange(_size722): - _elem727 = WMPoolTrigger() - _elem727.read(iprot) - self.poolTriggers.append(_elem727) + (_etype718, _size715) = iprot.readListBegin() + for _i719 in xrange(_size715): + _elem720 = WMPoolTrigger() + _elem720.read(iprot) + self.poolTriggers.append(_elem720) iprot.readListEnd() else: iprot.skip(ftype) @@ -16645,29 +16555,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 iter728 in self.pools: - iter728.write(oprot) + for iter721 in self.pools: + iter721.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 iter729 in self.mappings: - iter729.write(oprot) + for iter722 in self.mappings: + iter722.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 iter730 in self.triggers: - iter730.write(oprot) + for iter723 in self.triggers: + iter723.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 iter731 in self.poolTriggers: - iter731.write(oprot) + for iter724 in self.poolTriggers: + iter724.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17141,11 +17051,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.resourcePlans = [] - (_etype735, _size732) = iprot.readListBegin() - for _i736 in xrange(_size732): - _elem737 = WMResourcePlan() - _elem737.read(iprot) - self.resourcePlans.append(_elem737) + (_etype728, _size725) = iprot.readListBegin() + for _i729 in xrange(_size725): + _elem730 = WMResourcePlan() + _elem730.read(iprot) + self.resourcePlans.append(_elem730) iprot.readListEnd() else: iprot.skip(ftype) @@ -17162,8 +17072,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 iter738 in self.resourcePlans: - iter738.write(oprot) + for iter731 in self.resourcePlans: + iter731.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17467,20 +17377,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.errors = [] - (_etype742, _size739) = iprot.readListBegin() - for _i743 in xrange(_size739): - _elem744 = iprot.readString() - self.errors.append(_elem744) + (_etype735, _size732) = iprot.readListBegin() + for _i736 in xrange(_size732): + _elem737 = iprot.readString() + self.errors.append(_elem737) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.warnings = [] - (_etype748, _size745) = iprot.readListBegin() - for _i749 in xrange(_size745): - _elem750 = iprot.readString() - self.warnings.append(_elem750) + (_etype741, _size738) = iprot.readListBegin() + for _i742 in xrange(_size738): + _elem743 = iprot.readString() + self.warnings.append(_elem743) iprot.readListEnd() else: iprot.skip(ftype) @@ -17497,15 +17407,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 iter751 in self.errors: - oprot.writeString(iter751) + for iter744 in self.errors: + oprot.writeString(iter744) oprot.writeListEnd() oprot.writeFieldEnd() if self.warnings is not None: oprot.writeFieldBegin('warnings', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.warnings)) - for iter752 in self.warnings: - oprot.writeString(iter752) + for iter745 in self.warnings: + oprot.writeString(iter745) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18082,11 +17992,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.triggers = [] - (_etype756, _size753) = iprot.readListBegin() - for _i757 in xrange(_size753): - _elem758 = WMTrigger() - _elem758.read(iprot) - self.triggers.append(_elem758) + (_etype749, _size746) = iprot.readListBegin() + for _i750 in xrange(_size746): + _elem751 = WMTrigger() + _elem751.read(iprot) + self.triggers.append(_elem751) iprot.readListEnd() else: iprot.skip(ftype) @@ -18103,8 +18013,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 iter759 in self.triggers: - iter759.write(oprot) + for iter752 in self.triggers: + iter752.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19262,11 +19172,11 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.cols = [] - (_etype763, _size760) = iprot.readListBegin() - for _i764 in xrange(_size760): - _elem765 = FieldSchema() - _elem765.read(iprot) - self.cols.append(_elem765) + (_etype756, _size753) = iprot.readListBegin() + for _i757 in xrange(_size753): + _elem758 = FieldSchema() + _elem758.read(iprot) + self.cols.append(_elem758) iprot.readListEnd() else: iprot.skip(ftype) @@ -19326,8 +19236,8 @@ def write(self, oprot): if self.cols is not None: oprot.writeFieldBegin('cols', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.cols)) - for iter766 in self.cols: - iter766.write(oprot) + for iter759 in self.cols: + iter759.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.state is not None: @@ -19582,11 +19492,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.schemaVersions = [] - (_etype770, _size767) = iprot.readListBegin() - for _i771 in xrange(_size767): - _elem772 = SchemaVersionDescriptor() - _elem772.read(iprot) - self.schemaVersions.append(_elem772) + (_etype763, _size760) = iprot.readListBegin() + for _i764 in xrange(_size760): + _elem765 = SchemaVersionDescriptor() + _elem765.read(iprot) + self.schemaVersions.append(_elem765) iprot.readListEnd() else: iprot.skip(ftype) @@ -19603,8 +19513,8 @@ def write(self, oprot): if self.schemaVersions is not None: oprot.writeFieldBegin('schemaVersions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.schemaVersions)) - for iter773 in self.schemaVersions: - iter773.write(oprot) + for iter766 in self.schemaVersions: + iter766.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 dd7467c503..fa49d942dc 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 @@ -2935,12 +2935,14 @@ class CreationMetadata TBLNAME = 2 TABLESUSED = 3 VALIDTXNLIST = 4 + MATERIALIZATIONTIME = 5 FIELDS = { DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'}, TBLNAME => {:type => ::Thrift::Types::STRING, :name => 'tblName'}, TABLESUSED => {:type => ::Thrift::Types::SET, :name => 'tablesUsed', :element => {:type => ::Thrift::Types::STRING}}, - VALIDTXNLIST => {:type => ::Thrift::Types::STRING, :name => 'validTxnList', :optional => true} + VALIDTXNLIST => {:type => ::Thrift::Types::STRING, :name => 'validTxnList', :optional => true}, + MATERIALIZATIONTIME => {:type => ::Thrift::Types::I64, :name => 'materializationTime', :optional => true} } def struct_fields; FIELDS; end @@ -3546,28 +3548,6 @@ class TableMeta ::Thrift::Struct.generate_accessors self end -class Materialization - include ::Thrift::Struct, ::Thrift::Struct_Union - TABLESUSED = 1 - VALIDTXNLIST = 2 - INVALIDATIONTIME = 3 - - FIELDS = { - TABLESUSED => {:type => ::Thrift::Types::SET, :name => 'tablesUsed', :element => {:type => ::Thrift::Types::STRING}}, - VALIDTXNLIST => {:type => ::Thrift::Types::STRING, :name => 'validTxnList', :optional => true}, - INVALIDATIONTIME => {:type => ::Thrift::Types::I64, :name => 'invalidationTime'} - } - - def struct_fields; FIELDS; end - - def validate - raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field tablesUsed is unset!') unless @tablesUsed - raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field invalidationTime is unset!') unless @invalidationTime - end - - ::Thrift::Struct.generate_accessors self -end - class WMResourcePlan include ::Thrift::Struct, ::Thrift::Struct_Union NAME = 1 diff --git a/standalone-metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb b/standalone-metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb index e6787c1e02..f40ef2e4a1 100644 --- a/standalone-metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ b/standalone-metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb @@ -626,24 +626,6 @@ module ThriftHiveMetastore raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_table_objects_by_name_req failed: unknown result') end - def get_materialization_invalidation_info(dbname, tbl_names) - send_get_materialization_invalidation_info(dbname, tbl_names) - return recv_get_materialization_invalidation_info() - end - - def send_get_materialization_invalidation_info(dbname, tbl_names) - send_message('get_materialization_invalidation_info', Get_materialization_invalidation_info_args, :dbname => dbname, :tbl_names => tbl_names) - end - - def recv_get_materialization_invalidation_info() - result = receive_message(Get_materialization_invalidation_info_result) - return result.success unless result.success.nil? - raise result.o1 unless result.o1.nil? - raise result.o2 unless result.o2.nil? - raise result.o3 unless result.o3.nil? - raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_materialization_invalidation_info failed: unknown result') - end - def update_creation_metadata(dbname, tbl_name, creation_metadata) send_update_creation_metadata(dbname, tbl_name, creation_metadata) recv_update_creation_metadata() @@ -3734,21 +3716,6 @@ module ThriftHiveMetastore write_result(result, oprot, 'get_table_objects_by_name_req', seqid) end - def process_get_materialization_invalidation_info(seqid, iprot, oprot) - args = read_args(iprot, Get_materialization_invalidation_info_args) - result = Get_materialization_invalidation_info_result.new() - begin - result.success = @handler.get_materialization_invalidation_info(args.dbname, args.tbl_names) - rescue ::MetaException => o1 - result.o1 = o1 - rescue ::InvalidOperationException => o2 - result.o2 = o2 - rescue ::UnknownDBException => o3 - result.o3 = o3 - end - write_result(result, oprot, 'get_materialization_invalidation_info', seqid) - end - def process_update_creation_metadata(seqid, iprot, oprot) args = read_args(iprot, Update_creation_metadata_args) result = Update_creation_metadata_result.new() @@ -7060,46 +7027,6 @@ module ThriftHiveMetastore ::Thrift::Struct.generate_accessors self end - class Get_materialization_invalidation_info_args - include ::Thrift::Struct, ::Thrift::Struct_Union - DBNAME = 1 - TBL_NAMES = 2 - - FIELDS = { - DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbname'}, - TBL_NAMES => {:type => ::Thrift::Types::LIST, :name => 'tbl_names', :element => {:type => ::Thrift::Types::STRING}} - } - - def struct_fields; FIELDS; end - - def validate - end - - ::Thrift::Struct.generate_accessors self - end - - class Get_materialization_invalidation_info_result - include ::Thrift::Struct, ::Thrift::Struct_Union - SUCCESS = 0 - O1 = 1 - O2 = 2 - O3 = 3 - - FIELDS = { - SUCCESS => {:type => ::Thrift::Types::MAP, :name => 'success', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::Materialization}}, - O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::MetaException}, - O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::InvalidOperationException}, - O3 => {:type => ::Thrift::Types::STRUCT, :name => 'o3', :class => ::UnknownDBException} - } - - def struct_fields; FIELDS; end - - def validate - end - - ::Thrift::Struct.generate_accessors self - end - class Update_creation_metadata_args include ::Thrift::Struct, ::Thrift::Struct_Union DBNAME = 1 @@ -12431,7 +12358,7 @@ module ThriftHiveMetastore class Create_ischema_result include ::Thrift::Struct, ::Thrift::Struct_Union O1 = 1 - O2 = -1 + O2 = 2 O3 = 3 FIELDS = { 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 84fac2dfa4..23b3428325 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 @@ -2566,11 +2566,6 @@ public GetTablesResult get_table_objects_by_name_req(GetTablesRequest req) throw return tables; } - @Override - public Map get_materialization_invalidation_info(final String dbName, final List tableNames) { - return MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo(dbName, tableNames); - } - @Override public void update_creation_metadata(final String dbName, final String tableName, CreationMetadata cm) throws MetaException { getMS().updateCreationMetadata(dbName, tableName, cm); @@ -8098,9 +8093,6 @@ public static void startMetaStore(int port, HadoopThriftAuthBridge bridge, false); IHMSHandler handler = newRetryingHMSHandler(baseHandler, conf); - // Initialize materializations invalidation cache - MaterializationsInvalidationCache.get().init(conf, handler); - TServerSocket serverSocket; if (useSasl) { 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 0e561f82ff..99a0e74de4 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 @@ -164,8 +164,6 @@ public HiveMetaStoreClient(Configuration conf, HiveMetaHookLoader hookLoader, Bo // instantiate the metastore server handler directly instead of connecting // through the network client = HiveMetaStore.newRetryingHMSHandler("hive client", this.conf, true); - // Initialize materializations invalidation cache (only for local metastore) - MaterializationsInvalidationCache.get().init(conf, (IHMSHandler) client); isConnected = true; snapshotActiveConf(); return; @@ -1460,14 +1458,6 @@ public Table getTable(String tableName) throws MetaException, TException, return fastpath ? tabs : deepCopyTables(filterHook.filterTables(tabs)); } - /** {@inheritDoc} */ - @Override - public Map getMaterializationsInvalidationInfo(String dbName, List viewNames) - throws MetaException, InvalidOperationException, UnknownDBException, TException { - return client.get_materialization_invalidation_info( - dbName, filterHook.filterTableNames(dbName, viewNames)); - } - /** {@inheritDoc} */ @Override public void updateCreationMetadata(String dbName, String tableName, CreationMetadata cm) 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 f1d5066657..c44af44712 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 @@ -71,7 +71,6 @@ import org.apache.hadoop.hive.metastore.api.InvalidPartitionException; import org.apache.hadoop.hive.metastore.api.LockRequest; import org.apache.hadoop.hive.metastore.api.LockResponse; -import org.apache.hadoop.hive.metastore.api.Materialization; import org.apache.hadoop.hive.metastore.api.MetaException; import org.apache.hadoop.hive.metastore.api.MetadataPpdResult; import org.apache.hadoop.hive.metastore.api.NoSuchLockException; @@ -453,12 +452,6 @@ Table getTable(String dbName, String tableName) throws MetaException, List
getTableObjectsByName(String dbName, List tableNames) throws MetaException, InvalidOperationException, UnknownDBException, TException; - /** - * Returns the invalidation information for the materialized views given as input. - */ - Map getMaterializationsInvalidationInfo(String dbName, List viewNames) - throws MetaException, InvalidOperationException, UnknownDBException, TException; - /** * Updates the creation metadata for the materialized view. */ diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationInvalidationInfo.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationInvalidationInfo.java deleted file mode 100644 index 3d774071c2..0000000000 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationInvalidationInfo.java +++ /dev/null @@ -1,60 +0,0 @@ -/* - * 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; - -import java.util.Set; -import java.util.concurrent.atomic.AtomicLong; - -import org.apache.hadoop.hive.metastore.api.Materialization; -import org.apache.hadoop.hive.metastore.api.Table; - -/** - * Contains information about the invalidation of a materialization, - * including the materialization name, the tables that it uses, and - * the invalidation time, i.e., the first moment t0 after the - * materialization was created at which one of the tables that it uses - * was modified. - */ -@SuppressWarnings("serial") -public class MaterializationInvalidationInfo extends Materialization { - - private AtomicLong invalidationTime; - - public MaterializationInvalidationInfo(Set tablesUsed, String validTxnList) { - super(tablesUsed, 0); - this.setValidTxnList(validTxnList); - this.invalidationTime = new AtomicLong(0); - } - - public boolean compareAndSetInvalidationTime(long expect, long update) { - boolean success = invalidationTime.compareAndSet(expect, update); - if (success) { - super.setInvalidationTime(update); - } - return success; - } - - public long getInvalidationTime() { - return invalidationTime.get(); - } - - public void setInvalidationTime(long invalidationTime) { - throw new UnsupportedOperationException("You should call compareAndSetInvalidationTime instead"); - } - -} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsCacheCleanerTask.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsCacheCleanerTask.java deleted file mode 100644 index cc168a913b..0000000000 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsCacheCleanerTask.java +++ /dev/null @@ -1,63 +0,0 @@ -/* - * 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; - -import org.apache.hadoop.conf.Configuration; -import org.apache.hadoop.hive.metastore.conf.MetastoreConf; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -import java.util.concurrent.TimeUnit; - -/** - * Task responsible for cleaning the transactions that are not useful from the - * materializations cache. - */ -public class MaterializationsCacheCleanerTask implements MetastoreTaskThread { - private static final Logger LOG = LoggerFactory.getLogger(MaterializationsCacheCleanerTask.class); - - private Configuration conf; - - @Override - public long runFrequency(TimeUnit unit) { - return MetastoreConf.getTimeVar(conf, - MetastoreConf.ConfVars.MATERIALIZATIONS_INVALIDATION_CACHE_CLEAN_FREQUENCY, unit); - } - - @Override - public void setConf(Configuration configuration) { - conf = configuration; - } - - @Override - public Configuration getConf() { - return conf; - } - - @Override - public void run() { - long removedCnt = MaterializationsInvalidationCache.get().cleanup(System.currentTimeMillis() - - MetastoreConf.getTimeVar(conf, - MetastoreConf.ConfVars.MATERIALIZATIONS_INVALIDATION_CACHE_EXPIRY_DURATION, TimeUnit.MILLISECONDS)); - if (removedCnt > 0) { - if (LOG.isDebugEnabled()) { - LOG.debug("Number of transaction entries deleted from materializations cache: " + removedCnt); - } - } - } -} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsInvalidationCache.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsInvalidationCache.java deleted file mode 100644 index 1636d48d2c..0000000000 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsInvalidationCache.java +++ /dev/null @@ -1,480 +0,0 @@ -/* - * 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; - -import java.util.Collection; -import java.util.Iterator; -import java.util.List; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Set; -import java.util.concurrent.ConcurrentHashMap; -import java.util.concurrent.ConcurrentMap; -import java.util.concurrent.ConcurrentSkipListMap; -import java.util.concurrent.ExecutorService; -import java.util.concurrent.Executors; - -import org.apache.hadoop.conf.Configuration; -import org.apache.hadoop.hive.common.ValidReadTxnList; -import org.apache.hadoop.hive.common.ValidTxnList; -import com.google.common.collect.HashMultimap; -import com.google.common.collect.Multimap; -import org.apache.hadoop.hive.metastore.api.BasicTxnInfo; -import org.apache.hadoop.hive.metastore.api.Materialization; -import org.apache.hadoop.hive.metastore.api.MetaException; -import org.apache.hadoop.hive.metastore.api.Table; -import org.apache.hadoop.hive.metastore.conf.MetastoreConf; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -import com.google.common.collect.ImmutableMap; -import com.google.common.collect.ImmutableSet; - -/** - * This cache keeps information in memory about the table modifications so materialized views - * can verify their invalidation time, i.e., the moment after materialization on which the - * first transaction to the tables they used happened. This information is kept in memory - * to check the invalidation quickly. However, we store enough information in the metastore - * to bring this cache up if the metastore is restarted or would crashed. This cache lives - * in the metastore server. - */ -public final class MaterializationsInvalidationCache { - - private static final Logger LOG = LoggerFactory.getLogger(MaterializationsInvalidationCache.class); - - /* Singleton */ - private static final MaterializationsInvalidationCache SINGLETON = new MaterializationsInvalidationCache(); - - /* If this boolean is true, this class has no functionality. Only for debugging purposes. */ - private boolean disable; - - /* Key is the database name. Each value is a map from the unique view qualified name to - * the materialization invalidation info. This invalidation object contains information - * such as the tables used by the materialized view or the invalidation time, i.e., first - * modification of the tables used by materialized view after the view was created. */ - private final ConcurrentMap> materializations = - new ConcurrentHashMap>(); - - /* - * Key is a qualified table name. The value is a (sorted) tree map (supporting concurrent - * modifications) that will keep the modifications for a given table in the order of their - * transaction id. This is useful to quickly check the invalidation time for a given - * materialization. - */ - private final ConcurrentMap> tableModifications = - new ConcurrentHashMap>(); - - /* Whether the cache has been initialized or not. */ - private boolean initialized; - /* Configuration for cache. */ - private Configuration conf; - /* Handler to connect to metastore. */ - private IHMSHandler handler; - - private MaterializationsInvalidationCache() { - } - - /** - * Get instance of MaterializationsInvalidationCache. - * - * @return the singleton - */ - public static MaterializationsInvalidationCache get() { - return SINGLETON; - } - - /** - * Initialize the invalidation cache. - * - * The method is synchronized because we want to avoid initializing the invalidation cache - * multiple times in embedded mode. This will not happen when we run the metastore remotely - * as the method is called only once. - */ - public synchronized void init(Configuration conf, IHMSHandler handler) { - this.conf = conf; - this.handler = handler; - - // This will only be true for debugging purposes - this.disable = MetastoreConf.getVar(conf, - MetastoreConf.ConfVars.MATERIALIZATIONS_INVALIDATION_CACHE_IMPL).equals("DISABLE"); - if (disable) { - // Nothing to do - return; - } - - if (!initialized) { - this.initialized = true; - ExecutorService pool = Executors.newCachedThreadPool(); - pool.submit(new Loader()); - pool.shutdown(); - } - } - - private class Loader implements Runnable { - @Override - public void run() { - try { - RawStore store = handler.getMS(); - for (String dbName : store.getAllDatabases()) { - for (Table mv : store.getTableObjectsByName(dbName, store.getTables(dbName, null, TableType.MATERIALIZED_VIEW))) { - addMaterializedView(mv.getDbName(), mv.getTableName(), ImmutableSet.copyOf(mv.getCreationMetadata().getTablesUsed()), - mv.getCreationMetadata().getValidTxnList(), OpType.LOAD); - } - } - LOG.info("Initialized materializations invalidation cache"); - } catch (Exception e) { - LOG.error("Problem connecting to the metastore when initializing the view registry"); - } - } - } - - /** - * Adds a newly created materialized view to the cache. - * - * @param dbName - * @param tableName - * @param tablesUsed tables used by the materialized view - * @param validTxnList - */ - public void createMaterializedView(String dbName, String tableName, Set tablesUsed, - String validTxnList) { - addMaterializedView(dbName, tableName, tablesUsed, validTxnList, OpType.CREATE); - } - - /** - * Method to call when materialized view is modified. - * - * @param dbName - * @param tableName - * @param tablesUsed tables used by the materialized view - * @param validTxnList - */ - public void alterMaterializedView(String dbName, String tableName, Set tablesUsed, - String validTxnList) { - addMaterializedView(dbName, tableName, tablesUsed, validTxnList, OpType.ALTER); - } - - /** - * Adds the materialized view to the cache. - * - * @param dbName - * @param tableName - * @param tablesUsed tables used by the materialized view - * @param validTxnList - * @param opType - */ - private void addMaterializedView(String dbName, String tableName, Set tablesUsed, - String validTxnList, OpType opType) { - if (disable) { - // Nothing to do - return; - } - // We are going to create the map for each view in the given database - ConcurrentMap cq = - new ConcurrentHashMap(); - final ConcurrentMap prevCq = materializations.putIfAbsent( - dbName, cq); - if (prevCq != null) { - cq = prevCq; - } - // Start the process to add materialization to the cache - // Before loading the materialization in the cache, we need to update some - // important information in the registry to account for rewriting invalidation - if (validTxnList == null) { - // This can happen when the materialized view was created on non-transactional tables - return; - } - if (opType == OpType.CREATE || opType == OpType.ALTER) { - // You store the materialized view - cq.put(tableName, new MaterializationInvalidationInfo(tablesUsed, validTxnList)); - } else { - ValidTxnList txnList = new ValidReadTxnList(validTxnList); - for (String qNameTableUsed : tablesUsed) { - // First we insert a new tree set to keep table modifications, unless it already exists - ConcurrentSkipListMap modificationsTree = - new ConcurrentSkipListMap(); - final ConcurrentSkipListMap prevModificationsTree = tableModifications.putIfAbsent( - qNameTableUsed, modificationsTree); - if (prevModificationsTree != null) { - modificationsTree = prevModificationsTree; - } - // If we are not creating the MV at this instant, but instead it was created previously - // and we are loading it into the cache, we need to go through the transaction entries and - // check if the MV is still valid. - try { - String[] names = qNameTableUsed.split("\\."); - BasicTxnInfo e = handler.getTxnHandler().getFirstCompletedTransactionForTableAfterCommit( - names[0], names[1], txnList); - if (!e.isIsnull()) { - modificationsTree.put(e.getTxnid(), e.getTime()); - // We do not need to do anything more for current table, as we detected - // a modification event that was in the metastore. - continue; - } - } catch (MetaException ex) { - LOG.debug("Materialized view " + Warehouse.getQualifiedName(dbName, tableName) + - " ignored; error loading view into invalidation cache", ex); - return; - } - } - // For LOAD, you only add it if it does exist as you might be loading an outdated MV - cq.putIfAbsent(tableName, new MaterializationInvalidationInfo(tablesUsed, validTxnList)); - } - if (LOG.isDebugEnabled()) { - LOG.debug("Cached materialized view for rewriting in invalidation cache: " + - Warehouse.getQualifiedName(dbName, tableName)); - } - } - - /** - * This method is called when a table is modified. That way we can keep track of the - * invalidation for the MVs that use that table. - */ - public void notifyTableModification(String dbName, String tableName, - long txnId, long newModificationTime) { - if (disable) { - // Nothing to do - return; - } - if (LOG.isDebugEnabled()) { - LOG.debug("Notification for table {} in database {} received -> id: {}, time: {}", - tableName, dbName, txnId, newModificationTime); - } - ConcurrentSkipListMap modificationsTree = - new ConcurrentSkipListMap(); - final ConcurrentSkipListMap prevModificationsTree = - tableModifications.putIfAbsent(Warehouse.getQualifiedName(dbName, tableName), modificationsTree); - if (prevModificationsTree != null) { - modificationsTree = prevModificationsTree; - } - modificationsTree.put(txnId, newModificationTime); - } - - /** - * Removes the materialized view from the cache. - * - * @param dbName - * @param tableName - */ - public void dropMaterializedView(String dbName, String tableName) { - if (disable) { - // Nothing to do - return; - } - materializations.get(dbName).remove(tableName); - } - - /** - * Returns the materialized views in the cache for the given database. - * - * @param dbName the database - * @return the collection of materialized views, or the empty collection if none - */ - public Map getMaterializationInvalidationInfo( - String dbName, List materializationNames) { - if (materializations.get(dbName) != null) { - ImmutableMap.Builder m = ImmutableMap.builder(); - for (String materializationName : materializationNames) { - MaterializationInvalidationInfo materialization = - materializations.get(dbName).get(materializationName); - if (materialization == null) { - LOG.debug("Materialization {} skipped as there is no information " - + "in the invalidation cache about it", materializationName); - continue; - } - long invalidationTime = getInvalidationTime(materialization); - // We need to check whether previous value is zero, as data modification - // in another table used by the materialized view might have modified - // the value too - boolean modified = materialization.compareAndSetInvalidationTime(0L, invalidationTime); - while (!modified) { - long currentInvalidationTime = materialization.getInvalidationTime(); - if (invalidationTime < currentInvalidationTime) { - // It was set by other table modification, but it was after this table modification - // hence we need to set it - modified = materialization.compareAndSetInvalidationTime(currentInvalidationTime, invalidationTime); - } else { - // Nothing to do - modified = true; - } - } - m.put(materializationName, materialization); - } - Map result = m.build(); - if (LOG.isDebugEnabled()) { - LOG.debug("Retrieved the following materializations from the invalidation cache: {}", result); - } - return result; - } - return ImmutableMap.of(); - } - - private long getInvalidationTime(MaterializationInvalidationInfo materialization) { - String txnListString = materialization.getValidTxnList(); - if (txnListString == null) { - // This can happen when the materialization was created on non-transactional tables - return Long.MIN_VALUE; - } - - // We will obtain the modification time as follows. - // First, we obtain the first element after high watermark (if any) - // Then, we iterate through the elements from min open txn till high - // watermark, updating the modification time after creation if needed - ValidTxnList txnList = new ValidReadTxnList(txnListString); - long firstModificationTimeAfterCreation = 0L; - for (String qNameTableUsed : materialization.getTablesUsed()) { - final Entry tn = tableModifications.get(qNameTableUsed) - .higherEntry(txnList.getHighWatermark()); - if (tn != null) { - if (firstModificationTimeAfterCreation == 0L || - tn.getValue() < firstModificationTimeAfterCreation) { - firstModificationTimeAfterCreation = tn.getValue(); - } - } - // Min open txn might be null if there were no open transactions - // when this transaction was being executed - if (txnList.getMinOpenTxn() != null) { - // Invalid transaction list is sorted - int pos = 0; - for (Map.Entry t : tableModifications.get(qNameTableUsed) - .subMap(txnList.getMinOpenTxn(), txnList.getHighWatermark()).entrySet()) { - while (pos < txnList.getInvalidTransactions().length && - txnList.getInvalidTransactions()[pos] != t.getKey()) { - pos++; - } - if (pos >= txnList.getInvalidTransactions().length) { - break; - } - if (firstModificationTimeAfterCreation == 0L || - t.getValue() < firstModificationTimeAfterCreation) { - firstModificationTimeAfterCreation = t.getValue(); - } - } - } - } - return firstModificationTimeAfterCreation; - } - - private enum OpType { - CREATE, - LOAD, - ALTER - } - - /** - * Removes transaction events that are not relevant anymore. - * @param minTime events generated before this time (ms) can be deleted from the cache - * @return number of events that were deleted from the cache - */ - public long cleanup(long minTime) { - // To remove, mv should meet two conditions: - // 1) Current time - time of transaction > config parameter, and - // 2) Transaction should not be associated with invalidation of a MV - if (disable || !initialized) { - // Bail out - return 0L; - } - // We execute the cleanup in two steps - // First we gather all the transactions that need to be kept - final Multimap keepTxnInfos = HashMultimap.create(); - for (Map.Entry> e : materializations.entrySet()) { - for (MaterializationInvalidationInfo m : e.getValue().values()) { - ValidTxnList txnList = new ValidReadTxnList(m.getValidTxnList()); - boolean canBeDeleted = false; - String currentTableForInvalidatingTxn = null; - long currentInvalidatingTxnId = 0L; - long currentInvalidatingTxnTime = 0L; - for (String qNameTableUsed : m.getTablesUsed()) { - final Entry tn = tableModifications.get(qNameTableUsed) - .higherEntry(txnList.getHighWatermark()); - if (tn != null) { - if (currentInvalidatingTxnTime == 0L || - tn.getValue() < currentInvalidatingTxnTime) { - // This transaction 1) is the first one examined for this materialization, or - // 2) it is the invalidating transaction. Hence we add it to the transactions to keep. - // 1.- We remove the previous invalidating transaction from the transactions - // to be kept (if needed). - if (canBeDeleted && currentInvalidatingTxnTime < minTime) { - keepTxnInfos.remove(currentTableForInvalidatingTxn, currentInvalidatingTxnId); - } - // 2.- We add this transaction to the transactions that should be kept. - canBeDeleted = !keepTxnInfos.get(qNameTableUsed).contains(tn.getKey()); - keepTxnInfos.put(qNameTableUsed, tn.getKey()); - // 3.- We record this transaction as the current invalidating transaction. - currentTableForInvalidatingTxn = qNameTableUsed; - currentInvalidatingTxnId = tn.getKey(); - currentInvalidatingTxnTime = tn.getValue(); - } - } - if (txnList.getMinOpenTxn() != null) { - // Invalid transaction list is sorted - int pos = 0; - for (Entry t : tableModifications.get(qNameTableUsed) - .subMap(txnList.getMinOpenTxn(), txnList.getHighWatermark()).entrySet()) { - while (pos < txnList.getInvalidTransactions().length && - txnList.getInvalidTransactions()[pos] != t.getKey()) { - pos++; - } - if (pos >= txnList.getInvalidTransactions().length) { - break; - } - if (currentInvalidatingTxnTime == 0L || - t.getValue() < currentInvalidatingTxnTime) { - // This transaction 1) is the first one examined for this materialization, or - // 2) it is the invalidating transaction. Hence we add it to the transactions to keep. - // 1.- We remove the previous invalidating transaction from the transactions - // to be kept (if needed). - if (canBeDeleted && currentInvalidatingTxnTime < minTime) { - keepTxnInfos.remove(currentTableForInvalidatingTxn, currentInvalidatingTxnId); - } - // 2.- We add this transaction to the transactions that should be kept. - canBeDeleted = !keepTxnInfos.get(qNameTableUsed).contains(t.getKey()); - keepTxnInfos.put(qNameTableUsed, t.getKey()); - // 3.- We record this transaction as the current invalidating transaction. - currentTableForInvalidatingTxn = qNameTableUsed; - currentInvalidatingTxnId = t.getKey(); - currentInvalidatingTxnTime = t.getValue(); - } - } - } - } - } - } - // Second, we remove the transactions - long removed = 0L; - for (Entry> e : tableModifications.entrySet()) { - Collection c = keepTxnInfos.get(e.getKey()); - for (Iterator> it = e.getValue().entrySet().iterator(); it.hasNext();) { - Entry v = it.next(); - // We need to check again the time because some of the transactions might not be explored - // above, e.g., transactions above the highest transaction mark for all the materialized - // views. - if (v.getValue() < minTime && (c.isEmpty() || !c.contains(v.getKey()))) { - if (LOG.isDebugEnabled()) { - LOG.debug("Transaction removed from cache for table {} -> id: {}, time: {}", - e.getKey(), v.getKey(), v.getValue()); - } - it.remove(); - removed++; - } - } - } - return removed; - } - -} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java index 88d88ed4df..583110670b 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java @@ -1158,13 +1158,6 @@ public void createTable(Table tbl) throws InvalidObjectException, MetaException } finally { if (!commited) { rollbackTransaction(); - } else { - if (MetaStoreUtils.isMaterializedViewTable(tbl)) { - // Add to the invalidation cache - MaterializationsInvalidationCache.get().createMaterializedView( - tbl.getDbName(), tbl.getTableName(), tbl.getCreationMetadata().getTablesUsed(), - tbl.getCreationMetadata().getValidTxnList()); - } } } } @@ -1262,10 +1255,6 @@ public boolean dropTable(String dbName, String tableName) throws MetaException, } finally { if (!success) { rollbackTransaction(); - } else { - if (materializedView) { - MaterializationsInvalidationCache.get().dropMaterializedView(dbName, tableName); - } } } return success; @@ -1655,7 +1644,13 @@ private MTable getMTable(String db, String table) { query.declareParameters("java.lang.String db, java.util.Collection tbl_names"); Collection mtables = (Collection) query.execute(db, lowered_tbl_names); for (Iterator iter = mtables.iterator(); iter.hasNext();) { - tables.add(convertToTable((MTable) iter.next())); + Table tbl = convertToTable((MTable) iter.next()); + // Retrieve creation metadata if needed + if (TableType.MATERIALIZED_VIEW.toString().equals(tbl.getTableType())) { + tbl.setCreationMetadata( + convertToCreationMetadata(getCreationMetadata(tbl.getDbName(), tbl.getTableName()))); + } + tables.add(tbl); } committed = commitTransaction(); } finally { @@ -1955,6 +1950,7 @@ private MStorageDescriptor convertToMStorageDescriptor(StorageDescriptor sd, private MCreationMetadata convertToMCreationMetadata( CreationMetadata m) throws MetaException { + assert !m.isSetMaterializationTime(); if (m == null) { return null; } @@ -1964,7 +1960,7 @@ private MCreationMetadata convertToMCreationMetadata( tablesUsed.add(getMTable(names[0], names[1], false).mtbl); } return new MCreationMetadata(m.getDbName(), m.getTblName(), - tablesUsed, m.getValidTxnList()); + tablesUsed, m.getValidTxnList(), System.currentTimeMillis()); } private CreationMetadata convertToCreationMetadata( @@ -1980,6 +1976,7 @@ private CreationMetadata convertToCreationMetadata( } CreationMetadata r = new CreationMetadata( s.getDbName(), s.getTblName(), tablesUsed); + r.setMaterializationTime(s.getMaterializationTime()); if (s.getTxnList() != null) { r.setValidTxnList(s.getTxnList()); } @@ -3784,10 +3781,6 @@ public void updateCreationMetadata(String dbname, String tablename, CreationMeta } finally { if (!success) { rollbackTransaction(); - } else { - // Add to the invalidation cache if the creation signature has changed - MaterializationsInvalidationCache.get().alterMaterializedView( - dbname, tablename, cm.getTablesUsed(), cm.getValidTxnList()); } } } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java index 9f822564bd..971b9d4bf1 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/conf/MetastoreConf.java @@ -21,7 +21,6 @@ import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.metastore.DefaultStorageSchemaReader; import org.apache.hadoop.hive.metastore.HiveAlterHandler; -import org.apache.hadoop.hive.metastore.MaterializationsCacheCleanerTask; import org.apache.hadoop.hive.metastore.MetastoreTaskThread; import org.apache.hadoop.hive.metastore.events.EventCleanerTask; import org.apache.hadoop.hive.metastore.security.MetastoreDelegationTokenManager; @@ -554,20 +553,6 @@ public static ConfVars getMetaConf(String name) { "javax.jdo.PersistenceManagerFactoryClass", "org.datanucleus.api.jdo.JDOPersistenceManagerFactory", "class implementing the jdo persistence"), - MATERIALIZATIONS_INVALIDATION_CACHE_IMPL("metastore.materializations.invalidation.impl", - "hive.metastore.materializations.invalidation.impl", "DEFAULT", - new Validator.StringSet("DEFAULT", "DISABLE"), - "The implementation that we should use for the materializations invalidation cache. \n" + - " DEFAULT: Default implementation for invalidation cache\n" + - " DISABLE: Disable invalidation cache (debugging purposes)"), - MATERIALIZATIONS_INVALIDATION_CACHE_CLEAN_FREQUENCY("metastore.materializations.invalidation.clean.frequency", - "hive.metastore.materializations.invalidation.clean.frequency", - 3600, TimeUnit.SECONDS, "Frequency at which timer task runs to remove unnecessary transaction entries from" + - "materializations invalidation cache."), - MATERIALIZATIONS_INVALIDATION_CACHE_EXPIRY_DURATION("metastore.materializations.invalidation.max.duration", - "hive.metastore.materializations.invalidation.max.duration", - 86400, TimeUnit.SECONDS, "Maximum duration for query producing a materialization. After this time, transaction" + - "entries that are not relevant for materializations can be removed from invalidation cache."), // Parameters for exporting metadata on table drop (requires the use of the) // org.apache.hadoop.hive.ql.parse.MetaDataExportListener preevent listener METADATA_EXPORT_LOCATION("metastore.metadata.export.location", "hive.metadata.export.location", @@ -724,8 +709,7 @@ public static ConfVars getMetaConf(String name) { + "The default value is true."), TASK_THREADS_ALWAYS("metastore.task.threads.always", "metastore.task.threads.always", EventCleanerTask.class.getName() + "," + - "org.apache.hadoop.hive.metastore.repl.DumpDirCleanerTask" + "," + - MaterializationsCacheCleanerTask.class.getName(), + "org.apache.hadoop.hive.metastore.repl.DumpDirCleanerTask", "Comma separated list of tasks that will be started in separate threads. These will " + "always be started, regardless of whether the metastore is running in embedded mode " + "or in server mode. They must implement " + MetastoreTaskThread.class.getName()), diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MCreationMetadata.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MCreationMetadata.java index 1133cb1242..897ece7f06 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MCreationMetadata.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MCreationMetadata.java @@ -22,8 +22,8 @@ /** * Represents the creation metadata of a materialization. * It includes the database and table name for the materialization, - * the set of tables that it uses, and the valid transaction list - * when it was created. + * the set of tables that it uses, the valid transaction list + * when it was created, and the creation/rebuild time. */ public class MCreationMetadata { @@ -31,16 +31,18 @@ private String tblName; private Set tables; private String txnList; + private long materializationTime; public MCreationMetadata() { } public MCreationMetadata(String dbName, String tblName, - Set tables, String txnList) { + Set tables, String txnList, long materializationTime) { this.dbName = dbName; this.tblName = tblName; this.tables = tables; this.txnList = txnList; + this.materializationTime = materializationTime; } public Set getTables() { @@ -74,4 +76,12 @@ public String getTblName() { public void setTblName(String tblName) { this.tblName = tblName; } + + public long getMaterializationTime() { + return materializationTime; + } + + public void setMaterializationTime(long materializationTime) { + this.materializationTime = materializationTime; + } } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java index e453e5a7d2..3b53bc7eea 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,7 +65,6 @@ 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.MaterializationsInvalidationCache; import org.apache.hadoop.hive.metastore.Warehouse; import org.apache.hadoop.hive.metastore.api.AbortTxnRequest; import org.apache.hadoop.hive.metastore.api.AbortTxnsRequest; @@ -847,18 +846,6 @@ public void commitTxn(CommitTxnRequest rqst) modCount = stmt.executeUpdate(s); LOG.debug("Going to commit"); dbConn.commit(); - - // Update registry with modifications - s = "select ctc_database, ctc_table, ctc_timestamp from COMPLETED_TXN_COMPONENTS where ctc_txnid = " + txnid; - rs = stmt.executeQuery(s); - if (rs.next()) { - LOG.debug("Going to register table modification in invalidation cache <" + s + ">"); - MaterializationsInvalidationCache.get().notifyTableModification( - rs.getString(1), rs.getString(2), txnid, - rs.getTimestamp(3, Calendar.getInstance(TimeZone.getTimeZone("UTC"))).getTime()); - } - close(rs); - dbConn.commit(); } catch (SQLException e) { LOG.debug("Going to rollback"); rollbackDBConn(dbConn); diff --git a/standalone-metastore/src/main/sql/derby/hive-schema-3.0.0.derby.sql b/standalone-metastore/src/main/sql/derby/hive-schema-3.0.0.derby.sql index de9688d111..809dcdce9f 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 @@ -126,7 +126,8 @@ CREATE TABLE "APP"."MV_CREATION_METADATA" ( "MV_CREATION_METADATA_ID" BIGINT NOT NULL, "DB_NAME" VARCHAR(128) NOT NULL, "TBL_NAME" VARCHAR(256) NOT NULL, - "TXN_LIST" CLOB + "TXN_LIST" CLOB, + "MATERIALIZATION_TIME" BIGINT NOT NULL ); CREATE TABLE "APP"."MV_TABLES_USED" ( diff --git a/standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql b/standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql index 68237ec1fa..f83d8cd892 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 @@ -376,7 +376,8 @@ CREATE TABLE MV_CREATION_METADATA MV_CREATION_METADATA_ID bigint NOT NULL, DB_NAME nvarchar(128) NOT NULL, TBL_NAME nvarchar(256) NOT NULL, - TXN_LIST text NULL + TXN_LIST text NULL, + MATERIALIZATION_TIME bigint NOT NULL ); ALTER TABLE MV_CREATION_METADATA ADD CONSTRAINT MV_CREATION_METADATA_PK PRIMARY KEY (MV_CREATION_METADATA_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 3e2db2ab00..894b531ab4 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 @@ -584,6 +584,7 @@ CREATE TABLE IF NOT EXISTS `MV_CREATION_METADATA` ( `DB_NAME` varchar(128) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL, `TBL_NAME` varchar(256) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL, `TXN_LIST` TEXT DEFAULT NULL, + `MATERIALIZATION_TIME` bigint(20) NOT NULL, PRIMARY KEY (`MV_CREATION_METADATA_ID`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; diff --git a/standalone-metastore/src/main/sql/oracle/hive-schema-3.0.0.oracle.sql b/standalone-metastore/src/main/sql/oracle/hive-schema-3.0.0.oracle.sql index 09c40ada49..0c83560fdf 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 @@ -391,7 +391,8 @@ CREATE TABLE MV_CREATION_METADATA MV_CREATION_METADATA_ID NUMBER NOT NULL, DB_NAME VARCHAR2(128) NOT NULL, TBL_NAME VARCHAR2(256) NOT NULL, - TXN_LIST CLOB NULL + TXN_LIST CLOB NULL, + MATERIALIZATION_TIME NUMBER NOT NULL ); ALTER TABLE MV_CREATION_METADATA ADD CONSTRAINT MV_CREATION_METADATA_PK PRIMARY KEY (MV_CREATION_METADATA_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 69317b0e09..e4b4905c66 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 @@ -388,7 +388,8 @@ CREATE TABLE "MV_CREATION_METADATA" ( "MV_CREATION_METADATA_ID" bigint NOT NULL, "DB_NAME" character varying(128) NOT NULL, "TBL_NAME" character varying(256) NOT NULL, - "TXN_LIST" text + "TXN_LIST" text, + "MATERIALIZATION_TIME" bigint NOT NULL ); -- diff --git a/standalone-metastore/src/main/thrift/hive_metastore.thrift b/standalone-metastore/src/main/thrift/hive_metastore.thrift index ef63eabe44..06108cb096 100644 --- a/standalone-metastore/src/main/thrift/hive_metastore.thrift +++ b/standalone-metastore/src/main/thrift/hive_metastore.thrift @@ -956,7 +956,8 @@ struct CreationMetadata { 1: required string dbName, 2: required string tblName, 3: required set tablesUsed, - 4: optional string validTxnList + 4: optional string validTxnList, + 5: optional i64 materializationTime; } struct NotificationEventRequest { @@ -1135,12 +1136,6 @@ struct TableMeta { 4: optional string comments; } -struct Materialization { - 1: required set tablesUsed; - 2: optional string validTxnList - 3: required i64 invalidationTime; -} - // Data types for workload management. enum WMResourcePlanStatus { @@ -1569,8 +1564,6 @@ service ThriftHiveMetastore extends fb303.FacebookService GetTableResult get_table_req(1:GetTableRequest req) throws (1:MetaException o1, 2:NoSuchObjectException o2) GetTablesResult get_table_objects_by_name_req(1:GetTablesRequest req) throws (1:MetaException o1, 2:InvalidOperationException o2, 3:UnknownDBException o3) - map get_materialization_invalidation_info(1:string dbname, 2:list tbl_names) - throws (1:MetaException o1, 2:InvalidOperationException o2, 3:UnknownDBException o3) void update_creation_metadata(1:string dbname, 2:string tbl_name, 3:CreationMetadata creation_metadata) throws (1:MetaException o1, 2:InvalidOperationException o2, 3:UnknownDBException o3) @@ -2034,7 +2027,7 @@ service ThriftHiveMetastore extends fb303.FacebookService // Schema calls void create_ischema(1:ISchema schema) throws(1:AlreadyExistsException o1, - NoSuchObjectException o2, 3:MetaException o3) + 2:NoSuchObjectException o2, 3:MetaException o3) void alter_ischema(1:AlterISchemaRequest rqst) throws(1:NoSuchObjectException o1, 2:MetaException o2) ISchema get_ischema(1:ISchemaName name) throws (1:NoSuchObjectException o1, 2:MetaException o2) diff --git a/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/TestMetaStoreMaterializationsCacheCleaner.java b/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/TestMetaStoreMaterializationsCacheCleaner.java deleted file mode 100644 index 6d3f68c0f0..0000000000 --- a/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/TestMetaStoreMaterializationsCacheCleaner.java +++ /dev/null @@ -1,324 +0,0 @@ -/* - * 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; - -import com.google.common.collect.ImmutableList; -import com.google.common.collect.ImmutableSet; -import org.apache.hadoop.conf.Configuration; -import org.apache.hadoop.hive.metastore.api.BasicTxnInfo; -import org.apache.hadoop.hive.metastore.api.CreationMetadata; -import org.apache.hadoop.hive.metastore.api.Materialization; -import org.apache.hadoop.hive.metastore.api.Table; -import org.junit.Assert; -import org.junit.FixMethodOrder; -import org.junit.Test; -import org.junit.runners.MethodSorters; - -import java.util.Map; - -import static org.mockito.Mockito.mock; -import static org.mockito.Mockito.when; - -/** - * Unit tests for {@link org.apache.hadoop.hive.metastore.MaterializationsInvalidationCache}. - * The tests focus on arrival of notifications (possibly out of order) and the logic - * to clean up the materializations cache. Tests need to be executed in a certain order - * to avoid interactions among them, as the invalidation cache is a singleton. - */ -@FixMethodOrder(MethodSorters.NAME_ASCENDING) -public class TestMetaStoreMaterializationsCacheCleaner { - - private static final String DB_NAME = "hive3252"; - private static final String TBL_NAME_1 = "tmptbl1"; - private static final String TBL_NAME_2 = "tmptbl2"; - private static final String TBL_NAME_3 = "tmptbl3"; - private static final String MV_NAME_1 = "mv1"; - private static final String MV_NAME_2 = "mv2"; - - - @Test - public void testCleanerScenario1() throws Exception { - // create mock raw store - Configuration conf = new Configuration(); - conf.set("metastore.materializations.invalidation.impl", "DISABLE"); - // create mock handler - final IHMSHandler handler = mock(IHMSHandler.class); - // initialize invalidation cache (set conf to disable) - MaterializationsInvalidationCache.get().init(conf, handler); - - // This is a dummy test, invalidation cache is not supposed to - // record any information. - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, 1, 1); - int id = 2; - BasicTxnInfo txn2 = createTxnInfo(DB_NAME, TBL_NAME_1, id); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, id, id); - // Create tbl2 (nothing to do) - id = 3; - BasicTxnInfo txn3 = createTxnInfo(DB_NAME, TBL_NAME_1, id); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_2, id, id); - // Cleanup (current = 4, duration = 4) -> Does nothing - long removed = MaterializationsInvalidationCache.get().cleanup(0L); - Assert.assertEquals(0L, removed); - // Create mv1 - Table mv1 = mock(Table.class); - when(mv1.getDbName()).thenReturn(DB_NAME); - when(mv1.getTableName()).thenReturn(MV_NAME_1); - CreationMetadata mockCM1 = new CreationMetadata( - DB_NAME, MV_NAME_1, - ImmutableSet.of( - DB_NAME + "." + TBL_NAME_1, - DB_NAME + "." + TBL_NAME_2)); - // Create txn list (highWatermark=4;minOpenTxn=Long.MAX_VALUE) - mockCM1.setValidTxnList("3:" + Long.MAX_VALUE + "::"); - when(mv1.getCreationMetadata()).thenReturn(mockCM1); - MaterializationsInvalidationCache.get().createMaterializedView(mockCM1.getDbName(), mockCM1.getTblName(), - mockCM1.getTablesUsed(), mockCM1.getValidTxnList()); - Map invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1)); - Assert.assertTrue(invalidationInfos.isEmpty()); - id = 10; - BasicTxnInfo txn10 = createTxnInfo(DB_NAME, TBL_NAME_2, id); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_2, id, id); - id = 9; - BasicTxnInfo txn9 = createTxnInfo(DB_NAME, TBL_NAME_1, id); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, id, id); - // Cleanup (current = 12, duration = 4) -> Removes txn1, txn2, txn3 - removed = MaterializationsInvalidationCache.get().cleanup(8L); - Assert.assertEquals(0L, removed); - invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1)); - Assert.assertTrue(invalidationInfos.isEmpty()); - // Create mv2 - Table mv2 = mock(Table.class); - when(mv2.getDbName()).thenReturn(DB_NAME); - when(mv2.getTableName()).thenReturn(MV_NAME_2); - CreationMetadata mockCM2 = new CreationMetadata( - DB_NAME, MV_NAME_2, - ImmutableSet.of( - DB_NAME + "." + TBL_NAME_1, - DB_NAME + "." + TBL_NAME_2)); - // Create txn list (highWatermark=10;minOpenTxn=Long.MAX_VALUE) - mockCM2.setValidTxnList("10:" + Long.MAX_VALUE + "::"); - when(mv2.getCreationMetadata()).thenReturn(mockCM2); - MaterializationsInvalidationCache.get().createMaterializedView(mockCM2.getDbName(), mockCM2.getTblName(), - mockCM2.getTablesUsed(), mockCM2.getValidTxnList()); - when(mv2.getCreationMetadata()).thenReturn(mockCM2); - invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1, MV_NAME_2)); - Assert.assertTrue(invalidationInfos.isEmpty()); - // Create tbl3 (nothing to do) - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_3, 11, 11); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_3, 18, 18); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, 14, 14); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, 17, 17); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_2, 16, 16); - // Cleanup (current = 20, duration = 4) -> Removes txn10, txn11 - removed = MaterializationsInvalidationCache.get().cleanup(16L); - Assert.assertEquals(0L, removed); - invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1, MV_NAME_2)); - Assert.assertTrue(invalidationInfos.isEmpty()); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, 12, 12); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_2, 15, 15); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_2, 7, 7); - invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1, MV_NAME_2)); - Assert.assertTrue(invalidationInfos.isEmpty()); - // Cleanup (current = 24, duration = 4) -> Removes txn9, txn14, txn15, txn16, txn17, txn18 - removed = MaterializationsInvalidationCache.get().cleanup(20L); - Assert.assertEquals(0L, removed); - invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1, MV_NAME_2)); - Assert.assertTrue(invalidationInfos.isEmpty()); - // Cleanup (current = 28, duration = 4) -> Removes txn9 - removed = MaterializationsInvalidationCache.get().cleanup(24L); - Assert.assertEquals(0L, removed); - } - - @Test - public void testCleanerScenario2() throws Exception { - // create mock raw store - Configuration conf = new Configuration(); - conf.set("metastore.materializations.invalidation.impl", "DEFAULT"); - // create mock handler - final IHMSHandler handler = mock(IHMSHandler.class); - // initialize invalidation cache (set conf to default) - MaterializationsInvalidationCache.get().init(conf, handler); - - // Scenario consists of the following steps: - // Create tbl1 - // (t = 1) Insert row in tbl1 - // (t = 2) Insert row in tbl1 - // Create tbl2 - // (t = 3) Insert row in tbl2 - // Cleanup (current = 4, duration = 4) -> Does nothing - // Create mv1 - // (t = 10) Insert row in tbl2 - // (t = 9) Insert row in tbl1 (out of order) - // Cleanup (current = 12, duration = 4) -> Removes txn1, txn2, txn3 - // Create mv2 - // Create tbl3 - // (t = 11) Insert row in tbl3 - // (t = 18) Insert row in tbl3 - // (t = 14) Insert row in tbl1 - // (t = 17) Insert row in tbl1 - // (t = 16) Insert row in tbl2 - // Cleanup (current = 20, duration = 4) -> Removes txn10, txn11 - // (t = 12) Insert row in tbl1 - // (t = 15) Insert row in tbl2 - // (t = 7) Insert row in tbl2 - // Cleanup (current = 24, duration = 4) -> Removes txn9, txn14, txn15, txn16, txn17, txn18 - // Create tbl1 (nothing to do) - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, 1, 1); - int id = 2; - BasicTxnInfo txn2 = createTxnInfo(DB_NAME, TBL_NAME_1, id); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, id, id); - // Create tbl2 (nothing to do) - id = 3; - BasicTxnInfo txn3 = createTxnInfo(DB_NAME, TBL_NAME_1, id); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_2, id, id); - // Cleanup (current = 4, duration = 4) -> Does nothing - long removed = MaterializationsInvalidationCache.get().cleanup(0L); - Assert.assertEquals(0L, removed); - // Create mv1 - Table mv1 = mock(Table.class); - when(mv1.getDbName()).thenReturn(DB_NAME); - when(mv1.getTableName()).thenReturn(MV_NAME_1); - CreationMetadata mockCM1 = new CreationMetadata( - DB_NAME, MV_NAME_1, - ImmutableSet.of( - DB_NAME + "." + TBL_NAME_1, - DB_NAME + "." + TBL_NAME_2)); - // Create txn list (highWatermark=4;minOpenTxn=Long.MAX_VALUE) - mockCM1.setValidTxnList("3:" + Long.MAX_VALUE + "::"); - when(mv1.getCreationMetadata()).thenReturn(mockCM1); - MaterializationsInvalidationCache.get().createMaterializedView(mockCM1.getDbName(), mockCM1.getTblName(), - mockCM1.getTablesUsed(), mockCM1.getValidTxnList()); - Map invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1)); - Assert.assertEquals(0L, invalidationInfos.get(MV_NAME_1).getInvalidationTime()); - id = 10; - BasicTxnInfo txn10 = createTxnInfo(DB_NAME, TBL_NAME_2, id); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_2, id, id); - id = 9; - BasicTxnInfo txn9 = createTxnInfo(DB_NAME, TBL_NAME_1, id); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, id, id); - // Cleanup (current = 12, duration = 4) -> Removes txn1, txn2, txn3 - removed = MaterializationsInvalidationCache.get().cleanup(8L); - Assert.assertEquals(3L, removed); - invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1)); - Assert.assertEquals(9L, invalidationInfos.get(MV_NAME_1).getInvalidationTime()); - // Create mv2 - Table mv2 = mock(Table.class); - when(mv2.getDbName()).thenReturn(DB_NAME); - when(mv2.getTableName()).thenReturn(MV_NAME_2); - CreationMetadata mockCM2 = new CreationMetadata( - DB_NAME, MV_NAME_2, - ImmutableSet.of( - DB_NAME + "." + TBL_NAME_1, - DB_NAME + "." + TBL_NAME_2)); - // Create txn list (highWatermark=10;minOpenTxn=Long.MAX_VALUE) - mockCM2.setValidTxnList("10:" + Long.MAX_VALUE + "::"); - when(mv2.getCreationMetadata()).thenReturn(mockCM2); - MaterializationsInvalidationCache.get().createMaterializedView(mockCM2.getDbName(), mockCM2.getTblName(), - mockCM2.getTablesUsed(), mockCM2.getValidTxnList()); - when(mv2.getCreationMetadata()).thenReturn(mockCM2); - invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1, MV_NAME_2)); - Assert.assertEquals(9L, invalidationInfos.get(MV_NAME_1).getInvalidationTime()); - Assert.assertEquals(0L, invalidationInfos.get(MV_NAME_2).getInvalidationTime()); - // Create tbl3 (nothing to do) - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_3, 11, 11); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_3, 18, 18); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, 14, 14); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, 17, 17); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_2, 16, 16); - // Cleanup (current = 20, duration = 4) -> Removes txn10, txn11 - removed = MaterializationsInvalidationCache.get().cleanup(16L); - Assert.assertEquals(2L, removed); - invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1, MV_NAME_2)); - Assert.assertEquals(9L, invalidationInfos.get(MV_NAME_1).getInvalidationTime()); - Assert.assertEquals(14L, invalidationInfos.get(MV_NAME_2).getInvalidationTime()); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_1, 12, 12); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_2, 15, 15); - MaterializationsInvalidationCache.get().notifyTableModification( - DB_NAME, TBL_NAME_2, 7, 7); - invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1, MV_NAME_2)); - Assert.assertEquals(7L, invalidationInfos.get(MV_NAME_1).getInvalidationTime()); - Assert.assertEquals(12L, invalidationInfos.get(MV_NAME_2).getInvalidationTime()); - // Cleanup (current = 24, duration = 4) -> Removes txn9, txn14, txn15, txn16, txn17, txn18 - removed = MaterializationsInvalidationCache.get().cleanup(20L); - Assert.assertEquals(6L, removed); - invalidationInfos = - MaterializationsInvalidationCache.get().getMaterializationInvalidationInfo( - DB_NAME, ImmutableList.of(MV_NAME_1, MV_NAME_2)); - Assert.assertEquals(7L, invalidationInfos.get(MV_NAME_1).getInvalidationTime()); - Assert.assertEquals(12L, invalidationInfos.get(MV_NAME_2).getInvalidationTime()); - // Cleanup (current = 28, duration = 4) -> Removes txn9 - removed = MaterializationsInvalidationCache.get().cleanup(24L); - Assert.assertEquals(0L, removed); - } - - private static BasicTxnInfo createTxnInfo(String dbName, String tableName, int i) { - BasicTxnInfo r = new BasicTxnInfo(); - r.setDbname(dbName); - r.setTablename(tableName); - r.setTxnid(i); - r.setTime(i); - return r; - } -} diff --git a/storage-api/src/java/org/apache/hive/common/util/TxnIdUtils.java b/storage-api/src/java/org/apache/hive/common/util/TxnIdUtils.java new file mode 100644 index 0000000000..17f3777fbd --- /dev/null +++ b/storage-api/src/java/org/apache/hive/common/util/TxnIdUtils.java @@ -0,0 +1,78 @@ +/* + * 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.hive.common.util; + +import org.apache.hadoop.hive.common.ValidWriteIdList; + +public class TxnIdUtils { + + /** + * Check if 2 ValidWriteIdLists are at an equivalent commit point. + */ + public static boolean checkEquivalentWriteIds(ValidWriteIdList a, ValidWriteIdList b) { + if (!a.getTableName().equalsIgnoreCase(b.getTableName())) { + return false; + } + ValidWriteIdList newer = a; + ValidWriteIdList older = b; + if (a.getHighWatermark() < b.getHighWatermark()) { + newer = b; + older = a; + } + + return checkEquivalentCommittedIds( + older.getHighWatermark(), older.getInvalidWriteIds(), + newer.getHighWatermark(), newer.getInvalidWriteIds()); + } + + /** + * Check the min open ID/highwater mark/exceptions list to see if 2 ID lists are at the same commit point. + * This can also be used for ValidTxnList as well as ValidWriteIdList. + */ + private static boolean checkEquivalentCommittedIds( + long oldHWM, long[] oldInvalidIds, + long newHWM, long[] newInvalidIds) { + + // There should be no valid txns in newer list that are not also in older. + // - All values in oldInvalidIds should also be in newInvalidIds. + // - if oldHWM < newHWM, then all IDs between oldHWM .. newHWM should exist in newInvalidTxns. + // A Gap in the sequence means a committed txn in newer list (lists are not equivalent) + + if (newInvalidIds.length < oldInvalidIds.length) { + return false; + } + + // Check that the values in the older list are also in newer. Lists should already be sorted. + for (int idx = 0; idx < oldInvalidIds.length; ++idx) { + if (oldInvalidIds[idx] != newInvalidIds[idx]) { + return false; + } + } + + // If older committed state is equivalent to newer state, then there should be no committed IDs + // between oldHWM and newHWM, and newInvalidIds should have exactly (newHWM - oldHWM) + // more entries than oldInvalidIds. + long oldNewListSizeDifference = newInvalidIds.length - oldInvalidIds.length; + long oldNewHWMDifference = newHWM - oldHWM; + if (oldNewHWMDifference != oldNewListSizeDifference) { + return false; + } + + return true; + } +} diff --git a/storage-api/src/test/org/apache/hive/common/util/TestTxnIdUtils.java b/storage-api/src/test/org/apache/hive/common/util/TestTxnIdUtils.java new file mode 100644 index 0000000000..3d8f3290d7 --- /dev/null +++ b/storage-api/src/test/org/apache/hive/common/util/TestTxnIdUtils.java @@ -0,0 +1,117 @@ +/* + * 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.hive.common.util; + +import java.util.BitSet; + +import org.apache.hadoop.hive.common.ValidReaderWriteIdList; +import org.junit.Test; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertTrue; + +public class TestTxnIdUtils { + + @Test + public void testCheckEquivalentWriteIds() throws Exception { + ValidReaderWriteIdList id1 = new ValidReaderWriteIdList("default.table1", + new long[] {1,2,3,4,5}, new BitSet(), 5, 1); + assertTrue(TxnIdUtils.checkEquivalentWriteIds(id1, id1)); + + // write ID with additional uncommitted IDs. Should match. + ValidReaderWriteIdList id2 = new ValidReaderWriteIdList("default.table1", + new long[] {1,2,3,4,5,6,7,8}, new BitSet(), 8, 1); + assertTrue(TxnIdUtils.checkEquivalentWriteIds(id1, id2)); + assertTrue(TxnIdUtils.checkEquivalentWriteIds(id2, id1)); + + // ID 1 has been committed, all others open + ValidReaderWriteIdList id3 = new ValidReaderWriteIdList("default.table1", + new long[] {2,3,4,5,6,7,8}, new BitSet(), 8, 2); + assertFalse(TxnIdUtils.checkEquivalentWriteIds(id1, id3)); + assertFalse(TxnIdUtils.checkEquivalentWriteIds(id3, id2)); + + // ID 5 has been committed, all others open + ValidReaderWriteIdList id4 = new ValidReaderWriteIdList("default.table1", + new long[] {1,2,3,4,6,7,8}, new BitSet(), 8, 1); + assertFalse(TxnIdUtils.checkEquivalentWriteIds(id1, id4)); + assertFalse(TxnIdUtils.checkEquivalentWriteIds(id4, id2)); + + // ID 8 was committed, all others open + ValidReaderWriteIdList id5 = new ValidReaderWriteIdList("default.table1", + new long[] {1,2,3,4,6,7}, new BitSet(), 8, 1); + assertFalse(TxnIdUtils.checkEquivalentWriteIds(id1, id5)); + assertFalse(TxnIdUtils.checkEquivalentWriteIds(id5, id2)); + + // Different table name + ValidReaderWriteIdList id6 = new ValidReaderWriteIdList("default.tab2", + new long[] {1,2,3,4,5}, new BitSet(), 5, 1); + assertFalse(TxnIdUtils.checkEquivalentWriteIds(id1, id6)); + + // WriteID for table1, way in the future + ValidReaderWriteIdList id7 = new ValidReaderWriteIdList("default.table1", + new long[] {100, 101, 105}, new BitSet(), 105, 100); + assertFalse(TxnIdUtils.checkEquivalentWriteIds(id1, id7)); + + // Before any activity on the table, no open IDs + ValidReaderWriteIdList id8 = new ValidReaderWriteIdList("default.table1", + new long[] {}, new BitSet(), 0); + assertTrue(TxnIdUtils.checkEquivalentWriteIds(id1, id8)); + assertTrue(TxnIdUtils.checkEquivalentWriteIds(id8, id2)); + assertFalse(TxnIdUtils.checkEquivalentWriteIds(id8, id3)); + assertFalse(TxnIdUtils.checkEquivalentWriteIds(id8, id7)); + + // ID 5 committed, no open IDs + ValidReaderWriteIdList id9 = new ValidReaderWriteIdList("default.table1", + new long[] {}, new BitSet(), 5); + ValidReaderWriteIdList id10 = new ValidReaderWriteIdList("default.table1", + new long[] {}, new BitSet(), 5); + assertTrue(TxnIdUtils.checkEquivalentWriteIds(id9, id10)); + assertFalse(TxnIdUtils.checkEquivalentWriteIds(id8, id9)); + assertFalse(TxnIdUtils.checkEquivalentWriteIds(id9, id8)); + assertFalse(TxnIdUtils.checkEquivalentWriteIds(id9, id1)); + assertFalse(TxnIdUtils.checkEquivalentWriteIds(id9, id2)); + assertFalse(TxnIdUtils.checkEquivalentWriteIds(id9, id7)); + } + + @Test + public void testCheckEquivalentWriteIds2() throws Exception { + ValidReaderWriteIdList id1 = new ValidReaderWriteIdList("default.table1", + new long[] {}, new BitSet(), 5); + ValidReaderWriteIdList id2 = new ValidReaderWriteIdList("default.table1", + new long[] {6}, BitSet.valueOf(new byte[]{1}), 6); + ValidReaderWriteIdList id3 = new ValidReaderWriteIdList("default.table1", + new long[] {6,7}, BitSet.valueOf(new byte[]{1,0}), 7, 7); + ValidReaderWriteIdList id4 = new ValidReaderWriteIdList("default.table1", + new long[] {6,7,8}, BitSet.valueOf(new byte[]{1,0,1}), 8, 7); + + assertTrue(TxnIdUtils.checkEquivalentWriteIds(id1, id2)); + assertTrue(TxnIdUtils.checkEquivalentWriteIds(id1, id3)); + assertTrue(TxnIdUtils.checkEquivalentWriteIds(id1, id4)); + assertTrue(TxnIdUtils.checkEquivalentWriteIds(id2, id3)); + assertTrue(TxnIdUtils.checkEquivalentWriteIds(id2, id4)); + + // If IDs 6,7,8 were all aborted and the metadata cleaned up, we would lose the record + // of the aborted IDs. In this case we are not able to determine the new WriteIDList has + // an equivalent commit state compared to the previous WriteIDLists. + ValidReaderWriteIdList id5 = new ValidReaderWriteIdList("default.table1", + new long[] {}, new BitSet(), 8); + assertFalse(TxnIdUtils.checkEquivalentWriteIds(id1, id5)); + assertFalse(TxnIdUtils.checkEquivalentWriteIds(id2, id5)); + assertFalse(TxnIdUtils.checkEquivalentWriteIds(id3, id5)); + assertFalse(TxnIdUtils.checkEquivalentWriteIds(id4, id5)); + } +}