commit 92072ad2412c97e8db97e55d448b4073ceb621be Author: Alan Gates Date: Thu Jan 14 17:15:40 2016 -0800 HIVE-12832 Thrift and RDBMS schema changes for ACID fixes, branch-1 version. diff --git beeline/src/java/org/apache/hive/beeline/HiveSchemaTool.java beeline/src/java/org/apache/hive/beeline/HiveSchemaTool.java index 79ecad3..7bdb9b7 100644 --- beeline/src/java/org/apache/hive/beeline/HiveSchemaTool.java +++ beeline/src/java/org/apache/hive/beeline/HiveSchemaTool.java @@ -17,18 +17,6 @@ */ package org.apache.hive.beeline; -import java.io.BufferedWriter; -import java.io.File; -import java.io.FileWriter; -import java.io.IOException; -import java.io.PrintStream; -import java.sql.Connection; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.sql.Statement; -import java.util.ArrayList; -import java.util.List; - import org.apache.commons.cli.CommandLine; import org.apache.commons.cli.CommandLineParser; import org.apache.commons.cli.GnuParser; @@ -39,6 +27,7 @@ import org.apache.commons.cli.Options; import org.apache.commons.cli.ParseException; import org.apache.commons.io.output.NullOutputStream; +import org.apache.commons.lang.StringUtils; import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.conf.HiveConf.ConfVars; import org.apache.hadoop.hive.metastore.HiveMetaException; @@ -46,6 +35,22 @@ import org.apache.hadoop.hive.metastore.api.MetaException; import org.apache.hadoop.hive.shims.ShimLoader; import org.apache.hive.beeline.HiveSchemaHelper.NestedScriptParser; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import java.io.BufferedReader; +import java.io.BufferedWriter; +import java.io.File; +import java.io.FileReader; +import java.io.FileWriter; +import java.io.IOException; +import java.io.PrintStream; +import java.sql.Connection; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.sql.Statement; +import java.util.ArrayList; +import java.util.List; public class HiveSchemaTool { private String userName = null; @@ -57,6 +62,8 @@ private final String dbType; private final MetaStoreSchemaInfo metaStoreSchemaInfo; + static final private Logger LOG = LoggerFactory.getLogger(HiveSchemaTool.class.getName()); + public HiveSchemaTool(String dbType) throws HiveMetaException { this(System.getenv("HIVE_HOME"), new HiveConf(HiveSchemaTool.class), dbType); } @@ -349,6 +356,16 @@ public void runBeeLine(String sqlScriptFile) throws IOException { argList.add("-f"); argList.add(sqlScriptFile); + if (LOG.isDebugEnabled()) { + LOG.debug("Going to invoke file that contains:"); + FileReader fr = new FileReader(sqlScriptFile); + BufferedReader reader = new BufferedReader(fr); + String line; + while ((line = reader.readLine()) != null) { + LOG.debug("script: " + line); + } + } + // run the script using Beeline BeeLine beeLine = new BeeLine(); if (!verbose) { @@ -360,6 +377,7 @@ public void runBeeLine(String sqlScriptFile) throws IOException { // We can be pretty sure that an entire line can be processed as a single command since // we always add a line separator at the end while calling dbCommandParser.buildCommand. beeLine.getOpts().setEntireLineAsCommand(true); + LOG.debug("Going to run command <" + StringUtils.join(argList, " ") + ">"); int status = beeLine.begin(argList.toArray(new String[0]), null); if (status != 0) { throw new IOException("Schema script failed, errorcode " + status); diff --git metastore/if/hive_metastore.thrift metastore/if/hive_metastore.thrift index c58c3a8..f84b2a9 100755 --- metastore/if/hive_metastore.thrift +++ metastore/if/hive_metastore.thrift @@ -543,6 +543,9 @@ struct TxnInfo { 2: required TxnState state, 3: required string user, // used in 'show transactions' to help admins find who has open transactions 4: required string hostname, // used in 'show transactions' to help admins find who has open transactions + 5: optional string agentInfo = "Unknown", + 6: optional i32 heartbeatCount=0, + 7: optional string metaInfo, } struct GetOpenTxnsInfoResponse { @@ -559,6 +562,7 @@ struct OpenTxnRequest { 1: required i32 num_txns, 2: required string user, 3: required string hostname, + 4: optional string agentInfo = "Unknown", } struct OpenTxnsResponse { @@ -586,6 +590,7 @@ struct LockRequest { 2: optional i64 txnid, 3: required string user, // used in 'show locks' to help admins find who has open locks 4: required string hostname, // used in 'show locks' to help admins find who has open locks + 5: optional string agentInfo = "Unknown", } struct LockResponse { @@ -595,6 +600,8 @@ struct LockResponse { struct CheckLockRequest { 1: required i64 lockid, + 2: optional i64 txnid, + 3: optional i64 elapsed_ms, } struct UnlockRequest { @@ -602,6 +609,10 @@ struct UnlockRequest { } struct ShowLocksRequest { + 1: optional string dbname, + 2: optional string tablename, + 3: optional string partname, + 4: optional bool isExtended=false, } struct ShowLocksResponseElement { @@ -616,6 +627,11 @@ struct ShowLocksResponseElement { 9: optional i64 acquiredat, 10: required string user, 11: required string hostname, + 12: optional i32 heartbeatCount = 0, + 13: optional string agentInfo, + 14: optional i64 blockedByExtId, + 15: optional i64 blockedByIntId, + 16: optional i64 lockIdInternal, } struct ShowLocksResponse { @@ -657,6 +673,10 @@ struct ShowCompactResponseElement { 6: optional string workerid, 7: optional i64 start, 8: optional string runAs, + 9: optional i64 hightestTxnId, // Highest Txn ID handled by this compaction + 10: optional string metaInfo, + 11: optional i64 endTime, + 12: optional string hadoopJobId = "None", } struct ShowCompactResponse { diff --git metastore/scripts/upgrade/derby/023-HIVE-12807.derby.sql metastore/scripts/upgrade/derby/023-HIVE-12807.derby.sql new file mode 100644 index 0000000..3dfc6fe --- /dev/null +++ metastore/scripts/upgrade/derby/023-HIVE-12807.derby.sql @@ -0,0 +1 @@ +ALTER TABLE "COMPACTION_QUEUE" ADD "CQ_HIGHEST_TXN_ID" bigint; diff --git metastore/scripts/upgrade/derby/024-HIVE-12814.derby.sql metastore/scripts/upgrade/derby/024-HIVE-12814.derby.sql new file mode 100644 index 0000000..a451846 --- /dev/null +++ metastore/scripts/upgrade/derby/024-HIVE-12814.derby.sql @@ -0,0 +1 @@ +ALTER TABLE "COMPACTION_QUEUE" ADD "CQ_META_INFO" varchar(2048) for bit data; diff --git metastore/scripts/upgrade/derby/025-HIVE-12816.derby.sql metastore/scripts/upgrade/derby/025-HIVE-12816.derby.sql new file mode 100644 index 0000000..2a78bf1 --- /dev/null +++ metastore/scripts/upgrade/derby/025-HIVE-12816.derby.sql @@ -0,0 +1 @@ +ALTER TABLE "COMPACTION_QUEUE" ADD "CQ_HADOOP_JOB_ID" VARCHAR(32); diff --git metastore/scripts/upgrade/derby/026-HIVE-12818.derby.sql metastore/scripts/upgrade/derby/026-HIVE-12818.derby.sql new file mode 100644 index 0000000..4e3c82b --- /dev/null +++ metastore/scripts/upgrade/derby/026-HIVE-12818.derby.sql @@ -0,0 +1,15 @@ +CREATE TABLE COMPLETED_COMPACTIONS ( + CC_ID bigint PRIMARY KEY, + CC_DATABASE varchar(128) NOT NULL, + CC_TABLE varchar(128) NOT NULL, + CC_PARTITION varchar(767), + CC_STATE char(1) NOT NULL, + CC_TYPE char(1) NOT NULL, + CC_WORKER_ID varchar(128), + CC_START bigint, + CC_END bigint, + CC_RUN_AS varchar(128), + CC_HIGHEST_TXN_ID bigint, + CC_META_INFO varchar(2048) for bit data, + CC_HADOOP_JOB_ID varchar(32) +); diff --git metastore/scripts/upgrade/derby/027-HIVE-12819.derby.sql metastore/scripts/upgrade/derby/027-HIVE-12819.derby.sql new file mode 100644 index 0000000..69b8a3a --- /dev/null +++ metastore/scripts/upgrade/derby/027-HIVE-12819.derby.sql @@ -0,0 +1 @@ +ALTER TABLE "TXNS" ADD "TXN_AGENT_INFO" varchar(128); diff --git metastore/scripts/upgrade/derby/028-HIVE-12821.derby.sql metastore/scripts/upgrade/derby/028-HIVE-12821.derby.sql new file mode 100644 index 0000000..0c10245 --- /dev/null +++ metastore/scripts/upgrade/derby/028-HIVE-12821.derby.sql @@ -0,0 +1,2 @@ +ALTER TABLE "TXNS" ADD "TXN_HEARTBEAT_COUNT" INTEGER; +ALTER TABLE "HIVE_LOCKS" ADD "HL_HEARTBEAT_COUNT" INTEGER; diff --git metastore/scripts/upgrade/derby/029-HIVE-12822.derby.sql metastore/scripts/upgrade/derby/029-HIVE-12822.derby.sql new file mode 100644 index 0000000..9f9423e --- /dev/null +++ metastore/scripts/upgrade/derby/029-HIVE-12822.derby.sql @@ -0,0 +1 @@ +ALTER TABLE "TXNS" ADD "TXN_META_INFO" varchar(128); diff --git metastore/scripts/upgrade/derby/030-HIVE-12823.derby.sql metastore/scripts/upgrade/derby/030-HIVE-12823.derby.sql new file mode 100644 index 0000000..b7fbc71 --- /dev/null +++ metastore/scripts/upgrade/derby/030-HIVE-12823.derby.sql @@ -0,0 +1 @@ +ALTER TABLE "HIVE_LOCKS" ADD "HL_AGENT_INFO" varchar(128); diff --git metastore/scripts/upgrade/derby/031-HIVE-12831.derby.sql metastore/scripts/upgrade/derby/031-HIVE-12831.derby.sql new file mode 100644 index 0000000..890fa1a --- /dev/null +++ metastore/scripts/upgrade/derby/031-HIVE-12831.derby.sql @@ -0,0 +1,2 @@ +ALTER TABLE "HIVE_LOCKS" ADD "HL_BLOCKEDBY_EXT_ID" bigint; +ALTER TABLE "HIVE_LOCKS" ADD "HL_BLOCKEDBY_INT_ID" bigint; diff --git metastore/scripts/upgrade/derby/032-HIVE-12832.derby.sql metastore/scripts/upgrade/derby/032-HIVE-12832.derby.sql new file mode 100644 index 0000000..0e5515c --- /dev/null +++ metastore/scripts/upgrade/derby/032-HIVE-12832.derby.sql @@ -0,0 +1,7 @@ +CREATE TABLE AUX_TABLE ( + MT_KEY1 varchar(128) NOT NULL, + MT_KEY2 bigint NOT NULL, + MT_COMMENT varchar(255), + PRIMARY KEY(MT_KEY1, MT_KEY2) +); + diff --git metastore/scripts/upgrade/derby/hive-schema-1.3.0.derby.sql metastore/scripts/upgrade/derby/hive-schema-1.3.0.derby.sql index c50375f..3235489 100644 --- metastore/scripts/upgrade/derby/hive-schema-1.3.0.derby.sql +++ metastore/scripts/upgrade/derby/hive-schema-1.3.0.derby.sql @@ -327,7 +327,7 @@ ALTER TABLE "APP"."SDS" ADD CONSTRAINT "SQL110318025505550" CHECK (IS_COMPRESSED -- ---------------------------- -- Transaction and Lock Tables -- ---------------------------- -RUN 'hive-txn-schema-0.13.0.derby.sql'; +RUN 'hive-txn-schema-1.3.0.derby.sql'; -- ----------------------------------------------------------------- -- Record schema version. Should be the last step in the init script diff --git metastore/scripts/upgrade/derby/hive-txn-schema-1.3.0.derby.sql metastore/scripts/upgrade/derby/hive-txn-schema-1.3.0.derby.sql new file mode 100644 index 0000000..13f3340 --- /dev/null +++ metastore/scripts/upgrade/derby/hive-txn-schema-1.3.0.derby.sql @@ -0,0 +1,119 @@ +-- 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. + +-- +-- Tables for transaction management +-- +CREATE TABLE TXNS ( + TXN_ID bigint PRIMARY KEY, + TXN_STATE char(1) NOT NULL, + TXN_STARTED bigint NOT NULL, + TXN_LAST_HEARTBEAT bigint NOT NULL, + TXN_USER varchar(128) NOT NULL, + TXN_HOST varchar(128) NOT NULL, + TXN_AGENT_INFO varchar(128), + TXN_META_INFO varchar(128), + TXN_HEARTBEAT_COUNT integer +); + +CREATE TABLE TXN_COMPONENTS ( + TC_TXNID bigint REFERENCES TXNS (TXN_ID), + TC_DATABASE varchar(128) NOT NULL, + TC_TABLE varchar(128), + TC_PARTITION varchar(767) +); + +CREATE TABLE COMPLETED_TXN_COMPONENTS ( + CTC_TXNID bigint, + CTC_DATABASE varchar(128) NOT NULL, + CTC_TABLE varchar(128), + CTC_PARTITION varchar(767) +); + +CREATE TABLE NEXT_TXN_ID ( + NTXN_NEXT bigint NOT NULL +); +INSERT INTO NEXT_TXN_ID VALUES(1); + +CREATE TABLE HIVE_LOCKS ( + HL_LOCK_EXT_ID bigint NOT NULL, + HL_LOCK_INT_ID bigint NOT NULL, + HL_TXNID bigint, + HL_DB varchar(128) NOT NULL, + HL_TABLE varchar(128), + HL_PARTITION varchar(767), + HL_LOCK_STATE char(1) NOT NULL, + HL_LOCK_TYPE char(1) NOT NULL, + HL_LAST_HEARTBEAT bigint NOT NULL, + HL_ACQUIRED_AT bigint, + HL_USER varchar(128) NOT NULL, + HL_HOST varchar(128) NOT NULL, + HL_HEARTBEAT_COUNT integer, + HL_AGENT_INFO varchar(128), + HL_BLOCKEDBY_EXT_ID bigint, + HL_BLOCKEDBY_INT_ID bigint, + PRIMARY KEY(HL_LOCK_EXT_ID, HL_LOCK_INT_ID) +); + +CREATE INDEX HL_TXNID_INDEX ON HIVE_LOCKS (HL_TXNID); + +CREATE TABLE NEXT_LOCK_ID ( + NL_NEXT bigint NOT NULL +); +INSERT INTO NEXT_LOCK_ID VALUES(1); + +CREATE TABLE COMPACTION_QUEUE ( + CQ_ID bigint PRIMARY KEY, + CQ_DATABASE varchar(128) NOT NULL, + CQ_TABLE varchar(128) NOT NULL, + CQ_PARTITION varchar(767), + CQ_STATE char(1) NOT NULL, + CQ_TYPE char(1) NOT NULL, + CQ_WORKER_ID varchar(128), + CQ_START bigint, + CQ_RUN_AS varchar(128), + CQ_HIGHEST_TXN_ID bigint, + CQ_META_INFO varchar(2048) for bit data, + CQ_HADOOP_JOB_ID varchar(32) +); + +CREATE TABLE NEXT_COMPACTION_QUEUE_ID ( + NCQ_NEXT bigint NOT NULL +); +INSERT INTO NEXT_COMPACTION_QUEUE_ID VALUES(1); + +CREATE TABLE COMPLETED_COMPACTIONS ( + CC_ID bigint PRIMARY KEY, + CC_DATABASE varchar(128) NOT NULL, + CC_TABLE varchar(128) NOT NULL, + CC_PARTITION varchar(767), + CC_STATE char(1) NOT NULL, + CC_TYPE char(1) NOT NULL, + CC_WORKER_ID varchar(128), + CC_START bigint, + CC_END bigint, + CC_RUN_AS varchar(128), + CC_HIGHEST_TXN_ID bigint, + CC_META_INFO varchar(2048) for bit data, + CC_HADOOP_JOB_ID varchar(32) +); + +CREATE TABLE AUX_TABLE ( + MT_KEY1 varchar(128) NOT NULL, + MT_KEY2 bigint NOT NULL, + MT_COMMENT varchar(255), + PRIMARY KEY(MT_KEY1, MT_KEY2) +); + diff --git metastore/scripts/upgrade/derby/upgrade-1.2.0-to-1.3.0.derby.sql metastore/scripts/upgrade/derby/upgrade-1.2.0-to-1.3.0.derby.sql index dee744b..6d4e591 100644 --- metastore/scripts/upgrade/derby/upgrade-1.2.0-to-1.3.0.derby.sql +++ metastore/scripts/upgrade/derby/upgrade-1.2.0-to-1.3.0.derby.sql @@ -1,3 +1,13 @@ -- Upgrade MetaStore schema from 1.2.0 to 1.3.0 +RUN '023-HIVE-12807.derby.sql'; +RUN '024-HIVE-12814.derby.sql'; +RUN '025-HIVE-12816.derby.sql'; +RUN '026-HIVE-12818.derby.sql'; +RUN '027-HIVE-12819.derby.sql'; +RUN '028-HIVE-12821.derby.sql'; +RUN '029-HIVE-12822.derby.sql'; +RUN '030-HIVE-12823.derby.sql'; +RUN '031-HIVE-12831.derby.sql'; +RUN '032-HIVE-12832.derby.sql'; UPDATE "APP".VERSION SET SCHEMA_VERSION='1.3.0', VERSION_COMMENT='Hive release version 1.3.0' where VER_ID=1; diff --git metastore/scripts/upgrade/mssql/008-HIVE-12807.mssql.sql metastore/scripts/upgrade/mssql/008-HIVE-12807.mssql.sql new file mode 100644 index 0000000..e2d7615 --- /dev/null +++ metastore/scripts/upgrade/mssql/008-HIVE-12807.mssql.sql @@ -0,0 +1 @@ +ALTER TABLE COMPACTION_QUEUE ADD CQ_HIGHEST_TXN_ID bigint NULL; diff --git metastore/scripts/upgrade/mssql/009-HIVE-12814.mssql.sql metastore/scripts/upgrade/mssql/009-HIVE-12814.mssql.sql new file mode 100644 index 0000000..0088290 --- /dev/null +++ metastore/scripts/upgrade/mssql/009-HIVE-12814.mssql.sql @@ -0,0 +1 @@ +ALTER TABLE COMPACTION_QUEUE ADD CQ_META_INFO varbinary(2048) NULL; diff --git metastore/scripts/upgrade/mssql/010-HIVE-12816.mssql.sql metastore/scripts/upgrade/mssql/010-HIVE-12816.mssql.sql new file mode 100644 index 0000000..0c0342f --- /dev/null +++ metastore/scripts/upgrade/mssql/010-HIVE-12816.mssql.sql @@ -0,0 +1 @@ +ALTER TABLE COMPACTION_QUEUE ADD CQ_HADOOP_JOB_ID nvarchar(32) NULL; diff --git metastore/scripts/upgrade/mssql/011-HIVE-12818.mssql.sql metastore/scripts/upgrade/mssql/011-HIVE-12818.mssql.sql new file mode 100644 index 0000000..74ac5bf --- /dev/null +++ metastore/scripts/upgrade/mssql/011-HIVE-12818.mssql.sql @@ -0,0 +1,21 @@ +CREATE TABLE COMPLETED_COMPACTIONS ( + CC_ID bigint NOT NULL, + CC_DATABASE nvarchar(128) NOT NULL, + CC_TABLE nvarchar(128) NOT NULL, + CC_PARTITION nvarchar(767) NULL, + CC_STATE char(1) NOT NULL, + CC_TYPE char(1) NOT NULL, + CC_WORKER_ID nvarchar(128) NULL, + CC_START bigint NULL, + CC_END bigint NULL, + CC_RUN_AS nvarchar(128) NULL, + CC_HIGHEST_TXN_ID bigint NULL, + CC_META_INFO varbinary(2048) NULL, + CC_HADOOP_JOB_ID nvarchar(128) NULL, +PRIMARY KEY CLUSTERED +( + CC_ID ASC +) +); + + diff --git metastore/scripts/upgrade/mssql/012-HIVE-12819.mssql.sql metastore/scripts/upgrade/mssql/012-HIVE-12819.mssql.sql new file mode 100644 index 0000000..778cbd5 --- /dev/null +++ metastore/scripts/upgrade/mssql/012-HIVE-12819.mssql.sql @@ -0,0 +1 @@ +ALTER TABLE TXNS ADD TXN_AGENT_INFO nvarchar(128) NULL; diff --git metastore/scripts/upgrade/mssql/013-HIVE-12821.mssql.sql metastore/scripts/upgrade/mssql/013-HIVE-12821.mssql.sql new file mode 100644 index 0000000..3b8a610 --- /dev/null +++ metastore/scripts/upgrade/mssql/013-HIVE-12821.mssql.sql @@ -0,0 +1,2 @@ +ALTER TABLE TXNS ADD TXN_HEARTBEAT_COUNT int NULL; +ALTER TABLE HIVE_LOCKS ADD HL_HEARTBEAT_COUNT int NULL; diff --git metastore/scripts/upgrade/mssql/014-HIVE-12822.mssql.sql metastore/scripts/upgrade/mssql/014-HIVE-12822.mssql.sql new file mode 100644 index 0000000..b82d0ec --- /dev/null +++ metastore/scripts/upgrade/mssql/014-HIVE-12822.mssql.sql @@ -0,0 +1 @@ +ALTER TABLE TXNS ADD TXN_META_INFO nvarchar(128) NULL; diff --git metastore/scripts/upgrade/mssql/015-HIVE-12823.mssql.sql metastore/scripts/upgrade/mssql/015-HIVE-12823.mssql.sql new file mode 100644 index 0000000..d125b24 --- /dev/null +++ metastore/scripts/upgrade/mssql/015-HIVE-12823.mssql.sql @@ -0,0 +1 @@ +ALTER TABLE HIVE_LOCKS ADD HL_AGENT_INFO nvarchar(128) NULL; diff --git metastore/scripts/upgrade/mssql/016-HIVE-12831.mssql.sql metastore/scripts/upgrade/mssql/016-HIVE-12831.mssql.sql new file mode 100644 index 0000000..9f37461 --- /dev/null +++ metastore/scripts/upgrade/mssql/016-HIVE-12831.mssql.sql @@ -0,0 +1,2 @@ +ALTER TABLE HIVE_LOCKS ADD HL_BLOCKEDBY_EXT_ID bigint NULL; +ALTER TABLE HIVE_LOCKS ADD HL_BLOCKEDBY_INT_ID bigint NULL; diff --git metastore/scripts/upgrade/mssql/017-HIVE-12832.mssql.sql metastore/scripts/upgrade/mssql/017-HIVE-12832.mssql.sql new file mode 100644 index 0000000..7adfe2e --- /dev/null +++ metastore/scripts/upgrade/mssql/017-HIVE-12832.mssql.sql @@ -0,0 +1,10 @@ +CREATE TABLE AUX_TABLE ( + MT_KEY1 nvarchar(128) NOT NULL, + MT_KEY2 bigint NOT NULL, + MT_COMMENT nvarchar(255) NULL, + PRIMARY KEY CLUSTERED +( + MT_KEY1 ASC, + MT_KEY2 ASC +) +); diff --git metastore/scripts/upgrade/mssql/hive-schema-1.3.0.mssql.sql metastore/scripts/upgrade/mssql/hive-schema-1.3.0.mssql.sql index 7165edd..33c5ff6 100644 --- metastore/scripts/upgrade/mssql/hive-schema-1.3.0.mssql.sql +++ metastore/scripts/upgrade/mssql/hive-schema-1.3.0.mssql.sql @@ -866,12 +866,35 @@ CREATE TABLE COMPACTION_QUEUE( CQ_WORKER_ID nvarchar(128) NULL, CQ_START bigint NULL, CQ_RUN_AS nvarchar(128) NULL, + CQ_HIGHEST_TXN_ID bigint NULL, + CQ_META_INFO varbinary(2048) NULL, + CQ_HADOOP_JOB_ID nvarchar(128) NULL, PRIMARY KEY CLUSTERED ( CQ_ID ASC ) ); +CREATE TABLE COMPLETED_COMPACTIONS ( + CC_ID bigint NOT NULL, + CC_DATABASE nvarchar(128) NOT NULL, + CC_TABLE nvarchar(128) NOT NULL, + CC_PARTITION nvarchar(767) NULL, + CC_STATE char(1) NOT NULL, + CC_TYPE char(1) NOT NULL, + CC_WORKER_ID nvarchar(128) NULL, + CC_START bigint NULL, + CC_END bigint NULL, + CC_RUN_AS nvarchar(128) NULL, + CC_HIGHEST_TXN_ID bigint NULL, + CC_META_INFO varbinary(2048) NULL, + CC_HADOOP_JOB_ID nvarchar(128) NULL, +PRIMARY KEY CLUSTERED +( + CC_ID ASC +) +); + CREATE TABLE COMPLETED_TXN_COMPONENTS( CTC_TXNID bigint NULL, CTC_DATABASE nvarchar(128) NOT NULL, @@ -892,6 +915,10 @@ CREATE TABLE HIVE_LOCKS( HL_ACQUIRED_AT bigint NULL, HL_USER nvarchar(128) NOT NULL, HL_HOST nvarchar(128) NOT NULL, + HL_HEARTBEAT_COUNT int NULL, + HL_AGENT_INFO nvarchar(128) NULL, + HL_BLOCKEDBY_EXT_ID bigint NULL, + HL_BLOCKEDBY_INT_ID bigint NULL, PRIMARY KEY CLUSTERED ( HL_LOCK_EXT_ID ASC, @@ -924,6 +951,9 @@ CREATE TABLE TXNS( TXN_LAST_HEARTBEAT bigint NOT NULL, TXN_USER nvarchar(128) NOT NULL, TXN_HOST nvarchar(128) NOT NULL, + TXN_AGENT_INFO nvarchar(128) NULL, + TXN_META_INFO nvarchar(128) NULL, + TXN_HEARTBEAT_COUNT int NULL, PRIMARY KEY CLUSTERED ( TXN_ID ASC @@ -939,6 +969,16 @@ CREATE TABLE TXN_COMPONENTS( ALTER TABLE TXN_COMPONENTS WITH CHECK ADD FOREIGN KEY(TC_TXNID) REFERENCES TXNS (TXN_ID); +CREATE TABLE AUX_TABLE ( + MT_KEY1 nvarchar(128) NOT NULL, + MT_KEY2 bigint NOT NULL, + MT_COMMENT nvarchar(255) NULL, + PRIMARY KEY CLUSTERED +( + MT_KEY1 ASC, + MT_KEY2 ASC +) +); -- ----------------------------------------------------------------- diff --git metastore/scripts/upgrade/mssql/upgrade-1.2.0-to-1.3.0.mssql.sql metastore/scripts/upgrade/mssql/upgrade-1.2.0-to-1.3.0.mssql.sql index fd12a92..b4de8ce 100644 --- metastore/scripts/upgrade/mssql/upgrade-1.2.0-to-1.3.0.mssql.sql +++ metastore/scripts/upgrade/mssql/upgrade-1.2.0-to-1.3.0.mssql.sql @@ -1,5 +1,15 @@ SELECT 'Upgrading MetaStore schema from 1.2.0 to 1.3.0' AS MESSAGE; +:r 008-HIVE-12807.mssql.sql; +:r 009-HIVE-12814.mssql.sql; +:r 010-HIVE-12816.mssql.sql; +:r 011-HIVE-12818.mssql.sql; +:r 012-HIVE-12819.mssql.sql; +:r 013-HIVE-12821.mssql.sql; +:r 014-HIVE-12822.mssql.sql; +:r 015-HIVE-12823.mssql.sql; +:r 016-HIVE-12831.mssql.sql; +:r 017-HIVE-12832.mssql.sql; UPDATE VERSION SET SCHEMA_VERSION='1.3.0', VERSION_COMMENT='Hive release version 1.3.0' where VER_ID=1; SELECT 'Finished upgrading MetaStore schema from 1.2.0 to 1.3.0' AS MESSAGE; diff --git metastore/scripts/upgrade/mysql/023-HIVE-12807.mysql.sql metastore/scripts/upgrade/mysql/023-HIVE-12807.mysql.sql new file mode 100644 index 0000000..31a2dd1 --- /dev/null +++ metastore/scripts/upgrade/mysql/023-HIVE-12807.mysql.sql @@ -0,0 +1 @@ +ALTER TABLE `COMPACTION_QUEUE` ADD `CQ_HIGHEST_TXN_ID` bigint; diff --git metastore/scripts/upgrade/mysql/024-HIVE-12814.mysql.sql metastore/scripts/upgrade/mysql/024-HIVE-12814.mysql.sql new file mode 100644 index 0000000..5d5f3ca --- /dev/null +++ metastore/scripts/upgrade/mysql/024-HIVE-12814.mysql.sql @@ -0,0 +1 @@ +ALTER TABLE `COMPACTION_QUEUE` ADD `CQ_META_INFO` varbinary(2048); diff --git metastore/scripts/upgrade/mysql/025-HIVE-12816.mysql.sql metastore/scripts/upgrade/mysql/025-HIVE-12816.mysql.sql new file mode 100644 index 0000000..87e48b4 --- /dev/null +++ metastore/scripts/upgrade/mysql/025-HIVE-12816.mysql.sql @@ -0,0 +1 @@ +ALTER TABLE `COMPACTION_QUEUE` ADD `CQ_HADOOP_JOB_ID` varchar(32); diff --git metastore/scripts/upgrade/mysql/026-HIVE-12818.mysql.sql metastore/scripts/upgrade/mysql/026-HIVE-12818.mysql.sql new file mode 100644 index 0000000..e241eee --- /dev/null +++ metastore/scripts/upgrade/mysql/026-HIVE-12818.mysql.sql @@ -0,0 +1,17 @@ +CREATE TABLE COMPLETED_COMPACTIONS ( + CC_ID bigint PRIMARY KEY, + CC_DATABASE varchar(128) NOT NULL, + CC_TABLE varchar(128) NOT NULL, + CC_PARTITION varchar(767), + CC_STATE char(1) NOT NULL, + CC_TYPE char(1) NOT NULL, + CC_WORKER_ID varchar(128), + CC_START bigint, + CC_END bigint, + CC_RUN_AS varchar(128), + CC_HIGHEST_TXN_ID bigint, + CC_META_INFO varbinary(2048), + CC_HADOOP_JOB_ID varchar(32) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + + diff --git metastore/scripts/upgrade/mysql/027-HIVE-12819.mysql.sql metastore/scripts/upgrade/mysql/027-HIVE-12819.mysql.sql new file mode 100644 index 0000000..f1e25d5 --- /dev/null +++ metastore/scripts/upgrade/mysql/027-HIVE-12819.mysql.sql @@ -0,0 +1 @@ +ALTER TABLE `TXNS` ADD `TXN_AGENT_INFO` varchar(128); diff --git metastore/scripts/upgrade/mysql/028-HIVE-12821.mysql.sql metastore/scripts/upgrade/mysql/028-HIVE-12821.mysql.sql new file mode 100644 index 0000000..a951021 --- /dev/null +++ metastore/scripts/upgrade/mysql/028-HIVE-12821.mysql.sql @@ -0,0 +1,2 @@ +ALTER TABLE `TXNS` ADD `TXN_HEARTBEAT_COUNT` int; +ALTER TABLE `HIVE_LOCKS` ADD `HL_HEARTBEAT_COUNT` int; diff --git metastore/scripts/upgrade/mysql/029-HIVE-12822.mysql.sql metastore/scripts/upgrade/mysql/029-HIVE-12822.mysql.sql new file mode 100644 index 0000000..ffd0bab --- /dev/null +++ metastore/scripts/upgrade/mysql/029-HIVE-12822.mysql.sql @@ -0,0 +1 @@ +ALTER TABLE `TXNS` ADD `TXN_META_INFO` varchar(128); diff --git metastore/scripts/upgrade/mysql/030-HIVE-12823.mysql.sql metastore/scripts/upgrade/mysql/030-HIVE-12823.mysql.sql new file mode 100644 index 0000000..42c9b17 --- /dev/null +++ metastore/scripts/upgrade/mysql/030-HIVE-12823.mysql.sql @@ -0,0 +1 @@ +ALTER TABLE `HIVE_LOCKS` ADD `HL_AGENT_INFO` varchar(128); diff --git metastore/scripts/upgrade/mysql/031-HIVE-12831.mysql.sql metastore/scripts/upgrade/mysql/031-HIVE-12831.mysql.sql new file mode 100644 index 0000000..0b19bba --- /dev/null +++ metastore/scripts/upgrade/mysql/031-HIVE-12831.mysql.sql @@ -0,0 +1,2 @@ +ALTER TABLE `HIVE_LOCKS` ADD `HL_BLOCKEDBY_EXT_ID` bigint; +ALTER TABLE `HIVE_LOCKS` ADD `HL_BLOCKEDBY_INT_ID` bigint; diff --git metastore/scripts/upgrade/mysql/032-HIVE-12832.mysql.sql metastore/scripts/upgrade/mysql/032-HIVE-12832.mysql.sql new file mode 100644 index 0000000..98c7706 --- /dev/null +++ metastore/scripts/upgrade/mysql/032-HIVE-12832.mysql.sql @@ -0,0 +1,7 @@ +CREATE TABLE AUX_TABLE ( + MT_KEY1 varchar(128) NOT NULL, + MT_KEY2 bigint NOT NULL, + MT_COMMENT varchar(255), + PRIMARY KEY(MT_KEY1, MT_KEY2) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + diff --git metastore/scripts/upgrade/mysql/hive-schema-1.3.0.mysql.sql metastore/scripts/upgrade/mysql/hive-schema-1.3.0.mysql.sql index 71de138..25723e2 100644 --- metastore/scripts/upgrade/mysql/hive-schema-1.3.0.mysql.sql +++ metastore/scripts/upgrade/mysql/hive-schema-1.3.0.mysql.sql @@ -813,7 +813,7 @@ CREATE TABLE IF NOT EXISTS `NOTIFICATION_SEQUENCE` -- ---------------------------- -- Transaction and Lock Tables -- ---------------------------- -SOURCE hive-txn-schema-0.13.0.mysql.sql; +SOURCE hive-txn-schema-1.3.0.mysql.sql; -- ----------------------------------------------------------------- -- Record schema version. Should be the last step in the init script diff --git metastore/scripts/upgrade/mysql/hive-txn-schema-1.3.0.mysql.sql metastore/scripts/upgrade/mysql/hive-txn-schema-1.3.0.mysql.sql new file mode 100644 index 0000000..ea42757 --- /dev/null +++ metastore/scripts/upgrade/mysql/hive-txn-schema-1.3.0.mysql.sql @@ -0,0 +1,122 @@ +-- 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. + +-- +-- Tables for transaction management +-- + +CREATE TABLE TXNS ( + TXN_ID bigint PRIMARY KEY, + TXN_STATE char(1) NOT NULL, + TXN_STARTED bigint NOT NULL, + TXN_LAST_HEARTBEAT bigint NOT NULL, + TXN_USER varchar(128) NOT NULL, + TXN_HOST varchar(128) NOT NULL, + TXN_AGENT_INFO varchar(128), + TXN_META_INFO varchar(128), + TXN_HEARTBEAT_COUNT int +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +CREATE TABLE TXN_COMPONENTS ( + TC_TXNID bigint, + TC_DATABASE varchar(128) NOT NULL, + TC_TABLE varchar(128), + TC_PARTITION varchar(767), + FOREIGN KEY (TC_TXNID) REFERENCES TXNS (TXN_ID) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +CREATE TABLE COMPLETED_TXN_COMPONENTS ( + CTC_TXNID bigint, + CTC_DATABASE varchar(128) NOT NULL, + CTC_TABLE varchar(128), + CTC_PARTITION varchar(767) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +CREATE TABLE NEXT_TXN_ID ( + NTXN_NEXT bigint NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=latin1; +INSERT INTO NEXT_TXN_ID VALUES(1); + +CREATE TABLE HIVE_LOCKS ( + HL_LOCK_EXT_ID bigint NOT NULL, + HL_LOCK_INT_ID bigint NOT NULL, + HL_TXNID bigint, + HL_DB varchar(128) NOT NULL, + HL_TABLE varchar(128), + HL_PARTITION varchar(767), + HL_LOCK_STATE char(1) not null, + HL_LOCK_TYPE char(1) not null, + HL_LAST_HEARTBEAT bigint NOT NULL, + HL_ACQUIRED_AT bigint, + HL_USER varchar(128) NOT NULL, + HL_HOST varchar(128) NOT NULL, + HL_HEARTBEAT_COUNT int, + HL_AGENT_INFO varchar(128), + HL_BLOCKEDBY_EXT_ID bigint, + HL_BLOCKEDBY_INT_ID bigint, + PRIMARY KEY(HL_LOCK_EXT_ID, HL_LOCK_INT_ID), + KEY HIVE_LOCK_TXNID_INDEX (HL_TXNID) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +CREATE INDEX HL_TXNID_IDX ON HIVE_LOCKS (HL_TXNID); + +CREATE TABLE NEXT_LOCK_ID ( + NL_NEXT bigint NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=latin1; +INSERT INTO NEXT_LOCK_ID VALUES(1); + +CREATE TABLE COMPACTION_QUEUE ( + CQ_ID bigint PRIMARY KEY, + CQ_DATABASE varchar(128) NOT NULL, + CQ_TABLE varchar(128) NOT NULL, + CQ_PARTITION varchar(767), + CQ_STATE char(1) NOT NULL, + CQ_TYPE char(1) NOT NULL, + CQ_WORKER_ID varchar(128), + CQ_START bigint, + CQ_RUN_AS varchar(128), + CQ_HIGHEST_TXN_ID bigint, + CQ_META_INFO varbinary(2048), + CQ_HADOOP_JOB_ID varchar(32) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +CREATE TABLE COMPLETED_COMPACTIONS ( + CC_ID bigint PRIMARY KEY, + CC_DATABASE varchar(128) NOT NULL, + CC_TABLE varchar(128) NOT NULL, + CC_PARTITION varchar(767), + CC_STATE char(1) NOT NULL, + CC_TYPE char(1) NOT NULL, + CC_WORKER_ID varchar(128), + CC_START bigint, + CC_END bigint, + CC_RUN_AS varchar(128), + CC_HIGHEST_TXN_ID bigint, + CC_META_INFO varbinary(2048), + CC_HADOOP_JOB_ID varchar(32) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +CREATE TABLE NEXT_COMPACTION_QUEUE_ID ( + NCQ_NEXT bigint NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=latin1; +INSERT INTO NEXT_COMPACTION_QUEUE_ID VALUES(1); + +CREATE TABLE AUX_TABLE ( + MT_KEY1 varchar(128) NOT NULL, + MT_KEY2 bigint NOT NULL, + MT_COMMENT varchar(255), + PRIMARY KEY(MT_KEY1, MT_KEY2) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + diff --git metastore/scripts/upgrade/mysql/upgrade-1.2.0-to-1.3.0.mysql.sql metastore/scripts/upgrade/mysql/upgrade-1.2.0-to-1.3.0.mysql.sql index 44a9946..f385549 100644 --- metastore/scripts/upgrade/mysql/upgrade-1.2.0-to-1.3.0.mysql.sql +++ metastore/scripts/upgrade/mysql/upgrade-1.2.0-to-1.3.0.mysql.sql @@ -1,4 +1,16 @@ SELECT 'Upgrading MetaStore schema from 1.2.0 to 1.3.0' AS ' '; + SOURCE 021-HIVE-7018.mysql.sql; +SOURCE 023-HIVE-12807.mysql.sql; +SOURCE 024-HIVE-12814.mysql.sql; +SOURCE 025-HIVE-12816.mysql.sql; +SOURCE 026-HIVE-12818.mysql.sql; +SOURCE 027-HIVE-12819.mysql.sql; +SOURCE 028-HIVE-12821.mysql.sql; +SOURCE 029-HIVE-12822.mysql.sql; +SOURCE 030-HIVE-12823.mysql.sql; +SOURCE 031-HIVE-12831.mysql.sql; +SOURCE 032-HIVE-12832.mysql.sql; + UPDATE VERSION SET SCHEMA_VERSION='1.3.0', VERSION_COMMENT='Hive release version 1.3.0' where VER_ID=1; SELECT 'Finished upgrading MetaStore schema from 1.2.0 to 1.3.0' AS ' '; diff --git metastore/scripts/upgrade/oracle/023-HIVE-12807.oracle.sql metastore/scripts/upgrade/oracle/023-HIVE-12807.oracle.sql new file mode 100644 index 0000000..0313e96 --- /dev/null +++ metastore/scripts/upgrade/oracle/023-HIVE-12807.oracle.sql @@ -0,0 +1 @@ +ALTER TABLE COMPACTION_QUEUE ADD CQ_HIGHEST_TXN_ID NUMBER(19); diff --git metastore/scripts/upgrade/oracle/024-HIVE-12814.oracle.sql metastore/scripts/upgrade/oracle/024-HIVE-12814.oracle.sql new file mode 100644 index 0000000..d9a5575 --- /dev/null +++ metastore/scripts/upgrade/oracle/024-HIVE-12814.oracle.sql @@ -0,0 +1 @@ +ALTER TABLE COMPACTION_QUEUE ADD CQ_META_INFO BLOB; diff --git metastore/scripts/upgrade/oracle/025-HIVE-12816.oracle.sql metastore/scripts/upgrade/oracle/025-HIVE-12816.oracle.sql new file mode 100644 index 0000000..9a96d8c --- /dev/null +++ metastore/scripts/upgrade/oracle/025-HIVE-12816.oracle.sql @@ -0,0 +1 @@ +ALTER TABLE COMPACTION_QUEUE ADD CQ_HADOOP_JOB_ID varchar2(32); diff --git metastore/scripts/upgrade/oracle/026-HIVE-12818.oracle.sql metastore/scripts/upgrade/oracle/026-HIVE-12818.oracle.sql new file mode 100644 index 0000000..9ecb43e --- /dev/null +++ metastore/scripts/upgrade/oracle/026-HIVE-12818.oracle.sql @@ -0,0 +1,17 @@ +CREATE TABLE COMPLETED_COMPACTIONS ( + CC_ID NUMBER(19) PRIMARY KEY, + CC_DATABASE varchar(128) NOT NULL, + CC_TABLE varchar(128) NOT NULL, + CC_PARTITION varchar(767), + CC_STATE char(1) NOT NULL, + CC_TYPE char(1) NOT NULL, + CC_WORKER_ID varchar(128), + CC_START NUMBER(19), + CC_END NUMBER(19), + CC_RUN_AS varchar(128), + CC_HIGHEST_TXN_ID NUMBER(19), + CC_META_INFO BLOB, + CC_HADOOP_JOB_ID varchar2(32) +) ROWDEPENDENCIES; + + diff --git metastore/scripts/upgrade/oracle/027-HIVE-12819.oracle.sql metastore/scripts/upgrade/oracle/027-HIVE-12819.oracle.sql new file mode 100644 index 0000000..0d74a98 --- /dev/null +++ metastore/scripts/upgrade/oracle/027-HIVE-12819.oracle.sql @@ -0,0 +1 @@ +ALTER TABLE TXNS ADD TXN_AGENT_INFO varchar2(128); diff --git metastore/scripts/upgrade/oracle/028-HIVE-12821.oracle.sql metastore/scripts/upgrade/oracle/028-HIVE-12821.oracle.sql new file mode 100644 index 0000000..152d2ab --- /dev/null +++ metastore/scripts/upgrade/oracle/028-HIVE-12821.oracle.sql @@ -0,0 +1,2 @@ +ALTER TABLE TXNS ADD TXN_HEARTBEAT_COUNT number(10); +ALTER TABLE HIVE_LOCKS ADD HL_HEARTBEAT_COUNT number(10); diff --git metastore/scripts/upgrade/oracle/029-HIVE-12822.oracle.sql metastore/scripts/upgrade/oracle/029-HIVE-12822.oracle.sql new file mode 100644 index 0000000..63c0d77 --- /dev/null +++ metastore/scripts/upgrade/oracle/029-HIVE-12822.oracle.sql @@ -0,0 +1 @@ +ALTER TABLE TXNS ADD TXN_META_INFO varchar2(128); diff --git metastore/scripts/upgrade/oracle/030-HIVE-12823.oracle.sql metastore/scripts/upgrade/oracle/030-HIVE-12823.oracle.sql new file mode 100644 index 0000000..f938603 --- /dev/null +++ metastore/scripts/upgrade/oracle/030-HIVE-12823.oracle.sql @@ -0,0 +1 @@ +ALTER TABLE HIVE_LOCKS ADD HL_AGENT_INFO varchar2(128); diff --git metastore/scripts/upgrade/oracle/031-HIVE-12381.oracle.sql metastore/scripts/upgrade/oracle/031-HIVE-12381.oracle.sql new file mode 100644 index 0000000..35a9b9d --- /dev/null +++ metastore/scripts/upgrade/oracle/031-HIVE-12381.oracle.sql @@ -0,0 +1,2 @@ +ALTER TABLE HIVE_LOCKS ADD HL_BLOCKEDBY_EXT_ID number(19); +ALTER TABLE HIVE_LOCKS ADD HL_BLOCKEDBY_INT_ID number(19); diff --git metastore/scripts/upgrade/oracle/032-HIVE-12832.oracle.sql metastore/scripts/upgrade/oracle/032-HIVE-12832.oracle.sql new file mode 100644 index 0000000..2b58d2e --- /dev/null +++ metastore/scripts/upgrade/oracle/032-HIVE-12832.oracle.sql @@ -0,0 +1,7 @@ +CREATE TABLE AUX_TABLE ( + MT_KEY1 varchar2(128) NOT NULL, + MT_KEY2 number(19) NOT NULL, + MT_COMMENT varchar2(255), + PRIMARY KEY(MT_KEY1, MT_KEY2) +); + diff --git metastore/scripts/upgrade/oracle/hive-schema-1.3.0.oracle.sql metastore/scripts/upgrade/oracle/hive-schema-1.3.0.oracle.sql index 7605bc7..b42a291 100644 --- metastore/scripts/upgrade/oracle/hive-schema-1.3.0.oracle.sql +++ metastore/scripts/upgrade/oracle/hive-schema-1.3.0.oracle.sql @@ -780,7 +780,7 @@ CREATE INDEX FUNC_RU_N49 ON FUNC_RU (FUNC_ID); ------------------------------ -- Transaction and lock tables ------------------------------ -@hive-txn-schema-0.13.0.oracle.sql; +@hive-txn-schema-1.3.0.oracle.sql; -- ----------------------------------------------------------------- -- Record schema version. Should be the last step in the init script diff --git metastore/scripts/upgrade/oracle/hive-txn-schema-1.3.0.oracle.sql metastore/scripts/upgrade/oracle/hive-txn-schema-1.3.0.oracle.sql new file mode 100644 index 0000000..788741a --- /dev/null +++ metastore/scripts/upgrade/oracle/hive-txn-schema-1.3.0.oracle.sql @@ -0,0 +1,120 @@ +-- 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. + +-- +-- Tables for transaction management +-- + +CREATE TABLE TXNS ( + TXN_ID NUMBER(19) PRIMARY KEY, + TXN_STATE char(1) NOT NULL, + TXN_STARTED NUMBER(19) NOT NULL, + TXN_LAST_HEARTBEAT NUMBER(19) NOT NULL, + TXN_USER varchar(128) NOT NULL, + TXN_HOST varchar(128) NOT NULL, + TXN_AGENT_INFO varchar2(128), + TXN_META_INFO varchar2(128), + TXN_HEARTBEAT_COUNT number(10) +) ROWDEPENDENCIES; + +CREATE TABLE TXN_COMPONENTS ( + TC_TXNID NUMBER(19) REFERENCES TXNS (TXN_ID), + TC_DATABASE VARCHAR2(128) NOT NULL, + TC_TABLE VARCHAR2(128), + TC_PARTITION VARCHAR2(767) NULL +) ROWDEPENDENCIES; + +CREATE TABLE COMPLETED_TXN_COMPONENTS ( + CTC_TXNID NUMBER(19), + CTC_DATABASE varchar(128) NOT NULL, + CTC_TABLE varchar(128), + CTC_PARTITION varchar(767) +) ROWDEPENDENCIES; + +CREATE TABLE NEXT_TXN_ID ( + NTXN_NEXT NUMBER(19) NOT NULL +); +INSERT INTO NEXT_TXN_ID VALUES(1); + +CREATE TABLE HIVE_LOCKS ( + HL_LOCK_EXT_ID NUMBER(19) NOT NULL, + HL_LOCK_INT_ID NUMBER(19) NOT NULL, + HL_TXNID NUMBER(19), + HL_DB VARCHAR2(128) NOT NULL, + HL_TABLE VARCHAR2(128), + HL_PARTITION VARCHAR2(767), + HL_LOCK_STATE CHAR(1) NOT NULL, + HL_LOCK_TYPE CHAR(1) NOT NULL, + HL_LAST_HEARTBEAT NUMBER(19) NOT NULL, + HL_ACQUIRED_AT NUMBER(19), + HL_USER varchar(128) NOT NULL, + HL_HOST varchar(128) NOT NULL, + HL_HEARTBEAT_COUNT number(10), + HL_AGENT_INFO varchar2(128), + HL_BLOCKEDBY_EXT_ID number(19), + HL_BLOCKEDBY_INT_ID number(19), + PRIMARY KEY(HL_LOCK_EXT_ID, HL_LOCK_INT_ID) +) ROWDEPENDENCIES; + +CREATE INDEX HL_TXNID_INDEX ON HIVE_LOCKS (HL_TXNID); + +CREATE TABLE NEXT_LOCK_ID ( + NL_NEXT NUMBER(19) NOT NULL +); +INSERT INTO NEXT_LOCK_ID VALUES(1); + +CREATE TABLE COMPACTION_QUEUE ( + CQ_ID NUMBER(19) PRIMARY KEY, + CQ_DATABASE varchar(128) NOT NULL, + CQ_TABLE varchar(128) NOT NULL, + CQ_PARTITION varchar(767), + CQ_STATE char(1) NOT NULL, + CQ_TYPE char(1) NOT NULL, + CQ_WORKER_ID varchar(128), + CQ_START NUMBER(19), + CQ_RUN_AS varchar(128), + CQ_HIGHEST_TXN_ID NUMBER(19), + CQ_META_INFO BLOB, + CQ_HADOOP_JOB_ID varchar2(32) +) ROWDEPENDENCIES; + +CREATE TABLE NEXT_COMPACTION_QUEUE_ID ( + NCQ_NEXT NUMBER(19) NOT NULL +); +INSERT INTO NEXT_COMPACTION_QUEUE_ID VALUES(1); + +CREATE TABLE COMPLETED_COMPACTIONS ( + CC_ID NUMBER(19) PRIMARY KEY, + CC_DATABASE varchar(128) NOT NULL, + CC_TABLE varchar(128) NOT NULL, + CC_PARTITION varchar(767), + CC_STATE char(1) NOT NULL, + CC_TYPE char(1) NOT NULL, + CC_WORKER_ID varchar(128), + CC_START NUMBER(19), + CC_END NUMBER(19), + CC_RUN_AS varchar(128), + CC_HIGHEST_TXN_ID NUMBER(19), + CC_META_INFO BLOB, + CC_HADOOP_JOB_ID varchar2(32) +) ROWDEPENDENCIES; + +CREATE TABLE AUX_TABLE ( + MT_KEY1 varchar2(128) NOT NULL, + MT_KEY2 number(19) NOT NULL, + MT_COMMENT varchar2(255), + PRIMARY KEY(MT_KEY1, MT_KEY2) +); + diff --git metastore/scripts/upgrade/oracle/upgrade-1.2.0-to-1.3.0.oracle.sql metastore/scripts/upgrade/oracle/upgrade-1.2.0-to-1.3.0.oracle.sql index f072a1c..55e272a 100644 --- metastore/scripts/upgrade/oracle/upgrade-1.2.0-to-1.3.0.oracle.sql +++ metastore/scripts/upgrade/oracle/upgrade-1.2.0-to-1.3.0.oracle.sql @@ -1,4 +1,15 @@ SELECT 'Upgrading MetaStore schema from 1.2.0 to 1.3.0' AS Status from dual; +@023-HIVE-12807.oracle.sql; +@024-HIVE-12814.oracle.sql; +@025-HIVE-12816.oracle.sql; +@026-HIVE-12818.oracle.sql; +@027-HIVE-12819.oracle.sql; +@028-HIVE-12821.oracle.sql; +@029-HIVE-12822.oracle.sql; +@030-HIVE-12823.oracle.sql; +@031-HIVE-12381.oracle.sql; +@032-HIVE-12832.oracle.sql; + UPDATE VERSION SET SCHEMA_VERSION='1.3.0', VERSION_COMMENT='Hive release version 1.3.0' where VER_ID=1; SELECT 'Finished upgrading MetaStore schema from 1.2.0 to 1.3.0' AS Status from dual; diff --git metastore/scripts/upgrade/postgres/022-HIVE-12807.postgres.sql metastore/scripts/upgrade/postgres/022-HIVE-12807.postgres.sql new file mode 100644 index 0000000..d4c7a18 --- /dev/null +++ metastore/scripts/upgrade/postgres/022-HIVE-12807.postgres.sql @@ -0,0 +1 @@ +ALTER TABLE COMPACTION_QUEUE ADD COLUMN CQ_HIGHEST_TXN_ID bigint; diff --git metastore/scripts/upgrade/postgres/023-HIVE-12814.postgres.sql metastore/scripts/upgrade/postgres/023-HIVE-12814.postgres.sql new file mode 100644 index 0000000..37ef99e --- /dev/null +++ metastore/scripts/upgrade/postgres/023-HIVE-12814.postgres.sql @@ -0,0 +1 @@ +ALTER TABLE COMPACTION_QUEUE ADD COLUMN CQ_META_INFO bytea; diff --git metastore/scripts/upgrade/postgres/024-HIVE-12816.postgres.sql metastore/scripts/upgrade/postgres/024-HIVE-12816.postgres.sql new file mode 100644 index 0000000..fa987d9 --- /dev/null +++ metastore/scripts/upgrade/postgres/024-HIVE-12816.postgres.sql @@ -0,0 +1 @@ +ALTER TABLE COMPACTION_QUEUE ADD COLUMN CQ_HADOOP_JOB_ID varchar(32); diff --git metastore/scripts/upgrade/postgres/025-HIVE-12818.postgres.sql metastore/scripts/upgrade/postgres/025-HIVE-12818.postgres.sql new file mode 100644 index 0000000..5eb2f26 --- /dev/null +++ metastore/scripts/upgrade/postgres/025-HIVE-12818.postgres.sql @@ -0,0 +1,17 @@ +CREATE TABLE COMPLETED_COMPACTIONS ( + CC_ID bigint PRIMARY KEY, + CC_DATABASE varchar(128) NOT NULL, + CC_TABLE varchar(128) NOT NULL, + CC_PARTITION varchar(767), + CC_STATE char(1) NOT NULL, + CC_TYPE char(1) NOT NULL, + CC_WORKER_ID varchar(128), + CC_START bigint, + CC_END bigint, + CC_RUN_AS varchar(128), + CC_HIGHEST_TXN_ID bigint, + CC_META_INFO bytea, + CC_HADOOP_JOB_ID varchar(32) +); + + diff --git metastore/scripts/upgrade/postgres/026-HIVE-12819.postgres.sql metastore/scripts/upgrade/postgres/026-HIVE-12819.postgres.sql new file mode 100644 index 0000000..eceb910 --- /dev/null +++ metastore/scripts/upgrade/postgres/026-HIVE-12819.postgres.sql @@ -0,0 +1 @@ +ALTER TABLE TXNS ADD COLUMN TXN_AGENT_INFO varchar(128); diff --git metastore/scripts/upgrade/postgres/027-HIVE-12821.postgres.sql metastore/scripts/upgrade/postgres/027-HIVE-12821.postgres.sql new file mode 100644 index 0000000..ba5a51a --- /dev/null +++ metastore/scripts/upgrade/postgres/027-HIVE-12821.postgres.sql @@ -0,0 +1,2 @@ +ALTER TABLE TXNS ADD COLUMN TXN_HEARTBEAT_COUNT integer; +ALTER TABLE HIVE_LOCKS ADD COLUMN HL_HEARTBEAT_COUNT integer; diff --git metastore/scripts/upgrade/postgres/028-HIVE-12822.postgres.sql metastore/scripts/upgrade/postgres/028-HIVE-12822.postgres.sql new file mode 100644 index 0000000..f4e9742 --- /dev/null +++ metastore/scripts/upgrade/postgres/028-HIVE-12822.postgres.sql @@ -0,0 +1 @@ +ALTER TABLE TXNS ADD COLUMN TXN_META_INFO varchar(128); diff --git metastore/scripts/upgrade/postgres/029-HIVE-12823.postgres.sql metastore/scripts/upgrade/postgres/029-HIVE-12823.postgres.sql new file mode 100644 index 0000000..f7a980b --- /dev/null +++ metastore/scripts/upgrade/postgres/029-HIVE-12823.postgres.sql @@ -0,0 +1 @@ +ALTER TABLE HIVE_LOCKS ADD COLUMN HL_AGENT_INFO varchar(128); diff --git metastore/scripts/upgrade/postgres/030-HIVE-12831.postgres.sql metastore/scripts/upgrade/postgres/030-HIVE-12831.postgres.sql new file mode 100644 index 0000000..3f314e8 --- /dev/null +++ metastore/scripts/upgrade/postgres/030-HIVE-12831.postgres.sql @@ -0,0 +1,2 @@ +ALTER TABLE HIVE_LOCKS ADD COLUMN HL_BLOCKEDBY_EXT_ID bigint; +ALTER TABLE HIVE_LOCKS ADD COLUMN HL_BLOCKEDBY_INT_ID bigint; diff --git metastore/scripts/upgrade/postgres/031-HIVE-12832.postgres.sql metastore/scripts/upgrade/postgres/031-HIVE-12832.postgres.sql new file mode 100644 index 0000000..0e5515c --- /dev/null +++ metastore/scripts/upgrade/postgres/031-HIVE-12832.postgres.sql @@ -0,0 +1,7 @@ +CREATE TABLE AUX_TABLE ( + MT_KEY1 varchar(128) NOT NULL, + MT_KEY2 bigint NOT NULL, + MT_COMMENT varchar(255), + PRIMARY KEY(MT_KEY1, MT_KEY2) +); + diff --git metastore/scripts/upgrade/postgres/hive-schema-1.3.0.postgres.sql metastore/scripts/upgrade/postgres/hive-schema-1.3.0.postgres.sql index 3ab5b3e..06fac4a 100644 --- metastore/scripts/upgrade/postgres/hive-schema-1.3.0.postgres.sql +++ metastore/scripts/upgrade/postgres/hive-schema-1.3.0.postgres.sql @@ -1449,7 +1449,7 @@ GRANT ALL ON SCHEMA public TO PUBLIC; ------------------------------ -- Transaction and lock tables ------------------------------ -\i hive-txn-schema-0.13.0.postgres.sql; +\i hive-txn-schema-1.3.0.postgres.sql; -- ----------------------------------------------------------------- -- Record schema version. Should be the last step in the init script diff --git metastore/scripts/upgrade/postgres/hive-txn-schema-1.3.0.postgres.sql metastore/scripts/upgrade/postgres/hive-txn-schema-1.3.0.postgres.sql new file mode 100644 index 0000000..b2fc1a8 --- /dev/null +++ metastore/scripts/upgrade/postgres/hive-txn-schema-1.3.0.postgres.sql @@ -0,0 +1,121 @@ +-- 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. + +-- +-- Tables for transaction management +-- + +CREATE TABLE TXNS ( + TXN_ID bigint PRIMARY KEY, + TXN_STATE char(1) NOT NULL, + TXN_STARTED bigint NOT NULL, + TXN_LAST_HEARTBEAT bigint NOT NULL, + TXN_USER varchar(128) NOT NULL, + TXN_HOST varchar(128) NOT NULL, + TXN_AGENT_INFO varchar(128), + TXN_META_INFO varchar(128), + TXN_HEARTBEAT_COUNT integer +); + +CREATE TABLE TXN_COMPONENTS ( + TC_TXNID bigint REFERENCES TXNS (TXN_ID), + TC_DATABASE varchar(128) NOT NULL, + TC_TABLE varchar(128), + TC_PARTITION varchar(767) DEFAULT NULL +); + +CREATE TABLE COMPLETED_TXN_COMPONENTS ( + CTC_TXNID bigint, + CTC_DATABASE varchar(128) NOT NULL, + CTC_TABLE varchar(128), + CTC_PARTITION varchar(767) +); + +CREATE TABLE NEXT_TXN_ID ( + NTXN_NEXT bigint NOT NULL +); +INSERT INTO NEXT_TXN_ID VALUES(1); + +CREATE TABLE HIVE_LOCKS ( + HL_LOCK_EXT_ID bigint NOT NULL, + HL_LOCK_INT_ID bigint NOT NULL, + HL_TXNID bigint, + HL_DB varchar(128) NOT NULL, + HL_TABLE varchar(128), + HL_PARTITION varchar(767) DEFAULT NULL, + HL_LOCK_STATE char(1) NOT NULL, + HL_LOCK_TYPE char(1) NOT NULL, + HL_LAST_HEARTBEAT bigint NOT NULL, + HL_ACQUIRED_AT bigint, + HL_USER varchar(128) NOT NULL, + HL_HOST varchar(128) NOT NULL, + HL_HEARTBEAT_COUNT integer, + HL_AGENT_INFO varchar(128), + HL_BLOCKEDBY_EXT_ID bigint, + HL_BLOCKEDBY_INT_ID bigint, + PRIMARY KEY(HL_LOCK_EXT_ID, HL_LOCK_INT_ID) +); + +CREATE INDEX HL_TXNID_INDEX ON HIVE_LOCKS USING hash (HL_TXNID); + +CREATE TABLE NEXT_LOCK_ID ( + NL_NEXT bigint NOT NULL +); +INSERT INTO NEXT_LOCK_ID VALUES(1); + +CREATE TABLE COMPACTION_QUEUE ( + CQ_ID bigint PRIMARY KEY, + CQ_DATABASE varchar(128) NOT NULL, + CQ_TABLE varchar(128) NOT NULL, + CQ_PARTITION varchar(767), + CQ_STATE char(1) NOT NULL, + CQ_TYPE char(1) NOT NULL, + CQ_WORKER_ID varchar(128), + CQ_START bigint, + CQ_RUN_AS varchar(128), + CQ_HIGHEST_TXN_ID bigint, + CQ_META_INFO bytea, + CQ_HADOOP_JOB_ID varchar(32) +); + +CREATE TABLE NEXT_COMPACTION_QUEUE_ID ( + NCQ_NEXT bigint NOT NULL +); +INSERT INTO NEXT_COMPACTION_QUEUE_ID VALUES(1); + +CREATE TABLE COMPLETED_COMPACTIONS ( + CC_ID bigint PRIMARY KEY, + CC_DATABASE varchar(128) NOT NULL, + CC_TABLE varchar(128) NOT NULL, + CC_PARTITION varchar(767), + CC_STATE char(1) NOT NULL, + CC_TYPE char(1) NOT NULL, + CC_WORKER_ID varchar(128), + CC_START bigint, + CC_END bigint, + CC_RUN_AS varchar(128), + CC_HIGHEST_TXN_ID bigint, + CC_META_INFO bytea, + CC_HADOOP_JOB_ID varchar(32) +); + +CREATE TABLE AUX_TABLE ( + MT_KEY1 varchar(128) NOT NULL, + MT_KEY2 bigint NOT NULL, + MT_COMMENT varchar(255), + PRIMARY KEY(MT_KEY1, MT_KEY2) +); + + diff --git metastore/scripts/upgrade/postgres/upgrade-1.2.0-to-1.3.0.postgres.sql metastore/scripts/upgrade/postgres/upgrade-1.2.0-to-1.3.0.postgres.sql index cdd3792..6b4123b 100644 --- metastore/scripts/upgrade/postgres/upgrade-1.2.0-to-1.3.0.postgres.sql +++ metastore/scripts/upgrade/postgres/upgrade-1.2.0-to-1.3.0.postgres.sql @@ -1,5 +1,15 @@ SELECT 'Upgrading MetaStore schema from 1.2.0 to 1.3.0'; +\i 022-HIVE-12807.postgres.sql; +\i 023-HIVE-12814.postgres.sql; +\i 024-HIVE-12816.postgres.sql; +\i 025-HIVE-12818.postgres.sql; +\i 026-HIVE-12819.postgres.sql; +\i 027-HIVE-12821.postgres.sql; +\i 028-HIVE-12822.postgres.sql; +\i 029-HIVE-12823.postgres.sql; +\i 030-HIVE-12831.postgres.sql; +\i 031-HIVE-12832.postgres.sql; UPDATE "VERSION" SET "SCHEMA_VERSION"='1.3.0', "VERSION_COMMENT"='Hive release version 1.3.0' where "VER_ID"=1; SELECT 'Finished upgrading MetaStore schema from 1.2.0 to 1.3.0'; diff --git metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index 9a0ab8b..5efda4f 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -15,6 +15,7 @@ ThriftHiveMetastore_getMetaConf_args::~ThriftHiveMetastore_getMetaConf_args() th uint32_t ThriftHiveMetastore_getMetaConf_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; @@ -55,7 +56,7 @@ uint32_t ThriftHiveMetastore_getMetaConf_args::read(::apache::thrift::protocol:: uint32_t ThriftHiveMetastore_getMetaConf_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_getMetaConf_args"); xfer += oprot->writeFieldBegin("key", ::apache::thrift::protocol::T_STRING, 1); @@ -64,7 +65,6 @@ uint32_t ThriftHiveMetastore_getMetaConf_args::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -75,7 +75,7 @@ ThriftHiveMetastore_getMetaConf_pargs::~ThriftHiveMetastore_getMetaConf_pargs() uint32_t ThriftHiveMetastore_getMetaConf_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_getMetaConf_pargs"); xfer += oprot->writeFieldBegin("key", ::apache::thrift::protocol::T_STRING, 1); @@ -84,7 +84,6 @@ uint32_t ThriftHiveMetastore_getMetaConf_pargs::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -95,6 +94,7 @@ ThriftHiveMetastore_getMetaConf_result::~ThriftHiveMetastore_getMetaConf_result( uint32_t ThriftHiveMetastore_getMetaConf_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; @@ -168,6 +168,7 @@ ThriftHiveMetastore_getMetaConf_presult::~ThriftHiveMetastore_getMetaConf_presul uint32_t ThriftHiveMetastore_getMetaConf_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; @@ -221,6 +222,7 @@ ThriftHiveMetastore_setMetaConf_args::~ThriftHiveMetastore_setMetaConf_args() th uint32_t ThriftHiveMetastore_setMetaConf_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; @@ -269,7 +271,7 @@ uint32_t ThriftHiveMetastore_setMetaConf_args::read(::apache::thrift::protocol:: uint32_t ThriftHiveMetastore_setMetaConf_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_setMetaConf_args"); xfer += oprot->writeFieldBegin("key", ::apache::thrift::protocol::T_STRING, 1); @@ -282,7 +284,6 @@ uint32_t ThriftHiveMetastore_setMetaConf_args::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -293,7 +294,7 @@ ThriftHiveMetastore_setMetaConf_pargs::~ThriftHiveMetastore_setMetaConf_pargs() uint32_t ThriftHiveMetastore_setMetaConf_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_setMetaConf_pargs"); xfer += oprot->writeFieldBegin("key", ::apache::thrift::protocol::T_STRING, 1); @@ -306,7 +307,6 @@ uint32_t ThriftHiveMetastore_setMetaConf_pargs::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -317,6 +317,7 @@ ThriftHiveMetastore_setMetaConf_result::~ThriftHiveMetastore_setMetaConf_result( uint32_t ThriftHiveMetastore_setMetaConf_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; @@ -378,6 +379,7 @@ ThriftHiveMetastore_setMetaConf_presult::~ThriftHiveMetastore_setMetaConf_presul uint32_t ThriftHiveMetastore_setMetaConf_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; @@ -423,6 +425,7 @@ ThriftHiveMetastore_create_database_args::~ThriftHiveMetastore_create_database_a uint32_t ThriftHiveMetastore_create_database_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; @@ -463,7 +466,7 @@ uint32_t ThriftHiveMetastore_create_database_args::read(::apache::thrift::protoc uint32_t ThriftHiveMetastore_create_database_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_database_args"); xfer += oprot->writeFieldBegin("database", ::apache::thrift::protocol::T_STRUCT, 1); @@ -472,7 +475,6 @@ uint32_t ThriftHiveMetastore_create_database_args::write(::apache::thrift::proto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -483,7 +485,7 @@ ThriftHiveMetastore_create_database_pargs::~ThriftHiveMetastore_create_database_ uint32_t ThriftHiveMetastore_create_database_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_database_pargs"); xfer += oprot->writeFieldBegin("database", ::apache::thrift::protocol::T_STRUCT, 1); @@ -492,7 +494,6 @@ uint32_t ThriftHiveMetastore_create_database_pargs::write(::apache::thrift::prot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -503,6 +504,7 @@ ThriftHiveMetastore_create_database_result::~ThriftHiveMetastore_create_database uint32_t ThriftHiveMetastore_create_database_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; @@ -588,6 +590,7 @@ ThriftHiveMetastore_create_database_presult::~ThriftHiveMetastore_create_databas uint32_t ThriftHiveMetastore_create_database_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; @@ -649,6 +652,7 @@ ThriftHiveMetastore_get_database_args::~ThriftHiveMetastore_get_database_args() uint32_t ThriftHiveMetastore_get_database_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; @@ -689,7 +693,7 @@ uint32_t ThriftHiveMetastore_get_database_args::read(::apache::thrift::protocol: uint32_t ThriftHiveMetastore_get_database_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_database_args"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -698,7 +702,6 @@ uint32_t ThriftHiveMetastore_get_database_args::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -709,7 +712,7 @@ ThriftHiveMetastore_get_database_pargs::~ThriftHiveMetastore_get_database_pargs( uint32_t ThriftHiveMetastore_get_database_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_database_pargs"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -718,7 +721,6 @@ uint32_t ThriftHiveMetastore_get_database_pargs::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -729,6 +731,7 @@ ThriftHiveMetastore_get_database_result::~ThriftHiveMetastore_get_database_resul uint32_t ThriftHiveMetastore_get_database_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; @@ -814,6 +817,7 @@ ThriftHiveMetastore_get_database_presult::~ThriftHiveMetastore_get_database_pres uint32_t ThriftHiveMetastore_get_database_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; @@ -875,6 +879,7 @@ ThriftHiveMetastore_drop_database_args::~ThriftHiveMetastore_drop_database_args( uint32_t ThriftHiveMetastore_drop_database_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; @@ -931,7 +936,7 @@ uint32_t ThriftHiveMetastore_drop_database_args::read(::apache::thrift::protocol uint32_t ThriftHiveMetastore_drop_database_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_database_args"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -948,7 +953,6 @@ uint32_t ThriftHiveMetastore_drop_database_args::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -959,7 +963,7 @@ ThriftHiveMetastore_drop_database_pargs::~ThriftHiveMetastore_drop_database_parg uint32_t ThriftHiveMetastore_drop_database_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_database_pargs"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -976,7 +980,6 @@ uint32_t ThriftHiveMetastore_drop_database_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -987,6 +990,7 @@ ThriftHiveMetastore_drop_database_result::~ThriftHiveMetastore_drop_database_res uint32_t ThriftHiveMetastore_drop_database_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; @@ -1072,6 +1076,7 @@ ThriftHiveMetastore_drop_database_presult::~ThriftHiveMetastore_drop_database_pr uint32_t ThriftHiveMetastore_drop_database_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; @@ -1133,6 +1138,7 @@ ThriftHiveMetastore_get_databases_args::~ThriftHiveMetastore_get_databases_args( uint32_t ThriftHiveMetastore_get_databases_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; @@ -1173,7 +1179,7 @@ uint32_t ThriftHiveMetastore_get_databases_args::read(::apache::thrift::protocol uint32_t ThriftHiveMetastore_get_databases_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_databases_args"); xfer += oprot->writeFieldBegin("pattern", ::apache::thrift::protocol::T_STRING, 1); @@ -1182,7 +1188,6 @@ uint32_t ThriftHiveMetastore_get_databases_args::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1193,7 +1198,7 @@ ThriftHiveMetastore_get_databases_pargs::~ThriftHiveMetastore_get_databases_parg uint32_t ThriftHiveMetastore_get_databases_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_databases_pargs"); xfer += oprot->writeFieldBegin("pattern", ::apache::thrift::protocol::T_STRING, 1); @@ -1202,7 +1207,6 @@ uint32_t ThriftHiveMetastore_get_databases_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1213,6 +1217,7 @@ ThriftHiveMetastore_get_databases_result::~ThriftHiveMetastore_get_databases_res uint32_t ThriftHiveMetastore_get_databases_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; @@ -1306,6 +1311,7 @@ ThriftHiveMetastore_get_databases_presult::~ThriftHiveMetastore_get_databases_pr uint32_t ThriftHiveMetastore_get_databases_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; @@ -1371,6 +1377,7 @@ ThriftHiveMetastore_get_all_databases_args::~ThriftHiveMetastore_get_all_databas uint32_t ThriftHiveMetastore_get_all_databases_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; @@ -1398,12 +1405,11 @@ uint32_t ThriftHiveMetastore_get_all_databases_args::read(::apache::thrift::prot uint32_t ThriftHiveMetastore_get_all_databases_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_databases_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1414,12 +1420,11 @@ ThriftHiveMetastore_get_all_databases_pargs::~ThriftHiveMetastore_get_all_databa uint32_t ThriftHiveMetastore_get_all_databases_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_databases_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1430,6 +1435,7 @@ ThriftHiveMetastore_get_all_databases_result::~ThriftHiveMetastore_get_all_datab uint32_t ThriftHiveMetastore_get_all_databases_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; @@ -1523,6 +1529,7 @@ ThriftHiveMetastore_get_all_databases_presult::~ThriftHiveMetastore_get_all_data uint32_t ThriftHiveMetastore_get_all_databases_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; @@ -1588,6 +1595,7 @@ ThriftHiveMetastore_alter_database_args::~ThriftHiveMetastore_alter_database_arg uint32_t ThriftHiveMetastore_alter_database_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; @@ -1636,7 +1644,7 @@ uint32_t ThriftHiveMetastore_alter_database_args::read(::apache::thrift::protoco uint32_t ThriftHiveMetastore_alter_database_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_database_args"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -1649,7 +1657,6 @@ uint32_t ThriftHiveMetastore_alter_database_args::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1660,7 +1667,7 @@ ThriftHiveMetastore_alter_database_pargs::~ThriftHiveMetastore_alter_database_pa uint32_t ThriftHiveMetastore_alter_database_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_database_pargs"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -1673,7 +1680,6 @@ uint32_t ThriftHiveMetastore_alter_database_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1684,6 +1690,7 @@ ThriftHiveMetastore_alter_database_result::~ThriftHiveMetastore_alter_database_r uint32_t ThriftHiveMetastore_alter_database_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; @@ -1757,6 +1764,7 @@ ThriftHiveMetastore_alter_database_presult::~ThriftHiveMetastore_alter_database_ uint32_t ThriftHiveMetastore_alter_database_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; @@ -1810,6 +1818,7 @@ ThriftHiveMetastore_get_type_args::~ThriftHiveMetastore_get_type_args() throw() uint32_t ThriftHiveMetastore_get_type_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; @@ -1850,7 +1859,7 @@ uint32_t ThriftHiveMetastore_get_type_args::read(::apache::thrift::protocol::TPr uint32_t ThriftHiveMetastore_get_type_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_args"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -1859,7 +1868,6 @@ uint32_t ThriftHiveMetastore_get_type_args::write(::apache::thrift::protocol::TP xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1870,7 +1878,7 @@ ThriftHiveMetastore_get_type_pargs::~ThriftHiveMetastore_get_type_pargs() throw( uint32_t ThriftHiveMetastore_get_type_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_pargs"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -1879,7 +1887,6 @@ uint32_t ThriftHiveMetastore_get_type_pargs::write(::apache::thrift::protocol::T xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1890,6 +1897,7 @@ ThriftHiveMetastore_get_type_result::~ThriftHiveMetastore_get_type_result() thro uint32_t ThriftHiveMetastore_get_type_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; @@ -1975,6 +1983,7 @@ ThriftHiveMetastore_get_type_presult::~ThriftHiveMetastore_get_type_presult() th uint32_t ThriftHiveMetastore_get_type_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; @@ -2036,6 +2045,7 @@ ThriftHiveMetastore_create_type_args::~ThriftHiveMetastore_create_type_args() th uint32_t ThriftHiveMetastore_create_type_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; @@ -2076,7 +2086,7 @@ uint32_t ThriftHiveMetastore_create_type_args::read(::apache::thrift::protocol:: uint32_t ThriftHiveMetastore_create_type_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_type_args"); xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2085,7 +2095,6 @@ uint32_t ThriftHiveMetastore_create_type_args::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2096,7 +2105,7 @@ ThriftHiveMetastore_create_type_pargs::~ThriftHiveMetastore_create_type_pargs() uint32_t ThriftHiveMetastore_create_type_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_type_pargs"); xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2105,7 +2114,6 @@ uint32_t ThriftHiveMetastore_create_type_pargs::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2116,6 +2124,7 @@ ThriftHiveMetastore_create_type_result::~ThriftHiveMetastore_create_type_result( uint32_t ThriftHiveMetastore_create_type_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; @@ -2213,6 +2222,7 @@ ThriftHiveMetastore_create_type_presult::~ThriftHiveMetastore_create_type_presul uint32_t ThriftHiveMetastore_create_type_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; @@ -2282,6 +2292,7 @@ ThriftHiveMetastore_drop_type_args::~ThriftHiveMetastore_drop_type_args() throw( uint32_t ThriftHiveMetastore_drop_type_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; @@ -2322,7 +2333,7 @@ uint32_t ThriftHiveMetastore_drop_type_args::read(::apache::thrift::protocol::TP uint32_t ThriftHiveMetastore_drop_type_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_type_args"); xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRING, 1); @@ -2331,7 +2342,6 @@ uint32_t ThriftHiveMetastore_drop_type_args::write(::apache::thrift::protocol::T xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2342,7 +2352,7 @@ ThriftHiveMetastore_drop_type_pargs::~ThriftHiveMetastore_drop_type_pargs() thro uint32_t ThriftHiveMetastore_drop_type_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_type_pargs"); xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_STRING, 1); @@ -2351,7 +2361,6 @@ uint32_t ThriftHiveMetastore_drop_type_pargs::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2362,6 +2371,7 @@ ThriftHiveMetastore_drop_type_result::~ThriftHiveMetastore_drop_type_result() th uint32_t ThriftHiveMetastore_drop_type_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; @@ -2447,6 +2457,7 @@ ThriftHiveMetastore_drop_type_presult::~ThriftHiveMetastore_drop_type_presult() uint32_t ThriftHiveMetastore_drop_type_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; @@ -2508,6 +2519,7 @@ ThriftHiveMetastore_get_type_all_args::~ThriftHiveMetastore_get_type_all_args() uint32_t ThriftHiveMetastore_get_type_all_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; @@ -2548,7 +2560,7 @@ uint32_t ThriftHiveMetastore_get_type_all_args::read(::apache::thrift::protocol: uint32_t ThriftHiveMetastore_get_type_all_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_all_args"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -2557,7 +2569,6 @@ uint32_t ThriftHiveMetastore_get_type_all_args::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2568,7 +2579,7 @@ ThriftHiveMetastore_get_type_all_pargs::~ThriftHiveMetastore_get_type_all_pargs( uint32_t ThriftHiveMetastore_get_type_all_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_type_all_pargs"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -2577,7 +2588,6 @@ uint32_t ThriftHiveMetastore_get_type_all_pargs::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2588,6 +2598,7 @@ ThriftHiveMetastore_get_type_all_result::~ThriftHiveMetastore_get_type_all_resul uint32_t ThriftHiveMetastore_get_type_all_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; @@ -2685,6 +2696,7 @@ ThriftHiveMetastore_get_type_all_presult::~ThriftHiveMetastore_get_type_all_pres uint32_t ThriftHiveMetastore_get_type_all_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; @@ -2753,6 +2765,7 @@ ThriftHiveMetastore_get_fields_args::~ThriftHiveMetastore_get_fields_args() thro uint32_t ThriftHiveMetastore_get_fields_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; @@ -2801,7 +2814,7 @@ uint32_t ThriftHiveMetastore_get_fields_args::read(::apache::thrift::protocol::T uint32_t ThriftHiveMetastore_get_fields_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -2814,7 +2827,6 @@ uint32_t ThriftHiveMetastore_get_fields_args::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2825,7 +2837,7 @@ ThriftHiveMetastore_get_fields_pargs::~ThriftHiveMetastore_get_fields_pargs() th uint32_t ThriftHiveMetastore_get_fields_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -2838,7 +2850,6 @@ uint32_t ThriftHiveMetastore_get_fields_pargs::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2849,6 +2860,7 @@ ThriftHiveMetastore_get_fields_result::~ThriftHiveMetastore_get_fields_result() uint32_t ThriftHiveMetastore_get_fields_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; @@ -2966,6 +2978,7 @@ ThriftHiveMetastore_get_fields_presult::~ThriftHiveMetastore_get_fields_presult( uint32_t ThriftHiveMetastore_get_fields_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; @@ -3047,6 +3060,7 @@ ThriftHiveMetastore_get_fields_with_environment_context_args::~ThriftHiveMetasto uint32_t ThriftHiveMetastore_get_fields_with_environment_context_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; @@ -3103,7 +3117,7 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_args::read(::ap uint32_t ThriftHiveMetastore_get_fields_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_with_environment_context_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -3120,7 +3134,6 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_args::write(::a xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3131,7 +3144,7 @@ ThriftHiveMetastore_get_fields_with_environment_context_pargs::~ThriftHiveMetast uint32_t ThriftHiveMetastore_get_fields_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_fields_with_environment_context_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -3148,7 +3161,6 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_pargs::write(:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3159,6 +3171,7 @@ ThriftHiveMetastore_get_fields_with_environment_context_result::~ThriftHiveMetas uint32_t ThriftHiveMetastore_get_fields_with_environment_context_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; @@ -3276,6 +3289,7 @@ ThriftHiveMetastore_get_fields_with_environment_context_presult::~ThriftHiveMeta uint32_t ThriftHiveMetastore_get_fields_with_environment_context_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; @@ -3357,6 +3371,7 @@ ThriftHiveMetastore_get_schema_args::~ThriftHiveMetastore_get_schema_args() thro uint32_t ThriftHiveMetastore_get_schema_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; @@ -3405,7 +3420,7 @@ uint32_t ThriftHiveMetastore_get_schema_args::read(::apache::thrift::protocol::T uint32_t ThriftHiveMetastore_get_schema_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -3418,7 +3433,6 @@ uint32_t ThriftHiveMetastore_get_schema_args::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3429,7 +3443,7 @@ ThriftHiveMetastore_get_schema_pargs::~ThriftHiveMetastore_get_schema_pargs() th uint32_t ThriftHiveMetastore_get_schema_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -3442,7 +3456,6 @@ uint32_t ThriftHiveMetastore_get_schema_pargs::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3453,6 +3466,7 @@ ThriftHiveMetastore_get_schema_result::~ThriftHiveMetastore_get_schema_result() uint32_t ThriftHiveMetastore_get_schema_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; @@ -3570,6 +3584,7 @@ ThriftHiveMetastore_get_schema_presult::~ThriftHiveMetastore_get_schema_presult( uint32_t ThriftHiveMetastore_get_schema_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; @@ -3651,6 +3666,7 @@ ThriftHiveMetastore_get_schema_with_environment_context_args::~ThriftHiveMetasto uint32_t ThriftHiveMetastore_get_schema_with_environment_context_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; @@ -3707,7 +3723,7 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_args::read(::ap uint32_t ThriftHiveMetastore_get_schema_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_with_environment_context_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -3724,7 +3740,6 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_args::write(::a xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3735,7 +3750,7 @@ ThriftHiveMetastore_get_schema_with_environment_context_pargs::~ThriftHiveMetast uint32_t ThriftHiveMetastore_get_schema_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_schema_with_environment_context_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -3752,7 +3767,6 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_pargs::write(:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3763,6 +3777,7 @@ ThriftHiveMetastore_get_schema_with_environment_context_result::~ThriftHiveMetas uint32_t ThriftHiveMetastore_get_schema_with_environment_context_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; @@ -3880,6 +3895,7 @@ ThriftHiveMetastore_get_schema_with_environment_context_presult::~ThriftHiveMeta uint32_t ThriftHiveMetastore_get_schema_with_environment_context_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; @@ -3961,6 +3977,7 @@ ThriftHiveMetastore_create_table_args::~ThriftHiveMetastore_create_table_args() uint32_t ThriftHiveMetastore_create_table_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; @@ -4001,7 +4018,7 @@ uint32_t ThriftHiveMetastore_create_table_args::read(::apache::thrift::protocol: uint32_t ThriftHiveMetastore_create_table_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_args"); xfer += oprot->writeFieldBegin("tbl", ::apache::thrift::protocol::T_STRUCT, 1); @@ -4010,7 +4027,6 @@ uint32_t ThriftHiveMetastore_create_table_args::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -4021,7 +4037,7 @@ ThriftHiveMetastore_create_table_pargs::~ThriftHiveMetastore_create_table_pargs( uint32_t ThriftHiveMetastore_create_table_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_pargs"); xfer += oprot->writeFieldBegin("tbl", ::apache::thrift::protocol::T_STRUCT, 1); @@ -4030,7 +4046,6 @@ uint32_t ThriftHiveMetastore_create_table_pargs::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -4041,6 +4056,7 @@ ThriftHiveMetastore_create_table_result::~ThriftHiveMetastore_create_table_resul uint32_t ThriftHiveMetastore_create_table_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; @@ -4138,6 +4154,7 @@ ThriftHiveMetastore_create_table_presult::~ThriftHiveMetastore_create_table_pres uint32_t ThriftHiveMetastore_create_table_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; @@ -4207,6 +4224,7 @@ ThriftHiveMetastore_create_table_with_environment_context_args::~ThriftHiveMetas uint32_t ThriftHiveMetastore_create_table_with_environment_context_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; @@ -4255,7 +4273,7 @@ uint32_t ThriftHiveMetastore_create_table_with_environment_context_args::read(:: uint32_t ThriftHiveMetastore_create_table_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_with_environment_context_args"); xfer += oprot->writeFieldBegin("tbl", ::apache::thrift::protocol::T_STRUCT, 1); @@ -4268,7 +4286,6 @@ uint32_t ThriftHiveMetastore_create_table_with_environment_context_args::write(: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -4279,7 +4296,7 @@ ThriftHiveMetastore_create_table_with_environment_context_pargs::~ThriftHiveMeta uint32_t ThriftHiveMetastore_create_table_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_table_with_environment_context_pargs"); xfer += oprot->writeFieldBegin("tbl", ::apache::thrift::protocol::T_STRUCT, 1); @@ -4292,7 +4309,6 @@ uint32_t ThriftHiveMetastore_create_table_with_environment_context_pargs::write( xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -4303,6 +4319,7 @@ ThriftHiveMetastore_create_table_with_environment_context_result::~ThriftHiveMet uint32_t ThriftHiveMetastore_create_table_with_environment_context_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; @@ -4400,6 +4417,7 @@ ThriftHiveMetastore_create_table_with_environment_context_presult::~ThriftHiveMe uint32_t ThriftHiveMetastore_create_table_with_environment_context_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; @@ -4469,6 +4487,7 @@ ThriftHiveMetastore_drop_table_args::~ThriftHiveMetastore_drop_table_args() thro uint32_t ThriftHiveMetastore_drop_table_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; @@ -4525,7 +4544,7 @@ uint32_t ThriftHiveMetastore_drop_table_args::read(::apache::thrift::protocol::T uint32_t ThriftHiveMetastore_drop_table_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_table_args"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -4542,7 +4561,6 @@ uint32_t ThriftHiveMetastore_drop_table_args::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -4553,7 +4571,7 @@ ThriftHiveMetastore_drop_table_pargs::~ThriftHiveMetastore_drop_table_pargs() th uint32_t ThriftHiveMetastore_drop_table_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_table_pargs"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -4570,7 +4588,6 @@ uint32_t ThriftHiveMetastore_drop_table_pargs::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -4581,6 +4598,7 @@ ThriftHiveMetastore_drop_table_result::~ThriftHiveMetastore_drop_table_result() uint32_t ThriftHiveMetastore_drop_table_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; @@ -4654,6 +4672,7 @@ ThriftHiveMetastore_drop_table_presult::~ThriftHiveMetastore_drop_table_presult( uint32_t ThriftHiveMetastore_drop_table_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; @@ -4707,6 +4726,7 @@ ThriftHiveMetastore_drop_table_with_environment_context_args::~ThriftHiveMetasto uint32_t ThriftHiveMetastore_drop_table_with_environment_context_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; @@ -4771,7 +4791,7 @@ uint32_t ThriftHiveMetastore_drop_table_with_environment_context_args::read(::ap uint32_t ThriftHiveMetastore_drop_table_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_table_with_environment_context_args"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -4792,7 +4812,6 @@ uint32_t ThriftHiveMetastore_drop_table_with_environment_context_args::write(::a xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -4803,7 +4822,7 @@ ThriftHiveMetastore_drop_table_with_environment_context_pargs::~ThriftHiveMetast uint32_t ThriftHiveMetastore_drop_table_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_table_with_environment_context_pargs"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -4824,7 +4843,6 @@ uint32_t ThriftHiveMetastore_drop_table_with_environment_context_pargs::write(:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -4835,6 +4853,7 @@ ThriftHiveMetastore_drop_table_with_environment_context_result::~ThriftHiveMetas uint32_t ThriftHiveMetastore_drop_table_with_environment_context_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; @@ -4908,6 +4927,7 @@ ThriftHiveMetastore_drop_table_with_environment_context_presult::~ThriftHiveMeta uint32_t ThriftHiveMetastore_drop_table_with_environment_context_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; @@ -4961,6 +4981,7 @@ ThriftHiveMetastore_get_tables_args::~ThriftHiveMetastore_get_tables_args() thro uint32_t ThriftHiveMetastore_get_tables_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; @@ -5009,7 +5030,7 @@ uint32_t ThriftHiveMetastore_get_tables_args::read(::apache::thrift::protocol::T uint32_t ThriftHiveMetastore_get_tables_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_tables_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -5022,7 +5043,6 @@ uint32_t ThriftHiveMetastore_get_tables_args::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -5033,7 +5053,7 @@ ThriftHiveMetastore_get_tables_pargs::~ThriftHiveMetastore_get_tables_pargs() th uint32_t ThriftHiveMetastore_get_tables_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_tables_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -5046,7 +5066,6 @@ uint32_t ThriftHiveMetastore_get_tables_pargs::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -5057,6 +5076,7 @@ ThriftHiveMetastore_get_tables_result::~ThriftHiveMetastore_get_tables_result() uint32_t ThriftHiveMetastore_get_tables_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; @@ -5150,6 +5170,7 @@ ThriftHiveMetastore_get_tables_presult::~ThriftHiveMetastore_get_tables_presult( uint32_t ThriftHiveMetastore_get_tables_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; @@ -5215,6 +5236,7 @@ ThriftHiveMetastore_get_all_tables_args::~ThriftHiveMetastore_get_all_tables_arg uint32_t ThriftHiveMetastore_get_all_tables_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; @@ -5255,7 +5277,7 @@ uint32_t ThriftHiveMetastore_get_all_tables_args::read(::apache::thrift::protoco uint32_t ThriftHiveMetastore_get_all_tables_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_tables_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -5264,7 +5286,6 @@ uint32_t ThriftHiveMetastore_get_all_tables_args::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -5275,7 +5296,7 @@ ThriftHiveMetastore_get_all_tables_pargs::~ThriftHiveMetastore_get_all_tables_pa uint32_t ThriftHiveMetastore_get_all_tables_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_tables_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -5284,7 +5305,6 @@ uint32_t ThriftHiveMetastore_get_all_tables_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -5295,6 +5315,7 @@ ThriftHiveMetastore_get_all_tables_result::~ThriftHiveMetastore_get_all_tables_r uint32_t ThriftHiveMetastore_get_all_tables_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; @@ -5388,6 +5409,7 @@ ThriftHiveMetastore_get_all_tables_presult::~ThriftHiveMetastore_get_all_tables_ uint32_t ThriftHiveMetastore_get_all_tables_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; @@ -5453,6 +5475,7 @@ ThriftHiveMetastore_get_table_args::~ThriftHiveMetastore_get_table_args() throw( uint32_t ThriftHiveMetastore_get_table_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; @@ -5501,7 +5524,7 @@ uint32_t ThriftHiveMetastore_get_table_args::read(::apache::thrift::protocol::TP uint32_t ThriftHiveMetastore_get_table_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_args"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -5514,7 +5537,6 @@ uint32_t ThriftHiveMetastore_get_table_args::write(::apache::thrift::protocol::T xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -5525,7 +5547,7 @@ ThriftHiveMetastore_get_table_pargs::~ThriftHiveMetastore_get_table_pargs() thro uint32_t ThriftHiveMetastore_get_table_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_pargs"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -5538,7 +5560,6 @@ uint32_t ThriftHiveMetastore_get_table_pargs::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -5549,6 +5570,7 @@ ThriftHiveMetastore_get_table_result::~ThriftHiveMetastore_get_table_result() th uint32_t ThriftHiveMetastore_get_table_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; @@ -5634,6 +5656,7 @@ ThriftHiveMetastore_get_table_presult::~ThriftHiveMetastore_get_table_presult() uint32_t ThriftHiveMetastore_get_table_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; @@ -5695,6 +5718,7 @@ ThriftHiveMetastore_get_table_objects_by_name_args::~ThriftHiveMetastore_get_tab uint32_t ThriftHiveMetastore_get_table_objects_by_name_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; @@ -5755,7 +5779,7 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::read(::apache::thri uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_objects_by_name_args"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -5776,7 +5800,6 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::write(::apache::thr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -5787,7 +5810,7 @@ ThriftHiveMetastore_get_table_objects_by_name_pargs::~ThriftHiveMetastore_get_ta uint32_t ThriftHiveMetastore_get_table_objects_by_name_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_objects_by_name_pargs"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -5808,7 +5831,6 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_pargs::write(::apache::th xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -5819,6 +5841,7 @@ ThriftHiveMetastore_get_table_objects_by_name_result::~ThriftHiveMetastore_get_t uint32_t ThriftHiveMetastore_get_table_objects_by_name_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; @@ -5936,6 +5959,7 @@ ThriftHiveMetastore_get_table_objects_by_name_presult::~ThriftHiveMetastore_get_ uint32_t ThriftHiveMetastore_get_table_objects_by_name_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; @@ -6017,6 +6041,7 @@ ThriftHiveMetastore_get_table_names_by_filter_args::~ThriftHiveMetastore_get_tab uint32_t ThriftHiveMetastore_get_table_names_by_filter_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; @@ -6073,7 +6098,7 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_args::read(::apache::thri uint32_t ThriftHiveMetastore_get_table_names_by_filter_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_names_by_filter_args"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -6090,7 +6115,6 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_args::write(::apache::thr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6101,7 +6125,7 @@ ThriftHiveMetastore_get_table_names_by_filter_pargs::~ThriftHiveMetastore_get_ta uint32_t ThriftHiveMetastore_get_table_names_by_filter_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_names_by_filter_pargs"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -6118,7 +6142,6 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_pargs::write(::apache::th xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6129,6 +6152,7 @@ ThriftHiveMetastore_get_table_names_by_filter_result::~ThriftHiveMetastore_get_t uint32_t ThriftHiveMetastore_get_table_names_by_filter_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; @@ -6246,6 +6270,7 @@ ThriftHiveMetastore_get_table_names_by_filter_presult::~ThriftHiveMetastore_get_ uint32_t ThriftHiveMetastore_get_table_names_by_filter_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; @@ -6327,6 +6352,7 @@ ThriftHiveMetastore_alter_table_args::~ThriftHiveMetastore_alter_table_args() th uint32_t ThriftHiveMetastore_alter_table_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; @@ -6383,7 +6409,7 @@ uint32_t ThriftHiveMetastore_alter_table_args::read(::apache::thrift::protocol:: uint32_t ThriftHiveMetastore_alter_table_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_args"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -6400,7 +6426,6 @@ uint32_t ThriftHiveMetastore_alter_table_args::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6411,7 +6436,7 @@ ThriftHiveMetastore_alter_table_pargs::~ThriftHiveMetastore_alter_table_pargs() uint32_t ThriftHiveMetastore_alter_table_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_pargs"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -6428,7 +6453,6 @@ uint32_t ThriftHiveMetastore_alter_table_pargs::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6439,6 +6463,7 @@ ThriftHiveMetastore_alter_table_result::~ThriftHiveMetastore_alter_table_result( uint32_t ThriftHiveMetastore_alter_table_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; @@ -6512,6 +6537,7 @@ ThriftHiveMetastore_alter_table_presult::~ThriftHiveMetastore_alter_table_presul uint32_t ThriftHiveMetastore_alter_table_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; @@ -6565,6 +6591,7 @@ ThriftHiveMetastore_alter_table_with_environment_context_args::~ThriftHiveMetast uint32_t ThriftHiveMetastore_alter_table_with_environment_context_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; @@ -6629,7 +6656,7 @@ uint32_t ThriftHiveMetastore_alter_table_with_environment_context_args::read(::a uint32_t ThriftHiveMetastore_alter_table_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_with_environment_context_args"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -6650,7 +6677,6 @@ uint32_t ThriftHiveMetastore_alter_table_with_environment_context_args::write(:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6661,7 +6687,7 @@ ThriftHiveMetastore_alter_table_with_environment_context_pargs::~ThriftHiveMetas uint32_t ThriftHiveMetastore_alter_table_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_with_environment_context_pargs"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -6682,7 +6708,6 @@ uint32_t ThriftHiveMetastore_alter_table_with_environment_context_pargs::write(: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6693,6 +6718,7 @@ ThriftHiveMetastore_alter_table_with_environment_context_result::~ThriftHiveMeta uint32_t ThriftHiveMetastore_alter_table_with_environment_context_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; @@ -6766,6 +6792,7 @@ ThriftHiveMetastore_alter_table_with_environment_context_presult::~ThriftHiveMet uint32_t ThriftHiveMetastore_alter_table_with_environment_context_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; @@ -6819,6 +6846,7 @@ ThriftHiveMetastore_alter_table_with_cascade_args::~ThriftHiveMetastore_alter_ta uint32_t ThriftHiveMetastore_alter_table_with_cascade_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; @@ -6883,7 +6911,7 @@ uint32_t ThriftHiveMetastore_alter_table_with_cascade_args::read(::apache::thrif uint32_t ThriftHiveMetastore_alter_table_with_cascade_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_with_cascade_args"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -6904,7 +6932,6 @@ uint32_t ThriftHiveMetastore_alter_table_with_cascade_args::write(::apache::thri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6915,7 +6942,7 @@ ThriftHiveMetastore_alter_table_with_cascade_pargs::~ThriftHiveMetastore_alter_t uint32_t ThriftHiveMetastore_alter_table_with_cascade_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_table_with_cascade_pargs"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -6936,7 +6963,6 @@ uint32_t ThriftHiveMetastore_alter_table_with_cascade_pargs::write(::apache::thr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6947,6 +6973,7 @@ ThriftHiveMetastore_alter_table_with_cascade_result::~ThriftHiveMetastore_alter_ uint32_t ThriftHiveMetastore_alter_table_with_cascade_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; @@ -7020,6 +7047,7 @@ ThriftHiveMetastore_alter_table_with_cascade_presult::~ThriftHiveMetastore_alter uint32_t ThriftHiveMetastore_alter_table_with_cascade_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; @@ -7073,6 +7101,7 @@ ThriftHiveMetastore_add_partition_args::~ThriftHiveMetastore_add_partition_args( uint32_t ThriftHiveMetastore_add_partition_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; @@ -7113,7 +7142,7 @@ uint32_t ThriftHiveMetastore_add_partition_args::read(::apache::thrift::protocol uint32_t ThriftHiveMetastore_add_partition_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partition_args"); xfer += oprot->writeFieldBegin("new_part", ::apache::thrift::protocol::T_STRUCT, 1); @@ -7122,7 +7151,6 @@ uint32_t ThriftHiveMetastore_add_partition_args::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7133,7 +7161,7 @@ ThriftHiveMetastore_add_partition_pargs::~ThriftHiveMetastore_add_partition_parg uint32_t ThriftHiveMetastore_add_partition_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partition_pargs"); xfer += oprot->writeFieldBegin("new_part", ::apache::thrift::protocol::T_STRUCT, 1); @@ -7142,7 +7170,6 @@ uint32_t ThriftHiveMetastore_add_partition_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7153,6 +7180,7 @@ ThriftHiveMetastore_add_partition_result::~ThriftHiveMetastore_add_partition_res uint32_t ThriftHiveMetastore_add_partition_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; @@ -7250,6 +7278,7 @@ ThriftHiveMetastore_add_partition_presult::~ThriftHiveMetastore_add_partition_pr uint32_t ThriftHiveMetastore_add_partition_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; @@ -7319,6 +7348,7 @@ ThriftHiveMetastore_add_partition_with_environment_context_args::~ThriftHiveMeta uint32_t ThriftHiveMetastore_add_partition_with_environment_context_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; @@ -7367,7 +7397,7 @@ uint32_t ThriftHiveMetastore_add_partition_with_environment_context_args::read(: uint32_t ThriftHiveMetastore_add_partition_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partition_with_environment_context_args"); xfer += oprot->writeFieldBegin("new_part", ::apache::thrift::protocol::T_STRUCT, 1); @@ -7380,7 +7410,6 @@ uint32_t ThriftHiveMetastore_add_partition_with_environment_context_args::write( xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7391,7 +7420,7 @@ ThriftHiveMetastore_add_partition_with_environment_context_pargs::~ThriftHiveMet uint32_t ThriftHiveMetastore_add_partition_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partition_with_environment_context_pargs"); xfer += oprot->writeFieldBegin("new_part", ::apache::thrift::protocol::T_STRUCT, 1); @@ -7404,7 +7433,6 @@ uint32_t ThriftHiveMetastore_add_partition_with_environment_context_pargs::write xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7415,6 +7443,7 @@ ThriftHiveMetastore_add_partition_with_environment_context_result::~ThriftHiveMe uint32_t ThriftHiveMetastore_add_partition_with_environment_context_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; @@ -7512,6 +7541,7 @@ ThriftHiveMetastore_add_partition_with_environment_context_presult::~ThriftHiveM uint32_t ThriftHiveMetastore_add_partition_with_environment_context_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; @@ -7581,6 +7611,7 @@ ThriftHiveMetastore_add_partitions_args::~ThriftHiveMetastore_add_partitions_arg uint32_t ThriftHiveMetastore_add_partitions_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; @@ -7633,7 +7664,7 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco uint32_t ThriftHiveMetastore_add_partitions_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_args"); xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); @@ -7650,7 +7681,6 @@ uint32_t ThriftHiveMetastore_add_partitions_args::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7661,7 +7691,7 @@ ThriftHiveMetastore_add_partitions_pargs::~ThriftHiveMetastore_add_partitions_pa uint32_t ThriftHiveMetastore_add_partitions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_pargs"); xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); @@ -7678,7 +7708,6 @@ uint32_t ThriftHiveMetastore_add_partitions_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7689,6 +7718,7 @@ ThriftHiveMetastore_add_partitions_result::~ThriftHiveMetastore_add_partitions_r uint32_t ThriftHiveMetastore_add_partitions_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; @@ -7786,6 +7816,7 @@ ThriftHiveMetastore_add_partitions_presult::~ThriftHiveMetastore_add_partitions_ uint32_t ThriftHiveMetastore_add_partitions_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; @@ -7855,6 +7886,7 @@ ThriftHiveMetastore_add_partitions_pspec_args::~ThriftHiveMetastore_add_partitio uint32_t ThriftHiveMetastore_add_partitions_pspec_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; @@ -7907,7 +7939,7 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::read(::apache::thrift::p uint32_t ThriftHiveMetastore_add_partitions_pspec_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_pspec_args"); xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); @@ -7924,7 +7956,6 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::write(::apache::thrift:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7935,7 +7966,7 @@ ThriftHiveMetastore_add_partitions_pspec_pargs::~ThriftHiveMetastore_add_partiti uint32_t ThriftHiveMetastore_add_partitions_pspec_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_pspec_pargs"); xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); @@ -7952,7 +7983,6 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_pargs::write(::apache::thrift: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7963,6 +7993,7 @@ ThriftHiveMetastore_add_partitions_pspec_result::~ThriftHiveMetastore_add_partit uint32_t ThriftHiveMetastore_add_partitions_pspec_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; @@ -8060,6 +8091,7 @@ ThriftHiveMetastore_add_partitions_pspec_presult::~ThriftHiveMetastore_add_parti uint32_t ThriftHiveMetastore_add_partitions_pspec_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; @@ -8129,6 +8161,7 @@ ThriftHiveMetastore_append_partition_args::~ThriftHiveMetastore_append_partition uint32_t ThriftHiveMetastore_append_partition_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; @@ -8197,7 +8230,7 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto uint32_t ThriftHiveMetastore_append_partition_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -8222,7 +8255,6 @@ uint32_t ThriftHiveMetastore_append_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -8233,7 +8265,7 @@ ThriftHiveMetastore_append_partition_pargs::~ThriftHiveMetastore_append_partitio uint32_t ThriftHiveMetastore_append_partition_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -8258,7 +8290,6 @@ uint32_t ThriftHiveMetastore_append_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -8269,6 +8300,7 @@ ThriftHiveMetastore_append_partition_result::~ThriftHiveMetastore_append_partiti uint32_t ThriftHiveMetastore_append_partition_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; @@ -8366,6 +8398,7 @@ ThriftHiveMetastore_append_partition_presult::~ThriftHiveMetastore_append_partit uint32_t ThriftHiveMetastore_append_partition_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; @@ -8435,6 +8468,7 @@ ThriftHiveMetastore_add_partitions_req_args::~ThriftHiveMetastore_add_partitions uint32_t ThriftHiveMetastore_add_partitions_req_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; @@ -8475,7 +8509,7 @@ uint32_t ThriftHiveMetastore_add_partitions_req_args::read(::apache::thrift::pro uint32_t ThriftHiveMetastore_add_partitions_req_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_req_args"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -8484,7 +8518,6 @@ uint32_t ThriftHiveMetastore_add_partitions_req_args::write(::apache::thrift::pr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -8495,7 +8528,7 @@ ThriftHiveMetastore_add_partitions_req_pargs::~ThriftHiveMetastore_add_partition uint32_t ThriftHiveMetastore_add_partitions_req_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_partitions_req_pargs"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -8504,7 +8537,6 @@ uint32_t ThriftHiveMetastore_add_partitions_req_pargs::write(::apache::thrift::p xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -8515,6 +8547,7 @@ ThriftHiveMetastore_add_partitions_req_result::~ThriftHiveMetastore_add_partitio uint32_t ThriftHiveMetastore_add_partitions_req_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; @@ -8612,6 +8645,7 @@ ThriftHiveMetastore_add_partitions_req_presult::~ThriftHiveMetastore_add_partiti uint32_t ThriftHiveMetastore_add_partitions_req_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; @@ -8681,6 +8715,7 @@ ThriftHiveMetastore_append_partition_with_environment_context_args::~ThriftHiveM uint32_t ThriftHiveMetastore_append_partition_with_environment_context_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; @@ -8757,7 +8792,7 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_with_environment_context_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -8786,7 +8821,6 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::wri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -8797,7 +8831,7 @@ ThriftHiveMetastore_append_partition_with_environment_context_pargs::~ThriftHive uint32_t ThriftHiveMetastore_append_partition_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_with_environment_context_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -8826,7 +8860,6 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_pargs::wr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -8837,6 +8870,7 @@ ThriftHiveMetastore_append_partition_with_environment_context_result::~ThriftHiv uint32_t ThriftHiveMetastore_append_partition_with_environment_context_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; @@ -8934,6 +8968,7 @@ ThriftHiveMetastore_append_partition_with_environment_context_presult::~ThriftHi uint32_t ThriftHiveMetastore_append_partition_with_environment_context_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; @@ -9003,6 +9038,7 @@ ThriftHiveMetastore_append_partition_by_name_args::~ThriftHiveMetastore_append_p uint32_t ThriftHiveMetastore_append_partition_by_name_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; @@ -9059,7 +9095,7 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_args::read(::apache::thrif uint32_t ThriftHiveMetastore_append_partition_by_name_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_by_name_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -9076,7 +9112,6 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_args::write(::apache::thri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -9087,7 +9122,7 @@ ThriftHiveMetastore_append_partition_by_name_pargs::~ThriftHiveMetastore_append_ uint32_t ThriftHiveMetastore_append_partition_by_name_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_by_name_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -9104,7 +9139,6 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_pargs::write(::apache::thr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -9115,6 +9149,7 @@ ThriftHiveMetastore_append_partition_by_name_result::~ThriftHiveMetastore_append uint32_t ThriftHiveMetastore_append_partition_by_name_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; @@ -9212,6 +9247,7 @@ ThriftHiveMetastore_append_partition_by_name_presult::~ThriftHiveMetastore_appen uint32_t ThriftHiveMetastore_append_partition_by_name_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; @@ -9281,6 +9317,7 @@ ThriftHiveMetastore_append_partition_by_name_with_environment_context_args::~Thr uint32_t ThriftHiveMetastore_append_partition_by_name_with_environment_context_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; @@ -9345,7 +9382,7 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_with_environment_context_a uint32_t ThriftHiveMetastore_append_partition_by_name_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_by_name_with_environment_context_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -9366,7 +9403,6 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_with_environment_context_a xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -9377,7 +9413,7 @@ ThriftHiveMetastore_append_partition_by_name_with_environment_context_pargs::~Th uint32_t ThriftHiveMetastore_append_partition_by_name_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_append_partition_by_name_with_environment_context_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -9398,7 +9434,6 @@ uint32_t ThriftHiveMetastore_append_partition_by_name_with_environment_context_p xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -9409,6 +9444,7 @@ ThriftHiveMetastore_append_partition_by_name_with_environment_context_result::~T uint32_t ThriftHiveMetastore_append_partition_by_name_with_environment_context_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; @@ -9506,6 +9542,7 @@ ThriftHiveMetastore_append_partition_by_name_with_environment_context_presult::~ uint32_t ThriftHiveMetastore_append_partition_by_name_with_environment_context_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; @@ -9575,6 +9612,7 @@ ThriftHiveMetastore_drop_partition_args::~ThriftHiveMetastore_drop_partition_arg uint32_t ThriftHiveMetastore_drop_partition_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; @@ -9651,7 +9689,7 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco uint32_t ThriftHiveMetastore_drop_partition_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partition_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -9680,7 +9718,6 @@ uint32_t ThriftHiveMetastore_drop_partition_args::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -9691,7 +9728,7 @@ ThriftHiveMetastore_drop_partition_pargs::~ThriftHiveMetastore_drop_partition_pa uint32_t ThriftHiveMetastore_drop_partition_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partition_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -9720,7 +9757,6 @@ uint32_t ThriftHiveMetastore_drop_partition_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -9731,6 +9767,7 @@ ThriftHiveMetastore_drop_partition_result::~ThriftHiveMetastore_drop_partition_r uint32_t ThriftHiveMetastore_drop_partition_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; @@ -9816,6 +9853,7 @@ ThriftHiveMetastore_drop_partition_presult::~ThriftHiveMetastore_drop_partition_ uint32_t ThriftHiveMetastore_drop_partition_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; @@ -9877,6 +9915,7 @@ ThriftHiveMetastore_drop_partition_with_environment_context_args::~ThriftHiveMet uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_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; @@ -9961,7 +10000,7 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partition_with_environment_context_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -9994,7 +10033,6 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::write xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -10005,7 +10043,7 @@ ThriftHiveMetastore_drop_partition_with_environment_context_pargs::~ThriftHiveMe uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partition_with_environment_context_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -10038,7 +10076,6 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_pargs::writ xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -10049,6 +10086,7 @@ ThriftHiveMetastore_drop_partition_with_environment_context_result::~ThriftHiveM uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_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; @@ -10134,6 +10172,7 @@ ThriftHiveMetastore_drop_partition_with_environment_context_presult::~ThriftHive uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_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; @@ -10195,6 +10234,7 @@ ThriftHiveMetastore_drop_partition_by_name_args::~ThriftHiveMetastore_drop_parti uint32_t ThriftHiveMetastore_drop_partition_by_name_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; @@ -10259,7 +10299,7 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_args::read(::apache::thrift: uint32_t ThriftHiveMetastore_drop_partition_by_name_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partition_by_name_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -10280,7 +10320,6 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_args::write(::apache::thrift xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -10291,7 +10330,7 @@ ThriftHiveMetastore_drop_partition_by_name_pargs::~ThriftHiveMetastore_drop_part uint32_t ThriftHiveMetastore_drop_partition_by_name_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partition_by_name_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -10312,7 +10351,6 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_pargs::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -10323,6 +10361,7 @@ ThriftHiveMetastore_drop_partition_by_name_result::~ThriftHiveMetastore_drop_par uint32_t ThriftHiveMetastore_drop_partition_by_name_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; @@ -10408,6 +10447,7 @@ ThriftHiveMetastore_drop_partition_by_name_presult::~ThriftHiveMetastore_drop_pa uint32_t ThriftHiveMetastore_drop_partition_by_name_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; @@ -10469,6 +10509,7 @@ ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args::~Thrif uint32_t ThriftHiveMetastore_drop_partition_by_name_with_environment_context_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; @@ -10541,7 +10582,7 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_with_environment_context_arg uint32_t ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -10566,7 +10607,6 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_with_environment_context_arg xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -10577,7 +10617,7 @@ ThriftHiveMetastore_drop_partition_by_name_with_environment_context_pargs::~Thri uint32_t ThriftHiveMetastore_drop_partition_by_name_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partition_by_name_with_environment_context_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -10602,7 +10642,6 @@ uint32_t ThriftHiveMetastore_drop_partition_by_name_with_environment_context_par xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -10613,6 +10652,7 @@ ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result::~Thr uint32_t ThriftHiveMetastore_drop_partition_by_name_with_environment_context_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; @@ -10698,6 +10738,7 @@ ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presult::~Th uint32_t ThriftHiveMetastore_drop_partition_by_name_with_environment_context_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; @@ -10759,6 +10800,7 @@ ThriftHiveMetastore_drop_partitions_req_args::~ThriftHiveMetastore_drop_partitio uint32_t ThriftHiveMetastore_drop_partitions_req_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; @@ -10799,7 +10841,7 @@ uint32_t ThriftHiveMetastore_drop_partitions_req_args::read(::apache::thrift::pr uint32_t ThriftHiveMetastore_drop_partitions_req_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partitions_req_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -10808,7 +10850,6 @@ uint32_t ThriftHiveMetastore_drop_partitions_req_args::write(::apache::thrift::p xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -10819,7 +10860,7 @@ ThriftHiveMetastore_drop_partitions_req_pargs::~ThriftHiveMetastore_drop_partiti uint32_t ThriftHiveMetastore_drop_partitions_req_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_partitions_req_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -10828,7 +10869,6 @@ uint32_t ThriftHiveMetastore_drop_partitions_req_pargs::write(::apache::thrift:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -10839,6 +10879,7 @@ ThriftHiveMetastore_drop_partitions_req_result::~ThriftHiveMetastore_drop_partit uint32_t ThriftHiveMetastore_drop_partitions_req_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; @@ -10924,6 +10965,7 @@ ThriftHiveMetastore_drop_partitions_req_presult::~ThriftHiveMetastore_drop_parti uint32_t ThriftHiveMetastore_drop_partitions_req_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; @@ -10985,6 +11027,7 @@ ThriftHiveMetastore_get_partition_args::~ThriftHiveMetastore_get_partition_args( uint32_t ThriftHiveMetastore_get_partition_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; @@ -11053,7 +11096,7 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol uint32_t ThriftHiveMetastore_get_partition_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -11078,7 +11121,6 @@ uint32_t ThriftHiveMetastore_get_partition_args::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -11089,7 +11131,7 @@ ThriftHiveMetastore_get_partition_pargs::~ThriftHiveMetastore_get_partition_parg uint32_t ThriftHiveMetastore_get_partition_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -11114,7 +11156,6 @@ uint32_t ThriftHiveMetastore_get_partition_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -11125,6 +11166,7 @@ ThriftHiveMetastore_get_partition_result::~ThriftHiveMetastore_get_partition_res uint32_t ThriftHiveMetastore_get_partition_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; @@ -11210,6 +11252,7 @@ ThriftHiveMetastore_get_partition_presult::~ThriftHiveMetastore_get_partition_pr uint32_t ThriftHiveMetastore_get_partition_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; @@ -11271,6 +11314,7 @@ ThriftHiveMetastore_exchange_partition_args::~ThriftHiveMetastore_exchange_parti uint32_t ThriftHiveMetastore_exchange_partition_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; @@ -11358,7 +11402,7 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro uint32_t ThriftHiveMetastore_exchange_partition_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_exchange_partition_args"); xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); @@ -11392,7 +11436,6 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::write(::apache::thrift::pr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -11403,7 +11446,7 @@ ThriftHiveMetastore_exchange_partition_pargs::~ThriftHiveMetastore_exchange_part uint32_t ThriftHiveMetastore_exchange_partition_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_exchange_partition_pargs"); xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); @@ -11437,7 +11480,6 @@ uint32_t ThriftHiveMetastore_exchange_partition_pargs::write(::apache::thrift::p xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -11448,6 +11490,7 @@ ThriftHiveMetastore_exchange_partition_result::~ThriftHiveMetastore_exchange_par uint32_t ThriftHiveMetastore_exchange_partition_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; @@ -11557,6 +11600,7 @@ ThriftHiveMetastore_exchange_partition_presult::~ThriftHiveMetastore_exchange_pa uint32_t ThriftHiveMetastore_exchange_partition_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; @@ -11634,6 +11678,7 @@ ThriftHiveMetastore_exchange_partitions_args::~ThriftHiveMetastore_exchange_part uint32_t ThriftHiveMetastore_exchange_partitions_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; @@ -11721,7 +11766,7 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::read(::apache::thrift::pr uint32_t ThriftHiveMetastore_exchange_partitions_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_exchange_partitions_args"); xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); @@ -11755,7 +11800,6 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::write(::apache::thrift::p xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -11766,7 +11810,7 @@ ThriftHiveMetastore_exchange_partitions_pargs::~ThriftHiveMetastore_exchange_par uint32_t ThriftHiveMetastore_exchange_partitions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_exchange_partitions_pargs"); xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); @@ -11800,7 +11844,6 @@ uint32_t ThriftHiveMetastore_exchange_partitions_pargs::write(::apache::thrift:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -11811,6 +11854,7 @@ ThriftHiveMetastore_exchange_partitions_result::~ThriftHiveMetastore_exchange_pa uint32_t ThriftHiveMetastore_exchange_partitions_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; @@ -11940,6 +11984,7 @@ ThriftHiveMetastore_exchange_partitions_presult::~ThriftHiveMetastore_exchange_p uint32_t ThriftHiveMetastore_exchange_partitions_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; @@ -12029,6 +12074,7 @@ ThriftHiveMetastore_get_partition_with_auth_args::~ThriftHiveMetastore_get_parti uint32_t ThriftHiveMetastore_get_partition_with_auth_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; @@ -12125,7 +12171,7 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::read(::apache::thrift uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_with_auth_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -12166,7 +12212,6 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -12177,7 +12222,7 @@ ThriftHiveMetastore_get_partition_with_auth_pargs::~ThriftHiveMetastore_get_part uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_with_auth_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -12218,7 +12263,6 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -12229,6 +12273,7 @@ ThriftHiveMetastore_get_partition_with_auth_result::~ThriftHiveMetastore_get_par uint32_t ThriftHiveMetastore_get_partition_with_auth_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; @@ -12314,6 +12359,7 @@ ThriftHiveMetastore_get_partition_with_auth_presult::~ThriftHiveMetastore_get_pa uint32_t ThriftHiveMetastore_get_partition_with_auth_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; @@ -12375,6 +12421,7 @@ ThriftHiveMetastore_get_partition_by_name_args::~ThriftHiveMetastore_get_partiti uint32_t ThriftHiveMetastore_get_partition_by_name_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; @@ -12431,7 +12478,7 @@ uint32_t ThriftHiveMetastore_get_partition_by_name_args::read(::apache::thrift:: uint32_t ThriftHiveMetastore_get_partition_by_name_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_by_name_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -12448,7 +12495,6 @@ uint32_t ThriftHiveMetastore_get_partition_by_name_args::write(::apache::thrift: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -12459,7 +12505,7 @@ ThriftHiveMetastore_get_partition_by_name_pargs::~ThriftHiveMetastore_get_partit uint32_t ThriftHiveMetastore_get_partition_by_name_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_by_name_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -12476,7 +12522,6 @@ uint32_t ThriftHiveMetastore_get_partition_by_name_pargs::write(::apache::thrift xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -12487,6 +12532,7 @@ ThriftHiveMetastore_get_partition_by_name_result::~ThriftHiveMetastore_get_parti uint32_t ThriftHiveMetastore_get_partition_by_name_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; @@ -12572,6 +12618,7 @@ ThriftHiveMetastore_get_partition_by_name_presult::~ThriftHiveMetastore_get_part uint32_t ThriftHiveMetastore_get_partition_by_name_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; @@ -12633,6 +12680,7 @@ ThriftHiveMetastore_get_partitions_args::~ThriftHiveMetastore_get_partitions_arg uint32_t ThriftHiveMetastore_get_partitions_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; @@ -12689,7 +12737,7 @@ uint32_t ThriftHiveMetastore_get_partitions_args::read(::apache::thrift::protoco uint32_t ThriftHiveMetastore_get_partitions_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -12706,7 +12754,6 @@ uint32_t ThriftHiveMetastore_get_partitions_args::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -12717,7 +12764,7 @@ ThriftHiveMetastore_get_partitions_pargs::~ThriftHiveMetastore_get_partitions_pa uint32_t ThriftHiveMetastore_get_partitions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -12734,7 +12781,6 @@ uint32_t ThriftHiveMetastore_get_partitions_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -12745,6 +12791,7 @@ ThriftHiveMetastore_get_partitions_result::~ThriftHiveMetastore_get_partitions_r uint32_t ThriftHiveMetastore_get_partitions_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; @@ -12850,6 +12897,7 @@ ThriftHiveMetastore_get_partitions_presult::~ThriftHiveMetastore_get_partitions_ uint32_t ThriftHiveMetastore_get_partitions_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; @@ -12923,6 +12971,7 @@ ThriftHiveMetastore_get_partitions_with_auth_args::~ThriftHiveMetastore_get_part uint32_t ThriftHiveMetastore_get_partitions_with_auth_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; @@ -13007,7 +13056,7 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::read(::apache::thrif uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_with_auth_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -13040,7 +13089,6 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::write(::apache::thri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -13051,7 +13099,7 @@ ThriftHiveMetastore_get_partitions_with_auth_pargs::~ThriftHiveMetastore_get_par uint32_t ThriftHiveMetastore_get_partitions_with_auth_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_with_auth_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -13084,7 +13132,6 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_pargs::write(::apache::thr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -13095,6 +13142,7 @@ ThriftHiveMetastore_get_partitions_with_auth_result::~ThriftHiveMetastore_get_pa uint32_t ThriftHiveMetastore_get_partitions_with_auth_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; @@ -13200,6 +13248,7 @@ ThriftHiveMetastore_get_partitions_with_auth_presult::~ThriftHiveMetastore_get_p uint32_t ThriftHiveMetastore_get_partitions_with_auth_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; @@ -13273,6 +13322,7 @@ ThriftHiveMetastore_get_partitions_pspec_args::~ThriftHiveMetastore_get_partitio uint32_t ThriftHiveMetastore_get_partitions_pspec_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; @@ -13329,7 +13379,7 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_args::read(::apache::thrift::p uint32_t ThriftHiveMetastore_get_partitions_pspec_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_pspec_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -13346,7 +13396,6 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_args::write(::apache::thrift:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -13357,7 +13406,7 @@ ThriftHiveMetastore_get_partitions_pspec_pargs::~ThriftHiveMetastore_get_partiti uint32_t ThriftHiveMetastore_get_partitions_pspec_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_pspec_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -13374,7 +13423,6 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_pargs::write(::apache::thrift: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -13385,6 +13433,7 @@ ThriftHiveMetastore_get_partitions_pspec_result::~ThriftHiveMetastore_get_partit uint32_t ThriftHiveMetastore_get_partitions_pspec_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; @@ -13490,6 +13539,7 @@ ThriftHiveMetastore_get_partitions_pspec_presult::~ThriftHiveMetastore_get_parti uint32_t ThriftHiveMetastore_get_partitions_pspec_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; @@ -13563,6 +13613,7 @@ ThriftHiveMetastore_get_partition_names_args::~ThriftHiveMetastore_get_partition uint32_t ThriftHiveMetastore_get_partition_names_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; @@ -13619,7 +13670,7 @@ uint32_t ThriftHiveMetastore_get_partition_names_args::read(::apache::thrift::pr uint32_t ThriftHiveMetastore_get_partition_names_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_names_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -13636,7 +13687,6 @@ uint32_t ThriftHiveMetastore_get_partition_names_args::write(::apache::thrift::p xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -13647,7 +13697,7 @@ ThriftHiveMetastore_get_partition_names_pargs::~ThriftHiveMetastore_get_partitio uint32_t ThriftHiveMetastore_get_partition_names_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_names_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -13664,7 +13714,6 @@ uint32_t ThriftHiveMetastore_get_partition_names_pargs::write(::apache::thrift:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -13675,6 +13724,7 @@ ThriftHiveMetastore_get_partition_names_result::~ThriftHiveMetastore_get_partiti uint32_t ThriftHiveMetastore_get_partition_names_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; @@ -13768,6 +13818,7 @@ ThriftHiveMetastore_get_partition_names_presult::~ThriftHiveMetastore_get_partit uint32_t ThriftHiveMetastore_get_partition_names_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; @@ -13833,6 +13884,7 @@ ThriftHiveMetastore_get_partitions_ps_args::~ThriftHiveMetastore_get_partitions_ uint32_t ThriftHiveMetastore_get_partitions_ps_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; @@ -13909,7 +13961,7 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::read(::apache::thrift::prot uint32_t ThriftHiveMetastore_get_partitions_ps_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_ps_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -13938,7 +13990,6 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::write(::apache::thrift::pro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -13949,7 +14000,7 @@ ThriftHiveMetastore_get_partitions_ps_pargs::~ThriftHiveMetastore_get_partitions uint32_t ThriftHiveMetastore_get_partitions_ps_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_ps_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -13978,7 +14029,6 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -13989,6 +14039,7 @@ ThriftHiveMetastore_get_partitions_ps_result::~ThriftHiveMetastore_get_partition uint32_t ThriftHiveMetastore_get_partitions_ps_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; @@ -14094,6 +14145,7 @@ ThriftHiveMetastore_get_partitions_ps_presult::~ThriftHiveMetastore_get_partitio uint32_t ThriftHiveMetastore_get_partitions_ps_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; @@ -14167,6 +14219,7 @@ ThriftHiveMetastore_get_partitions_ps_with_auth_args::~ThriftHiveMetastore_get_p uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_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; @@ -14271,7 +14324,7 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::read(::apache::th uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_ps_with_auth_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -14316,7 +14369,6 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -14327,7 +14379,7 @@ ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::~ThriftHiveMetastore_get_ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_ps_with_auth_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -14372,7 +14424,6 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -14383,6 +14434,7 @@ ThriftHiveMetastore_get_partitions_ps_with_auth_result::~ThriftHiveMetastore_get uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_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; @@ -14488,6 +14540,7 @@ ThriftHiveMetastore_get_partitions_ps_with_auth_presult::~ThriftHiveMetastore_ge uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_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; @@ -14561,6 +14614,7 @@ ThriftHiveMetastore_get_partition_names_ps_args::~ThriftHiveMetastore_get_partit uint32_t ThriftHiveMetastore_get_partition_names_ps_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; @@ -14637,7 +14691,7 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::read(::apache::thrift: uint32_t ThriftHiveMetastore_get_partition_names_ps_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_names_ps_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -14666,7 +14720,6 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::write(::apache::thrift xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -14677,7 +14730,7 @@ ThriftHiveMetastore_get_partition_names_ps_pargs::~ThriftHiveMetastore_get_parti uint32_t ThriftHiveMetastore_get_partition_names_ps_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_names_ps_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -14706,7 +14759,6 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_pargs::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -14717,6 +14769,7 @@ ThriftHiveMetastore_get_partition_names_ps_result::~ThriftHiveMetastore_get_part uint32_t ThriftHiveMetastore_get_partition_names_ps_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; @@ -14822,6 +14875,7 @@ ThriftHiveMetastore_get_partition_names_ps_presult::~ThriftHiveMetastore_get_par uint32_t ThriftHiveMetastore_get_partition_names_ps_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; @@ -14895,6 +14949,7 @@ ThriftHiveMetastore_get_partitions_by_filter_args::~ThriftHiveMetastore_get_part uint32_t ThriftHiveMetastore_get_partitions_by_filter_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; @@ -14959,7 +15014,7 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_args::read(::apache::thrif uint32_t ThriftHiveMetastore_get_partitions_by_filter_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_by_filter_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -14980,7 +15035,6 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_args::write(::apache::thri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -14991,7 +15045,7 @@ ThriftHiveMetastore_get_partitions_by_filter_pargs::~ThriftHiveMetastore_get_par uint32_t ThriftHiveMetastore_get_partitions_by_filter_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_by_filter_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -15012,7 +15066,6 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_pargs::write(::apache::thr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -15023,6 +15076,7 @@ ThriftHiveMetastore_get_partitions_by_filter_result::~ThriftHiveMetastore_get_pa uint32_t ThriftHiveMetastore_get_partitions_by_filter_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; @@ -15128,6 +15182,7 @@ ThriftHiveMetastore_get_partitions_by_filter_presult::~ThriftHiveMetastore_get_p uint32_t ThriftHiveMetastore_get_partitions_by_filter_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; @@ -15201,6 +15256,7 @@ ThriftHiveMetastore_get_part_specs_by_filter_args::~ThriftHiveMetastore_get_part uint32_t ThriftHiveMetastore_get_part_specs_by_filter_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; @@ -15265,7 +15321,7 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_args::read(::apache::thrif uint32_t ThriftHiveMetastore_get_part_specs_by_filter_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_part_specs_by_filter_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -15286,7 +15342,6 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_args::write(::apache::thri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -15297,7 +15352,7 @@ ThriftHiveMetastore_get_part_specs_by_filter_pargs::~ThriftHiveMetastore_get_par uint32_t ThriftHiveMetastore_get_part_specs_by_filter_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_part_specs_by_filter_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -15318,7 +15373,6 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_pargs::write(::apache::thr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -15329,6 +15383,7 @@ ThriftHiveMetastore_get_part_specs_by_filter_result::~ThriftHiveMetastore_get_pa uint32_t ThriftHiveMetastore_get_part_specs_by_filter_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; @@ -15434,6 +15489,7 @@ ThriftHiveMetastore_get_part_specs_by_filter_presult::~ThriftHiveMetastore_get_p uint32_t ThriftHiveMetastore_get_part_specs_by_filter_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; @@ -15507,6 +15563,7 @@ ThriftHiveMetastore_get_partitions_by_expr_args::~ThriftHiveMetastore_get_partit uint32_t ThriftHiveMetastore_get_partitions_by_expr_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; @@ -15547,7 +15604,7 @@ uint32_t ThriftHiveMetastore_get_partitions_by_expr_args::read(::apache::thrift: uint32_t ThriftHiveMetastore_get_partitions_by_expr_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_by_expr_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -15556,7 +15613,6 @@ uint32_t ThriftHiveMetastore_get_partitions_by_expr_args::write(::apache::thrift xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -15567,7 +15623,7 @@ ThriftHiveMetastore_get_partitions_by_expr_pargs::~ThriftHiveMetastore_get_parti uint32_t ThriftHiveMetastore_get_partitions_by_expr_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_by_expr_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -15576,7 +15632,6 @@ uint32_t ThriftHiveMetastore_get_partitions_by_expr_pargs::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -15587,6 +15642,7 @@ ThriftHiveMetastore_get_partitions_by_expr_result::~ThriftHiveMetastore_get_part uint32_t ThriftHiveMetastore_get_partitions_by_expr_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; @@ -15672,6 +15728,7 @@ ThriftHiveMetastore_get_partitions_by_expr_presult::~ThriftHiveMetastore_get_par uint32_t ThriftHiveMetastore_get_partitions_by_expr_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; @@ -15733,6 +15790,7 @@ ThriftHiveMetastore_get_partitions_by_names_args::~ThriftHiveMetastore_get_parti uint32_t ThriftHiveMetastore_get_partitions_by_names_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; @@ -15801,7 +15859,7 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift uint32_t ThriftHiveMetastore_get_partitions_by_names_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_by_names_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -15826,7 +15884,6 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -15837,7 +15894,7 @@ ThriftHiveMetastore_get_partitions_by_names_pargs::~ThriftHiveMetastore_get_part uint32_t ThriftHiveMetastore_get_partitions_by_names_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_by_names_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -15862,7 +15919,6 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_pargs::write(::apache::thri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -15873,6 +15929,7 @@ ThriftHiveMetastore_get_partitions_by_names_result::~ThriftHiveMetastore_get_par uint32_t ThriftHiveMetastore_get_partitions_by_names_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; @@ -15978,6 +16035,7 @@ ThriftHiveMetastore_get_partitions_by_names_presult::~ThriftHiveMetastore_get_pa uint32_t ThriftHiveMetastore_get_partitions_by_names_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; @@ -16051,6 +16109,7 @@ ThriftHiveMetastore_alter_partition_args::~ThriftHiveMetastore_alter_partition_a uint32_t ThriftHiveMetastore_alter_partition_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; @@ -16107,7 +16166,7 @@ uint32_t ThriftHiveMetastore_alter_partition_args::read(::apache::thrift::protoc uint32_t ThriftHiveMetastore_alter_partition_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_partition_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -16124,7 +16183,6 @@ uint32_t ThriftHiveMetastore_alter_partition_args::write(::apache::thrift::proto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -16135,7 +16193,7 @@ ThriftHiveMetastore_alter_partition_pargs::~ThriftHiveMetastore_alter_partition_ uint32_t ThriftHiveMetastore_alter_partition_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_partition_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -16152,7 +16210,6 @@ uint32_t ThriftHiveMetastore_alter_partition_pargs::write(::apache::thrift::prot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -16163,6 +16220,7 @@ ThriftHiveMetastore_alter_partition_result::~ThriftHiveMetastore_alter_partition uint32_t ThriftHiveMetastore_alter_partition_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; @@ -16236,6 +16294,7 @@ ThriftHiveMetastore_alter_partition_presult::~ThriftHiveMetastore_alter_partitio uint32_t ThriftHiveMetastore_alter_partition_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; @@ -16289,6 +16348,7 @@ ThriftHiveMetastore_alter_partitions_args::~ThriftHiveMetastore_alter_partitions uint32_t ThriftHiveMetastore_alter_partitions_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; @@ -16357,7 +16417,7 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto uint32_t ThriftHiveMetastore_alter_partitions_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_partitions_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -16382,7 +16442,6 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::write(::apache::thrift::prot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -16393,7 +16452,7 @@ ThriftHiveMetastore_alter_partitions_pargs::~ThriftHiveMetastore_alter_partition uint32_t ThriftHiveMetastore_alter_partitions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_partitions_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -16418,7 +16477,6 @@ uint32_t ThriftHiveMetastore_alter_partitions_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -16429,6 +16487,7 @@ ThriftHiveMetastore_alter_partitions_result::~ThriftHiveMetastore_alter_partitio uint32_t ThriftHiveMetastore_alter_partitions_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; @@ -16502,6 +16561,7 @@ ThriftHiveMetastore_alter_partitions_presult::~ThriftHiveMetastore_alter_partiti uint32_t ThriftHiveMetastore_alter_partitions_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; @@ -16555,6 +16615,7 @@ ThriftHiveMetastore_alter_partition_with_environment_context_args::~ThriftHiveMe uint32_t ThriftHiveMetastore_alter_partition_with_environment_context_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; @@ -16619,7 +16680,7 @@ uint32_t ThriftHiveMetastore_alter_partition_with_environment_context_args::read uint32_t ThriftHiveMetastore_alter_partition_with_environment_context_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_partition_with_environment_context_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -16640,7 +16701,6 @@ uint32_t ThriftHiveMetastore_alter_partition_with_environment_context_args::writ xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -16651,7 +16711,7 @@ ThriftHiveMetastore_alter_partition_with_environment_context_pargs::~ThriftHiveM uint32_t ThriftHiveMetastore_alter_partition_with_environment_context_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_partition_with_environment_context_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -16672,7 +16732,6 @@ uint32_t ThriftHiveMetastore_alter_partition_with_environment_context_pargs::wri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -16683,6 +16742,7 @@ ThriftHiveMetastore_alter_partition_with_environment_context_result::~ThriftHive uint32_t ThriftHiveMetastore_alter_partition_with_environment_context_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; @@ -16756,6 +16816,7 @@ ThriftHiveMetastore_alter_partition_with_environment_context_presult::~ThriftHiv uint32_t ThriftHiveMetastore_alter_partition_with_environment_context_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; @@ -16809,6 +16870,7 @@ ThriftHiveMetastore_rename_partition_args::~ThriftHiveMetastore_rename_partition uint32_t ThriftHiveMetastore_rename_partition_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; @@ -16885,7 +16947,7 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto uint32_t ThriftHiveMetastore_rename_partition_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_rename_partition_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -16914,7 +16976,6 @@ uint32_t ThriftHiveMetastore_rename_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -16925,7 +16986,7 @@ ThriftHiveMetastore_rename_partition_pargs::~ThriftHiveMetastore_rename_partitio uint32_t ThriftHiveMetastore_rename_partition_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_rename_partition_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -16954,7 +17015,6 @@ uint32_t ThriftHiveMetastore_rename_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -16965,6 +17025,7 @@ ThriftHiveMetastore_rename_partition_result::~ThriftHiveMetastore_rename_partiti uint32_t ThriftHiveMetastore_rename_partition_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; @@ -17038,6 +17099,7 @@ ThriftHiveMetastore_rename_partition_presult::~ThriftHiveMetastore_rename_partit uint32_t ThriftHiveMetastore_rename_partition_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; @@ -17091,6 +17153,7 @@ ThriftHiveMetastore_partition_name_has_valid_characters_args::~ThriftHiveMetasto uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_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; @@ -17151,7 +17214,7 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::read(::ap uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_partition_name_has_valid_characters_args"); xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1); @@ -17172,7 +17235,6 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::write(::a xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -17183,7 +17245,7 @@ ThriftHiveMetastore_partition_name_has_valid_characters_pargs::~ThriftHiveMetast uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_partition_name_has_valid_characters_pargs"); xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1); @@ -17204,7 +17266,6 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_pargs::write(:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -17215,6 +17276,7 @@ ThriftHiveMetastore_partition_name_has_valid_characters_result::~ThriftHiveMetas uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_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; @@ -17288,6 +17350,7 @@ ThriftHiveMetastore_partition_name_has_valid_characters_presult::~ThriftHiveMeta uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_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; @@ -17341,6 +17404,7 @@ ThriftHiveMetastore_get_config_value_args::~ThriftHiveMetastore_get_config_value uint32_t ThriftHiveMetastore_get_config_value_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; @@ -17389,7 +17453,7 @@ uint32_t ThriftHiveMetastore_get_config_value_args::read(::apache::thrift::proto uint32_t ThriftHiveMetastore_get_config_value_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_config_value_args"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -17402,7 +17466,6 @@ uint32_t ThriftHiveMetastore_get_config_value_args::write(::apache::thrift::prot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -17413,7 +17476,7 @@ ThriftHiveMetastore_get_config_value_pargs::~ThriftHiveMetastore_get_config_valu uint32_t ThriftHiveMetastore_get_config_value_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_config_value_pargs"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -17426,7 +17489,6 @@ uint32_t ThriftHiveMetastore_get_config_value_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -17437,6 +17499,7 @@ ThriftHiveMetastore_get_config_value_result::~ThriftHiveMetastore_get_config_val uint32_t ThriftHiveMetastore_get_config_value_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; @@ -17510,6 +17573,7 @@ ThriftHiveMetastore_get_config_value_presult::~ThriftHiveMetastore_get_config_va uint32_t ThriftHiveMetastore_get_config_value_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; @@ -17563,6 +17627,7 @@ ThriftHiveMetastore_partition_name_to_vals_args::~ThriftHiveMetastore_partition_ uint32_t ThriftHiveMetastore_partition_name_to_vals_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; @@ -17603,7 +17668,7 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_args::read(::apache::thrift: uint32_t ThriftHiveMetastore_partition_name_to_vals_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_partition_name_to_vals_args"); xfer += oprot->writeFieldBegin("part_name", ::apache::thrift::protocol::T_STRING, 1); @@ -17612,7 +17677,6 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_args::write(::apache::thrift xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -17623,7 +17687,7 @@ ThriftHiveMetastore_partition_name_to_vals_pargs::~ThriftHiveMetastore_partition uint32_t ThriftHiveMetastore_partition_name_to_vals_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_partition_name_to_vals_pargs"); xfer += oprot->writeFieldBegin("part_name", ::apache::thrift::protocol::T_STRING, 1); @@ -17632,7 +17696,6 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_pargs::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -17643,6 +17706,7 @@ ThriftHiveMetastore_partition_name_to_vals_result::~ThriftHiveMetastore_partitio uint32_t ThriftHiveMetastore_partition_name_to_vals_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; @@ -17736,6 +17800,7 @@ ThriftHiveMetastore_partition_name_to_vals_presult::~ThriftHiveMetastore_partiti uint32_t ThriftHiveMetastore_partition_name_to_vals_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; @@ -17801,6 +17866,7 @@ ThriftHiveMetastore_partition_name_to_spec_args::~ThriftHiveMetastore_partition_ uint32_t ThriftHiveMetastore_partition_name_to_spec_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; @@ -17841,7 +17907,7 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_args::read(::apache::thrift: uint32_t ThriftHiveMetastore_partition_name_to_spec_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_partition_name_to_spec_args"); xfer += oprot->writeFieldBegin("part_name", ::apache::thrift::protocol::T_STRING, 1); @@ -17850,7 +17916,6 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_args::write(::apache::thrift xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -17861,7 +17926,7 @@ ThriftHiveMetastore_partition_name_to_spec_pargs::~ThriftHiveMetastore_partition uint32_t ThriftHiveMetastore_partition_name_to_spec_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_partition_name_to_spec_pargs"); xfer += oprot->writeFieldBegin("part_name", ::apache::thrift::protocol::T_STRING, 1); @@ -17870,7 +17935,6 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_pargs::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -17881,6 +17945,7 @@ ThriftHiveMetastore_partition_name_to_spec_result::~ThriftHiveMetastore_partitio uint32_t ThriftHiveMetastore_partition_name_to_spec_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; @@ -17978,6 +18043,7 @@ ThriftHiveMetastore_partition_name_to_spec_presult::~ThriftHiveMetastore_partiti uint32_t ThriftHiveMetastore_partition_name_to_spec_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; @@ -18046,6 +18112,7 @@ ThriftHiveMetastore_markPartitionForEvent_args::~ThriftHiveMetastore_markPartiti uint32_t ThriftHiveMetastore_markPartitionForEvent_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; @@ -18127,7 +18194,7 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: uint32_t ThriftHiveMetastore_markPartitionForEvent_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_markPartitionForEvent_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -18157,7 +18224,6 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::write(::apache::thrift: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -18168,7 +18234,7 @@ ThriftHiveMetastore_markPartitionForEvent_pargs::~ThriftHiveMetastore_markPartit uint32_t ThriftHiveMetastore_markPartitionForEvent_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_markPartitionForEvent_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -18198,7 +18264,6 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_pargs::write(::apache::thrift xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -18209,6 +18274,7 @@ ThriftHiveMetastore_markPartitionForEvent_result::~ThriftHiveMetastore_markParti uint32_t ThriftHiveMetastore_markPartitionForEvent_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; @@ -18330,6 +18396,7 @@ ThriftHiveMetastore_markPartitionForEvent_presult::~ThriftHiveMetastore_markPart uint32_t ThriftHiveMetastore_markPartitionForEvent_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; @@ -18415,6 +18482,7 @@ ThriftHiveMetastore_isPartitionMarkedForEvent_args::~ThriftHiveMetastore_isParti uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_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; @@ -18496,7 +18564,7 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_isPartitionMarkedForEvent_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -18526,7 +18594,6 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::write(::apache::thr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -18537,7 +18604,7 @@ ThriftHiveMetastore_isPartitionMarkedForEvent_pargs::~ThriftHiveMetastore_isPart uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_isPartitionMarkedForEvent_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -18567,7 +18634,6 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_pargs::write(::apache::th xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -18578,6 +18644,7 @@ ThriftHiveMetastore_isPartitionMarkedForEvent_result::~ThriftHiveMetastore_isPar uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_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; @@ -18711,6 +18778,7 @@ ThriftHiveMetastore_isPartitionMarkedForEvent_presult::~ThriftHiveMetastore_isPa uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_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; @@ -18804,6 +18872,7 @@ ThriftHiveMetastore_add_index_args::~ThriftHiveMetastore_add_index_args() throw( uint32_t ThriftHiveMetastore_add_index_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; @@ -18852,7 +18921,7 @@ uint32_t ThriftHiveMetastore_add_index_args::read(::apache::thrift::protocol::TP uint32_t ThriftHiveMetastore_add_index_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_index_args"); xfer += oprot->writeFieldBegin("new_index", ::apache::thrift::protocol::T_STRUCT, 1); @@ -18865,7 +18934,6 @@ uint32_t ThriftHiveMetastore_add_index_args::write(::apache::thrift::protocol::T xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -18876,7 +18944,7 @@ ThriftHiveMetastore_add_index_pargs::~ThriftHiveMetastore_add_index_pargs() thro uint32_t ThriftHiveMetastore_add_index_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_index_pargs"); xfer += oprot->writeFieldBegin("new_index", ::apache::thrift::protocol::T_STRUCT, 1); @@ -18889,7 +18957,6 @@ uint32_t ThriftHiveMetastore_add_index_pargs::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -18900,6 +18967,7 @@ ThriftHiveMetastore_add_index_result::~ThriftHiveMetastore_add_index_result() th uint32_t ThriftHiveMetastore_add_index_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; @@ -18997,6 +19065,7 @@ ThriftHiveMetastore_add_index_presult::~ThriftHiveMetastore_add_index_presult() uint32_t ThriftHiveMetastore_add_index_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; @@ -19066,6 +19135,7 @@ ThriftHiveMetastore_alter_index_args::~ThriftHiveMetastore_alter_index_args() th uint32_t ThriftHiveMetastore_alter_index_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; @@ -19130,7 +19200,7 @@ uint32_t ThriftHiveMetastore_alter_index_args::read(::apache::thrift::protocol:: uint32_t ThriftHiveMetastore_alter_index_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_index_args"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -19151,7 +19221,6 @@ uint32_t ThriftHiveMetastore_alter_index_args::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -19162,7 +19231,7 @@ ThriftHiveMetastore_alter_index_pargs::~ThriftHiveMetastore_alter_index_pargs() uint32_t ThriftHiveMetastore_alter_index_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_index_pargs"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -19183,7 +19252,6 @@ uint32_t ThriftHiveMetastore_alter_index_pargs::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -19194,6 +19262,7 @@ ThriftHiveMetastore_alter_index_result::~ThriftHiveMetastore_alter_index_result( uint32_t ThriftHiveMetastore_alter_index_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; @@ -19267,6 +19336,7 @@ ThriftHiveMetastore_alter_index_presult::~ThriftHiveMetastore_alter_index_presul uint32_t ThriftHiveMetastore_alter_index_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; @@ -19320,6 +19390,7 @@ ThriftHiveMetastore_drop_index_by_name_args::~ThriftHiveMetastore_drop_index_by_ uint32_t ThriftHiveMetastore_drop_index_by_name_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; @@ -19384,7 +19455,7 @@ uint32_t ThriftHiveMetastore_drop_index_by_name_args::read(::apache::thrift::pro uint32_t ThriftHiveMetastore_drop_index_by_name_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_index_by_name_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -19405,7 +19476,6 @@ uint32_t ThriftHiveMetastore_drop_index_by_name_args::write(::apache::thrift::pr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -19416,7 +19486,7 @@ ThriftHiveMetastore_drop_index_by_name_pargs::~ThriftHiveMetastore_drop_index_by uint32_t ThriftHiveMetastore_drop_index_by_name_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_index_by_name_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -19437,7 +19507,6 @@ uint32_t ThriftHiveMetastore_drop_index_by_name_pargs::write(::apache::thrift::p xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -19448,6 +19517,7 @@ ThriftHiveMetastore_drop_index_by_name_result::~ThriftHiveMetastore_drop_index_b uint32_t ThriftHiveMetastore_drop_index_by_name_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; @@ -19533,6 +19603,7 @@ ThriftHiveMetastore_drop_index_by_name_presult::~ThriftHiveMetastore_drop_index_ uint32_t ThriftHiveMetastore_drop_index_by_name_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; @@ -19594,6 +19665,7 @@ ThriftHiveMetastore_get_index_by_name_args::~ThriftHiveMetastore_get_index_by_na uint32_t ThriftHiveMetastore_get_index_by_name_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; @@ -19650,7 +19722,7 @@ uint32_t ThriftHiveMetastore_get_index_by_name_args::read(::apache::thrift::prot uint32_t ThriftHiveMetastore_get_index_by_name_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_index_by_name_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -19667,7 +19739,6 @@ uint32_t ThriftHiveMetastore_get_index_by_name_args::write(::apache::thrift::pro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -19678,7 +19749,7 @@ ThriftHiveMetastore_get_index_by_name_pargs::~ThriftHiveMetastore_get_index_by_n uint32_t ThriftHiveMetastore_get_index_by_name_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_index_by_name_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -19695,7 +19766,6 @@ uint32_t ThriftHiveMetastore_get_index_by_name_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -19706,6 +19776,7 @@ ThriftHiveMetastore_get_index_by_name_result::~ThriftHiveMetastore_get_index_by_ uint32_t ThriftHiveMetastore_get_index_by_name_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; @@ -19791,6 +19862,7 @@ ThriftHiveMetastore_get_index_by_name_presult::~ThriftHiveMetastore_get_index_by uint32_t ThriftHiveMetastore_get_index_by_name_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; @@ -19852,6 +19924,7 @@ ThriftHiveMetastore_get_indexes_args::~ThriftHiveMetastore_get_indexes_args() th uint32_t ThriftHiveMetastore_get_indexes_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; @@ -19908,7 +19981,7 @@ uint32_t ThriftHiveMetastore_get_indexes_args::read(::apache::thrift::protocol:: uint32_t ThriftHiveMetastore_get_indexes_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_indexes_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -19925,7 +19998,6 @@ uint32_t ThriftHiveMetastore_get_indexes_args::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -19936,7 +20008,7 @@ ThriftHiveMetastore_get_indexes_pargs::~ThriftHiveMetastore_get_indexes_pargs() uint32_t ThriftHiveMetastore_get_indexes_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_indexes_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -19953,7 +20025,6 @@ uint32_t ThriftHiveMetastore_get_indexes_pargs::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -19964,6 +20035,7 @@ ThriftHiveMetastore_get_indexes_result::~ThriftHiveMetastore_get_indexes_result( uint32_t ThriftHiveMetastore_get_indexes_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; @@ -20069,6 +20141,7 @@ ThriftHiveMetastore_get_indexes_presult::~ThriftHiveMetastore_get_indexes_presul uint32_t ThriftHiveMetastore_get_indexes_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; @@ -20142,6 +20215,7 @@ ThriftHiveMetastore_get_index_names_args::~ThriftHiveMetastore_get_index_names_a uint32_t ThriftHiveMetastore_get_index_names_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; @@ -20198,7 +20272,7 @@ uint32_t ThriftHiveMetastore_get_index_names_args::read(::apache::thrift::protoc uint32_t ThriftHiveMetastore_get_index_names_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_index_names_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -20215,7 +20289,6 @@ uint32_t ThriftHiveMetastore_get_index_names_args::write(::apache::thrift::proto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -20226,7 +20299,7 @@ ThriftHiveMetastore_get_index_names_pargs::~ThriftHiveMetastore_get_index_names_ uint32_t ThriftHiveMetastore_get_index_names_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_index_names_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -20243,7 +20316,6 @@ uint32_t ThriftHiveMetastore_get_index_names_pargs::write(::apache::thrift::prot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -20254,6 +20326,7 @@ ThriftHiveMetastore_get_index_names_result::~ThriftHiveMetastore_get_index_names uint32_t ThriftHiveMetastore_get_index_names_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; @@ -20347,6 +20420,7 @@ ThriftHiveMetastore_get_index_names_presult::~ThriftHiveMetastore_get_index_name uint32_t ThriftHiveMetastore_get_index_names_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; @@ -20412,6 +20486,7 @@ ThriftHiveMetastore_update_table_column_statistics_args::~ThriftHiveMetastore_up uint32_t ThriftHiveMetastore_update_table_column_statistics_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; @@ -20452,7 +20527,7 @@ uint32_t ThriftHiveMetastore_update_table_column_statistics_args::read(::apache: uint32_t ThriftHiveMetastore_update_table_column_statistics_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_update_table_column_statistics_args"); xfer += oprot->writeFieldBegin("stats_obj", ::apache::thrift::protocol::T_STRUCT, 1); @@ -20461,7 +20536,6 @@ uint32_t ThriftHiveMetastore_update_table_column_statistics_args::write(::apache xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -20472,7 +20546,7 @@ ThriftHiveMetastore_update_table_column_statistics_pargs::~ThriftHiveMetastore_u uint32_t ThriftHiveMetastore_update_table_column_statistics_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_update_table_column_statistics_pargs"); xfer += oprot->writeFieldBegin("stats_obj", ::apache::thrift::protocol::T_STRUCT, 1); @@ -20481,7 +20555,6 @@ uint32_t ThriftHiveMetastore_update_table_column_statistics_pargs::write(::apach xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -20492,6 +20565,7 @@ ThriftHiveMetastore_update_table_column_statistics_result::~ThriftHiveMetastore_ uint32_t ThriftHiveMetastore_update_table_column_statistics_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; @@ -20601,6 +20675,7 @@ ThriftHiveMetastore_update_table_column_statistics_presult::~ThriftHiveMetastore uint32_t ThriftHiveMetastore_update_table_column_statistics_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; @@ -20678,6 +20753,7 @@ ThriftHiveMetastore_update_partition_column_statistics_args::~ThriftHiveMetastor uint32_t ThriftHiveMetastore_update_partition_column_statistics_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; @@ -20718,7 +20794,7 @@ uint32_t ThriftHiveMetastore_update_partition_column_statistics_args::read(::apa uint32_t ThriftHiveMetastore_update_partition_column_statistics_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_update_partition_column_statistics_args"); xfer += oprot->writeFieldBegin("stats_obj", ::apache::thrift::protocol::T_STRUCT, 1); @@ -20727,7 +20803,6 @@ uint32_t ThriftHiveMetastore_update_partition_column_statistics_args::write(::ap xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -20738,7 +20813,7 @@ ThriftHiveMetastore_update_partition_column_statistics_pargs::~ThriftHiveMetasto uint32_t ThriftHiveMetastore_update_partition_column_statistics_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_update_partition_column_statistics_pargs"); xfer += oprot->writeFieldBegin("stats_obj", ::apache::thrift::protocol::T_STRUCT, 1); @@ -20747,7 +20822,6 @@ uint32_t ThriftHiveMetastore_update_partition_column_statistics_pargs::write(::a xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -20758,6 +20832,7 @@ ThriftHiveMetastore_update_partition_column_statistics_result::~ThriftHiveMetast uint32_t ThriftHiveMetastore_update_partition_column_statistics_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; @@ -20867,6 +20942,7 @@ ThriftHiveMetastore_update_partition_column_statistics_presult::~ThriftHiveMetas uint32_t ThriftHiveMetastore_update_partition_column_statistics_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; @@ -20944,6 +21020,7 @@ ThriftHiveMetastore_get_table_column_statistics_args::~ThriftHiveMetastore_get_t uint32_t ThriftHiveMetastore_get_table_column_statistics_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; @@ -21000,7 +21077,7 @@ uint32_t ThriftHiveMetastore_get_table_column_statistics_args::read(::apache::th uint32_t ThriftHiveMetastore_get_table_column_statistics_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_column_statistics_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -21017,7 +21094,6 @@ uint32_t ThriftHiveMetastore_get_table_column_statistics_args::write(::apache::t xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -21028,7 +21104,7 @@ ThriftHiveMetastore_get_table_column_statistics_pargs::~ThriftHiveMetastore_get_ uint32_t ThriftHiveMetastore_get_table_column_statistics_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_column_statistics_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -21045,7 +21121,6 @@ uint32_t ThriftHiveMetastore_get_table_column_statistics_pargs::write(::apache:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -21056,6 +21131,7 @@ ThriftHiveMetastore_get_table_column_statistics_result::~ThriftHiveMetastore_get uint32_t ThriftHiveMetastore_get_table_column_statistics_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; @@ -21165,6 +21241,7 @@ ThriftHiveMetastore_get_table_column_statistics_presult::~ThriftHiveMetastore_ge uint32_t ThriftHiveMetastore_get_table_column_statistics_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; @@ -21242,6 +21319,7 @@ ThriftHiveMetastore_get_partition_column_statistics_args::~ThriftHiveMetastore_g uint32_t ThriftHiveMetastore_get_partition_column_statistics_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; @@ -21306,7 +21384,7 @@ uint32_t ThriftHiveMetastore_get_partition_column_statistics_args::read(::apache uint32_t ThriftHiveMetastore_get_partition_column_statistics_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_column_statistics_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -21327,7 +21405,6 @@ uint32_t ThriftHiveMetastore_get_partition_column_statistics_args::write(::apach xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -21338,7 +21415,7 @@ ThriftHiveMetastore_get_partition_column_statistics_pargs::~ThriftHiveMetastore_ uint32_t ThriftHiveMetastore_get_partition_column_statistics_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partition_column_statistics_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -21359,7 +21436,6 @@ uint32_t ThriftHiveMetastore_get_partition_column_statistics_pargs::write(::apac xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -21370,6 +21446,7 @@ ThriftHiveMetastore_get_partition_column_statistics_result::~ThriftHiveMetastore uint32_t ThriftHiveMetastore_get_partition_column_statistics_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; @@ -21479,6 +21556,7 @@ ThriftHiveMetastore_get_partition_column_statistics_presult::~ThriftHiveMetastor uint32_t ThriftHiveMetastore_get_partition_column_statistics_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; @@ -21556,6 +21634,7 @@ ThriftHiveMetastore_get_table_statistics_req_args::~ThriftHiveMetastore_get_tabl uint32_t ThriftHiveMetastore_get_table_statistics_req_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; @@ -21596,7 +21675,7 @@ uint32_t ThriftHiveMetastore_get_table_statistics_req_args::read(::apache::thrif uint32_t ThriftHiveMetastore_get_table_statistics_req_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_statistics_req_args"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -21605,7 +21684,6 @@ uint32_t ThriftHiveMetastore_get_table_statistics_req_args::write(::apache::thri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -21616,7 +21694,7 @@ ThriftHiveMetastore_get_table_statistics_req_pargs::~ThriftHiveMetastore_get_tab uint32_t ThriftHiveMetastore_get_table_statistics_req_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_table_statistics_req_pargs"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -21625,7 +21703,6 @@ uint32_t ThriftHiveMetastore_get_table_statistics_req_pargs::write(::apache::thr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -21636,6 +21713,7 @@ ThriftHiveMetastore_get_table_statistics_req_result::~ThriftHiveMetastore_get_ta uint32_t ThriftHiveMetastore_get_table_statistics_req_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; @@ -21721,6 +21799,7 @@ ThriftHiveMetastore_get_table_statistics_req_presult::~ThriftHiveMetastore_get_t uint32_t ThriftHiveMetastore_get_table_statistics_req_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; @@ -21782,6 +21861,7 @@ ThriftHiveMetastore_get_partitions_statistics_req_args::~ThriftHiveMetastore_get uint32_t ThriftHiveMetastore_get_partitions_statistics_req_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; @@ -21822,7 +21902,7 @@ uint32_t ThriftHiveMetastore_get_partitions_statistics_req_args::read(::apache:: uint32_t ThriftHiveMetastore_get_partitions_statistics_req_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_statistics_req_args"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -21831,7 +21911,6 @@ uint32_t ThriftHiveMetastore_get_partitions_statistics_req_args::write(::apache: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -21842,7 +21921,7 @@ ThriftHiveMetastore_get_partitions_statistics_req_pargs::~ThriftHiveMetastore_ge uint32_t ThriftHiveMetastore_get_partitions_statistics_req_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_partitions_statistics_req_pargs"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -21851,7 +21930,6 @@ uint32_t ThriftHiveMetastore_get_partitions_statistics_req_pargs::write(::apache xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -21862,6 +21940,7 @@ ThriftHiveMetastore_get_partitions_statistics_req_result::~ThriftHiveMetastore_g uint32_t ThriftHiveMetastore_get_partitions_statistics_req_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; @@ -21947,6 +22026,7 @@ ThriftHiveMetastore_get_partitions_statistics_req_presult::~ThriftHiveMetastore_ uint32_t ThriftHiveMetastore_get_partitions_statistics_req_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; @@ -22008,6 +22088,7 @@ ThriftHiveMetastore_get_aggr_stats_for_args::~ThriftHiveMetastore_get_aggr_stats uint32_t ThriftHiveMetastore_get_aggr_stats_for_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; @@ -22048,7 +22129,7 @@ uint32_t ThriftHiveMetastore_get_aggr_stats_for_args::read(::apache::thrift::pro uint32_t ThriftHiveMetastore_get_aggr_stats_for_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_aggr_stats_for_args"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -22057,7 +22138,6 @@ uint32_t ThriftHiveMetastore_get_aggr_stats_for_args::write(::apache::thrift::pr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -22068,7 +22148,7 @@ ThriftHiveMetastore_get_aggr_stats_for_pargs::~ThriftHiveMetastore_get_aggr_stat uint32_t ThriftHiveMetastore_get_aggr_stats_for_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_aggr_stats_for_pargs"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -22077,7 +22157,6 @@ uint32_t ThriftHiveMetastore_get_aggr_stats_for_pargs::write(::apache::thrift::p xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -22088,6 +22167,7 @@ ThriftHiveMetastore_get_aggr_stats_for_result::~ThriftHiveMetastore_get_aggr_sta uint32_t ThriftHiveMetastore_get_aggr_stats_for_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; @@ -22173,6 +22253,7 @@ ThriftHiveMetastore_get_aggr_stats_for_presult::~ThriftHiveMetastore_get_aggr_st uint32_t ThriftHiveMetastore_get_aggr_stats_for_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; @@ -22234,6 +22315,7 @@ ThriftHiveMetastore_set_aggr_stats_for_args::~ThriftHiveMetastore_set_aggr_stats uint32_t ThriftHiveMetastore_set_aggr_stats_for_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; @@ -22274,7 +22356,7 @@ uint32_t ThriftHiveMetastore_set_aggr_stats_for_args::read(::apache::thrift::pro uint32_t ThriftHiveMetastore_set_aggr_stats_for_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_set_aggr_stats_for_args"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -22283,7 +22365,6 @@ uint32_t ThriftHiveMetastore_set_aggr_stats_for_args::write(::apache::thrift::pr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -22294,7 +22375,7 @@ ThriftHiveMetastore_set_aggr_stats_for_pargs::~ThriftHiveMetastore_set_aggr_stat uint32_t ThriftHiveMetastore_set_aggr_stats_for_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_set_aggr_stats_for_pargs"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -22303,7 +22384,6 @@ uint32_t ThriftHiveMetastore_set_aggr_stats_for_pargs::write(::apache::thrift::p xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -22314,6 +22394,7 @@ ThriftHiveMetastore_set_aggr_stats_for_result::~ThriftHiveMetastore_set_aggr_sta uint32_t ThriftHiveMetastore_set_aggr_stats_for_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; @@ -22423,6 +22504,7 @@ ThriftHiveMetastore_set_aggr_stats_for_presult::~ThriftHiveMetastore_set_aggr_st uint32_t ThriftHiveMetastore_set_aggr_stats_for_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; @@ -22500,6 +22582,7 @@ ThriftHiveMetastore_delete_partition_column_statistics_args::~ThriftHiveMetastor uint32_t ThriftHiveMetastore_delete_partition_column_statistics_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; @@ -22564,7 +22647,7 @@ uint32_t ThriftHiveMetastore_delete_partition_column_statistics_args::read(::apa uint32_t ThriftHiveMetastore_delete_partition_column_statistics_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_delete_partition_column_statistics_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -22585,7 +22668,6 @@ uint32_t ThriftHiveMetastore_delete_partition_column_statistics_args::write(::ap xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -22596,7 +22678,7 @@ ThriftHiveMetastore_delete_partition_column_statistics_pargs::~ThriftHiveMetasto uint32_t ThriftHiveMetastore_delete_partition_column_statistics_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_delete_partition_column_statistics_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -22617,7 +22699,6 @@ uint32_t ThriftHiveMetastore_delete_partition_column_statistics_pargs::write(::a xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -22628,6 +22709,7 @@ ThriftHiveMetastore_delete_partition_column_statistics_result::~ThriftHiveMetast uint32_t ThriftHiveMetastore_delete_partition_column_statistics_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; @@ -22737,6 +22819,7 @@ ThriftHiveMetastore_delete_partition_column_statistics_presult::~ThriftHiveMetas uint32_t ThriftHiveMetastore_delete_partition_column_statistics_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; @@ -22814,6 +22897,7 @@ ThriftHiveMetastore_delete_table_column_statistics_args::~ThriftHiveMetastore_de uint32_t ThriftHiveMetastore_delete_table_column_statistics_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; @@ -22870,7 +22954,7 @@ uint32_t ThriftHiveMetastore_delete_table_column_statistics_args::read(::apache: uint32_t ThriftHiveMetastore_delete_table_column_statistics_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_delete_table_column_statistics_args"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -22887,7 +22971,6 @@ uint32_t ThriftHiveMetastore_delete_table_column_statistics_args::write(::apache xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -22898,7 +22981,7 @@ ThriftHiveMetastore_delete_table_column_statistics_pargs::~ThriftHiveMetastore_d uint32_t ThriftHiveMetastore_delete_table_column_statistics_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_delete_table_column_statistics_pargs"); xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); @@ -22915,7 +22998,6 @@ uint32_t ThriftHiveMetastore_delete_table_column_statistics_pargs::write(::apach xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -22926,6 +23008,7 @@ ThriftHiveMetastore_delete_table_column_statistics_result::~ThriftHiveMetastore_ uint32_t ThriftHiveMetastore_delete_table_column_statistics_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; @@ -23035,6 +23118,7 @@ ThriftHiveMetastore_delete_table_column_statistics_presult::~ThriftHiveMetastore uint32_t ThriftHiveMetastore_delete_table_column_statistics_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; @@ -23112,6 +23196,7 @@ ThriftHiveMetastore_create_function_args::~ThriftHiveMetastore_create_function_a uint32_t ThriftHiveMetastore_create_function_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; @@ -23152,7 +23237,7 @@ uint32_t ThriftHiveMetastore_create_function_args::read(::apache::thrift::protoc uint32_t ThriftHiveMetastore_create_function_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_function_args"); xfer += oprot->writeFieldBegin("func", ::apache::thrift::protocol::T_STRUCT, 1); @@ -23161,7 +23246,6 @@ uint32_t ThriftHiveMetastore_create_function_args::write(::apache::thrift::proto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -23172,7 +23256,7 @@ ThriftHiveMetastore_create_function_pargs::~ThriftHiveMetastore_create_function_ uint32_t ThriftHiveMetastore_create_function_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_function_pargs"); xfer += oprot->writeFieldBegin("func", ::apache::thrift::protocol::T_STRUCT, 1); @@ -23181,7 +23265,6 @@ uint32_t ThriftHiveMetastore_create_function_pargs::write(::apache::thrift::prot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -23192,6 +23275,7 @@ ThriftHiveMetastore_create_function_result::~ThriftHiveMetastore_create_function uint32_t ThriftHiveMetastore_create_function_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; @@ -23289,6 +23373,7 @@ ThriftHiveMetastore_create_function_presult::~ThriftHiveMetastore_create_functio uint32_t ThriftHiveMetastore_create_function_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; @@ -23358,6 +23443,7 @@ ThriftHiveMetastore_drop_function_args::~ThriftHiveMetastore_drop_function_args( uint32_t ThriftHiveMetastore_drop_function_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; @@ -23406,7 +23492,7 @@ uint32_t ThriftHiveMetastore_drop_function_args::read(::apache::thrift::protocol uint32_t ThriftHiveMetastore_drop_function_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_function_args"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -23419,7 +23505,6 @@ uint32_t ThriftHiveMetastore_drop_function_args::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -23430,7 +23515,7 @@ ThriftHiveMetastore_drop_function_pargs::~ThriftHiveMetastore_drop_function_parg uint32_t ThriftHiveMetastore_drop_function_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_function_pargs"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -23443,7 +23528,6 @@ uint32_t ThriftHiveMetastore_drop_function_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -23454,6 +23538,7 @@ ThriftHiveMetastore_drop_function_result::~ThriftHiveMetastore_drop_function_res uint32_t ThriftHiveMetastore_drop_function_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; @@ -23527,6 +23612,7 @@ ThriftHiveMetastore_drop_function_presult::~ThriftHiveMetastore_drop_function_pr uint32_t ThriftHiveMetastore_drop_function_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; @@ -23580,6 +23666,7 @@ ThriftHiveMetastore_alter_function_args::~ThriftHiveMetastore_alter_function_arg uint32_t ThriftHiveMetastore_alter_function_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; @@ -23636,7 +23723,7 @@ uint32_t ThriftHiveMetastore_alter_function_args::read(::apache::thrift::protoco uint32_t ThriftHiveMetastore_alter_function_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_function_args"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -23653,7 +23740,6 @@ uint32_t ThriftHiveMetastore_alter_function_args::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -23664,7 +23750,7 @@ ThriftHiveMetastore_alter_function_pargs::~ThriftHiveMetastore_alter_function_pa uint32_t ThriftHiveMetastore_alter_function_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_alter_function_pargs"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -23681,7 +23767,6 @@ uint32_t ThriftHiveMetastore_alter_function_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -23692,6 +23777,7 @@ ThriftHiveMetastore_alter_function_result::~ThriftHiveMetastore_alter_function_r uint32_t ThriftHiveMetastore_alter_function_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; @@ -23765,6 +23851,7 @@ ThriftHiveMetastore_alter_function_presult::~ThriftHiveMetastore_alter_function_ uint32_t ThriftHiveMetastore_alter_function_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; @@ -23818,6 +23905,7 @@ ThriftHiveMetastore_get_functions_args::~ThriftHiveMetastore_get_functions_args( uint32_t ThriftHiveMetastore_get_functions_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; @@ -23866,7 +23954,7 @@ uint32_t ThriftHiveMetastore_get_functions_args::read(::apache::thrift::protocol uint32_t ThriftHiveMetastore_get_functions_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_functions_args"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -23879,7 +23967,6 @@ uint32_t ThriftHiveMetastore_get_functions_args::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -23890,7 +23977,7 @@ ThriftHiveMetastore_get_functions_pargs::~ThriftHiveMetastore_get_functions_parg uint32_t ThriftHiveMetastore_get_functions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_functions_pargs"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -23903,7 +23990,6 @@ uint32_t ThriftHiveMetastore_get_functions_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -23914,6 +24000,7 @@ ThriftHiveMetastore_get_functions_result::~ThriftHiveMetastore_get_functions_res uint32_t ThriftHiveMetastore_get_functions_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; @@ -24007,6 +24094,7 @@ ThriftHiveMetastore_get_functions_presult::~ThriftHiveMetastore_get_functions_pr uint32_t ThriftHiveMetastore_get_functions_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; @@ -24072,6 +24160,7 @@ ThriftHiveMetastore_get_function_args::~ThriftHiveMetastore_get_function_args() uint32_t ThriftHiveMetastore_get_function_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; @@ -24120,7 +24209,7 @@ uint32_t ThriftHiveMetastore_get_function_args::read(::apache::thrift::protocol: uint32_t ThriftHiveMetastore_get_function_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_function_args"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -24133,7 +24222,6 @@ uint32_t ThriftHiveMetastore_get_function_args::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -24144,7 +24232,7 @@ ThriftHiveMetastore_get_function_pargs::~ThriftHiveMetastore_get_function_pargs( uint32_t ThriftHiveMetastore_get_function_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_function_pargs"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -24157,7 +24245,6 @@ uint32_t ThriftHiveMetastore_get_function_pargs::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -24168,6 +24255,7 @@ ThriftHiveMetastore_get_function_result::~ThriftHiveMetastore_get_function_resul uint32_t ThriftHiveMetastore_get_function_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; @@ -24253,6 +24341,7 @@ ThriftHiveMetastore_get_function_presult::~ThriftHiveMetastore_get_function_pres uint32_t ThriftHiveMetastore_get_function_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; @@ -24314,6 +24403,7 @@ ThriftHiveMetastore_get_all_functions_args::~ThriftHiveMetastore_get_all_functio uint32_t ThriftHiveMetastore_get_all_functions_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; @@ -24341,12 +24431,11 @@ uint32_t ThriftHiveMetastore_get_all_functions_args::read(::apache::thrift::prot uint32_t ThriftHiveMetastore_get_all_functions_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_functions_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -24357,12 +24446,11 @@ ThriftHiveMetastore_get_all_functions_pargs::~ThriftHiveMetastore_get_all_functi uint32_t ThriftHiveMetastore_get_all_functions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_all_functions_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -24373,6 +24461,7 @@ ThriftHiveMetastore_get_all_functions_result::~ThriftHiveMetastore_get_all_funct uint32_t ThriftHiveMetastore_get_all_functions_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; @@ -24446,6 +24535,7 @@ ThriftHiveMetastore_get_all_functions_presult::~ThriftHiveMetastore_get_all_func uint32_t ThriftHiveMetastore_get_all_functions_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; @@ -24499,6 +24589,7 @@ ThriftHiveMetastore_create_role_args::~ThriftHiveMetastore_create_role_args() th uint32_t ThriftHiveMetastore_create_role_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; @@ -24539,7 +24630,7 @@ uint32_t ThriftHiveMetastore_create_role_args::read(::apache::thrift::protocol:: uint32_t ThriftHiveMetastore_create_role_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_role_args"); xfer += oprot->writeFieldBegin("role", ::apache::thrift::protocol::T_STRUCT, 1); @@ -24548,7 +24639,6 @@ uint32_t ThriftHiveMetastore_create_role_args::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -24559,7 +24649,7 @@ ThriftHiveMetastore_create_role_pargs::~ThriftHiveMetastore_create_role_pargs() uint32_t ThriftHiveMetastore_create_role_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_create_role_pargs"); xfer += oprot->writeFieldBegin("role", ::apache::thrift::protocol::T_STRUCT, 1); @@ -24568,7 +24658,6 @@ uint32_t ThriftHiveMetastore_create_role_pargs::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -24579,6 +24668,7 @@ ThriftHiveMetastore_create_role_result::~ThriftHiveMetastore_create_role_result( uint32_t ThriftHiveMetastore_create_role_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; @@ -24652,6 +24742,7 @@ ThriftHiveMetastore_create_role_presult::~ThriftHiveMetastore_create_role_presul uint32_t ThriftHiveMetastore_create_role_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; @@ -24705,6 +24796,7 @@ ThriftHiveMetastore_drop_role_args::~ThriftHiveMetastore_drop_role_args() throw( uint32_t ThriftHiveMetastore_drop_role_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; @@ -24745,7 +24837,7 @@ uint32_t ThriftHiveMetastore_drop_role_args::read(::apache::thrift::protocol::TP uint32_t ThriftHiveMetastore_drop_role_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_role_args"); xfer += oprot->writeFieldBegin("role_name", ::apache::thrift::protocol::T_STRING, 1); @@ -24754,7 +24846,6 @@ uint32_t ThriftHiveMetastore_drop_role_args::write(::apache::thrift::protocol::T xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -24765,7 +24856,7 @@ ThriftHiveMetastore_drop_role_pargs::~ThriftHiveMetastore_drop_role_pargs() thro uint32_t ThriftHiveMetastore_drop_role_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_drop_role_pargs"); xfer += oprot->writeFieldBegin("role_name", ::apache::thrift::protocol::T_STRING, 1); @@ -24774,7 +24865,6 @@ uint32_t ThriftHiveMetastore_drop_role_pargs::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -24785,6 +24875,7 @@ ThriftHiveMetastore_drop_role_result::~ThriftHiveMetastore_drop_role_result() th uint32_t ThriftHiveMetastore_drop_role_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; @@ -24858,6 +24949,7 @@ ThriftHiveMetastore_drop_role_presult::~ThriftHiveMetastore_drop_role_presult() uint32_t ThriftHiveMetastore_drop_role_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; @@ -24911,6 +25003,7 @@ ThriftHiveMetastore_get_role_names_args::~ThriftHiveMetastore_get_role_names_arg uint32_t ThriftHiveMetastore_get_role_names_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; @@ -24938,12 +25031,11 @@ uint32_t ThriftHiveMetastore_get_role_names_args::read(::apache::thrift::protoco uint32_t ThriftHiveMetastore_get_role_names_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_role_names_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -24954,12 +25046,11 @@ ThriftHiveMetastore_get_role_names_pargs::~ThriftHiveMetastore_get_role_names_pa uint32_t ThriftHiveMetastore_get_role_names_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_role_names_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -24970,6 +25061,7 @@ ThriftHiveMetastore_get_role_names_result::~ThriftHiveMetastore_get_role_names_r uint32_t ThriftHiveMetastore_get_role_names_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; @@ -25063,6 +25155,7 @@ ThriftHiveMetastore_get_role_names_presult::~ThriftHiveMetastore_get_role_names_ uint32_t ThriftHiveMetastore_get_role_names_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; @@ -25128,6 +25221,7 @@ ThriftHiveMetastore_grant_role_args::~ThriftHiveMetastore_grant_role_args() thro uint32_t ThriftHiveMetastore_grant_role_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; @@ -25212,7 +25306,7 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T uint32_t ThriftHiveMetastore_grant_role_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_grant_role_args"); xfer += oprot->writeFieldBegin("role_name", ::apache::thrift::protocol::T_STRING, 1); @@ -25241,7 +25335,6 @@ uint32_t ThriftHiveMetastore_grant_role_args::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -25252,7 +25345,7 @@ ThriftHiveMetastore_grant_role_pargs::~ThriftHiveMetastore_grant_role_pargs() th uint32_t ThriftHiveMetastore_grant_role_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_grant_role_pargs"); xfer += oprot->writeFieldBegin("role_name", ::apache::thrift::protocol::T_STRING, 1); @@ -25281,7 +25374,6 @@ uint32_t ThriftHiveMetastore_grant_role_pargs::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -25292,6 +25384,7 @@ ThriftHiveMetastore_grant_role_result::~ThriftHiveMetastore_grant_role_result() uint32_t ThriftHiveMetastore_grant_role_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; @@ -25365,6 +25458,7 @@ ThriftHiveMetastore_grant_role_presult::~ThriftHiveMetastore_grant_role_presult( uint32_t ThriftHiveMetastore_grant_role_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; @@ -25418,6 +25512,7 @@ ThriftHiveMetastore_revoke_role_args::~ThriftHiveMetastore_revoke_role_args() th uint32_t ThriftHiveMetastore_revoke_role_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; @@ -25476,7 +25571,7 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: uint32_t ThriftHiveMetastore_revoke_role_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_revoke_role_args"); xfer += oprot->writeFieldBegin("role_name", ::apache::thrift::protocol::T_STRING, 1); @@ -25493,7 +25588,6 @@ uint32_t ThriftHiveMetastore_revoke_role_args::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -25504,7 +25598,7 @@ ThriftHiveMetastore_revoke_role_pargs::~ThriftHiveMetastore_revoke_role_pargs() uint32_t ThriftHiveMetastore_revoke_role_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_revoke_role_pargs"); xfer += oprot->writeFieldBegin("role_name", ::apache::thrift::protocol::T_STRING, 1); @@ -25521,7 +25615,6 @@ uint32_t ThriftHiveMetastore_revoke_role_pargs::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -25532,6 +25625,7 @@ ThriftHiveMetastore_revoke_role_result::~ThriftHiveMetastore_revoke_role_result( uint32_t ThriftHiveMetastore_revoke_role_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; @@ -25605,6 +25699,7 @@ ThriftHiveMetastore_revoke_role_presult::~ThriftHiveMetastore_revoke_role_presul uint32_t ThriftHiveMetastore_revoke_role_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; @@ -25658,6 +25753,7 @@ ThriftHiveMetastore_list_roles_args::~ThriftHiveMetastore_list_roles_args() thro uint32_t ThriftHiveMetastore_list_roles_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; @@ -25708,7 +25804,7 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T uint32_t ThriftHiveMetastore_list_roles_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_list_roles_args"); xfer += oprot->writeFieldBegin("principal_name", ::apache::thrift::protocol::T_STRING, 1); @@ -25721,7 +25817,6 @@ uint32_t ThriftHiveMetastore_list_roles_args::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -25732,7 +25827,7 @@ ThriftHiveMetastore_list_roles_pargs::~ThriftHiveMetastore_list_roles_pargs() th uint32_t ThriftHiveMetastore_list_roles_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_list_roles_pargs"); xfer += oprot->writeFieldBegin("principal_name", ::apache::thrift::protocol::T_STRING, 1); @@ -25745,7 +25840,6 @@ uint32_t ThriftHiveMetastore_list_roles_pargs::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -25756,6 +25850,7 @@ ThriftHiveMetastore_list_roles_result::~ThriftHiveMetastore_list_roles_result() uint32_t ThriftHiveMetastore_list_roles_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; @@ -25849,6 +25944,7 @@ ThriftHiveMetastore_list_roles_presult::~ThriftHiveMetastore_list_roles_presult( uint32_t ThriftHiveMetastore_list_roles_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; @@ -25914,6 +26010,7 @@ ThriftHiveMetastore_grant_revoke_role_args::~ThriftHiveMetastore_grant_revoke_ro uint32_t ThriftHiveMetastore_grant_revoke_role_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; @@ -25954,7 +26051,7 @@ uint32_t ThriftHiveMetastore_grant_revoke_role_args::read(::apache::thrift::prot uint32_t ThriftHiveMetastore_grant_revoke_role_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_grant_revoke_role_args"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -25963,7 +26060,6 @@ uint32_t ThriftHiveMetastore_grant_revoke_role_args::write(::apache::thrift::pro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -25974,7 +26070,7 @@ ThriftHiveMetastore_grant_revoke_role_pargs::~ThriftHiveMetastore_grant_revoke_r uint32_t ThriftHiveMetastore_grant_revoke_role_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_grant_revoke_role_pargs"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -25983,7 +26079,6 @@ uint32_t ThriftHiveMetastore_grant_revoke_role_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -25994,6 +26089,7 @@ ThriftHiveMetastore_grant_revoke_role_result::~ThriftHiveMetastore_grant_revoke_ uint32_t ThriftHiveMetastore_grant_revoke_role_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; @@ -26067,6 +26163,7 @@ ThriftHiveMetastore_grant_revoke_role_presult::~ThriftHiveMetastore_grant_revoke uint32_t ThriftHiveMetastore_grant_revoke_role_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; @@ -26120,6 +26217,7 @@ ThriftHiveMetastore_get_principals_in_role_args::~ThriftHiveMetastore_get_princi uint32_t ThriftHiveMetastore_get_principals_in_role_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; @@ -26160,7 +26258,7 @@ uint32_t ThriftHiveMetastore_get_principals_in_role_args::read(::apache::thrift: uint32_t ThriftHiveMetastore_get_principals_in_role_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_principals_in_role_args"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -26169,7 +26267,6 @@ uint32_t ThriftHiveMetastore_get_principals_in_role_args::write(::apache::thrift xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -26180,7 +26277,7 @@ ThriftHiveMetastore_get_principals_in_role_pargs::~ThriftHiveMetastore_get_princ uint32_t ThriftHiveMetastore_get_principals_in_role_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_principals_in_role_pargs"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -26189,7 +26286,6 @@ uint32_t ThriftHiveMetastore_get_principals_in_role_pargs::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -26200,6 +26296,7 @@ ThriftHiveMetastore_get_principals_in_role_result::~ThriftHiveMetastore_get_prin uint32_t ThriftHiveMetastore_get_principals_in_role_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; @@ -26273,6 +26370,7 @@ ThriftHiveMetastore_get_principals_in_role_presult::~ThriftHiveMetastore_get_pri uint32_t ThriftHiveMetastore_get_principals_in_role_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; @@ -26326,6 +26424,7 @@ ThriftHiveMetastore_get_role_grants_for_principal_args::~ThriftHiveMetastore_get uint32_t ThriftHiveMetastore_get_role_grants_for_principal_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; @@ -26366,7 +26465,7 @@ uint32_t ThriftHiveMetastore_get_role_grants_for_principal_args::read(::apache:: uint32_t ThriftHiveMetastore_get_role_grants_for_principal_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_role_grants_for_principal_args"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -26375,7 +26474,6 @@ uint32_t ThriftHiveMetastore_get_role_grants_for_principal_args::write(::apache: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -26386,7 +26484,7 @@ ThriftHiveMetastore_get_role_grants_for_principal_pargs::~ThriftHiveMetastore_ge uint32_t ThriftHiveMetastore_get_role_grants_for_principal_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_role_grants_for_principal_pargs"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -26395,7 +26493,6 @@ uint32_t ThriftHiveMetastore_get_role_grants_for_principal_pargs::write(::apache xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -26406,6 +26503,7 @@ ThriftHiveMetastore_get_role_grants_for_principal_result::~ThriftHiveMetastore_g uint32_t ThriftHiveMetastore_get_role_grants_for_principal_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; @@ -26479,6 +26577,7 @@ ThriftHiveMetastore_get_role_grants_for_principal_presult::~ThriftHiveMetastore_ uint32_t ThriftHiveMetastore_get_role_grants_for_principal_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; @@ -26532,6 +26631,7 @@ ThriftHiveMetastore_get_privilege_set_args::~ThriftHiveMetastore_get_privilege_s uint32_t ThriftHiveMetastore_get_privilege_set_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; @@ -26600,7 +26700,7 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::read(::apache::thrift::prot uint32_t ThriftHiveMetastore_get_privilege_set_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_privilege_set_args"); xfer += oprot->writeFieldBegin("hiveObject", ::apache::thrift::protocol::T_STRUCT, 1); @@ -26625,7 +26725,6 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::write(::apache::thrift::pro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -26636,7 +26735,7 @@ ThriftHiveMetastore_get_privilege_set_pargs::~ThriftHiveMetastore_get_privilege_ uint32_t ThriftHiveMetastore_get_privilege_set_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_privilege_set_pargs"); xfer += oprot->writeFieldBegin("hiveObject", ::apache::thrift::protocol::T_STRUCT, 1); @@ -26661,7 +26760,6 @@ uint32_t ThriftHiveMetastore_get_privilege_set_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -26672,6 +26770,7 @@ ThriftHiveMetastore_get_privilege_set_result::~ThriftHiveMetastore_get_privilege uint32_t ThriftHiveMetastore_get_privilege_set_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; @@ -26745,6 +26844,7 @@ ThriftHiveMetastore_get_privilege_set_presult::~ThriftHiveMetastore_get_privileg uint32_t ThriftHiveMetastore_get_privilege_set_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; @@ -26798,6 +26898,7 @@ ThriftHiveMetastore_list_privileges_args::~ThriftHiveMetastore_list_privileges_a uint32_t ThriftHiveMetastore_list_privileges_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; @@ -26856,7 +26957,7 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc uint32_t ThriftHiveMetastore_list_privileges_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_list_privileges_args"); xfer += oprot->writeFieldBegin("principal_name", ::apache::thrift::protocol::T_STRING, 1); @@ -26873,7 +26974,6 @@ uint32_t ThriftHiveMetastore_list_privileges_args::write(::apache::thrift::proto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -26884,7 +26984,7 @@ ThriftHiveMetastore_list_privileges_pargs::~ThriftHiveMetastore_list_privileges_ uint32_t ThriftHiveMetastore_list_privileges_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_list_privileges_pargs"); xfer += oprot->writeFieldBegin("principal_name", ::apache::thrift::protocol::T_STRING, 1); @@ -26901,7 +27001,6 @@ uint32_t ThriftHiveMetastore_list_privileges_pargs::write(::apache::thrift::prot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -26912,6 +27011,7 @@ ThriftHiveMetastore_list_privileges_result::~ThriftHiveMetastore_list_privileges uint32_t ThriftHiveMetastore_list_privileges_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; @@ -27005,6 +27105,7 @@ ThriftHiveMetastore_list_privileges_presult::~ThriftHiveMetastore_list_privilege uint32_t ThriftHiveMetastore_list_privileges_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; @@ -27070,6 +27171,7 @@ ThriftHiveMetastore_grant_privileges_args::~ThriftHiveMetastore_grant_privileges uint32_t ThriftHiveMetastore_grant_privileges_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; @@ -27110,7 +27212,7 @@ uint32_t ThriftHiveMetastore_grant_privileges_args::read(::apache::thrift::proto uint32_t ThriftHiveMetastore_grant_privileges_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_grant_privileges_args"); xfer += oprot->writeFieldBegin("privileges", ::apache::thrift::protocol::T_STRUCT, 1); @@ -27119,7 +27221,6 @@ uint32_t ThriftHiveMetastore_grant_privileges_args::write(::apache::thrift::prot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -27130,7 +27231,7 @@ ThriftHiveMetastore_grant_privileges_pargs::~ThriftHiveMetastore_grant_privilege uint32_t ThriftHiveMetastore_grant_privileges_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_grant_privileges_pargs"); xfer += oprot->writeFieldBegin("privileges", ::apache::thrift::protocol::T_STRUCT, 1); @@ -27139,7 +27240,6 @@ uint32_t ThriftHiveMetastore_grant_privileges_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -27150,6 +27250,7 @@ ThriftHiveMetastore_grant_privileges_result::~ThriftHiveMetastore_grant_privileg uint32_t ThriftHiveMetastore_grant_privileges_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; @@ -27223,6 +27324,7 @@ ThriftHiveMetastore_grant_privileges_presult::~ThriftHiveMetastore_grant_privile uint32_t ThriftHiveMetastore_grant_privileges_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; @@ -27276,6 +27378,7 @@ ThriftHiveMetastore_revoke_privileges_args::~ThriftHiveMetastore_revoke_privileg uint32_t ThriftHiveMetastore_revoke_privileges_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; @@ -27316,7 +27419,7 @@ uint32_t ThriftHiveMetastore_revoke_privileges_args::read(::apache::thrift::prot uint32_t ThriftHiveMetastore_revoke_privileges_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_revoke_privileges_args"); xfer += oprot->writeFieldBegin("privileges", ::apache::thrift::protocol::T_STRUCT, 1); @@ -27325,7 +27428,6 @@ uint32_t ThriftHiveMetastore_revoke_privileges_args::write(::apache::thrift::pro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -27336,7 +27438,7 @@ ThriftHiveMetastore_revoke_privileges_pargs::~ThriftHiveMetastore_revoke_privile uint32_t ThriftHiveMetastore_revoke_privileges_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_revoke_privileges_pargs"); xfer += oprot->writeFieldBegin("privileges", ::apache::thrift::protocol::T_STRUCT, 1); @@ -27345,7 +27447,6 @@ uint32_t ThriftHiveMetastore_revoke_privileges_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -27356,6 +27457,7 @@ ThriftHiveMetastore_revoke_privileges_result::~ThriftHiveMetastore_revoke_privil uint32_t ThriftHiveMetastore_revoke_privileges_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; @@ -27429,6 +27531,7 @@ ThriftHiveMetastore_revoke_privileges_presult::~ThriftHiveMetastore_revoke_privi uint32_t ThriftHiveMetastore_revoke_privileges_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; @@ -27482,6 +27585,7 @@ ThriftHiveMetastore_grant_revoke_privileges_args::~ThriftHiveMetastore_grant_rev uint32_t ThriftHiveMetastore_grant_revoke_privileges_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; @@ -27522,7 +27626,7 @@ uint32_t ThriftHiveMetastore_grant_revoke_privileges_args::read(::apache::thrift uint32_t ThriftHiveMetastore_grant_revoke_privileges_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_grant_revoke_privileges_args"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -27531,7 +27635,6 @@ uint32_t ThriftHiveMetastore_grant_revoke_privileges_args::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -27542,7 +27645,7 @@ ThriftHiveMetastore_grant_revoke_privileges_pargs::~ThriftHiveMetastore_grant_re uint32_t ThriftHiveMetastore_grant_revoke_privileges_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_grant_revoke_privileges_pargs"); xfer += oprot->writeFieldBegin("request", ::apache::thrift::protocol::T_STRUCT, 1); @@ -27551,7 +27654,6 @@ uint32_t ThriftHiveMetastore_grant_revoke_privileges_pargs::write(::apache::thri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -27562,6 +27664,7 @@ ThriftHiveMetastore_grant_revoke_privileges_result::~ThriftHiveMetastore_grant_r uint32_t ThriftHiveMetastore_grant_revoke_privileges_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; @@ -27635,6 +27738,7 @@ ThriftHiveMetastore_grant_revoke_privileges_presult::~ThriftHiveMetastore_grant_ uint32_t ThriftHiveMetastore_grant_revoke_privileges_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; @@ -27688,6 +27792,7 @@ ThriftHiveMetastore_set_ugi_args::~ThriftHiveMetastore_set_ugi_args() throw() { uint32_t ThriftHiveMetastore_set_ugi_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; @@ -27748,7 +27853,7 @@ uint32_t ThriftHiveMetastore_set_ugi_args::read(::apache::thrift::protocol::TPro uint32_t ThriftHiveMetastore_set_ugi_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_set_ugi_args"); xfer += oprot->writeFieldBegin("user_name", ::apache::thrift::protocol::T_STRING, 1); @@ -27769,7 +27874,6 @@ uint32_t ThriftHiveMetastore_set_ugi_args::write(::apache::thrift::protocol::TPr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -27780,7 +27884,7 @@ ThriftHiveMetastore_set_ugi_pargs::~ThriftHiveMetastore_set_ugi_pargs() throw() uint32_t ThriftHiveMetastore_set_ugi_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_set_ugi_pargs"); xfer += oprot->writeFieldBegin("user_name", ::apache::thrift::protocol::T_STRING, 1); @@ -27801,7 +27905,6 @@ uint32_t ThriftHiveMetastore_set_ugi_pargs::write(::apache::thrift::protocol::TP xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -27812,6 +27915,7 @@ ThriftHiveMetastore_set_ugi_result::~ThriftHiveMetastore_set_ugi_result() throw( uint32_t ThriftHiveMetastore_set_ugi_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; @@ -27905,6 +28009,7 @@ ThriftHiveMetastore_set_ugi_presult::~ThriftHiveMetastore_set_ugi_presult() thro uint32_t ThriftHiveMetastore_set_ugi_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; @@ -27970,6 +28075,7 @@ ThriftHiveMetastore_get_delegation_token_args::~ThriftHiveMetastore_get_delegati uint32_t ThriftHiveMetastore_get_delegation_token_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; @@ -28018,7 +28124,7 @@ uint32_t ThriftHiveMetastore_get_delegation_token_args::read(::apache::thrift::p uint32_t ThriftHiveMetastore_get_delegation_token_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_delegation_token_args"); xfer += oprot->writeFieldBegin("token_owner", ::apache::thrift::protocol::T_STRING, 1); @@ -28031,7 +28137,6 @@ uint32_t ThriftHiveMetastore_get_delegation_token_args::write(::apache::thrift:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -28042,7 +28147,7 @@ ThriftHiveMetastore_get_delegation_token_pargs::~ThriftHiveMetastore_get_delegat uint32_t ThriftHiveMetastore_get_delegation_token_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_delegation_token_pargs"); xfer += oprot->writeFieldBegin("token_owner", ::apache::thrift::protocol::T_STRING, 1); @@ -28055,7 +28160,6 @@ uint32_t ThriftHiveMetastore_get_delegation_token_pargs::write(::apache::thrift: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -28066,6 +28170,7 @@ ThriftHiveMetastore_get_delegation_token_result::~ThriftHiveMetastore_get_delega uint32_t ThriftHiveMetastore_get_delegation_token_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; @@ -28139,6 +28244,7 @@ ThriftHiveMetastore_get_delegation_token_presult::~ThriftHiveMetastore_get_deleg uint32_t ThriftHiveMetastore_get_delegation_token_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; @@ -28192,6 +28298,7 @@ ThriftHiveMetastore_renew_delegation_token_args::~ThriftHiveMetastore_renew_dele uint32_t ThriftHiveMetastore_renew_delegation_token_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; @@ -28232,7 +28339,7 @@ uint32_t ThriftHiveMetastore_renew_delegation_token_args::read(::apache::thrift: uint32_t ThriftHiveMetastore_renew_delegation_token_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_renew_delegation_token_args"); xfer += oprot->writeFieldBegin("token_str_form", ::apache::thrift::protocol::T_STRING, 1); @@ -28241,7 +28348,6 @@ uint32_t ThriftHiveMetastore_renew_delegation_token_args::write(::apache::thrift xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -28252,7 +28358,7 @@ ThriftHiveMetastore_renew_delegation_token_pargs::~ThriftHiveMetastore_renew_del uint32_t ThriftHiveMetastore_renew_delegation_token_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_renew_delegation_token_pargs"); xfer += oprot->writeFieldBegin("token_str_form", ::apache::thrift::protocol::T_STRING, 1); @@ -28261,7 +28367,6 @@ uint32_t ThriftHiveMetastore_renew_delegation_token_pargs::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -28272,6 +28377,7 @@ ThriftHiveMetastore_renew_delegation_token_result::~ThriftHiveMetastore_renew_de uint32_t ThriftHiveMetastore_renew_delegation_token_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; @@ -28345,6 +28451,7 @@ ThriftHiveMetastore_renew_delegation_token_presult::~ThriftHiveMetastore_renew_d uint32_t ThriftHiveMetastore_renew_delegation_token_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; @@ -28398,6 +28505,7 @@ ThriftHiveMetastore_cancel_delegation_token_args::~ThriftHiveMetastore_cancel_de uint32_t ThriftHiveMetastore_cancel_delegation_token_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; @@ -28438,7 +28546,7 @@ uint32_t ThriftHiveMetastore_cancel_delegation_token_args::read(::apache::thrift uint32_t ThriftHiveMetastore_cancel_delegation_token_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_cancel_delegation_token_args"); xfer += oprot->writeFieldBegin("token_str_form", ::apache::thrift::protocol::T_STRING, 1); @@ -28447,7 +28555,6 @@ uint32_t ThriftHiveMetastore_cancel_delegation_token_args::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -28458,7 +28565,7 @@ ThriftHiveMetastore_cancel_delegation_token_pargs::~ThriftHiveMetastore_cancel_d uint32_t ThriftHiveMetastore_cancel_delegation_token_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_cancel_delegation_token_pargs"); xfer += oprot->writeFieldBegin("token_str_form", ::apache::thrift::protocol::T_STRING, 1); @@ -28467,7 +28574,6 @@ uint32_t ThriftHiveMetastore_cancel_delegation_token_pargs::write(::apache::thri xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -28478,6 +28584,7 @@ ThriftHiveMetastore_cancel_delegation_token_result::~ThriftHiveMetastore_cancel_ uint32_t ThriftHiveMetastore_cancel_delegation_token_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; @@ -28539,6 +28646,7 @@ ThriftHiveMetastore_cancel_delegation_token_presult::~ThriftHiveMetastore_cancel uint32_t ThriftHiveMetastore_cancel_delegation_token_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; @@ -28584,6 +28692,7 @@ ThriftHiveMetastore_get_open_txns_args::~ThriftHiveMetastore_get_open_txns_args( uint32_t ThriftHiveMetastore_get_open_txns_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; @@ -28611,12 +28720,11 @@ uint32_t ThriftHiveMetastore_get_open_txns_args::read(::apache::thrift::protocol uint32_t ThriftHiveMetastore_get_open_txns_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_open_txns_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -28627,12 +28735,11 @@ ThriftHiveMetastore_get_open_txns_pargs::~ThriftHiveMetastore_get_open_txns_parg uint32_t ThriftHiveMetastore_get_open_txns_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_open_txns_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -28643,6 +28750,7 @@ ThriftHiveMetastore_get_open_txns_result::~ThriftHiveMetastore_get_open_txns_res uint32_t ThriftHiveMetastore_get_open_txns_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; @@ -28704,6 +28812,7 @@ ThriftHiveMetastore_get_open_txns_presult::~ThriftHiveMetastore_get_open_txns_pr uint32_t ThriftHiveMetastore_get_open_txns_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; @@ -28749,6 +28858,7 @@ ThriftHiveMetastore_get_open_txns_info_args::~ThriftHiveMetastore_get_open_txns_ uint32_t ThriftHiveMetastore_get_open_txns_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; @@ -28776,12 +28886,11 @@ uint32_t ThriftHiveMetastore_get_open_txns_info_args::read(::apache::thrift::pro uint32_t ThriftHiveMetastore_get_open_txns_info_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_open_txns_info_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -28792,12 +28901,11 @@ ThriftHiveMetastore_get_open_txns_info_pargs::~ThriftHiveMetastore_get_open_txns uint32_t ThriftHiveMetastore_get_open_txns_info_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_open_txns_info_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -28808,6 +28916,7 @@ ThriftHiveMetastore_get_open_txns_info_result::~ThriftHiveMetastore_get_open_txn uint32_t ThriftHiveMetastore_get_open_txns_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; @@ -28869,6 +28978,7 @@ ThriftHiveMetastore_get_open_txns_info_presult::~ThriftHiveMetastore_get_open_tx uint32_t ThriftHiveMetastore_get_open_txns_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; @@ -28914,6 +29024,7 @@ ThriftHiveMetastore_open_txns_args::~ThriftHiveMetastore_open_txns_args() throw( uint32_t ThriftHiveMetastore_open_txns_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; @@ -28954,7 +29065,7 @@ uint32_t ThriftHiveMetastore_open_txns_args::read(::apache::thrift::protocol::TP uint32_t ThriftHiveMetastore_open_txns_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_open_txns_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -28963,7 +29074,6 @@ uint32_t ThriftHiveMetastore_open_txns_args::write(::apache::thrift::protocol::T xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -28974,7 +29084,7 @@ ThriftHiveMetastore_open_txns_pargs::~ThriftHiveMetastore_open_txns_pargs() thro uint32_t ThriftHiveMetastore_open_txns_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_open_txns_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -28983,7 +29093,6 @@ uint32_t ThriftHiveMetastore_open_txns_pargs::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -28994,6 +29103,7 @@ ThriftHiveMetastore_open_txns_result::~ThriftHiveMetastore_open_txns_result() th uint32_t ThriftHiveMetastore_open_txns_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; @@ -29055,6 +29165,7 @@ ThriftHiveMetastore_open_txns_presult::~ThriftHiveMetastore_open_txns_presult() uint32_t ThriftHiveMetastore_open_txns_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; @@ -29100,6 +29211,7 @@ ThriftHiveMetastore_abort_txn_args::~ThriftHiveMetastore_abort_txn_args() throw( uint32_t ThriftHiveMetastore_abort_txn_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; @@ -29140,7 +29252,7 @@ uint32_t ThriftHiveMetastore_abort_txn_args::read(::apache::thrift::protocol::TP uint32_t ThriftHiveMetastore_abort_txn_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_abort_txn_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -29149,7 +29261,6 @@ uint32_t ThriftHiveMetastore_abort_txn_args::write(::apache::thrift::protocol::T xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -29160,7 +29271,7 @@ ThriftHiveMetastore_abort_txn_pargs::~ThriftHiveMetastore_abort_txn_pargs() thro uint32_t ThriftHiveMetastore_abort_txn_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_abort_txn_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -29169,7 +29280,6 @@ uint32_t ThriftHiveMetastore_abort_txn_pargs::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -29180,6 +29290,7 @@ ThriftHiveMetastore_abort_txn_result::~ThriftHiveMetastore_abort_txn_result() th uint32_t ThriftHiveMetastore_abort_txn_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; @@ -29241,6 +29352,7 @@ ThriftHiveMetastore_abort_txn_presult::~ThriftHiveMetastore_abort_txn_presult() uint32_t ThriftHiveMetastore_abort_txn_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; @@ -29286,6 +29398,7 @@ ThriftHiveMetastore_commit_txn_args::~ThriftHiveMetastore_commit_txn_args() thro uint32_t ThriftHiveMetastore_commit_txn_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; @@ -29326,7 +29439,7 @@ uint32_t ThriftHiveMetastore_commit_txn_args::read(::apache::thrift::protocol::T uint32_t ThriftHiveMetastore_commit_txn_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_commit_txn_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -29335,7 +29448,6 @@ uint32_t ThriftHiveMetastore_commit_txn_args::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -29346,7 +29458,7 @@ ThriftHiveMetastore_commit_txn_pargs::~ThriftHiveMetastore_commit_txn_pargs() th uint32_t ThriftHiveMetastore_commit_txn_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_commit_txn_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -29355,7 +29467,6 @@ uint32_t ThriftHiveMetastore_commit_txn_pargs::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -29366,6 +29477,7 @@ ThriftHiveMetastore_commit_txn_result::~ThriftHiveMetastore_commit_txn_result() uint32_t ThriftHiveMetastore_commit_txn_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; @@ -29439,6 +29551,7 @@ ThriftHiveMetastore_commit_txn_presult::~ThriftHiveMetastore_commit_txn_presult( uint32_t ThriftHiveMetastore_commit_txn_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; @@ -29492,6 +29605,7 @@ ThriftHiveMetastore_lock_args::~ThriftHiveMetastore_lock_args() throw() { uint32_t ThriftHiveMetastore_lock_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; @@ -29532,7 +29646,7 @@ uint32_t ThriftHiveMetastore_lock_args::read(::apache::thrift::protocol::TProtoc uint32_t ThriftHiveMetastore_lock_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_lock_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -29541,7 +29655,6 @@ uint32_t ThriftHiveMetastore_lock_args::write(::apache::thrift::protocol::TProto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -29552,7 +29665,7 @@ ThriftHiveMetastore_lock_pargs::~ThriftHiveMetastore_lock_pargs() throw() { uint32_t ThriftHiveMetastore_lock_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_lock_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -29561,7 +29674,6 @@ uint32_t ThriftHiveMetastore_lock_pargs::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -29572,6 +29684,7 @@ ThriftHiveMetastore_lock_result::~ThriftHiveMetastore_lock_result() throw() { uint32_t ThriftHiveMetastore_lock_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; @@ -29657,6 +29770,7 @@ ThriftHiveMetastore_lock_presult::~ThriftHiveMetastore_lock_presult() throw() { uint32_t ThriftHiveMetastore_lock_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; @@ -29718,6 +29832,7 @@ ThriftHiveMetastore_check_lock_args::~ThriftHiveMetastore_check_lock_args() thro uint32_t ThriftHiveMetastore_check_lock_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; @@ -29758,7 +29873,7 @@ uint32_t ThriftHiveMetastore_check_lock_args::read(::apache::thrift::protocol::T uint32_t ThriftHiveMetastore_check_lock_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_check_lock_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -29767,7 +29882,6 @@ uint32_t ThriftHiveMetastore_check_lock_args::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -29778,7 +29892,7 @@ ThriftHiveMetastore_check_lock_pargs::~ThriftHiveMetastore_check_lock_pargs() th uint32_t ThriftHiveMetastore_check_lock_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_check_lock_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -29787,7 +29901,6 @@ uint32_t ThriftHiveMetastore_check_lock_pargs::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -29798,6 +29911,7 @@ ThriftHiveMetastore_check_lock_result::~ThriftHiveMetastore_check_lock_result() uint32_t ThriftHiveMetastore_check_lock_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; @@ -29895,6 +30009,7 @@ ThriftHiveMetastore_check_lock_presult::~ThriftHiveMetastore_check_lock_presult( uint32_t ThriftHiveMetastore_check_lock_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; @@ -29964,6 +30079,7 @@ ThriftHiveMetastore_unlock_args::~ThriftHiveMetastore_unlock_args() throw() { uint32_t ThriftHiveMetastore_unlock_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; @@ -30004,7 +30120,7 @@ uint32_t ThriftHiveMetastore_unlock_args::read(::apache::thrift::protocol::TProt uint32_t ThriftHiveMetastore_unlock_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_unlock_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -30013,7 +30129,6 @@ uint32_t ThriftHiveMetastore_unlock_args::write(::apache::thrift::protocol::TPro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -30024,7 +30139,7 @@ ThriftHiveMetastore_unlock_pargs::~ThriftHiveMetastore_unlock_pargs() throw() { uint32_t ThriftHiveMetastore_unlock_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_unlock_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -30033,7 +30148,6 @@ uint32_t ThriftHiveMetastore_unlock_pargs::write(::apache::thrift::protocol::TPr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -30044,6 +30158,7 @@ ThriftHiveMetastore_unlock_result::~ThriftHiveMetastore_unlock_result() throw() uint32_t ThriftHiveMetastore_unlock_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; @@ -30117,6 +30232,7 @@ ThriftHiveMetastore_unlock_presult::~ThriftHiveMetastore_unlock_presult() throw( uint32_t ThriftHiveMetastore_unlock_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; @@ -30170,6 +30286,7 @@ ThriftHiveMetastore_show_locks_args::~ThriftHiveMetastore_show_locks_args() thro uint32_t ThriftHiveMetastore_show_locks_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; @@ -30210,7 +30327,7 @@ uint32_t ThriftHiveMetastore_show_locks_args::read(::apache::thrift::protocol::T uint32_t ThriftHiveMetastore_show_locks_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_show_locks_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -30219,7 +30336,6 @@ uint32_t ThriftHiveMetastore_show_locks_args::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -30230,7 +30346,7 @@ ThriftHiveMetastore_show_locks_pargs::~ThriftHiveMetastore_show_locks_pargs() th uint32_t ThriftHiveMetastore_show_locks_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_show_locks_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -30239,7 +30355,6 @@ uint32_t ThriftHiveMetastore_show_locks_pargs::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -30250,6 +30365,7 @@ ThriftHiveMetastore_show_locks_result::~ThriftHiveMetastore_show_locks_result() uint32_t ThriftHiveMetastore_show_locks_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; @@ -30311,6 +30427,7 @@ ThriftHiveMetastore_show_locks_presult::~ThriftHiveMetastore_show_locks_presult( uint32_t ThriftHiveMetastore_show_locks_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; @@ -30356,6 +30473,7 @@ ThriftHiveMetastore_heartbeat_args::~ThriftHiveMetastore_heartbeat_args() throw( uint32_t ThriftHiveMetastore_heartbeat_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; @@ -30396,7 +30514,7 @@ uint32_t ThriftHiveMetastore_heartbeat_args::read(::apache::thrift::protocol::TP uint32_t ThriftHiveMetastore_heartbeat_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_heartbeat_args"); xfer += oprot->writeFieldBegin("ids", ::apache::thrift::protocol::T_STRUCT, 1); @@ -30405,7 +30523,6 @@ uint32_t ThriftHiveMetastore_heartbeat_args::write(::apache::thrift::protocol::T xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -30416,7 +30533,7 @@ ThriftHiveMetastore_heartbeat_pargs::~ThriftHiveMetastore_heartbeat_pargs() thro uint32_t ThriftHiveMetastore_heartbeat_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_heartbeat_pargs"); xfer += oprot->writeFieldBegin("ids", ::apache::thrift::protocol::T_STRUCT, 1); @@ -30425,7 +30542,6 @@ uint32_t ThriftHiveMetastore_heartbeat_pargs::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -30436,6 +30552,7 @@ ThriftHiveMetastore_heartbeat_result::~ThriftHiveMetastore_heartbeat_result() th uint32_t ThriftHiveMetastore_heartbeat_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; @@ -30521,6 +30638,7 @@ ThriftHiveMetastore_heartbeat_presult::~ThriftHiveMetastore_heartbeat_presult() uint32_t ThriftHiveMetastore_heartbeat_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; @@ -30582,6 +30700,7 @@ ThriftHiveMetastore_heartbeat_txn_range_args::~ThriftHiveMetastore_heartbeat_txn uint32_t ThriftHiveMetastore_heartbeat_txn_range_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; @@ -30622,7 +30741,7 @@ uint32_t ThriftHiveMetastore_heartbeat_txn_range_args::read(::apache::thrift::pr uint32_t ThriftHiveMetastore_heartbeat_txn_range_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_heartbeat_txn_range_args"); xfer += oprot->writeFieldBegin("txns", ::apache::thrift::protocol::T_STRUCT, 1); @@ -30631,7 +30750,6 @@ uint32_t ThriftHiveMetastore_heartbeat_txn_range_args::write(::apache::thrift::p xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -30642,7 +30760,7 @@ ThriftHiveMetastore_heartbeat_txn_range_pargs::~ThriftHiveMetastore_heartbeat_tx uint32_t ThriftHiveMetastore_heartbeat_txn_range_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_heartbeat_txn_range_pargs"); xfer += oprot->writeFieldBegin("txns", ::apache::thrift::protocol::T_STRUCT, 1); @@ -30651,7 +30769,6 @@ uint32_t ThriftHiveMetastore_heartbeat_txn_range_pargs::write(::apache::thrift:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -30662,6 +30779,7 @@ ThriftHiveMetastore_heartbeat_txn_range_result::~ThriftHiveMetastore_heartbeat_t uint32_t ThriftHiveMetastore_heartbeat_txn_range_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; @@ -30723,6 +30841,7 @@ ThriftHiveMetastore_heartbeat_txn_range_presult::~ThriftHiveMetastore_heartbeat_ uint32_t ThriftHiveMetastore_heartbeat_txn_range_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; @@ -30768,6 +30887,7 @@ ThriftHiveMetastore_compact_args::~ThriftHiveMetastore_compact_args() throw() { uint32_t ThriftHiveMetastore_compact_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; @@ -30808,7 +30928,7 @@ uint32_t ThriftHiveMetastore_compact_args::read(::apache::thrift::protocol::TPro uint32_t ThriftHiveMetastore_compact_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_compact_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -30817,7 +30937,6 @@ uint32_t ThriftHiveMetastore_compact_args::write(::apache::thrift::protocol::TPr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -30828,7 +30947,7 @@ ThriftHiveMetastore_compact_pargs::~ThriftHiveMetastore_compact_pargs() throw() uint32_t ThriftHiveMetastore_compact_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_compact_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -30837,7 +30956,6 @@ uint32_t ThriftHiveMetastore_compact_pargs::write(::apache::thrift::protocol::TP xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -30848,6 +30966,7 @@ ThriftHiveMetastore_compact_result::~ThriftHiveMetastore_compact_result() throw( uint32_t ThriftHiveMetastore_compact_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; @@ -30891,6 +31010,7 @@ ThriftHiveMetastore_compact_presult::~ThriftHiveMetastore_compact_presult() thro uint32_t ThriftHiveMetastore_compact_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; @@ -30923,6 +31043,7 @@ ThriftHiveMetastore_show_compact_args::~ThriftHiveMetastore_show_compact_args() uint32_t ThriftHiveMetastore_show_compact_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; @@ -30963,7 +31084,7 @@ uint32_t ThriftHiveMetastore_show_compact_args::read(::apache::thrift::protocol: uint32_t ThriftHiveMetastore_show_compact_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_show_compact_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -30972,7 +31093,6 @@ uint32_t ThriftHiveMetastore_show_compact_args::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -30983,7 +31103,7 @@ ThriftHiveMetastore_show_compact_pargs::~ThriftHiveMetastore_show_compact_pargs( uint32_t ThriftHiveMetastore_show_compact_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_show_compact_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -30992,7 +31112,6 @@ uint32_t ThriftHiveMetastore_show_compact_pargs::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -31003,6 +31122,7 @@ ThriftHiveMetastore_show_compact_result::~ThriftHiveMetastore_show_compact_resul uint32_t ThriftHiveMetastore_show_compact_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; @@ -31064,6 +31184,7 @@ ThriftHiveMetastore_show_compact_presult::~ThriftHiveMetastore_show_compact_pres uint32_t ThriftHiveMetastore_show_compact_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; @@ -31109,6 +31230,7 @@ ThriftHiveMetastore_add_dynamic_partitions_args::~ThriftHiveMetastore_add_dynami uint32_t ThriftHiveMetastore_add_dynamic_partitions_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; @@ -31149,7 +31271,7 @@ uint32_t ThriftHiveMetastore_add_dynamic_partitions_args::read(::apache::thrift: uint32_t ThriftHiveMetastore_add_dynamic_partitions_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_dynamic_partitions_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -31158,7 +31280,6 @@ uint32_t ThriftHiveMetastore_add_dynamic_partitions_args::write(::apache::thrift xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -31169,7 +31290,7 @@ ThriftHiveMetastore_add_dynamic_partitions_pargs::~ThriftHiveMetastore_add_dynam uint32_t ThriftHiveMetastore_add_dynamic_partitions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_add_dynamic_partitions_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -31178,7 +31299,6 @@ uint32_t ThriftHiveMetastore_add_dynamic_partitions_pargs::write(::apache::thrif xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -31189,6 +31309,7 @@ ThriftHiveMetastore_add_dynamic_partitions_result::~ThriftHiveMetastore_add_dyna uint32_t ThriftHiveMetastore_add_dynamic_partitions_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; @@ -31262,6 +31383,7 @@ ThriftHiveMetastore_add_dynamic_partitions_presult::~ThriftHiveMetastore_add_dyn uint32_t ThriftHiveMetastore_add_dynamic_partitions_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; @@ -31315,6 +31437,7 @@ ThriftHiveMetastore_get_next_notification_args::~ThriftHiveMetastore_get_next_no uint32_t ThriftHiveMetastore_get_next_notification_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; @@ -31355,7 +31478,7 @@ uint32_t ThriftHiveMetastore_get_next_notification_args::read(::apache::thrift:: uint32_t ThriftHiveMetastore_get_next_notification_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_next_notification_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -31364,7 +31487,6 @@ uint32_t ThriftHiveMetastore_get_next_notification_args::write(::apache::thrift: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -31375,7 +31497,7 @@ ThriftHiveMetastore_get_next_notification_pargs::~ThriftHiveMetastore_get_next_n uint32_t ThriftHiveMetastore_get_next_notification_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_next_notification_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -31384,7 +31506,6 @@ uint32_t ThriftHiveMetastore_get_next_notification_pargs::write(::apache::thrift xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -31395,6 +31516,7 @@ ThriftHiveMetastore_get_next_notification_result::~ThriftHiveMetastore_get_next_ uint32_t ThriftHiveMetastore_get_next_notification_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; @@ -31456,6 +31578,7 @@ ThriftHiveMetastore_get_next_notification_presult::~ThriftHiveMetastore_get_next uint32_t ThriftHiveMetastore_get_next_notification_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; @@ -31501,6 +31624,7 @@ ThriftHiveMetastore_get_current_notificationEventId_args::~ThriftHiveMetastore_g uint32_t ThriftHiveMetastore_get_current_notificationEventId_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; @@ -31528,12 +31652,11 @@ uint32_t ThriftHiveMetastore_get_current_notificationEventId_args::read(::apache uint32_t ThriftHiveMetastore_get_current_notificationEventId_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_current_notificationEventId_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -31544,12 +31667,11 @@ ThriftHiveMetastore_get_current_notificationEventId_pargs::~ThriftHiveMetastore_ uint32_t ThriftHiveMetastore_get_current_notificationEventId_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_current_notificationEventId_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -31560,6 +31682,7 @@ ThriftHiveMetastore_get_current_notificationEventId_result::~ThriftHiveMetastore uint32_t ThriftHiveMetastore_get_current_notificationEventId_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; @@ -31621,6 +31744,7 @@ ThriftHiveMetastore_get_current_notificationEventId_presult::~ThriftHiveMetastor uint32_t ThriftHiveMetastore_get_current_notificationEventId_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; @@ -31666,6 +31790,7 @@ ThriftHiveMetastore_fire_listener_event_args::~ThriftHiveMetastore_fire_listener uint32_t ThriftHiveMetastore_fire_listener_event_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; @@ -31706,7 +31831,7 @@ uint32_t ThriftHiveMetastore_fire_listener_event_args::read(::apache::thrift::pr uint32_t ThriftHiveMetastore_fire_listener_event_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_fire_listener_event_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -31715,7 +31840,6 @@ uint32_t ThriftHiveMetastore_fire_listener_event_args::write(::apache::thrift::p xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -31726,7 +31850,7 @@ ThriftHiveMetastore_fire_listener_event_pargs::~ThriftHiveMetastore_fire_listene uint32_t ThriftHiveMetastore_fire_listener_event_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHiveMetastore_fire_listener_event_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); @@ -31735,7 +31859,6 @@ uint32_t ThriftHiveMetastore_fire_listener_event_pargs::write(::apache::thrift:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -31746,6 +31869,7 @@ ThriftHiveMetastore_fire_listener_event_result::~ThriftHiveMetastore_fire_listen uint32_t ThriftHiveMetastore_fire_listener_event_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; @@ -31807,6 +31931,7 @@ ThriftHiveMetastore_fire_listener_event_presult::~ThriftHiveMetastore_fire_liste uint32_t ThriftHiveMetastore_fire_listener_event_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; @@ -47346,5 +47471,11493 @@ void ThriftHiveMetastoreProcessor::process_fire_listener_event(int32_t seqid, :: ::boost::shared_ptr< ::apache::thrift::TProcessor > processor(new ThriftHiveMetastoreProcessor(handler)); return processor; } + +void ThriftHiveMetastoreConcurrentClient::getMetaConf(std::string& _return, const std::string& key) +{ + int32_t seqid = send_getMetaConf(key); + recv_getMetaConf(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_getMetaConf(const std::string& key) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("getMetaConf", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_getMetaConf_pargs args; + args.key = &key; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_getMetaConf(std::string& _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("getMetaConf") != 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_getMetaConf_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "getMetaConf 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::setMetaConf(const std::string& key, const std::string& value) +{ + int32_t seqid = send_setMetaConf(key, value); + recv_setMetaConf(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_setMetaConf(const std::string& key, const std::string& value) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("setMetaConf", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_setMetaConf_pargs args; + args.key = &key; + args.value = &value; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_setMetaConf(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("setMetaConf") != 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_setMetaConf_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::create_database(const Database& database) +{ + int32_t seqid = send_create_database(database); + recv_create_database(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_create_database(const Database& database) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("create_database", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_create_database_pargs args; + args.database = &database; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_create_database(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("create_database") != 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_create_database_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + 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; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::get_database(Database& _return, const std::string& name) +{ + int32_t seqid = send_get_database(name); + recv_get_database(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_database(const std::string& name) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_database", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_database_pargs args; + args.name = &name; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_database(Database& _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_database") != 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_database_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_database 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::drop_database(const std::string& name, const bool deleteData, const bool cascade) +{ + int32_t seqid = send_drop_database(name, deleteData, cascade); + recv_drop_database(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_drop_database(const std::string& name, const bool deleteData, const bool cascade) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("drop_database", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_drop_database_pargs args; + args.name = &name; + args.deleteData = &deleteData; + args.cascade = &cascade; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_drop_database(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("drop_database") != 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_drop_database_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + 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; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::get_databases(std::vector & _return, const std::string& pattern) +{ + int32_t seqid = send_get_databases(pattern); + recv_get_databases(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_databases(const std::string& pattern) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_databases", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_databases_pargs args; + args.pattern = &pattern; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_databases(std::vector & _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_databases") != 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_databases_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_databases 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::get_all_databases(std::vector & _return) +{ + int32_t seqid = send_get_all_databases(); + recv_get_all_databases(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_all_databases() +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_all_databases", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_all_databases_pargs args; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_all_databases(std::vector & _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_all_databases") != 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_all_databases_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_all_databases 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::alter_database(const std::string& dbname, const Database& db) +{ + int32_t seqid = send_alter_database(dbname, db); + recv_alter_database(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_alter_database(const std::string& dbname, const Database& db) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("alter_database", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_alter_database_pargs args; + args.dbname = &dbname; + args.db = &db; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_alter_database(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("alter_database") != 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_alter_database_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::get_type(Type& _return, const std::string& name) +{ + int32_t seqid = send_get_type(name); + recv_get_type(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_type(const std::string& name) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_type", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_type_pargs args; + args.name = &name; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_type(Type& _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_type") != 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_type_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_type 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) +} + +bool ThriftHiveMetastoreConcurrentClient::create_type(const Type& type) +{ + int32_t seqid = send_create_type(type); + return recv_create_type(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_create_type(const Type& type) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("create_type", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_create_type_pargs args; + args.type = &type; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +bool ThriftHiveMetastoreConcurrentClient::recv_create_type(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("create_type") != 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); + } + bool _return; + ThriftHiveMetastore_create_type_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _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, "create_type 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) +} + +bool ThriftHiveMetastoreConcurrentClient::drop_type(const std::string& type) +{ + int32_t seqid = send_drop_type(type); + return recv_drop_type(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_drop_type(const std::string& type) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("drop_type", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_drop_type_pargs args; + args.type = &type; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +bool ThriftHiveMetastoreConcurrentClient::recv_drop_type(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("drop_type") != 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); + } + bool _return; + ThriftHiveMetastore_drop_type_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _return; + } + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "drop_type 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::get_type_all(std::map & _return, const std::string& name) +{ + int32_t seqid = send_get_type_all(name); + recv_get_type_all(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_type_all(const std::string& name) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_type_all", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_type_all_pargs args; + args.name = &name; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_type_all(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_type_all") != 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_type_all_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.o2) { + sentry.commit(); + throw result.o2; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_type_all 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::get_fields(std::vector & _return, const std::string& db_name, const std::string& table_name) +{ + int32_t seqid = send_get_fields(db_name, table_name); + recv_get_fields(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_fields(const std::string& db_name, const std::string& table_name) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_fields", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_fields_pargs args; + args.db_name = &db_name; + args.table_name = &table_name; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_fields(std::vector & _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_fields") != 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_fields_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_fields 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::get_fields_with_environment_context(std::vector & _return, const std::string& db_name, const std::string& table_name, const EnvironmentContext& environment_context) +{ + int32_t seqid = send_get_fields_with_environment_context(db_name, table_name, environment_context); + recv_get_fields_with_environment_context(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_fields_with_environment_context(const std::string& db_name, const std::string& table_name, const EnvironmentContext& environment_context) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_fields_with_environment_context", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_fields_with_environment_context_pargs args; + args.db_name = &db_name; + args.table_name = &table_name; + args.environment_context = &environment_context; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_fields_with_environment_context(std::vector & _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_fields_with_environment_context") != 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_fields_with_environment_context_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_fields_with_environment_context 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::get_schema(std::vector & _return, const std::string& db_name, const std::string& table_name) +{ + int32_t seqid = send_get_schema(db_name, table_name); + recv_get_schema(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_schema(const std::string& db_name, const std::string& table_name) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_schema", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_schema_pargs args; + args.db_name = &db_name; + args.table_name = &table_name; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_schema(std::vector & _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_schema") != 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_schema_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_schema 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::get_schema_with_environment_context(std::vector & _return, const std::string& db_name, const std::string& table_name, const EnvironmentContext& environment_context) +{ + int32_t seqid = send_get_schema_with_environment_context(db_name, table_name, environment_context); + recv_get_schema_with_environment_context(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_schema_with_environment_context(const std::string& db_name, const std::string& table_name, const EnvironmentContext& environment_context) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_schema_with_environment_context", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_schema_with_environment_context_pargs args; + args.db_name = &db_name; + args.table_name = &table_name; + args.environment_context = &environment_context; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_schema_with_environment_context(std::vector & _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_schema_with_environment_context") != 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_schema_with_environment_context_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_schema_with_environment_context 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::create_table(const Table& tbl) +{ + int32_t seqid = send_create_table(tbl); + recv_create_table(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_create_table(const Table& tbl) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("create_table", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_create_table_pargs args; + args.tbl = &tbl; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_create_table(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("create_table") != 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_create_table_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + 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; + } + if (result.__isset.o4) { + sentry.commit(); + throw result.o4; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::create_table_with_environment_context(const Table& tbl, const EnvironmentContext& environment_context) +{ + int32_t seqid = send_create_table_with_environment_context(tbl, environment_context); + recv_create_table_with_environment_context(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_create_table_with_environment_context(const Table& tbl, const EnvironmentContext& environment_context) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("create_table_with_environment_context", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_create_table_with_environment_context_pargs args; + args.tbl = &tbl; + args.environment_context = &environment_context; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_create_table_with_environment_context(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("create_table_with_environment_context") != 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_create_table_with_environment_context_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + 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; + } + if (result.__isset.o4) { + sentry.commit(); + throw result.o4; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::drop_table(const std::string& dbname, const std::string& name, const bool deleteData) +{ + int32_t seqid = send_drop_table(dbname, name, deleteData); + recv_drop_table(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_drop_table(const std::string& dbname, const std::string& name, const bool deleteData) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("drop_table", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_drop_table_pargs args; + args.dbname = &dbname; + args.name = &name; + args.deleteData = &deleteData; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_drop_table(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("drop_table") != 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_drop_table_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o3) { + sentry.commit(); + throw result.o3; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::drop_table_with_environment_context(const std::string& dbname, const std::string& name, const bool deleteData, const EnvironmentContext& environment_context) +{ + int32_t seqid = send_drop_table_with_environment_context(dbname, name, deleteData, environment_context); + recv_drop_table_with_environment_context(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_drop_table_with_environment_context(const std::string& dbname, const std::string& name, const bool deleteData, const EnvironmentContext& environment_context) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("drop_table_with_environment_context", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_drop_table_with_environment_context_pargs args; + args.dbname = &dbname; + args.name = &name; + args.deleteData = &deleteData; + args.environment_context = &environment_context; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_drop_table_with_environment_context(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("drop_table_with_environment_context") != 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_drop_table_with_environment_context_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o3) { + sentry.commit(); + throw result.o3; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::get_tables(std::vector & _return, const std::string& db_name, const std::string& pattern) +{ + int32_t seqid = send_get_tables(db_name, pattern); + recv_get_tables(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_tables(const std::string& db_name, const std::string& pattern) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_tables", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_tables_pargs args; + args.db_name = &db_name; + args.pattern = &pattern; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_tables(std::vector & _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_tables") != 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_tables_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_tables 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::get_all_tables(std::vector & _return, const std::string& db_name) +{ + int32_t seqid = send_get_all_tables(db_name); + recv_get_all_tables(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_all_tables(const std::string& db_name) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_all_tables", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_all_tables_pargs args; + args.db_name = &db_name; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_all_tables(std::vector & _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_all_tables") != 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_all_tables_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_all_tables 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::get_table(Table& _return, const std::string& dbname, const std::string& tbl_name) +{ + int32_t seqid = send_get_table(dbname, tbl_name); + recv_get_table(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_table(const std::string& dbname, const std::string& tbl_name) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_table", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_table_pargs args; + args.dbname = &dbname; + args.tbl_name = &tbl_name; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_table(Table& _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_table") != 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_table_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_table 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::get_table_objects_by_name(std::vector & _return, const std::string& dbname, const std::vector & tbl_names) +{ + int32_t seqid = send_get_table_objects_by_name(dbname, tbl_names); + recv_get_table_objects_by_name(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_table_objects_by_name(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_table_objects_by_name", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_table_objects_by_name_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_table_objects_by_name(std::vector
& _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_table_objects_by_name") != 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_table_objects_by_name_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_table_objects_by_name 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::get_table_names_by_filter(std::vector & _return, const std::string& dbname, const std::string& filter, const int16_t max_tables) +{ + int32_t seqid = send_get_table_names_by_filter(dbname, filter, max_tables); + recv_get_table_names_by_filter(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_table_names_by_filter(const std::string& dbname, const std::string& filter, const int16_t max_tables) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_table_names_by_filter", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_table_names_by_filter_pargs args; + args.dbname = &dbname; + args.filter = &filter; + args.max_tables = &max_tables; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_table_names_by_filter(std::vector & _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_table_names_by_filter") != 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_table_names_by_filter_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_table_names_by_filter 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::alter_table(const std::string& dbname, const std::string& tbl_name, const Table& new_tbl) +{ + int32_t seqid = send_alter_table(dbname, tbl_name, new_tbl); + recv_alter_table(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_alter_table(const std::string& dbname, const std::string& tbl_name, const Table& new_tbl) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("alter_table", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_alter_table_pargs args; + args.dbname = &dbname; + args.tbl_name = &tbl_name; + args.new_tbl = &new_tbl; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_alter_table(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("alter_table") != 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_alter_table_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::alter_table_with_environment_context(const std::string& dbname, const std::string& tbl_name, const Table& new_tbl, const EnvironmentContext& environment_context) +{ + int32_t seqid = send_alter_table_with_environment_context(dbname, tbl_name, new_tbl, environment_context); + recv_alter_table_with_environment_context(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_alter_table_with_environment_context(const std::string& dbname, const std::string& tbl_name, const Table& new_tbl, const EnvironmentContext& environment_context) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("alter_table_with_environment_context", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_alter_table_with_environment_context_pargs args; + args.dbname = &dbname; + args.tbl_name = &tbl_name; + args.new_tbl = &new_tbl; + args.environment_context = &environment_context; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_alter_table_with_environment_context(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("alter_table_with_environment_context") != 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_alter_table_with_environment_context_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::alter_table_with_cascade(const std::string& dbname, const std::string& tbl_name, const Table& new_tbl, const bool cascade) +{ + int32_t seqid = send_alter_table_with_cascade(dbname, tbl_name, new_tbl, cascade); + recv_alter_table_with_cascade(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_alter_table_with_cascade(const std::string& dbname, const std::string& tbl_name, const Table& new_tbl, const bool cascade) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("alter_table_with_cascade", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_alter_table_with_cascade_pargs args; + args.dbname = &dbname; + args.tbl_name = &tbl_name; + args.new_tbl = &new_tbl; + args.cascade = &cascade; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_alter_table_with_cascade(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("alter_table_with_cascade") != 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_alter_table_with_cascade_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::add_partition(Partition& _return, const Partition& new_part) +{ + int32_t seqid = send_add_partition(new_part); + recv_add_partition(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_add_partition(const Partition& new_part) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("add_partition", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_add_partition_pargs args; + args.new_part = &new_part; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_add_partition(Partition& _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("add_partition") != 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_add_partition_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, "add_partition 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::add_partition_with_environment_context(Partition& _return, const Partition& new_part, const EnvironmentContext& environment_context) +{ + int32_t seqid = send_add_partition_with_environment_context(new_part, environment_context); + recv_add_partition_with_environment_context(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_add_partition_with_environment_context(const Partition& new_part, const EnvironmentContext& environment_context) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("add_partition_with_environment_context", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_add_partition_with_environment_context_pargs args; + args.new_part = &new_part; + args.environment_context = &environment_context; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_add_partition_with_environment_context(Partition& _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("add_partition_with_environment_context") != 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_add_partition_with_environment_context_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, "add_partition_with_environment_context 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) +} + +int32_t ThriftHiveMetastoreConcurrentClient::add_partitions(const std::vector & new_parts) +{ + int32_t seqid = send_add_partitions(new_parts); + return recv_add_partitions(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_add_partitions(const std::vector & new_parts) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("add_partitions", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_add_partitions_pargs args; + args.new_parts = &new_parts; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +int32_t ThriftHiveMetastoreConcurrentClient::recv_add_partitions(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("add_partitions") != 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); + } + int32_t _return; + ThriftHiveMetastore_add_partitions_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _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, "add_partitions 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) +} + +int32_t ThriftHiveMetastoreConcurrentClient::add_partitions_pspec(const std::vector & new_parts) +{ + int32_t seqid = send_add_partitions_pspec(new_parts); + return recv_add_partitions_pspec(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_add_partitions_pspec(const std::vector & new_parts) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("add_partitions_pspec", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_add_partitions_pspec_pargs args; + args.new_parts = &new_parts; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +int32_t ThriftHiveMetastoreConcurrentClient::recv_add_partitions_pspec(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("add_partitions_pspec") != 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); + } + int32_t _return; + ThriftHiveMetastore_add_partitions_pspec_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _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, "add_partitions_pspec 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::append_partition(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals) +{ + int32_t seqid = send_append_partition(db_name, tbl_name, part_vals); + recv_append_partition(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_append_partition(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("append_partition", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_append_partition_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.part_vals = &part_vals; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_append_partition(Partition& _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("append_partition") != 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_append_partition_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, "append_partition 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::add_partitions_req(AddPartitionsResult& _return, const AddPartitionsRequest& request) +{ + int32_t seqid = send_add_partitions_req(request); + recv_add_partitions_req(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_add_partitions_req(const AddPartitionsRequest& request) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("add_partitions_req", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_add_partitions_req_pargs args; + args.request = &request; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_add_partitions_req(AddPartitionsResult& _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("add_partitions_req") != 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_add_partitions_req_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, "add_partitions_req 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::append_partition_with_environment_context(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const EnvironmentContext& environment_context) +{ + int32_t seqid = send_append_partition_with_environment_context(db_name, tbl_name, part_vals, environment_context); + recv_append_partition_with_environment_context(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_append_partition_with_environment_context(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const EnvironmentContext& environment_context) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("append_partition_with_environment_context", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_append_partition_with_environment_context_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.part_vals = &part_vals; + args.environment_context = &environment_context; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_append_partition_with_environment_context(Partition& _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("append_partition_with_environment_context") != 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_append_partition_with_environment_context_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, "append_partition_with_environment_context 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::append_partition_by_name(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name) +{ + int32_t seqid = send_append_partition_by_name(db_name, tbl_name, part_name); + recv_append_partition_by_name(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_append_partition_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& part_name) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("append_partition_by_name", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_append_partition_by_name_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.part_name = &part_name; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_append_partition_by_name(Partition& _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("append_partition_by_name") != 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_append_partition_by_name_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, "append_partition_by_name 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::append_partition_by_name_with_environment_context(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const EnvironmentContext& environment_context) +{ + int32_t seqid = send_append_partition_by_name_with_environment_context(db_name, tbl_name, part_name, environment_context); + recv_append_partition_by_name_with_environment_context(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_append_partition_by_name_with_environment_context(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const EnvironmentContext& environment_context) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("append_partition_by_name_with_environment_context", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_append_partition_by_name_with_environment_context_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.part_name = &part_name; + args.environment_context = &environment_context; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_append_partition_by_name_with_environment_context(Partition& _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("append_partition_by_name_with_environment_context") != 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_append_partition_by_name_with_environment_context_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, "append_partition_by_name_with_environment_context 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) +} + +bool ThriftHiveMetastoreConcurrentClient::drop_partition(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const bool deleteData) +{ + int32_t seqid = send_drop_partition(db_name, tbl_name, part_vals, deleteData); + return recv_drop_partition(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_drop_partition(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const bool deleteData) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("drop_partition", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_drop_partition_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.part_vals = &part_vals; + args.deleteData = &deleteData; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +bool ThriftHiveMetastoreConcurrentClient::recv_drop_partition(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("drop_partition") != 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); + } + bool _return; + ThriftHiveMetastore_drop_partition_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _return; + } + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "drop_partition 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) +} + +bool ThriftHiveMetastoreConcurrentClient::drop_partition_with_environment_context(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const bool deleteData, const EnvironmentContext& environment_context) +{ + int32_t seqid = send_drop_partition_with_environment_context(db_name, tbl_name, part_vals, deleteData, environment_context); + return recv_drop_partition_with_environment_context(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_drop_partition_with_environment_context(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const bool deleteData, const EnvironmentContext& environment_context) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("drop_partition_with_environment_context", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_drop_partition_with_environment_context_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.part_vals = &part_vals; + args.deleteData = &deleteData; + args.environment_context = &environment_context; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +bool ThriftHiveMetastoreConcurrentClient::recv_drop_partition_with_environment_context(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("drop_partition_with_environment_context") != 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); + } + bool _return; + ThriftHiveMetastore_drop_partition_with_environment_context_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _return; + } + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "drop_partition_with_environment_context 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) +} + +bool ThriftHiveMetastoreConcurrentClient::drop_partition_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const bool deleteData) +{ + int32_t seqid = send_drop_partition_by_name(db_name, tbl_name, part_name, deleteData); + return recv_drop_partition_by_name(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_drop_partition_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const bool deleteData) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("drop_partition_by_name", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_drop_partition_by_name_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.part_name = &part_name; + args.deleteData = &deleteData; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +bool ThriftHiveMetastoreConcurrentClient::recv_drop_partition_by_name(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("drop_partition_by_name") != 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); + } + bool _return; + ThriftHiveMetastore_drop_partition_by_name_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _return; + } + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "drop_partition_by_name 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) +} + +bool ThriftHiveMetastoreConcurrentClient::drop_partition_by_name_with_environment_context(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const bool deleteData, const EnvironmentContext& environment_context) +{ + int32_t seqid = send_drop_partition_by_name_with_environment_context(db_name, tbl_name, part_name, deleteData, environment_context); + return recv_drop_partition_by_name_with_environment_context(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_drop_partition_by_name_with_environment_context(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const bool deleteData, const EnvironmentContext& environment_context) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("drop_partition_by_name_with_environment_context", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_drop_partition_by_name_with_environment_context_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.part_name = &part_name; + args.deleteData = &deleteData; + args.environment_context = &environment_context; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +bool ThriftHiveMetastoreConcurrentClient::recv_drop_partition_by_name_with_environment_context(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("drop_partition_by_name_with_environment_context") != 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); + } + bool _return; + ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _return; + } + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "drop_partition_by_name_with_environment_context 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::drop_partitions_req(DropPartitionsResult& _return, const DropPartitionsRequest& req) +{ + int32_t seqid = send_drop_partitions_req(req); + recv_drop_partitions_req(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_drop_partitions_req(const DropPartitionsRequest& req) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("drop_partitions_req", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_drop_partitions_req_pargs args; + args.req = &req; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_drop_partitions_req(DropPartitionsResult& _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("drop_partitions_req") != 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_drop_partitions_req_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "drop_partitions_req 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::get_partition(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals) +{ + int32_t seqid = send_get_partition(db_name, tbl_name, part_vals); + recv_get_partition(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_partition(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_partition", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_partition_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.part_vals = &part_vals; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_partition(Partition& _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_partition") != 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_partition_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partition 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::exchange_partition(Partition& _return, const std::map & partitionSpecs, const std::string& source_db, const std::string& source_table_name, const std::string& dest_db, const std::string& dest_table_name) +{ + int32_t seqid = send_exchange_partition(partitionSpecs, source_db, source_table_name, dest_db, dest_table_name); + recv_exchange_partition(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_exchange_partition(const std::map & partitionSpecs, const std::string& source_db, const std::string& source_table_name, const std::string& dest_db, const std::string& dest_table_name) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("exchange_partition", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_exchange_partition_pargs args; + args.partitionSpecs = &partitionSpecs; + args.source_db = &source_db; + args.source_table_name = &source_table_name; + args.dest_db = &dest_db; + args.dest_table_name = &dest_table_name; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_exchange_partition(Partition& _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("exchange_partition") != 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_exchange_partition_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; + } + if (result.__isset.o4) { + sentry.commit(); + throw result.o4; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "exchange_partition 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::exchange_partitions(std::vector & _return, const std::map & partitionSpecs, const std::string& source_db, const std::string& source_table_name, const std::string& dest_db, const std::string& dest_table_name) +{ + int32_t seqid = send_exchange_partitions(partitionSpecs, source_db, source_table_name, dest_db, dest_table_name); + recv_exchange_partitions(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_exchange_partitions(const std::map & partitionSpecs, const std::string& source_db, const std::string& source_table_name, const std::string& dest_db, const std::string& dest_table_name) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("exchange_partitions", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_exchange_partitions_pargs args; + args.partitionSpecs = &partitionSpecs; + args.source_db = &source_db; + args.source_table_name = &source_table_name; + args.dest_db = &dest_db; + args.dest_table_name = &dest_table_name; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_exchange_partitions(std::vector & _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("exchange_partitions") != 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_exchange_partitions_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; + } + if (result.__isset.o4) { + sentry.commit(); + throw result.o4; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "exchange_partitions 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::get_partition_with_auth(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const std::string& user_name, const std::vector & group_names) +{ + int32_t seqid = send_get_partition_with_auth(db_name, tbl_name, part_vals, user_name, group_names); + recv_get_partition_with_auth(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_partition_with_auth(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const std::string& user_name, const std::vector & group_names) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_partition_with_auth", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_partition_with_auth_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.part_vals = &part_vals; + args.user_name = &user_name; + args.group_names = &group_names; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_partition_with_auth(Partition& _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_partition_with_auth") != 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_partition_with_auth_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partition_with_auth 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::get_partition_by_name(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name) +{ + int32_t seqid = send_get_partition_by_name(db_name, tbl_name, part_name); + recv_get_partition_by_name(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_partition_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& part_name) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_partition_by_name", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_partition_by_name_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.part_name = &part_name; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_partition_by_name(Partition& _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_partition_by_name") != 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_partition_by_name_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partition_by_name 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::get_partitions(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts) +{ + int32_t seqid = send_get_partitions(db_name, tbl_name, max_parts); + recv_get_partitions(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_partitions(const std::string& db_name, const std::string& tbl_name, const int16_t max_parts) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_partitions", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_partitions_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.max_parts = &max_parts; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_partitions(std::vector & _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_partitions") != 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_partitions_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partitions 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::get_partitions_with_auth(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts, const std::string& user_name, const std::vector & group_names) +{ + int32_t seqid = send_get_partitions_with_auth(db_name, tbl_name, max_parts, user_name, group_names); + recv_get_partitions_with_auth(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_partitions_with_auth(const std::string& db_name, const std::string& tbl_name, const int16_t max_parts, const std::string& user_name, const std::vector & group_names) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_partitions_with_auth", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_partitions_with_auth_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.max_parts = &max_parts; + args.user_name = &user_name; + args.group_names = &group_names; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_partitions_with_auth(std::vector & _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_partitions_with_auth") != 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_partitions_with_auth_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partitions_with_auth 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::get_partitions_pspec(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int32_t max_parts) +{ + int32_t seqid = send_get_partitions_pspec(db_name, tbl_name, max_parts); + recv_get_partitions_pspec(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_partitions_pspec(const std::string& db_name, const std::string& tbl_name, const int32_t max_parts) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_partitions_pspec", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_partitions_pspec_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.max_parts = &max_parts; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_partitions_pspec(std::vector & _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_partitions_pspec") != 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_partitions_pspec_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partitions_pspec 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::get_partition_names(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts) +{ + int32_t seqid = send_get_partition_names(db_name, tbl_name, max_parts); + recv_get_partition_names(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_partition_names(const std::string& db_name, const std::string& tbl_name, const int16_t max_parts) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_partition_names", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_partition_names_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.max_parts = &max_parts; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_partition_names(std::vector & _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_partition_names") != 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_partition_names_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.o2) { + sentry.commit(); + throw result.o2; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partition_names 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::get_partitions_ps(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts) +{ + int32_t seqid = send_get_partitions_ps(db_name, tbl_name, part_vals, max_parts); + recv_get_partitions_ps(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_partitions_ps(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_partitions_ps", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_partitions_ps_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.part_vals = &part_vals; + args.max_parts = &max_parts; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_partitions_ps(std::vector & _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_partitions_ps") != 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_partitions_ps_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partitions_ps 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::get_partitions_ps_with_auth(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts, const std::string& user_name, const std::vector & group_names) +{ + int32_t seqid = send_get_partitions_ps_with_auth(db_name, tbl_name, part_vals, max_parts, user_name, group_names); + recv_get_partitions_ps_with_auth(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_partitions_ps_with_auth(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts, const std::string& user_name, const std::vector & group_names) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_partitions_ps_with_auth", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_partitions_ps_with_auth_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.part_vals = &part_vals; + args.max_parts = &max_parts; + args.user_name = &user_name; + args.group_names = &group_names; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_partitions_ps_with_auth(std::vector & _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_partitions_ps_with_auth") != 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_partitions_ps_with_auth_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partitions_ps_with_auth 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::get_partition_names_ps(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts) +{ + int32_t seqid = send_get_partition_names_ps(db_name, tbl_name, part_vals, max_parts); + recv_get_partition_names_ps(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_partition_names_ps(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_partition_names_ps", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_partition_names_ps_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.part_vals = &part_vals; + args.max_parts = &max_parts; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_partition_names_ps(std::vector & _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_partition_names_ps") != 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_partition_names_ps_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partition_names_ps 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::get_partitions_by_filter(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::string& filter, const int16_t max_parts) +{ + int32_t seqid = send_get_partitions_by_filter(db_name, tbl_name, filter, max_parts); + recv_get_partitions_by_filter(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_partitions_by_filter(const std::string& db_name, const std::string& tbl_name, const std::string& filter, const int16_t max_parts) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_partitions_by_filter", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_partitions_by_filter_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.filter = &filter; + args.max_parts = &max_parts; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_partitions_by_filter(std::vector & _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_partitions_by_filter") != 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_partitions_by_filter_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partitions_by_filter 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::get_part_specs_by_filter(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::string& filter, const int32_t max_parts) +{ + int32_t seqid = send_get_part_specs_by_filter(db_name, tbl_name, filter, max_parts); + recv_get_part_specs_by_filter(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_part_specs_by_filter(const std::string& db_name, const std::string& tbl_name, const std::string& filter, const int32_t max_parts) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_part_specs_by_filter", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_part_specs_by_filter_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.filter = &filter; + args.max_parts = &max_parts; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_part_specs_by_filter(std::vector & _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_part_specs_by_filter") != 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_part_specs_by_filter_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_part_specs_by_filter 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::get_partitions_by_expr(PartitionsByExprResult& _return, const PartitionsByExprRequest& req) +{ + int32_t seqid = send_get_partitions_by_expr(req); + recv_get_partitions_by_expr(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_partitions_by_expr(const PartitionsByExprRequest& req) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_partitions_by_expr", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_partitions_by_expr_pargs args; + args.req = &req; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_partitions_by_expr(PartitionsByExprResult& _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_partitions_by_expr") != 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_partitions_by_expr_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partitions_by_expr 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::get_partitions_by_names(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & names) +{ + int32_t seqid = send_get_partitions_by_names(db_name, tbl_name, names); + recv_get_partitions_by_names(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_partitions_by_names(const std::string& db_name, const std::string& tbl_name, const std::vector & names) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_partitions_by_names", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_partitions_by_names_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.names = &names; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_partitions_by_names(std::vector & _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_partitions_by_names") != 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_partitions_by_names_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partitions_by_names 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::alter_partition(const std::string& db_name, const std::string& tbl_name, const Partition& new_part) +{ + int32_t seqid = send_alter_partition(db_name, tbl_name, new_part); + recv_alter_partition(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_alter_partition(const std::string& db_name, const std::string& tbl_name, const Partition& new_part) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("alter_partition", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_alter_partition_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.new_part = &new_part; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_alter_partition(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("alter_partition") != 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_alter_partition_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::alter_partitions(const std::string& db_name, const std::string& tbl_name, const std::vector & new_parts) +{ + int32_t seqid = send_alter_partitions(db_name, tbl_name, new_parts); + recv_alter_partitions(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_alter_partitions(const std::string& db_name, const std::string& tbl_name, const std::vector & new_parts) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("alter_partitions", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_alter_partitions_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.new_parts = &new_parts; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_alter_partitions(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("alter_partitions") != 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_alter_partitions_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::alter_partition_with_environment_context(const std::string& db_name, const std::string& tbl_name, const Partition& new_part, const EnvironmentContext& environment_context) +{ + int32_t seqid = send_alter_partition_with_environment_context(db_name, tbl_name, new_part, environment_context); + recv_alter_partition_with_environment_context(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_alter_partition_with_environment_context(const std::string& db_name, const std::string& tbl_name, const Partition& new_part, const EnvironmentContext& environment_context) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("alter_partition_with_environment_context", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_alter_partition_with_environment_context_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.new_part = &new_part; + args.environment_context = &environment_context; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_alter_partition_with_environment_context(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("alter_partition_with_environment_context") != 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_alter_partition_with_environment_context_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::rename_partition(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const Partition& new_part) +{ + int32_t seqid = send_rename_partition(db_name, tbl_name, part_vals, new_part); + recv_rename_partition(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_rename_partition(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const Partition& new_part) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("rename_partition", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_rename_partition_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.part_vals = &part_vals; + args.new_part = &new_part; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_rename_partition(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("rename_partition") != 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_rename_partition_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +bool ThriftHiveMetastoreConcurrentClient::partition_name_has_valid_characters(const std::vector & part_vals, const bool throw_exception) +{ + int32_t seqid = send_partition_name_has_valid_characters(part_vals, throw_exception); + return recv_partition_name_has_valid_characters(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_partition_name_has_valid_characters(const std::vector & part_vals, const bool throw_exception) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("partition_name_has_valid_characters", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_partition_name_has_valid_characters_pargs args; + args.part_vals = &part_vals; + args.throw_exception = &throw_exception; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +bool ThriftHiveMetastoreConcurrentClient::recv_partition_name_has_valid_characters(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("partition_name_has_valid_characters") != 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); + } + bool _return; + ThriftHiveMetastore_partition_name_has_valid_characters_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _return; + } + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "partition_name_has_valid_characters 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::get_config_value(std::string& _return, const std::string& name, const std::string& defaultValue) +{ + int32_t seqid = send_get_config_value(name, defaultValue); + recv_get_config_value(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_config_value(const std::string& name, const std::string& defaultValue) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_config_value", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_config_value_pargs args; + args.name = &name; + args.defaultValue = &defaultValue; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_config_value(std::string& _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_config_value") != 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_config_value_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_config_value 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::partition_name_to_vals(std::vector & _return, const std::string& part_name) +{ + int32_t seqid = send_partition_name_to_vals(part_name); + recv_partition_name_to_vals(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_partition_name_to_vals(const std::string& part_name) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("partition_name_to_vals", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_partition_name_to_vals_pargs args; + args.part_name = &part_name; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_partition_name_to_vals(std::vector & _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("partition_name_to_vals") != 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_partition_name_to_vals_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "partition_name_to_vals 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::partition_name_to_spec(std::map & _return, const std::string& part_name) +{ + int32_t seqid = send_partition_name_to_spec(part_name); + recv_partition_name_to_spec(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_partition_name_to_spec(const std::string& part_name) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("partition_name_to_spec", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_partition_name_to_spec_pargs args; + args.part_name = &part_name; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_partition_name_to_spec(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("partition_name_to_spec") != 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_partition_name_to_spec_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "partition_name_to_spec 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::markPartitionForEvent(const std::string& db_name, const std::string& tbl_name, const std::map & part_vals, const PartitionEventType::type eventType) +{ + int32_t seqid = send_markPartitionForEvent(db_name, tbl_name, part_vals, eventType); + recv_markPartitionForEvent(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_markPartitionForEvent(const std::string& db_name, const std::string& tbl_name, const std::map & part_vals, const PartitionEventType::type eventType) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("markPartitionForEvent", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_markPartitionForEvent_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.part_vals = &part_vals; + args.eventType = &eventType; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_markPartitionForEvent(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("markPartitionForEvent") != 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_markPartitionForEvent_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + 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; + } + if (result.__isset.o4) { + sentry.commit(); + throw result.o4; + } + if (result.__isset.o5) { + sentry.commit(); + throw result.o5; + } + if (result.__isset.o6) { + sentry.commit(); + throw result.o6; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +bool ThriftHiveMetastoreConcurrentClient::isPartitionMarkedForEvent(const std::string& db_name, const std::string& tbl_name, const std::map & part_vals, const PartitionEventType::type eventType) +{ + int32_t seqid = send_isPartitionMarkedForEvent(db_name, tbl_name, part_vals, eventType); + return recv_isPartitionMarkedForEvent(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_isPartitionMarkedForEvent(const std::string& db_name, const std::string& tbl_name, const std::map & part_vals, const PartitionEventType::type eventType) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("isPartitionMarkedForEvent", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_isPartitionMarkedForEvent_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.part_vals = &part_vals; + args.eventType = &eventType; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +bool ThriftHiveMetastoreConcurrentClient::recv_isPartitionMarkedForEvent(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("isPartitionMarkedForEvent") != 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); + } + bool _return; + ThriftHiveMetastore_isPartitionMarkedForEvent_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _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; + } + if (result.__isset.o4) { + sentry.commit(); + throw result.o4; + } + if (result.__isset.o5) { + sentry.commit(); + throw result.o5; + } + if (result.__isset.o6) { + sentry.commit(); + throw result.o6; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "isPartitionMarkedForEvent 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::add_index(Index& _return, const Index& new_index, const Table& index_table) +{ + int32_t seqid = send_add_index(new_index, index_table); + recv_add_index(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_add_index(const Index& new_index, const Table& index_table) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("add_index", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_add_index_pargs args; + args.new_index = &new_index; + args.index_table = &index_table; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_add_index(Index& _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("add_index") != 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_add_index_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, "add_index 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::alter_index(const std::string& dbname, const std::string& base_tbl_name, const std::string& idx_name, const Index& new_idx) +{ + int32_t seqid = send_alter_index(dbname, base_tbl_name, idx_name, new_idx); + recv_alter_index(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_alter_index(const std::string& dbname, const std::string& base_tbl_name, const std::string& idx_name, const Index& new_idx) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("alter_index", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_alter_index_pargs args; + args.dbname = &dbname; + args.base_tbl_name = &base_tbl_name; + args.idx_name = &idx_name; + args.new_idx = &new_idx; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_alter_index(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("alter_index") != 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_alter_index_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +bool ThriftHiveMetastoreConcurrentClient::drop_index_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& index_name, const bool deleteData) +{ + int32_t seqid = send_drop_index_by_name(db_name, tbl_name, index_name, deleteData); + return recv_drop_index_by_name(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_drop_index_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& index_name, const bool deleteData) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("drop_index_by_name", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_drop_index_by_name_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.index_name = &index_name; + args.deleteData = &deleteData; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +bool ThriftHiveMetastoreConcurrentClient::recv_drop_index_by_name(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("drop_index_by_name") != 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); + } + bool _return; + ThriftHiveMetastore_drop_index_by_name_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _return; + } + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "drop_index_by_name 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::get_index_by_name(Index& _return, const std::string& db_name, const std::string& tbl_name, const std::string& index_name) +{ + int32_t seqid = send_get_index_by_name(db_name, tbl_name, index_name); + recv_get_index_by_name(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_index_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& index_name) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_index_by_name", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_index_by_name_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.index_name = &index_name; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_index_by_name(Index& _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_index_by_name") != 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_index_by_name_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_index_by_name 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::get_indexes(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_indexes) +{ + int32_t seqid = send_get_indexes(db_name, tbl_name, max_indexes); + recv_get_indexes(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_indexes(const std::string& db_name, const std::string& tbl_name, const int16_t max_indexes) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_indexes", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_indexes_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.max_indexes = &max_indexes; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_indexes(std::vector & _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_indexes") != 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_indexes_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_indexes 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::get_index_names(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_indexes) +{ + int32_t seqid = send_get_index_names(db_name, tbl_name, max_indexes); + recv_get_index_names(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_index_names(const std::string& db_name, const std::string& tbl_name, const int16_t max_indexes) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_index_names", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_index_names_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.max_indexes = &max_indexes; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_index_names(std::vector & _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_index_names") != 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_index_names_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.o2) { + sentry.commit(); + throw result.o2; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_index_names 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) +} + +bool ThriftHiveMetastoreConcurrentClient::update_table_column_statistics(const ColumnStatistics& stats_obj) +{ + int32_t seqid = send_update_table_column_statistics(stats_obj); + return recv_update_table_column_statistics(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_update_table_column_statistics(const ColumnStatistics& stats_obj) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("update_table_column_statistics", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_update_table_column_statistics_pargs args; + args.stats_obj = &stats_obj; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +bool ThriftHiveMetastoreConcurrentClient::recv_update_table_column_statistics(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("update_table_column_statistics") != 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); + } + bool _return; + ThriftHiveMetastore_update_table_column_statistics_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _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; + } + if (result.__isset.o4) { + sentry.commit(); + throw result.o4; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "update_table_column_statistics 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) +} + +bool ThriftHiveMetastoreConcurrentClient::update_partition_column_statistics(const ColumnStatistics& stats_obj) +{ + int32_t seqid = send_update_partition_column_statistics(stats_obj); + return recv_update_partition_column_statistics(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_update_partition_column_statistics(const ColumnStatistics& stats_obj) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("update_partition_column_statistics", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_update_partition_column_statistics_pargs args; + args.stats_obj = &stats_obj; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +bool ThriftHiveMetastoreConcurrentClient::recv_update_partition_column_statistics(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("update_partition_column_statistics") != 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); + } + bool _return; + ThriftHiveMetastore_update_partition_column_statistics_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _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; + } + if (result.__isset.o4) { + sentry.commit(); + throw result.o4; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "update_partition_column_statistics 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::get_table_column_statistics(ColumnStatistics& _return, const std::string& db_name, const std::string& tbl_name, const std::string& col_name) +{ + int32_t seqid = send_get_table_column_statistics(db_name, tbl_name, col_name); + recv_get_table_column_statistics(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_table_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& col_name) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_table_column_statistics", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_table_column_statistics_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.col_name = &col_name; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_table_column_statistics(ColumnStatistics& _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_table_column_statistics") != 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_table_column_statistics_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; + } + if (result.__isset.o4) { + sentry.commit(); + throw result.o4; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_table_column_statistics 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::get_partition_column_statistics(ColumnStatistics& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const std::string& col_name) +{ + int32_t seqid = send_get_partition_column_statistics(db_name, tbl_name, part_name, col_name); + recv_get_partition_column_statistics(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_partition_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const std::string& col_name) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_partition_column_statistics", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_partition_column_statistics_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.part_name = &part_name; + args.col_name = &col_name; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_partition_column_statistics(ColumnStatistics& _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_partition_column_statistics") != 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_partition_column_statistics_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; + } + if (result.__isset.o4) { + sentry.commit(); + throw result.o4; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partition_column_statistics 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::get_table_statistics_req(TableStatsResult& _return, const TableStatsRequest& request) +{ + int32_t seqid = send_get_table_statistics_req(request); + recv_get_table_statistics_req(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_table_statistics_req(const TableStatsRequest& request) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_table_statistics_req", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_table_statistics_req_pargs args; + args.request = &request; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_table_statistics_req(TableStatsResult& _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_table_statistics_req") != 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_table_statistics_req_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_table_statistics_req 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::get_partitions_statistics_req(PartitionsStatsResult& _return, const PartitionsStatsRequest& request) +{ + int32_t seqid = send_get_partitions_statistics_req(request); + recv_get_partitions_statistics_req(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_partitions_statistics_req(const PartitionsStatsRequest& request) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_partitions_statistics_req", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_partitions_statistics_req_pargs args; + args.request = &request; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_partitions_statistics_req(PartitionsStatsResult& _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_partitions_statistics_req") != 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_partitions_statistics_req_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_partitions_statistics_req 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::get_aggr_stats_for(AggrStats& _return, const PartitionsStatsRequest& request) +{ + int32_t seqid = send_get_aggr_stats_for(request); + recv_get_aggr_stats_for(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_aggr_stats_for(const PartitionsStatsRequest& request) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_aggr_stats_for", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_aggr_stats_for_pargs args; + args.request = &request; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_aggr_stats_for(AggrStats& _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_aggr_stats_for") != 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_aggr_stats_for_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_aggr_stats_for 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) +} + +bool ThriftHiveMetastoreConcurrentClient::set_aggr_stats_for(const SetPartitionsStatsRequest& request) +{ + int32_t seqid = send_set_aggr_stats_for(request); + return recv_set_aggr_stats_for(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_set_aggr_stats_for(const SetPartitionsStatsRequest& request) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("set_aggr_stats_for", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_set_aggr_stats_for_pargs args; + args.request = &request; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +bool ThriftHiveMetastoreConcurrentClient::recv_set_aggr_stats_for(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("set_aggr_stats_for") != 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); + } + bool _return; + ThriftHiveMetastore_set_aggr_stats_for_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _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; + } + if (result.__isset.o4) { + sentry.commit(); + throw result.o4; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "set_aggr_stats_for 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) +} + +bool ThriftHiveMetastoreConcurrentClient::delete_partition_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const std::string& col_name) +{ + int32_t seqid = send_delete_partition_column_statistics(db_name, tbl_name, part_name, col_name); + return recv_delete_partition_column_statistics(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_delete_partition_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const std::string& col_name) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("delete_partition_column_statistics", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_delete_partition_column_statistics_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.part_name = &part_name; + args.col_name = &col_name; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +bool ThriftHiveMetastoreConcurrentClient::recv_delete_partition_column_statistics(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("delete_partition_column_statistics") != 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); + } + bool _return; + ThriftHiveMetastore_delete_partition_column_statistics_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _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; + } + if (result.__isset.o4) { + sentry.commit(); + throw result.o4; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "delete_partition_column_statistics 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) +} + +bool ThriftHiveMetastoreConcurrentClient::delete_table_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& col_name) +{ + int32_t seqid = send_delete_table_column_statistics(db_name, tbl_name, col_name); + return recv_delete_table_column_statistics(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_delete_table_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& col_name) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("delete_table_column_statistics", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_delete_table_column_statistics_pargs args; + args.db_name = &db_name; + args.tbl_name = &tbl_name; + args.col_name = &col_name; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +bool ThriftHiveMetastoreConcurrentClient::recv_delete_table_column_statistics(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("delete_table_column_statistics") != 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); + } + bool _return; + ThriftHiveMetastore_delete_table_column_statistics_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _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; + } + if (result.__isset.o4) { + sentry.commit(); + throw result.o4; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "delete_table_column_statistics 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::create_function(const Function& func) +{ + int32_t seqid = send_create_function(func); + recv_create_function(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_create_function(const Function& func) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("create_function", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_create_function_pargs args; + args.func = &func; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_create_function(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("create_function") != 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_create_function_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + 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; + } + if (result.__isset.o4) { + sentry.commit(); + throw result.o4; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::drop_function(const std::string& dbName, const std::string& funcName) +{ + int32_t seqid = send_drop_function(dbName, funcName); + recv_drop_function(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_drop_function(const std::string& dbName, const std::string& funcName) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("drop_function", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_drop_function_pargs args; + args.dbName = &dbName; + args.funcName = &funcName; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_drop_function(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("drop_function") != 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_drop_function_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o3) { + sentry.commit(); + throw result.o3; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::alter_function(const std::string& dbName, const std::string& funcName, const Function& newFunc) +{ + int32_t seqid = send_alter_function(dbName, funcName, newFunc); + recv_alter_function(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_alter_function(const std::string& dbName, const std::string& funcName, const Function& newFunc) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("alter_function", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_alter_function_pargs args; + args.dbName = &dbName; + args.funcName = &funcName; + args.newFunc = &newFunc; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_alter_function(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("alter_function") != 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_alter_function_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::get_functions(std::vector & _return, const std::string& dbName, const std::string& pattern) +{ + int32_t seqid = send_get_functions(dbName, pattern); + recv_get_functions(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_functions(const std::string& dbName, const std::string& pattern) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_functions", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_functions_pargs args; + args.dbName = &dbName; + args.pattern = &pattern; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_functions(std::vector & _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_functions") != 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_functions_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_functions 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::get_function(Function& _return, const std::string& dbName, const std::string& funcName) +{ + int32_t seqid = send_get_function(dbName, funcName); + recv_get_function(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_function(const std::string& dbName, const std::string& funcName) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_function", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_function_pargs args; + args.dbName = &dbName; + args.funcName = &funcName; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_function(Function& _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_function") != 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_function_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_function 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::get_all_functions(GetAllFunctionsResponse& _return) +{ + int32_t seqid = send_get_all_functions(); + recv_get_all_functions(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_all_functions() +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_all_functions", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_all_functions_pargs args; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_all_functions(GetAllFunctionsResponse& _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_all_functions") != 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_all_functions_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_all_functions 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) +} + +bool ThriftHiveMetastoreConcurrentClient::create_role(const Role& role) +{ + int32_t seqid = send_create_role(role); + return recv_create_role(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_create_role(const Role& role) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("create_role", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_create_role_pargs args; + args.role = &role; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +bool ThriftHiveMetastoreConcurrentClient::recv_create_role(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("create_role") != 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); + } + bool _return; + ThriftHiveMetastore_create_role_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _return; + } + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "create_role 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) +} + +bool ThriftHiveMetastoreConcurrentClient::drop_role(const std::string& role_name) +{ + int32_t seqid = send_drop_role(role_name); + return recv_drop_role(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_drop_role(const std::string& role_name) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("drop_role", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_drop_role_pargs args; + args.role_name = &role_name; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +bool ThriftHiveMetastoreConcurrentClient::recv_drop_role(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("drop_role") != 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); + } + bool _return; + ThriftHiveMetastore_drop_role_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _return; + } + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "drop_role 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::get_role_names(std::vector & _return) +{ + int32_t seqid = send_get_role_names(); + recv_get_role_names(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_role_names() +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_role_names", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_role_names_pargs args; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_role_names(std::vector & _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_role_names") != 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_role_names_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_role_names 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) +} + +bool ThriftHiveMetastoreConcurrentClient::grant_role(const std::string& role_name, const std::string& principal_name, const PrincipalType::type principal_type, const std::string& grantor, const PrincipalType::type grantorType, const bool grant_option) +{ + int32_t seqid = send_grant_role(role_name, principal_name, principal_type, grantor, grantorType, grant_option); + return recv_grant_role(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_grant_role(const std::string& role_name, const std::string& principal_name, const PrincipalType::type principal_type, const std::string& grantor, const PrincipalType::type grantorType, const bool grant_option) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("grant_role", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_grant_role_pargs args; + args.role_name = &role_name; + args.principal_name = &principal_name; + args.principal_type = &principal_type; + args.grantor = &grantor; + args.grantorType = &grantorType; + args.grant_option = &grant_option; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +bool ThriftHiveMetastoreConcurrentClient::recv_grant_role(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("grant_role") != 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); + } + bool _return; + ThriftHiveMetastore_grant_role_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _return; + } + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "grant_role 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) +} + +bool ThriftHiveMetastoreConcurrentClient::revoke_role(const std::string& role_name, const std::string& principal_name, const PrincipalType::type principal_type) +{ + int32_t seqid = send_revoke_role(role_name, principal_name, principal_type); + return recv_revoke_role(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_revoke_role(const std::string& role_name, const std::string& principal_name, const PrincipalType::type principal_type) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("revoke_role", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_revoke_role_pargs args; + args.role_name = &role_name; + args.principal_name = &principal_name; + args.principal_type = &principal_type; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +bool ThriftHiveMetastoreConcurrentClient::recv_revoke_role(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("revoke_role") != 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); + } + bool _return; + ThriftHiveMetastore_revoke_role_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _return; + } + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "revoke_role 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::list_roles(std::vector & _return, const std::string& principal_name, const PrincipalType::type principal_type) +{ + int32_t seqid = send_list_roles(principal_name, principal_type); + recv_list_roles(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_list_roles(const std::string& principal_name, const PrincipalType::type principal_type) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("list_roles", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_list_roles_pargs args; + args.principal_name = &principal_name; + args.principal_type = &principal_type; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_list_roles(std::vector & _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("list_roles") != 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_list_roles_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "list_roles 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::grant_revoke_role(GrantRevokeRoleResponse& _return, const GrantRevokeRoleRequest& request) +{ + int32_t seqid = send_grant_revoke_role(request); + recv_grant_revoke_role(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_grant_revoke_role(const GrantRevokeRoleRequest& request) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("grant_revoke_role", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_grant_revoke_role_pargs args; + args.request = &request; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_grant_revoke_role(GrantRevokeRoleResponse& _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("grant_revoke_role") != 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_grant_revoke_role_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "grant_revoke_role 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::get_principals_in_role(GetPrincipalsInRoleResponse& _return, const GetPrincipalsInRoleRequest& request) +{ + int32_t seqid = send_get_principals_in_role(request); + recv_get_principals_in_role(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_principals_in_role(const GetPrincipalsInRoleRequest& request) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_principals_in_role", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_principals_in_role_pargs args; + args.request = &request; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_principals_in_role(GetPrincipalsInRoleResponse& _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_principals_in_role") != 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_principals_in_role_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_principals_in_role 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::get_role_grants_for_principal(GetRoleGrantsForPrincipalResponse& _return, const GetRoleGrantsForPrincipalRequest& request) +{ + int32_t seqid = send_get_role_grants_for_principal(request); + recv_get_role_grants_for_principal(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_role_grants_for_principal(const GetRoleGrantsForPrincipalRequest& request) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_role_grants_for_principal", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_role_grants_for_principal_pargs args; + args.request = &request; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_role_grants_for_principal(GetRoleGrantsForPrincipalResponse& _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_role_grants_for_principal") != 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_role_grants_for_principal_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_role_grants_for_principal 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::get_privilege_set(PrincipalPrivilegeSet& _return, const HiveObjectRef& hiveObject, const std::string& user_name, const std::vector & group_names) +{ + int32_t seqid = send_get_privilege_set(hiveObject, user_name, group_names); + recv_get_privilege_set(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_privilege_set(const HiveObjectRef& hiveObject, const std::string& user_name, const std::vector & group_names) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_privilege_set", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_privilege_set_pargs args; + args.hiveObject = &hiveObject; + args.user_name = &user_name; + args.group_names = &group_names; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_privilege_set(PrincipalPrivilegeSet& _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_privilege_set") != 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_privilege_set_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_privilege_set 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::list_privileges(std::vector & _return, const std::string& principal_name, const PrincipalType::type principal_type, const HiveObjectRef& hiveObject) +{ + int32_t seqid = send_list_privileges(principal_name, principal_type, hiveObject); + recv_list_privileges(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_list_privileges(const std::string& principal_name, const PrincipalType::type principal_type, const HiveObjectRef& hiveObject) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("list_privileges", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_list_privileges_pargs args; + args.principal_name = &principal_name; + args.principal_type = &principal_type; + args.hiveObject = &hiveObject; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_list_privileges(std::vector & _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("list_privileges") != 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_list_privileges_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "list_privileges 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) +} + +bool ThriftHiveMetastoreConcurrentClient::grant_privileges(const PrivilegeBag& privileges) +{ + int32_t seqid = send_grant_privileges(privileges); + return recv_grant_privileges(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_grant_privileges(const PrivilegeBag& privileges) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("grant_privileges", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_grant_privileges_pargs args; + args.privileges = &privileges; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +bool ThriftHiveMetastoreConcurrentClient::recv_grant_privileges(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("grant_privileges") != 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); + } + bool _return; + ThriftHiveMetastore_grant_privileges_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _return; + } + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "grant_privileges 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) +} + +bool ThriftHiveMetastoreConcurrentClient::revoke_privileges(const PrivilegeBag& privileges) +{ + int32_t seqid = send_revoke_privileges(privileges); + return recv_revoke_privileges(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_revoke_privileges(const PrivilegeBag& privileges) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("revoke_privileges", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_revoke_privileges_pargs args; + args.privileges = &privileges; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +bool ThriftHiveMetastoreConcurrentClient::recv_revoke_privileges(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("revoke_privileges") != 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); + } + bool _return; + ThriftHiveMetastore_revoke_privileges_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _return; + } + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "revoke_privileges 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::grant_revoke_privileges(GrantRevokePrivilegeResponse& _return, const GrantRevokePrivilegeRequest& request) +{ + int32_t seqid = send_grant_revoke_privileges(request); + recv_grant_revoke_privileges(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_grant_revoke_privileges(const GrantRevokePrivilegeRequest& request) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("grant_revoke_privileges", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_grant_revoke_privileges_pargs args; + args.request = &request; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_grant_revoke_privileges(GrantRevokePrivilegeResponse& _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("grant_revoke_privileges") != 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_grant_revoke_privileges_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "grant_revoke_privileges 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::set_ugi(std::vector & _return, const std::string& user_name, const std::vector & group_names) +{ + int32_t seqid = send_set_ugi(user_name, group_names); + recv_set_ugi(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_set_ugi(const std::string& user_name, const std::vector & group_names) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("set_ugi", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_set_ugi_pargs args; + args.user_name = &user_name; + args.group_names = &group_names; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_set_ugi(std::vector & _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("set_ugi") != 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_set_ugi_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "set_ugi 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::get_delegation_token(std::string& _return, const std::string& token_owner, const std::string& renewer_kerberos_principal_name) +{ + int32_t seqid = send_get_delegation_token(token_owner, renewer_kerberos_principal_name); + recv_get_delegation_token(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_delegation_token(const std::string& token_owner, const std::string& renewer_kerberos_principal_name) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_delegation_token", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_delegation_token_pargs args; + args.token_owner = &token_owner; + args.renewer_kerberos_principal_name = &renewer_kerberos_principal_name; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_delegation_token(std::string& _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_delegation_token") != 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_delegation_token_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_delegation_token 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) +} + +int64_t ThriftHiveMetastoreConcurrentClient::renew_delegation_token(const std::string& token_str_form) +{ + int32_t seqid = send_renew_delegation_token(token_str_form); + return recv_renew_delegation_token(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_renew_delegation_token(const std::string& token_str_form) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("renew_delegation_token", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_renew_delegation_token_pargs args; + args.token_str_form = &token_str_form; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +int64_t ThriftHiveMetastoreConcurrentClient::recv_renew_delegation_token(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("renew_delegation_token") != 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); + } + int64_t _return; + ThriftHiveMetastore_renew_delegation_token_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + sentry.commit(); + return _return; + } + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "renew_delegation_token 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::cancel_delegation_token(const std::string& token_str_form) +{ + int32_t seqid = send_cancel_delegation_token(token_str_form); + recv_cancel_delegation_token(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_cancel_delegation_token(const std::string& token_str_form) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("cancel_delegation_token", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_cancel_delegation_token_pargs args; + args.token_str_form = &token_str_form; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_cancel_delegation_token(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("cancel_delegation_token") != 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_cancel_delegation_token_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::get_open_txns(GetOpenTxnsResponse& _return) +{ + int32_t seqid = send_get_open_txns(); + recv_get_open_txns(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_open_txns() +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_open_txns", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_open_txns_pargs args; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_open_txns(GetOpenTxnsResponse& _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_open_txns") != 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_open_txns_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_open_txns 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::get_open_txns_info(GetOpenTxnsInfoResponse& _return) +{ + int32_t seqid = send_get_open_txns_info(); + recv_get_open_txns_info(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_open_txns_info() +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_open_txns_info", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_open_txns_info_pargs args; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_open_txns_info(GetOpenTxnsInfoResponse& _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_open_txns_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_open_txns_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_open_txns_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::open_txns(OpenTxnsResponse& _return, const OpenTxnRequest& rqst) +{ + int32_t seqid = send_open_txns(rqst); + recv_open_txns(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_open_txns(const OpenTxnRequest& rqst) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("open_txns", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_open_txns_pargs args; + args.rqst = &rqst; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_open_txns(OpenTxnsResponse& _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("open_txns") != 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_open_txns_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "open_txns 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::abort_txn(const AbortTxnRequest& rqst) +{ + int32_t seqid = send_abort_txn(rqst); + recv_abort_txn(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_abort_txn(const AbortTxnRequest& rqst) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("abort_txn", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_abort_txn_pargs args; + args.rqst = &rqst; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_abort_txn(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("abort_txn") != 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_abort_txn_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::commit_txn(const CommitTxnRequest& rqst) +{ + int32_t seqid = send_commit_txn(rqst); + recv_commit_txn(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_commit_txn(const CommitTxnRequest& rqst) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("commit_txn", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_commit_txn_pargs args; + args.rqst = &rqst; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_commit_txn(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("commit_txn") != 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_commit_txn_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::lock(LockResponse& _return, const LockRequest& rqst) +{ + int32_t seqid = send_lock(rqst); + recv_lock(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_lock(const LockRequest& rqst) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("lock", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_lock_pargs args; + args.rqst = &rqst; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_lock(LockResponse& _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("lock") != 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_lock_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "lock 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::check_lock(LockResponse& _return, const CheckLockRequest& rqst) +{ + int32_t seqid = send_check_lock(rqst); + recv_check_lock(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_check_lock(const CheckLockRequest& rqst) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("check_lock", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_check_lock_pargs args; + args.rqst = &rqst; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_check_lock(LockResponse& _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("check_lock") != 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_check_lock_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, "check_lock 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::unlock(const UnlockRequest& rqst) +{ + int32_t seqid = send_unlock(rqst); + recv_unlock(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_unlock(const UnlockRequest& rqst) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("unlock", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_unlock_pargs args; + args.rqst = &rqst; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_unlock(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("unlock") != 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_unlock_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::show_locks(ShowLocksResponse& _return, const ShowLocksRequest& rqst) +{ + int32_t seqid = send_show_locks(rqst); + recv_show_locks(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_show_locks(const ShowLocksRequest& rqst) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("show_locks", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_show_locks_pargs args; + args.rqst = &rqst; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_show_locks(ShowLocksResponse& _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("show_locks") != 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_show_locks_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "show_locks 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::heartbeat(const HeartbeatRequest& ids) +{ + int32_t seqid = send_heartbeat(ids); + recv_heartbeat(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_heartbeat(const HeartbeatRequest& ids) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("heartbeat", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_heartbeat_pargs args; + args.ids = &ids; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_heartbeat(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("heartbeat") != 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_heartbeat_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + 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; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::heartbeat_txn_range(HeartbeatTxnRangeResponse& _return, const HeartbeatTxnRangeRequest& txns) +{ + int32_t seqid = send_heartbeat_txn_range(txns); + recv_heartbeat_txn_range(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_heartbeat_txn_range(const HeartbeatTxnRangeRequest& txns) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("heartbeat_txn_range", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_heartbeat_txn_range_pargs args; + args.txns = &txns; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_heartbeat_txn_range(HeartbeatTxnRangeResponse& _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("heartbeat_txn_range") != 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_heartbeat_txn_range_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "heartbeat_txn_range 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::compact(const CompactionRequest& rqst) +{ + int32_t seqid = send_compact(rqst); + recv_compact(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_compact(const CompactionRequest& rqst) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("compact", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_compact_pargs args; + args.rqst = &rqst; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_compact(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("compact") != 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_compact_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::show_compact(ShowCompactResponse& _return, const ShowCompactRequest& rqst) +{ + int32_t seqid = send_show_compact(rqst); + recv_show_compact(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_show_compact(const ShowCompactRequest& rqst) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("show_compact", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_show_compact_pargs args; + args.rqst = &rqst; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_show_compact(ShowCompactResponse& _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("show_compact") != 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_show_compact_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "show_compact 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::add_dynamic_partitions(const AddDynamicPartitions& rqst) +{ + int32_t seqid = send_add_dynamic_partitions(rqst); + recv_add_dynamic_partitions(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_add_dynamic_partitions(const AddDynamicPartitions& rqst) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("add_dynamic_partitions", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_add_dynamic_partitions_pargs args; + args.rqst = &rqst; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_add_dynamic_partitions(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("add_dynamic_partitions") != 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_add_dynamic_partitions_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::get_next_notification(NotificationEventResponse& _return, const NotificationEventRequest& rqst) +{ + int32_t seqid = send_get_next_notification(rqst); + recv_get_next_notification(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_next_notification(const NotificationEventRequest& rqst) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_next_notification", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_next_notification_pargs args; + args.rqst = &rqst; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_next_notification(NotificationEventResponse& _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_next_notification") != 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_next_notification_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_next_notification 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::get_current_notificationEventId(CurrentNotificationEventId& _return) +{ + int32_t seqid = send_get_current_notificationEventId(); + recv_get_current_notificationEventId(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_current_notificationEventId() +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_current_notificationEventId", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_current_notificationEventId_pargs args; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_current_notificationEventId(CurrentNotificationEventId& _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_current_notificationEventId") != 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_current_notificationEventId_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_current_notificationEventId 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::fire_listener_event(FireEventResponse& _return, const FireEventRequest& rqst) +{ + int32_t seqid = send_fire_listener_event(rqst); + recv_fire_listener_event(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_fire_listener_event(const FireEventRequest& rqst) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("fire_listener_event", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_fire_listener_event_pargs args; + args.rqst = &rqst; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_fire_listener_event(FireEventResponse& _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("fire_listener_event") != 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_fire_listener_event_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "fire_listener_event 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) +} + }}} // namespace diff --git metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h index ed3ce0f..a7f17cd 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -8,11 +8,17 @@ #define ThriftHiveMetastore_H #include +#include #include "hive_metastore_types.h" #include "FacebookService.h" namespace Apache { namespace Hadoop { namespace Hive { +#ifdef _WIN32 + #pragma warning( push ) + #pragma warning (disable : 4250 ) //inheriting methods via dominance +#endif + class ThriftHiveMetastoreIf : virtual public ::facebook::fb303::FacebookServiceIf { public: virtual ~ThriftHiveMetastoreIf() {} @@ -578,9 +584,6 @@ typedef struct _ThriftHiveMetastore_getMetaConf_args__isset { class ThriftHiveMetastore_getMetaConf_args { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - ThriftHiveMetastore_getMetaConf_args(const ThriftHiveMetastore_getMetaConf_args&); ThriftHiveMetastore_getMetaConf_args& operator=(const ThriftHiveMetastore_getMetaConf_args&); ThriftHiveMetastore_getMetaConf_args() : key() { @@ -608,23 +611,18 @@ class ThriftHiveMetastore_getMetaConf_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_getMetaConf_args& obj); }; class ThriftHiveMetastore_getMetaConf_pargs { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_getMetaConf_pargs() throw(); const std::string* key; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_getMetaConf_pargs& obj); }; typedef struct _ThriftHiveMetastore_getMetaConf_result__isset { @@ -636,9 +634,6 @@ typedef struct _ThriftHiveMetastore_getMetaConf_result__isset { class ThriftHiveMetastore_getMetaConf_result { public: - static const char* ascii_fingerprint; // = "FB3D66E547AE5D7F8EB046D752ECF5C1"; - static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3D,0x66,0xE5,0x47,0xAE,0x5D,0x7F,0x8E,0xB0,0x46,0xD7,0x52,0xEC,0xF5,0xC1}; - ThriftHiveMetastore_getMetaConf_result(const ThriftHiveMetastore_getMetaConf_result&); ThriftHiveMetastore_getMetaConf_result& operator=(const ThriftHiveMetastore_getMetaConf_result&); ThriftHiveMetastore_getMetaConf_result() : success() { @@ -671,7 +666,6 @@ class ThriftHiveMetastore_getMetaConf_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_getMetaConf_result& obj); }; typedef struct _ThriftHiveMetastore_getMetaConf_presult__isset { @@ -683,9 +677,6 @@ typedef struct _ThriftHiveMetastore_getMetaConf_presult__isset { class ThriftHiveMetastore_getMetaConf_presult { public: - static const char* ascii_fingerprint; // = "FB3D66E547AE5D7F8EB046D752ECF5C1"; - static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3D,0x66,0xE5,0x47,0xAE,0x5D,0x7F,0x8E,0xB0,0x46,0xD7,0x52,0xEC,0xF5,0xC1}; - virtual ~ThriftHiveMetastore_getMetaConf_presult() throw(); std::string* success; @@ -695,7 +686,6 @@ class ThriftHiveMetastore_getMetaConf_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_getMetaConf_presult& obj); }; typedef struct _ThriftHiveMetastore_setMetaConf_args__isset { @@ -707,9 +697,6 @@ typedef struct _ThriftHiveMetastore_setMetaConf_args__isset { class ThriftHiveMetastore_setMetaConf_args { public: - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - ThriftHiveMetastore_setMetaConf_args(const ThriftHiveMetastore_setMetaConf_args&); ThriftHiveMetastore_setMetaConf_args& operator=(const ThriftHiveMetastore_setMetaConf_args&); ThriftHiveMetastore_setMetaConf_args() : key(), value() { @@ -742,16 +729,12 @@ class ThriftHiveMetastore_setMetaConf_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_setMetaConf_args& obj); }; class ThriftHiveMetastore_setMetaConf_pargs { public: - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - virtual ~ThriftHiveMetastore_setMetaConf_pargs() throw(); const std::string* key; @@ -759,7 +742,6 @@ class ThriftHiveMetastore_setMetaConf_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_setMetaConf_pargs& obj); }; typedef struct _ThriftHiveMetastore_setMetaConf_result__isset { @@ -770,9 +752,6 @@ typedef struct _ThriftHiveMetastore_setMetaConf_result__isset { class ThriftHiveMetastore_setMetaConf_result { public: - static const char* ascii_fingerprint; // = "771E7EF40B572D2BFAB12C49547ADCBF"; - static const uint8_t binary_fingerprint[16]; // = {0x77,0x1E,0x7E,0xF4,0x0B,0x57,0x2D,0x2B,0xFA,0xB1,0x2C,0x49,0x54,0x7A,0xDC,0xBF}; - ThriftHiveMetastore_setMetaConf_result(const ThriftHiveMetastore_setMetaConf_result&); ThriftHiveMetastore_setMetaConf_result& operator=(const ThriftHiveMetastore_setMetaConf_result&); ThriftHiveMetastore_setMetaConf_result() { @@ -800,7 +779,6 @@ class ThriftHiveMetastore_setMetaConf_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_setMetaConf_result& obj); }; typedef struct _ThriftHiveMetastore_setMetaConf_presult__isset { @@ -811,9 +789,6 @@ typedef struct _ThriftHiveMetastore_setMetaConf_presult__isset { class ThriftHiveMetastore_setMetaConf_presult { public: - static const char* ascii_fingerprint; // = "771E7EF40B572D2BFAB12C49547ADCBF"; - static const uint8_t binary_fingerprint[16]; // = {0x77,0x1E,0x7E,0xF4,0x0B,0x57,0x2D,0x2B,0xFA,0xB1,0x2C,0x49,0x54,0x7A,0xDC,0xBF}; - virtual ~ThriftHiveMetastore_setMetaConf_presult() throw(); MetaException o1; @@ -822,7 +797,6 @@ class ThriftHiveMetastore_setMetaConf_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_setMetaConf_presult& obj); }; typedef struct _ThriftHiveMetastore_create_database_args__isset { @@ -833,9 +807,6 @@ typedef struct _ThriftHiveMetastore_create_database_args__isset { class ThriftHiveMetastore_create_database_args { public: - static const char* ascii_fingerprint; // = "BAA173319AAB1B660ECE7D895D8F1A31"; - static const uint8_t binary_fingerprint[16]; // = {0xBA,0xA1,0x73,0x31,0x9A,0xAB,0x1B,0x66,0x0E,0xCE,0x7D,0x89,0x5D,0x8F,0x1A,0x31}; - ThriftHiveMetastore_create_database_args(const ThriftHiveMetastore_create_database_args&); ThriftHiveMetastore_create_database_args& operator=(const ThriftHiveMetastore_create_database_args&); ThriftHiveMetastore_create_database_args() { @@ -863,23 +834,18 @@ class ThriftHiveMetastore_create_database_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_database_args& obj); }; class ThriftHiveMetastore_create_database_pargs { public: - static const char* ascii_fingerprint; // = "BAA173319AAB1B660ECE7D895D8F1A31"; - static const uint8_t binary_fingerprint[16]; // = {0xBA,0xA1,0x73,0x31,0x9A,0xAB,0x1B,0x66,0x0E,0xCE,0x7D,0x89,0x5D,0x8F,0x1A,0x31}; - virtual ~ThriftHiveMetastore_create_database_pargs() throw(); const Database* database; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_database_pargs& obj); }; typedef struct _ThriftHiveMetastore_create_database_result__isset { @@ -892,9 +858,6 @@ typedef struct _ThriftHiveMetastore_create_database_result__isset { class ThriftHiveMetastore_create_database_result { public: - static const char* ascii_fingerprint; // = "2E72786EE0F17DA00FC5BDED362FE255"; - static const uint8_t binary_fingerprint[16]; // = {0x2E,0x72,0x78,0x6E,0xE0,0xF1,0x7D,0xA0,0x0F,0xC5,0xBD,0xED,0x36,0x2F,0xE2,0x55}; - ThriftHiveMetastore_create_database_result(const ThriftHiveMetastore_create_database_result&); ThriftHiveMetastore_create_database_result& operator=(const ThriftHiveMetastore_create_database_result&); ThriftHiveMetastore_create_database_result() { @@ -932,7 +895,6 @@ class ThriftHiveMetastore_create_database_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_database_result& obj); }; typedef struct _ThriftHiveMetastore_create_database_presult__isset { @@ -945,9 +907,6 @@ typedef struct _ThriftHiveMetastore_create_database_presult__isset { class ThriftHiveMetastore_create_database_presult { public: - static const char* ascii_fingerprint; // = "2E72786EE0F17DA00FC5BDED362FE255"; - static const uint8_t binary_fingerprint[16]; // = {0x2E,0x72,0x78,0x6E,0xE0,0xF1,0x7D,0xA0,0x0F,0xC5,0xBD,0xED,0x36,0x2F,0xE2,0x55}; - virtual ~ThriftHiveMetastore_create_database_presult() throw(); AlreadyExistsException o1; @@ -958,7 +917,6 @@ class ThriftHiveMetastore_create_database_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_database_presult& obj); }; typedef struct _ThriftHiveMetastore_get_database_args__isset { @@ -969,9 +927,6 @@ typedef struct _ThriftHiveMetastore_get_database_args__isset { class ThriftHiveMetastore_get_database_args { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - ThriftHiveMetastore_get_database_args(const ThriftHiveMetastore_get_database_args&); ThriftHiveMetastore_get_database_args& operator=(const ThriftHiveMetastore_get_database_args&); ThriftHiveMetastore_get_database_args() : name() { @@ -999,23 +954,18 @@ class ThriftHiveMetastore_get_database_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_database_args& obj); }; class ThriftHiveMetastore_get_database_pargs { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_get_database_pargs() throw(); const std::string* name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_database_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_database_result__isset { @@ -1028,9 +978,6 @@ typedef struct _ThriftHiveMetastore_get_database_result__isset { class ThriftHiveMetastore_get_database_result { public: - static const char* ascii_fingerprint; // = "C73ECEC4971924DCA9053333CB4A89A0"; - static const uint8_t binary_fingerprint[16]; // = {0xC7,0x3E,0xCE,0xC4,0x97,0x19,0x24,0xDC,0xA9,0x05,0x33,0x33,0xCB,0x4A,0x89,0xA0}; - ThriftHiveMetastore_get_database_result(const ThriftHiveMetastore_get_database_result&); ThriftHiveMetastore_get_database_result& operator=(const ThriftHiveMetastore_get_database_result&); ThriftHiveMetastore_get_database_result() { @@ -1068,7 +1015,6 @@ class ThriftHiveMetastore_get_database_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_database_result& obj); }; typedef struct _ThriftHiveMetastore_get_database_presult__isset { @@ -1081,9 +1027,6 @@ typedef struct _ThriftHiveMetastore_get_database_presult__isset { class ThriftHiveMetastore_get_database_presult { public: - static const char* ascii_fingerprint; // = "C73ECEC4971924DCA9053333CB4A89A0"; - static const uint8_t binary_fingerprint[16]; // = {0xC7,0x3E,0xCE,0xC4,0x97,0x19,0x24,0xDC,0xA9,0x05,0x33,0x33,0xCB,0x4A,0x89,0xA0}; - virtual ~ThriftHiveMetastore_get_database_presult() throw(); Database* success; @@ -1094,7 +1037,6 @@ class ThriftHiveMetastore_get_database_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_database_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_database_args__isset { @@ -1107,9 +1049,6 @@ typedef struct _ThriftHiveMetastore_drop_database_args__isset { class ThriftHiveMetastore_drop_database_args { public: - static const char* ascii_fingerprint; // = "B8E1E91B0E4D1772237E387EEB23B1B0"; - static const uint8_t binary_fingerprint[16]; // = {0xB8,0xE1,0xE9,0x1B,0x0E,0x4D,0x17,0x72,0x23,0x7E,0x38,0x7E,0xEB,0x23,0xB1,0xB0}; - ThriftHiveMetastore_drop_database_args(const ThriftHiveMetastore_drop_database_args&); ThriftHiveMetastore_drop_database_args& operator=(const ThriftHiveMetastore_drop_database_args&); ThriftHiveMetastore_drop_database_args() : name(), deleteData(0), cascade(0) { @@ -1147,16 +1086,12 @@ class ThriftHiveMetastore_drop_database_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_database_args& obj); }; class ThriftHiveMetastore_drop_database_pargs { public: - static const char* ascii_fingerprint; // = "B8E1E91B0E4D1772237E387EEB23B1B0"; - static const uint8_t binary_fingerprint[16]; // = {0xB8,0xE1,0xE9,0x1B,0x0E,0x4D,0x17,0x72,0x23,0x7E,0x38,0x7E,0xEB,0x23,0xB1,0xB0}; - virtual ~ThriftHiveMetastore_drop_database_pargs() throw(); const std::string* name; @@ -1165,7 +1100,6 @@ class ThriftHiveMetastore_drop_database_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_database_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_database_result__isset { @@ -1178,9 +1112,6 @@ typedef struct _ThriftHiveMetastore_drop_database_result__isset { class ThriftHiveMetastore_drop_database_result { public: - static const char* ascii_fingerprint; // = "2E72786EE0F17DA00FC5BDED362FE255"; - static const uint8_t binary_fingerprint[16]; // = {0x2E,0x72,0x78,0x6E,0xE0,0xF1,0x7D,0xA0,0x0F,0xC5,0xBD,0xED,0x36,0x2F,0xE2,0x55}; - ThriftHiveMetastore_drop_database_result(const ThriftHiveMetastore_drop_database_result&); ThriftHiveMetastore_drop_database_result& operator=(const ThriftHiveMetastore_drop_database_result&); ThriftHiveMetastore_drop_database_result() { @@ -1218,7 +1149,6 @@ class ThriftHiveMetastore_drop_database_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_database_result& obj); }; typedef struct _ThriftHiveMetastore_drop_database_presult__isset { @@ -1231,9 +1161,6 @@ typedef struct _ThriftHiveMetastore_drop_database_presult__isset { class ThriftHiveMetastore_drop_database_presult { public: - static const char* ascii_fingerprint; // = "2E72786EE0F17DA00FC5BDED362FE255"; - static const uint8_t binary_fingerprint[16]; // = {0x2E,0x72,0x78,0x6E,0xE0,0xF1,0x7D,0xA0,0x0F,0xC5,0xBD,0xED,0x36,0x2F,0xE2,0x55}; - virtual ~ThriftHiveMetastore_drop_database_presult() throw(); NoSuchObjectException o1; @@ -1244,7 +1171,6 @@ class ThriftHiveMetastore_drop_database_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_database_presult& obj); }; typedef struct _ThriftHiveMetastore_get_databases_args__isset { @@ -1255,9 +1181,6 @@ typedef struct _ThriftHiveMetastore_get_databases_args__isset { class ThriftHiveMetastore_get_databases_args { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - ThriftHiveMetastore_get_databases_args(const ThriftHiveMetastore_get_databases_args&); ThriftHiveMetastore_get_databases_args& operator=(const ThriftHiveMetastore_get_databases_args&); ThriftHiveMetastore_get_databases_args() : pattern() { @@ -1285,23 +1208,18 @@ class ThriftHiveMetastore_get_databases_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_databases_args& obj); }; class ThriftHiveMetastore_get_databases_pargs { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_get_databases_pargs() throw(); const std::string* pattern; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_databases_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_databases_result__isset { @@ -1313,9 +1231,6 @@ typedef struct _ThriftHiveMetastore_get_databases_result__isset { class ThriftHiveMetastore_get_databases_result { public: - static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; - static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - ThriftHiveMetastore_get_databases_result(const ThriftHiveMetastore_get_databases_result&); ThriftHiveMetastore_get_databases_result& operator=(const ThriftHiveMetastore_get_databases_result&); ThriftHiveMetastore_get_databases_result() { @@ -1348,7 +1263,6 @@ class ThriftHiveMetastore_get_databases_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_databases_result& obj); }; typedef struct _ThriftHiveMetastore_get_databases_presult__isset { @@ -1360,9 +1274,6 @@ typedef struct _ThriftHiveMetastore_get_databases_presult__isset { class ThriftHiveMetastore_get_databases_presult { public: - static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; - static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - virtual ~ThriftHiveMetastore_get_databases_presult() throw(); std::vector * success; @@ -1372,16 +1283,12 @@ class ThriftHiveMetastore_get_databases_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_databases_presult& obj); }; class ThriftHiveMetastore_get_all_databases_args { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - ThriftHiveMetastore_get_all_databases_args(const ThriftHiveMetastore_get_all_databases_args&); ThriftHiveMetastore_get_all_databases_args& operator=(const ThriftHiveMetastore_get_all_databases_args&); ThriftHiveMetastore_get_all_databases_args() { @@ -1402,22 +1309,17 @@ class ThriftHiveMetastore_get_all_databases_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_databases_args& obj); }; class ThriftHiveMetastore_get_all_databases_pargs { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHiveMetastore_get_all_databases_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_databases_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_all_databases_result__isset { @@ -1429,9 +1331,6 @@ typedef struct _ThriftHiveMetastore_get_all_databases_result__isset { class ThriftHiveMetastore_get_all_databases_result { public: - static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; - static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - ThriftHiveMetastore_get_all_databases_result(const ThriftHiveMetastore_get_all_databases_result&); ThriftHiveMetastore_get_all_databases_result& operator=(const ThriftHiveMetastore_get_all_databases_result&); ThriftHiveMetastore_get_all_databases_result() { @@ -1464,7 +1363,6 @@ class ThriftHiveMetastore_get_all_databases_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_databases_result& obj); }; typedef struct _ThriftHiveMetastore_get_all_databases_presult__isset { @@ -1476,9 +1374,6 @@ typedef struct _ThriftHiveMetastore_get_all_databases_presult__isset { class ThriftHiveMetastore_get_all_databases_presult { public: - static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; - static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - virtual ~ThriftHiveMetastore_get_all_databases_presult() throw(); std::vector * success; @@ -1488,7 +1383,6 @@ class ThriftHiveMetastore_get_all_databases_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_databases_presult& obj); }; typedef struct _ThriftHiveMetastore_alter_database_args__isset { @@ -1500,9 +1394,6 @@ typedef struct _ThriftHiveMetastore_alter_database_args__isset { class ThriftHiveMetastore_alter_database_args { public: - static const char* ascii_fingerprint; // = "B314C1FCA7295CFE5872A037139333A5"; - static const uint8_t binary_fingerprint[16]; // = {0xB3,0x14,0xC1,0xFC,0xA7,0x29,0x5C,0xFE,0x58,0x72,0xA0,0x37,0x13,0x93,0x33,0xA5}; - ThriftHiveMetastore_alter_database_args(const ThriftHiveMetastore_alter_database_args&); ThriftHiveMetastore_alter_database_args& operator=(const ThriftHiveMetastore_alter_database_args&); ThriftHiveMetastore_alter_database_args() : dbname() { @@ -1535,16 +1426,12 @@ class ThriftHiveMetastore_alter_database_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_database_args& obj); }; class ThriftHiveMetastore_alter_database_pargs { public: - static const char* ascii_fingerprint; // = "B314C1FCA7295CFE5872A037139333A5"; - static const uint8_t binary_fingerprint[16]; // = {0xB3,0x14,0xC1,0xFC,0xA7,0x29,0x5C,0xFE,0x58,0x72,0xA0,0x37,0x13,0x93,0x33,0xA5}; - virtual ~ThriftHiveMetastore_alter_database_pargs() throw(); const std::string* dbname; @@ -1552,7 +1439,6 @@ class ThriftHiveMetastore_alter_database_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_database_pargs& obj); }; typedef struct _ThriftHiveMetastore_alter_database_result__isset { @@ -1564,9 +1450,6 @@ typedef struct _ThriftHiveMetastore_alter_database_result__isset { class ThriftHiveMetastore_alter_database_result { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - ThriftHiveMetastore_alter_database_result(const ThriftHiveMetastore_alter_database_result&); ThriftHiveMetastore_alter_database_result& operator=(const ThriftHiveMetastore_alter_database_result&); ThriftHiveMetastore_alter_database_result() { @@ -1599,7 +1482,6 @@ class ThriftHiveMetastore_alter_database_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_database_result& obj); }; typedef struct _ThriftHiveMetastore_alter_database_presult__isset { @@ -1611,9 +1493,6 @@ typedef struct _ThriftHiveMetastore_alter_database_presult__isset { class ThriftHiveMetastore_alter_database_presult { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_alter_database_presult() throw(); MetaException o1; @@ -1623,7 +1502,6 @@ class ThriftHiveMetastore_alter_database_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_database_presult& obj); }; typedef struct _ThriftHiveMetastore_get_type_args__isset { @@ -1634,9 +1512,6 @@ typedef struct _ThriftHiveMetastore_get_type_args__isset { class ThriftHiveMetastore_get_type_args { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - ThriftHiveMetastore_get_type_args(const ThriftHiveMetastore_get_type_args&); ThriftHiveMetastore_get_type_args& operator=(const ThriftHiveMetastore_get_type_args&); ThriftHiveMetastore_get_type_args() : name() { @@ -1664,23 +1539,18 @@ class ThriftHiveMetastore_get_type_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_args& obj); }; class ThriftHiveMetastore_get_type_pargs { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_get_type_pargs() throw(); const std::string* name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_type_result__isset { @@ -1693,9 +1563,6 @@ typedef struct _ThriftHiveMetastore_get_type_result__isset { class ThriftHiveMetastore_get_type_result { public: - static const char* ascii_fingerprint; // = "FB3C6A03581A125ACD392DBF486E3393"; - static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x6A,0x03,0x58,0x1A,0x12,0x5A,0xCD,0x39,0x2D,0xBF,0x48,0x6E,0x33,0x93}; - ThriftHiveMetastore_get_type_result(const ThriftHiveMetastore_get_type_result&); ThriftHiveMetastore_get_type_result& operator=(const ThriftHiveMetastore_get_type_result&); ThriftHiveMetastore_get_type_result() { @@ -1733,7 +1600,6 @@ class ThriftHiveMetastore_get_type_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_result& obj); }; typedef struct _ThriftHiveMetastore_get_type_presult__isset { @@ -1746,9 +1612,6 @@ typedef struct _ThriftHiveMetastore_get_type_presult__isset { class ThriftHiveMetastore_get_type_presult { public: - static const char* ascii_fingerprint; // = "FB3C6A03581A125ACD392DBF486E3393"; - static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x6A,0x03,0x58,0x1A,0x12,0x5A,0xCD,0x39,0x2D,0xBF,0x48,0x6E,0x33,0x93}; - virtual ~ThriftHiveMetastore_get_type_presult() throw(); Type* success; @@ -1759,7 +1622,6 @@ class ThriftHiveMetastore_get_type_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_presult& obj); }; typedef struct _ThriftHiveMetastore_create_type_args__isset { @@ -1770,9 +1632,6 @@ typedef struct _ThriftHiveMetastore_create_type_args__isset { class ThriftHiveMetastore_create_type_args { public: - static const char* ascii_fingerprint; // = "9A5D4BC8553C4C253DA189914EB026F0"; - static const uint8_t binary_fingerprint[16]; // = {0x9A,0x5D,0x4B,0xC8,0x55,0x3C,0x4C,0x25,0x3D,0xA1,0x89,0x91,0x4E,0xB0,0x26,0xF0}; - ThriftHiveMetastore_create_type_args(const ThriftHiveMetastore_create_type_args&); ThriftHiveMetastore_create_type_args& operator=(const ThriftHiveMetastore_create_type_args&); ThriftHiveMetastore_create_type_args() { @@ -1800,23 +1659,18 @@ class ThriftHiveMetastore_create_type_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_type_args& obj); }; class ThriftHiveMetastore_create_type_pargs { public: - static const char* ascii_fingerprint; // = "9A5D4BC8553C4C253DA189914EB026F0"; - static const uint8_t binary_fingerprint[16]; // = {0x9A,0x5D,0x4B,0xC8,0x55,0x3C,0x4C,0x25,0x3D,0xA1,0x89,0x91,0x4E,0xB0,0x26,0xF0}; - virtual ~ThriftHiveMetastore_create_type_pargs() throw(); const Type* type; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_type_pargs& obj); }; typedef struct _ThriftHiveMetastore_create_type_result__isset { @@ -1830,9 +1684,6 @@ typedef struct _ThriftHiveMetastore_create_type_result__isset { class ThriftHiveMetastore_create_type_result { public: - static const char* ascii_fingerprint; // = "BEFA80ACD0D12B069F160582E1F44215"; - static const uint8_t binary_fingerprint[16]; // = {0xBE,0xFA,0x80,0xAC,0xD0,0xD1,0x2B,0x06,0x9F,0x16,0x05,0x82,0xE1,0xF4,0x42,0x15}; - ThriftHiveMetastore_create_type_result(const ThriftHiveMetastore_create_type_result&); ThriftHiveMetastore_create_type_result& operator=(const ThriftHiveMetastore_create_type_result&); ThriftHiveMetastore_create_type_result() : success(0) { @@ -1875,7 +1726,6 @@ class ThriftHiveMetastore_create_type_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_type_result& obj); }; typedef struct _ThriftHiveMetastore_create_type_presult__isset { @@ -1889,9 +1739,6 @@ typedef struct _ThriftHiveMetastore_create_type_presult__isset { class ThriftHiveMetastore_create_type_presult { public: - static const char* ascii_fingerprint; // = "BEFA80ACD0D12B069F160582E1F44215"; - static const uint8_t binary_fingerprint[16]; // = {0xBE,0xFA,0x80,0xAC,0xD0,0xD1,0x2B,0x06,0x9F,0x16,0x05,0x82,0xE1,0xF4,0x42,0x15}; - virtual ~ThriftHiveMetastore_create_type_presult() throw(); bool* success; @@ -1903,7 +1750,6 @@ class ThriftHiveMetastore_create_type_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_type_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_type_args__isset { @@ -1914,9 +1760,6 @@ typedef struct _ThriftHiveMetastore_drop_type_args__isset { class ThriftHiveMetastore_drop_type_args { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - ThriftHiveMetastore_drop_type_args(const ThriftHiveMetastore_drop_type_args&); ThriftHiveMetastore_drop_type_args& operator=(const ThriftHiveMetastore_drop_type_args&); ThriftHiveMetastore_drop_type_args() : type() { @@ -1944,23 +1787,18 @@ class ThriftHiveMetastore_drop_type_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_type_args& obj); }; class ThriftHiveMetastore_drop_type_pargs { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_drop_type_pargs() throw(); const std::string* type; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_type_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_type_result__isset { @@ -1973,9 +1811,6 @@ typedef struct _ThriftHiveMetastore_drop_type_result__isset { class ThriftHiveMetastore_drop_type_result { public: - static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; - static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; - ThriftHiveMetastore_drop_type_result(const ThriftHiveMetastore_drop_type_result&); ThriftHiveMetastore_drop_type_result& operator=(const ThriftHiveMetastore_drop_type_result&); ThriftHiveMetastore_drop_type_result() : success(0) { @@ -2013,7 +1848,6 @@ class ThriftHiveMetastore_drop_type_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_type_result& obj); }; typedef struct _ThriftHiveMetastore_drop_type_presult__isset { @@ -2026,9 +1860,6 @@ typedef struct _ThriftHiveMetastore_drop_type_presult__isset { class ThriftHiveMetastore_drop_type_presult { public: - static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; - static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; - virtual ~ThriftHiveMetastore_drop_type_presult() throw(); bool* success; @@ -2039,7 +1870,6 @@ class ThriftHiveMetastore_drop_type_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_type_presult& obj); }; typedef struct _ThriftHiveMetastore_get_type_all_args__isset { @@ -2050,9 +1880,6 @@ typedef struct _ThriftHiveMetastore_get_type_all_args__isset { class ThriftHiveMetastore_get_type_all_args { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - ThriftHiveMetastore_get_type_all_args(const ThriftHiveMetastore_get_type_all_args&); ThriftHiveMetastore_get_type_all_args& operator=(const ThriftHiveMetastore_get_type_all_args&); ThriftHiveMetastore_get_type_all_args() : name() { @@ -2080,23 +1907,18 @@ class ThriftHiveMetastore_get_type_all_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_all_args& obj); }; class ThriftHiveMetastore_get_type_all_pargs { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_get_type_all_pargs() throw(); const std::string* name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_all_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_type_all_result__isset { @@ -2108,9 +1930,6 @@ typedef struct _ThriftHiveMetastore_get_type_all_result__isset { class ThriftHiveMetastore_get_type_all_result { public: - static const char* ascii_fingerprint; // = "4AD9FFB783428C996DEB713D38DA38C4"; - static const uint8_t binary_fingerprint[16]; // = {0x4A,0xD9,0xFF,0xB7,0x83,0x42,0x8C,0x99,0x6D,0xEB,0x71,0x3D,0x38,0xDA,0x38,0xC4}; - ThriftHiveMetastore_get_type_all_result(const ThriftHiveMetastore_get_type_all_result&); ThriftHiveMetastore_get_type_all_result& operator=(const ThriftHiveMetastore_get_type_all_result&); ThriftHiveMetastore_get_type_all_result() { @@ -2143,7 +1962,6 @@ class ThriftHiveMetastore_get_type_all_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_all_result& obj); }; typedef struct _ThriftHiveMetastore_get_type_all_presult__isset { @@ -2155,9 +1973,6 @@ typedef struct _ThriftHiveMetastore_get_type_all_presult__isset { class ThriftHiveMetastore_get_type_all_presult { public: - static const char* ascii_fingerprint; // = "4AD9FFB783428C996DEB713D38DA38C4"; - static const uint8_t binary_fingerprint[16]; // = {0x4A,0xD9,0xFF,0xB7,0x83,0x42,0x8C,0x99,0x6D,0xEB,0x71,0x3D,0x38,0xDA,0x38,0xC4}; - virtual ~ThriftHiveMetastore_get_type_all_presult() throw(); std::map * success; @@ -2167,7 +1982,6 @@ class ThriftHiveMetastore_get_type_all_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_type_all_presult& obj); }; typedef struct _ThriftHiveMetastore_get_fields_args__isset { @@ -2179,9 +1993,6 @@ typedef struct _ThriftHiveMetastore_get_fields_args__isset { class ThriftHiveMetastore_get_fields_args { public: - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - ThriftHiveMetastore_get_fields_args(const ThriftHiveMetastore_get_fields_args&); ThriftHiveMetastore_get_fields_args& operator=(const ThriftHiveMetastore_get_fields_args&); ThriftHiveMetastore_get_fields_args() : db_name(), table_name() { @@ -2214,16 +2025,12 @@ class ThriftHiveMetastore_get_fields_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_args& obj); }; class ThriftHiveMetastore_get_fields_pargs { public: - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - virtual ~ThriftHiveMetastore_get_fields_pargs() throw(); const std::string* db_name; @@ -2231,7 +2038,6 @@ class ThriftHiveMetastore_get_fields_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_fields_result__isset { @@ -2245,9 +2051,6 @@ typedef struct _ThriftHiveMetastore_get_fields_result__isset { class ThriftHiveMetastore_get_fields_result { public: - static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E"; - static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E}; - ThriftHiveMetastore_get_fields_result(const ThriftHiveMetastore_get_fields_result&); ThriftHiveMetastore_get_fields_result& operator=(const ThriftHiveMetastore_get_fields_result&); ThriftHiveMetastore_get_fields_result() { @@ -2290,7 +2093,6 @@ class ThriftHiveMetastore_get_fields_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_result& obj); }; typedef struct _ThriftHiveMetastore_get_fields_presult__isset { @@ -2304,9 +2106,6 @@ typedef struct _ThriftHiveMetastore_get_fields_presult__isset { class ThriftHiveMetastore_get_fields_presult { public: - static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E"; - static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E}; - virtual ~ThriftHiveMetastore_get_fields_presult() throw(); std::vector * success; @@ -2318,7 +2117,6 @@ class ThriftHiveMetastore_get_fields_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_presult& obj); }; typedef struct _ThriftHiveMetastore_get_fields_with_environment_context_args__isset { @@ -2331,9 +2129,6 @@ typedef struct _ThriftHiveMetastore_get_fields_with_environment_context_args__is class ThriftHiveMetastore_get_fields_with_environment_context_args { public: - static const char* ascii_fingerprint; // = "AE0D6195F9A2D9B00B409A0B58C4F0AE"; - static const uint8_t binary_fingerprint[16]; // = {0xAE,0x0D,0x61,0x95,0xF9,0xA2,0xD9,0xB0,0x0B,0x40,0x9A,0x0B,0x58,0xC4,0xF0,0xAE}; - ThriftHiveMetastore_get_fields_with_environment_context_args(const ThriftHiveMetastore_get_fields_with_environment_context_args&); ThriftHiveMetastore_get_fields_with_environment_context_args& operator=(const ThriftHiveMetastore_get_fields_with_environment_context_args&); ThriftHiveMetastore_get_fields_with_environment_context_args() : db_name(), table_name() { @@ -2371,16 +2166,12 @@ class ThriftHiveMetastore_get_fields_with_environment_context_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_with_environment_context_args& obj); }; class ThriftHiveMetastore_get_fields_with_environment_context_pargs { public: - static const char* ascii_fingerprint; // = "AE0D6195F9A2D9B00B409A0B58C4F0AE"; - static const uint8_t binary_fingerprint[16]; // = {0xAE,0x0D,0x61,0x95,0xF9,0xA2,0xD9,0xB0,0x0B,0x40,0x9A,0x0B,0x58,0xC4,0xF0,0xAE}; - virtual ~ThriftHiveMetastore_get_fields_with_environment_context_pargs() throw(); const std::string* db_name; @@ -2389,7 +2180,6 @@ class ThriftHiveMetastore_get_fields_with_environment_context_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_with_environment_context_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_fields_with_environment_context_result__isset { @@ -2403,9 +2193,6 @@ typedef struct _ThriftHiveMetastore_get_fields_with_environment_context_result__ class ThriftHiveMetastore_get_fields_with_environment_context_result { public: - static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E"; - static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E}; - ThriftHiveMetastore_get_fields_with_environment_context_result(const ThriftHiveMetastore_get_fields_with_environment_context_result&); ThriftHiveMetastore_get_fields_with_environment_context_result& operator=(const ThriftHiveMetastore_get_fields_with_environment_context_result&); ThriftHiveMetastore_get_fields_with_environment_context_result() { @@ -2448,7 +2235,6 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_with_environment_context_result& obj); }; typedef struct _ThriftHiveMetastore_get_fields_with_environment_context_presult__isset { @@ -2462,9 +2248,6 @@ typedef struct _ThriftHiveMetastore_get_fields_with_environment_context_presult_ class ThriftHiveMetastore_get_fields_with_environment_context_presult { public: - static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E"; - static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E}; - virtual ~ThriftHiveMetastore_get_fields_with_environment_context_presult() throw(); std::vector * success; @@ -2476,7 +2259,6 @@ class ThriftHiveMetastore_get_fields_with_environment_context_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_fields_with_environment_context_presult& obj); }; typedef struct _ThriftHiveMetastore_get_schema_args__isset { @@ -2488,9 +2270,6 @@ typedef struct _ThriftHiveMetastore_get_schema_args__isset { class ThriftHiveMetastore_get_schema_args { public: - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - ThriftHiveMetastore_get_schema_args(const ThriftHiveMetastore_get_schema_args&); ThriftHiveMetastore_get_schema_args& operator=(const ThriftHiveMetastore_get_schema_args&); ThriftHiveMetastore_get_schema_args() : db_name(), table_name() { @@ -2523,16 +2302,12 @@ class ThriftHiveMetastore_get_schema_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_args& obj); }; class ThriftHiveMetastore_get_schema_pargs { public: - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - virtual ~ThriftHiveMetastore_get_schema_pargs() throw(); const std::string* db_name; @@ -2540,7 +2315,6 @@ class ThriftHiveMetastore_get_schema_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_schema_result__isset { @@ -2554,9 +2328,6 @@ typedef struct _ThriftHiveMetastore_get_schema_result__isset { class ThriftHiveMetastore_get_schema_result { public: - static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E"; - static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E}; - ThriftHiveMetastore_get_schema_result(const ThriftHiveMetastore_get_schema_result&); ThriftHiveMetastore_get_schema_result& operator=(const ThriftHiveMetastore_get_schema_result&); ThriftHiveMetastore_get_schema_result() { @@ -2599,7 +2370,6 @@ class ThriftHiveMetastore_get_schema_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_result& obj); }; typedef struct _ThriftHiveMetastore_get_schema_presult__isset { @@ -2613,9 +2383,6 @@ typedef struct _ThriftHiveMetastore_get_schema_presult__isset { class ThriftHiveMetastore_get_schema_presult { public: - static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E"; - static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E}; - virtual ~ThriftHiveMetastore_get_schema_presult() throw(); std::vector * success; @@ -2627,7 +2394,6 @@ class ThriftHiveMetastore_get_schema_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_presult& obj); }; typedef struct _ThriftHiveMetastore_get_schema_with_environment_context_args__isset { @@ -2640,9 +2406,6 @@ typedef struct _ThriftHiveMetastore_get_schema_with_environment_context_args__is class ThriftHiveMetastore_get_schema_with_environment_context_args { public: - static const char* ascii_fingerprint; // = "AE0D6195F9A2D9B00B409A0B58C4F0AE"; - static const uint8_t binary_fingerprint[16]; // = {0xAE,0x0D,0x61,0x95,0xF9,0xA2,0xD9,0xB0,0x0B,0x40,0x9A,0x0B,0x58,0xC4,0xF0,0xAE}; - ThriftHiveMetastore_get_schema_with_environment_context_args(const ThriftHiveMetastore_get_schema_with_environment_context_args&); ThriftHiveMetastore_get_schema_with_environment_context_args& operator=(const ThriftHiveMetastore_get_schema_with_environment_context_args&); ThriftHiveMetastore_get_schema_with_environment_context_args() : db_name(), table_name() { @@ -2680,16 +2443,12 @@ class ThriftHiveMetastore_get_schema_with_environment_context_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_with_environment_context_args& obj); }; class ThriftHiveMetastore_get_schema_with_environment_context_pargs { public: - static const char* ascii_fingerprint; // = "AE0D6195F9A2D9B00B409A0B58C4F0AE"; - static const uint8_t binary_fingerprint[16]; // = {0xAE,0x0D,0x61,0x95,0xF9,0xA2,0xD9,0xB0,0x0B,0x40,0x9A,0x0B,0x58,0xC4,0xF0,0xAE}; - virtual ~ThriftHiveMetastore_get_schema_with_environment_context_pargs() throw(); const std::string* db_name; @@ -2698,7 +2457,6 @@ class ThriftHiveMetastore_get_schema_with_environment_context_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_with_environment_context_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_schema_with_environment_context_result__isset { @@ -2712,9 +2470,6 @@ typedef struct _ThriftHiveMetastore_get_schema_with_environment_context_result__ class ThriftHiveMetastore_get_schema_with_environment_context_result { public: - static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E"; - static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E}; - ThriftHiveMetastore_get_schema_with_environment_context_result(const ThriftHiveMetastore_get_schema_with_environment_context_result&); ThriftHiveMetastore_get_schema_with_environment_context_result& operator=(const ThriftHiveMetastore_get_schema_with_environment_context_result&); ThriftHiveMetastore_get_schema_with_environment_context_result() { @@ -2757,7 +2512,6 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_with_environment_context_result& obj); }; typedef struct _ThriftHiveMetastore_get_schema_with_environment_context_presult__isset { @@ -2771,9 +2525,6 @@ typedef struct _ThriftHiveMetastore_get_schema_with_environment_context_presult_ class ThriftHiveMetastore_get_schema_with_environment_context_presult { public: - static const char* ascii_fingerprint; // = "B736CA8B9EACE5EE093DF8D460EE0F4E"; - static const uint8_t binary_fingerprint[16]; // = {0xB7,0x36,0xCA,0x8B,0x9E,0xAC,0xE5,0xEE,0x09,0x3D,0xF8,0xD4,0x60,0xEE,0x0F,0x4E}; - virtual ~ThriftHiveMetastore_get_schema_with_environment_context_presult() throw(); std::vector * success; @@ -2785,7 +2536,6 @@ class ThriftHiveMetastore_get_schema_with_environment_context_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_schema_with_environment_context_presult& obj); }; typedef struct _ThriftHiveMetastore_create_table_args__isset { @@ -2796,9 +2546,6 @@ typedef struct _ThriftHiveMetastore_create_table_args__isset { class ThriftHiveMetastore_create_table_args { public: - static const char* ascii_fingerprint; // = "BD1951DCA22A23C9A7B1CD46ACAE54DB"; - static const uint8_t binary_fingerprint[16]; // = {0xBD,0x19,0x51,0xDC,0xA2,0x2A,0x23,0xC9,0xA7,0xB1,0xCD,0x46,0xAC,0xAE,0x54,0xDB}; - ThriftHiveMetastore_create_table_args(const ThriftHiveMetastore_create_table_args&); ThriftHiveMetastore_create_table_args& operator=(const ThriftHiveMetastore_create_table_args&); ThriftHiveMetastore_create_table_args() { @@ -2826,23 +2573,18 @@ class ThriftHiveMetastore_create_table_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_args& obj); }; class ThriftHiveMetastore_create_table_pargs { public: - static const char* ascii_fingerprint; // = "BD1951DCA22A23C9A7B1CD46ACAE54DB"; - static const uint8_t binary_fingerprint[16]; // = {0xBD,0x19,0x51,0xDC,0xA2,0x2A,0x23,0xC9,0xA7,0xB1,0xCD,0x46,0xAC,0xAE,0x54,0xDB}; - virtual ~ThriftHiveMetastore_create_table_pargs() throw(); const Table* tbl; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_pargs& obj); }; typedef struct _ThriftHiveMetastore_create_table_result__isset { @@ -2856,9 +2598,6 @@ typedef struct _ThriftHiveMetastore_create_table_result__isset { class ThriftHiveMetastore_create_table_result { public: - static const char* ascii_fingerprint; // = "F9EF8E19A6AC2C4E08D282524B9828EB"; - static const uint8_t binary_fingerprint[16]; // = {0xF9,0xEF,0x8E,0x19,0xA6,0xAC,0x2C,0x4E,0x08,0xD2,0x82,0x52,0x4B,0x98,0x28,0xEB}; - ThriftHiveMetastore_create_table_result(const ThriftHiveMetastore_create_table_result&); ThriftHiveMetastore_create_table_result& operator=(const ThriftHiveMetastore_create_table_result&); ThriftHiveMetastore_create_table_result() { @@ -2901,7 +2640,6 @@ class ThriftHiveMetastore_create_table_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_result& obj); }; typedef struct _ThriftHiveMetastore_create_table_presult__isset { @@ -2915,9 +2653,6 @@ typedef struct _ThriftHiveMetastore_create_table_presult__isset { class ThriftHiveMetastore_create_table_presult { public: - static const char* ascii_fingerprint; // = "F9EF8E19A6AC2C4E08D282524B9828EB"; - static const uint8_t binary_fingerprint[16]; // = {0xF9,0xEF,0x8E,0x19,0xA6,0xAC,0x2C,0x4E,0x08,0xD2,0x82,0x52,0x4B,0x98,0x28,0xEB}; - virtual ~ThriftHiveMetastore_create_table_presult() throw(); AlreadyExistsException o1; @@ -2929,7 +2664,6 @@ class ThriftHiveMetastore_create_table_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_presult& obj); }; typedef struct _ThriftHiveMetastore_create_table_with_environment_context_args__isset { @@ -2941,9 +2675,6 @@ typedef struct _ThriftHiveMetastore_create_table_with_environment_context_args__ class ThriftHiveMetastore_create_table_with_environment_context_args { public: - static const char* ascii_fingerprint; // = "095040B2E2E4564E171FB653FDCE0B95"; - static const uint8_t binary_fingerprint[16]; // = {0x09,0x50,0x40,0xB2,0xE2,0xE4,0x56,0x4E,0x17,0x1F,0xB6,0x53,0xFD,0xCE,0x0B,0x95}; - ThriftHiveMetastore_create_table_with_environment_context_args(const ThriftHiveMetastore_create_table_with_environment_context_args&); ThriftHiveMetastore_create_table_with_environment_context_args& operator=(const ThriftHiveMetastore_create_table_with_environment_context_args&); ThriftHiveMetastore_create_table_with_environment_context_args() { @@ -2976,16 +2707,12 @@ class ThriftHiveMetastore_create_table_with_environment_context_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_with_environment_context_args& obj); }; class ThriftHiveMetastore_create_table_with_environment_context_pargs { public: - static const char* ascii_fingerprint; // = "095040B2E2E4564E171FB653FDCE0B95"; - static const uint8_t binary_fingerprint[16]; // = {0x09,0x50,0x40,0xB2,0xE2,0xE4,0x56,0x4E,0x17,0x1F,0xB6,0x53,0xFD,0xCE,0x0B,0x95}; - virtual ~ThriftHiveMetastore_create_table_with_environment_context_pargs() throw(); const Table* tbl; @@ -2993,7 +2720,6 @@ class ThriftHiveMetastore_create_table_with_environment_context_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_with_environment_context_pargs& obj); }; typedef struct _ThriftHiveMetastore_create_table_with_environment_context_result__isset { @@ -3007,9 +2733,6 @@ typedef struct _ThriftHiveMetastore_create_table_with_environment_context_result class ThriftHiveMetastore_create_table_with_environment_context_result { public: - static const char* ascii_fingerprint; // = "F9EF8E19A6AC2C4E08D282524B9828EB"; - static const uint8_t binary_fingerprint[16]; // = {0xF9,0xEF,0x8E,0x19,0xA6,0xAC,0x2C,0x4E,0x08,0xD2,0x82,0x52,0x4B,0x98,0x28,0xEB}; - ThriftHiveMetastore_create_table_with_environment_context_result(const ThriftHiveMetastore_create_table_with_environment_context_result&); ThriftHiveMetastore_create_table_with_environment_context_result& operator=(const ThriftHiveMetastore_create_table_with_environment_context_result&); ThriftHiveMetastore_create_table_with_environment_context_result() { @@ -3052,7 +2775,6 @@ class ThriftHiveMetastore_create_table_with_environment_context_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_with_environment_context_result& obj); }; typedef struct _ThriftHiveMetastore_create_table_with_environment_context_presult__isset { @@ -3066,9 +2788,6 @@ typedef struct _ThriftHiveMetastore_create_table_with_environment_context_presul class ThriftHiveMetastore_create_table_with_environment_context_presult { public: - static const char* ascii_fingerprint; // = "F9EF8E19A6AC2C4E08D282524B9828EB"; - static const uint8_t binary_fingerprint[16]; // = {0xF9,0xEF,0x8E,0x19,0xA6,0xAC,0x2C,0x4E,0x08,0xD2,0x82,0x52,0x4B,0x98,0x28,0xEB}; - virtual ~ThriftHiveMetastore_create_table_with_environment_context_presult() throw(); AlreadyExistsException o1; @@ -3080,7 +2799,6 @@ class ThriftHiveMetastore_create_table_with_environment_context_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_table_with_environment_context_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_table_args__isset { @@ -3093,9 +2811,6 @@ typedef struct _ThriftHiveMetastore_drop_table_args__isset { class ThriftHiveMetastore_drop_table_args { public: - static const char* ascii_fingerprint; // = "7F21FB535884165D6350077C7B970E93"; - static const uint8_t binary_fingerprint[16]; // = {0x7F,0x21,0xFB,0x53,0x58,0x84,0x16,0x5D,0x63,0x50,0x07,0x7C,0x7B,0x97,0x0E,0x93}; - ThriftHiveMetastore_drop_table_args(const ThriftHiveMetastore_drop_table_args&); ThriftHiveMetastore_drop_table_args& operator=(const ThriftHiveMetastore_drop_table_args&); ThriftHiveMetastore_drop_table_args() : dbname(), name(), deleteData(0) { @@ -3133,16 +2848,12 @@ class ThriftHiveMetastore_drop_table_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_args& obj); }; class ThriftHiveMetastore_drop_table_pargs { public: - static const char* ascii_fingerprint; // = "7F21FB535884165D6350077C7B970E93"; - static const uint8_t binary_fingerprint[16]; // = {0x7F,0x21,0xFB,0x53,0x58,0x84,0x16,0x5D,0x63,0x50,0x07,0x7C,0x7B,0x97,0x0E,0x93}; - virtual ~ThriftHiveMetastore_drop_table_pargs() throw(); const std::string* dbname; @@ -3151,7 +2862,6 @@ class ThriftHiveMetastore_drop_table_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_table_result__isset { @@ -3163,9 +2873,6 @@ typedef struct _ThriftHiveMetastore_drop_table_result__isset { class ThriftHiveMetastore_drop_table_result { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - ThriftHiveMetastore_drop_table_result(const ThriftHiveMetastore_drop_table_result&); ThriftHiveMetastore_drop_table_result& operator=(const ThriftHiveMetastore_drop_table_result&); ThriftHiveMetastore_drop_table_result() { @@ -3198,7 +2905,6 @@ class ThriftHiveMetastore_drop_table_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_result& obj); }; typedef struct _ThriftHiveMetastore_drop_table_presult__isset { @@ -3210,9 +2916,6 @@ typedef struct _ThriftHiveMetastore_drop_table_presult__isset { class ThriftHiveMetastore_drop_table_presult { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_drop_table_presult() throw(); NoSuchObjectException o1; @@ -3222,7 +2925,6 @@ class ThriftHiveMetastore_drop_table_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_table_with_environment_context_args__isset { @@ -3236,9 +2938,6 @@ typedef struct _ThriftHiveMetastore_drop_table_with_environment_context_args__is class ThriftHiveMetastore_drop_table_with_environment_context_args { public: - static const char* ascii_fingerprint; // = "0ED75AC6CEC5A207447A701578264DA4"; - static const uint8_t binary_fingerprint[16]; // = {0x0E,0xD7,0x5A,0xC6,0xCE,0xC5,0xA2,0x07,0x44,0x7A,0x70,0x15,0x78,0x26,0x4D,0xA4}; - ThriftHiveMetastore_drop_table_with_environment_context_args(const ThriftHiveMetastore_drop_table_with_environment_context_args&); ThriftHiveMetastore_drop_table_with_environment_context_args& operator=(const ThriftHiveMetastore_drop_table_with_environment_context_args&); ThriftHiveMetastore_drop_table_with_environment_context_args() : dbname(), name(), deleteData(0) { @@ -3281,16 +2980,12 @@ class ThriftHiveMetastore_drop_table_with_environment_context_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_with_environment_context_args& obj); }; class ThriftHiveMetastore_drop_table_with_environment_context_pargs { public: - static const char* ascii_fingerprint; // = "0ED75AC6CEC5A207447A701578264DA4"; - static const uint8_t binary_fingerprint[16]; // = {0x0E,0xD7,0x5A,0xC6,0xCE,0xC5,0xA2,0x07,0x44,0x7A,0x70,0x15,0x78,0x26,0x4D,0xA4}; - virtual ~ThriftHiveMetastore_drop_table_with_environment_context_pargs() throw(); const std::string* dbname; @@ -3300,7 +2995,6 @@ class ThriftHiveMetastore_drop_table_with_environment_context_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_with_environment_context_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_table_with_environment_context_result__isset { @@ -3312,9 +3006,6 @@ typedef struct _ThriftHiveMetastore_drop_table_with_environment_context_result__ class ThriftHiveMetastore_drop_table_with_environment_context_result { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - ThriftHiveMetastore_drop_table_with_environment_context_result(const ThriftHiveMetastore_drop_table_with_environment_context_result&); ThriftHiveMetastore_drop_table_with_environment_context_result& operator=(const ThriftHiveMetastore_drop_table_with_environment_context_result&); ThriftHiveMetastore_drop_table_with_environment_context_result() { @@ -3347,7 +3038,6 @@ class ThriftHiveMetastore_drop_table_with_environment_context_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_with_environment_context_result& obj); }; typedef struct _ThriftHiveMetastore_drop_table_with_environment_context_presult__isset { @@ -3359,9 +3049,6 @@ typedef struct _ThriftHiveMetastore_drop_table_with_environment_context_presult_ class ThriftHiveMetastore_drop_table_with_environment_context_presult { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_drop_table_with_environment_context_presult() throw(); NoSuchObjectException o1; @@ -3371,7 +3058,6 @@ class ThriftHiveMetastore_drop_table_with_environment_context_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_table_with_environment_context_presult& obj); }; typedef struct _ThriftHiveMetastore_get_tables_args__isset { @@ -3383,9 +3069,6 @@ typedef struct _ThriftHiveMetastore_get_tables_args__isset { class ThriftHiveMetastore_get_tables_args { public: - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - ThriftHiveMetastore_get_tables_args(const ThriftHiveMetastore_get_tables_args&); ThriftHiveMetastore_get_tables_args& operator=(const ThriftHiveMetastore_get_tables_args&); ThriftHiveMetastore_get_tables_args() : db_name(), pattern() { @@ -3418,16 +3101,12 @@ class ThriftHiveMetastore_get_tables_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_tables_args& obj); }; class ThriftHiveMetastore_get_tables_pargs { public: - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - virtual ~ThriftHiveMetastore_get_tables_pargs() throw(); const std::string* db_name; @@ -3435,7 +3114,6 @@ class ThriftHiveMetastore_get_tables_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_tables_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_tables_result__isset { @@ -3447,9 +3125,6 @@ typedef struct _ThriftHiveMetastore_get_tables_result__isset { class ThriftHiveMetastore_get_tables_result { public: - static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; - static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - ThriftHiveMetastore_get_tables_result(const ThriftHiveMetastore_get_tables_result&); ThriftHiveMetastore_get_tables_result& operator=(const ThriftHiveMetastore_get_tables_result&); ThriftHiveMetastore_get_tables_result() { @@ -3482,7 +3157,6 @@ class ThriftHiveMetastore_get_tables_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_tables_result& obj); }; typedef struct _ThriftHiveMetastore_get_tables_presult__isset { @@ -3494,9 +3168,6 @@ typedef struct _ThriftHiveMetastore_get_tables_presult__isset { class ThriftHiveMetastore_get_tables_presult { public: - static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; - static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - virtual ~ThriftHiveMetastore_get_tables_presult() throw(); std::vector * success; @@ -3506,7 +3177,6 @@ class ThriftHiveMetastore_get_tables_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_tables_presult& obj); }; typedef struct _ThriftHiveMetastore_get_all_tables_args__isset { @@ -3517,9 +3187,6 @@ typedef struct _ThriftHiveMetastore_get_all_tables_args__isset { class ThriftHiveMetastore_get_all_tables_args { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - ThriftHiveMetastore_get_all_tables_args(const ThriftHiveMetastore_get_all_tables_args&); ThriftHiveMetastore_get_all_tables_args& operator=(const ThriftHiveMetastore_get_all_tables_args&); ThriftHiveMetastore_get_all_tables_args() : db_name() { @@ -3547,23 +3214,18 @@ class ThriftHiveMetastore_get_all_tables_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_tables_args& obj); }; class ThriftHiveMetastore_get_all_tables_pargs { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_get_all_tables_pargs() throw(); const std::string* db_name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_tables_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_all_tables_result__isset { @@ -3575,9 +3237,6 @@ typedef struct _ThriftHiveMetastore_get_all_tables_result__isset { class ThriftHiveMetastore_get_all_tables_result { public: - static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; - static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - ThriftHiveMetastore_get_all_tables_result(const ThriftHiveMetastore_get_all_tables_result&); ThriftHiveMetastore_get_all_tables_result& operator=(const ThriftHiveMetastore_get_all_tables_result&); ThriftHiveMetastore_get_all_tables_result() { @@ -3610,7 +3269,6 @@ class ThriftHiveMetastore_get_all_tables_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_tables_result& obj); }; typedef struct _ThriftHiveMetastore_get_all_tables_presult__isset { @@ -3622,9 +3280,6 @@ typedef struct _ThriftHiveMetastore_get_all_tables_presult__isset { class ThriftHiveMetastore_get_all_tables_presult { public: - static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; - static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - virtual ~ThriftHiveMetastore_get_all_tables_presult() throw(); std::vector * success; @@ -3634,7 +3289,6 @@ class ThriftHiveMetastore_get_all_tables_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_tables_presult& obj); }; typedef struct _ThriftHiveMetastore_get_table_args__isset { @@ -3646,9 +3300,6 @@ typedef struct _ThriftHiveMetastore_get_table_args__isset { class ThriftHiveMetastore_get_table_args { public: - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - ThriftHiveMetastore_get_table_args(const ThriftHiveMetastore_get_table_args&); ThriftHiveMetastore_get_table_args& operator=(const ThriftHiveMetastore_get_table_args&); ThriftHiveMetastore_get_table_args() : dbname(), tbl_name() { @@ -3681,16 +3332,12 @@ class ThriftHiveMetastore_get_table_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_args& obj); }; class ThriftHiveMetastore_get_table_pargs { public: - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - virtual ~ThriftHiveMetastore_get_table_pargs() throw(); const std::string* dbname; @@ -3698,7 +3345,6 @@ class ThriftHiveMetastore_get_table_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_table_result__isset { @@ -3711,9 +3357,6 @@ typedef struct _ThriftHiveMetastore_get_table_result__isset { class ThriftHiveMetastore_get_table_result { public: - static const char* ascii_fingerprint; // = "5A4F58BE0D70BCECE999677432BFE5A4"; - static const uint8_t binary_fingerprint[16]; // = {0x5A,0x4F,0x58,0xBE,0x0D,0x70,0xBC,0xEC,0xE9,0x99,0x67,0x74,0x32,0xBF,0xE5,0xA4}; - ThriftHiveMetastore_get_table_result(const ThriftHiveMetastore_get_table_result&); ThriftHiveMetastore_get_table_result& operator=(const ThriftHiveMetastore_get_table_result&); ThriftHiveMetastore_get_table_result() { @@ -3751,7 +3394,6 @@ class ThriftHiveMetastore_get_table_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_result& obj); }; typedef struct _ThriftHiveMetastore_get_table_presult__isset { @@ -3764,9 +3406,6 @@ typedef struct _ThriftHiveMetastore_get_table_presult__isset { class ThriftHiveMetastore_get_table_presult { public: - static const char* ascii_fingerprint; // = "5A4F58BE0D70BCECE999677432BFE5A4"; - static const uint8_t binary_fingerprint[16]; // = {0x5A,0x4F,0x58,0xBE,0x0D,0x70,0xBC,0xEC,0xE9,0x99,0x67,0x74,0x32,0xBF,0xE5,0xA4}; - virtual ~ThriftHiveMetastore_get_table_presult() throw(); Table* success; @@ -3777,7 +3416,6 @@ class ThriftHiveMetastore_get_table_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_presult& obj); }; typedef struct _ThriftHiveMetastore_get_table_objects_by_name_args__isset { @@ -3789,9 +3427,6 @@ typedef struct _ThriftHiveMetastore_get_table_objects_by_name_args__isset { class ThriftHiveMetastore_get_table_objects_by_name_args { public: - static const char* ascii_fingerprint; // = "25702B8D5E28AA39160F267DABBC8446"; - static const uint8_t binary_fingerprint[16]; // = {0x25,0x70,0x2B,0x8D,0x5E,0x28,0xAA,0x39,0x16,0x0F,0x26,0x7D,0xAB,0xBC,0x84,0x46}; - ThriftHiveMetastore_get_table_objects_by_name_args(const ThriftHiveMetastore_get_table_objects_by_name_args&); ThriftHiveMetastore_get_table_objects_by_name_args& operator=(const ThriftHiveMetastore_get_table_objects_by_name_args&); ThriftHiveMetastore_get_table_objects_by_name_args() : dbname() { @@ -3824,16 +3459,12 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_objects_by_name_args& obj); }; class ThriftHiveMetastore_get_table_objects_by_name_pargs { public: - static const char* ascii_fingerprint; // = "25702B8D5E28AA39160F267DABBC8446"; - static const uint8_t binary_fingerprint[16]; // = {0x25,0x70,0x2B,0x8D,0x5E,0x28,0xAA,0x39,0x16,0x0F,0x26,0x7D,0xAB,0xBC,0x84,0x46}; - virtual ~ThriftHiveMetastore_get_table_objects_by_name_pargs() throw(); const std::string* dbname; @@ -3841,7 +3472,6 @@ class ThriftHiveMetastore_get_table_objects_by_name_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_objects_by_name_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_table_objects_by_name_result__isset { @@ -3855,9 +3485,6 @@ typedef struct _ThriftHiveMetastore_get_table_objects_by_name_result__isset { class ThriftHiveMetastore_get_table_objects_by_name_result { public: - static const char* ascii_fingerprint; // = "CE94435B55EBFD9CDCC30B61FBCA4E92"; - static const uint8_t binary_fingerprint[16]; // = {0xCE,0x94,0x43,0x5B,0x55,0xEB,0xFD,0x9C,0xDC,0xC3,0x0B,0x61,0xFB,0xCA,0x4E,0x92}; - ThriftHiveMetastore_get_table_objects_by_name_result(const ThriftHiveMetastore_get_table_objects_by_name_result&); ThriftHiveMetastore_get_table_objects_by_name_result& operator=(const ThriftHiveMetastore_get_table_objects_by_name_result&); ThriftHiveMetastore_get_table_objects_by_name_result() { @@ -3900,7 +3527,6 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_objects_by_name_result& obj); }; typedef struct _ThriftHiveMetastore_get_table_objects_by_name_presult__isset { @@ -3914,9 +3540,6 @@ typedef struct _ThriftHiveMetastore_get_table_objects_by_name_presult__isset { class ThriftHiveMetastore_get_table_objects_by_name_presult { public: - static const char* ascii_fingerprint; // = "CE94435B55EBFD9CDCC30B61FBCA4E92"; - static const uint8_t binary_fingerprint[16]; // = {0xCE,0x94,0x43,0x5B,0x55,0xEB,0xFD,0x9C,0xDC,0xC3,0x0B,0x61,0xFB,0xCA,0x4E,0x92}; - virtual ~ThriftHiveMetastore_get_table_objects_by_name_presult() throw(); std::vector
* success; @@ -3928,7 +3551,6 @@ class ThriftHiveMetastore_get_table_objects_by_name_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_objects_by_name_presult& obj); }; typedef struct _ThriftHiveMetastore_get_table_names_by_filter_args__isset { @@ -3941,9 +3563,6 @@ typedef struct _ThriftHiveMetastore_get_table_names_by_filter_args__isset { class ThriftHiveMetastore_get_table_names_by_filter_args { public: - static const char* ascii_fingerprint; // = "52F7D5E8217C4B8FC14F1F30BF2EB41C"; - static const uint8_t binary_fingerprint[16]; // = {0x52,0xF7,0xD5,0xE8,0x21,0x7C,0x4B,0x8F,0xC1,0x4F,0x1F,0x30,0xBF,0x2E,0xB4,0x1C}; - ThriftHiveMetastore_get_table_names_by_filter_args(const ThriftHiveMetastore_get_table_names_by_filter_args&); ThriftHiveMetastore_get_table_names_by_filter_args& operator=(const ThriftHiveMetastore_get_table_names_by_filter_args&); ThriftHiveMetastore_get_table_names_by_filter_args() : dbname(), filter(), max_tables(-1) { @@ -3981,16 +3600,12 @@ class ThriftHiveMetastore_get_table_names_by_filter_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_names_by_filter_args& obj); }; class ThriftHiveMetastore_get_table_names_by_filter_pargs { public: - static const char* ascii_fingerprint; // = "52F7D5E8217C4B8FC14F1F30BF2EB41C"; - static const uint8_t binary_fingerprint[16]; // = {0x52,0xF7,0xD5,0xE8,0x21,0x7C,0x4B,0x8F,0xC1,0x4F,0x1F,0x30,0xBF,0x2E,0xB4,0x1C}; - virtual ~ThriftHiveMetastore_get_table_names_by_filter_pargs() throw(); const std::string* dbname; @@ -3999,7 +3614,6 @@ class ThriftHiveMetastore_get_table_names_by_filter_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_names_by_filter_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_table_names_by_filter_result__isset { @@ -4013,9 +3627,6 @@ typedef struct _ThriftHiveMetastore_get_table_names_by_filter_result__isset { class ThriftHiveMetastore_get_table_names_by_filter_result { public: - static const char* ascii_fingerprint; // = "1A22B93AE2F8EC65600D067A19CEEE95"; - static const uint8_t binary_fingerprint[16]; // = {0x1A,0x22,0xB9,0x3A,0xE2,0xF8,0xEC,0x65,0x60,0x0D,0x06,0x7A,0x19,0xCE,0xEE,0x95}; - ThriftHiveMetastore_get_table_names_by_filter_result(const ThriftHiveMetastore_get_table_names_by_filter_result&); ThriftHiveMetastore_get_table_names_by_filter_result& operator=(const ThriftHiveMetastore_get_table_names_by_filter_result&); ThriftHiveMetastore_get_table_names_by_filter_result() { @@ -4058,7 +3669,6 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_names_by_filter_result& obj); }; typedef struct _ThriftHiveMetastore_get_table_names_by_filter_presult__isset { @@ -4072,9 +3682,6 @@ typedef struct _ThriftHiveMetastore_get_table_names_by_filter_presult__isset { class ThriftHiveMetastore_get_table_names_by_filter_presult { public: - static const char* ascii_fingerprint; // = "1A22B93AE2F8EC65600D067A19CEEE95"; - static const uint8_t binary_fingerprint[16]; // = {0x1A,0x22,0xB9,0x3A,0xE2,0xF8,0xEC,0x65,0x60,0x0D,0x06,0x7A,0x19,0xCE,0xEE,0x95}; - virtual ~ThriftHiveMetastore_get_table_names_by_filter_presult() throw(); std::vector * success; @@ -4086,7 +3693,6 @@ class ThriftHiveMetastore_get_table_names_by_filter_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_names_by_filter_presult& obj); }; typedef struct _ThriftHiveMetastore_alter_table_args__isset { @@ -4099,9 +3705,6 @@ typedef struct _ThriftHiveMetastore_alter_table_args__isset { class ThriftHiveMetastore_alter_table_args { public: - static const char* ascii_fingerprint; // = "45DE8DCE89D06DFF84837CFEB78A1302"; - static const uint8_t binary_fingerprint[16]; // = {0x45,0xDE,0x8D,0xCE,0x89,0xD0,0x6D,0xFF,0x84,0x83,0x7C,0xFE,0xB7,0x8A,0x13,0x02}; - ThriftHiveMetastore_alter_table_args(const ThriftHiveMetastore_alter_table_args&); ThriftHiveMetastore_alter_table_args& operator=(const ThriftHiveMetastore_alter_table_args&); ThriftHiveMetastore_alter_table_args() : dbname(), tbl_name() { @@ -4139,16 +3742,12 @@ class ThriftHiveMetastore_alter_table_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_args& obj); }; class ThriftHiveMetastore_alter_table_pargs { public: - static const char* ascii_fingerprint; // = "45DE8DCE89D06DFF84837CFEB78A1302"; - static const uint8_t binary_fingerprint[16]; // = {0x45,0xDE,0x8D,0xCE,0x89,0xD0,0x6D,0xFF,0x84,0x83,0x7C,0xFE,0xB7,0x8A,0x13,0x02}; - virtual ~ThriftHiveMetastore_alter_table_pargs() throw(); const std::string* dbname; @@ -4157,7 +3756,6 @@ class ThriftHiveMetastore_alter_table_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_pargs& obj); }; typedef struct _ThriftHiveMetastore_alter_table_result__isset { @@ -4169,9 +3767,6 @@ typedef struct _ThriftHiveMetastore_alter_table_result__isset { class ThriftHiveMetastore_alter_table_result { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - ThriftHiveMetastore_alter_table_result(const ThriftHiveMetastore_alter_table_result&); ThriftHiveMetastore_alter_table_result& operator=(const ThriftHiveMetastore_alter_table_result&); ThriftHiveMetastore_alter_table_result() { @@ -4204,7 +3799,6 @@ class ThriftHiveMetastore_alter_table_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_result& obj); }; typedef struct _ThriftHiveMetastore_alter_table_presult__isset { @@ -4216,9 +3810,6 @@ typedef struct _ThriftHiveMetastore_alter_table_presult__isset { class ThriftHiveMetastore_alter_table_presult { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_alter_table_presult() throw(); InvalidOperationException o1; @@ -4228,7 +3819,6 @@ class ThriftHiveMetastore_alter_table_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_presult& obj); }; typedef struct _ThriftHiveMetastore_alter_table_with_environment_context_args__isset { @@ -4242,9 +3832,6 @@ typedef struct _ThriftHiveMetastore_alter_table_with_environment_context_args__i class ThriftHiveMetastore_alter_table_with_environment_context_args { public: - static const char* ascii_fingerprint; // = "EB4DBB36F7C55D5ACD7A5DEB3C443E72"; - static const uint8_t binary_fingerprint[16]; // = {0xEB,0x4D,0xBB,0x36,0xF7,0xC5,0x5D,0x5A,0xCD,0x7A,0x5D,0xEB,0x3C,0x44,0x3E,0x72}; - ThriftHiveMetastore_alter_table_with_environment_context_args(const ThriftHiveMetastore_alter_table_with_environment_context_args&); ThriftHiveMetastore_alter_table_with_environment_context_args& operator=(const ThriftHiveMetastore_alter_table_with_environment_context_args&); ThriftHiveMetastore_alter_table_with_environment_context_args() : dbname(), tbl_name() { @@ -4287,16 +3874,12 @@ class ThriftHiveMetastore_alter_table_with_environment_context_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_with_environment_context_args& obj); }; class ThriftHiveMetastore_alter_table_with_environment_context_pargs { public: - static const char* ascii_fingerprint; // = "EB4DBB36F7C55D5ACD7A5DEB3C443E72"; - static const uint8_t binary_fingerprint[16]; // = {0xEB,0x4D,0xBB,0x36,0xF7,0xC5,0x5D,0x5A,0xCD,0x7A,0x5D,0xEB,0x3C,0x44,0x3E,0x72}; - virtual ~ThriftHiveMetastore_alter_table_with_environment_context_pargs() throw(); const std::string* dbname; @@ -4306,7 +3889,6 @@ class ThriftHiveMetastore_alter_table_with_environment_context_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_with_environment_context_pargs& obj); }; typedef struct _ThriftHiveMetastore_alter_table_with_environment_context_result__isset { @@ -4318,9 +3900,6 @@ typedef struct _ThriftHiveMetastore_alter_table_with_environment_context_result_ class ThriftHiveMetastore_alter_table_with_environment_context_result { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - ThriftHiveMetastore_alter_table_with_environment_context_result(const ThriftHiveMetastore_alter_table_with_environment_context_result&); ThriftHiveMetastore_alter_table_with_environment_context_result& operator=(const ThriftHiveMetastore_alter_table_with_environment_context_result&); ThriftHiveMetastore_alter_table_with_environment_context_result() { @@ -4353,7 +3932,6 @@ class ThriftHiveMetastore_alter_table_with_environment_context_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_with_environment_context_result& obj); }; typedef struct _ThriftHiveMetastore_alter_table_with_environment_context_presult__isset { @@ -4365,9 +3943,6 @@ typedef struct _ThriftHiveMetastore_alter_table_with_environment_context_presult class ThriftHiveMetastore_alter_table_with_environment_context_presult { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_alter_table_with_environment_context_presult() throw(); InvalidOperationException o1; @@ -4377,7 +3952,6 @@ class ThriftHiveMetastore_alter_table_with_environment_context_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_with_environment_context_presult& obj); }; typedef struct _ThriftHiveMetastore_alter_table_with_cascade_args__isset { @@ -4391,9 +3965,6 @@ typedef struct _ThriftHiveMetastore_alter_table_with_cascade_args__isset { class ThriftHiveMetastore_alter_table_with_cascade_args { public: - static const char* ascii_fingerprint; // = "BC478AB940893784952049DAF4B368A1"; - static const uint8_t binary_fingerprint[16]; // = {0xBC,0x47,0x8A,0xB9,0x40,0x89,0x37,0x84,0x95,0x20,0x49,0xDA,0xF4,0xB3,0x68,0xA1}; - ThriftHiveMetastore_alter_table_with_cascade_args(const ThriftHiveMetastore_alter_table_with_cascade_args&); ThriftHiveMetastore_alter_table_with_cascade_args& operator=(const ThriftHiveMetastore_alter_table_with_cascade_args&); ThriftHiveMetastore_alter_table_with_cascade_args() : dbname(), tbl_name(), cascade(0) { @@ -4436,16 +4007,12 @@ class ThriftHiveMetastore_alter_table_with_cascade_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_with_cascade_args& obj); }; class ThriftHiveMetastore_alter_table_with_cascade_pargs { public: - static const char* ascii_fingerprint; // = "BC478AB940893784952049DAF4B368A1"; - static const uint8_t binary_fingerprint[16]; // = {0xBC,0x47,0x8A,0xB9,0x40,0x89,0x37,0x84,0x95,0x20,0x49,0xDA,0xF4,0xB3,0x68,0xA1}; - virtual ~ThriftHiveMetastore_alter_table_with_cascade_pargs() throw(); const std::string* dbname; @@ -4455,7 +4022,6 @@ class ThriftHiveMetastore_alter_table_with_cascade_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_with_cascade_pargs& obj); }; typedef struct _ThriftHiveMetastore_alter_table_with_cascade_result__isset { @@ -4467,9 +4033,6 @@ typedef struct _ThriftHiveMetastore_alter_table_with_cascade_result__isset { class ThriftHiveMetastore_alter_table_with_cascade_result { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - ThriftHiveMetastore_alter_table_with_cascade_result(const ThriftHiveMetastore_alter_table_with_cascade_result&); ThriftHiveMetastore_alter_table_with_cascade_result& operator=(const ThriftHiveMetastore_alter_table_with_cascade_result&); ThriftHiveMetastore_alter_table_with_cascade_result() { @@ -4502,7 +4065,6 @@ class ThriftHiveMetastore_alter_table_with_cascade_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_with_cascade_result& obj); }; typedef struct _ThriftHiveMetastore_alter_table_with_cascade_presult__isset { @@ -4514,9 +4076,6 @@ typedef struct _ThriftHiveMetastore_alter_table_with_cascade_presult__isset { class ThriftHiveMetastore_alter_table_with_cascade_presult { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_alter_table_with_cascade_presult() throw(); InvalidOperationException o1; @@ -4526,7 +4085,6 @@ class ThriftHiveMetastore_alter_table_with_cascade_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_table_with_cascade_presult& obj); }; typedef struct _ThriftHiveMetastore_add_partition_args__isset { @@ -4537,9 +4095,6 @@ typedef struct _ThriftHiveMetastore_add_partition_args__isset { class ThriftHiveMetastore_add_partition_args { public: - static const char* ascii_fingerprint; // = "F5444A7689497C86E64C580BAEB32527"; - static const uint8_t binary_fingerprint[16]; // = {0xF5,0x44,0x4A,0x76,0x89,0x49,0x7C,0x86,0xE6,0x4C,0x58,0x0B,0xAE,0xB3,0x25,0x27}; - ThriftHiveMetastore_add_partition_args(const ThriftHiveMetastore_add_partition_args&); ThriftHiveMetastore_add_partition_args& operator=(const ThriftHiveMetastore_add_partition_args&); ThriftHiveMetastore_add_partition_args() { @@ -4567,23 +4122,18 @@ class ThriftHiveMetastore_add_partition_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partition_args& obj); }; class ThriftHiveMetastore_add_partition_pargs { public: - static const char* ascii_fingerprint; // = "F5444A7689497C86E64C580BAEB32527"; - static const uint8_t binary_fingerprint[16]; // = {0xF5,0x44,0x4A,0x76,0x89,0x49,0x7C,0x86,0xE6,0x4C,0x58,0x0B,0xAE,0xB3,0x25,0x27}; - virtual ~ThriftHiveMetastore_add_partition_pargs() throw(); const Partition* new_part; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partition_pargs& obj); }; typedef struct _ThriftHiveMetastore_add_partition_result__isset { @@ -4597,9 +4147,6 @@ typedef struct _ThriftHiveMetastore_add_partition_result__isset { class ThriftHiveMetastore_add_partition_result { public: - static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; - static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; - ThriftHiveMetastore_add_partition_result(const ThriftHiveMetastore_add_partition_result&); ThriftHiveMetastore_add_partition_result& operator=(const ThriftHiveMetastore_add_partition_result&); ThriftHiveMetastore_add_partition_result() { @@ -4642,7 +4189,6 @@ class ThriftHiveMetastore_add_partition_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partition_result& obj); }; typedef struct _ThriftHiveMetastore_add_partition_presult__isset { @@ -4656,9 +4202,6 @@ typedef struct _ThriftHiveMetastore_add_partition_presult__isset { class ThriftHiveMetastore_add_partition_presult { public: - static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; - static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; - virtual ~ThriftHiveMetastore_add_partition_presult() throw(); Partition* success; @@ -4670,7 +4213,6 @@ class ThriftHiveMetastore_add_partition_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partition_presult& obj); }; typedef struct _ThriftHiveMetastore_add_partition_with_environment_context_args__isset { @@ -4682,9 +4224,6 @@ typedef struct _ThriftHiveMetastore_add_partition_with_environment_context_args_ class ThriftHiveMetastore_add_partition_with_environment_context_args { public: - static const char* ascii_fingerprint; // = "24928BFE56AA2AF75431FDB106AACAB2"; - static const uint8_t binary_fingerprint[16]; // = {0x24,0x92,0x8B,0xFE,0x56,0xAA,0x2A,0xF7,0x54,0x31,0xFD,0xB1,0x06,0xAA,0xCA,0xB2}; - ThriftHiveMetastore_add_partition_with_environment_context_args(const ThriftHiveMetastore_add_partition_with_environment_context_args&); ThriftHiveMetastore_add_partition_with_environment_context_args& operator=(const ThriftHiveMetastore_add_partition_with_environment_context_args&); ThriftHiveMetastore_add_partition_with_environment_context_args() { @@ -4717,16 +4256,12 @@ class ThriftHiveMetastore_add_partition_with_environment_context_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partition_with_environment_context_args& obj); }; class ThriftHiveMetastore_add_partition_with_environment_context_pargs { public: - static const char* ascii_fingerprint; // = "24928BFE56AA2AF75431FDB106AACAB2"; - static const uint8_t binary_fingerprint[16]; // = {0x24,0x92,0x8B,0xFE,0x56,0xAA,0x2A,0xF7,0x54,0x31,0xFD,0xB1,0x06,0xAA,0xCA,0xB2}; - virtual ~ThriftHiveMetastore_add_partition_with_environment_context_pargs() throw(); const Partition* new_part; @@ -4734,7 +4269,6 @@ class ThriftHiveMetastore_add_partition_with_environment_context_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partition_with_environment_context_pargs& obj); }; typedef struct _ThriftHiveMetastore_add_partition_with_environment_context_result__isset { @@ -4748,9 +4282,6 @@ typedef struct _ThriftHiveMetastore_add_partition_with_environment_context_resul class ThriftHiveMetastore_add_partition_with_environment_context_result { public: - static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; - static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; - ThriftHiveMetastore_add_partition_with_environment_context_result(const ThriftHiveMetastore_add_partition_with_environment_context_result&); ThriftHiveMetastore_add_partition_with_environment_context_result& operator=(const ThriftHiveMetastore_add_partition_with_environment_context_result&); ThriftHiveMetastore_add_partition_with_environment_context_result() { @@ -4793,7 +4324,6 @@ class ThriftHiveMetastore_add_partition_with_environment_context_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partition_with_environment_context_result& obj); }; typedef struct _ThriftHiveMetastore_add_partition_with_environment_context_presult__isset { @@ -4807,9 +4337,6 @@ typedef struct _ThriftHiveMetastore_add_partition_with_environment_context_presu class ThriftHiveMetastore_add_partition_with_environment_context_presult { public: - static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; - static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; - virtual ~ThriftHiveMetastore_add_partition_with_environment_context_presult() throw(); Partition* success; @@ -4821,7 +4348,6 @@ class ThriftHiveMetastore_add_partition_with_environment_context_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partition_with_environment_context_presult& obj); }; typedef struct _ThriftHiveMetastore_add_partitions_args__isset { @@ -4832,9 +4358,6 @@ typedef struct _ThriftHiveMetastore_add_partitions_args__isset { class ThriftHiveMetastore_add_partitions_args { public: - static const char* ascii_fingerprint; // = "A048235CB9A257C8A74E3691BEFE0674"; - static const uint8_t binary_fingerprint[16]; // = {0xA0,0x48,0x23,0x5C,0xB9,0xA2,0x57,0xC8,0xA7,0x4E,0x36,0x91,0xBE,0xFE,0x06,0x74}; - ThriftHiveMetastore_add_partitions_args(const ThriftHiveMetastore_add_partitions_args&); ThriftHiveMetastore_add_partitions_args& operator=(const ThriftHiveMetastore_add_partitions_args&); ThriftHiveMetastore_add_partitions_args() { @@ -4862,23 +4385,18 @@ class ThriftHiveMetastore_add_partitions_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_args& obj); }; class ThriftHiveMetastore_add_partitions_pargs { public: - static const char* ascii_fingerprint; // = "A048235CB9A257C8A74E3691BEFE0674"; - static const uint8_t binary_fingerprint[16]; // = {0xA0,0x48,0x23,0x5C,0xB9,0xA2,0x57,0xC8,0xA7,0x4E,0x36,0x91,0xBE,0xFE,0x06,0x74}; - virtual ~ThriftHiveMetastore_add_partitions_pargs() throw(); const std::vector * new_parts; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_pargs& obj); }; typedef struct _ThriftHiveMetastore_add_partitions_result__isset { @@ -4892,9 +4410,6 @@ typedef struct _ThriftHiveMetastore_add_partitions_result__isset { class ThriftHiveMetastore_add_partitions_result { public: - static const char* ascii_fingerprint; // = "A8DF404A59E14B5F23CD3B54D6A25FB2"; - static const uint8_t binary_fingerprint[16]; // = {0xA8,0xDF,0x40,0x4A,0x59,0xE1,0x4B,0x5F,0x23,0xCD,0x3B,0x54,0xD6,0xA2,0x5F,0xB2}; - ThriftHiveMetastore_add_partitions_result(const ThriftHiveMetastore_add_partitions_result&); ThriftHiveMetastore_add_partitions_result& operator=(const ThriftHiveMetastore_add_partitions_result&); ThriftHiveMetastore_add_partitions_result() : success(0) { @@ -4937,7 +4452,6 @@ class ThriftHiveMetastore_add_partitions_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_result& obj); }; typedef struct _ThriftHiveMetastore_add_partitions_presult__isset { @@ -4951,9 +4465,6 @@ typedef struct _ThriftHiveMetastore_add_partitions_presult__isset { class ThriftHiveMetastore_add_partitions_presult { public: - static const char* ascii_fingerprint; // = "A8DF404A59E14B5F23CD3B54D6A25FB2"; - static const uint8_t binary_fingerprint[16]; // = {0xA8,0xDF,0x40,0x4A,0x59,0xE1,0x4B,0x5F,0x23,0xCD,0x3B,0x54,0xD6,0xA2,0x5F,0xB2}; - virtual ~ThriftHiveMetastore_add_partitions_presult() throw(); int32_t* success; @@ -4965,7 +4476,6 @@ class ThriftHiveMetastore_add_partitions_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_presult& obj); }; typedef struct _ThriftHiveMetastore_add_partitions_pspec_args__isset { @@ -4976,9 +4486,6 @@ typedef struct _ThriftHiveMetastore_add_partitions_pspec_args__isset { class ThriftHiveMetastore_add_partitions_pspec_args { public: - static const char* ascii_fingerprint; // = "2ECEF55070C86971F609ED920B644E09"; - static const uint8_t binary_fingerprint[16]; // = {0x2E,0xCE,0xF5,0x50,0x70,0xC8,0x69,0x71,0xF6,0x09,0xED,0x92,0x0B,0x64,0x4E,0x09}; - ThriftHiveMetastore_add_partitions_pspec_args(const ThriftHiveMetastore_add_partitions_pspec_args&); ThriftHiveMetastore_add_partitions_pspec_args& operator=(const ThriftHiveMetastore_add_partitions_pspec_args&); ThriftHiveMetastore_add_partitions_pspec_args() { @@ -5006,23 +4513,18 @@ class ThriftHiveMetastore_add_partitions_pspec_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_pspec_args& obj); }; class ThriftHiveMetastore_add_partitions_pspec_pargs { public: - static const char* ascii_fingerprint; // = "2ECEF55070C86971F609ED920B644E09"; - static const uint8_t binary_fingerprint[16]; // = {0x2E,0xCE,0xF5,0x50,0x70,0xC8,0x69,0x71,0xF6,0x09,0xED,0x92,0x0B,0x64,0x4E,0x09}; - virtual ~ThriftHiveMetastore_add_partitions_pspec_pargs() throw(); const std::vector * new_parts; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_pspec_pargs& obj); }; typedef struct _ThriftHiveMetastore_add_partitions_pspec_result__isset { @@ -5036,9 +4538,6 @@ typedef struct _ThriftHiveMetastore_add_partitions_pspec_result__isset { class ThriftHiveMetastore_add_partitions_pspec_result { public: - static const char* ascii_fingerprint; // = "A8DF404A59E14B5F23CD3B54D6A25FB2"; - static const uint8_t binary_fingerprint[16]; // = {0xA8,0xDF,0x40,0x4A,0x59,0xE1,0x4B,0x5F,0x23,0xCD,0x3B,0x54,0xD6,0xA2,0x5F,0xB2}; - ThriftHiveMetastore_add_partitions_pspec_result(const ThriftHiveMetastore_add_partitions_pspec_result&); ThriftHiveMetastore_add_partitions_pspec_result& operator=(const ThriftHiveMetastore_add_partitions_pspec_result&); ThriftHiveMetastore_add_partitions_pspec_result() : success(0) { @@ -5081,7 +4580,6 @@ class ThriftHiveMetastore_add_partitions_pspec_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_pspec_result& obj); }; typedef struct _ThriftHiveMetastore_add_partitions_pspec_presult__isset { @@ -5095,9 +4593,6 @@ typedef struct _ThriftHiveMetastore_add_partitions_pspec_presult__isset { class ThriftHiveMetastore_add_partitions_pspec_presult { public: - static const char* ascii_fingerprint; // = "A8DF404A59E14B5F23CD3B54D6A25FB2"; - static const uint8_t binary_fingerprint[16]; // = {0xA8,0xDF,0x40,0x4A,0x59,0xE1,0x4B,0x5F,0x23,0xCD,0x3B,0x54,0xD6,0xA2,0x5F,0xB2}; - virtual ~ThriftHiveMetastore_add_partitions_pspec_presult() throw(); int32_t* success; @@ -5109,7 +4604,6 @@ class ThriftHiveMetastore_add_partitions_pspec_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_pspec_presult& obj); }; typedef struct _ThriftHiveMetastore_append_partition_args__isset { @@ -5122,9 +4616,6 @@ typedef struct _ThriftHiveMetastore_append_partition_args__isset { class ThriftHiveMetastore_append_partition_args { public: - static const char* ascii_fingerprint; // = "8E2AD6401E83558ECFD6A13D74DD0A3F"; - static const uint8_t binary_fingerprint[16]; // = {0x8E,0x2A,0xD6,0x40,0x1E,0x83,0x55,0x8E,0xCF,0xD6,0xA1,0x3D,0x74,0xDD,0x0A,0x3F}; - ThriftHiveMetastore_append_partition_args(const ThriftHiveMetastore_append_partition_args&); ThriftHiveMetastore_append_partition_args& operator=(const ThriftHiveMetastore_append_partition_args&); ThriftHiveMetastore_append_partition_args() : db_name(), tbl_name() { @@ -5162,16 +4653,12 @@ class ThriftHiveMetastore_append_partition_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_args& obj); }; class ThriftHiveMetastore_append_partition_pargs { public: - static const char* ascii_fingerprint; // = "8E2AD6401E83558ECFD6A13D74DD0A3F"; - static const uint8_t binary_fingerprint[16]; // = {0x8E,0x2A,0xD6,0x40,0x1E,0x83,0x55,0x8E,0xCF,0xD6,0xA1,0x3D,0x74,0xDD,0x0A,0x3F}; - virtual ~ThriftHiveMetastore_append_partition_pargs() throw(); const std::string* db_name; @@ -5180,7 +4667,6 @@ class ThriftHiveMetastore_append_partition_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_pargs& obj); }; typedef struct _ThriftHiveMetastore_append_partition_result__isset { @@ -5194,9 +4680,6 @@ typedef struct _ThriftHiveMetastore_append_partition_result__isset { class ThriftHiveMetastore_append_partition_result { public: - static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; - static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; - ThriftHiveMetastore_append_partition_result(const ThriftHiveMetastore_append_partition_result&); ThriftHiveMetastore_append_partition_result& operator=(const ThriftHiveMetastore_append_partition_result&); ThriftHiveMetastore_append_partition_result() { @@ -5239,7 +4722,6 @@ class ThriftHiveMetastore_append_partition_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_result& obj); }; typedef struct _ThriftHiveMetastore_append_partition_presult__isset { @@ -5253,9 +4735,6 @@ typedef struct _ThriftHiveMetastore_append_partition_presult__isset { class ThriftHiveMetastore_append_partition_presult { public: - static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; - static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; - virtual ~ThriftHiveMetastore_append_partition_presult() throw(); Partition* success; @@ -5267,7 +4746,6 @@ class ThriftHiveMetastore_append_partition_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_presult& obj); }; typedef struct _ThriftHiveMetastore_add_partitions_req_args__isset { @@ -5278,9 +4756,6 @@ typedef struct _ThriftHiveMetastore_add_partitions_req_args__isset { class ThriftHiveMetastore_add_partitions_req_args { public: - static const char* ascii_fingerprint; // = "3EA418BCD4759F81DF13C49A7F8E9A4A"; - static const uint8_t binary_fingerprint[16]; // = {0x3E,0xA4,0x18,0xBC,0xD4,0x75,0x9F,0x81,0xDF,0x13,0xC4,0x9A,0x7F,0x8E,0x9A,0x4A}; - ThriftHiveMetastore_add_partitions_req_args(const ThriftHiveMetastore_add_partitions_req_args&); ThriftHiveMetastore_add_partitions_req_args& operator=(const ThriftHiveMetastore_add_partitions_req_args&); ThriftHiveMetastore_add_partitions_req_args() { @@ -5308,23 +4783,18 @@ class ThriftHiveMetastore_add_partitions_req_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_req_args& obj); }; class ThriftHiveMetastore_add_partitions_req_pargs { public: - static const char* ascii_fingerprint; // = "3EA418BCD4759F81DF13C49A7F8E9A4A"; - static const uint8_t binary_fingerprint[16]; // = {0x3E,0xA4,0x18,0xBC,0xD4,0x75,0x9F,0x81,0xDF,0x13,0xC4,0x9A,0x7F,0x8E,0x9A,0x4A}; - virtual ~ThriftHiveMetastore_add_partitions_req_pargs() throw(); const AddPartitionsRequest* request; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_req_pargs& obj); }; typedef struct _ThriftHiveMetastore_add_partitions_req_result__isset { @@ -5338,9 +4808,6 @@ typedef struct _ThriftHiveMetastore_add_partitions_req_result__isset { class ThriftHiveMetastore_add_partitions_req_result { public: - static const char* ascii_fingerprint; // = "AB3E87CB19D96319B6FFA521E7ADE781"; - static const uint8_t binary_fingerprint[16]; // = {0xAB,0x3E,0x87,0xCB,0x19,0xD9,0x63,0x19,0xB6,0xFF,0xA5,0x21,0xE7,0xAD,0xE7,0x81}; - ThriftHiveMetastore_add_partitions_req_result(const ThriftHiveMetastore_add_partitions_req_result&); ThriftHiveMetastore_add_partitions_req_result& operator=(const ThriftHiveMetastore_add_partitions_req_result&); ThriftHiveMetastore_add_partitions_req_result() { @@ -5383,7 +4850,6 @@ class ThriftHiveMetastore_add_partitions_req_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_req_result& obj); }; typedef struct _ThriftHiveMetastore_add_partitions_req_presult__isset { @@ -5397,9 +4863,6 @@ typedef struct _ThriftHiveMetastore_add_partitions_req_presult__isset { class ThriftHiveMetastore_add_partitions_req_presult { public: - static const char* ascii_fingerprint; // = "AB3E87CB19D96319B6FFA521E7ADE781"; - static const uint8_t binary_fingerprint[16]; // = {0xAB,0x3E,0x87,0xCB,0x19,0xD9,0x63,0x19,0xB6,0xFF,0xA5,0x21,0xE7,0xAD,0xE7,0x81}; - virtual ~ThriftHiveMetastore_add_partitions_req_presult() throw(); AddPartitionsResult* success; @@ -5411,7 +4874,6 @@ class ThriftHiveMetastore_add_partitions_req_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_partitions_req_presult& obj); }; typedef struct _ThriftHiveMetastore_append_partition_with_environment_context_args__isset { @@ -5425,9 +4887,6 @@ typedef struct _ThriftHiveMetastore_append_partition_with_environment_context_ar class ThriftHiveMetastore_append_partition_with_environment_context_args { public: - static const char* ascii_fingerprint; // = "592145D593BCF8C09E7E04A61124F80C"; - static const uint8_t binary_fingerprint[16]; // = {0x59,0x21,0x45,0xD5,0x93,0xBC,0xF8,0xC0,0x9E,0x7E,0x04,0xA6,0x11,0x24,0xF8,0x0C}; - ThriftHiveMetastore_append_partition_with_environment_context_args(const ThriftHiveMetastore_append_partition_with_environment_context_args&); ThriftHiveMetastore_append_partition_with_environment_context_args& operator=(const ThriftHiveMetastore_append_partition_with_environment_context_args&); ThriftHiveMetastore_append_partition_with_environment_context_args() : db_name(), tbl_name() { @@ -5470,16 +4929,12 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_with_environment_context_args& obj); }; class ThriftHiveMetastore_append_partition_with_environment_context_pargs { public: - static const char* ascii_fingerprint; // = "592145D593BCF8C09E7E04A61124F80C"; - static const uint8_t binary_fingerprint[16]; // = {0x59,0x21,0x45,0xD5,0x93,0xBC,0xF8,0xC0,0x9E,0x7E,0x04,0xA6,0x11,0x24,0xF8,0x0C}; - virtual ~ThriftHiveMetastore_append_partition_with_environment_context_pargs() throw(); const std::string* db_name; @@ -5489,7 +4944,6 @@ class ThriftHiveMetastore_append_partition_with_environment_context_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_with_environment_context_pargs& obj); }; typedef struct _ThriftHiveMetastore_append_partition_with_environment_context_result__isset { @@ -5503,9 +4957,6 @@ typedef struct _ThriftHiveMetastore_append_partition_with_environment_context_re class ThriftHiveMetastore_append_partition_with_environment_context_result { public: - static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; - static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; - ThriftHiveMetastore_append_partition_with_environment_context_result(const ThriftHiveMetastore_append_partition_with_environment_context_result&); ThriftHiveMetastore_append_partition_with_environment_context_result& operator=(const ThriftHiveMetastore_append_partition_with_environment_context_result&); ThriftHiveMetastore_append_partition_with_environment_context_result() { @@ -5548,7 +4999,6 @@ class ThriftHiveMetastore_append_partition_with_environment_context_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_with_environment_context_result& obj); }; typedef struct _ThriftHiveMetastore_append_partition_with_environment_context_presult__isset { @@ -5562,9 +5012,6 @@ typedef struct _ThriftHiveMetastore_append_partition_with_environment_context_pr class ThriftHiveMetastore_append_partition_with_environment_context_presult { public: - static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; - static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; - virtual ~ThriftHiveMetastore_append_partition_with_environment_context_presult() throw(); Partition* success; @@ -5576,7 +5023,6 @@ class ThriftHiveMetastore_append_partition_with_environment_context_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_with_environment_context_presult& obj); }; typedef struct _ThriftHiveMetastore_append_partition_by_name_args__isset { @@ -5589,9 +5035,6 @@ typedef struct _ThriftHiveMetastore_append_partition_by_name_args__isset { class ThriftHiveMetastore_append_partition_by_name_args { public: - static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271"; - static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; - ThriftHiveMetastore_append_partition_by_name_args(const ThriftHiveMetastore_append_partition_by_name_args&); ThriftHiveMetastore_append_partition_by_name_args& operator=(const ThriftHiveMetastore_append_partition_by_name_args&); ThriftHiveMetastore_append_partition_by_name_args() : db_name(), tbl_name(), part_name() { @@ -5629,16 +5072,12 @@ class ThriftHiveMetastore_append_partition_by_name_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_by_name_args& obj); }; class ThriftHiveMetastore_append_partition_by_name_pargs { public: - static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271"; - static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; - virtual ~ThriftHiveMetastore_append_partition_by_name_pargs() throw(); const std::string* db_name; @@ -5647,7 +5086,6 @@ class ThriftHiveMetastore_append_partition_by_name_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_by_name_pargs& obj); }; typedef struct _ThriftHiveMetastore_append_partition_by_name_result__isset { @@ -5661,9 +5099,6 @@ typedef struct _ThriftHiveMetastore_append_partition_by_name_result__isset { class ThriftHiveMetastore_append_partition_by_name_result { public: - static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; - static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; - ThriftHiveMetastore_append_partition_by_name_result(const ThriftHiveMetastore_append_partition_by_name_result&); ThriftHiveMetastore_append_partition_by_name_result& operator=(const ThriftHiveMetastore_append_partition_by_name_result&); ThriftHiveMetastore_append_partition_by_name_result() { @@ -5706,7 +5141,6 @@ class ThriftHiveMetastore_append_partition_by_name_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_by_name_result& obj); }; typedef struct _ThriftHiveMetastore_append_partition_by_name_presult__isset { @@ -5720,9 +5154,6 @@ typedef struct _ThriftHiveMetastore_append_partition_by_name_presult__isset { class ThriftHiveMetastore_append_partition_by_name_presult { public: - static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; - static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; - virtual ~ThriftHiveMetastore_append_partition_by_name_presult() throw(); Partition* success; @@ -5734,7 +5165,6 @@ class ThriftHiveMetastore_append_partition_by_name_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_by_name_presult& obj); }; typedef struct _ThriftHiveMetastore_append_partition_by_name_with_environment_context_args__isset { @@ -5748,9 +5178,6 @@ typedef struct _ThriftHiveMetastore_append_partition_by_name_with_environment_co class ThriftHiveMetastore_append_partition_by_name_with_environment_context_args { public: - static const char* ascii_fingerprint; // = "4C7C33DADFC48E61680A3964D657CB87"; - static const uint8_t binary_fingerprint[16]; // = {0x4C,0x7C,0x33,0xDA,0xDF,0xC4,0x8E,0x61,0x68,0x0A,0x39,0x64,0xD6,0x57,0xCB,0x87}; - ThriftHiveMetastore_append_partition_by_name_with_environment_context_args(const ThriftHiveMetastore_append_partition_by_name_with_environment_context_args&); ThriftHiveMetastore_append_partition_by_name_with_environment_context_args& operator=(const ThriftHiveMetastore_append_partition_by_name_with_environment_context_args&); ThriftHiveMetastore_append_partition_by_name_with_environment_context_args() : db_name(), tbl_name(), part_name() { @@ -5793,16 +5220,12 @@ class ThriftHiveMetastore_append_partition_by_name_with_environment_context_args uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_by_name_with_environment_context_args& obj); }; class ThriftHiveMetastore_append_partition_by_name_with_environment_context_pargs { public: - static const char* ascii_fingerprint; // = "4C7C33DADFC48E61680A3964D657CB87"; - static const uint8_t binary_fingerprint[16]; // = {0x4C,0x7C,0x33,0xDA,0xDF,0xC4,0x8E,0x61,0x68,0x0A,0x39,0x64,0xD6,0x57,0xCB,0x87}; - virtual ~ThriftHiveMetastore_append_partition_by_name_with_environment_context_pargs() throw(); const std::string* db_name; @@ -5812,7 +5235,6 @@ class ThriftHiveMetastore_append_partition_by_name_with_environment_context_parg uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_by_name_with_environment_context_pargs& obj); }; typedef struct _ThriftHiveMetastore_append_partition_by_name_with_environment_context_result__isset { @@ -5826,9 +5248,6 @@ typedef struct _ThriftHiveMetastore_append_partition_by_name_with_environment_co class ThriftHiveMetastore_append_partition_by_name_with_environment_context_result { public: - static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; - static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; - ThriftHiveMetastore_append_partition_by_name_with_environment_context_result(const ThriftHiveMetastore_append_partition_by_name_with_environment_context_result&); ThriftHiveMetastore_append_partition_by_name_with_environment_context_result& operator=(const ThriftHiveMetastore_append_partition_by_name_with_environment_context_result&); ThriftHiveMetastore_append_partition_by_name_with_environment_context_result() { @@ -5871,7 +5290,6 @@ class ThriftHiveMetastore_append_partition_by_name_with_environment_context_resu uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_by_name_with_environment_context_result& obj); }; typedef struct _ThriftHiveMetastore_append_partition_by_name_with_environment_context_presult__isset { @@ -5885,9 +5303,6 @@ typedef struct _ThriftHiveMetastore_append_partition_by_name_with_environment_co class ThriftHiveMetastore_append_partition_by_name_with_environment_context_presult { public: - static const char* ascii_fingerprint; // = "3F4DFAAB8B93880DD939F610024AF1BF"; - static const uint8_t binary_fingerprint[16]; // = {0x3F,0x4D,0xFA,0xAB,0x8B,0x93,0x88,0x0D,0xD9,0x39,0xF6,0x10,0x02,0x4A,0xF1,0xBF}; - virtual ~ThriftHiveMetastore_append_partition_by_name_with_environment_context_presult() throw(); Partition* success; @@ -5899,7 +5314,6 @@ class ThriftHiveMetastore_append_partition_by_name_with_environment_context_pres uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_append_partition_by_name_with_environment_context_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_args__isset { @@ -5913,9 +5327,6 @@ typedef struct _ThriftHiveMetastore_drop_partition_args__isset { class ThriftHiveMetastore_drop_partition_args { public: - static const char* ascii_fingerprint; // = "8222263D6AD664C570FA0215EE8D26A0"; - static const uint8_t binary_fingerprint[16]; // = {0x82,0x22,0x26,0x3D,0x6A,0xD6,0x64,0xC5,0x70,0xFA,0x02,0x15,0xEE,0x8D,0x26,0xA0}; - ThriftHiveMetastore_drop_partition_args(const ThriftHiveMetastore_drop_partition_args&); ThriftHiveMetastore_drop_partition_args& operator=(const ThriftHiveMetastore_drop_partition_args&); ThriftHiveMetastore_drop_partition_args() : db_name(), tbl_name(), deleteData(0) { @@ -5958,16 +5369,12 @@ class ThriftHiveMetastore_drop_partition_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_args& obj); }; class ThriftHiveMetastore_drop_partition_pargs { public: - static const char* ascii_fingerprint; // = "8222263D6AD664C570FA0215EE8D26A0"; - static const uint8_t binary_fingerprint[16]; // = {0x82,0x22,0x26,0x3D,0x6A,0xD6,0x64,0xC5,0x70,0xFA,0x02,0x15,0xEE,0x8D,0x26,0xA0}; - virtual ~ThriftHiveMetastore_drop_partition_pargs() throw(); const std::string* db_name; @@ -5977,7 +5384,6 @@ class ThriftHiveMetastore_drop_partition_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_result__isset { @@ -5990,9 +5396,6 @@ typedef struct _ThriftHiveMetastore_drop_partition_result__isset { class ThriftHiveMetastore_drop_partition_result { public: - static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; - static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; - ThriftHiveMetastore_drop_partition_result(const ThriftHiveMetastore_drop_partition_result&); ThriftHiveMetastore_drop_partition_result& operator=(const ThriftHiveMetastore_drop_partition_result&); ThriftHiveMetastore_drop_partition_result() : success(0) { @@ -6030,7 +5433,6 @@ class ThriftHiveMetastore_drop_partition_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_result& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_presult__isset { @@ -6043,9 +5445,6 @@ typedef struct _ThriftHiveMetastore_drop_partition_presult__isset { class ThriftHiveMetastore_drop_partition_presult { public: - static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; - static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; - virtual ~ThriftHiveMetastore_drop_partition_presult() throw(); bool* success; @@ -6056,7 +5455,6 @@ class ThriftHiveMetastore_drop_partition_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_with_environment_context_args__isset { @@ -6071,9 +5469,6 @@ typedef struct _ThriftHiveMetastore_drop_partition_with_environment_context_args class ThriftHiveMetastore_drop_partition_with_environment_context_args { public: - static const char* ascii_fingerprint; // = "718899EA1E33D9DB4318A4E3743041B5"; - static const uint8_t binary_fingerprint[16]; // = {0x71,0x88,0x99,0xEA,0x1E,0x33,0xD9,0xDB,0x43,0x18,0xA4,0xE3,0x74,0x30,0x41,0xB5}; - ThriftHiveMetastore_drop_partition_with_environment_context_args(const ThriftHiveMetastore_drop_partition_with_environment_context_args&); ThriftHiveMetastore_drop_partition_with_environment_context_args& operator=(const ThriftHiveMetastore_drop_partition_with_environment_context_args&); ThriftHiveMetastore_drop_partition_with_environment_context_args() : db_name(), tbl_name(), deleteData(0) { @@ -6121,16 +5516,12 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_with_environment_context_args& obj); }; class ThriftHiveMetastore_drop_partition_with_environment_context_pargs { public: - static const char* ascii_fingerprint; // = "718899EA1E33D9DB4318A4E3743041B5"; - static const uint8_t binary_fingerprint[16]; // = {0x71,0x88,0x99,0xEA,0x1E,0x33,0xD9,0xDB,0x43,0x18,0xA4,0xE3,0x74,0x30,0x41,0xB5}; - virtual ~ThriftHiveMetastore_drop_partition_with_environment_context_pargs() throw(); const std::string* db_name; @@ -6141,7 +5532,6 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_with_environment_context_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_with_environment_context_result__isset { @@ -6154,9 +5544,6 @@ typedef struct _ThriftHiveMetastore_drop_partition_with_environment_context_resu class ThriftHiveMetastore_drop_partition_with_environment_context_result { public: - static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; - static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; - ThriftHiveMetastore_drop_partition_with_environment_context_result(const ThriftHiveMetastore_drop_partition_with_environment_context_result&); ThriftHiveMetastore_drop_partition_with_environment_context_result& operator=(const ThriftHiveMetastore_drop_partition_with_environment_context_result&); ThriftHiveMetastore_drop_partition_with_environment_context_result() : success(0) { @@ -6194,7 +5581,6 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_with_environment_context_result& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_with_environment_context_presult__isset { @@ -6207,9 +5593,6 @@ typedef struct _ThriftHiveMetastore_drop_partition_with_environment_context_pres class ThriftHiveMetastore_drop_partition_with_environment_context_presult { public: - static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; - static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; - virtual ~ThriftHiveMetastore_drop_partition_with_environment_context_presult() throw(); bool* success; @@ -6220,7 +5603,6 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_with_environment_context_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_by_name_args__isset { @@ -6234,9 +5616,6 @@ typedef struct _ThriftHiveMetastore_drop_partition_by_name_args__isset { class ThriftHiveMetastore_drop_partition_by_name_args { public: - static const char* ascii_fingerprint; // = "557CE3E1F35DD5D74A3999FB1200CAB8"; - static const uint8_t binary_fingerprint[16]; // = {0x55,0x7C,0xE3,0xE1,0xF3,0x5D,0xD5,0xD7,0x4A,0x39,0x99,0xFB,0x12,0x00,0xCA,0xB8}; - ThriftHiveMetastore_drop_partition_by_name_args(const ThriftHiveMetastore_drop_partition_by_name_args&); ThriftHiveMetastore_drop_partition_by_name_args& operator=(const ThriftHiveMetastore_drop_partition_by_name_args&); ThriftHiveMetastore_drop_partition_by_name_args() : db_name(), tbl_name(), part_name(), deleteData(0) { @@ -6279,16 +5658,12 @@ class ThriftHiveMetastore_drop_partition_by_name_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_by_name_args& obj); }; class ThriftHiveMetastore_drop_partition_by_name_pargs { public: - static const char* ascii_fingerprint; // = "557CE3E1F35DD5D74A3999FB1200CAB8"; - static const uint8_t binary_fingerprint[16]; // = {0x55,0x7C,0xE3,0xE1,0xF3,0x5D,0xD5,0xD7,0x4A,0x39,0x99,0xFB,0x12,0x00,0xCA,0xB8}; - virtual ~ThriftHiveMetastore_drop_partition_by_name_pargs() throw(); const std::string* db_name; @@ -6298,7 +5673,6 @@ class ThriftHiveMetastore_drop_partition_by_name_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_by_name_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_by_name_result__isset { @@ -6311,9 +5685,6 @@ typedef struct _ThriftHiveMetastore_drop_partition_by_name_result__isset { class ThriftHiveMetastore_drop_partition_by_name_result { public: - static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; - static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; - ThriftHiveMetastore_drop_partition_by_name_result(const ThriftHiveMetastore_drop_partition_by_name_result&); ThriftHiveMetastore_drop_partition_by_name_result& operator=(const ThriftHiveMetastore_drop_partition_by_name_result&); ThriftHiveMetastore_drop_partition_by_name_result() : success(0) { @@ -6351,7 +5722,6 @@ class ThriftHiveMetastore_drop_partition_by_name_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_by_name_result& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_by_name_presult__isset { @@ -6364,9 +5734,6 @@ typedef struct _ThriftHiveMetastore_drop_partition_by_name_presult__isset { class ThriftHiveMetastore_drop_partition_by_name_presult { public: - static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; - static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; - virtual ~ThriftHiveMetastore_drop_partition_by_name_presult() throw(); bool* success; @@ -6377,7 +5744,6 @@ class ThriftHiveMetastore_drop_partition_by_name_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_by_name_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args__isset { @@ -6392,9 +5758,6 @@ typedef struct _ThriftHiveMetastore_drop_partition_by_name_with_environment_cont class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args { public: - static const char* ascii_fingerprint; // = "B1CAA0531B4466AF765CDC7D12D54533"; - static const uint8_t binary_fingerprint[16]; // = {0xB1,0xCA,0xA0,0x53,0x1B,0x44,0x66,0xAF,0x76,0x5C,0xDC,0x7D,0x12,0xD5,0x45,0x33}; - ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args(const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args&); ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args& operator=(const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args&); ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args() : db_name(), tbl_name(), part_name(), deleteData(0) { @@ -6442,16 +5805,12 @@ class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_args& obj); }; class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_pargs { public: - static const char* ascii_fingerprint; // = "B1CAA0531B4466AF765CDC7D12D54533"; - static const uint8_t binary_fingerprint[16]; // = {0xB1,0xCA,0xA0,0x53,0x1B,0x44,0x66,0xAF,0x76,0x5C,0xDC,0x7D,0x12,0xD5,0x45,0x33}; - virtual ~ThriftHiveMetastore_drop_partition_by_name_with_environment_context_pargs() throw(); const std::string* db_name; @@ -6462,7 +5821,6 @@ class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_pargs uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result__isset { @@ -6475,9 +5833,6 @@ typedef struct _ThriftHiveMetastore_drop_partition_by_name_with_environment_cont class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result { public: - static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; - static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; - ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result(const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result&); ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result& operator=(const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result&); ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result() : success(0) { @@ -6515,7 +5870,6 @@ class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_result& obj); }; typedef struct _ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presult__isset { @@ -6528,9 +5882,6 @@ typedef struct _ThriftHiveMetastore_drop_partition_by_name_with_environment_cont class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presult { public: - static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; - static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; - virtual ~ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presult() throw(); bool* success; @@ -6541,7 +5892,6 @@ class ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presul uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partition_by_name_with_environment_context_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_partitions_req_args__isset { @@ -6552,9 +5902,6 @@ typedef struct _ThriftHiveMetastore_drop_partitions_req_args__isset { class ThriftHiveMetastore_drop_partitions_req_args { public: - static const char* ascii_fingerprint; // = "1FE0193BCF98F9809B4F69740E3946F0"; - static const uint8_t binary_fingerprint[16]; // = {0x1F,0xE0,0x19,0x3B,0xCF,0x98,0xF9,0x80,0x9B,0x4F,0x69,0x74,0x0E,0x39,0x46,0xF0}; - ThriftHiveMetastore_drop_partitions_req_args(const ThriftHiveMetastore_drop_partitions_req_args&); ThriftHiveMetastore_drop_partitions_req_args& operator=(const ThriftHiveMetastore_drop_partitions_req_args&); ThriftHiveMetastore_drop_partitions_req_args() { @@ -6582,23 +5929,18 @@ class ThriftHiveMetastore_drop_partitions_req_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partitions_req_args& obj); }; class ThriftHiveMetastore_drop_partitions_req_pargs { public: - static const char* ascii_fingerprint; // = "1FE0193BCF98F9809B4F69740E3946F0"; - static const uint8_t binary_fingerprint[16]; // = {0x1F,0xE0,0x19,0x3B,0xCF,0x98,0xF9,0x80,0x9B,0x4F,0x69,0x74,0x0E,0x39,0x46,0xF0}; - virtual ~ThriftHiveMetastore_drop_partitions_req_pargs() throw(); const DropPartitionsRequest* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partitions_req_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_partitions_req_result__isset { @@ -6611,9 +5953,6 @@ typedef struct _ThriftHiveMetastore_drop_partitions_req_result__isset { class ThriftHiveMetastore_drop_partitions_req_result { public: - static const char* ascii_fingerprint; // = "F3D2F7B3EAE648736972C093DE1EC122"; - static const uint8_t binary_fingerprint[16]; // = {0xF3,0xD2,0xF7,0xB3,0xEA,0xE6,0x48,0x73,0x69,0x72,0xC0,0x93,0xDE,0x1E,0xC1,0x22}; - ThriftHiveMetastore_drop_partitions_req_result(const ThriftHiveMetastore_drop_partitions_req_result&); ThriftHiveMetastore_drop_partitions_req_result& operator=(const ThriftHiveMetastore_drop_partitions_req_result&); ThriftHiveMetastore_drop_partitions_req_result() { @@ -6651,7 +5990,6 @@ class ThriftHiveMetastore_drop_partitions_req_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partitions_req_result& obj); }; typedef struct _ThriftHiveMetastore_drop_partitions_req_presult__isset { @@ -6664,9 +6002,6 @@ typedef struct _ThriftHiveMetastore_drop_partitions_req_presult__isset { class ThriftHiveMetastore_drop_partitions_req_presult { public: - static const char* ascii_fingerprint; // = "F3D2F7B3EAE648736972C093DE1EC122"; - static const uint8_t binary_fingerprint[16]; // = {0xF3,0xD2,0xF7,0xB3,0xEA,0xE6,0x48,0x73,0x69,0x72,0xC0,0x93,0xDE,0x1E,0xC1,0x22}; - virtual ~ThriftHiveMetastore_drop_partitions_req_presult() throw(); DropPartitionsResult* success; @@ -6677,7 +6012,6 @@ class ThriftHiveMetastore_drop_partitions_req_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_partitions_req_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partition_args__isset { @@ -6690,9 +6024,6 @@ typedef struct _ThriftHiveMetastore_get_partition_args__isset { class ThriftHiveMetastore_get_partition_args { public: - static const char* ascii_fingerprint; // = "8E2AD6401E83558ECFD6A13D74DD0A3F"; - static const uint8_t binary_fingerprint[16]; // = {0x8E,0x2A,0xD6,0x40,0x1E,0x83,0x55,0x8E,0xCF,0xD6,0xA1,0x3D,0x74,0xDD,0x0A,0x3F}; - ThriftHiveMetastore_get_partition_args(const ThriftHiveMetastore_get_partition_args&); ThriftHiveMetastore_get_partition_args& operator=(const ThriftHiveMetastore_get_partition_args&); ThriftHiveMetastore_get_partition_args() : db_name(), tbl_name() { @@ -6730,16 +6061,12 @@ class ThriftHiveMetastore_get_partition_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_args& obj); }; class ThriftHiveMetastore_get_partition_pargs { public: - static const char* ascii_fingerprint; // = "8E2AD6401E83558ECFD6A13D74DD0A3F"; - static const uint8_t binary_fingerprint[16]; // = {0x8E,0x2A,0xD6,0x40,0x1E,0x83,0x55,0x8E,0xCF,0xD6,0xA1,0x3D,0x74,0xDD,0x0A,0x3F}; - virtual ~ThriftHiveMetastore_get_partition_pargs() throw(); const std::string* db_name; @@ -6748,7 +6075,6 @@ class ThriftHiveMetastore_get_partition_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partition_result__isset { @@ -6761,9 +6087,6 @@ typedef struct _ThriftHiveMetastore_get_partition_result__isset { class ThriftHiveMetastore_get_partition_result { public: - static const char* ascii_fingerprint; // = "6591CFEC63F6441E3EB54208B3348AB2"; - static const uint8_t binary_fingerprint[16]; // = {0x65,0x91,0xCF,0xEC,0x63,0xF6,0x44,0x1E,0x3E,0xB5,0x42,0x08,0xB3,0x34,0x8A,0xB2}; - ThriftHiveMetastore_get_partition_result(const ThriftHiveMetastore_get_partition_result&); ThriftHiveMetastore_get_partition_result& operator=(const ThriftHiveMetastore_get_partition_result&); ThriftHiveMetastore_get_partition_result() { @@ -6801,7 +6124,6 @@ class ThriftHiveMetastore_get_partition_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_result& obj); }; typedef struct _ThriftHiveMetastore_get_partition_presult__isset { @@ -6814,9 +6136,6 @@ typedef struct _ThriftHiveMetastore_get_partition_presult__isset { class ThriftHiveMetastore_get_partition_presult { public: - static const char* ascii_fingerprint; // = "6591CFEC63F6441E3EB54208B3348AB2"; - static const uint8_t binary_fingerprint[16]; // = {0x65,0x91,0xCF,0xEC,0x63,0xF6,0x44,0x1E,0x3E,0xB5,0x42,0x08,0xB3,0x34,0x8A,0xB2}; - virtual ~ThriftHiveMetastore_get_partition_presult() throw(); Partition* success; @@ -6827,7 +6146,6 @@ class ThriftHiveMetastore_get_partition_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_presult& obj); }; typedef struct _ThriftHiveMetastore_exchange_partition_args__isset { @@ -6842,9 +6160,6 @@ typedef struct _ThriftHiveMetastore_exchange_partition_args__isset { class ThriftHiveMetastore_exchange_partition_args { public: - static const char* ascii_fingerprint; // = "14D07CC2D6D857D1A741287E7A6EBF6E"; - static const uint8_t binary_fingerprint[16]; // = {0x14,0xD0,0x7C,0xC2,0xD6,0xD8,0x57,0xD1,0xA7,0x41,0x28,0x7E,0x7A,0x6E,0xBF,0x6E}; - ThriftHiveMetastore_exchange_partition_args(const ThriftHiveMetastore_exchange_partition_args&); ThriftHiveMetastore_exchange_partition_args& operator=(const ThriftHiveMetastore_exchange_partition_args&); ThriftHiveMetastore_exchange_partition_args() : source_db(), source_table_name(), dest_db(), dest_table_name() { @@ -6892,16 +6207,12 @@ class ThriftHiveMetastore_exchange_partition_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_exchange_partition_args& obj); }; class ThriftHiveMetastore_exchange_partition_pargs { public: - static const char* ascii_fingerprint; // = "14D07CC2D6D857D1A741287E7A6EBF6E"; - static const uint8_t binary_fingerprint[16]; // = {0x14,0xD0,0x7C,0xC2,0xD6,0xD8,0x57,0xD1,0xA7,0x41,0x28,0x7E,0x7A,0x6E,0xBF,0x6E}; - virtual ~ThriftHiveMetastore_exchange_partition_pargs() throw(); const std::map * partitionSpecs; @@ -6912,7 +6223,6 @@ class ThriftHiveMetastore_exchange_partition_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_exchange_partition_pargs& obj); }; typedef struct _ThriftHiveMetastore_exchange_partition_result__isset { @@ -6927,9 +6237,6 @@ typedef struct _ThriftHiveMetastore_exchange_partition_result__isset { class ThriftHiveMetastore_exchange_partition_result { public: - static const char* ascii_fingerprint; // = "993C8A5EF08B1972D46727E8C012FA79"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x3C,0x8A,0x5E,0xF0,0x8B,0x19,0x72,0xD4,0x67,0x27,0xE8,0xC0,0x12,0xFA,0x79}; - ThriftHiveMetastore_exchange_partition_result(const ThriftHiveMetastore_exchange_partition_result&); ThriftHiveMetastore_exchange_partition_result& operator=(const ThriftHiveMetastore_exchange_partition_result&); ThriftHiveMetastore_exchange_partition_result() { @@ -6977,7 +6284,6 @@ class ThriftHiveMetastore_exchange_partition_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_exchange_partition_result& obj); }; typedef struct _ThriftHiveMetastore_exchange_partition_presult__isset { @@ -6992,9 +6298,6 @@ typedef struct _ThriftHiveMetastore_exchange_partition_presult__isset { class ThriftHiveMetastore_exchange_partition_presult { public: - static const char* ascii_fingerprint; // = "993C8A5EF08B1972D46727E8C012FA79"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x3C,0x8A,0x5E,0xF0,0x8B,0x19,0x72,0xD4,0x67,0x27,0xE8,0xC0,0x12,0xFA,0x79}; - virtual ~ThriftHiveMetastore_exchange_partition_presult() throw(); Partition* success; @@ -7007,7 +6310,6 @@ class ThriftHiveMetastore_exchange_partition_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_exchange_partition_presult& obj); }; typedef struct _ThriftHiveMetastore_exchange_partitions_args__isset { @@ -7022,9 +6324,6 @@ typedef struct _ThriftHiveMetastore_exchange_partitions_args__isset { class ThriftHiveMetastore_exchange_partitions_args { public: - static const char* ascii_fingerprint; // = "14D07CC2D6D857D1A741287E7A6EBF6E"; - static const uint8_t binary_fingerprint[16]; // = {0x14,0xD0,0x7C,0xC2,0xD6,0xD8,0x57,0xD1,0xA7,0x41,0x28,0x7E,0x7A,0x6E,0xBF,0x6E}; - ThriftHiveMetastore_exchange_partitions_args(const ThriftHiveMetastore_exchange_partitions_args&); ThriftHiveMetastore_exchange_partitions_args& operator=(const ThriftHiveMetastore_exchange_partitions_args&); ThriftHiveMetastore_exchange_partitions_args() : source_db(), source_table_name(), dest_db(), dest_table_name() { @@ -7072,16 +6371,12 @@ class ThriftHiveMetastore_exchange_partitions_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_exchange_partitions_args& obj); }; class ThriftHiveMetastore_exchange_partitions_pargs { public: - static const char* ascii_fingerprint; // = "14D07CC2D6D857D1A741287E7A6EBF6E"; - static const uint8_t binary_fingerprint[16]; // = {0x14,0xD0,0x7C,0xC2,0xD6,0xD8,0x57,0xD1,0xA7,0x41,0x28,0x7E,0x7A,0x6E,0xBF,0x6E}; - virtual ~ThriftHiveMetastore_exchange_partitions_pargs() throw(); const std::map * partitionSpecs; @@ -7092,7 +6387,6 @@ class ThriftHiveMetastore_exchange_partitions_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_exchange_partitions_pargs& obj); }; typedef struct _ThriftHiveMetastore_exchange_partitions_result__isset { @@ -7107,9 +6401,6 @@ typedef struct _ThriftHiveMetastore_exchange_partitions_result__isset { class ThriftHiveMetastore_exchange_partitions_result { public: - static const char* ascii_fingerprint; // = "6DC72289D4DE76AA1484E58C41EBF31F"; - static const uint8_t binary_fingerprint[16]; // = {0x6D,0xC7,0x22,0x89,0xD4,0xDE,0x76,0xAA,0x14,0x84,0xE5,0x8C,0x41,0xEB,0xF3,0x1F}; - ThriftHiveMetastore_exchange_partitions_result(const ThriftHiveMetastore_exchange_partitions_result&); ThriftHiveMetastore_exchange_partitions_result& operator=(const ThriftHiveMetastore_exchange_partitions_result&); ThriftHiveMetastore_exchange_partitions_result() { @@ -7157,7 +6448,6 @@ class ThriftHiveMetastore_exchange_partitions_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_exchange_partitions_result& obj); }; typedef struct _ThriftHiveMetastore_exchange_partitions_presult__isset { @@ -7172,9 +6462,6 @@ typedef struct _ThriftHiveMetastore_exchange_partitions_presult__isset { class ThriftHiveMetastore_exchange_partitions_presult { public: - static const char* ascii_fingerprint; // = "6DC72289D4DE76AA1484E58C41EBF31F"; - static const uint8_t binary_fingerprint[16]; // = {0x6D,0xC7,0x22,0x89,0xD4,0xDE,0x76,0xAA,0x14,0x84,0xE5,0x8C,0x41,0xEB,0xF3,0x1F}; - virtual ~ThriftHiveMetastore_exchange_partitions_presult() throw(); std::vector * success; @@ -7187,7 +6474,6 @@ class ThriftHiveMetastore_exchange_partitions_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_exchange_partitions_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partition_with_auth_args__isset { @@ -7202,9 +6488,6 @@ typedef struct _ThriftHiveMetastore_get_partition_with_auth_args__isset { class ThriftHiveMetastore_get_partition_with_auth_args { public: - static const char* ascii_fingerprint; // = "75808EDCBA7F876F099BCD38BE91EDB3"; - static const uint8_t binary_fingerprint[16]; // = {0x75,0x80,0x8E,0xDC,0xBA,0x7F,0x87,0x6F,0x09,0x9B,0xCD,0x38,0xBE,0x91,0xED,0xB3}; - ThriftHiveMetastore_get_partition_with_auth_args(const ThriftHiveMetastore_get_partition_with_auth_args&); ThriftHiveMetastore_get_partition_with_auth_args& operator=(const ThriftHiveMetastore_get_partition_with_auth_args&); ThriftHiveMetastore_get_partition_with_auth_args() : db_name(), tbl_name(), user_name() { @@ -7252,16 +6535,12 @@ class ThriftHiveMetastore_get_partition_with_auth_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_with_auth_args& obj); }; class ThriftHiveMetastore_get_partition_with_auth_pargs { public: - static const char* ascii_fingerprint; // = "75808EDCBA7F876F099BCD38BE91EDB3"; - static const uint8_t binary_fingerprint[16]; // = {0x75,0x80,0x8E,0xDC,0xBA,0x7F,0x87,0x6F,0x09,0x9B,0xCD,0x38,0xBE,0x91,0xED,0xB3}; - virtual ~ThriftHiveMetastore_get_partition_with_auth_pargs() throw(); const std::string* db_name; @@ -7272,7 +6551,6 @@ class ThriftHiveMetastore_get_partition_with_auth_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_with_auth_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partition_with_auth_result__isset { @@ -7285,9 +6563,6 @@ typedef struct _ThriftHiveMetastore_get_partition_with_auth_result__isset { class ThriftHiveMetastore_get_partition_with_auth_result { public: - static const char* ascii_fingerprint; // = "6591CFEC63F6441E3EB54208B3348AB2"; - static const uint8_t binary_fingerprint[16]; // = {0x65,0x91,0xCF,0xEC,0x63,0xF6,0x44,0x1E,0x3E,0xB5,0x42,0x08,0xB3,0x34,0x8A,0xB2}; - ThriftHiveMetastore_get_partition_with_auth_result(const ThriftHiveMetastore_get_partition_with_auth_result&); ThriftHiveMetastore_get_partition_with_auth_result& operator=(const ThriftHiveMetastore_get_partition_with_auth_result&); ThriftHiveMetastore_get_partition_with_auth_result() { @@ -7325,7 +6600,6 @@ class ThriftHiveMetastore_get_partition_with_auth_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_with_auth_result& obj); }; typedef struct _ThriftHiveMetastore_get_partition_with_auth_presult__isset { @@ -7338,9 +6612,6 @@ typedef struct _ThriftHiveMetastore_get_partition_with_auth_presult__isset { class ThriftHiveMetastore_get_partition_with_auth_presult { public: - static const char* ascii_fingerprint; // = "6591CFEC63F6441E3EB54208B3348AB2"; - static const uint8_t binary_fingerprint[16]; // = {0x65,0x91,0xCF,0xEC,0x63,0xF6,0x44,0x1E,0x3E,0xB5,0x42,0x08,0xB3,0x34,0x8A,0xB2}; - virtual ~ThriftHiveMetastore_get_partition_with_auth_presult() throw(); Partition* success; @@ -7351,7 +6622,6 @@ class ThriftHiveMetastore_get_partition_with_auth_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_with_auth_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partition_by_name_args__isset { @@ -7364,9 +6634,6 @@ typedef struct _ThriftHiveMetastore_get_partition_by_name_args__isset { class ThriftHiveMetastore_get_partition_by_name_args { public: - static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271"; - static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; - ThriftHiveMetastore_get_partition_by_name_args(const ThriftHiveMetastore_get_partition_by_name_args&); ThriftHiveMetastore_get_partition_by_name_args& operator=(const ThriftHiveMetastore_get_partition_by_name_args&); ThriftHiveMetastore_get_partition_by_name_args() : db_name(), tbl_name(), part_name() { @@ -7404,16 +6671,12 @@ class ThriftHiveMetastore_get_partition_by_name_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_by_name_args& obj); }; class ThriftHiveMetastore_get_partition_by_name_pargs { public: - static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271"; - static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; - virtual ~ThriftHiveMetastore_get_partition_by_name_pargs() throw(); const std::string* db_name; @@ -7422,7 +6685,6 @@ class ThriftHiveMetastore_get_partition_by_name_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_by_name_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partition_by_name_result__isset { @@ -7435,9 +6697,6 @@ typedef struct _ThriftHiveMetastore_get_partition_by_name_result__isset { class ThriftHiveMetastore_get_partition_by_name_result { public: - static const char* ascii_fingerprint; // = "6591CFEC63F6441E3EB54208B3348AB2"; - static const uint8_t binary_fingerprint[16]; // = {0x65,0x91,0xCF,0xEC,0x63,0xF6,0x44,0x1E,0x3E,0xB5,0x42,0x08,0xB3,0x34,0x8A,0xB2}; - ThriftHiveMetastore_get_partition_by_name_result(const ThriftHiveMetastore_get_partition_by_name_result&); ThriftHiveMetastore_get_partition_by_name_result& operator=(const ThriftHiveMetastore_get_partition_by_name_result&); ThriftHiveMetastore_get_partition_by_name_result() { @@ -7475,7 +6734,6 @@ class ThriftHiveMetastore_get_partition_by_name_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_by_name_result& obj); }; typedef struct _ThriftHiveMetastore_get_partition_by_name_presult__isset { @@ -7488,9 +6746,6 @@ typedef struct _ThriftHiveMetastore_get_partition_by_name_presult__isset { class ThriftHiveMetastore_get_partition_by_name_presult { public: - static const char* ascii_fingerprint; // = "6591CFEC63F6441E3EB54208B3348AB2"; - static const uint8_t binary_fingerprint[16]; // = {0x65,0x91,0xCF,0xEC,0x63,0xF6,0x44,0x1E,0x3E,0xB5,0x42,0x08,0xB3,0x34,0x8A,0xB2}; - virtual ~ThriftHiveMetastore_get_partition_by_name_presult() throw(); Partition* success; @@ -7501,7 +6756,6 @@ class ThriftHiveMetastore_get_partition_by_name_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_by_name_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_args__isset { @@ -7514,9 +6768,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_args__isset { class ThriftHiveMetastore_get_partitions_args { public: - static const char* ascii_fingerprint; // = "52F7D5E8217C4B8FC14F1F30BF2EB41C"; - static const uint8_t binary_fingerprint[16]; // = {0x52,0xF7,0xD5,0xE8,0x21,0x7C,0x4B,0x8F,0xC1,0x4F,0x1F,0x30,0xBF,0x2E,0xB4,0x1C}; - ThriftHiveMetastore_get_partitions_args(const ThriftHiveMetastore_get_partitions_args&); ThriftHiveMetastore_get_partitions_args& operator=(const ThriftHiveMetastore_get_partitions_args&); ThriftHiveMetastore_get_partitions_args() : db_name(), tbl_name(), max_parts(-1) { @@ -7554,16 +6805,12 @@ class ThriftHiveMetastore_get_partitions_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_args& obj); }; class ThriftHiveMetastore_get_partitions_pargs { public: - static const char* ascii_fingerprint; // = "52F7D5E8217C4B8FC14F1F30BF2EB41C"; - static const uint8_t binary_fingerprint[16]; // = {0x52,0xF7,0xD5,0xE8,0x21,0x7C,0x4B,0x8F,0xC1,0x4F,0x1F,0x30,0xBF,0x2E,0xB4,0x1C}; - virtual ~ThriftHiveMetastore_get_partitions_pargs() throw(); const std::string* db_name; @@ -7572,7 +6819,6 @@ class ThriftHiveMetastore_get_partitions_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_result__isset { @@ -7585,9 +6831,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_result__isset { class ThriftHiveMetastore_get_partitions_result { public: - static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; - static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; - ThriftHiveMetastore_get_partitions_result(const ThriftHiveMetastore_get_partitions_result&); ThriftHiveMetastore_get_partitions_result& operator=(const ThriftHiveMetastore_get_partitions_result&); ThriftHiveMetastore_get_partitions_result() { @@ -7625,7 +6868,6 @@ class ThriftHiveMetastore_get_partitions_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_result& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_presult__isset { @@ -7638,9 +6880,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_presult__isset { class ThriftHiveMetastore_get_partitions_presult { public: - static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; - static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; - virtual ~ThriftHiveMetastore_get_partitions_presult() throw(); std::vector * success; @@ -7651,7 +6890,6 @@ class ThriftHiveMetastore_get_partitions_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_with_auth_args__isset { @@ -7666,9 +6904,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_with_auth_args__isset { class ThriftHiveMetastore_get_partitions_with_auth_args { public: - static const char* ascii_fingerprint; // = "D4ED309E57FB5536267FF51643506588"; - static const uint8_t binary_fingerprint[16]; // = {0xD4,0xED,0x30,0x9E,0x57,0xFB,0x55,0x36,0x26,0x7F,0xF5,0x16,0x43,0x50,0x65,0x88}; - ThriftHiveMetastore_get_partitions_with_auth_args(const ThriftHiveMetastore_get_partitions_with_auth_args&); ThriftHiveMetastore_get_partitions_with_auth_args& operator=(const ThriftHiveMetastore_get_partitions_with_auth_args&); ThriftHiveMetastore_get_partitions_with_auth_args() : db_name(), tbl_name(), max_parts(-1), user_name() { @@ -7716,16 +6951,12 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_with_auth_args& obj); }; class ThriftHiveMetastore_get_partitions_with_auth_pargs { public: - static const char* ascii_fingerprint; // = "D4ED309E57FB5536267FF51643506588"; - static const uint8_t binary_fingerprint[16]; // = {0xD4,0xED,0x30,0x9E,0x57,0xFB,0x55,0x36,0x26,0x7F,0xF5,0x16,0x43,0x50,0x65,0x88}; - virtual ~ThriftHiveMetastore_get_partitions_with_auth_pargs() throw(); const std::string* db_name; @@ -7736,7 +6967,6 @@ class ThriftHiveMetastore_get_partitions_with_auth_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_with_auth_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_with_auth_result__isset { @@ -7749,9 +6979,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_with_auth_result__isset { class ThriftHiveMetastore_get_partitions_with_auth_result { public: - static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; - static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; - ThriftHiveMetastore_get_partitions_with_auth_result(const ThriftHiveMetastore_get_partitions_with_auth_result&); ThriftHiveMetastore_get_partitions_with_auth_result& operator=(const ThriftHiveMetastore_get_partitions_with_auth_result&); ThriftHiveMetastore_get_partitions_with_auth_result() { @@ -7789,7 +7016,6 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_with_auth_result& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_with_auth_presult__isset { @@ -7802,9 +7028,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_with_auth_presult__isset { class ThriftHiveMetastore_get_partitions_with_auth_presult { public: - static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; - static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; - virtual ~ThriftHiveMetastore_get_partitions_with_auth_presult() throw(); std::vector * success; @@ -7815,7 +7038,6 @@ class ThriftHiveMetastore_get_partitions_with_auth_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_with_auth_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_pspec_args__isset { @@ -7828,9 +7050,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_pspec_args__isset { class ThriftHiveMetastore_get_partitions_pspec_args { public: - static const char* ascii_fingerprint; // = "343DA57F446177400B333DC49B037B0C"; - static const uint8_t binary_fingerprint[16]; // = {0x34,0x3D,0xA5,0x7F,0x44,0x61,0x77,0x40,0x0B,0x33,0x3D,0xC4,0x9B,0x03,0x7B,0x0C}; - ThriftHiveMetastore_get_partitions_pspec_args(const ThriftHiveMetastore_get_partitions_pspec_args&); ThriftHiveMetastore_get_partitions_pspec_args& operator=(const ThriftHiveMetastore_get_partitions_pspec_args&); ThriftHiveMetastore_get_partitions_pspec_args() : db_name(), tbl_name(), max_parts(-1) { @@ -7868,16 +7087,12 @@ class ThriftHiveMetastore_get_partitions_pspec_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_pspec_args& obj); }; class ThriftHiveMetastore_get_partitions_pspec_pargs { public: - static const char* ascii_fingerprint; // = "343DA57F446177400B333DC49B037B0C"; - static const uint8_t binary_fingerprint[16]; // = {0x34,0x3D,0xA5,0x7F,0x44,0x61,0x77,0x40,0x0B,0x33,0x3D,0xC4,0x9B,0x03,0x7B,0x0C}; - virtual ~ThriftHiveMetastore_get_partitions_pspec_pargs() throw(); const std::string* db_name; @@ -7886,7 +7101,6 @@ class ThriftHiveMetastore_get_partitions_pspec_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_pspec_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_pspec_result__isset { @@ -7899,9 +7113,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_pspec_result__isset { class ThriftHiveMetastore_get_partitions_pspec_result { public: - static const char* ascii_fingerprint; // = "834C6ED9007DE3A504DF5B1F3BBEC56E"; - static const uint8_t binary_fingerprint[16]; // = {0x83,0x4C,0x6E,0xD9,0x00,0x7D,0xE3,0xA5,0x04,0xDF,0x5B,0x1F,0x3B,0xBE,0xC5,0x6E}; - ThriftHiveMetastore_get_partitions_pspec_result(const ThriftHiveMetastore_get_partitions_pspec_result&); ThriftHiveMetastore_get_partitions_pspec_result& operator=(const ThriftHiveMetastore_get_partitions_pspec_result&); ThriftHiveMetastore_get_partitions_pspec_result() { @@ -7939,7 +7150,6 @@ class ThriftHiveMetastore_get_partitions_pspec_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_pspec_result& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_pspec_presult__isset { @@ -7952,9 +7162,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_pspec_presult__isset { class ThriftHiveMetastore_get_partitions_pspec_presult { public: - static const char* ascii_fingerprint; // = "834C6ED9007DE3A504DF5B1F3BBEC56E"; - static const uint8_t binary_fingerprint[16]; // = {0x83,0x4C,0x6E,0xD9,0x00,0x7D,0xE3,0xA5,0x04,0xDF,0x5B,0x1F,0x3B,0xBE,0xC5,0x6E}; - virtual ~ThriftHiveMetastore_get_partitions_pspec_presult() throw(); std::vector * success; @@ -7965,7 +7172,6 @@ class ThriftHiveMetastore_get_partitions_pspec_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_pspec_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partition_names_args__isset { @@ -7978,9 +7184,6 @@ typedef struct _ThriftHiveMetastore_get_partition_names_args__isset { class ThriftHiveMetastore_get_partition_names_args { public: - static const char* ascii_fingerprint; // = "52F7D5E8217C4B8FC14F1F30BF2EB41C"; - static const uint8_t binary_fingerprint[16]; // = {0x52,0xF7,0xD5,0xE8,0x21,0x7C,0x4B,0x8F,0xC1,0x4F,0x1F,0x30,0xBF,0x2E,0xB4,0x1C}; - ThriftHiveMetastore_get_partition_names_args(const ThriftHiveMetastore_get_partition_names_args&); ThriftHiveMetastore_get_partition_names_args& operator=(const ThriftHiveMetastore_get_partition_names_args&); ThriftHiveMetastore_get_partition_names_args() : db_name(), tbl_name(), max_parts(-1) { @@ -8018,16 +7221,12 @@ class ThriftHiveMetastore_get_partition_names_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_names_args& obj); }; class ThriftHiveMetastore_get_partition_names_pargs { public: - static const char* ascii_fingerprint; // = "52F7D5E8217C4B8FC14F1F30BF2EB41C"; - static const uint8_t binary_fingerprint[16]; // = {0x52,0xF7,0xD5,0xE8,0x21,0x7C,0x4B,0x8F,0xC1,0x4F,0x1F,0x30,0xBF,0x2E,0xB4,0x1C}; - virtual ~ThriftHiveMetastore_get_partition_names_pargs() throw(); const std::string* db_name; @@ -8036,7 +7235,6 @@ class ThriftHiveMetastore_get_partition_names_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_names_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partition_names_result__isset { @@ -8048,9 +7246,6 @@ typedef struct _ThriftHiveMetastore_get_partition_names_result__isset { class ThriftHiveMetastore_get_partition_names_result { public: - static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; - static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - ThriftHiveMetastore_get_partition_names_result(const ThriftHiveMetastore_get_partition_names_result&); ThriftHiveMetastore_get_partition_names_result& operator=(const ThriftHiveMetastore_get_partition_names_result&); ThriftHiveMetastore_get_partition_names_result() { @@ -8083,7 +7278,6 @@ class ThriftHiveMetastore_get_partition_names_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_names_result& obj); }; typedef struct _ThriftHiveMetastore_get_partition_names_presult__isset { @@ -8095,9 +7289,6 @@ typedef struct _ThriftHiveMetastore_get_partition_names_presult__isset { class ThriftHiveMetastore_get_partition_names_presult { public: - static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; - static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - virtual ~ThriftHiveMetastore_get_partition_names_presult() throw(); std::vector * success; @@ -8107,7 +7298,6 @@ class ThriftHiveMetastore_get_partition_names_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_names_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_ps_args__isset { @@ -8121,9 +7311,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_ps_args__isset { class ThriftHiveMetastore_get_partitions_ps_args { public: - static const char* ascii_fingerprint; // = "1C50C967F7E8CEAC7E98218C57BAAA80"; - static const uint8_t binary_fingerprint[16]; // = {0x1C,0x50,0xC9,0x67,0xF7,0xE8,0xCE,0xAC,0x7E,0x98,0x21,0x8C,0x57,0xBA,0xAA,0x80}; - ThriftHiveMetastore_get_partitions_ps_args(const ThriftHiveMetastore_get_partitions_ps_args&); ThriftHiveMetastore_get_partitions_ps_args& operator=(const ThriftHiveMetastore_get_partitions_ps_args&); ThriftHiveMetastore_get_partitions_ps_args() : db_name(), tbl_name(), max_parts(-1) { @@ -8166,16 +7353,12 @@ class ThriftHiveMetastore_get_partitions_ps_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_ps_args& obj); }; class ThriftHiveMetastore_get_partitions_ps_pargs { public: - static const char* ascii_fingerprint; // = "1C50C967F7E8CEAC7E98218C57BAAA80"; - static const uint8_t binary_fingerprint[16]; // = {0x1C,0x50,0xC9,0x67,0xF7,0xE8,0xCE,0xAC,0x7E,0x98,0x21,0x8C,0x57,0xBA,0xAA,0x80}; - virtual ~ThriftHiveMetastore_get_partitions_ps_pargs() throw(); const std::string* db_name; @@ -8185,7 +7368,6 @@ class ThriftHiveMetastore_get_partitions_ps_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_ps_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_ps_result__isset { @@ -8198,9 +7380,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_ps_result__isset { class ThriftHiveMetastore_get_partitions_ps_result { public: - static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; - static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; - ThriftHiveMetastore_get_partitions_ps_result(const ThriftHiveMetastore_get_partitions_ps_result&); ThriftHiveMetastore_get_partitions_ps_result& operator=(const ThriftHiveMetastore_get_partitions_ps_result&); ThriftHiveMetastore_get_partitions_ps_result() { @@ -8238,7 +7417,6 @@ class ThriftHiveMetastore_get_partitions_ps_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_ps_result& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_ps_presult__isset { @@ -8251,9 +7429,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_ps_presult__isset { class ThriftHiveMetastore_get_partitions_ps_presult { public: - static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; - static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; - virtual ~ThriftHiveMetastore_get_partitions_ps_presult() throw(); std::vector * success; @@ -8264,7 +7439,6 @@ class ThriftHiveMetastore_get_partitions_ps_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_ps_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_ps_with_auth_args__isset { @@ -8280,9 +7454,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_ps_with_auth_args__isset { class ThriftHiveMetastore_get_partitions_ps_with_auth_args { public: - static const char* ascii_fingerprint; // = "364E51B33D0A4C6D16C48359C6314201"; - static const uint8_t binary_fingerprint[16]; // = {0x36,0x4E,0x51,0xB3,0x3D,0x0A,0x4C,0x6D,0x16,0xC4,0x83,0x59,0xC6,0x31,0x42,0x01}; - ThriftHiveMetastore_get_partitions_ps_with_auth_args(const ThriftHiveMetastore_get_partitions_ps_with_auth_args&); ThriftHiveMetastore_get_partitions_ps_with_auth_args& operator=(const ThriftHiveMetastore_get_partitions_ps_with_auth_args&); ThriftHiveMetastore_get_partitions_ps_with_auth_args() : db_name(), tbl_name(), max_parts(-1), user_name() { @@ -8335,16 +7506,12 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_ps_with_auth_args& obj); }; class ThriftHiveMetastore_get_partitions_ps_with_auth_pargs { public: - static const char* ascii_fingerprint; // = "364E51B33D0A4C6D16C48359C6314201"; - static const uint8_t binary_fingerprint[16]; // = {0x36,0x4E,0x51,0xB3,0x3D,0x0A,0x4C,0x6D,0x16,0xC4,0x83,0x59,0xC6,0x31,0x42,0x01}; - virtual ~ThriftHiveMetastore_get_partitions_ps_with_auth_pargs() throw(); const std::string* db_name; @@ -8356,7 +7523,6 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_ps_with_auth_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_ps_with_auth_result__isset { @@ -8369,9 +7535,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_ps_with_auth_result__isset { class ThriftHiveMetastore_get_partitions_ps_with_auth_result { public: - static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; - static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; - ThriftHiveMetastore_get_partitions_ps_with_auth_result(const ThriftHiveMetastore_get_partitions_ps_with_auth_result&); ThriftHiveMetastore_get_partitions_ps_with_auth_result& operator=(const ThriftHiveMetastore_get_partitions_ps_with_auth_result&); ThriftHiveMetastore_get_partitions_ps_with_auth_result() { @@ -8409,7 +7572,6 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_ps_with_auth_result& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_ps_with_auth_presult__isset { @@ -8422,9 +7584,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_ps_with_auth_presult__isset { class ThriftHiveMetastore_get_partitions_ps_with_auth_presult { public: - static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; - static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; - virtual ~ThriftHiveMetastore_get_partitions_ps_with_auth_presult() throw(); std::vector * success; @@ -8435,7 +7594,6 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_ps_with_auth_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partition_names_ps_args__isset { @@ -8449,9 +7607,6 @@ typedef struct _ThriftHiveMetastore_get_partition_names_ps_args__isset { class ThriftHiveMetastore_get_partition_names_ps_args { public: - static const char* ascii_fingerprint; // = "1C50C967F7E8CEAC7E98218C57BAAA80"; - static const uint8_t binary_fingerprint[16]; // = {0x1C,0x50,0xC9,0x67,0xF7,0xE8,0xCE,0xAC,0x7E,0x98,0x21,0x8C,0x57,0xBA,0xAA,0x80}; - ThriftHiveMetastore_get_partition_names_ps_args(const ThriftHiveMetastore_get_partition_names_ps_args&); ThriftHiveMetastore_get_partition_names_ps_args& operator=(const ThriftHiveMetastore_get_partition_names_ps_args&); ThriftHiveMetastore_get_partition_names_ps_args() : db_name(), tbl_name(), max_parts(-1) { @@ -8494,16 +7649,12 @@ class ThriftHiveMetastore_get_partition_names_ps_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_names_ps_args& obj); }; class ThriftHiveMetastore_get_partition_names_ps_pargs { public: - static const char* ascii_fingerprint; // = "1C50C967F7E8CEAC7E98218C57BAAA80"; - static const uint8_t binary_fingerprint[16]; // = {0x1C,0x50,0xC9,0x67,0xF7,0xE8,0xCE,0xAC,0x7E,0x98,0x21,0x8C,0x57,0xBA,0xAA,0x80}; - virtual ~ThriftHiveMetastore_get_partition_names_ps_pargs() throw(); const std::string* db_name; @@ -8513,7 +7664,6 @@ class ThriftHiveMetastore_get_partition_names_ps_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_names_ps_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partition_names_ps_result__isset { @@ -8526,9 +7676,6 @@ typedef struct _ThriftHiveMetastore_get_partition_names_ps_result__isset { class ThriftHiveMetastore_get_partition_names_ps_result { public: - static const char* ascii_fingerprint; // = "6F932EA4FD66B00D80C9FE769EA07088"; - static const uint8_t binary_fingerprint[16]; // = {0x6F,0x93,0x2E,0xA4,0xFD,0x66,0xB0,0x0D,0x80,0xC9,0xFE,0x76,0x9E,0xA0,0x70,0x88}; - ThriftHiveMetastore_get_partition_names_ps_result(const ThriftHiveMetastore_get_partition_names_ps_result&); ThriftHiveMetastore_get_partition_names_ps_result& operator=(const ThriftHiveMetastore_get_partition_names_ps_result&); ThriftHiveMetastore_get_partition_names_ps_result() { @@ -8566,7 +7713,6 @@ class ThriftHiveMetastore_get_partition_names_ps_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_names_ps_result& obj); }; typedef struct _ThriftHiveMetastore_get_partition_names_ps_presult__isset { @@ -8579,9 +7725,6 @@ typedef struct _ThriftHiveMetastore_get_partition_names_ps_presult__isset { class ThriftHiveMetastore_get_partition_names_ps_presult { public: - static const char* ascii_fingerprint; // = "6F932EA4FD66B00D80C9FE769EA07088"; - static const uint8_t binary_fingerprint[16]; // = {0x6F,0x93,0x2E,0xA4,0xFD,0x66,0xB0,0x0D,0x80,0xC9,0xFE,0x76,0x9E,0xA0,0x70,0x88}; - virtual ~ThriftHiveMetastore_get_partition_names_ps_presult() throw(); std::vector * success; @@ -8592,7 +7735,6 @@ class ThriftHiveMetastore_get_partition_names_ps_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_names_ps_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_by_filter_args__isset { @@ -8606,9 +7748,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_by_filter_args__isset { class ThriftHiveMetastore_get_partitions_by_filter_args { public: - static const char* ascii_fingerprint; // = "21F9D8180F10C46A8E03BC2CEBC0E996"; - static const uint8_t binary_fingerprint[16]; // = {0x21,0xF9,0xD8,0x18,0x0F,0x10,0xC4,0x6A,0x8E,0x03,0xBC,0x2C,0xEB,0xC0,0xE9,0x96}; - ThriftHiveMetastore_get_partitions_by_filter_args(const ThriftHiveMetastore_get_partitions_by_filter_args&); ThriftHiveMetastore_get_partitions_by_filter_args& operator=(const ThriftHiveMetastore_get_partitions_by_filter_args&); ThriftHiveMetastore_get_partitions_by_filter_args() : db_name(), tbl_name(), filter(), max_parts(-1) { @@ -8651,16 +7790,12 @@ class ThriftHiveMetastore_get_partitions_by_filter_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_filter_args& obj); }; class ThriftHiveMetastore_get_partitions_by_filter_pargs { public: - static const char* ascii_fingerprint; // = "21F9D8180F10C46A8E03BC2CEBC0E996"; - static const uint8_t binary_fingerprint[16]; // = {0x21,0xF9,0xD8,0x18,0x0F,0x10,0xC4,0x6A,0x8E,0x03,0xBC,0x2C,0xEB,0xC0,0xE9,0x96}; - virtual ~ThriftHiveMetastore_get_partitions_by_filter_pargs() throw(); const std::string* db_name; @@ -8670,7 +7805,6 @@ class ThriftHiveMetastore_get_partitions_by_filter_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_filter_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_by_filter_result__isset { @@ -8683,9 +7817,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_by_filter_result__isset { class ThriftHiveMetastore_get_partitions_by_filter_result { public: - static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; - static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; - ThriftHiveMetastore_get_partitions_by_filter_result(const ThriftHiveMetastore_get_partitions_by_filter_result&); ThriftHiveMetastore_get_partitions_by_filter_result& operator=(const ThriftHiveMetastore_get_partitions_by_filter_result&); ThriftHiveMetastore_get_partitions_by_filter_result() { @@ -8723,7 +7854,6 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_filter_result& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_by_filter_presult__isset { @@ -8736,9 +7866,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_by_filter_presult__isset { class ThriftHiveMetastore_get_partitions_by_filter_presult { public: - static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; - static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; - virtual ~ThriftHiveMetastore_get_partitions_by_filter_presult() throw(); std::vector * success; @@ -8749,7 +7876,6 @@ class ThriftHiveMetastore_get_partitions_by_filter_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_filter_presult& obj); }; typedef struct _ThriftHiveMetastore_get_part_specs_by_filter_args__isset { @@ -8763,9 +7889,6 @@ typedef struct _ThriftHiveMetastore_get_part_specs_by_filter_args__isset { class ThriftHiveMetastore_get_part_specs_by_filter_args { public: - static const char* ascii_fingerprint; // = "194A357BC9EE908DC4763D0A5147760A"; - static const uint8_t binary_fingerprint[16]; // = {0x19,0x4A,0x35,0x7B,0xC9,0xEE,0x90,0x8D,0xC4,0x76,0x3D,0x0A,0x51,0x47,0x76,0x0A}; - ThriftHiveMetastore_get_part_specs_by_filter_args(const ThriftHiveMetastore_get_part_specs_by_filter_args&); ThriftHiveMetastore_get_part_specs_by_filter_args& operator=(const ThriftHiveMetastore_get_part_specs_by_filter_args&); ThriftHiveMetastore_get_part_specs_by_filter_args() : db_name(), tbl_name(), filter(), max_parts(-1) { @@ -8808,16 +7931,12 @@ class ThriftHiveMetastore_get_part_specs_by_filter_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_part_specs_by_filter_args& obj); }; class ThriftHiveMetastore_get_part_specs_by_filter_pargs { public: - static const char* ascii_fingerprint; // = "194A357BC9EE908DC4763D0A5147760A"; - static const uint8_t binary_fingerprint[16]; // = {0x19,0x4A,0x35,0x7B,0xC9,0xEE,0x90,0x8D,0xC4,0x76,0x3D,0x0A,0x51,0x47,0x76,0x0A}; - virtual ~ThriftHiveMetastore_get_part_specs_by_filter_pargs() throw(); const std::string* db_name; @@ -8827,7 +7946,6 @@ class ThriftHiveMetastore_get_part_specs_by_filter_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_part_specs_by_filter_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_part_specs_by_filter_result__isset { @@ -8840,9 +7958,6 @@ typedef struct _ThriftHiveMetastore_get_part_specs_by_filter_result__isset { class ThriftHiveMetastore_get_part_specs_by_filter_result { public: - static const char* ascii_fingerprint; // = "834C6ED9007DE3A504DF5B1F3BBEC56E"; - static const uint8_t binary_fingerprint[16]; // = {0x83,0x4C,0x6E,0xD9,0x00,0x7D,0xE3,0xA5,0x04,0xDF,0x5B,0x1F,0x3B,0xBE,0xC5,0x6E}; - ThriftHiveMetastore_get_part_specs_by_filter_result(const ThriftHiveMetastore_get_part_specs_by_filter_result&); ThriftHiveMetastore_get_part_specs_by_filter_result& operator=(const ThriftHiveMetastore_get_part_specs_by_filter_result&); ThriftHiveMetastore_get_part_specs_by_filter_result() { @@ -8880,7 +7995,6 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_part_specs_by_filter_result& obj); }; typedef struct _ThriftHiveMetastore_get_part_specs_by_filter_presult__isset { @@ -8893,9 +8007,6 @@ typedef struct _ThriftHiveMetastore_get_part_specs_by_filter_presult__isset { class ThriftHiveMetastore_get_part_specs_by_filter_presult { public: - static const char* ascii_fingerprint; // = "834C6ED9007DE3A504DF5B1F3BBEC56E"; - static const uint8_t binary_fingerprint[16]; // = {0x83,0x4C,0x6E,0xD9,0x00,0x7D,0xE3,0xA5,0x04,0xDF,0x5B,0x1F,0x3B,0xBE,0xC5,0x6E}; - virtual ~ThriftHiveMetastore_get_part_specs_by_filter_presult() throw(); std::vector * success; @@ -8906,7 +8017,6 @@ class ThriftHiveMetastore_get_part_specs_by_filter_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_part_specs_by_filter_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_by_expr_args__isset { @@ -8917,9 +8027,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_by_expr_args__isset { class ThriftHiveMetastore_get_partitions_by_expr_args { public: - static const char* ascii_fingerprint; // = "56414E62F1C6E6E2663E4A4ED377A9A3"; - static const uint8_t binary_fingerprint[16]; // = {0x56,0x41,0x4E,0x62,0xF1,0xC6,0xE6,0xE2,0x66,0x3E,0x4A,0x4E,0xD3,0x77,0xA9,0xA3}; - ThriftHiveMetastore_get_partitions_by_expr_args(const ThriftHiveMetastore_get_partitions_by_expr_args&); ThriftHiveMetastore_get_partitions_by_expr_args& operator=(const ThriftHiveMetastore_get_partitions_by_expr_args&); ThriftHiveMetastore_get_partitions_by_expr_args() { @@ -8947,23 +8054,18 @@ class ThriftHiveMetastore_get_partitions_by_expr_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_expr_args& obj); }; class ThriftHiveMetastore_get_partitions_by_expr_pargs { public: - static const char* ascii_fingerprint; // = "56414E62F1C6E6E2663E4A4ED377A9A3"; - static const uint8_t binary_fingerprint[16]; // = {0x56,0x41,0x4E,0x62,0xF1,0xC6,0xE6,0xE2,0x66,0x3E,0x4A,0x4E,0xD3,0x77,0xA9,0xA3}; - virtual ~ThriftHiveMetastore_get_partitions_by_expr_pargs() throw(); const PartitionsByExprRequest* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_expr_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_by_expr_result__isset { @@ -8976,9 +8078,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_by_expr_result__isset { class ThriftHiveMetastore_get_partitions_by_expr_result { public: - static const char* ascii_fingerprint; // = "242F6F513EE9C5B2355CC78A01843831"; - static const uint8_t binary_fingerprint[16]; // = {0x24,0x2F,0x6F,0x51,0x3E,0xE9,0xC5,0xB2,0x35,0x5C,0xC7,0x8A,0x01,0x84,0x38,0x31}; - ThriftHiveMetastore_get_partitions_by_expr_result(const ThriftHiveMetastore_get_partitions_by_expr_result&); ThriftHiveMetastore_get_partitions_by_expr_result& operator=(const ThriftHiveMetastore_get_partitions_by_expr_result&); ThriftHiveMetastore_get_partitions_by_expr_result() { @@ -9016,7 +8115,6 @@ class ThriftHiveMetastore_get_partitions_by_expr_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_expr_result& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_by_expr_presult__isset { @@ -9029,9 +8127,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_by_expr_presult__isset { class ThriftHiveMetastore_get_partitions_by_expr_presult { public: - static const char* ascii_fingerprint; // = "242F6F513EE9C5B2355CC78A01843831"; - static const uint8_t binary_fingerprint[16]; // = {0x24,0x2F,0x6F,0x51,0x3E,0xE9,0xC5,0xB2,0x35,0x5C,0xC7,0x8A,0x01,0x84,0x38,0x31}; - virtual ~ThriftHiveMetastore_get_partitions_by_expr_presult() throw(); PartitionsByExprResult* success; @@ -9042,7 +8137,6 @@ class ThriftHiveMetastore_get_partitions_by_expr_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_expr_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_by_names_args__isset { @@ -9055,9 +8149,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_by_names_args__isset { class ThriftHiveMetastore_get_partitions_by_names_args { public: - static const char* ascii_fingerprint; // = "8E2AD6401E83558ECFD6A13D74DD0A3F"; - static const uint8_t binary_fingerprint[16]; // = {0x8E,0x2A,0xD6,0x40,0x1E,0x83,0x55,0x8E,0xCF,0xD6,0xA1,0x3D,0x74,0xDD,0x0A,0x3F}; - ThriftHiveMetastore_get_partitions_by_names_args(const ThriftHiveMetastore_get_partitions_by_names_args&); ThriftHiveMetastore_get_partitions_by_names_args& operator=(const ThriftHiveMetastore_get_partitions_by_names_args&); ThriftHiveMetastore_get_partitions_by_names_args() : db_name(), tbl_name() { @@ -9095,16 +8186,12 @@ class ThriftHiveMetastore_get_partitions_by_names_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_names_args& obj); }; class ThriftHiveMetastore_get_partitions_by_names_pargs { public: - static const char* ascii_fingerprint; // = "8E2AD6401E83558ECFD6A13D74DD0A3F"; - static const uint8_t binary_fingerprint[16]; // = {0x8E,0x2A,0xD6,0x40,0x1E,0x83,0x55,0x8E,0xCF,0xD6,0xA1,0x3D,0x74,0xDD,0x0A,0x3F}; - virtual ~ThriftHiveMetastore_get_partitions_by_names_pargs() throw(); const std::string* db_name; @@ -9113,7 +8200,6 @@ class ThriftHiveMetastore_get_partitions_by_names_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_names_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_by_names_result__isset { @@ -9126,9 +8212,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_by_names_result__isset { class ThriftHiveMetastore_get_partitions_by_names_result { public: - static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; - static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; - ThriftHiveMetastore_get_partitions_by_names_result(const ThriftHiveMetastore_get_partitions_by_names_result&); ThriftHiveMetastore_get_partitions_by_names_result& operator=(const ThriftHiveMetastore_get_partitions_by_names_result&); ThriftHiveMetastore_get_partitions_by_names_result() { @@ -9166,7 +8249,6 @@ class ThriftHiveMetastore_get_partitions_by_names_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_names_result& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_by_names_presult__isset { @@ -9179,9 +8261,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_by_names_presult__isset { class ThriftHiveMetastore_get_partitions_by_names_presult { public: - static const char* ascii_fingerprint; // = "148076CF62AE4011A584C2CA00E22295"; - static const uint8_t binary_fingerprint[16]; // = {0x14,0x80,0x76,0xCF,0x62,0xAE,0x40,0x11,0xA5,0x84,0xC2,0xCA,0x00,0xE2,0x22,0x95}; - virtual ~ThriftHiveMetastore_get_partitions_by_names_presult() throw(); std::vector * success; @@ -9192,7 +8271,6 @@ class ThriftHiveMetastore_get_partitions_by_names_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_by_names_presult& obj); }; typedef struct _ThriftHiveMetastore_alter_partition_args__isset { @@ -9205,9 +8283,6 @@ typedef struct _ThriftHiveMetastore_alter_partition_args__isset { class ThriftHiveMetastore_alter_partition_args { public: - static const char* ascii_fingerprint; // = "7B108A31A32515A46E0A4575C730F980"; - static const uint8_t binary_fingerprint[16]; // = {0x7B,0x10,0x8A,0x31,0xA3,0x25,0x15,0xA4,0x6E,0x0A,0x45,0x75,0xC7,0x30,0xF9,0x80}; - ThriftHiveMetastore_alter_partition_args(const ThriftHiveMetastore_alter_partition_args&); ThriftHiveMetastore_alter_partition_args& operator=(const ThriftHiveMetastore_alter_partition_args&); ThriftHiveMetastore_alter_partition_args() : db_name(), tbl_name() { @@ -9245,16 +8320,12 @@ class ThriftHiveMetastore_alter_partition_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partition_args& obj); }; class ThriftHiveMetastore_alter_partition_pargs { public: - static const char* ascii_fingerprint; // = "7B108A31A32515A46E0A4575C730F980"; - static const uint8_t binary_fingerprint[16]; // = {0x7B,0x10,0x8A,0x31,0xA3,0x25,0x15,0xA4,0x6E,0x0A,0x45,0x75,0xC7,0x30,0xF9,0x80}; - virtual ~ThriftHiveMetastore_alter_partition_pargs() throw(); const std::string* db_name; @@ -9263,7 +8334,6 @@ class ThriftHiveMetastore_alter_partition_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partition_pargs& obj); }; typedef struct _ThriftHiveMetastore_alter_partition_result__isset { @@ -9275,9 +8345,6 @@ typedef struct _ThriftHiveMetastore_alter_partition_result__isset { class ThriftHiveMetastore_alter_partition_result { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - ThriftHiveMetastore_alter_partition_result(const ThriftHiveMetastore_alter_partition_result&); ThriftHiveMetastore_alter_partition_result& operator=(const ThriftHiveMetastore_alter_partition_result&); ThriftHiveMetastore_alter_partition_result() { @@ -9310,7 +8377,6 @@ class ThriftHiveMetastore_alter_partition_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partition_result& obj); }; typedef struct _ThriftHiveMetastore_alter_partition_presult__isset { @@ -9322,9 +8388,6 @@ typedef struct _ThriftHiveMetastore_alter_partition_presult__isset { class ThriftHiveMetastore_alter_partition_presult { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_alter_partition_presult() throw(); InvalidOperationException o1; @@ -9334,7 +8397,6 @@ class ThriftHiveMetastore_alter_partition_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partition_presult& obj); }; typedef struct _ThriftHiveMetastore_alter_partitions_args__isset { @@ -9347,9 +8409,6 @@ typedef struct _ThriftHiveMetastore_alter_partitions_args__isset { class ThriftHiveMetastore_alter_partitions_args { public: - static const char* ascii_fingerprint; // = "38BD172057C9BB46C5A3BA10DB12F25D"; - static const uint8_t binary_fingerprint[16]; // = {0x38,0xBD,0x17,0x20,0x57,0xC9,0xBB,0x46,0xC5,0xA3,0xBA,0x10,0xDB,0x12,0xF2,0x5D}; - ThriftHiveMetastore_alter_partitions_args(const ThriftHiveMetastore_alter_partitions_args&); ThriftHiveMetastore_alter_partitions_args& operator=(const ThriftHiveMetastore_alter_partitions_args&); ThriftHiveMetastore_alter_partitions_args() : db_name(), tbl_name() { @@ -9387,16 +8446,12 @@ class ThriftHiveMetastore_alter_partitions_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partitions_args& obj); }; class ThriftHiveMetastore_alter_partitions_pargs { public: - static const char* ascii_fingerprint; // = "38BD172057C9BB46C5A3BA10DB12F25D"; - static const uint8_t binary_fingerprint[16]; // = {0x38,0xBD,0x17,0x20,0x57,0xC9,0xBB,0x46,0xC5,0xA3,0xBA,0x10,0xDB,0x12,0xF2,0x5D}; - virtual ~ThriftHiveMetastore_alter_partitions_pargs() throw(); const std::string* db_name; @@ -9405,7 +8460,6 @@ class ThriftHiveMetastore_alter_partitions_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partitions_pargs& obj); }; typedef struct _ThriftHiveMetastore_alter_partitions_result__isset { @@ -9417,9 +8471,6 @@ typedef struct _ThriftHiveMetastore_alter_partitions_result__isset { class ThriftHiveMetastore_alter_partitions_result { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - ThriftHiveMetastore_alter_partitions_result(const ThriftHiveMetastore_alter_partitions_result&); ThriftHiveMetastore_alter_partitions_result& operator=(const ThriftHiveMetastore_alter_partitions_result&); ThriftHiveMetastore_alter_partitions_result() { @@ -9452,7 +8503,6 @@ class ThriftHiveMetastore_alter_partitions_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partitions_result& obj); }; typedef struct _ThriftHiveMetastore_alter_partitions_presult__isset { @@ -9464,9 +8514,6 @@ typedef struct _ThriftHiveMetastore_alter_partitions_presult__isset { class ThriftHiveMetastore_alter_partitions_presult { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_alter_partitions_presult() throw(); InvalidOperationException o1; @@ -9476,7 +8523,6 @@ class ThriftHiveMetastore_alter_partitions_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partitions_presult& obj); }; typedef struct _ThriftHiveMetastore_alter_partition_with_environment_context_args__isset { @@ -9490,9 +8536,6 @@ typedef struct _ThriftHiveMetastore_alter_partition_with_environment_context_arg class ThriftHiveMetastore_alter_partition_with_environment_context_args { public: - static const char* ascii_fingerprint; // = "9D0F8EA60BA9E363E0CE891CDBC419D0"; - static const uint8_t binary_fingerprint[16]; // = {0x9D,0x0F,0x8E,0xA6,0x0B,0xA9,0xE3,0x63,0xE0,0xCE,0x89,0x1C,0xDB,0xC4,0x19,0xD0}; - ThriftHiveMetastore_alter_partition_with_environment_context_args(const ThriftHiveMetastore_alter_partition_with_environment_context_args&); ThriftHiveMetastore_alter_partition_with_environment_context_args& operator=(const ThriftHiveMetastore_alter_partition_with_environment_context_args&); ThriftHiveMetastore_alter_partition_with_environment_context_args() : db_name(), tbl_name() { @@ -9535,16 +8578,12 @@ class ThriftHiveMetastore_alter_partition_with_environment_context_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partition_with_environment_context_args& obj); }; class ThriftHiveMetastore_alter_partition_with_environment_context_pargs { public: - static const char* ascii_fingerprint; // = "9D0F8EA60BA9E363E0CE891CDBC419D0"; - static const uint8_t binary_fingerprint[16]; // = {0x9D,0x0F,0x8E,0xA6,0x0B,0xA9,0xE3,0x63,0xE0,0xCE,0x89,0x1C,0xDB,0xC4,0x19,0xD0}; - virtual ~ThriftHiveMetastore_alter_partition_with_environment_context_pargs() throw(); const std::string* db_name; @@ -9554,7 +8593,6 @@ class ThriftHiveMetastore_alter_partition_with_environment_context_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partition_with_environment_context_pargs& obj); }; typedef struct _ThriftHiveMetastore_alter_partition_with_environment_context_result__isset { @@ -9566,9 +8604,6 @@ typedef struct _ThriftHiveMetastore_alter_partition_with_environment_context_res class ThriftHiveMetastore_alter_partition_with_environment_context_result { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - ThriftHiveMetastore_alter_partition_with_environment_context_result(const ThriftHiveMetastore_alter_partition_with_environment_context_result&); ThriftHiveMetastore_alter_partition_with_environment_context_result& operator=(const ThriftHiveMetastore_alter_partition_with_environment_context_result&); ThriftHiveMetastore_alter_partition_with_environment_context_result() { @@ -9601,7 +8636,6 @@ class ThriftHiveMetastore_alter_partition_with_environment_context_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partition_with_environment_context_result& obj); }; typedef struct _ThriftHiveMetastore_alter_partition_with_environment_context_presult__isset { @@ -9613,9 +8647,6 @@ typedef struct _ThriftHiveMetastore_alter_partition_with_environment_context_pre class ThriftHiveMetastore_alter_partition_with_environment_context_presult { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_alter_partition_with_environment_context_presult() throw(); InvalidOperationException o1; @@ -9625,7 +8656,6 @@ class ThriftHiveMetastore_alter_partition_with_environment_context_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_partition_with_environment_context_presult& obj); }; typedef struct _ThriftHiveMetastore_rename_partition_args__isset { @@ -9639,9 +8669,6 @@ typedef struct _ThriftHiveMetastore_rename_partition_args__isset { class ThriftHiveMetastore_rename_partition_args { public: - static const char* ascii_fingerprint; // = "88B4E10590F3A92685C99DF7F8284437"; - static const uint8_t binary_fingerprint[16]; // = {0x88,0xB4,0xE1,0x05,0x90,0xF3,0xA9,0x26,0x85,0xC9,0x9D,0xF7,0xF8,0x28,0x44,0x37}; - ThriftHiveMetastore_rename_partition_args(const ThriftHiveMetastore_rename_partition_args&); ThriftHiveMetastore_rename_partition_args& operator=(const ThriftHiveMetastore_rename_partition_args&); ThriftHiveMetastore_rename_partition_args() : db_name(), tbl_name() { @@ -9684,16 +8711,12 @@ class ThriftHiveMetastore_rename_partition_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_rename_partition_args& obj); }; class ThriftHiveMetastore_rename_partition_pargs { public: - static const char* ascii_fingerprint; // = "88B4E10590F3A92685C99DF7F8284437"; - static const uint8_t binary_fingerprint[16]; // = {0x88,0xB4,0xE1,0x05,0x90,0xF3,0xA9,0x26,0x85,0xC9,0x9D,0xF7,0xF8,0x28,0x44,0x37}; - virtual ~ThriftHiveMetastore_rename_partition_pargs() throw(); const std::string* db_name; @@ -9703,7 +8726,6 @@ class ThriftHiveMetastore_rename_partition_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_rename_partition_pargs& obj); }; typedef struct _ThriftHiveMetastore_rename_partition_result__isset { @@ -9715,9 +8737,6 @@ typedef struct _ThriftHiveMetastore_rename_partition_result__isset { class ThriftHiveMetastore_rename_partition_result { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - ThriftHiveMetastore_rename_partition_result(const ThriftHiveMetastore_rename_partition_result&); ThriftHiveMetastore_rename_partition_result& operator=(const ThriftHiveMetastore_rename_partition_result&); ThriftHiveMetastore_rename_partition_result() { @@ -9750,7 +8769,6 @@ class ThriftHiveMetastore_rename_partition_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_rename_partition_result& obj); }; typedef struct _ThriftHiveMetastore_rename_partition_presult__isset { @@ -9762,9 +8780,6 @@ typedef struct _ThriftHiveMetastore_rename_partition_presult__isset { class ThriftHiveMetastore_rename_partition_presult { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_rename_partition_presult() throw(); InvalidOperationException o1; @@ -9774,7 +8789,6 @@ class ThriftHiveMetastore_rename_partition_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_rename_partition_presult& obj); }; typedef struct _ThriftHiveMetastore_partition_name_has_valid_characters_args__isset { @@ -9786,9 +8800,6 @@ typedef struct _ThriftHiveMetastore_partition_name_has_valid_characters_args__is class ThriftHiveMetastore_partition_name_has_valid_characters_args { public: - static const char* ascii_fingerprint; // = "91B6D52A7BB8CAC890FB4C69B1CF4C4E"; - static const uint8_t binary_fingerprint[16]; // = {0x91,0xB6,0xD5,0x2A,0x7B,0xB8,0xCA,0xC8,0x90,0xFB,0x4C,0x69,0xB1,0xCF,0x4C,0x4E}; - ThriftHiveMetastore_partition_name_has_valid_characters_args(const ThriftHiveMetastore_partition_name_has_valid_characters_args&); ThriftHiveMetastore_partition_name_has_valid_characters_args& operator=(const ThriftHiveMetastore_partition_name_has_valid_characters_args&); ThriftHiveMetastore_partition_name_has_valid_characters_args() : throw_exception(0) { @@ -9821,16 +8832,12 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_has_valid_characters_args& obj); }; class ThriftHiveMetastore_partition_name_has_valid_characters_pargs { public: - static const char* ascii_fingerprint; // = "91B6D52A7BB8CAC890FB4C69B1CF4C4E"; - static const uint8_t binary_fingerprint[16]; // = {0x91,0xB6,0xD5,0x2A,0x7B,0xB8,0xCA,0xC8,0x90,0xFB,0x4C,0x69,0xB1,0xCF,0x4C,0x4E}; - virtual ~ThriftHiveMetastore_partition_name_has_valid_characters_pargs() throw(); const std::vector * part_vals; @@ -9838,7 +8845,6 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_has_valid_characters_pargs& obj); }; typedef struct _ThriftHiveMetastore_partition_name_has_valid_characters_result__isset { @@ -9850,9 +8856,6 @@ typedef struct _ThriftHiveMetastore_partition_name_has_valid_characters_result__ class ThriftHiveMetastore_partition_name_has_valid_characters_result { public: - static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; - static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; - ThriftHiveMetastore_partition_name_has_valid_characters_result(const ThriftHiveMetastore_partition_name_has_valid_characters_result&); ThriftHiveMetastore_partition_name_has_valid_characters_result& operator=(const ThriftHiveMetastore_partition_name_has_valid_characters_result&); ThriftHiveMetastore_partition_name_has_valid_characters_result() : success(0) { @@ -9885,7 +8888,6 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_has_valid_characters_result& obj); }; typedef struct _ThriftHiveMetastore_partition_name_has_valid_characters_presult__isset { @@ -9897,9 +8899,6 @@ typedef struct _ThriftHiveMetastore_partition_name_has_valid_characters_presult_ class ThriftHiveMetastore_partition_name_has_valid_characters_presult { public: - static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; - static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; - virtual ~ThriftHiveMetastore_partition_name_has_valid_characters_presult() throw(); bool* success; @@ -9909,7 +8908,6 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_has_valid_characters_presult& obj); }; typedef struct _ThriftHiveMetastore_get_config_value_args__isset { @@ -9921,9 +8919,6 @@ typedef struct _ThriftHiveMetastore_get_config_value_args__isset { class ThriftHiveMetastore_get_config_value_args { public: - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - ThriftHiveMetastore_get_config_value_args(const ThriftHiveMetastore_get_config_value_args&); ThriftHiveMetastore_get_config_value_args& operator=(const ThriftHiveMetastore_get_config_value_args&); ThriftHiveMetastore_get_config_value_args() : name(), defaultValue() { @@ -9956,16 +8951,12 @@ class ThriftHiveMetastore_get_config_value_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_config_value_args& obj); }; class ThriftHiveMetastore_get_config_value_pargs { public: - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - virtual ~ThriftHiveMetastore_get_config_value_pargs() throw(); const std::string* name; @@ -9973,7 +8964,6 @@ class ThriftHiveMetastore_get_config_value_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_config_value_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_config_value_result__isset { @@ -9985,9 +8975,6 @@ typedef struct _ThriftHiveMetastore_get_config_value_result__isset { class ThriftHiveMetastore_get_config_value_result { public: - static const char* ascii_fingerprint; // = "FB3D66E547AE5D7F8EB046D752ECF5C1"; - static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3D,0x66,0xE5,0x47,0xAE,0x5D,0x7F,0x8E,0xB0,0x46,0xD7,0x52,0xEC,0xF5,0xC1}; - ThriftHiveMetastore_get_config_value_result(const ThriftHiveMetastore_get_config_value_result&); ThriftHiveMetastore_get_config_value_result& operator=(const ThriftHiveMetastore_get_config_value_result&); ThriftHiveMetastore_get_config_value_result() : success() { @@ -10020,7 +9007,6 @@ class ThriftHiveMetastore_get_config_value_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_config_value_result& obj); }; typedef struct _ThriftHiveMetastore_get_config_value_presult__isset { @@ -10032,9 +9018,6 @@ typedef struct _ThriftHiveMetastore_get_config_value_presult__isset { class ThriftHiveMetastore_get_config_value_presult { public: - static const char* ascii_fingerprint; // = "FB3D66E547AE5D7F8EB046D752ECF5C1"; - static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3D,0x66,0xE5,0x47,0xAE,0x5D,0x7F,0x8E,0xB0,0x46,0xD7,0x52,0xEC,0xF5,0xC1}; - virtual ~ThriftHiveMetastore_get_config_value_presult() throw(); std::string* success; @@ -10044,7 +9027,6 @@ class ThriftHiveMetastore_get_config_value_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_config_value_presult& obj); }; typedef struct _ThriftHiveMetastore_partition_name_to_vals_args__isset { @@ -10055,9 +9037,6 @@ typedef struct _ThriftHiveMetastore_partition_name_to_vals_args__isset { class ThriftHiveMetastore_partition_name_to_vals_args { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - ThriftHiveMetastore_partition_name_to_vals_args(const ThriftHiveMetastore_partition_name_to_vals_args&); ThriftHiveMetastore_partition_name_to_vals_args& operator=(const ThriftHiveMetastore_partition_name_to_vals_args&); ThriftHiveMetastore_partition_name_to_vals_args() : part_name() { @@ -10085,23 +9064,18 @@ class ThriftHiveMetastore_partition_name_to_vals_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_to_vals_args& obj); }; class ThriftHiveMetastore_partition_name_to_vals_pargs { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_partition_name_to_vals_pargs() throw(); const std::string* part_name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_to_vals_pargs& obj); }; typedef struct _ThriftHiveMetastore_partition_name_to_vals_result__isset { @@ -10113,9 +9087,6 @@ typedef struct _ThriftHiveMetastore_partition_name_to_vals_result__isset { class ThriftHiveMetastore_partition_name_to_vals_result { public: - static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; - static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - ThriftHiveMetastore_partition_name_to_vals_result(const ThriftHiveMetastore_partition_name_to_vals_result&); ThriftHiveMetastore_partition_name_to_vals_result& operator=(const ThriftHiveMetastore_partition_name_to_vals_result&); ThriftHiveMetastore_partition_name_to_vals_result() { @@ -10148,7 +9119,6 @@ class ThriftHiveMetastore_partition_name_to_vals_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_to_vals_result& obj); }; typedef struct _ThriftHiveMetastore_partition_name_to_vals_presult__isset { @@ -10160,9 +9130,6 @@ typedef struct _ThriftHiveMetastore_partition_name_to_vals_presult__isset { class ThriftHiveMetastore_partition_name_to_vals_presult { public: - static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; - static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - virtual ~ThriftHiveMetastore_partition_name_to_vals_presult() throw(); std::vector * success; @@ -10172,7 +9139,6 @@ class ThriftHiveMetastore_partition_name_to_vals_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_to_vals_presult& obj); }; typedef struct _ThriftHiveMetastore_partition_name_to_spec_args__isset { @@ -10183,9 +9149,6 @@ typedef struct _ThriftHiveMetastore_partition_name_to_spec_args__isset { class ThriftHiveMetastore_partition_name_to_spec_args { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - ThriftHiveMetastore_partition_name_to_spec_args(const ThriftHiveMetastore_partition_name_to_spec_args&); ThriftHiveMetastore_partition_name_to_spec_args& operator=(const ThriftHiveMetastore_partition_name_to_spec_args&); ThriftHiveMetastore_partition_name_to_spec_args() : part_name() { @@ -10213,23 +9176,18 @@ class ThriftHiveMetastore_partition_name_to_spec_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_to_spec_args& obj); }; class ThriftHiveMetastore_partition_name_to_spec_pargs { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_partition_name_to_spec_pargs() throw(); const std::string* part_name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_to_spec_pargs& obj); }; typedef struct _ThriftHiveMetastore_partition_name_to_spec_result__isset { @@ -10241,9 +9199,6 @@ typedef struct _ThriftHiveMetastore_partition_name_to_spec_result__isset { class ThriftHiveMetastore_partition_name_to_spec_result { public: - static const char* ascii_fingerprint; // = "4E721C6D80A641BBC78B7A6A96E9C5C8"; - static const uint8_t binary_fingerprint[16]; // = {0x4E,0x72,0x1C,0x6D,0x80,0xA6,0x41,0xBB,0xC7,0x8B,0x7A,0x6A,0x96,0xE9,0xC5,0xC8}; - ThriftHiveMetastore_partition_name_to_spec_result(const ThriftHiveMetastore_partition_name_to_spec_result&); ThriftHiveMetastore_partition_name_to_spec_result& operator=(const ThriftHiveMetastore_partition_name_to_spec_result&); ThriftHiveMetastore_partition_name_to_spec_result() { @@ -10276,7 +9231,6 @@ class ThriftHiveMetastore_partition_name_to_spec_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_to_spec_result& obj); }; typedef struct _ThriftHiveMetastore_partition_name_to_spec_presult__isset { @@ -10288,9 +9242,6 @@ typedef struct _ThriftHiveMetastore_partition_name_to_spec_presult__isset { class ThriftHiveMetastore_partition_name_to_spec_presult { public: - static const char* ascii_fingerprint; // = "4E721C6D80A641BBC78B7A6A96E9C5C8"; - static const uint8_t binary_fingerprint[16]; // = {0x4E,0x72,0x1C,0x6D,0x80,0xA6,0x41,0xBB,0xC7,0x8B,0x7A,0x6A,0x96,0xE9,0xC5,0xC8}; - virtual ~ThriftHiveMetastore_partition_name_to_spec_presult() throw(); std::map * success; @@ -10300,7 +9251,6 @@ class ThriftHiveMetastore_partition_name_to_spec_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_partition_name_to_spec_presult& obj); }; typedef struct _ThriftHiveMetastore_markPartitionForEvent_args__isset { @@ -10314,9 +9264,6 @@ typedef struct _ThriftHiveMetastore_markPartitionForEvent_args__isset { class ThriftHiveMetastore_markPartitionForEvent_args { public: - static const char* ascii_fingerprint; // = "55DED7525D4B4E203D2060AF66F31D5B"; - static const uint8_t binary_fingerprint[16]; // = {0x55,0xDE,0xD7,0x52,0x5D,0x4B,0x4E,0x20,0x3D,0x20,0x60,0xAF,0x66,0xF3,0x1D,0x5B}; - ThriftHiveMetastore_markPartitionForEvent_args(const ThriftHiveMetastore_markPartitionForEvent_args&); ThriftHiveMetastore_markPartitionForEvent_args& operator=(const ThriftHiveMetastore_markPartitionForEvent_args&); ThriftHiveMetastore_markPartitionForEvent_args() : db_name(), tbl_name(), eventType((PartitionEventType::type)0) { @@ -10359,16 +9306,12 @@ class ThriftHiveMetastore_markPartitionForEvent_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_markPartitionForEvent_args& obj); }; class ThriftHiveMetastore_markPartitionForEvent_pargs { public: - static const char* ascii_fingerprint; // = "55DED7525D4B4E203D2060AF66F31D5B"; - static const uint8_t binary_fingerprint[16]; // = {0x55,0xDE,0xD7,0x52,0x5D,0x4B,0x4E,0x20,0x3D,0x20,0x60,0xAF,0x66,0xF3,0x1D,0x5B}; - virtual ~ThriftHiveMetastore_markPartitionForEvent_pargs() throw(); const std::string* db_name; @@ -10378,7 +9321,6 @@ class ThriftHiveMetastore_markPartitionForEvent_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_markPartitionForEvent_pargs& obj); }; typedef struct _ThriftHiveMetastore_markPartitionForEvent_result__isset { @@ -10394,9 +9336,6 @@ typedef struct _ThriftHiveMetastore_markPartitionForEvent_result__isset { class ThriftHiveMetastore_markPartitionForEvent_result { public: - static const char* ascii_fingerprint; // = "0C100FB750BDB3340333F80C942B7F87"; - static const uint8_t binary_fingerprint[16]; // = {0x0C,0x10,0x0F,0xB7,0x50,0xBD,0xB3,0x34,0x03,0x33,0xF8,0x0C,0x94,0x2B,0x7F,0x87}; - ThriftHiveMetastore_markPartitionForEvent_result(const ThriftHiveMetastore_markPartitionForEvent_result&); ThriftHiveMetastore_markPartitionForEvent_result& operator=(const ThriftHiveMetastore_markPartitionForEvent_result&); ThriftHiveMetastore_markPartitionForEvent_result() { @@ -10449,7 +9388,6 @@ class ThriftHiveMetastore_markPartitionForEvent_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_markPartitionForEvent_result& obj); }; typedef struct _ThriftHiveMetastore_markPartitionForEvent_presult__isset { @@ -10465,9 +9403,6 @@ typedef struct _ThriftHiveMetastore_markPartitionForEvent_presult__isset { class ThriftHiveMetastore_markPartitionForEvent_presult { public: - static const char* ascii_fingerprint; // = "0C100FB750BDB3340333F80C942B7F87"; - static const uint8_t binary_fingerprint[16]; // = {0x0C,0x10,0x0F,0xB7,0x50,0xBD,0xB3,0x34,0x03,0x33,0xF8,0x0C,0x94,0x2B,0x7F,0x87}; - virtual ~ThriftHiveMetastore_markPartitionForEvent_presult() throw(); MetaException o1; @@ -10481,7 +9416,6 @@ class ThriftHiveMetastore_markPartitionForEvent_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_markPartitionForEvent_presult& obj); }; typedef struct _ThriftHiveMetastore_isPartitionMarkedForEvent_args__isset { @@ -10495,9 +9429,6 @@ typedef struct _ThriftHiveMetastore_isPartitionMarkedForEvent_args__isset { class ThriftHiveMetastore_isPartitionMarkedForEvent_args { public: - static const char* ascii_fingerprint; // = "55DED7525D4B4E203D2060AF66F31D5B"; - static const uint8_t binary_fingerprint[16]; // = {0x55,0xDE,0xD7,0x52,0x5D,0x4B,0x4E,0x20,0x3D,0x20,0x60,0xAF,0x66,0xF3,0x1D,0x5B}; - ThriftHiveMetastore_isPartitionMarkedForEvent_args(const ThriftHiveMetastore_isPartitionMarkedForEvent_args&); ThriftHiveMetastore_isPartitionMarkedForEvent_args& operator=(const ThriftHiveMetastore_isPartitionMarkedForEvent_args&); ThriftHiveMetastore_isPartitionMarkedForEvent_args() : db_name(), tbl_name(), eventType((PartitionEventType::type)0) { @@ -10540,16 +9471,12 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_isPartitionMarkedForEvent_args& obj); }; class ThriftHiveMetastore_isPartitionMarkedForEvent_pargs { public: - static const char* ascii_fingerprint; // = "55DED7525D4B4E203D2060AF66F31D5B"; - static const uint8_t binary_fingerprint[16]; // = {0x55,0xDE,0xD7,0x52,0x5D,0x4B,0x4E,0x20,0x3D,0x20,0x60,0xAF,0x66,0xF3,0x1D,0x5B}; - virtual ~ThriftHiveMetastore_isPartitionMarkedForEvent_pargs() throw(); const std::string* db_name; @@ -10559,7 +9486,6 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_isPartitionMarkedForEvent_pargs& obj); }; typedef struct _ThriftHiveMetastore_isPartitionMarkedForEvent_result__isset { @@ -10576,9 +9502,6 @@ typedef struct _ThriftHiveMetastore_isPartitionMarkedForEvent_result__isset { class ThriftHiveMetastore_isPartitionMarkedForEvent_result { public: - static const char* ascii_fingerprint; // = "7F79FC02338E2C85C59D237CC3B0E1EB"; - static const uint8_t binary_fingerprint[16]; // = {0x7F,0x79,0xFC,0x02,0x33,0x8E,0x2C,0x85,0xC5,0x9D,0x23,0x7C,0xC3,0xB0,0xE1,0xEB}; - ThriftHiveMetastore_isPartitionMarkedForEvent_result(const ThriftHiveMetastore_isPartitionMarkedForEvent_result&); ThriftHiveMetastore_isPartitionMarkedForEvent_result& operator=(const ThriftHiveMetastore_isPartitionMarkedForEvent_result&); ThriftHiveMetastore_isPartitionMarkedForEvent_result() : success(0) { @@ -10636,7 +9559,6 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_isPartitionMarkedForEvent_result& obj); }; typedef struct _ThriftHiveMetastore_isPartitionMarkedForEvent_presult__isset { @@ -10653,9 +9575,6 @@ typedef struct _ThriftHiveMetastore_isPartitionMarkedForEvent_presult__isset { class ThriftHiveMetastore_isPartitionMarkedForEvent_presult { public: - static const char* ascii_fingerprint; // = "7F79FC02338E2C85C59D237CC3B0E1EB"; - static const uint8_t binary_fingerprint[16]; // = {0x7F,0x79,0xFC,0x02,0x33,0x8E,0x2C,0x85,0xC5,0x9D,0x23,0x7C,0xC3,0xB0,0xE1,0xEB}; - virtual ~ThriftHiveMetastore_isPartitionMarkedForEvent_presult() throw(); bool* success; @@ -10670,7 +9589,6 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_isPartitionMarkedForEvent_presult& obj); }; typedef struct _ThriftHiveMetastore_add_index_args__isset { @@ -10682,9 +9600,6 @@ typedef struct _ThriftHiveMetastore_add_index_args__isset { class ThriftHiveMetastore_add_index_args { public: - static const char* ascii_fingerprint; // = "63E57E91A04A11631F8F252EF6E92344"; - static const uint8_t binary_fingerprint[16]; // = {0x63,0xE5,0x7E,0x91,0xA0,0x4A,0x11,0x63,0x1F,0x8F,0x25,0x2E,0xF6,0xE9,0x23,0x44}; - ThriftHiveMetastore_add_index_args(const ThriftHiveMetastore_add_index_args&); ThriftHiveMetastore_add_index_args& operator=(const ThriftHiveMetastore_add_index_args&); ThriftHiveMetastore_add_index_args() { @@ -10717,16 +9632,12 @@ class ThriftHiveMetastore_add_index_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_index_args& obj); }; class ThriftHiveMetastore_add_index_pargs { public: - static const char* ascii_fingerprint; // = "63E57E91A04A11631F8F252EF6E92344"; - static const uint8_t binary_fingerprint[16]; // = {0x63,0xE5,0x7E,0x91,0xA0,0x4A,0x11,0x63,0x1F,0x8F,0x25,0x2E,0xF6,0xE9,0x23,0x44}; - virtual ~ThriftHiveMetastore_add_index_pargs() throw(); const Index* new_index; @@ -10734,7 +9645,6 @@ class ThriftHiveMetastore_add_index_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_index_pargs& obj); }; typedef struct _ThriftHiveMetastore_add_index_result__isset { @@ -10748,9 +9658,6 @@ typedef struct _ThriftHiveMetastore_add_index_result__isset { class ThriftHiveMetastore_add_index_result { public: - static const char* ascii_fingerprint; // = "15E23986A4E294C2202C4DEC638256AF"; - static const uint8_t binary_fingerprint[16]; // = {0x15,0xE2,0x39,0x86,0xA4,0xE2,0x94,0xC2,0x20,0x2C,0x4D,0xEC,0x63,0x82,0x56,0xAF}; - ThriftHiveMetastore_add_index_result(const ThriftHiveMetastore_add_index_result&); ThriftHiveMetastore_add_index_result& operator=(const ThriftHiveMetastore_add_index_result&); ThriftHiveMetastore_add_index_result() { @@ -10793,7 +9700,6 @@ class ThriftHiveMetastore_add_index_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_index_result& obj); }; typedef struct _ThriftHiveMetastore_add_index_presult__isset { @@ -10807,9 +9713,6 @@ typedef struct _ThriftHiveMetastore_add_index_presult__isset { class ThriftHiveMetastore_add_index_presult { public: - static const char* ascii_fingerprint; // = "15E23986A4E294C2202C4DEC638256AF"; - static const uint8_t binary_fingerprint[16]; // = {0x15,0xE2,0x39,0x86,0xA4,0xE2,0x94,0xC2,0x20,0x2C,0x4D,0xEC,0x63,0x82,0x56,0xAF}; - virtual ~ThriftHiveMetastore_add_index_presult() throw(); Index* success; @@ -10821,7 +9724,6 @@ class ThriftHiveMetastore_add_index_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_index_presult& obj); }; typedef struct _ThriftHiveMetastore_alter_index_args__isset { @@ -10835,9 +9737,6 @@ typedef struct _ThriftHiveMetastore_alter_index_args__isset { class ThriftHiveMetastore_alter_index_args { public: - static const char* ascii_fingerprint; // = "D0DAD0C573EB46AEAD958254D71EAE4D"; - static const uint8_t binary_fingerprint[16]; // = {0xD0,0xDA,0xD0,0xC5,0x73,0xEB,0x46,0xAE,0xAD,0x95,0x82,0x54,0xD7,0x1E,0xAE,0x4D}; - ThriftHiveMetastore_alter_index_args(const ThriftHiveMetastore_alter_index_args&); ThriftHiveMetastore_alter_index_args& operator=(const ThriftHiveMetastore_alter_index_args&); ThriftHiveMetastore_alter_index_args() : dbname(), base_tbl_name(), idx_name() { @@ -10880,16 +9779,12 @@ class ThriftHiveMetastore_alter_index_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_index_args& obj); }; class ThriftHiveMetastore_alter_index_pargs { public: - static const char* ascii_fingerprint; // = "D0DAD0C573EB46AEAD958254D71EAE4D"; - static const uint8_t binary_fingerprint[16]; // = {0xD0,0xDA,0xD0,0xC5,0x73,0xEB,0x46,0xAE,0xAD,0x95,0x82,0x54,0xD7,0x1E,0xAE,0x4D}; - virtual ~ThriftHiveMetastore_alter_index_pargs() throw(); const std::string* dbname; @@ -10899,7 +9794,6 @@ class ThriftHiveMetastore_alter_index_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_index_pargs& obj); }; typedef struct _ThriftHiveMetastore_alter_index_result__isset { @@ -10911,9 +9805,6 @@ typedef struct _ThriftHiveMetastore_alter_index_result__isset { class ThriftHiveMetastore_alter_index_result { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - ThriftHiveMetastore_alter_index_result(const ThriftHiveMetastore_alter_index_result&); ThriftHiveMetastore_alter_index_result& operator=(const ThriftHiveMetastore_alter_index_result&); ThriftHiveMetastore_alter_index_result() { @@ -10946,7 +9837,6 @@ class ThriftHiveMetastore_alter_index_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_index_result& obj); }; typedef struct _ThriftHiveMetastore_alter_index_presult__isset { @@ -10958,9 +9848,6 @@ typedef struct _ThriftHiveMetastore_alter_index_presult__isset { class ThriftHiveMetastore_alter_index_presult { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_alter_index_presult() throw(); InvalidOperationException o1; @@ -10970,7 +9857,6 @@ class ThriftHiveMetastore_alter_index_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_index_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_index_by_name_args__isset { @@ -10984,9 +9870,6 @@ typedef struct _ThriftHiveMetastore_drop_index_by_name_args__isset { class ThriftHiveMetastore_drop_index_by_name_args { public: - static const char* ascii_fingerprint; // = "557CE3E1F35DD5D74A3999FB1200CAB8"; - static const uint8_t binary_fingerprint[16]; // = {0x55,0x7C,0xE3,0xE1,0xF3,0x5D,0xD5,0xD7,0x4A,0x39,0x99,0xFB,0x12,0x00,0xCA,0xB8}; - ThriftHiveMetastore_drop_index_by_name_args(const ThriftHiveMetastore_drop_index_by_name_args&); ThriftHiveMetastore_drop_index_by_name_args& operator=(const ThriftHiveMetastore_drop_index_by_name_args&); ThriftHiveMetastore_drop_index_by_name_args() : db_name(), tbl_name(), index_name(), deleteData(0) { @@ -11029,16 +9912,12 @@ class ThriftHiveMetastore_drop_index_by_name_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_index_by_name_args& obj); }; class ThriftHiveMetastore_drop_index_by_name_pargs { public: - static const char* ascii_fingerprint; // = "557CE3E1F35DD5D74A3999FB1200CAB8"; - static const uint8_t binary_fingerprint[16]; // = {0x55,0x7C,0xE3,0xE1,0xF3,0x5D,0xD5,0xD7,0x4A,0x39,0x99,0xFB,0x12,0x00,0xCA,0xB8}; - virtual ~ThriftHiveMetastore_drop_index_by_name_pargs() throw(); const std::string* db_name; @@ -11048,7 +9927,6 @@ class ThriftHiveMetastore_drop_index_by_name_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_index_by_name_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_index_by_name_result__isset { @@ -11061,9 +9939,6 @@ typedef struct _ThriftHiveMetastore_drop_index_by_name_result__isset { class ThriftHiveMetastore_drop_index_by_name_result { public: - static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; - static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; - ThriftHiveMetastore_drop_index_by_name_result(const ThriftHiveMetastore_drop_index_by_name_result&); ThriftHiveMetastore_drop_index_by_name_result& operator=(const ThriftHiveMetastore_drop_index_by_name_result&); ThriftHiveMetastore_drop_index_by_name_result() : success(0) { @@ -11101,7 +9976,6 @@ class ThriftHiveMetastore_drop_index_by_name_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_index_by_name_result& obj); }; typedef struct _ThriftHiveMetastore_drop_index_by_name_presult__isset { @@ -11114,9 +9988,6 @@ typedef struct _ThriftHiveMetastore_drop_index_by_name_presult__isset { class ThriftHiveMetastore_drop_index_by_name_presult { public: - static const char* ascii_fingerprint; // = "3499095F5992356B85332339F1B55814"; - static const uint8_t binary_fingerprint[16]; // = {0x34,0x99,0x09,0x5F,0x59,0x92,0x35,0x6B,0x85,0x33,0x23,0x39,0xF1,0xB5,0x58,0x14}; - virtual ~ThriftHiveMetastore_drop_index_by_name_presult() throw(); bool* success; @@ -11127,7 +9998,6 @@ class ThriftHiveMetastore_drop_index_by_name_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_index_by_name_presult& obj); }; typedef struct _ThriftHiveMetastore_get_index_by_name_args__isset { @@ -11140,9 +10010,6 @@ typedef struct _ThriftHiveMetastore_get_index_by_name_args__isset { class ThriftHiveMetastore_get_index_by_name_args { public: - static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271"; - static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; - ThriftHiveMetastore_get_index_by_name_args(const ThriftHiveMetastore_get_index_by_name_args&); ThriftHiveMetastore_get_index_by_name_args& operator=(const ThriftHiveMetastore_get_index_by_name_args&); ThriftHiveMetastore_get_index_by_name_args() : db_name(), tbl_name(), index_name() { @@ -11180,16 +10047,12 @@ class ThriftHiveMetastore_get_index_by_name_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_index_by_name_args& obj); }; class ThriftHiveMetastore_get_index_by_name_pargs { public: - static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271"; - static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; - virtual ~ThriftHiveMetastore_get_index_by_name_pargs() throw(); const std::string* db_name; @@ -11198,7 +10061,6 @@ class ThriftHiveMetastore_get_index_by_name_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_index_by_name_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_index_by_name_result__isset { @@ -11211,9 +10073,6 @@ typedef struct _ThriftHiveMetastore_get_index_by_name_result__isset { class ThriftHiveMetastore_get_index_by_name_result { public: - static const char* ascii_fingerprint; // = "FFA6914B98796DA64D3007437901E7D6"; - static const uint8_t binary_fingerprint[16]; // = {0xFF,0xA6,0x91,0x4B,0x98,0x79,0x6D,0xA6,0x4D,0x30,0x07,0x43,0x79,0x01,0xE7,0xD6}; - ThriftHiveMetastore_get_index_by_name_result(const ThriftHiveMetastore_get_index_by_name_result&); ThriftHiveMetastore_get_index_by_name_result& operator=(const ThriftHiveMetastore_get_index_by_name_result&); ThriftHiveMetastore_get_index_by_name_result() { @@ -11251,7 +10110,6 @@ class ThriftHiveMetastore_get_index_by_name_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_index_by_name_result& obj); }; typedef struct _ThriftHiveMetastore_get_index_by_name_presult__isset { @@ -11264,9 +10122,6 @@ typedef struct _ThriftHiveMetastore_get_index_by_name_presult__isset { class ThriftHiveMetastore_get_index_by_name_presult { public: - static const char* ascii_fingerprint; // = "FFA6914B98796DA64D3007437901E7D6"; - static const uint8_t binary_fingerprint[16]; // = {0xFF,0xA6,0x91,0x4B,0x98,0x79,0x6D,0xA6,0x4D,0x30,0x07,0x43,0x79,0x01,0xE7,0xD6}; - virtual ~ThriftHiveMetastore_get_index_by_name_presult() throw(); Index* success; @@ -11277,7 +10132,6 @@ class ThriftHiveMetastore_get_index_by_name_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_index_by_name_presult& obj); }; typedef struct _ThriftHiveMetastore_get_indexes_args__isset { @@ -11290,9 +10144,6 @@ typedef struct _ThriftHiveMetastore_get_indexes_args__isset { class ThriftHiveMetastore_get_indexes_args { public: - static const char* ascii_fingerprint; // = "52F7D5E8217C4B8FC14F1F30BF2EB41C"; - static const uint8_t binary_fingerprint[16]; // = {0x52,0xF7,0xD5,0xE8,0x21,0x7C,0x4B,0x8F,0xC1,0x4F,0x1F,0x30,0xBF,0x2E,0xB4,0x1C}; - ThriftHiveMetastore_get_indexes_args(const ThriftHiveMetastore_get_indexes_args&); ThriftHiveMetastore_get_indexes_args& operator=(const ThriftHiveMetastore_get_indexes_args&); ThriftHiveMetastore_get_indexes_args() : db_name(), tbl_name(), max_indexes(-1) { @@ -11330,16 +10181,12 @@ class ThriftHiveMetastore_get_indexes_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_indexes_args& obj); }; class ThriftHiveMetastore_get_indexes_pargs { public: - static const char* ascii_fingerprint; // = "52F7D5E8217C4B8FC14F1F30BF2EB41C"; - static const uint8_t binary_fingerprint[16]; // = {0x52,0xF7,0xD5,0xE8,0x21,0x7C,0x4B,0x8F,0xC1,0x4F,0x1F,0x30,0xBF,0x2E,0xB4,0x1C}; - virtual ~ThriftHiveMetastore_get_indexes_pargs() throw(); const std::string* db_name; @@ -11348,7 +10195,6 @@ class ThriftHiveMetastore_get_indexes_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_indexes_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_indexes_result__isset { @@ -11361,9 +10207,6 @@ typedef struct _ThriftHiveMetastore_get_indexes_result__isset { class ThriftHiveMetastore_get_indexes_result { public: - static const char* ascii_fingerprint; // = "0A01F435C57042F7C45EC1B945498138"; - static const uint8_t binary_fingerprint[16]; // = {0x0A,0x01,0xF4,0x35,0xC5,0x70,0x42,0xF7,0xC4,0x5E,0xC1,0xB9,0x45,0x49,0x81,0x38}; - ThriftHiveMetastore_get_indexes_result(const ThriftHiveMetastore_get_indexes_result&); ThriftHiveMetastore_get_indexes_result& operator=(const ThriftHiveMetastore_get_indexes_result&); ThriftHiveMetastore_get_indexes_result() { @@ -11401,7 +10244,6 @@ class ThriftHiveMetastore_get_indexes_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_indexes_result& obj); }; typedef struct _ThriftHiveMetastore_get_indexes_presult__isset { @@ -11414,9 +10256,6 @@ typedef struct _ThriftHiveMetastore_get_indexes_presult__isset { class ThriftHiveMetastore_get_indexes_presult { public: - static const char* ascii_fingerprint; // = "0A01F435C57042F7C45EC1B945498138"; - static const uint8_t binary_fingerprint[16]; // = {0x0A,0x01,0xF4,0x35,0xC5,0x70,0x42,0xF7,0xC4,0x5E,0xC1,0xB9,0x45,0x49,0x81,0x38}; - virtual ~ThriftHiveMetastore_get_indexes_presult() throw(); std::vector * success; @@ -11427,7 +10266,6 @@ class ThriftHiveMetastore_get_indexes_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_indexes_presult& obj); }; typedef struct _ThriftHiveMetastore_get_index_names_args__isset { @@ -11440,9 +10278,6 @@ typedef struct _ThriftHiveMetastore_get_index_names_args__isset { class ThriftHiveMetastore_get_index_names_args { public: - static const char* ascii_fingerprint; // = "52F7D5E8217C4B8FC14F1F30BF2EB41C"; - static const uint8_t binary_fingerprint[16]; // = {0x52,0xF7,0xD5,0xE8,0x21,0x7C,0x4B,0x8F,0xC1,0x4F,0x1F,0x30,0xBF,0x2E,0xB4,0x1C}; - ThriftHiveMetastore_get_index_names_args(const ThriftHiveMetastore_get_index_names_args&); ThriftHiveMetastore_get_index_names_args& operator=(const ThriftHiveMetastore_get_index_names_args&); ThriftHiveMetastore_get_index_names_args() : db_name(), tbl_name(), max_indexes(-1) { @@ -11480,16 +10315,12 @@ class ThriftHiveMetastore_get_index_names_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_index_names_args& obj); }; class ThriftHiveMetastore_get_index_names_pargs { public: - static const char* ascii_fingerprint; // = "52F7D5E8217C4B8FC14F1F30BF2EB41C"; - static const uint8_t binary_fingerprint[16]; // = {0x52,0xF7,0xD5,0xE8,0x21,0x7C,0x4B,0x8F,0xC1,0x4F,0x1F,0x30,0xBF,0x2E,0xB4,0x1C}; - virtual ~ThriftHiveMetastore_get_index_names_pargs() throw(); const std::string* db_name; @@ -11498,7 +10329,6 @@ class ThriftHiveMetastore_get_index_names_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_index_names_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_index_names_result__isset { @@ -11510,9 +10340,6 @@ typedef struct _ThriftHiveMetastore_get_index_names_result__isset { class ThriftHiveMetastore_get_index_names_result { public: - static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; - static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - ThriftHiveMetastore_get_index_names_result(const ThriftHiveMetastore_get_index_names_result&); ThriftHiveMetastore_get_index_names_result& operator=(const ThriftHiveMetastore_get_index_names_result&); ThriftHiveMetastore_get_index_names_result() { @@ -11545,7 +10372,6 @@ class ThriftHiveMetastore_get_index_names_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_index_names_result& obj); }; typedef struct _ThriftHiveMetastore_get_index_names_presult__isset { @@ -11557,9 +10383,6 @@ typedef struct _ThriftHiveMetastore_get_index_names_presult__isset { class ThriftHiveMetastore_get_index_names_presult { public: - static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; - static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - virtual ~ThriftHiveMetastore_get_index_names_presult() throw(); std::vector * success; @@ -11569,7 +10392,6 @@ class ThriftHiveMetastore_get_index_names_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_index_names_presult& obj); }; typedef struct _ThriftHiveMetastore_update_table_column_statistics_args__isset { @@ -11580,9 +10402,6 @@ typedef struct _ThriftHiveMetastore_update_table_column_statistics_args__isset { class ThriftHiveMetastore_update_table_column_statistics_args { public: - static const char* ascii_fingerprint; // = "AE5C106737E1B22E685B7A2BFCECFFBE"; - static const uint8_t binary_fingerprint[16]; // = {0xAE,0x5C,0x10,0x67,0x37,0xE1,0xB2,0x2E,0x68,0x5B,0x7A,0x2B,0xFC,0xEC,0xFF,0xBE}; - ThriftHiveMetastore_update_table_column_statistics_args(const ThriftHiveMetastore_update_table_column_statistics_args&); ThriftHiveMetastore_update_table_column_statistics_args& operator=(const ThriftHiveMetastore_update_table_column_statistics_args&); ThriftHiveMetastore_update_table_column_statistics_args() { @@ -11610,23 +10429,18 @@ class ThriftHiveMetastore_update_table_column_statistics_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_update_table_column_statistics_args& obj); }; class ThriftHiveMetastore_update_table_column_statistics_pargs { public: - static const char* ascii_fingerprint; // = "AE5C106737E1B22E685B7A2BFCECFFBE"; - static const uint8_t binary_fingerprint[16]; // = {0xAE,0x5C,0x10,0x67,0x37,0xE1,0xB2,0x2E,0x68,0x5B,0x7A,0x2B,0xFC,0xEC,0xFF,0xBE}; - virtual ~ThriftHiveMetastore_update_table_column_statistics_pargs() throw(); const ColumnStatistics* stats_obj; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_update_table_column_statistics_pargs& obj); }; typedef struct _ThriftHiveMetastore_update_table_column_statistics_result__isset { @@ -11641,9 +10455,6 @@ typedef struct _ThriftHiveMetastore_update_table_column_statistics_result__isset class ThriftHiveMetastore_update_table_column_statistics_result { public: - static const char* ascii_fingerprint; // = "E8B013EAAAC242F4CEBBF1AC05253E9C"; - static const uint8_t binary_fingerprint[16]; // = {0xE8,0xB0,0x13,0xEA,0xAA,0xC2,0x42,0xF4,0xCE,0xBB,0xF1,0xAC,0x05,0x25,0x3E,0x9C}; - ThriftHiveMetastore_update_table_column_statistics_result(const ThriftHiveMetastore_update_table_column_statistics_result&); ThriftHiveMetastore_update_table_column_statistics_result& operator=(const ThriftHiveMetastore_update_table_column_statistics_result&); ThriftHiveMetastore_update_table_column_statistics_result() : success(0) { @@ -11691,7 +10502,6 @@ class ThriftHiveMetastore_update_table_column_statistics_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_update_table_column_statistics_result& obj); }; typedef struct _ThriftHiveMetastore_update_table_column_statistics_presult__isset { @@ -11706,9 +10516,6 @@ typedef struct _ThriftHiveMetastore_update_table_column_statistics_presult__isse class ThriftHiveMetastore_update_table_column_statistics_presult { public: - static const char* ascii_fingerprint; // = "E8B013EAAAC242F4CEBBF1AC05253E9C"; - static const uint8_t binary_fingerprint[16]; // = {0xE8,0xB0,0x13,0xEA,0xAA,0xC2,0x42,0xF4,0xCE,0xBB,0xF1,0xAC,0x05,0x25,0x3E,0x9C}; - virtual ~ThriftHiveMetastore_update_table_column_statistics_presult() throw(); bool* success; @@ -11721,7 +10528,6 @@ class ThriftHiveMetastore_update_table_column_statistics_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_update_table_column_statistics_presult& obj); }; typedef struct _ThriftHiveMetastore_update_partition_column_statistics_args__isset { @@ -11732,9 +10538,6 @@ typedef struct _ThriftHiveMetastore_update_partition_column_statistics_args__iss class ThriftHiveMetastore_update_partition_column_statistics_args { public: - static const char* ascii_fingerprint; // = "AE5C106737E1B22E685B7A2BFCECFFBE"; - static const uint8_t binary_fingerprint[16]; // = {0xAE,0x5C,0x10,0x67,0x37,0xE1,0xB2,0x2E,0x68,0x5B,0x7A,0x2B,0xFC,0xEC,0xFF,0xBE}; - ThriftHiveMetastore_update_partition_column_statistics_args(const ThriftHiveMetastore_update_partition_column_statistics_args&); ThriftHiveMetastore_update_partition_column_statistics_args& operator=(const ThriftHiveMetastore_update_partition_column_statistics_args&); ThriftHiveMetastore_update_partition_column_statistics_args() { @@ -11762,23 +10565,18 @@ class ThriftHiveMetastore_update_partition_column_statistics_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_update_partition_column_statistics_args& obj); }; class ThriftHiveMetastore_update_partition_column_statistics_pargs { public: - static const char* ascii_fingerprint; // = "AE5C106737E1B22E685B7A2BFCECFFBE"; - static const uint8_t binary_fingerprint[16]; // = {0xAE,0x5C,0x10,0x67,0x37,0xE1,0xB2,0x2E,0x68,0x5B,0x7A,0x2B,0xFC,0xEC,0xFF,0xBE}; - virtual ~ThriftHiveMetastore_update_partition_column_statistics_pargs() throw(); const ColumnStatistics* stats_obj; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_update_partition_column_statistics_pargs& obj); }; typedef struct _ThriftHiveMetastore_update_partition_column_statistics_result__isset { @@ -11793,9 +10591,6 @@ typedef struct _ThriftHiveMetastore_update_partition_column_statistics_result__i class ThriftHiveMetastore_update_partition_column_statistics_result { public: - static const char* ascii_fingerprint; // = "E8B013EAAAC242F4CEBBF1AC05253E9C"; - static const uint8_t binary_fingerprint[16]; // = {0xE8,0xB0,0x13,0xEA,0xAA,0xC2,0x42,0xF4,0xCE,0xBB,0xF1,0xAC,0x05,0x25,0x3E,0x9C}; - ThriftHiveMetastore_update_partition_column_statistics_result(const ThriftHiveMetastore_update_partition_column_statistics_result&); ThriftHiveMetastore_update_partition_column_statistics_result& operator=(const ThriftHiveMetastore_update_partition_column_statistics_result&); ThriftHiveMetastore_update_partition_column_statistics_result() : success(0) { @@ -11843,7 +10638,6 @@ class ThriftHiveMetastore_update_partition_column_statistics_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_update_partition_column_statistics_result& obj); }; typedef struct _ThriftHiveMetastore_update_partition_column_statistics_presult__isset { @@ -11858,9 +10652,6 @@ typedef struct _ThriftHiveMetastore_update_partition_column_statistics_presult__ class ThriftHiveMetastore_update_partition_column_statistics_presult { public: - static const char* ascii_fingerprint; // = "E8B013EAAAC242F4CEBBF1AC05253E9C"; - static const uint8_t binary_fingerprint[16]; // = {0xE8,0xB0,0x13,0xEA,0xAA,0xC2,0x42,0xF4,0xCE,0xBB,0xF1,0xAC,0x05,0x25,0x3E,0x9C}; - virtual ~ThriftHiveMetastore_update_partition_column_statistics_presult() throw(); bool* success; @@ -11873,7 +10664,6 @@ class ThriftHiveMetastore_update_partition_column_statistics_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_update_partition_column_statistics_presult& obj); }; typedef struct _ThriftHiveMetastore_get_table_column_statistics_args__isset { @@ -11886,9 +10676,6 @@ typedef struct _ThriftHiveMetastore_get_table_column_statistics_args__isset { class ThriftHiveMetastore_get_table_column_statistics_args { public: - static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271"; - static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; - ThriftHiveMetastore_get_table_column_statistics_args(const ThriftHiveMetastore_get_table_column_statistics_args&); ThriftHiveMetastore_get_table_column_statistics_args& operator=(const ThriftHiveMetastore_get_table_column_statistics_args&); ThriftHiveMetastore_get_table_column_statistics_args() : db_name(), tbl_name(), col_name() { @@ -11926,16 +10713,12 @@ class ThriftHiveMetastore_get_table_column_statistics_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_column_statistics_args& obj); }; class ThriftHiveMetastore_get_table_column_statistics_pargs { public: - static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271"; - static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; - virtual ~ThriftHiveMetastore_get_table_column_statistics_pargs() throw(); const std::string* db_name; @@ -11944,7 +10727,6 @@ class ThriftHiveMetastore_get_table_column_statistics_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_column_statistics_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_table_column_statistics_result__isset { @@ -11959,9 +10741,6 @@ typedef struct _ThriftHiveMetastore_get_table_column_statistics_result__isset { class ThriftHiveMetastore_get_table_column_statistics_result { public: - static const char* ascii_fingerprint; // = "408B83AEA8B721681928BFF5B3F9FEE9"; - static const uint8_t binary_fingerprint[16]; // = {0x40,0x8B,0x83,0xAE,0xA8,0xB7,0x21,0x68,0x19,0x28,0xBF,0xF5,0xB3,0xF9,0xFE,0xE9}; - ThriftHiveMetastore_get_table_column_statistics_result(const ThriftHiveMetastore_get_table_column_statistics_result&); ThriftHiveMetastore_get_table_column_statistics_result& operator=(const ThriftHiveMetastore_get_table_column_statistics_result&); ThriftHiveMetastore_get_table_column_statistics_result() { @@ -12009,7 +10788,6 @@ class ThriftHiveMetastore_get_table_column_statistics_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_column_statistics_result& obj); }; typedef struct _ThriftHiveMetastore_get_table_column_statistics_presult__isset { @@ -12024,9 +10802,6 @@ typedef struct _ThriftHiveMetastore_get_table_column_statistics_presult__isset { class ThriftHiveMetastore_get_table_column_statistics_presult { public: - static const char* ascii_fingerprint; // = "408B83AEA8B721681928BFF5B3F9FEE9"; - static const uint8_t binary_fingerprint[16]; // = {0x40,0x8B,0x83,0xAE,0xA8,0xB7,0x21,0x68,0x19,0x28,0xBF,0xF5,0xB3,0xF9,0xFE,0xE9}; - virtual ~ThriftHiveMetastore_get_table_column_statistics_presult() throw(); ColumnStatistics* success; @@ -12039,7 +10814,6 @@ class ThriftHiveMetastore_get_table_column_statistics_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_column_statistics_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partition_column_statistics_args__isset { @@ -12053,9 +10827,6 @@ typedef struct _ThriftHiveMetastore_get_partition_column_statistics_args__isset class ThriftHiveMetastore_get_partition_column_statistics_args { public: - static const char* ascii_fingerprint; // = "C93D890311F28844166CF6E571EB3AC2"; - static const uint8_t binary_fingerprint[16]; // = {0xC9,0x3D,0x89,0x03,0x11,0xF2,0x88,0x44,0x16,0x6C,0xF6,0xE5,0x71,0xEB,0x3A,0xC2}; - ThriftHiveMetastore_get_partition_column_statistics_args(const ThriftHiveMetastore_get_partition_column_statistics_args&); ThriftHiveMetastore_get_partition_column_statistics_args& operator=(const ThriftHiveMetastore_get_partition_column_statistics_args&); ThriftHiveMetastore_get_partition_column_statistics_args() : db_name(), tbl_name(), part_name(), col_name() { @@ -12098,16 +10869,12 @@ class ThriftHiveMetastore_get_partition_column_statistics_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_column_statistics_args& obj); }; class ThriftHiveMetastore_get_partition_column_statistics_pargs { public: - static const char* ascii_fingerprint; // = "C93D890311F28844166CF6E571EB3AC2"; - static const uint8_t binary_fingerprint[16]; // = {0xC9,0x3D,0x89,0x03,0x11,0xF2,0x88,0x44,0x16,0x6C,0xF6,0xE5,0x71,0xEB,0x3A,0xC2}; - virtual ~ThriftHiveMetastore_get_partition_column_statistics_pargs() throw(); const std::string* db_name; @@ -12117,7 +10884,6 @@ class ThriftHiveMetastore_get_partition_column_statistics_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_column_statistics_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partition_column_statistics_result__isset { @@ -12132,9 +10898,6 @@ typedef struct _ThriftHiveMetastore_get_partition_column_statistics_result__isse class ThriftHiveMetastore_get_partition_column_statistics_result { public: - static const char* ascii_fingerprint; // = "408B83AEA8B721681928BFF5B3F9FEE9"; - static const uint8_t binary_fingerprint[16]; // = {0x40,0x8B,0x83,0xAE,0xA8,0xB7,0x21,0x68,0x19,0x28,0xBF,0xF5,0xB3,0xF9,0xFE,0xE9}; - ThriftHiveMetastore_get_partition_column_statistics_result(const ThriftHiveMetastore_get_partition_column_statistics_result&); ThriftHiveMetastore_get_partition_column_statistics_result& operator=(const ThriftHiveMetastore_get_partition_column_statistics_result&); ThriftHiveMetastore_get_partition_column_statistics_result() { @@ -12182,7 +10945,6 @@ class ThriftHiveMetastore_get_partition_column_statistics_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_column_statistics_result& obj); }; typedef struct _ThriftHiveMetastore_get_partition_column_statistics_presult__isset { @@ -12197,9 +10959,6 @@ typedef struct _ThriftHiveMetastore_get_partition_column_statistics_presult__iss class ThriftHiveMetastore_get_partition_column_statistics_presult { public: - static const char* ascii_fingerprint; // = "408B83AEA8B721681928BFF5B3F9FEE9"; - static const uint8_t binary_fingerprint[16]; // = {0x40,0x8B,0x83,0xAE,0xA8,0xB7,0x21,0x68,0x19,0x28,0xBF,0xF5,0xB3,0xF9,0xFE,0xE9}; - virtual ~ThriftHiveMetastore_get_partition_column_statistics_presult() throw(); ColumnStatistics* success; @@ -12212,7 +10971,6 @@ class ThriftHiveMetastore_get_partition_column_statistics_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partition_column_statistics_presult& obj); }; typedef struct _ThriftHiveMetastore_get_table_statistics_req_args__isset { @@ -12223,9 +10981,6 @@ typedef struct _ThriftHiveMetastore_get_table_statistics_req_args__isset { class ThriftHiveMetastore_get_table_statistics_req_args { public: - static const char* ascii_fingerprint; // = "94867D168B0639FA344D11EEF0E85291"; - static const uint8_t binary_fingerprint[16]; // = {0x94,0x86,0x7D,0x16,0x8B,0x06,0x39,0xFA,0x34,0x4D,0x11,0xEE,0xF0,0xE8,0x52,0x91}; - ThriftHiveMetastore_get_table_statistics_req_args(const ThriftHiveMetastore_get_table_statistics_req_args&); ThriftHiveMetastore_get_table_statistics_req_args& operator=(const ThriftHiveMetastore_get_table_statistics_req_args&); ThriftHiveMetastore_get_table_statistics_req_args() { @@ -12253,23 +11008,18 @@ class ThriftHiveMetastore_get_table_statistics_req_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_statistics_req_args& obj); }; class ThriftHiveMetastore_get_table_statistics_req_pargs { public: - static const char* ascii_fingerprint; // = "94867D168B0639FA344D11EEF0E85291"; - static const uint8_t binary_fingerprint[16]; // = {0x94,0x86,0x7D,0x16,0x8B,0x06,0x39,0xFA,0x34,0x4D,0x11,0xEE,0xF0,0xE8,0x52,0x91}; - virtual ~ThriftHiveMetastore_get_table_statistics_req_pargs() throw(); const TableStatsRequest* request; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_statistics_req_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_table_statistics_req_result__isset { @@ -12282,9 +11032,6 @@ typedef struct _ThriftHiveMetastore_get_table_statistics_req_result__isset { class ThriftHiveMetastore_get_table_statistics_req_result { public: - static const char* ascii_fingerprint; // = "328719A3F540356B9FACCD1AA2690E89"; - static const uint8_t binary_fingerprint[16]; // = {0x32,0x87,0x19,0xA3,0xF5,0x40,0x35,0x6B,0x9F,0xAC,0xCD,0x1A,0xA2,0x69,0x0E,0x89}; - ThriftHiveMetastore_get_table_statistics_req_result(const ThriftHiveMetastore_get_table_statistics_req_result&); ThriftHiveMetastore_get_table_statistics_req_result& operator=(const ThriftHiveMetastore_get_table_statistics_req_result&); ThriftHiveMetastore_get_table_statistics_req_result() { @@ -12322,7 +11069,6 @@ class ThriftHiveMetastore_get_table_statistics_req_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_statistics_req_result& obj); }; typedef struct _ThriftHiveMetastore_get_table_statistics_req_presult__isset { @@ -12335,9 +11081,6 @@ typedef struct _ThriftHiveMetastore_get_table_statistics_req_presult__isset { class ThriftHiveMetastore_get_table_statistics_req_presult { public: - static const char* ascii_fingerprint; // = "328719A3F540356B9FACCD1AA2690E89"; - static const uint8_t binary_fingerprint[16]; // = {0x32,0x87,0x19,0xA3,0xF5,0x40,0x35,0x6B,0x9F,0xAC,0xCD,0x1A,0xA2,0x69,0x0E,0x89}; - virtual ~ThriftHiveMetastore_get_table_statistics_req_presult() throw(); TableStatsResult* success; @@ -12348,7 +11091,6 @@ class ThriftHiveMetastore_get_table_statistics_req_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_table_statistics_req_presult& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_statistics_req_args__isset { @@ -12359,9 +11101,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_statistics_req_args__isset { class ThriftHiveMetastore_get_partitions_statistics_req_args { public: - static const char* ascii_fingerprint; // = "A16CD6655F15DFD35925BCD2DD68C45C"; - static const uint8_t binary_fingerprint[16]; // = {0xA1,0x6C,0xD6,0x65,0x5F,0x15,0xDF,0xD3,0x59,0x25,0xBC,0xD2,0xDD,0x68,0xC4,0x5C}; - ThriftHiveMetastore_get_partitions_statistics_req_args(const ThriftHiveMetastore_get_partitions_statistics_req_args&); ThriftHiveMetastore_get_partitions_statistics_req_args& operator=(const ThriftHiveMetastore_get_partitions_statistics_req_args&); ThriftHiveMetastore_get_partitions_statistics_req_args() { @@ -12389,23 +11128,18 @@ class ThriftHiveMetastore_get_partitions_statistics_req_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_statistics_req_args& obj); }; class ThriftHiveMetastore_get_partitions_statistics_req_pargs { public: - static const char* ascii_fingerprint; // = "A16CD6655F15DFD35925BCD2DD68C45C"; - static const uint8_t binary_fingerprint[16]; // = {0xA1,0x6C,0xD6,0x65,0x5F,0x15,0xDF,0xD3,0x59,0x25,0xBC,0xD2,0xDD,0x68,0xC4,0x5C}; - virtual ~ThriftHiveMetastore_get_partitions_statistics_req_pargs() throw(); const PartitionsStatsRequest* request; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_statistics_req_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_statistics_req_result__isset { @@ -12418,9 +11152,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_statistics_req_result__isset class ThriftHiveMetastore_get_partitions_statistics_req_result { public: - static const char* ascii_fingerprint; // = "F9DEAB4687D23290CB7B628227A6CD9A"; - static const uint8_t binary_fingerprint[16]; // = {0xF9,0xDE,0xAB,0x46,0x87,0xD2,0x32,0x90,0xCB,0x7B,0x62,0x82,0x27,0xA6,0xCD,0x9A}; - ThriftHiveMetastore_get_partitions_statistics_req_result(const ThriftHiveMetastore_get_partitions_statistics_req_result&); ThriftHiveMetastore_get_partitions_statistics_req_result& operator=(const ThriftHiveMetastore_get_partitions_statistics_req_result&); ThriftHiveMetastore_get_partitions_statistics_req_result() { @@ -12458,7 +11189,6 @@ class ThriftHiveMetastore_get_partitions_statistics_req_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_statistics_req_result& obj); }; typedef struct _ThriftHiveMetastore_get_partitions_statistics_req_presult__isset { @@ -12471,9 +11201,6 @@ typedef struct _ThriftHiveMetastore_get_partitions_statistics_req_presult__isset class ThriftHiveMetastore_get_partitions_statistics_req_presult { public: - static const char* ascii_fingerprint; // = "F9DEAB4687D23290CB7B628227A6CD9A"; - static const uint8_t binary_fingerprint[16]; // = {0xF9,0xDE,0xAB,0x46,0x87,0xD2,0x32,0x90,0xCB,0x7B,0x62,0x82,0x27,0xA6,0xCD,0x9A}; - virtual ~ThriftHiveMetastore_get_partitions_statistics_req_presult() throw(); PartitionsStatsResult* success; @@ -12484,7 +11211,6 @@ class ThriftHiveMetastore_get_partitions_statistics_req_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_partitions_statistics_req_presult& obj); }; typedef struct _ThriftHiveMetastore_get_aggr_stats_for_args__isset { @@ -12495,9 +11221,6 @@ typedef struct _ThriftHiveMetastore_get_aggr_stats_for_args__isset { class ThriftHiveMetastore_get_aggr_stats_for_args { public: - static const char* ascii_fingerprint; // = "A16CD6655F15DFD35925BCD2DD68C45C"; - static const uint8_t binary_fingerprint[16]; // = {0xA1,0x6C,0xD6,0x65,0x5F,0x15,0xDF,0xD3,0x59,0x25,0xBC,0xD2,0xDD,0x68,0xC4,0x5C}; - ThriftHiveMetastore_get_aggr_stats_for_args(const ThriftHiveMetastore_get_aggr_stats_for_args&); ThriftHiveMetastore_get_aggr_stats_for_args& operator=(const ThriftHiveMetastore_get_aggr_stats_for_args&); ThriftHiveMetastore_get_aggr_stats_for_args() { @@ -12525,23 +11248,18 @@ class ThriftHiveMetastore_get_aggr_stats_for_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_aggr_stats_for_args& obj); }; class ThriftHiveMetastore_get_aggr_stats_for_pargs { public: - static const char* ascii_fingerprint; // = "A16CD6655F15DFD35925BCD2DD68C45C"; - static const uint8_t binary_fingerprint[16]; // = {0xA1,0x6C,0xD6,0x65,0x5F,0x15,0xDF,0xD3,0x59,0x25,0xBC,0xD2,0xDD,0x68,0xC4,0x5C}; - virtual ~ThriftHiveMetastore_get_aggr_stats_for_pargs() throw(); const PartitionsStatsRequest* request; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_aggr_stats_for_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_aggr_stats_for_result__isset { @@ -12554,9 +11272,6 @@ typedef struct _ThriftHiveMetastore_get_aggr_stats_for_result__isset { class ThriftHiveMetastore_get_aggr_stats_for_result { public: - static const char* ascii_fingerprint; // = "0E2499DB10F2A2BF347E7097A9A92119"; - static const uint8_t binary_fingerprint[16]; // = {0x0E,0x24,0x99,0xDB,0x10,0xF2,0xA2,0xBF,0x34,0x7E,0x70,0x97,0xA9,0xA9,0x21,0x19}; - ThriftHiveMetastore_get_aggr_stats_for_result(const ThriftHiveMetastore_get_aggr_stats_for_result&); ThriftHiveMetastore_get_aggr_stats_for_result& operator=(const ThriftHiveMetastore_get_aggr_stats_for_result&); ThriftHiveMetastore_get_aggr_stats_for_result() { @@ -12594,7 +11309,6 @@ class ThriftHiveMetastore_get_aggr_stats_for_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_aggr_stats_for_result& obj); }; typedef struct _ThriftHiveMetastore_get_aggr_stats_for_presult__isset { @@ -12607,9 +11321,6 @@ typedef struct _ThriftHiveMetastore_get_aggr_stats_for_presult__isset { class ThriftHiveMetastore_get_aggr_stats_for_presult { public: - static const char* ascii_fingerprint; // = "0E2499DB10F2A2BF347E7097A9A92119"; - static const uint8_t binary_fingerprint[16]; // = {0x0E,0x24,0x99,0xDB,0x10,0xF2,0xA2,0xBF,0x34,0x7E,0x70,0x97,0xA9,0xA9,0x21,0x19}; - virtual ~ThriftHiveMetastore_get_aggr_stats_for_presult() throw(); AggrStats* success; @@ -12620,7 +11331,6 @@ class ThriftHiveMetastore_get_aggr_stats_for_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_aggr_stats_for_presult& obj); }; typedef struct _ThriftHiveMetastore_set_aggr_stats_for_args__isset { @@ -12631,9 +11341,6 @@ typedef struct _ThriftHiveMetastore_set_aggr_stats_for_args__isset { class ThriftHiveMetastore_set_aggr_stats_for_args { public: - static const char* ascii_fingerprint; // = "E4DB88667062633838D02B63FB572DFC"; - static const uint8_t binary_fingerprint[16]; // = {0xE4,0xDB,0x88,0x66,0x70,0x62,0x63,0x38,0x38,0xD0,0x2B,0x63,0xFB,0x57,0x2D,0xFC}; - ThriftHiveMetastore_set_aggr_stats_for_args(const ThriftHiveMetastore_set_aggr_stats_for_args&); ThriftHiveMetastore_set_aggr_stats_for_args& operator=(const ThriftHiveMetastore_set_aggr_stats_for_args&); ThriftHiveMetastore_set_aggr_stats_for_args() { @@ -12661,23 +11368,18 @@ class ThriftHiveMetastore_set_aggr_stats_for_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_set_aggr_stats_for_args& obj); }; class ThriftHiveMetastore_set_aggr_stats_for_pargs { public: - static const char* ascii_fingerprint; // = "E4DB88667062633838D02B63FB572DFC"; - static const uint8_t binary_fingerprint[16]; // = {0xE4,0xDB,0x88,0x66,0x70,0x62,0x63,0x38,0x38,0xD0,0x2B,0x63,0xFB,0x57,0x2D,0xFC}; - virtual ~ThriftHiveMetastore_set_aggr_stats_for_pargs() throw(); const SetPartitionsStatsRequest* request; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_set_aggr_stats_for_pargs& obj); }; typedef struct _ThriftHiveMetastore_set_aggr_stats_for_result__isset { @@ -12692,9 +11394,6 @@ typedef struct _ThriftHiveMetastore_set_aggr_stats_for_result__isset { class ThriftHiveMetastore_set_aggr_stats_for_result { public: - static const char* ascii_fingerprint; // = "E8B013EAAAC242F4CEBBF1AC05253E9C"; - static const uint8_t binary_fingerprint[16]; // = {0xE8,0xB0,0x13,0xEA,0xAA,0xC2,0x42,0xF4,0xCE,0xBB,0xF1,0xAC,0x05,0x25,0x3E,0x9C}; - ThriftHiveMetastore_set_aggr_stats_for_result(const ThriftHiveMetastore_set_aggr_stats_for_result&); ThriftHiveMetastore_set_aggr_stats_for_result& operator=(const ThriftHiveMetastore_set_aggr_stats_for_result&); ThriftHiveMetastore_set_aggr_stats_for_result() : success(0) { @@ -12742,7 +11441,6 @@ class ThriftHiveMetastore_set_aggr_stats_for_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_set_aggr_stats_for_result& obj); }; typedef struct _ThriftHiveMetastore_set_aggr_stats_for_presult__isset { @@ -12757,9 +11455,6 @@ typedef struct _ThriftHiveMetastore_set_aggr_stats_for_presult__isset { class ThriftHiveMetastore_set_aggr_stats_for_presult { public: - static const char* ascii_fingerprint; // = "E8B013EAAAC242F4CEBBF1AC05253E9C"; - static const uint8_t binary_fingerprint[16]; // = {0xE8,0xB0,0x13,0xEA,0xAA,0xC2,0x42,0xF4,0xCE,0xBB,0xF1,0xAC,0x05,0x25,0x3E,0x9C}; - virtual ~ThriftHiveMetastore_set_aggr_stats_for_presult() throw(); bool* success; @@ -12772,7 +11467,6 @@ class ThriftHiveMetastore_set_aggr_stats_for_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_set_aggr_stats_for_presult& obj); }; typedef struct _ThriftHiveMetastore_delete_partition_column_statistics_args__isset { @@ -12786,9 +11480,6 @@ typedef struct _ThriftHiveMetastore_delete_partition_column_statistics_args__iss class ThriftHiveMetastore_delete_partition_column_statistics_args { public: - static const char* ascii_fingerprint; // = "C93D890311F28844166CF6E571EB3AC2"; - static const uint8_t binary_fingerprint[16]; // = {0xC9,0x3D,0x89,0x03,0x11,0xF2,0x88,0x44,0x16,0x6C,0xF6,0xE5,0x71,0xEB,0x3A,0xC2}; - ThriftHiveMetastore_delete_partition_column_statistics_args(const ThriftHiveMetastore_delete_partition_column_statistics_args&); ThriftHiveMetastore_delete_partition_column_statistics_args& operator=(const ThriftHiveMetastore_delete_partition_column_statistics_args&); ThriftHiveMetastore_delete_partition_column_statistics_args() : db_name(), tbl_name(), part_name(), col_name() { @@ -12831,16 +11522,12 @@ class ThriftHiveMetastore_delete_partition_column_statistics_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_delete_partition_column_statistics_args& obj); }; class ThriftHiveMetastore_delete_partition_column_statistics_pargs { public: - static const char* ascii_fingerprint; // = "C93D890311F28844166CF6E571EB3AC2"; - static const uint8_t binary_fingerprint[16]; // = {0xC9,0x3D,0x89,0x03,0x11,0xF2,0x88,0x44,0x16,0x6C,0xF6,0xE5,0x71,0xEB,0x3A,0xC2}; - virtual ~ThriftHiveMetastore_delete_partition_column_statistics_pargs() throw(); const std::string* db_name; @@ -12850,7 +11537,6 @@ class ThriftHiveMetastore_delete_partition_column_statistics_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_delete_partition_column_statistics_pargs& obj); }; typedef struct _ThriftHiveMetastore_delete_partition_column_statistics_result__isset { @@ -12865,9 +11551,6 @@ typedef struct _ThriftHiveMetastore_delete_partition_column_statistics_result__i class ThriftHiveMetastore_delete_partition_column_statistics_result { public: - static const char* ascii_fingerprint; // = "E8B013EAAAC242F4CEBBF1AC05253E9C"; - static const uint8_t binary_fingerprint[16]; // = {0xE8,0xB0,0x13,0xEA,0xAA,0xC2,0x42,0xF4,0xCE,0xBB,0xF1,0xAC,0x05,0x25,0x3E,0x9C}; - ThriftHiveMetastore_delete_partition_column_statistics_result(const ThriftHiveMetastore_delete_partition_column_statistics_result&); ThriftHiveMetastore_delete_partition_column_statistics_result& operator=(const ThriftHiveMetastore_delete_partition_column_statistics_result&); ThriftHiveMetastore_delete_partition_column_statistics_result() : success(0) { @@ -12915,7 +11598,6 @@ class ThriftHiveMetastore_delete_partition_column_statistics_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_delete_partition_column_statistics_result& obj); }; typedef struct _ThriftHiveMetastore_delete_partition_column_statistics_presult__isset { @@ -12930,9 +11612,6 @@ typedef struct _ThriftHiveMetastore_delete_partition_column_statistics_presult__ class ThriftHiveMetastore_delete_partition_column_statistics_presult { public: - static const char* ascii_fingerprint; // = "E8B013EAAAC242F4CEBBF1AC05253E9C"; - static const uint8_t binary_fingerprint[16]; // = {0xE8,0xB0,0x13,0xEA,0xAA,0xC2,0x42,0xF4,0xCE,0xBB,0xF1,0xAC,0x05,0x25,0x3E,0x9C}; - virtual ~ThriftHiveMetastore_delete_partition_column_statistics_presult() throw(); bool* success; @@ -12945,7 +11624,6 @@ class ThriftHiveMetastore_delete_partition_column_statistics_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_delete_partition_column_statistics_presult& obj); }; typedef struct _ThriftHiveMetastore_delete_table_column_statistics_args__isset { @@ -12958,9 +11636,6 @@ typedef struct _ThriftHiveMetastore_delete_table_column_statistics_args__isset { class ThriftHiveMetastore_delete_table_column_statistics_args { public: - static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271"; - static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; - ThriftHiveMetastore_delete_table_column_statistics_args(const ThriftHiveMetastore_delete_table_column_statistics_args&); ThriftHiveMetastore_delete_table_column_statistics_args& operator=(const ThriftHiveMetastore_delete_table_column_statistics_args&); ThriftHiveMetastore_delete_table_column_statistics_args() : db_name(), tbl_name(), col_name() { @@ -12998,16 +11673,12 @@ class ThriftHiveMetastore_delete_table_column_statistics_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_delete_table_column_statistics_args& obj); }; class ThriftHiveMetastore_delete_table_column_statistics_pargs { public: - static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271"; - static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; - virtual ~ThriftHiveMetastore_delete_table_column_statistics_pargs() throw(); const std::string* db_name; @@ -13016,7 +11687,6 @@ class ThriftHiveMetastore_delete_table_column_statistics_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_delete_table_column_statistics_pargs& obj); }; typedef struct _ThriftHiveMetastore_delete_table_column_statistics_result__isset { @@ -13031,9 +11701,6 @@ typedef struct _ThriftHiveMetastore_delete_table_column_statistics_result__isset class ThriftHiveMetastore_delete_table_column_statistics_result { public: - static const char* ascii_fingerprint; // = "E8B013EAAAC242F4CEBBF1AC05253E9C"; - static const uint8_t binary_fingerprint[16]; // = {0xE8,0xB0,0x13,0xEA,0xAA,0xC2,0x42,0xF4,0xCE,0xBB,0xF1,0xAC,0x05,0x25,0x3E,0x9C}; - ThriftHiveMetastore_delete_table_column_statistics_result(const ThriftHiveMetastore_delete_table_column_statistics_result&); ThriftHiveMetastore_delete_table_column_statistics_result& operator=(const ThriftHiveMetastore_delete_table_column_statistics_result&); ThriftHiveMetastore_delete_table_column_statistics_result() : success(0) { @@ -13081,7 +11748,6 @@ class ThriftHiveMetastore_delete_table_column_statistics_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_delete_table_column_statistics_result& obj); }; typedef struct _ThriftHiveMetastore_delete_table_column_statistics_presult__isset { @@ -13096,9 +11762,6 @@ typedef struct _ThriftHiveMetastore_delete_table_column_statistics_presult__isse class ThriftHiveMetastore_delete_table_column_statistics_presult { public: - static const char* ascii_fingerprint; // = "E8B013EAAAC242F4CEBBF1AC05253E9C"; - static const uint8_t binary_fingerprint[16]; // = {0xE8,0xB0,0x13,0xEA,0xAA,0xC2,0x42,0xF4,0xCE,0xBB,0xF1,0xAC,0x05,0x25,0x3E,0x9C}; - virtual ~ThriftHiveMetastore_delete_table_column_statistics_presult() throw(); bool* success; @@ -13111,7 +11774,6 @@ class ThriftHiveMetastore_delete_table_column_statistics_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_delete_table_column_statistics_presult& obj); }; typedef struct _ThriftHiveMetastore_create_function_args__isset { @@ -13122,9 +11784,6 @@ typedef struct _ThriftHiveMetastore_create_function_args__isset { class ThriftHiveMetastore_create_function_args { public: - static const char* ascii_fingerprint; // = "25614A3E61B5684636724A881FC768D7"; - static const uint8_t binary_fingerprint[16]; // = {0x25,0x61,0x4A,0x3E,0x61,0xB5,0x68,0x46,0x36,0x72,0x4A,0x88,0x1F,0xC7,0x68,0xD7}; - ThriftHiveMetastore_create_function_args(const ThriftHiveMetastore_create_function_args&); ThriftHiveMetastore_create_function_args& operator=(const ThriftHiveMetastore_create_function_args&); ThriftHiveMetastore_create_function_args() { @@ -13152,23 +11811,18 @@ class ThriftHiveMetastore_create_function_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_function_args& obj); }; class ThriftHiveMetastore_create_function_pargs { public: - static const char* ascii_fingerprint; // = "25614A3E61B5684636724A881FC768D7"; - static const uint8_t binary_fingerprint[16]; // = {0x25,0x61,0x4A,0x3E,0x61,0xB5,0x68,0x46,0x36,0x72,0x4A,0x88,0x1F,0xC7,0x68,0xD7}; - virtual ~ThriftHiveMetastore_create_function_pargs() throw(); const Function* func; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_function_pargs& obj); }; typedef struct _ThriftHiveMetastore_create_function_result__isset { @@ -13182,9 +11836,6 @@ typedef struct _ThriftHiveMetastore_create_function_result__isset { class ThriftHiveMetastore_create_function_result { public: - static const char* ascii_fingerprint; // = "F9EF8E19A6AC2C4E08D282524B9828EB"; - static const uint8_t binary_fingerprint[16]; // = {0xF9,0xEF,0x8E,0x19,0xA6,0xAC,0x2C,0x4E,0x08,0xD2,0x82,0x52,0x4B,0x98,0x28,0xEB}; - ThriftHiveMetastore_create_function_result(const ThriftHiveMetastore_create_function_result&); ThriftHiveMetastore_create_function_result& operator=(const ThriftHiveMetastore_create_function_result&); ThriftHiveMetastore_create_function_result() { @@ -13227,7 +11878,6 @@ class ThriftHiveMetastore_create_function_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_function_result& obj); }; typedef struct _ThriftHiveMetastore_create_function_presult__isset { @@ -13241,9 +11891,6 @@ typedef struct _ThriftHiveMetastore_create_function_presult__isset { class ThriftHiveMetastore_create_function_presult { public: - static const char* ascii_fingerprint; // = "F9EF8E19A6AC2C4E08D282524B9828EB"; - static const uint8_t binary_fingerprint[16]; // = {0xF9,0xEF,0x8E,0x19,0xA6,0xAC,0x2C,0x4E,0x08,0xD2,0x82,0x52,0x4B,0x98,0x28,0xEB}; - virtual ~ThriftHiveMetastore_create_function_presult() throw(); AlreadyExistsException o1; @@ -13255,7 +11902,6 @@ class ThriftHiveMetastore_create_function_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_function_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_function_args__isset { @@ -13267,9 +11913,6 @@ typedef struct _ThriftHiveMetastore_drop_function_args__isset { class ThriftHiveMetastore_drop_function_args { public: - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - ThriftHiveMetastore_drop_function_args(const ThriftHiveMetastore_drop_function_args&); ThriftHiveMetastore_drop_function_args& operator=(const ThriftHiveMetastore_drop_function_args&); ThriftHiveMetastore_drop_function_args() : dbName(), funcName() { @@ -13302,16 +11945,12 @@ class ThriftHiveMetastore_drop_function_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_function_args& obj); }; class ThriftHiveMetastore_drop_function_pargs { public: - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - virtual ~ThriftHiveMetastore_drop_function_pargs() throw(); const std::string* dbName; @@ -13319,7 +11958,6 @@ class ThriftHiveMetastore_drop_function_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_function_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_function_result__isset { @@ -13331,9 +11969,6 @@ typedef struct _ThriftHiveMetastore_drop_function_result__isset { class ThriftHiveMetastore_drop_function_result { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - ThriftHiveMetastore_drop_function_result(const ThriftHiveMetastore_drop_function_result&); ThriftHiveMetastore_drop_function_result& operator=(const ThriftHiveMetastore_drop_function_result&); ThriftHiveMetastore_drop_function_result() { @@ -13366,7 +12001,6 @@ class ThriftHiveMetastore_drop_function_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_function_result& obj); }; typedef struct _ThriftHiveMetastore_drop_function_presult__isset { @@ -13378,9 +12012,6 @@ typedef struct _ThriftHiveMetastore_drop_function_presult__isset { class ThriftHiveMetastore_drop_function_presult { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_drop_function_presult() throw(); NoSuchObjectException o1; @@ -13390,7 +12021,6 @@ class ThriftHiveMetastore_drop_function_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_function_presult& obj); }; typedef struct _ThriftHiveMetastore_alter_function_args__isset { @@ -13403,9 +12033,6 @@ typedef struct _ThriftHiveMetastore_alter_function_args__isset { class ThriftHiveMetastore_alter_function_args { public: - static const char* ascii_fingerprint; // = "2F8F1358572180A7FA1CDB1B1021A3E8"; - static const uint8_t binary_fingerprint[16]; // = {0x2F,0x8F,0x13,0x58,0x57,0x21,0x80,0xA7,0xFA,0x1C,0xDB,0x1B,0x10,0x21,0xA3,0xE8}; - ThriftHiveMetastore_alter_function_args(const ThriftHiveMetastore_alter_function_args&); ThriftHiveMetastore_alter_function_args& operator=(const ThriftHiveMetastore_alter_function_args&); ThriftHiveMetastore_alter_function_args() : dbName(), funcName() { @@ -13443,16 +12070,12 @@ class ThriftHiveMetastore_alter_function_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_function_args& obj); }; class ThriftHiveMetastore_alter_function_pargs { public: - static const char* ascii_fingerprint; // = "2F8F1358572180A7FA1CDB1B1021A3E8"; - static const uint8_t binary_fingerprint[16]; // = {0x2F,0x8F,0x13,0x58,0x57,0x21,0x80,0xA7,0xFA,0x1C,0xDB,0x1B,0x10,0x21,0xA3,0xE8}; - virtual ~ThriftHiveMetastore_alter_function_pargs() throw(); const std::string* dbName; @@ -13461,7 +12084,6 @@ class ThriftHiveMetastore_alter_function_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_function_pargs& obj); }; typedef struct _ThriftHiveMetastore_alter_function_result__isset { @@ -13473,9 +12095,6 @@ typedef struct _ThriftHiveMetastore_alter_function_result__isset { class ThriftHiveMetastore_alter_function_result { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - ThriftHiveMetastore_alter_function_result(const ThriftHiveMetastore_alter_function_result&); ThriftHiveMetastore_alter_function_result& operator=(const ThriftHiveMetastore_alter_function_result&); ThriftHiveMetastore_alter_function_result() { @@ -13508,7 +12127,6 @@ class ThriftHiveMetastore_alter_function_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_function_result& obj); }; typedef struct _ThriftHiveMetastore_alter_function_presult__isset { @@ -13520,9 +12138,6 @@ typedef struct _ThriftHiveMetastore_alter_function_presult__isset { class ThriftHiveMetastore_alter_function_presult { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_alter_function_presult() throw(); InvalidOperationException o1; @@ -13532,7 +12147,6 @@ class ThriftHiveMetastore_alter_function_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_alter_function_presult& obj); }; typedef struct _ThriftHiveMetastore_get_functions_args__isset { @@ -13544,9 +12158,6 @@ typedef struct _ThriftHiveMetastore_get_functions_args__isset { class ThriftHiveMetastore_get_functions_args { public: - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - ThriftHiveMetastore_get_functions_args(const ThriftHiveMetastore_get_functions_args&); ThriftHiveMetastore_get_functions_args& operator=(const ThriftHiveMetastore_get_functions_args&); ThriftHiveMetastore_get_functions_args() : dbName(), pattern() { @@ -13579,16 +12190,12 @@ class ThriftHiveMetastore_get_functions_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_functions_args& obj); }; class ThriftHiveMetastore_get_functions_pargs { public: - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - virtual ~ThriftHiveMetastore_get_functions_pargs() throw(); const std::string* dbName; @@ -13596,7 +12203,6 @@ class ThriftHiveMetastore_get_functions_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_functions_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_functions_result__isset { @@ -13608,9 +12214,6 @@ typedef struct _ThriftHiveMetastore_get_functions_result__isset { class ThriftHiveMetastore_get_functions_result { public: - static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; - static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - ThriftHiveMetastore_get_functions_result(const ThriftHiveMetastore_get_functions_result&); ThriftHiveMetastore_get_functions_result& operator=(const ThriftHiveMetastore_get_functions_result&); ThriftHiveMetastore_get_functions_result() { @@ -13643,7 +12246,6 @@ class ThriftHiveMetastore_get_functions_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_functions_result& obj); }; typedef struct _ThriftHiveMetastore_get_functions_presult__isset { @@ -13655,9 +12257,6 @@ typedef struct _ThriftHiveMetastore_get_functions_presult__isset { class ThriftHiveMetastore_get_functions_presult { public: - static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; - static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - virtual ~ThriftHiveMetastore_get_functions_presult() throw(); std::vector * success; @@ -13667,7 +12266,6 @@ class ThriftHiveMetastore_get_functions_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_functions_presult& obj); }; typedef struct _ThriftHiveMetastore_get_function_args__isset { @@ -13679,9 +12277,6 @@ typedef struct _ThriftHiveMetastore_get_function_args__isset { class ThriftHiveMetastore_get_function_args { public: - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - ThriftHiveMetastore_get_function_args(const ThriftHiveMetastore_get_function_args&); ThriftHiveMetastore_get_function_args& operator=(const ThriftHiveMetastore_get_function_args&); ThriftHiveMetastore_get_function_args() : dbName(), funcName() { @@ -13714,16 +12309,12 @@ class ThriftHiveMetastore_get_function_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_function_args& obj); }; class ThriftHiveMetastore_get_function_pargs { public: - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - virtual ~ThriftHiveMetastore_get_function_pargs() throw(); const std::string* dbName; @@ -13731,7 +12322,6 @@ class ThriftHiveMetastore_get_function_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_function_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_function_result__isset { @@ -13744,9 +12334,6 @@ typedef struct _ThriftHiveMetastore_get_function_result__isset { class ThriftHiveMetastore_get_function_result { public: - static const char* ascii_fingerprint; // = "870289681A55022612B36FE7410680C6"; - static const uint8_t binary_fingerprint[16]; // = {0x87,0x02,0x89,0x68,0x1A,0x55,0x02,0x26,0x12,0xB3,0x6F,0xE7,0x41,0x06,0x80,0xC6}; - ThriftHiveMetastore_get_function_result(const ThriftHiveMetastore_get_function_result&); ThriftHiveMetastore_get_function_result& operator=(const ThriftHiveMetastore_get_function_result&); ThriftHiveMetastore_get_function_result() { @@ -13784,7 +12371,6 @@ class ThriftHiveMetastore_get_function_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_function_result& obj); }; typedef struct _ThriftHiveMetastore_get_function_presult__isset { @@ -13797,9 +12383,6 @@ typedef struct _ThriftHiveMetastore_get_function_presult__isset { class ThriftHiveMetastore_get_function_presult { public: - static const char* ascii_fingerprint; // = "870289681A55022612B36FE7410680C6"; - static const uint8_t binary_fingerprint[16]; // = {0x87,0x02,0x89,0x68,0x1A,0x55,0x02,0x26,0x12,0xB3,0x6F,0xE7,0x41,0x06,0x80,0xC6}; - virtual ~ThriftHiveMetastore_get_function_presult() throw(); Function* success; @@ -13810,16 +12393,12 @@ class ThriftHiveMetastore_get_function_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_function_presult& obj); }; class ThriftHiveMetastore_get_all_functions_args { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - ThriftHiveMetastore_get_all_functions_args(const ThriftHiveMetastore_get_all_functions_args&); ThriftHiveMetastore_get_all_functions_args& operator=(const ThriftHiveMetastore_get_all_functions_args&); ThriftHiveMetastore_get_all_functions_args() { @@ -13840,22 +12419,17 @@ class ThriftHiveMetastore_get_all_functions_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_functions_args& obj); }; class ThriftHiveMetastore_get_all_functions_pargs { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHiveMetastore_get_all_functions_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_functions_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_all_functions_result__isset { @@ -13867,9 +12441,6 @@ typedef struct _ThriftHiveMetastore_get_all_functions_result__isset { class ThriftHiveMetastore_get_all_functions_result { public: - static const char* ascii_fingerprint; // = "06C8A68188A121F548981E73524438EF"; - static const uint8_t binary_fingerprint[16]; // = {0x06,0xC8,0xA6,0x81,0x88,0xA1,0x21,0xF5,0x48,0x98,0x1E,0x73,0x52,0x44,0x38,0xEF}; - ThriftHiveMetastore_get_all_functions_result(const ThriftHiveMetastore_get_all_functions_result&); ThriftHiveMetastore_get_all_functions_result& operator=(const ThriftHiveMetastore_get_all_functions_result&); ThriftHiveMetastore_get_all_functions_result() { @@ -13902,7 +12473,6 @@ class ThriftHiveMetastore_get_all_functions_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_functions_result& obj); }; typedef struct _ThriftHiveMetastore_get_all_functions_presult__isset { @@ -13914,9 +12484,6 @@ typedef struct _ThriftHiveMetastore_get_all_functions_presult__isset { class ThriftHiveMetastore_get_all_functions_presult { public: - static const char* ascii_fingerprint; // = "06C8A68188A121F548981E73524438EF"; - static const uint8_t binary_fingerprint[16]; // = {0x06,0xC8,0xA6,0x81,0x88,0xA1,0x21,0xF5,0x48,0x98,0x1E,0x73,0x52,0x44,0x38,0xEF}; - virtual ~ThriftHiveMetastore_get_all_functions_presult() throw(); GetAllFunctionsResponse* success; @@ -13926,7 +12493,6 @@ class ThriftHiveMetastore_get_all_functions_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_all_functions_presult& obj); }; typedef struct _ThriftHiveMetastore_create_role_args__isset { @@ -13937,9 +12503,6 @@ typedef struct _ThriftHiveMetastore_create_role_args__isset { class ThriftHiveMetastore_create_role_args { public: - static const char* ascii_fingerprint; // = "6AC6FD61CA5E3524E0174B0B96D6F9C0"; - static const uint8_t binary_fingerprint[16]; // = {0x6A,0xC6,0xFD,0x61,0xCA,0x5E,0x35,0x24,0xE0,0x17,0x4B,0x0B,0x96,0xD6,0xF9,0xC0}; - ThriftHiveMetastore_create_role_args(const ThriftHiveMetastore_create_role_args&); ThriftHiveMetastore_create_role_args& operator=(const ThriftHiveMetastore_create_role_args&); ThriftHiveMetastore_create_role_args() { @@ -13967,23 +12530,18 @@ class ThriftHiveMetastore_create_role_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_role_args& obj); }; class ThriftHiveMetastore_create_role_pargs { public: - static const char* ascii_fingerprint; // = "6AC6FD61CA5E3524E0174B0B96D6F9C0"; - static const uint8_t binary_fingerprint[16]; // = {0x6A,0xC6,0xFD,0x61,0xCA,0x5E,0x35,0x24,0xE0,0x17,0x4B,0x0B,0x96,0xD6,0xF9,0xC0}; - virtual ~ThriftHiveMetastore_create_role_pargs() throw(); const Role* role; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_role_pargs& obj); }; typedef struct _ThriftHiveMetastore_create_role_result__isset { @@ -13995,9 +12553,6 @@ typedef struct _ThriftHiveMetastore_create_role_result__isset { class ThriftHiveMetastore_create_role_result { public: - static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; - static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; - ThriftHiveMetastore_create_role_result(const ThriftHiveMetastore_create_role_result&); ThriftHiveMetastore_create_role_result& operator=(const ThriftHiveMetastore_create_role_result&); ThriftHiveMetastore_create_role_result() : success(0) { @@ -14030,7 +12585,6 @@ class ThriftHiveMetastore_create_role_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_role_result& obj); }; typedef struct _ThriftHiveMetastore_create_role_presult__isset { @@ -14042,9 +12596,6 @@ typedef struct _ThriftHiveMetastore_create_role_presult__isset { class ThriftHiveMetastore_create_role_presult { public: - static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; - static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; - virtual ~ThriftHiveMetastore_create_role_presult() throw(); bool* success; @@ -14054,7 +12605,6 @@ class ThriftHiveMetastore_create_role_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_create_role_presult& obj); }; typedef struct _ThriftHiveMetastore_drop_role_args__isset { @@ -14065,9 +12615,6 @@ typedef struct _ThriftHiveMetastore_drop_role_args__isset { class ThriftHiveMetastore_drop_role_args { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - ThriftHiveMetastore_drop_role_args(const ThriftHiveMetastore_drop_role_args&); ThriftHiveMetastore_drop_role_args& operator=(const ThriftHiveMetastore_drop_role_args&); ThriftHiveMetastore_drop_role_args() : role_name() { @@ -14095,23 +12642,18 @@ class ThriftHiveMetastore_drop_role_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_role_args& obj); }; class ThriftHiveMetastore_drop_role_pargs { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_drop_role_pargs() throw(); const std::string* role_name; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_role_pargs& obj); }; typedef struct _ThriftHiveMetastore_drop_role_result__isset { @@ -14123,9 +12665,6 @@ typedef struct _ThriftHiveMetastore_drop_role_result__isset { class ThriftHiveMetastore_drop_role_result { public: - static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; - static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; - ThriftHiveMetastore_drop_role_result(const ThriftHiveMetastore_drop_role_result&); ThriftHiveMetastore_drop_role_result& operator=(const ThriftHiveMetastore_drop_role_result&); ThriftHiveMetastore_drop_role_result() : success(0) { @@ -14158,7 +12697,6 @@ class ThriftHiveMetastore_drop_role_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_role_result& obj); }; typedef struct _ThriftHiveMetastore_drop_role_presult__isset { @@ -14170,9 +12708,6 @@ typedef struct _ThriftHiveMetastore_drop_role_presult__isset { class ThriftHiveMetastore_drop_role_presult { public: - static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; - static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; - virtual ~ThriftHiveMetastore_drop_role_presult() throw(); bool* success; @@ -14182,16 +12717,12 @@ class ThriftHiveMetastore_drop_role_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_drop_role_presult& obj); }; class ThriftHiveMetastore_get_role_names_args { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - ThriftHiveMetastore_get_role_names_args(const ThriftHiveMetastore_get_role_names_args&); ThriftHiveMetastore_get_role_names_args& operator=(const ThriftHiveMetastore_get_role_names_args&); ThriftHiveMetastore_get_role_names_args() { @@ -14212,22 +12743,17 @@ class ThriftHiveMetastore_get_role_names_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_role_names_args& obj); }; class ThriftHiveMetastore_get_role_names_pargs { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHiveMetastore_get_role_names_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_role_names_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_role_names_result__isset { @@ -14239,9 +12765,6 @@ typedef struct _ThriftHiveMetastore_get_role_names_result__isset { class ThriftHiveMetastore_get_role_names_result { public: - static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; - static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - ThriftHiveMetastore_get_role_names_result(const ThriftHiveMetastore_get_role_names_result&); ThriftHiveMetastore_get_role_names_result& operator=(const ThriftHiveMetastore_get_role_names_result&); ThriftHiveMetastore_get_role_names_result() { @@ -14274,7 +12797,6 @@ class ThriftHiveMetastore_get_role_names_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_role_names_result& obj); }; typedef struct _ThriftHiveMetastore_get_role_names_presult__isset { @@ -14286,9 +12808,6 @@ typedef struct _ThriftHiveMetastore_get_role_names_presult__isset { class ThriftHiveMetastore_get_role_names_presult { public: - static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; - static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - virtual ~ThriftHiveMetastore_get_role_names_presult() throw(); std::vector * success; @@ -14298,7 +12817,6 @@ class ThriftHiveMetastore_get_role_names_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_role_names_presult& obj); }; typedef struct _ThriftHiveMetastore_grant_role_args__isset { @@ -14314,9 +12832,6 @@ typedef struct _ThriftHiveMetastore_grant_role_args__isset { class ThriftHiveMetastore_grant_role_args { public: - static const char* ascii_fingerprint; // = "133BD894291B139C46ECC5FBC7D159A2"; - static const uint8_t binary_fingerprint[16]; // = {0x13,0x3B,0xD8,0x94,0x29,0x1B,0x13,0x9C,0x46,0xEC,0xC5,0xFB,0xC7,0xD1,0x59,0xA2}; - ThriftHiveMetastore_grant_role_args(const ThriftHiveMetastore_grant_role_args&); ThriftHiveMetastore_grant_role_args& operator=(const ThriftHiveMetastore_grant_role_args&); ThriftHiveMetastore_grant_role_args() : role_name(), principal_name(), principal_type((PrincipalType::type)0), grantor(), grantorType((PrincipalType::type)0), grant_option(0) { @@ -14369,16 +12884,12 @@ class ThriftHiveMetastore_grant_role_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_role_args& obj); }; class ThriftHiveMetastore_grant_role_pargs { public: - static const char* ascii_fingerprint; // = "133BD894291B139C46ECC5FBC7D159A2"; - static const uint8_t binary_fingerprint[16]; // = {0x13,0x3B,0xD8,0x94,0x29,0x1B,0x13,0x9C,0x46,0xEC,0xC5,0xFB,0xC7,0xD1,0x59,0xA2}; - virtual ~ThriftHiveMetastore_grant_role_pargs() throw(); const std::string* role_name; @@ -14390,7 +12901,6 @@ class ThriftHiveMetastore_grant_role_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_role_pargs& obj); }; typedef struct _ThriftHiveMetastore_grant_role_result__isset { @@ -14402,9 +12912,6 @@ typedef struct _ThriftHiveMetastore_grant_role_result__isset { class ThriftHiveMetastore_grant_role_result { public: - static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; - static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; - ThriftHiveMetastore_grant_role_result(const ThriftHiveMetastore_grant_role_result&); ThriftHiveMetastore_grant_role_result& operator=(const ThriftHiveMetastore_grant_role_result&); ThriftHiveMetastore_grant_role_result() : success(0) { @@ -14437,7 +12944,6 @@ class ThriftHiveMetastore_grant_role_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_role_result& obj); }; typedef struct _ThriftHiveMetastore_grant_role_presult__isset { @@ -14449,9 +12955,6 @@ typedef struct _ThriftHiveMetastore_grant_role_presult__isset { class ThriftHiveMetastore_grant_role_presult { public: - static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; - static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; - virtual ~ThriftHiveMetastore_grant_role_presult() throw(); bool* success; @@ -14461,7 +12964,6 @@ class ThriftHiveMetastore_grant_role_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_role_presult& obj); }; typedef struct _ThriftHiveMetastore_revoke_role_args__isset { @@ -14474,9 +12976,6 @@ typedef struct _ThriftHiveMetastore_revoke_role_args__isset { class ThriftHiveMetastore_revoke_role_args { public: - static const char* ascii_fingerprint; // = "4F8ABE747D9A2DF14F7E84DDBE60D55C"; - static const uint8_t binary_fingerprint[16]; // = {0x4F,0x8A,0xBE,0x74,0x7D,0x9A,0x2D,0xF1,0x4F,0x7E,0x84,0xDD,0xBE,0x60,0xD5,0x5C}; - ThriftHiveMetastore_revoke_role_args(const ThriftHiveMetastore_revoke_role_args&); ThriftHiveMetastore_revoke_role_args& operator=(const ThriftHiveMetastore_revoke_role_args&); ThriftHiveMetastore_revoke_role_args() : role_name(), principal_name(), principal_type((PrincipalType::type)0) { @@ -14514,16 +13013,12 @@ class ThriftHiveMetastore_revoke_role_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_revoke_role_args& obj); }; class ThriftHiveMetastore_revoke_role_pargs { public: - static const char* ascii_fingerprint; // = "4F8ABE747D9A2DF14F7E84DDBE60D55C"; - static const uint8_t binary_fingerprint[16]; // = {0x4F,0x8A,0xBE,0x74,0x7D,0x9A,0x2D,0xF1,0x4F,0x7E,0x84,0xDD,0xBE,0x60,0xD5,0x5C}; - virtual ~ThriftHiveMetastore_revoke_role_pargs() throw(); const std::string* role_name; @@ -14532,7 +13027,6 @@ class ThriftHiveMetastore_revoke_role_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_revoke_role_pargs& obj); }; typedef struct _ThriftHiveMetastore_revoke_role_result__isset { @@ -14544,9 +13038,6 @@ typedef struct _ThriftHiveMetastore_revoke_role_result__isset { class ThriftHiveMetastore_revoke_role_result { public: - static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; - static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; - ThriftHiveMetastore_revoke_role_result(const ThriftHiveMetastore_revoke_role_result&); ThriftHiveMetastore_revoke_role_result& operator=(const ThriftHiveMetastore_revoke_role_result&); ThriftHiveMetastore_revoke_role_result() : success(0) { @@ -14579,7 +13070,6 @@ class ThriftHiveMetastore_revoke_role_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_revoke_role_result& obj); }; typedef struct _ThriftHiveMetastore_revoke_role_presult__isset { @@ -14591,9 +13081,6 @@ typedef struct _ThriftHiveMetastore_revoke_role_presult__isset { class ThriftHiveMetastore_revoke_role_presult { public: - static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; - static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; - virtual ~ThriftHiveMetastore_revoke_role_presult() throw(); bool* success; @@ -14603,7 +13090,6 @@ class ThriftHiveMetastore_revoke_role_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_revoke_role_presult& obj); }; typedef struct _ThriftHiveMetastore_list_roles_args__isset { @@ -14615,9 +13101,6 @@ typedef struct _ThriftHiveMetastore_list_roles_args__isset { class ThriftHiveMetastore_list_roles_args { public: - static const char* ascii_fingerprint; // = "D6FD826D949221396F4FFC3ECCD3D192"; - static const uint8_t binary_fingerprint[16]; // = {0xD6,0xFD,0x82,0x6D,0x94,0x92,0x21,0x39,0x6F,0x4F,0xFC,0x3E,0xCC,0xD3,0xD1,0x92}; - ThriftHiveMetastore_list_roles_args(const ThriftHiveMetastore_list_roles_args&); ThriftHiveMetastore_list_roles_args& operator=(const ThriftHiveMetastore_list_roles_args&); ThriftHiveMetastore_list_roles_args() : principal_name(), principal_type((PrincipalType::type)0) { @@ -14650,16 +13133,12 @@ class ThriftHiveMetastore_list_roles_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_list_roles_args& obj); }; class ThriftHiveMetastore_list_roles_pargs { public: - static const char* ascii_fingerprint; // = "D6FD826D949221396F4FFC3ECCD3D192"; - static const uint8_t binary_fingerprint[16]; // = {0xD6,0xFD,0x82,0x6D,0x94,0x92,0x21,0x39,0x6F,0x4F,0xFC,0x3E,0xCC,0xD3,0xD1,0x92}; - virtual ~ThriftHiveMetastore_list_roles_pargs() throw(); const std::string* principal_name; @@ -14667,7 +13146,6 @@ class ThriftHiveMetastore_list_roles_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_list_roles_pargs& obj); }; typedef struct _ThriftHiveMetastore_list_roles_result__isset { @@ -14679,9 +13157,6 @@ typedef struct _ThriftHiveMetastore_list_roles_result__isset { class ThriftHiveMetastore_list_roles_result { public: - static const char* ascii_fingerprint; // = "F4E2C0107AD92DC71252C1F2F0EC2593"; - static const uint8_t binary_fingerprint[16]; // = {0xF4,0xE2,0xC0,0x10,0x7A,0xD9,0x2D,0xC7,0x12,0x52,0xC1,0xF2,0xF0,0xEC,0x25,0x93}; - ThriftHiveMetastore_list_roles_result(const ThriftHiveMetastore_list_roles_result&); ThriftHiveMetastore_list_roles_result& operator=(const ThriftHiveMetastore_list_roles_result&); ThriftHiveMetastore_list_roles_result() { @@ -14714,7 +13189,6 @@ class ThriftHiveMetastore_list_roles_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_list_roles_result& obj); }; typedef struct _ThriftHiveMetastore_list_roles_presult__isset { @@ -14726,9 +13200,6 @@ typedef struct _ThriftHiveMetastore_list_roles_presult__isset { class ThriftHiveMetastore_list_roles_presult { public: - static const char* ascii_fingerprint; // = "F4E2C0107AD92DC71252C1F2F0EC2593"; - static const uint8_t binary_fingerprint[16]; // = {0xF4,0xE2,0xC0,0x10,0x7A,0xD9,0x2D,0xC7,0x12,0x52,0xC1,0xF2,0xF0,0xEC,0x25,0x93}; - virtual ~ThriftHiveMetastore_list_roles_presult() throw(); std::vector * success; @@ -14738,7 +13209,6 @@ class ThriftHiveMetastore_list_roles_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_list_roles_presult& obj); }; typedef struct _ThriftHiveMetastore_grant_revoke_role_args__isset { @@ -14749,9 +13219,6 @@ typedef struct _ThriftHiveMetastore_grant_revoke_role_args__isset { class ThriftHiveMetastore_grant_revoke_role_args { public: - static const char* ascii_fingerprint; // = "32A08793075D468A123BDF8A429097C2"; - static const uint8_t binary_fingerprint[16]; // = {0x32,0xA0,0x87,0x93,0x07,0x5D,0x46,0x8A,0x12,0x3B,0xDF,0x8A,0x42,0x90,0x97,0xC2}; - ThriftHiveMetastore_grant_revoke_role_args(const ThriftHiveMetastore_grant_revoke_role_args&); ThriftHiveMetastore_grant_revoke_role_args& operator=(const ThriftHiveMetastore_grant_revoke_role_args&); ThriftHiveMetastore_grant_revoke_role_args() { @@ -14779,23 +13246,18 @@ class ThriftHiveMetastore_grant_revoke_role_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_revoke_role_args& obj); }; class ThriftHiveMetastore_grant_revoke_role_pargs { public: - static const char* ascii_fingerprint; // = "32A08793075D468A123BDF8A429097C2"; - static const uint8_t binary_fingerprint[16]; // = {0x32,0xA0,0x87,0x93,0x07,0x5D,0x46,0x8A,0x12,0x3B,0xDF,0x8A,0x42,0x90,0x97,0xC2}; - virtual ~ThriftHiveMetastore_grant_revoke_role_pargs() throw(); const GrantRevokeRoleRequest* request; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_revoke_role_pargs& obj); }; typedef struct _ThriftHiveMetastore_grant_revoke_role_result__isset { @@ -14807,9 +13269,6 @@ typedef struct _ThriftHiveMetastore_grant_revoke_role_result__isset { class ThriftHiveMetastore_grant_revoke_role_result { public: - static const char* ascii_fingerprint; // = "2752D57FBB6A712ADAD7D19783020F2C"; - static const uint8_t binary_fingerprint[16]; // = {0x27,0x52,0xD5,0x7F,0xBB,0x6A,0x71,0x2A,0xDA,0xD7,0xD1,0x97,0x83,0x02,0x0F,0x2C}; - ThriftHiveMetastore_grant_revoke_role_result(const ThriftHiveMetastore_grant_revoke_role_result&); ThriftHiveMetastore_grant_revoke_role_result& operator=(const ThriftHiveMetastore_grant_revoke_role_result&); ThriftHiveMetastore_grant_revoke_role_result() { @@ -14842,7 +13301,6 @@ class ThriftHiveMetastore_grant_revoke_role_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_revoke_role_result& obj); }; typedef struct _ThriftHiveMetastore_grant_revoke_role_presult__isset { @@ -14854,9 +13312,6 @@ typedef struct _ThriftHiveMetastore_grant_revoke_role_presult__isset { class ThriftHiveMetastore_grant_revoke_role_presult { public: - static const char* ascii_fingerprint; // = "2752D57FBB6A712ADAD7D19783020F2C"; - static const uint8_t binary_fingerprint[16]; // = {0x27,0x52,0xD5,0x7F,0xBB,0x6A,0x71,0x2A,0xDA,0xD7,0xD1,0x97,0x83,0x02,0x0F,0x2C}; - virtual ~ThriftHiveMetastore_grant_revoke_role_presult() throw(); GrantRevokeRoleResponse* success; @@ -14866,7 +13321,6 @@ class ThriftHiveMetastore_grant_revoke_role_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_revoke_role_presult& obj); }; typedef struct _ThriftHiveMetastore_get_principals_in_role_args__isset { @@ -14877,9 +13331,6 @@ typedef struct _ThriftHiveMetastore_get_principals_in_role_args__isset { class ThriftHiveMetastore_get_principals_in_role_args { public: - static const char* ascii_fingerprint; // = "771E7EF40B572D2BFAB12C49547ADCBF"; - static const uint8_t binary_fingerprint[16]; // = {0x77,0x1E,0x7E,0xF4,0x0B,0x57,0x2D,0x2B,0xFA,0xB1,0x2C,0x49,0x54,0x7A,0xDC,0xBF}; - ThriftHiveMetastore_get_principals_in_role_args(const ThriftHiveMetastore_get_principals_in_role_args&); ThriftHiveMetastore_get_principals_in_role_args& operator=(const ThriftHiveMetastore_get_principals_in_role_args&); ThriftHiveMetastore_get_principals_in_role_args() { @@ -14907,23 +13358,18 @@ class ThriftHiveMetastore_get_principals_in_role_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_principals_in_role_args& obj); }; class ThriftHiveMetastore_get_principals_in_role_pargs { public: - static const char* ascii_fingerprint; // = "771E7EF40B572D2BFAB12C49547ADCBF"; - static const uint8_t binary_fingerprint[16]; // = {0x77,0x1E,0x7E,0xF4,0x0B,0x57,0x2D,0x2B,0xFA,0xB1,0x2C,0x49,0x54,0x7A,0xDC,0xBF}; - virtual ~ThriftHiveMetastore_get_principals_in_role_pargs() throw(); const GetPrincipalsInRoleRequest* request; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_principals_in_role_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_principals_in_role_result__isset { @@ -14935,9 +13381,6 @@ typedef struct _ThriftHiveMetastore_get_principals_in_role_result__isset { class ThriftHiveMetastore_get_principals_in_role_result { public: - static const char* ascii_fingerprint; // = "991483C373A3000CBEAB31F972699E7B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x14,0x83,0xC3,0x73,0xA3,0x00,0x0C,0xBE,0xAB,0x31,0xF9,0x72,0x69,0x9E,0x7B}; - ThriftHiveMetastore_get_principals_in_role_result(const ThriftHiveMetastore_get_principals_in_role_result&); ThriftHiveMetastore_get_principals_in_role_result& operator=(const ThriftHiveMetastore_get_principals_in_role_result&); ThriftHiveMetastore_get_principals_in_role_result() { @@ -14970,7 +13413,6 @@ class ThriftHiveMetastore_get_principals_in_role_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_principals_in_role_result& obj); }; typedef struct _ThriftHiveMetastore_get_principals_in_role_presult__isset { @@ -14982,9 +13424,6 @@ typedef struct _ThriftHiveMetastore_get_principals_in_role_presult__isset { class ThriftHiveMetastore_get_principals_in_role_presult { public: - static const char* ascii_fingerprint; // = "991483C373A3000CBEAB31F972699E7B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x14,0x83,0xC3,0x73,0xA3,0x00,0x0C,0xBE,0xAB,0x31,0xF9,0x72,0x69,0x9E,0x7B}; - virtual ~ThriftHiveMetastore_get_principals_in_role_presult() throw(); GetPrincipalsInRoleResponse* success; @@ -14994,7 +13433,6 @@ class ThriftHiveMetastore_get_principals_in_role_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_principals_in_role_presult& obj); }; typedef struct _ThriftHiveMetastore_get_role_grants_for_principal_args__isset { @@ -15005,9 +13443,6 @@ typedef struct _ThriftHiveMetastore_get_role_grants_for_principal_args__isset { class ThriftHiveMetastore_get_role_grants_for_principal_args { public: - static const char* ascii_fingerprint; // = "2EFF1E534C8CBE58ACF12DBD7FBA560E"; - static const uint8_t binary_fingerprint[16]; // = {0x2E,0xFF,0x1E,0x53,0x4C,0x8C,0xBE,0x58,0xAC,0xF1,0x2D,0xBD,0x7F,0xBA,0x56,0x0E}; - ThriftHiveMetastore_get_role_grants_for_principal_args(const ThriftHiveMetastore_get_role_grants_for_principal_args&); ThriftHiveMetastore_get_role_grants_for_principal_args& operator=(const ThriftHiveMetastore_get_role_grants_for_principal_args&); ThriftHiveMetastore_get_role_grants_for_principal_args() { @@ -15035,23 +13470,18 @@ class ThriftHiveMetastore_get_role_grants_for_principal_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_role_grants_for_principal_args& obj); }; class ThriftHiveMetastore_get_role_grants_for_principal_pargs { public: - static const char* ascii_fingerprint; // = "2EFF1E534C8CBE58ACF12DBD7FBA560E"; - static const uint8_t binary_fingerprint[16]; // = {0x2E,0xFF,0x1E,0x53,0x4C,0x8C,0xBE,0x58,0xAC,0xF1,0x2D,0xBD,0x7F,0xBA,0x56,0x0E}; - virtual ~ThriftHiveMetastore_get_role_grants_for_principal_pargs() throw(); const GetRoleGrantsForPrincipalRequest* request; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_role_grants_for_principal_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_role_grants_for_principal_result__isset { @@ -15063,9 +13493,6 @@ typedef struct _ThriftHiveMetastore_get_role_grants_for_principal_result__isset class ThriftHiveMetastore_get_role_grants_for_principal_result { public: - static const char* ascii_fingerprint; // = "991483C373A3000CBEAB31F972699E7B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x14,0x83,0xC3,0x73,0xA3,0x00,0x0C,0xBE,0xAB,0x31,0xF9,0x72,0x69,0x9E,0x7B}; - ThriftHiveMetastore_get_role_grants_for_principal_result(const ThriftHiveMetastore_get_role_grants_for_principal_result&); ThriftHiveMetastore_get_role_grants_for_principal_result& operator=(const ThriftHiveMetastore_get_role_grants_for_principal_result&); ThriftHiveMetastore_get_role_grants_for_principal_result() { @@ -15098,7 +13525,6 @@ class ThriftHiveMetastore_get_role_grants_for_principal_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_role_grants_for_principal_result& obj); }; typedef struct _ThriftHiveMetastore_get_role_grants_for_principal_presult__isset { @@ -15110,9 +13536,6 @@ typedef struct _ThriftHiveMetastore_get_role_grants_for_principal_presult__isset class ThriftHiveMetastore_get_role_grants_for_principal_presult { public: - static const char* ascii_fingerprint; // = "991483C373A3000CBEAB31F972699E7B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x14,0x83,0xC3,0x73,0xA3,0x00,0x0C,0xBE,0xAB,0x31,0xF9,0x72,0x69,0x9E,0x7B}; - virtual ~ThriftHiveMetastore_get_role_grants_for_principal_presult() throw(); GetRoleGrantsForPrincipalResponse* success; @@ -15122,7 +13545,6 @@ class ThriftHiveMetastore_get_role_grants_for_principal_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_role_grants_for_principal_presult& obj); }; typedef struct _ThriftHiveMetastore_get_privilege_set_args__isset { @@ -15135,9 +13557,6 @@ typedef struct _ThriftHiveMetastore_get_privilege_set_args__isset { class ThriftHiveMetastore_get_privilege_set_args { public: - static const char* ascii_fingerprint; // = "E105E94D3644392EDFB1688221845BB8"; - static const uint8_t binary_fingerprint[16]; // = {0xE1,0x05,0xE9,0x4D,0x36,0x44,0x39,0x2E,0xDF,0xB1,0x68,0x82,0x21,0x84,0x5B,0xB8}; - ThriftHiveMetastore_get_privilege_set_args(const ThriftHiveMetastore_get_privilege_set_args&); ThriftHiveMetastore_get_privilege_set_args& operator=(const ThriftHiveMetastore_get_privilege_set_args&); ThriftHiveMetastore_get_privilege_set_args() : user_name() { @@ -15175,16 +13594,12 @@ class ThriftHiveMetastore_get_privilege_set_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_privilege_set_args& obj); }; class ThriftHiveMetastore_get_privilege_set_pargs { public: - static const char* ascii_fingerprint; // = "E105E94D3644392EDFB1688221845BB8"; - static const uint8_t binary_fingerprint[16]; // = {0xE1,0x05,0xE9,0x4D,0x36,0x44,0x39,0x2E,0xDF,0xB1,0x68,0x82,0x21,0x84,0x5B,0xB8}; - virtual ~ThriftHiveMetastore_get_privilege_set_pargs() throw(); const HiveObjectRef* hiveObject; @@ -15193,7 +13608,6 @@ class ThriftHiveMetastore_get_privilege_set_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_privilege_set_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_privilege_set_result__isset { @@ -15205,9 +13619,6 @@ typedef struct _ThriftHiveMetastore_get_privilege_set_result__isset { class ThriftHiveMetastore_get_privilege_set_result { public: - static const char* ascii_fingerprint; // = "16B7D982DB804BE178ADD440C5436959"; - static const uint8_t binary_fingerprint[16]; // = {0x16,0xB7,0xD9,0x82,0xDB,0x80,0x4B,0xE1,0x78,0xAD,0xD4,0x40,0xC5,0x43,0x69,0x59}; - ThriftHiveMetastore_get_privilege_set_result(const ThriftHiveMetastore_get_privilege_set_result&); ThriftHiveMetastore_get_privilege_set_result& operator=(const ThriftHiveMetastore_get_privilege_set_result&); ThriftHiveMetastore_get_privilege_set_result() { @@ -15240,7 +13651,6 @@ class ThriftHiveMetastore_get_privilege_set_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_privilege_set_result& obj); }; typedef struct _ThriftHiveMetastore_get_privilege_set_presult__isset { @@ -15252,9 +13662,6 @@ typedef struct _ThriftHiveMetastore_get_privilege_set_presult__isset { class ThriftHiveMetastore_get_privilege_set_presult { public: - static const char* ascii_fingerprint; // = "16B7D982DB804BE178ADD440C5436959"; - static const uint8_t binary_fingerprint[16]; // = {0x16,0xB7,0xD9,0x82,0xDB,0x80,0x4B,0xE1,0x78,0xAD,0xD4,0x40,0xC5,0x43,0x69,0x59}; - virtual ~ThriftHiveMetastore_get_privilege_set_presult() throw(); PrincipalPrivilegeSet* success; @@ -15264,7 +13671,6 @@ class ThriftHiveMetastore_get_privilege_set_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_privilege_set_presult& obj); }; typedef struct _ThriftHiveMetastore_list_privileges_args__isset { @@ -15277,9 +13683,6 @@ typedef struct _ThriftHiveMetastore_list_privileges_args__isset { class ThriftHiveMetastore_list_privileges_args { public: - static const char* ascii_fingerprint; // = "BB2F0CAC4D46A233190DED7C9454C178"; - static const uint8_t binary_fingerprint[16]; // = {0xBB,0x2F,0x0C,0xAC,0x4D,0x46,0xA2,0x33,0x19,0x0D,0xED,0x7C,0x94,0x54,0xC1,0x78}; - ThriftHiveMetastore_list_privileges_args(const ThriftHiveMetastore_list_privileges_args&); ThriftHiveMetastore_list_privileges_args& operator=(const ThriftHiveMetastore_list_privileges_args&); ThriftHiveMetastore_list_privileges_args() : principal_name(), principal_type((PrincipalType::type)0) { @@ -15317,16 +13720,12 @@ class ThriftHiveMetastore_list_privileges_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_list_privileges_args& obj); }; class ThriftHiveMetastore_list_privileges_pargs { public: - static const char* ascii_fingerprint; // = "BB2F0CAC4D46A233190DED7C9454C178"; - static const uint8_t binary_fingerprint[16]; // = {0xBB,0x2F,0x0C,0xAC,0x4D,0x46,0xA2,0x33,0x19,0x0D,0xED,0x7C,0x94,0x54,0xC1,0x78}; - virtual ~ThriftHiveMetastore_list_privileges_pargs() throw(); const std::string* principal_name; @@ -15335,7 +13734,6 @@ class ThriftHiveMetastore_list_privileges_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_list_privileges_pargs& obj); }; typedef struct _ThriftHiveMetastore_list_privileges_result__isset { @@ -15347,9 +13745,6 @@ typedef struct _ThriftHiveMetastore_list_privileges_result__isset { class ThriftHiveMetastore_list_privileges_result { public: - static const char* ascii_fingerprint; // = "117F3F2796D97C590719F8266D36B7A3"; - static const uint8_t binary_fingerprint[16]; // = {0x11,0x7F,0x3F,0x27,0x96,0xD9,0x7C,0x59,0x07,0x19,0xF8,0x26,0x6D,0x36,0xB7,0xA3}; - ThriftHiveMetastore_list_privileges_result(const ThriftHiveMetastore_list_privileges_result&); ThriftHiveMetastore_list_privileges_result& operator=(const ThriftHiveMetastore_list_privileges_result&); ThriftHiveMetastore_list_privileges_result() { @@ -15382,7 +13777,6 @@ class ThriftHiveMetastore_list_privileges_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_list_privileges_result& obj); }; typedef struct _ThriftHiveMetastore_list_privileges_presult__isset { @@ -15394,9 +13788,6 @@ typedef struct _ThriftHiveMetastore_list_privileges_presult__isset { class ThriftHiveMetastore_list_privileges_presult { public: - static const char* ascii_fingerprint; // = "117F3F2796D97C590719F8266D36B7A3"; - static const uint8_t binary_fingerprint[16]; // = {0x11,0x7F,0x3F,0x27,0x96,0xD9,0x7C,0x59,0x07,0x19,0xF8,0x26,0x6D,0x36,0xB7,0xA3}; - virtual ~ThriftHiveMetastore_list_privileges_presult() throw(); std::vector * success; @@ -15406,7 +13797,6 @@ class ThriftHiveMetastore_list_privileges_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_list_privileges_presult& obj); }; typedef struct _ThriftHiveMetastore_grant_privileges_args__isset { @@ -15417,9 +13807,6 @@ typedef struct _ThriftHiveMetastore_grant_privileges_args__isset { class ThriftHiveMetastore_grant_privileges_args { public: - static const char* ascii_fingerprint; // = "D1FFAF2A30E9127AE6F2253FBF65ECDB"; - static const uint8_t binary_fingerprint[16]; // = {0xD1,0xFF,0xAF,0x2A,0x30,0xE9,0x12,0x7A,0xE6,0xF2,0x25,0x3F,0xBF,0x65,0xEC,0xDB}; - ThriftHiveMetastore_grant_privileges_args(const ThriftHiveMetastore_grant_privileges_args&); ThriftHiveMetastore_grant_privileges_args& operator=(const ThriftHiveMetastore_grant_privileges_args&); ThriftHiveMetastore_grant_privileges_args() { @@ -15447,23 +13834,18 @@ class ThriftHiveMetastore_grant_privileges_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_privileges_args& obj); }; class ThriftHiveMetastore_grant_privileges_pargs { public: - static const char* ascii_fingerprint; // = "D1FFAF2A30E9127AE6F2253FBF65ECDB"; - static const uint8_t binary_fingerprint[16]; // = {0xD1,0xFF,0xAF,0x2A,0x30,0xE9,0x12,0x7A,0xE6,0xF2,0x25,0x3F,0xBF,0x65,0xEC,0xDB}; - virtual ~ThriftHiveMetastore_grant_privileges_pargs() throw(); const PrivilegeBag* privileges; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_privileges_pargs& obj); }; typedef struct _ThriftHiveMetastore_grant_privileges_result__isset { @@ -15475,9 +13857,6 @@ typedef struct _ThriftHiveMetastore_grant_privileges_result__isset { class ThriftHiveMetastore_grant_privileges_result { public: - static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; - static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; - ThriftHiveMetastore_grant_privileges_result(const ThriftHiveMetastore_grant_privileges_result&); ThriftHiveMetastore_grant_privileges_result& operator=(const ThriftHiveMetastore_grant_privileges_result&); ThriftHiveMetastore_grant_privileges_result() : success(0) { @@ -15510,7 +13889,6 @@ class ThriftHiveMetastore_grant_privileges_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_privileges_result& obj); }; typedef struct _ThriftHiveMetastore_grant_privileges_presult__isset { @@ -15522,9 +13900,6 @@ typedef struct _ThriftHiveMetastore_grant_privileges_presult__isset { class ThriftHiveMetastore_grant_privileges_presult { public: - static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; - static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; - virtual ~ThriftHiveMetastore_grant_privileges_presult() throw(); bool* success; @@ -15534,7 +13909,6 @@ class ThriftHiveMetastore_grant_privileges_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_privileges_presult& obj); }; typedef struct _ThriftHiveMetastore_revoke_privileges_args__isset { @@ -15545,9 +13919,6 @@ typedef struct _ThriftHiveMetastore_revoke_privileges_args__isset { class ThriftHiveMetastore_revoke_privileges_args { public: - static const char* ascii_fingerprint; // = "D1FFAF2A30E9127AE6F2253FBF65ECDB"; - static const uint8_t binary_fingerprint[16]; // = {0xD1,0xFF,0xAF,0x2A,0x30,0xE9,0x12,0x7A,0xE6,0xF2,0x25,0x3F,0xBF,0x65,0xEC,0xDB}; - ThriftHiveMetastore_revoke_privileges_args(const ThriftHiveMetastore_revoke_privileges_args&); ThriftHiveMetastore_revoke_privileges_args& operator=(const ThriftHiveMetastore_revoke_privileges_args&); ThriftHiveMetastore_revoke_privileges_args() { @@ -15575,23 +13946,18 @@ class ThriftHiveMetastore_revoke_privileges_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_revoke_privileges_args& obj); }; class ThriftHiveMetastore_revoke_privileges_pargs { public: - static const char* ascii_fingerprint; // = "D1FFAF2A30E9127AE6F2253FBF65ECDB"; - static const uint8_t binary_fingerprint[16]; // = {0xD1,0xFF,0xAF,0x2A,0x30,0xE9,0x12,0x7A,0xE6,0xF2,0x25,0x3F,0xBF,0x65,0xEC,0xDB}; - virtual ~ThriftHiveMetastore_revoke_privileges_pargs() throw(); const PrivilegeBag* privileges; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_revoke_privileges_pargs& obj); }; typedef struct _ThriftHiveMetastore_revoke_privileges_result__isset { @@ -15603,9 +13969,6 @@ typedef struct _ThriftHiveMetastore_revoke_privileges_result__isset { class ThriftHiveMetastore_revoke_privileges_result { public: - static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; - static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; - ThriftHiveMetastore_revoke_privileges_result(const ThriftHiveMetastore_revoke_privileges_result&); ThriftHiveMetastore_revoke_privileges_result& operator=(const ThriftHiveMetastore_revoke_privileges_result&); ThriftHiveMetastore_revoke_privileges_result() : success(0) { @@ -15638,7 +14001,6 @@ class ThriftHiveMetastore_revoke_privileges_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_revoke_privileges_result& obj); }; typedef struct _ThriftHiveMetastore_revoke_privileges_presult__isset { @@ -15650,9 +14012,6 @@ typedef struct _ThriftHiveMetastore_revoke_privileges_presult__isset { class ThriftHiveMetastore_revoke_privileges_presult { public: - static const char* ascii_fingerprint; // = "FB3C6215AF7D1EFB061C9941F4721D27"; - static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3C,0x62,0x15,0xAF,0x7D,0x1E,0xFB,0x06,0x1C,0x99,0x41,0xF4,0x72,0x1D,0x27}; - virtual ~ThriftHiveMetastore_revoke_privileges_presult() throw(); bool* success; @@ -15662,7 +14021,6 @@ class ThriftHiveMetastore_revoke_privileges_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_revoke_privileges_presult& obj); }; typedef struct _ThriftHiveMetastore_grant_revoke_privileges_args__isset { @@ -15673,9 +14031,6 @@ typedef struct _ThriftHiveMetastore_grant_revoke_privileges_args__isset { class ThriftHiveMetastore_grant_revoke_privileges_args { public: - static const char* ascii_fingerprint; // = "76B290B464B01311AD9D636621416B53"; - static const uint8_t binary_fingerprint[16]; // = {0x76,0xB2,0x90,0xB4,0x64,0xB0,0x13,0x11,0xAD,0x9D,0x63,0x66,0x21,0x41,0x6B,0x53}; - ThriftHiveMetastore_grant_revoke_privileges_args(const ThriftHiveMetastore_grant_revoke_privileges_args&); ThriftHiveMetastore_grant_revoke_privileges_args& operator=(const ThriftHiveMetastore_grant_revoke_privileges_args&); ThriftHiveMetastore_grant_revoke_privileges_args() { @@ -15703,23 +14058,18 @@ class ThriftHiveMetastore_grant_revoke_privileges_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_revoke_privileges_args& obj); }; class ThriftHiveMetastore_grant_revoke_privileges_pargs { public: - static const char* ascii_fingerprint; // = "76B290B464B01311AD9D636621416B53"; - static const uint8_t binary_fingerprint[16]; // = {0x76,0xB2,0x90,0xB4,0x64,0xB0,0x13,0x11,0xAD,0x9D,0x63,0x66,0x21,0x41,0x6B,0x53}; - virtual ~ThriftHiveMetastore_grant_revoke_privileges_pargs() throw(); const GrantRevokePrivilegeRequest* request; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_revoke_privileges_pargs& obj); }; typedef struct _ThriftHiveMetastore_grant_revoke_privileges_result__isset { @@ -15731,9 +14081,6 @@ typedef struct _ThriftHiveMetastore_grant_revoke_privileges_result__isset { class ThriftHiveMetastore_grant_revoke_privileges_result { public: - static const char* ascii_fingerprint; // = "2752D57FBB6A712ADAD7D19783020F2C"; - static const uint8_t binary_fingerprint[16]; // = {0x27,0x52,0xD5,0x7F,0xBB,0x6A,0x71,0x2A,0xDA,0xD7,0xD1,0x97,0x83,0x02,0x0F,0x2C}; - ThriftHiveMetastore_grant_revoke_privileges_result(const ThriftHiveMetastore_grant_revoke_privileges_result&); ThriftHiveMetastore_grant_revoke_privileges_result& operator=(const ThriftHiveMetastore_grant_revoke_privileges_result&); ThriftHiveMetastore_grant_revoke_privileges_result() { @@ -15766,7 +14113,6 @@ class ThriftHiveMetastore_grant_revoke_privileges_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_revoke_privileges_result& obj); }; typedef struct _ThriftHiveMetastore_grant_revoke_privileges_presult__isset { @@ -15778,9 +14124,6 @@ typedef struct _ThriftHiveMetastore_grant_revoke_privileges_presult__isset { class ThriftHiveMetastore_grant_revoke_privileges_presult { public: - static const char* ascii_fingerprint; // = "2752D57FBB6A712ADAD7D19783020F2C"; - static const uint8_t binary_fingerprint[16]; // = {0x27,0x52,0xD5,0x7F,0xBB,0x6A,0x71,0x2A,0xDA,0xD7,0xD1,0x97,0x83,0x02,0x0F,0x2C}; - virtual ~ThriftHiveMetastore_grant_revoke_privileges_presult() throw(); GrantRevokePrivilegeResponse* success; @@ -15790,7 +14133,6 @@ class ThriftHiveMetastore_grant_revoke_privileges_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_grant_revoke_privileges_presult& obj); }; typedef struct _ThriftHiveMetastore_set_ugi_args__isset { @@ -15802,9 +14144,6 @@ typedef struct _ThriftHiveMetastore_set_ugi_args__isset { class ThriftHiveMetastore_set_ugi_args { public: - static const char* ascii_fingerprint; // = "25702B8D5E28AA39160F267DABBC8446"; - static const uint8_t binary_fingerprint[16]; // = {0x25,0x70,0x2B,0x8D,0x5E,0x28,0xAA,0x39,0x16,0x0F,0x26,0x7D,0xAB,0xBC,0x84,0x46}; - ThriftHiveMetastore_set_ugi_args(const ThriftHiveMetastore_set_ugi_args&); ThriftHiveMetastore_set_ugi_args& operator=(const ThriftHiveMetastore_set_ugi_args&); ThriftHiveMetastore_set_ugi_args() : user_name() { @@ -15837,16 +14176,12 @@ class ThriftHiveMetastore_set_ugi_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_set_ugi_args& obj); }; class ThriftHiveMetastore_set_ugi_pargs { public: - static const char* ascii_fingerprint; // = "25702B8D5E28AA39160F267DABBC8446"; - static const uint8_t binary_fingerprint[16]; // = {0x25,0x70,0x2B,0x8D,0x5E,0x28,0xAA,0x39,0x16,0x0F,0x26,0x7D,0xAB,0xBC,0x84,0x46}; - virtual ~ThriftHiveMetastore_set_ugi_pargs() throw(); const std::string* user_name; @@ -15854,7 +14189,6 @@ class ThriftHiveMetastore_set_ugi_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_set_ugi_pargs& obj); }; typedef struct _ThriftHiveMetastore_set_ugi_result__isset { @@ -15866,9 +14200,6 @@ typedef struct _ThriftHiveMetastore_set_ugi_result__isset { class ThriftHiveMetastore_set_ugi_result { public: - static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; - static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - ThriftHiveMetastore_set_ugi_result(const ThriftHiveMetastore_set_ugi_result&); ThriftHiveMetastore_set_ugi_result& operator=(const ThriftHiveMetastore_set_ugi_result&); ThriftHiveMetastore_set_ugi_result() { @@ -15901,7 +14232,6 @@ class ThriftHiveMetastore_set_ugi_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_set_ugi_result& obj); }; typedef struct _ThriftHiveMetastore_set_ugi_presult__isset { @@ -15913,9 +14243,6 @@ typedef struct _ThriftHiveMetastore_set_ugi_presult__isset { class ThriftHiveMetastore_set_ugi_presult { public: - static const char* ascii_fingerprint; // = "96F383CF9CB8BE09061ECB825FE717B6"; - static const uint8_t binary_fingerprint[16]; // = {0x96,0xF3,0x83,0xCF,0x9C,0xB8,0xBE,0x09,0x06,0x1E,0xCB,0x82,0x5F,0xE7,0x17,0xB6}; - virtual ~ThriftHiveMetastore_set_ugi_presult() throw(); std::vector * success; @@ -15925,7 +14252,6 @@ class ThriftHiveMetastore_set_ugi_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_set_ugi_presult& obj); }; typedef struct _ThriftHiveMetastore_get_delegation_token_args__isset { @@ -15937,9 +14263,6 @@ typedef struct _ThriftHiveMetastore_get_delegation_token_args__isset { class ThriftHiveMetastore_get_delegation_token_args { public: - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - ThriftHiveMetastore_get_delegation_token_args(const ThriftHiveMetastore_get_delegation_token_args&); ThriftHiveMetastore_get_delegation_token_args& operator=(const ThriftHiveMetastore_get_delegation_token_args&); ThriftHiveMetastore_get_delegation_token_args() : token_owner(), renewer_kerberos_principal_name() { @@ -15972,16 +14295,12 @@ class ThriftHiveMetastore_get_delegation_token_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_delegation_token_args& obj); }; class ThriftHiveMetastore_get_delegation_token_pargs { public: - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - virtual ~ThriftHiveMetastore_get_delegation_token_pargs() throw(); const std::string* token_owner; @@ -15989,7 +14308,6 @@ class ThriftHiveMetastore_get_delegation_token_pargs { uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_delegation_token_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_delegation_token_result__isset { @@ -16001,9 +14319,6 @@ typedef struct _ThriftHiveMetastore_get_delegation_token_result__isset { class ThriftHiveMetastore_get_delegation_token_result { public: - static const char* ascii_fingerprint; // = "FB3D66E547AE5D7F8EB046D752ECF5C1"; - static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3D,0x66,0xE5,0x47,0xAE,0x5D,0x7F,0x8E,0xB0,0x46,0xD7,0x52,0xEC,0xF5,0xC1}; - ThriftHiveMetastore_get_delegation_token_result(const ThriftHiveMetastore_get_delegation_token_result&); ThriftHiveMetastore_get_delegation_token_result& operator=(const ThriftHiveMetastore_get_delegation_token_result&); ThriftHiveMetastore_get_delegation_token_result() : success() { @@ -16036,7 +14351,6 @@ class ThriftHiveMetastore_get_delegation_token_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_delegation_token_result& obj); }; typedef struct _ThriftHiveMetastore_get_delegation_token_presult__isset { @@ -16048,9 +14362,6 @@ typedef struct _ThriftHiveMetastore_get_delegation_token_presult__isset { class ThriftHiveMetastore_get_delegation_token_presult { public: - static const char* ascii_fingerprint; // = "FB3D66E547AE5D7F8EB046D752ECF5C1"; - static const uint8_t binary_fingerprint[16]; // = {0xFB,0x3D,0x66,0xE5,0x47,0xAE,0x5D,0x7F,0x8E,0xB0,0x46,0xD7,0x52,0xEC,0xF5,0xC1}; - virtual ~ThriftHiveMetastore_get_delegation_token_presult() throw(); std::string* success; @@ -16060,7 +14371,6 @@ class ThriftHiveMetastore_get_delegation_token_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_delegation_token_presult& obj); }; typedef struct _ThriftHiveMetastore_renew_delegation_token_args__isset { @@ -16071,9 +14381,6 @@ typedef struct _ThriftHiveMetastore_renew_delegation_token_args__isset { class ThriftHiveMetastore_renew_delegation_token_args { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - ThriftHiveMetastore_renew_delegation_token_args(const ThriftHiveMetastore_renew_delegation_token_args&); ThriftHiveMetastore_renew_delegation_token_args& operator=(const ThriftHiveMetastore_renew_delegation_token_args&); ThriftHiveMetastore_renew_delegation_token_args() : token_str_form() { @@ -16101,23 +14408,18 @@ class ThriftHiveMetastore_renew_delegation_token_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_renew_delegation_token_args& obj); }; class ThriftHiveMetastore_renew_delegation_token_pargs { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_renew_delegation_token_pargs() throw(); const std::string* token_str_form; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_renew_delegation_token_pargs& obj); }; typedef struct _ThriftHiveMetastore_renew_delegation_token_result__isset { @@ -16129,9 +14431,6 @@ typedef struct _ThriftHiveMetastore_renew_delegation_token_result__isset { class ThriftHiveMetastore_renew_delegation_token_result { public: - static const char* ascii_fingerprint; // = "508103C02ABBB83FE53EB7316CA5F1B7"; - static const uint8_t binary_fingerprint[16]; // = {0x50,0x81,0x03,0xC0,0x2A,0xBB,0xB8,0x3F,0xE5,0x3E,0xB7,0x31,0x6C,0xA5,0xF1,0xB7}; - ThriftHiveMetastore_renew_delegation_token_result(const ThriftHiveMetastore_renew_delegation_token_result&); ThriftHiveMetastore_renew_delegation_token_result& operator=(const ThriftHiveMetastore_renew_delegation_token_result&); ThriftHiveMetastore_renew_delegation_token_result() : success(0) { @@ -16164,7 +14463,6 @@ class ThriftHiveMetastore_renew_delegation_token_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_renew_delegation_token_result& obj); }; typedef struct _ThriftHiveMetastore_renew_delegation_token_presult__isset { @@ -16176,9 +14474,6 @@ typedef struct _ThriftHiveMetastore_renew_delegation_token_presult__isset { class ThriftHiveMetastore_renew_delegation_token_presult { public: - static const char* ascii_fingerprint; // = "508103C02ABBB83FE53EB7316CA5F1B7"; - static const uint8_t binary_fingerprint[16]; // = {0x50,0x81,0x03,0xC0,0x2A,0xBB,0xB8,0x3F,0xE5,0x3E,0xB7,0x31,0x6C,0xA5,0xF1,0xB7}; - virtual ~ThriftHiveMetastore_renew_delegation_token_presult() throw(); int64_t* success; @@ -16188,7 +14483,6 @@ class ThriftHiveMetastore_renew_delegation_token_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_renew_delegation_token_presult& obj); }; typedef struct _ThriftHiveMetastore_cancel_delegation_token_args__isset { @@ -16199,9 +14493,6 @@ typedef struct _ThriftHiveMetastore_cancel_delegation_token_args__isset { class ThriftHiveMetastore_cancel_delegation_token_args { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - ThriftHiveMetastore_cancel_delegation_token_args(const ThriftHiveMetastore_cancel_delegation_token_args&); ThriftHiveMetastore_cancel_delegation_token_args& operator=(const ThriftHiveMetastore_cancel_delegation_token_args&); ThriftHiveMetastore_cancel_delegation_token_args() : token_str_form() { @@ -16229,23 +14520,18 @@ class ThriftHiveMetastore_cancel_delegation_token_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_cancel_delegation_token_args& obj); }; class ThriftHiveMetastore_cancel_delegation_token_pargs { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHiveMetastore_cancel_delegation_token_pargs() throw(); const std::string* token_str_form; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_cancel_delegation_token_pargs& obj); }; typedef struct _ThriftHiveMetastore_cancel_delegation_token_result__isset { @@ -16256,9 +14542,6 @@ typedef struct _ThriftHiveMetastore_cancel_delegation_token_result__isset { class ThriftHiveMetastore_cancel_delegation_token_result { public: - static const char* ascii_fingerprint; // = "771E7EF40B572D2BFAB12C49547ADCBF"; - static const uint8_t binary_fingerprint[16]; // = {0x77,0x1E,0x7E,0xF4,0x0B,0x57,0x2D,0x2B,0xFA,0xB1,0x2C,0x49,0x54,0x7A,0xDC,0xBF}; - ThriftHiveMetastore_cancel_delegation_token_result(const ThriftHiveMetastore_cancel_delegation_token_result&); ThriftHiveMetastore_cancel_delegation_token_result& operator=(const ThriftHiveMetastore_cancel_delegation_token_result&); ThriftHiveMetastore_cancel_delegation_token_result() { @@ -16286,7 +14569,6 @@ class ThriftHiveMetastore_cancel_delegation_token_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_cancel_delegation_token_result& obj); }; typedef struct _ThriftHiveMetastore_cancel_delegation_token_presult__isset { @@ -16297,9 +14579,6 @@ typedef struct _ThriftHiveMetastore_cancel_delegation_token_presult__isset { class ThriftHiveMetastore_cancel_delegation_token_presult { public: - static const char* ascii_fingerprint; // = "771E7EF40B572D2BFAB12C49547ADCBF"; - static const uint8_t binary_fingerprint[16]; // = {0x77,0x1E,0x7E,0xF4,0x0B,0x57,0x2D,0x2B,0xFA,0xB1,0x2C,0x49,0x54,0x7A,0xDC,0xBF}; - virtual ~ThriftHiveMetastore_cancel_delegation_token_presult() throw(); MetaException o1; @@ -16308,16 +14587,12 @@ class ThriftHiveMetastore_cancel_delegation_token_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_cancel_delegation_token_presult& obj); }; class ThriftHiveMetastore_get_open_txns_args { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - ThriftHiveMetastore_get_open_txns_args(const ThriftHiveMetastore_get_open_txns_args&); ThriftHiveMetastore_get_open_txns_args& operator=(const ThriftHiveMetastore_get_open_txns_args&); ThriftHiveMetastore_get_open_txns_args() { @@ -16338,22 +14613,17 @@ class ThriftHiveMetastore_get_open_txns_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_open_txns_args& obj); }; class ThriftHiveMetastore_get_open_txns_pargs { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHiveMetastore_get_open_txns_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_open_txns_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_open_txns_result__isset { @@ -16364,9 +14634,6 @@ typedef struct _ThriftHiveMetastore_get_open_txns_result__isset { class ThriftHiveMetastore_get_open_txns_result { public: - static const char* ascii_fingerprint; // = "20E9E10803C8C350560535B7C93B42C8"; - static const uint8_t binary_fingerprint[16]; // = {0x20,0xE9,0xE1,0x08,0x03,0xC8,0xC3,0x50,0x56,0x05,0x35,0xB7,0xC9,0x3B,0x42,0xC8}; - ThriftHiveMetastore_get_open_txns_result(const ThriftHiveMetastore_get_open_txns_result&); ThriftHiveMetastore_get_open_txns_result& operator=(const ThriftHiveMetastore_get_open_txns_result&); ThriftHiveMetastore_get_open_txns_result() { @@ -16394,7 +14661,6 @@ class ThriftHiveMetastore_get_open_txns_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_open_txns_result& obj); }; typedef struct _ThriftHiveMetastore_get_open_txns_presult__isset { @@ -16405,9 +14671,6 @@ typedef struct _ThriftHiveMetastore_get_open_txns_presult__isset { class ThriftHiveMetastore_get_open_txns_presult { public: - static const char* ascii_fingerprint; // = "20E9E10803C8C350560535B7C93B42C8"; - static const uint8_t binary_fingerprint[16]; // = {0x20,0xE9,0xE1,0x08,0x03,0xC8,0xC3,0x50,0x56,0x05,0x35,0xB7,0xC9,0x3B,0x42,0xC8}; - virtual ~ThriftHiveMetastore_get_open_txns_presult() throw(); GetOpenTxnsResponse* success; @@ -16416,16 +14679,12 @@ class ThriftHiveMetastore_get_open_txns_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_open_txns_presult& obj); }; class ThriftHiveMetastore_get_open_txns_info_args { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - ThriftHiveMetastore_get_open_txns_info_args(const ThriftHiveMetastore_get_open_txns_info_args&); ThriftHiveMetastore_get_open_txns_info_args& operator=(const ThriftHiveMetastore_get_open_txns_info_args&); ThriftHiveMetastore_get_open_txns_info_args() { @@ -16446,22 +14705,17 @@ class ThriftHiveMetastore_get_open_txns_info_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_open_txns_info_args& obj); }; class ThriftHiveMetastore_get_open_txns_info_pargs { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHiveMetastore_get_open_txns_info_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_open_txns_info_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_open_txns_info_result__isset { @@ -16472,9 +14726,6 @@ typedef struct _ThriftHiveMetastore_get_open_txns_info_result__isset { class ThriftHiveMetastore_get_open_txns_info_result { public: - static const char* ascii_fingerprint; // = "9FCF4483C4C1109F97BD682C5B5EE933"; - static const uint8_t binary_fingerprint[16]; // = {0x9F,0xCF,0x44,0x83,0xC4,0xC1,0x10,0x9F,0x97,0xBD,0x68,0x2C,0x5B,0x5E,0xE9,0x33}; - ThriftHiveMetastore_get_open_txns_info_result(const ThriftHiveMetastore_get_open_txns_info_result&); ThriftHiveMetastore_get_open_txns_info_result& operator=(const ThriftHiveMetastore_get_open_txns_info_result&); ThriftHiveMetastore_get_open_txns_info_result() { @@ -16502,7 +14753,6 @@ class ThriftHiveMetastore_get_open_txns_info_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_open_txns_info_result& obj); }; typedef struct _ThriftHiveMetastore_get_open_txns_info_presult__isset { @@ -16513,9 +14763,6 @@ typedef struct _ThriftHiveMetastore_get_open_txns_info_presult__isset { class ThriftHiveMetastore_get_open_txns_info_presult { public: - static const char* ascii_fingerprint; // = "9FCF4483C4C1109F97BD682C5B5EE933"; - static const uint8_t binary_fingerprint[16]; // = {0x9F,0xCF,0x44,0x83,0xC4,0xC1,0x10,0x9F,0x97,0xBD,0x68,0x2C,0x5B,0x5E,0xE9,0x33}; - virtual ~ThriftHiveMetastore_get_open_txns_info_presult() throw(); GetOpenTxnsInfoResponse* success; @@ -16524,7 +14771,6 @@ class ThriftHiveMetastore_get_open_txns_info_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_open_txns_info_presult& obj); }; typedef struct _ThriftHiveMetastore_open_txns_args__isset { @@ -16535,9 +14781,6 @@ typedef struct _ThriftHiveMetastore_open_txns_args__isset { class ThriftHiveMetastore_open_txns_args { public: - static const char* ascii_fingerprint; // = "E1189B34A1EC4BE42D095561D48152BF"; - static const uint8_t binary_fingerprint[16]; // = {0xE1,0x18,0x9B,0x34,0xA1,0xEC,0x4B,0xE4,0x2D,0x09,0x55,0x61,0xD4,0x81,0x52,0xBF}; - ThriftHiveMetastore_open_txns_args(const ThriftHiveMetastore_open_txns_args&); ThriftHiveMetastore_open_txns_args& operator=(const ThriftHiveMetastore_open_txns_args&); ThriftHiveMetastore_open_txns_args() { @@ -16565,23 +14808,18 @@ class ThriftHiveMetastore_open_txns_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_open_txns_args& obj); }; class ThriftHiveMetastore_open_txns_pargs { public: - static const char* ascii_fingerprint; // = "E1189B34A1EC4BE42D095561D48152BF"; - static const uint8_t binary_fingerprint[16]; // = {0xE1,0x18,0x9B,0x34,0xA1,0xEC,0x4B,0xE4,0x2D,0x09,0x55,0x61,0xD4,0x81,0x52,0xBF}; - virtual ~ThriftHiveMetastore_open_txns_pargs() throw(); const OpenTxnRequest* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_open_txns_pargs& obj); }; typedef struct _ThriftHiveMetastore_open_txns_result__isset { @@ -16592,9 +14830,6 @@ typedef struct _ThriftHiveMetastore_open_txns_result__isset { class ThriftHiveMetastore_open_txns_result { public: - static const char* ascii_fingerprint; // = "3E09A8B20F1B51D639D00D987F28C018"; - static const uint8_t binary_fingerprint[16]; // = {0x3E,0x09,0xA8,0xB2,0x0F,0x1B,0x51,0xD6,0x39,0xD0,0x0D,0x98,0x7F,0x28,0xC0,0x18}; - ThriftHiveMetastore_open_txns_result(const ThriftHiveMetastore_open_txns_result&); ThriftHiveMetastore_open_txns_result& operator=(const ThriftHiveMetastore_open_txns_result&); ThriftHiveMetastore_open_txns_result() { @@ -16622,7 +14857,6 @@ class ThriftHiveMetastore_open_txns_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_open_txns_result& obj); }; typedef struct _ThriftHiveMetastore_open_txns_presult__isset { @@ -16633,9 +14867,6 @@ typedef struct _ThriftHiveMetastore_open_txns_presult__isset { class ThriftHiveMetastore_open_txns_presult { public: - static const char* ascii_fingerprint; // = "3E09A8B20F1B51D639D00D987F28C018"; - static const uint8_t binary_fingerprint[16]; // = {0x3E,0x09,0xA8,0xB2,0x0F,0x1B,0x51,0xD6,0x39,0xD0,0x0D,0x98,0x7F,0x28,0xC0,0x18}; - virtual ~ThriftHiveMetastore_open_txns_presult() throw(); OpenTxnsResponse* success; @@ -16644,7 +14875,6 @@ class ThriftHiveMetastore_open_txns_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_open_txns_presult& obj); }; typedef struct _ThriftHiveMetastore_abort_txn_args__isset { @@ -16655,9 +14885,6 @@ typedef struct _ThriftHiveMetastore_abort_txn_args__isset { class ThriftHiveMetastore_abort_txn_args { public: - static const char* ascii_fingerprint; // = "B88BA49E121B941C9302E7ABB2C1A1C4"; - static const uint8_t binary_fingerprint[16]; // = {0xB8,0x8B,0xA4,0x9E,0x12,0x1B,0x94,0x1C,0x93,0x02,0xE7,0xAB,0xB2,0xC1,0xA1,0xC4}; - ThriftHiveMetastore_abort_txn_args(const ThriftHiveMetastore_abort_txn_args&); ThriftHiveMetastore_abort_txn_args& operator=(const ThriftHiveMetastore_abort_txn_args&); ThriftHiveMetastore_abort_txn_args() { @@ -16685,23 +14912,18 @@ class ThriftHiveMetastore_abort_txn_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_abort_txn_args& obj); }; class ThriftHiveMetastore_abort_txn_pargs { public: - static const char* ascii_fingerprint; // = "B88BA49E121B941C9302E7ABB2C1A1C4"; - static const uint8_t binary_fingerprint[16]; // = {0xB8,0x8B,0xA4,0x9E,0x12,0x1B,0x94,0x1C,0x93,0x02,0xE7,0xAB,0xB2,0xC1,0xA1,0xC4}; - virtual ~ThriftHiveMetastore_abort_txn_pargs() throw(); const AbortTxnRequest* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_abort_txn_pargs& obj); }; typedef struct _ThriftHiveMetastore_abort_txn_result__isset { @@ -16712,9 +14934,6 @@ typedef struct _ThriftHiveMetastore_abort_txn_result__isset { class ThriftHiveMetastore_abort_txn_result { public: - static const char* ascii_fingerprint; // = "771E7EF40B572D2BFAB12C49547ADCBF"; - static const uint8_t binary_fingerprint[16]; // = {0x77,0x1E,0x7E,0xF4,0x0B,0x57,0x2D,0x2B,0xFA,0xB1,0x2C,0x49,0x54,0x7A,0xDC,0xBF}; - ThriftHiveMetastore_abort_txn_result(const ThriftHiveMetastore_abort_txn_result&); ThriftHiveMetastore_abort_txn_result& operator=(const ThriftHiveMetastore_abort_txn_result&); ThriftHiveMetastore_abort_txn_result() { @@ -16742,7 +14961,6 @@ class ThriftHiveMetastore_abort_txn_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_abort_txn_result& obj); }; typedef struct _ThriftHiveMetastore_abort_txn_presult__isset { @@ -16753,9 +14971,6 @@ typedef struct _ThriftHiveMetastore_abort_txn_presult__isset { class ThriftHiveMetastore_abort_txn_presult { public: - static const char* ascii_fingerprint; // = "771E7EF40B572D2BFAB12C49547ADCBF"; - static const uint8_t binary_fingerprint[16]; // = {0x77,0x1E,0x7E,0xF4,0x0B,0x57,0x2D,0x2B,0xFA,0xB1,0x2C,0x49,0x54,0x7A,0xDC,0xBF}; - virtual ~ThriftHiveMetastore_abort_txn_presult() throw(); NoSuchTxnException o1; @@ -16764,7 +14979,6 @@ class ThriftHiveMetastore_abort_txn_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_abort_txn_presult& obj); }; typedef struct _ThriftHiveMetastore_commit_txn_args__isset { @@ -16775,9 +14989,6 @@ typedef struct _ThriftHiveMetastore_commit_txn_args__isset { class ThriftHiveMetastore_commit_txn_args { public: - static const char* ascii_fingerprint; // = "B88BA49E121B941C9302E7ABB2C1A1C4"; - static const uint8_t binary_fingerprint[16]; // = {0xB8,0x8B,0xA4,0x9E,0x12,0x1B,0x94,0x1C,0x93,0x02,0xE7,0xAB,0xB2,0xC1,0xA1,0xC4}; - ThriftHiveMetastore_commit_txn_args(const ThriftHiveMetastore_commit_txn_args&); ThriftHiveMetastore_commit_txn_args& operator=(const ThriftHiveMetastore_commit_txn_args&); ThriftHiveMetastore_commit_txn_args() { @@ -16805,23 +15016,18 @@ class ThriftHiveMetastore_commit_txn_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_commit_txn_args& obj); }; class ThriftHiveMetastore_commit_txn_pargs { public: - static const char* ascii_fingerprint; // = "B88BA49E121B941C9302E7ABB2C1A1C4"; - static const uint8_t binary_fingerprint[16]; // = {0xB8,0x8B,0xA4,0x9E,0x12,0x1B,0x94,0x1C,0x93,0x02,0xE7,0xAB,0xB2,0xC1,0xA1,0xC4}; - virtual ~ThriftHiveMetastore_commit_txn_pargs() throw(); const CommitTxnRequest* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_commit_txn_pargs& obj); }; typedef struct _ThriftHiveMetastore_commit_txn_result__isset { @@ -16833,9 +15039,6 @@ typedef struct _ThriftHiveMetastore_commit_txn_result__isset { class ThriftHiveMetastore_commit_txn_result { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - ThriftHiveMetastore_commit_txn_result(const ThriftHiveMetastore_commit_txn_result&); ThriftHiveMetastore_commit_txn_result& operator=(const ThriftHiveMetastore_commit_txn_result&); ThriftHiveMetastore_commit_txn_result() { @@ -16868,7 +15071,6 @@ class ThriftHiveMetastore_commit_txn_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_commit_txn_result& obj); }; typedef struct _ThriftHiveMetastore_commit_txn_presult__isset { @@ -16880,9 +15082,6 @@ typedef struct _ThriftHiveMetastore_commit_txn_presult__isset { class ThriftHiveMetastore_commit_txn_presult { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_commit_txn_presult() throw(); NoSuchTxnException o1; @@ -16892,7 +15091,6 @@ class ThriftHiveMetastore_commit_txn_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_commit_txn_presult& obj); }; typedef struct _ThriftHiveMetastore_lock_args__isset { @@ -16903,9 +15101,6 @@ typedef struct _ThriftHiveMetastore_lock_args__isset { class ThriftHiveMetastore_lock_args { public: - static const char* ascii_fingerprint; // = "5213FA403E774267E44EF8AB37818A4C"; - static const uint8_t binary_fingerprint[16]; // = {0x52,0x13,0xFA,0x40,0x3E,0x77,0x42,0x67,0xE4,0x4E,0xF8,0xAB,0x37,0x81,0x8A,0x4C}; - ThriftHiveMetastore_lock_args(const ThriftHiveMetastore_lock_args&); ThriftHiveMetastore_lock_args& operator=(const ThriftHiveMetastore_lock_args&); ThriftHiveMetastore_lock_args() { @@ -16933,23 +15128,18 @@ class ThriftHiveMetastore_lock_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_lock_args& obj); }; class ThriftHiveMetastore_lock_pargs { public: - static const char* ascii_fingerprint; // = "5213FA403E774267E44EF8AB37818A4C"; - static const uint8_t binary_fingerprint[16]; // = {0x52,0x13,0xFA,0x40,0x3E,0x77,0x42,0x67,0xE4,0x4E,0xF8,0xAB,0x37,0x81,0x8A,0x4C}; - virtual ~ThriftHiveMetastore_lock_pargs() throw(); const LockRequest* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_lock_pargs& obj); }; typedef struct _ThriftHiveMetastore_lock_result__isset { @@ -16962,9 +15152,6 @@ typedef struct _ThriftHiveMetastore_lock_result__isset { class ThriftHiveMetastore_lock_result { public: - static const char* ascii_fingerprint; // = "2727CCA9CB0804173B6D773D3A208311"; - static const uint8_t binary_fingerprint[16]; // = {0x27,0x27,0xCC,0xA9,0xCB,0x08,0x04,0x17,0x3B,0x6D,0x77,0x3D,0x3A,0x20,0x83,0x11}; - ThriftHiveMetastore_lock_result(const ThriftHiveMetastore_lock_result&); ThriftHiveMetastore_lock_result& operator=(const ThriftHiveMetastore_lock_result&); ThriftHiveMetastore_lock_result() { @@ -17002,7 +15189,6 @@ class ThriftHiveMetastore_lock_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_lock_result& obj); }; typedef struct _ThriftHiveMetastore_lock_presult__isset { @@ -17015,9 +15201,6 @@ typedef struct _ThriftHiveMetastore_lock_presult__isset { class ThriftHiveMetastore_lock_presult { public: - static const char* ascii_fingerprint; // = "2727CCA9CB0804173B6D773D3A208311"; - static const uint8_t binary_fingerprint[16]; // = {0x27,0x27,0xCC,0xA9,0xCB,0x08,0x04,0x17,0x3B,0x6D,0x77,0x3D,0x3A,0x20,0x83,0x11}; - virtual ~ThriftHiveMetastore_lock_presult() throw(); LockResponse* success; @@ -17028,7 +15211,6 @@ class ThriftHiveMetastore_lock_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_lock_presult& obj); }; typedef struct _ThriftHiveMetastore_check_lock_args__isset { @@ -17039,9 +15221,6 @@ typedef struct _ThriftHiveMetastore_check_lock_args__isset { class ThriftHiveMetastore_check_lock_args { public: - static const char* ascii_fingerprint; // = "B88BA49E121B941C9302E7ABB2C1A1C4"; - static const uint8_t binary_fingerprint[16]; // = {0xB8,0x8B,0xA4,0x9E,0x12,0x1B,0x94,0x1C,0x93,0x02,0xE7,0xAB,0xB2,0xC1,0xA1,0xC4}; - ThriftHiveMetastore_check_lock_args(const ThriftHiveMetastore_check_lock_args&); ThriftHiveMetastore_check_lock_args& operator=(const ThriftHiveMetastore_check_lock_args&); ThriftHiveMetastore_check_lock_args() { @@ -17069,23 +15248,18 @@ class ThriftHiveMetastore_check_lock_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_check_lock_args& obj); }; class ThriftHiveMetastore_check_lock_pargs { public: - static const char* ascii_fingerprint; // = "B88BA49E121B941C9302E7ABB2C1A1C4"; - static const uint8_t binary_fingerprint[16]; // = {0xB8,0x8B,0xA4,0x9E,0x12,0x1B,0x94,0x1C,0x93,0x02,0xE7,0xAB,0xB2,0xC1,0xA1,0xC4}; - virtual ~ThriftHiveMetastore_check_lock_pargs() throw(); const CheckLockRequest* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_check_lock_pargs& obj); }; typedef struct _ThriftHiveMetastore_check_lock_result__isset { @@ -17099,9 +15273,6 @@ typedef struct _ThriftHiveMetastore_check_lock_result__isset { class ThriftHiveMetastore_check_lock_result { public: - static const char* ascii_fingerprint; // = "AB7C8CA24C9671EFDAEC0D3EC9DE8F97"; - static const uint8_t binary_fingerprint[16]; // = {0xAB,0x7C,0x8C,0xA2,0x4C,0x96,0x71,0xEF,0xDA,0xEC,0x0D,0x3E,0xC9,0xDE,0x8F,0x97}; - ThriftHiveMetastore_check_lock_result(const ThriftHiveMetastore_check_lock_result&); ThriftHiveMetastore_check_lock_result& operator=(const ThriftHiveMetastore_check_lock_result&); ThriftHiveMetastore_check_lock_result() { @@ -17144,7 +15315,6 @@ class ThriftHiveMetastore_check_lock_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_check_lock_result& obj); }; typedef struct _ThriftHiveMetastore_check_lock_presult__isset { @@ -17158,9 +15328,6 @@ typedef struct _ThriftHiveMetastore_check_lock_presult__isset { class ThriftHiveMetastore_check_lock_presult { public: - static const char* ascii_fingerprint; // = "AB7C8CA24C9671EFDAEC0D3EC9DE8F97"; - static const uint8_t binary_fingerprint[16]; // = {0xAB,0x7C,0x8C,0xA2,0x4C,0x96,0x71,0xEF,0xDA,0xEC,0x0D,0x3E,0xC9,0xDE,0x8F,0x97}; - virtual ~ThriftHiveMetastore_check_lock_presult() throw(); LockResponse* success; @@ -17172,7 +15339,6 @@ class ThriftHiveMetastore_check_lock_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_check_lock_presult& obj); }; typedef struct _ThriftHiveMetastore_unlock_args__isset { @@ -17183,9 +15349,6 @@ typedef struct _ThriftHiveMetastore_unlock_args__isset { class ThriftHiveMetastore_unlock_args { public: - static const char* ascii_fingerprint; // = "B88BA49E121B941C9302E7ABB2C1A1C4"; - static const uint8_t binary_fingerprint[16]; // = {0xB8,0x8B,0xA4,0x9E,0x12,0x1B,0x94,0x1C,0x93,0x02,0xE7,0xAB,0xB2,0xC1,0xA1,0xC4}; - ThriftHiveMetastore_unlock_args(const ThriftHiveMetastore_unlock_args&); ThriftHiveMetastore_unlock_args& operator=(const ThriftHiveMetastore_unlock_args&); ThriftHiveMetastore_unlock_args() { @@ -17213,23 +15376,18 @@ class ThriftHiveMetastore_unlock_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_unlock_args& obj); }; class ThriftHiveMetastore_unlock_pargs { public: - static const char* ascii_fingerprint; // = "B88BA49E121B941C9302E7ABB2C1A1C4"; - static const uint8_t binary_fingerprint[16]; // = {0xB8,0x8B,0xA4,0x9E,0x12,0x1B,0x94,0x1C,0x93,0x02,0xE7,0xAB,0xB2,0xC1,0xA1,0xC4}; - virtual ~ThriftHiveMetastore_unlock_pargs() throw(); const UnlockRequest* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_unlock_pargs& obj); }; typedef struct _ThriftHiveMetastore_unlock_result__isset { @@ -17241,9 +15399,6 @@ typedef struct _ThriftHiveMetastore_unlock_result__isset { class ThriftHiveMetastore_unlock_result { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - ThriftHiveMetastore_unlock_result(const ThriftHiveMetastore_unlock_result&); ThriftHiveMetastore_unlock_result& operator=(const ThriftHiveMetastore_unlock_result&); ThriftHiveMetastore_unlock_result() { @@ -17276,7 +15431,6 @@ class ThriftHiveMetastore_unlock_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_unlock_result& obj); }; typedef struct _ThriftHiveMetastore_unlock_presult__isset { @@ -17288,9 +15442,6 @@ typedef struct _ThriftHiveMetastore_unlock_presult__isset { class ThriftHiveMetastore_unlock_presult { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_unlock_presult() throw(); NoSuchLockException o1; @@ -17300,7 +15451,6 @@ class ThriftHiveMetastore_unlock_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_unlock_presult& obj); }; typedef struct _ThriftHiveMetastore_show_locks_args__isset { @@ -17311,9 +15461,6 @@ typedef struct _ThriftHiveMetastore_show_locks_args__isset { class ThriftHiveMetastore_show_locks_args { public: - static const char* ascii_fingerprint; // = "2C32A565725135A023CB591D1A993CFD"; - static const uint8_t binary_fingerprint[16]; // = {0x2C,0x32,0xA5,0x65,0x72,0x51,0x35,0xA0,0x23,0xCB,0x59,0x1D,0x1A,0x99,0x3C,0xFD}; - ThriftHiveMetastore_show_locks_args(const ThriftHiveMetastore_show_locks_args&); ThriftHiveMetastore_show_locks_args& operator=(const ThriftHiveMetastore_show_locks_args&); ThriftHiveMetastore_show_locks_args() { @@ -17341,23 +15488,18 @@ class ThriftHiveMetastore_show_locks_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_show_locks_args& obj); }; class ThriftHiveMetastore_show_locks_pargs { public: - static const char* ascii_fingerprint; // = "2C32A565725135A023CB591D1A993CFD"; - static const uint8_t binary_fingerprint[16]; // = {0x2C,0x32,0xA5,0x65,0x72,0x51,0x35,0xA0,0x23,0xCB,0x59,0x1D,0x1A,0x99,0x3C,0xFD}; - virtual ~ThriftHiveMetastore_show_locks_pargs() throw(); const ShowLocksRequest* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_show_locks_pargs& obj); }; typedef struct _ThriftHiveMetastore_show_locks_result__isset { @@ -17368,9 +15510,6 @@ typedef struct _ThriftHiveMetastore_show_locks_result__isset { class ThriftHiveMetastore_show_locks_result { public: - static const char* ascii_fingerprint; // = "25A4CC42ED265B60DCAF08925DC3F8E6"; - static const uint8_t binary_fingerprint[16]; // = {0x25,0xA4,0xCC,0x42,0xED,0x26,0x5B,0x60,0xDC,0xAF,0x08,0x92,0x5D,0xC3,0xF8,0xE6}; - ThriftHiveMetastore_show_locks_result(const ThriftHiveMetastore_show_locks_result&); ThriftHiveMetastore_show_locks_result& operator=(const ThriftHiveMetastore_show_locks_result&); ThriftHiveMetastore_show_locks_result() { @@ -17398,7 +15537,6 @@ class ThriftHiveMetastore_show_locks_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_show_locks_result& obj); }; typedef struct _ThriftHiveMetastore_show_locks_presult__isset { @@ -17409,9 +15547,6 @@ typedef struct _ThriftHiveMetastore_show_locks_presult__isset { class ThriftHiveMetastore_show_locks_presult { public: - static const char* ascii_fingerprint; // = "25A4CC42ED265B60DCAF08925DC3F8E6"; - static const uint8_t binary_fingerprint[16]; // = {0x25,0xA4,0xCC,0x42,0xED,0x26,0x5B,0x60,0xDC,0xAF,0x08,0x92,0x5D,0xC3,0xF8,0xE6}; - virtual ~ThriftHiveMetastore_show_locks_presult() throw(); ShowLocksResponse* success; @@ -17420,7 +15555,6 @@ class ThriftHiveMetastore_show_locks_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_show_locks_presult& obj); }; typedef struct _ThriftHiveMetastore_heartbeat_args__isset { @@ -17431,9 +15565,6 @@ typedef struct _ThriftHiveMetastore_heartbeat_args__isset { class ThriftHiveMetastore_heartbeat_args { public: - static const char* ascii_fingerprint; // = "FEFE57C0FA49DB87DD74D3DC1317EDB9"; - static const uint8_t binary_fingerprint[16]; // = {0xFE,0xFE,0x57,0xC0,0xFA,0x49,0xDB,0x87,0xDD,0x74,0xD3,0xDC,0x13,0x17,0xED,0xB9}; - ThriftHiveMetastore_heartbeat_args(const ThriftHiveMetastore_heartbeat_args&); ThriftHiveMetastore_heartbeat_args& operator=(const ThriftHiveMetastore_heartbeat_args&); ThriftHiveMetastore_heartbeat_args() { @@ -17461,23 +15592,18 @@ class ThriftHiveMetastore_heartbeat_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_heartbeat_args& obj); }; class ThriftHiveMetastore_heartbeat_pargs { public: - static const char* ascii_fingerprint; // = "FEFE57C0FA49DB87DD74D3DC1317EDB9"; - static const uint8_t binary_fingerprint[16]; // = {0xFE,0xFE,0x57,0xC0,0xFA,0x49,0xDB,0x87,0xDD,0x74,0xD3,0xDC,0x13,0x17,0xED,0xB9}; - virtual ~ThriftHiveMetastore_heartbeat_pargs() throw(); const HeartbeatRequest* ids; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_heartbeat_pargs& obj); }; typedef struct _ThriftHiveMetastore_heartbeat_result__isset { @@ -17490,9 +15616,6 @@ typedef struct _ThriftHiveMetastore_heartbeat_result__isset { class ThriftHiveMetastore_heartbeat_result { public: - static const char* ascii_fingerprint; // = "2E72786EE0F17DA00FC5BDED362FE255"; - static const uint8_t binary_fingerprint[16]; // = {0x2E,0x72,0x78,0x6E,0xE0,0xF1,0x7D,0xA0,0x0F,0xC5,0xBD,0xED,0x36,0x2F,0xE2,0x55}; - ThriftHiveMetastore_heartbeat_result(const ThriftHiveMetastore_heartbeat_result&); ThriftHiveMetastore_heartbeat_result& operator=(const ThriftHiveMetastore_heartbeat_result&); ThriftHiveMetastore_heartbeat_result() { @@ -17530,7 +15653,6 @@ class ThriftHiveMetastore_heartbeat_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_heartbeat_result& obj); }; typedef struct _ThriftHiveMetastore_heartbeat_presult__isset { @@ -17543,9 +15665,6 @@ typedef struct _ThriftHiveMetastore_heartbeat_presult__isset { class ThriftHiveMetastore_heartbeat_presult { public: - static const char* ascii_fingerprint; // = "2E72786EE0F17DA00FC5BDED362FE255"; - static const uint8_t binary_fingerprint[16]; // = {0x2E,0x72,0x78,0x6E,0xE0,0xF1,0x7D,0xA0,0x0F,0xC5,0xBD,0xED,0x36,0x2F,0xE2,0x55}; - virtual ~ThriftHiveMetastore_heartbeat_presult() throw(); NoSuchLockException o1; @@ -17556,7 +15675,6 @@ class ThriftHiveMetastore_heartbeat_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_heartbeat_presult& obj); }; typedef struct _ThriftHiveMetastore_heartbeat_txn_range_args__isset { @@ -17567,9 +15685,6 @@ typedef struct _ThriftHiveMetastore_heartbeat_txn_range_args__isset { class ThriftHiveMetastore_heartbeat_txn_range_args { public: - static const char* ascii_fingerprint; // = "9CFE4A6581B5B8EB11F5BBBCEFA07940"; - static const uint8_t binary_fingerprint[16]; // = {0x9C,0xFE,0x4A,0x65,0x81,0xB5,0xB8,0xEB,0x11,0xF5,0xBB,0xBC,0xEF,0xA0,0x79,0x40}; - ThriftHiveMetastore_heartbeat_txn_range_args(const ThriftHiveMetastore_heartbeat_txn_range_args&); ThriftHiveMetastore_heartbeat_txn_range_args& operator=(const ThriftHiveMetastore_heartbeat_txn_range_args&); ThriftHiveMetastore_heartbeat_txn_range_args() { @@ -17597,23 +15712,18 @@ class ThriftHiveMetastore_heartbeat_txn_range_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_heartbeat_txn_range_args& obj); }; class ThriftHiveMetastore_heartbeat_txn_range_pargs { public: - static const char* ascii_fingerprint; // = "9CFE4A6581B5B8EB11F5BBBCEFA07940"; - static const uint8_t binary_fingerprint[16]; // = {0x9C,0xFE,0x4A,0x65,0x81,0xB5,0xB8,0xEB,0x11,0xF5,0xBB,0xBC,0xEF,0xA0,0x79,0x40}; - virtual ~ThriftHiveMetastore_heartbeat_txn_range_pargs() throw(); const HeartbeatTxnRangeRequest* txns; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_heartbeat_txn_range_pargs& obj); }; typedef struct _ThriftHiveMetastore_heartbeat_txn_range_result__isset { @@ -17624,9 +15734,6 @@ typedef struct _ThriftHiveMetastore_heartbeat_txn_range_result__isset { class ThriftHiveMetastore_heartbeat_txn_range_result { public: - static const char* ascii_fingerprint; // = "BDFE4A5BFB98F599D92BB031157184E8"; - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xFE,0x4A,0x5B,0xFB,0x98,0xF5,0x99,0xD9,0x2B,0xB0,0x31,0x15,0x71,0x84,0xE8}; - ThriftHiveMetastore_heartbeat_txn_range_result(const ThriftHiveMetastore_heartbeat_txn_range_result&); ThriftHiveMetastore_heartbeat_txn_range_result& operator=(const ThriftHiveMetastore_heartbeat_txn_range_result&); ThriftHiveMetastore_heartbeat_txn_range_result() { @@ -17654,7 +15761,6 @@ class ThriftHiveMetastore_heartbeat_txn_range_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_heartbeat_txn_range_result& obj); }; typedef struct _ThriftHiveMetastore_heartbeat_txn_range_presult__isset { @@ -17665,9 +15771,6 @@ typedef struct _ThriftHiveMetastore_heartbeat_txn_range_presult__isset { class ThriftHiveMetastore_heartbeat_txn_range_presult { public: - static const char* ascii_fingerprint; // = "BDFE4A5BFB98F599D92BB031157184E8"; - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xFE,0x4A,0x5B,0xFB,0x98,0xF5,0x99,0xD9,0x2B,0xB0,0x31,0x15,0x71,0x84,0xE8}; - virtual ~ThriftHiveMetastore_heartbeat_txn_range_presult() throw(); HeartbeatTxnRangeResponse* success; @@ -17676,7 +15779,6 @@ class ThriftHiveMetastore_heartbeat_txn_range_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_heartbeat_txn_range_presult& obj); }; typedef struct _ThriftHiveMetastore_compact_args__isset { @@ -17687,9 +15789,6 @@ typedef struct _ThriftHiveMetastore_compact_args__isset { class ThriftHiveMetastore_compact_args { public: - static const char* ascii_fingerprint; // = "503A2889174BA51BACBA68520737384F"; - static const uint8_t binary_fingerprint[16]; // = {0x50,0x3A,0x28,0x89,0x17,0x4B,0xA5,0x1B,0xAC,0xBA,0x68,0x52,0x07,0x37,0x38,0x4F}; - ThriftHiveMetastore_compact_args(const ThriftHiveMetastore_compact_args&); ThriftHiveMetastore_compact_args& operator=(const ThriftHiveMetastore_compact_args&); ThriftHiveMetastore_compact_args() { @@ -17717,32 +15816,24 @@ class ThriftHiveMetastore_compact_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_compact_args& obj); }; class ThriftHiveMetastore_compact_pargs { public: - static const char* ascii_fingerprint; // = "503A2889174BA51BACBA68520737384F"; - static const uint8_t binary_fingerprint[16]; // = {0x50,0x3A,0x28,0x89,0x17,0x4B,0xA5,0x1B,0xAC,0xBA,0x68,0x52,0x07,0x37,0x38,0x4F}; - virtual ~ThriftHiveMetastore_compact_pargs() throw(); const CompactionRequest* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_compact_pargs& obj); }; class ThriftHiveMetastore_compact_result { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - ThriftHiveMetastore_compact_result(const ThriftHiveMetastore_compact_result&); ThriftHiveMetastore_compact_result& operator=(const ThriftHiveMetastore_compact_result&); ThriftHiveMetastore_compact_result() { @@ -17763,22 +15854,17 @@ class ThriftHiveMetastore_compact_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_compact_result& obj); }; class ThriftHiveMetastore_compact_presult { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHiveMetastore_compact_presult() throw(); uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_compact_presult& obj); }; typedef struct _ThriftHiveMetastore_show_compact_args__isset { @@ -17789,9 +15875,6 @@ typedef struct _ThriftHiveMetastore_show_compact_args__isset { class ThriftHiveMetastore_show_compact_args { public: - static const char* ascii_fingerprint; // = "2C32A565725135A023CB591D1A993CFD"; - static const uint8_t binary_fingerprint[16]; // = {0x2C,0x32,0xA5,0x65,0x72,0x51,0x35,0xA0,0x23,0xCB,0x59,0x1D,0x1A,0x99,0x3C,0xFD}; - ThriftHiveMetastore_show_compact_args(const ThriftHiveMetastore_show_compact_args&); ThriftHiveMetastore_show_compact_args& operator=(const ThriftHiveMetastore_show_compact_args&); ThriftHiveMetastore_show_compact_args() { @@ -17819,23 +15902,18 @@ class ThriftHiveMetastore_show_compact_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_show_compact_args& obj); }; class ThriftHiveMetastore_show_compact_pargs { public: - static const char* ascii_fingerprint; // = "2C32A565725135A023CB591D1A993CFD"; - static const uint8_t binary_fingerprint[16]; // = {0x2C,0x32,0xA5,0x65,0x72,0x51,0x35,0xA0,0x23,0xCB,0x59,0x1D,0x1A,0x99,0x3C,0xFD}; - virtual ~ThriftHiveMetastore_show_compact_pargs() throw(); const ShowCompactRequest* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_show_compact_pargs& obj); }; typedef struct _ThriftHiveMetastore_show_compact_result__isset { @@ -17846,9 +15924,6 @@ typedef struct _ThriftHiveMetastore_show_compact_result__isset { class ThriftHiveMetastore_show_compact_result { public: - static const char* ascii_fingerprint; // = "9B07BE1B4EB63FA7028D4720A9C3C30C"; - static const uint8_t binary_fingerprint[16]; // = {0x9B,0x07,0xBE,0x1B,0x4E,0xB6,0x3F,0xA7,0x02,0x8D,0x47,0x20,0xA9,0xC3,0xC3,0x0C}; - ThriftHiveMetastore_show_compact_result(const ThriftHiveMetastore_show_compact_result&); ThriftHiveMetastore_show_compact_result& operator=(const ThriftHiveMetastore_show_compact_result&); ThriftHiveMetastore_show_compact_result() { @@ -17876,7 +15951,6 @@ class ThriftHiveMetastore_show_compact_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_show_compact_result& obj); }; typedef struct _ThriftHiveMetastore_show_compact_presult__isset { @@ -17887,9 +15961,6 @@ typedef struct _ThriftHiveMetastore_show_compact_presult__isset { class ThriftHiveMetastore_show_compact_presult { public: - static const char* ascii_fingerprint; // = "9B07BE1B4EB63FA7028D4720A9C3C30C"; - static const uint8_t binary_fingerprint[16]; // = {0x9B,0x07,0xBE,0x1B,0x4E,0xB6,0x3F,0xA7,0x02,0x8D,0x47,0x20,0xA9,0xC3,0xC3,0x0C}; - virtual ~ThriftHiveMetastore_show_compact_presult() throw(); ShowCompactResponse* success; @@ -17898,7 +15969,6 @@ class ThriftHiveMetastore_show_compact_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_show_compact_presult& obj); }; typedef struct _ThriftHiveMetastore_add_dynamic_partitions_args__isset { @@ -17909,9 +15979,6 @@ typedef struct _ThriftHiveMetastore_add_dynamic_partitions_args__isset { class ThriftHiveMetastore_add_dynamic_partitions_args { public: - static const char* ascii_fingerprint; // = "F9CCCF0E4555358EC5B7E6822832A061"; - static const uint8_t binary_fingerprint[16]; // = {0xF9,0xCC,0xCF,0x0E,0x45,0x55,0x35,0x8E,0xC5,0xB7,0xE6,0x82,0x28,0x32,0xA0,0x61}; - ThriftHiveMetastore_add_dynamic_partitions_args(const ThriftHiveMetastore_add_dynamic_partitions_args&); ThriftHiveMetastore_add_dynamic_partitions_args& operator=(const ThriftHiveMetastore_add_dynamic_partitions_args&); ThriftHiveMetastore_add_dynamic_partitions_args() { @@ -17939,23 +16006,18 @@ class ThriftHiveMetastore_add_dynamic_partitions_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_dynamic_partitions_args& obj); }; class ThriftHiveMetastore_add_dynamic_partitions_pargs { public: - static const char* ascii_fingerprint; // = "F9CCCF0E4555358EC5B7E6822832A061"; - static const uint8_t binary_fingerprint[16]; // = {0xF9,0xCC,0xCF,0x0E,0x45,0x55,0x35,0x8E,0xC5,0xB7,0xE6,0x82,0x28,0x32,0xA0,0x61}; - virtual ~ThriftHiveMetastore_add_dynamic_partitions_pargs() throw(); const AddDynamicPartitions* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_dynamic_partitions_pargs& obj); }; typedef struct _ThriftHiveMetastore_add_dynamic_partitions_result__isset { @@ -17967,9 +16029,6 @@ typedef struct _ThriftHiveMetastore_add_dynamic_partitions_result__isset { class ThriftHiveMetastore_add_dynamic_partitions_result { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - ThriftHiveMetastore_add_dynamic_partitions_result(const ThriftHiveMetastore_add_dynamic_partitions_result&); ThriftHiveMetastore_add_dynamic_partitions_result& operator=(const ThriftHiveMetastore_add_dynamic_partitions_result&); ThriftHiveMetastore_add_dynamic_partitions_result() { @@ -18002,7 +16061,6 @@ class ThriftHiveMetastore_add_dynamic_partitions_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_dynamic_partitions_result& obj); }; typedef struct _ThriftHiveMetastore_add_dynamic_partitions_presult__isset { @@ -18014,9 +16072,6 @@ typedef struct _ThriftHiveMetastore_add_dynamic_partitions_presult__isset { class ThriftHiveMetastore_add_dynamic_partitions_presult { public: - static const char* ascii_fingerprint; // = "A963880F55F6F22FCC67AD7BA0E1894D"; - static const uint8_t binary_fingerprint[16]; // = {0xA9,0x63,0x88,0x0F,0x55,0xF6,0xF2,0x2F,0xCC,0x67,0xAD,0x7B,0xA0,0xE1,0x89,0x4D}; - virtual ~ThriftHiveMetastore_add_dynamic_partitions_presult() throw(); NoSuchTxnException o1; @@ -18026,7 +16081,6 @@ class ThriftHiveMetastore_add_dynamic_partitions_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_add_dynamic_partitions_presult& obj); }; typedef struct _ThriftHiveMetastore_get_next_notification_args__isset { @@ -18037,9 +16091,6 @@ typedef struct _ThriftHiveMetastore_get_next_notification_args__isset { class ThriftHiveMetastore_get_next_notification_args { public: - static const char* ascii_fingerprint; // = "BCBD918FD33E7FB950D0F393C08EC4E7"; - static const uint8_t binary_fingerprint[16]; // = {0xBC,0xBD,0x91,0x8F,0xD3,0x3E,0x7F,0xB9,0x50,0xD0,0xF3,0x93,0xC0,0x8E,0xC4,0xE7}; - ThriftHiveMetastore_get_next_notification_args(const ThriftHiveMetastore_get_next_notification_args&); ThriftHiveMetastore_get_next_notification_args& operator=(const ThriftHiveMetastore_get_next_notification_args&); ThriftHiveMetastore_get_next_notification_args() { @@ -18067,23 +16118,18 @@ class ThriftHiveMetastore_get_next_notification_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_next_notification_args& obj); }; class ThriftHiveMetastore_get_next_notification_pargs { public: - static const char* ascii_fingerprint; // = "BCBD918FD33E7FB950D0F393C08EC4E7"; - static const uint8_t binary_fingerprint[16]; // = {0xBC,0xBD,0x91,0x8F,0xD3,0x3E,0x7F,0xB9,0x50,0xD0,0xF3,0x93,0xC0,0x8E,0xC4,0xE7}; - virtual ~ThriftHiveMetastore_get_next_notification_pargs() throw(); const NotificationEventRequest* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_next_notification_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_next_notification_result__isset { @@ -18094,9 +16140,6 @@ typedef struct _ThriftHiveMetastore_get_next_notification_result__isset { class ThriftHiveMetastore_get_next_notification_result { public: - static const char* ascii_fingerprint; // = "1A91DEA4AAEC536BE33C3FFAAE932C89"; - static const uint8_t binary_fingerprint[16]; // = {0x1A,0x91,0xDE,0xA4,0xAA,0xEC,0x53,0x6B,0xE3,0x3C,0x3F,0xFA,0xAE,0x93,0x2C,0x89}; - ThriftHiveMetastore_get_next_notification_result(const ThriftHiveMetastore_get_next_notification_result&); ThriftHiveMetastore_get_next_notification_result& operator=(const ThriftHiveMetastore_get_next_notification_result&); ThriftHiveMetastore_get_next_notification_result() { @@ -18124,7 +16167,6 @@ class ThriftHiveMetastore_get_next_notification_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_next_notification_result& obj); }; typedef struct _ThriftHiveMetastore_get_next_notification_presult__isset { @@ -18135,9 +16177,6 @@ typedef struct _ThriftHiveMetastore_get_next_notification_presult__isset { class ThriftHiveMetastore_get_next_notification_presult { public: - static const char* ascii_fingerprint; // = "1A91DEA4AAEC536BE33C3FFAAE932C89"; - static const uint8_t binary_fingerprint[16]; // = {0x1A,0x91,0xDE,0xA4,0xAA,0xEC,0x53,0x6B,0xE3,0x3C,0x3F,0xFA,0xAE,0x93,0x2C,0x89}; - virtual ~ThriftHiveMetastore_get_next_notification_presult() throw(); NotificationEventResponse* success; @@ -18146,16 +16185,12 @@ class ThriftHiveMetastore_get_next_notification_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_next_notification_presult& obj); }; class ThriftHiveMetastore_get_current_notificationEventId_args { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - ThriftHiveMetastore_get_current_notificationEventId_args(const ThriftHiveMetastore_get_current_notificationEventId_args&); ThriftHiveMetastore_get_current_notificationEventId_args& operator=(const ThriftHiveMetastore_get_current_notificationEventId_args&); ThriftHiveMetastore_get_current_notificationEventId_args() { @@ -18176,22 +16211,17 @@ class ThriftHiveMetastore_get_current_notificationEventId_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_current_notificationEventId_args& obj); }; class ThriftHiveMetastore_get_current_notificationEventId_pargs { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHiveMetastore_get_current_notificationEventId_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_current_notificationEventId_pargs& obj); }; typedef struct _ThriftHiveMetastore_get_current_notificationEventId_result__isset { @@ -18202,9 +16232,6 @@ typedef struct _ThriftHiveMetastore_get_current_notificationEventId_result__isse class ThriftHiveMetastore_get_current_notificationEventId_result { public: - static const char* ascii_fingerprint; // = "9557E28B62698C3C53496865CD968D13"; - static const uint8_t binary_fingerprint[16]; // = {0x95,0x57,0xE2,0x8B,0x62,0x69,0x8C,0x3C,0x53,0x49,0x68,0x65,0xCD,0x96,0x8D,0x13}; - ThriftHiveMetastore_get_current_notificationEventId_result(const ThriftHiveMetastore_get_current_notificationEventId_result&); ThriftHiveMetastore_get_current_notificationEventId_result& operator=(const ThriftHiveMetastore_get_current_notificationEventId_result&); ThriftHiveMetastore_get_current_notificationEventId_result() { @@ -18232,7 +16259,6 @@ class ThriftHiveMetastore_get_current_notificationEventId_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_current_notificationEventId_result& obj); }; typedef struct _ThriftHiveMetastore_get_current_notificationEventId_presult__isset { @@ -18243,9 +16269,6 @@ typedef struct _ThriftHiveMetastore_get_current_notificationEventId_presult__iss class ThriftHiveMetastore_get_current_notificationEventId_presult { public: - static const char* ascii_fingerprint; // = "9557E28B62698C3C53496865CD968D13"; - static const uint8_t binary_fingerprint[16]; // = {0x95,0x57,0xE2,0x8B,0x62,0x69,0x8C,0x3C,0x53,0x49,0x68,0x65,0xCD,0x96,0x8D,0x13}; - virtual ~ThriftHiveMetastore_get_current_notificationEventId_presult() throw(); CurrentNotificationEventId* success; @@ -18254,7 +16277,6 @@ class ThriftHiveMetastore_get_current_notificationEventId_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_get_current_notificationEventId_presult& obj); }; typedef struct _ThriftHiveMetastore_fire_listener_event_args__isset { @@ -18265,9 +16287,6 @@ typedef struct _ThriftHiveMetastore_fire_listener_event_args__isset { class ThriftHiveMetastore_fire_listener_event_args { public: - static const char* ascii_fingerprint; // = "5A5B8926FE793D19D64602013DB1A0E7"; - static const uint8_t binary_fingerprint[16]; // = {0x5A,0x5B,0x89,0x26,0xFE,0x79,0x3D,0x19,0xD6,0x46,0x02,0x01,0x3D,0xB1,0xA0,0xE7}; - ThriftHiveMetastore_fire_listener_event_args(const ThriftHiveMetastore_fire_listener_event_args&); ThriftHiveMetastore_fire_listener_event_args& operator=(const ThriftHiveMetastore_fire_listener_event_args&); ThriftHiveMetastore_fire_listener_event_args() { @@ -18295,23 +16314,18 @@ class ThriftHiveMetastore_fire_listener_event_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_fire_listener_event_args& obj); }; class ThriftHiveMetastore_fire_listener_event_pargs { public: - static const char* ascii_fingerprint; // = "5A5B8926FE793D19D64602013DB1A0E7"; - static const uint8_t binary_fingerprint[16]; // = {0x5A,0x5B,0x89,0x26,0xFE,0x79,0x3D,0x19,0xD6,0x46,0x02,0x01,0x3D,0xB1,0xA0,0xE7}; - virtual ~ThriftHiveMetastore_fire_listener_event_pargs() throw(); const FireEventRequest* rqst; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_fire_listener_event_pargs& obj); }; typedef struct _ThriftHiveMetastore_fire_listener_event_result__isset { @@ -18322,9 +16336,6 @@ typedef struct _ThriftHiveMetastore_fire_listener_event_result__isset { class ThriftHiveMetastore_fire_listener_event_result { public: - static const char* ascii_fingerprint; // = "3A26B8DD823AB72F2FE94404F3D36070"; - static const uint8_t binary_fingerprint[16]; // = {0x3A,0x26,0xB8,0xDD,0x82,0x3A,0xB7,0x2F,0x2F,0xE9,0x44,0x04,0xF3,0xD3,0x60,0x70}; - ThriftHiveMetastore_fire_listener_event_result(const ThriftHiveMetastore_fire_listener_event_result&); ThriftHiveMetastore_fire_listener_event_result& operator=(const ThriftHiveMetastore_fire_listener_event_result&); ThriftHiveMetastore_fire_listener_event_result() { @@ -18352,7 +16363,6 @@ class ThriftHiveMetastore_fire_listener_event_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_fire_listener_event_result& obj); }; typedef struct _ThriftHiveMetastore_fire_listener_event_presult__isset { @@ -18363,9 +16373,6 @@ typedef struct _ThriftHiveMetastore_fire_listener_event_presult__isset { class ThriftHiveMetastore_fire_listener_event_presult { public: - static const char* ascii_fingerprint; // = "3A26B8DD823AB72F2FE94404F3D36070"; - static const uint8_t binary_fingerprint[16]; // = {0x3A,0x26,0xB8,0xDD,0x82,0x3A,0xB7,0x2F,0x2F,0xE9,0x44,0x04,0xF3,0xD3,0x60,0x70}; - virtual ~ThriftHiveMetastore_fire_listener_event_presult() throw(); FireEventResponse* success; @@ -18374,7 +16381,6 @@ class ThriftHiveMetastore_fire_listener_event_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHiveMetastore_fire_listener_event_presult& obj); }; class ThriftHiveMetastoreClient : virtual public ThriftHiveMetastoreIf, public ::facebook::fb303::FacebookServiceClient { @@ -20262,6 +18268,401 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi }; +// The 'concurrent' client is a thread safe client that correctly handles +// out of order responses. It is slower than the regular client, so should +// only be used when you need to share a connection among multiple threads +class ThriftHiveMetastoreConcurrentClient : virtual public ThriftHiveMetastoreIf, public ::facebook::fb303::FacebookServiceConcurrentClient { + public: + ThriftHiveMetastoreConcurrentClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) : + ::facebook::fb303::FacebookServiceConcurrentClient(prot, prot) {} + ThriftHiveMetastoreConcurrentClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) : ::facebook::fb303::FacebookServiceConcurrentClient(iprot, oprot) {} + boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getInputProtocol() { + return piprot_; + } + boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getOutputProtocol() { + return poprot_; + } + void getMetaConf(std::string& _return, const std::string& key); + int32_t send_getMetaConf(const std::string& key); + void recv_getMetaConf(std::string& _return, const int32_t seqid); + void setMetaConf(const std::string& key, const std::string& value); + int32_t send_setMetaConf(const std::string& key, const std::string& value); + void recv_setMetaConf(const int32_t seqid); + void create_database(const Database& database); + int32_t send_create_database(const Database& database); + void recv_create_database(const int32_t seqid); + void get_database(Database& _return, const std::string& name); + int32_t send_get_database(const std::string& name); + void recv_get_database(Database& _return, const int32_t seqid); + void drop_database(const std::string& name, const bool deleteData, const bool cascade); + int32_t send_drop_database(const std::string& name, const bool deleteData, const bool cascade); + void recv_drop_database(const int32_t seqid); + void get_databases(std::vector & _return, const std::string& pattern); + int32_t send_get_databases(const std::string& pattern); + void recv_get_databases(std::vector & _return, const int32_t seqid); + void get_all_databases(std::vector & _return); + int32_t send_get_all_databases(); + void recv_get_all_databases(std::vector & _return, const int32_t seqid); + void alter_database(const std::string& dbname, const Database& db); + int32_t send_alter_database(const std::string& dbname, const Database& db); + void recv_alter_database(const int32_t seqid); + void get_type(Type& _return, const std::string& name); + int32_t send_get_type(const std::string& name); + void recv_get_type(Type& _return, const int32_t seqid); + bool create_type(const Type& type); + int32_t send_create_type(const Type& type); + bool recv_create_type(const int32_t seqid); + bool drop_type(const std::string& type); + int32_t send_drop_type(const std::string& type); + bool recv_drop_type(const int32_t seqid); + void get_type_all(std::map & _return, const std::string& name); + int32_t send_get_type_all(const std::string& name); + void recv_get_type_all(std::map & _return, const int32_t seqid); + void get_fields(std::vector & _return, const std::string& db_name, const std::string& table_name); + int32_t send_get_fields(const std::string& db_name, const std::string& table_name); + void recv_get_fields(std::vector & _return, const int32_t seqid); + void get_fields_with_environment_context(std::vector & _return, const std::string& db_name, const std::string& table_name, const EnvironmentContext& environment_context); + int32_t send_get_fields_with_environment_context(const std::string& db_name, const std::string& table_name, const EnvironmentContext& environment_context); + void recv_get_fields_with_environment_context(std::vector & _return, const int32_t seqid); + void get_schema(std::vector & _return, const std::string& db_name, const std::string& table_name); + int32_t send_get_schema(const std::string& db_name, const std::string& table_name); + void recv_get_schema(std::vector & _return, const int32_t seqid); + void get_schema_with_environment_context(std::vector & _return, const std::string& db_name, const std::string& table_name, const EnvironmentContext& environment_context); + int32_t send_get_schema_with_environment_context(const std::string& db_name, const std::string& table_name, const EnvironmentContext& environment_context); + void recv_get_schema_with_environment_context(std::vector & _return, const int32_t seqid); + void create_table(const Table& tbl); + int32_t send_create_table(const Table& tbl); + void recv_create_table(const int32_t seqid); + void create_table_with_environment_context(const Table& tbl, const EnvironmentContext& environment_context); + int32_t send_create_table_with_environment_context(const Table& tbl, const EnvironmentContext& environment_context); + void recv_create_table_with_environment_context(const int32_t seqid); + void drop_table(const std::string& dbname, const std::string& name, const bool deleteData); + int32_t send_drop_table(const std::string& dbname, const std::string& name, const bool deleteData); + void recv_drop_table(const int32_t seqid); + void drop_table_with_environment_context(const std::string& dbname, const std::string& name, const bool deleteData, const EnvironmentContext& environment_context); + int32_t send_drop_table_with_environment_context(const std::string& dbname, const std::string& name, const bool deleteData, const EnvironmentContext& environment_context); + void recv_drop_table_with_environment_context(const int32_t seqid); + void get_tables(std::vector & _return, const std::string& db_name, const std::string& pattern); + int32_t send_get_tables(const std::string& db_name, const std::string& pattern); + void recv_get_tables(std::vector & _return, const int32_t seqid); + void get_all_tables(std::vector & _return, const std::string& db_name); + int32_t send_get_all_tables(const std::string& db_name); + void recv_get_all_tables(std::vector & _return, const int32_t seqid); + void get_table(Table& _return, const std::string& dbname, const std::string& tbl_name); + int32_t send_get_table(const std::string& dbname, const std::string& tbl_name); + void recv_get_table(Table& _return, const int32_t seqid); + void get_table_objects_by_name(std::vector
& _return, const std::string& dbname, const std::vector & tbl_names); + int32_t send_get_table_objects_by_name(const std::string& dbname, const std::vector & tbl_names); + void recv_get_table_objects_by_name(std::vector
& _return, const int32_t seqid); + void get_table_names_by_filter(std::vector & _return, const std::string& dbname, const std::string& filter, const int16_t max_tables); + int32_t send_get_table_names_by_filter(const std::string& dbname, const std::string& filter, const int16_t max_tables); + void recv_get_table_names_by_filter(std::vector & _return, const int32_t seqid); + void alter_table(const std::string& dbname, const std::string& tbl_name, const Table& new_tbl); + int32_t send_alter_table(const std::string& dbname, const std::string& tbl_name, const Table& new_tbl); + void recv_alter_table(const int32_t seqid); + void alter_table_with_environment_context(const std::string& dbname, const std::string& tbl_name, const Table& new_tbl, const EnvironmentContext& environment_context); + int32_t send_alter_table_with_environment_context(const std::string& dbname, const std::string& tbl_name, const Table& new_tbl, const EnvironmentContext& environment_context); + void recv_alter_table_with_environment_context(const int32_t seqid); + void alter_table_with_cascade(const std::string& dbname, const std::string& tbl_name, const Table& new_tbl, const bool cascade); + int32_t send_alter_table_with_cascade(const std::string& dbname, const std::string& tbl_name, const Table& new_tbl, const bool cascade); + void recv_alter_table_with_cascade(const int32_t seqid); + void add_partition(Partition& _return, const Partition& new_part); + int32_t send_add_partition(const Partition& new_part); + void recv_add_partition(Partition& _return, const int32_t seqid); + void add_partition_with_environment_context(Partition& _return, const Partition& new_part, const EnvironmentContext& environment_context); + int32_t send_add_partition_with_environment_context(const Partition& new_part, const EnvironmentContext& environment_context); + void recv_add_partition_with_environment_context(Partition& _return, const int32_t seqid); + int32_t add_partitions(const std::vector & new_parts); + int32_t send_add_partitions(const std::vector & new_parts); + int32_t recv_add_partitions(const int32_t seqid); + int32_t add_partitions_pspec(const std::vector & new_parts); + int32_t send_add_partitions_pspec(const std::vector & new_parts); + int32_t recv_add_partitions_pspec(const int32_t seqid); + void append_partition(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals); + int32_t send_append_partition(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals); + void recv_append_partition(Partition& _return, const int32_t seqid); + void add_partitions_req(AddPartitionsResult& _return, const AddPartitionsRequest& request); + int32_t send_add_partitions_req(const AddPartitionsRequest& request); + void recv_add_partitions_req(AddPartitionsResult& _return, const int32_t seqid); + void append_partition_with_environment_context(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const EnvironmentContext& environment_context); + int32_t send_append_partition_with_environment_context(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const EnvironmentContext& environment_context); + void recv_append_partition_with_environment_context(Partition& _return, const int32_t seqid); + void append_partition_by_name(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name); + int32_t send_append_partition_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& part_name); + void recv_append_partition_by_name(Partition& _return, const int32_t seqid); + void append_partition_by_name_with_environment_context(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const EnvironmentContext& environment_context); + int32_t send_append_partition_by_name_with_environment_context(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const EnvironmentContext& environment_context); + void recv_append_partition_by_name_with_environment_context(Partition& _return, const int32_t seqid); + bool drop_partition(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const bool deleteData); + int32_t send_drop_partition(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const bool deleteData); + bool recv_drop_partition(const int32_t seqid); + bool drop_partition_with_environment_context(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const bool deleteData, const EnvironmentContext& environment_context); + int32_t send_drop_partition_with_environment_context(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const bool deleteData, const EnvironmentContext& environment_context); + bool recv_drop_partition_with_environment_context(const int32_t seqid); + bool drop_partition_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const bool deleteData); + int32_t send_drop_partition_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const bool deleteData); + bool recv_drop_partition_by_name(const int32_t seqid); + bool drop_partition_by_name_with_environment_context(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const bool deleteData, const EnvironmentContext& environment_context); + int32_t send_drop_partition_by_name_with_environment_context(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const bool deleteData, const EnvironmentContext& environment_context); + bool recv_drop_partition_by_name_with_environment_context(const int32_t seqid); + void drop_partitions_req(DropPartitionsResult& _return, const DropPartitionsRequest& req); + int32_t send_drop_partitions_req(const DropPartitionsRequest& req); + void recv_drop_partitions_req(DropPartitionsResult& _return, const int32_t seqid); + void get_partition(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals); + int32_t send_get_partition(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals); + void recv_get_partition(Partition& _return, const int32_t seqid); + void exchange_partition(Partition& _return, const std::map & partitionSpecs, const std::string& source_db, const std::string& source_table_name, const std::string& dest_db, const std::string& dest_table_name); + int32_t send_exchange_partition(const std::map & partitionSpecs, const std::string& source_db, const std::string& source_table_name, const std::string& dest_db, const std::string& dest_table_name); + void recv_exchange_partition(Partition& _return, const int32_t seqid); + void exchange_partitions(std::vector & _return, const std::map & partitionSpecs, const std::string& source_db, const std::string& source_table_name, const std::string& dest_db, const std::string& dest_table_name); + int32_t send_exchange_partitions(const std::map & partitionSpecs, const std::string& source_db, const std::string& source_table_name, const std::string& dest_db, const std::string& dest_table_name); + void recv_exchange_partitions(std::vector & _return, const int32_t seqid); + void get_partition_with_auth(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const std::string& user_name, const std::vector & group_names); + int32_t send_get_partition_with_auth(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const std::string& user_name, const std::vector & group_names); + void recv_get_partition_with_auth(Partition& _return, const int32_t seqid); + void get_partition_by_name(Partition& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name); + int32_t send_get_partition_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& part_name); + void recv_get_partition_by_name(Partition& _return, const int32_t seqid); + void get_partitions(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts); + int32_t send_get_partitions(const std::string& db_name, const std::string& tbl_name, const int16_t max_parts); + void recv_get_partitions(std::vector & _return, const int32_t seqid); + void get_partitions_with_auth(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts, const std::string& user_name, const std::vector & group_names); + int32_t send_get_partitions_with_auth(const std::string& db_name, const std::string& tbl_name, const int16_t max_parts, const std::string& user_name, const std::vector & group_names); + void recv_get_partitions_with_auth(std::vector & _return, const int32_t seqid); + void get_partitions_pspec(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int32_t max_parts); + int32_t send_get_partitions_pspec(const std::string& db_name, const std::string& tbl_name, const int32_t max_parts); + void recv_get_partitions_pspec(std::vector & _return, const int32_t seqid); + void get_partition_names(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_parts); + int32_t send_get_partition_names(const std::string& db_name, const std::string& tbl_name, const int16_t max_parts); + void recv_get_partition_names(std::vector & _return, const int32_t seqid); + void get_partitions_ps(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts); + int32_t send_get_partitions_ps(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts); + void recv_get_partitions_ps(std::vector & _return, const int32_t seqid); + void get_partitions_ps_with_auth(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts, const std::string& user_name, const std::vector & group_names); + int32_t send_get_partitions_ps_with_auth(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts, const std::string& user_name, const std::vector & group_names); + void recv_get_partitions_ps_with_auth(std::vector & _return, const int32_t seqid); + void get_partition_names_ps(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts); + int32_t send_get_partition_names_ps(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const int16_t max_parts); + void recv_get_partition_names_ps(std::vector & _return, const int32_t seqid); + void get_partitions_by_filter(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::string& filter, const int16_t max_parts); + int32_t send_get_partitions_by_filter(const std::string& db_name, const std::string& tbl_name, const std::string& filter, const int16_t max_parts); + void recv_get_partitions_by_filter(std::vector & _return, const int32_t seqid); + void get_part_specs_by_filter(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::string& filter, const int32_t max_parts); + int32_t send_get_part_specs_by_filter(const std::string& db_name, const std::string& tbl_name, const std::string& filter, const int32_t max_parts); + void recv_get_part_specs_by_filter(std::vector & _return, const int32_t seqid); + void get_partitions_by_expr(PartitionsByExprResult& _return, const PartitionsByExprRequest& req); + int32_t send_get_partitions_by_expr(const PartitionsByExprRequest& req); + void recv_get_partitions_by_expr(PartitionsByExprResult& _return, const int32_t seqid); + void get_partitions_by_names(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const std::vector & names); + int32_t send_get_partitions_by_names(const std::string& db_name, const std::string& tbl_name, const std::vector & names); + void recv_get_partitions_by_names(std::vector & _return, const int32_t seqid); + void alter_partition(const std::string& db_name, const std::string& tbl_name, const Partition& new_part); + int32_t send_alter_partition(const std::string& db_name, const std::string& tbl_name, const Partition& new_part); + void recv_alter_partition(const int32_t seqid); + void alter_partitions(const std::string& db_name, const std::string& tbl_name, const std::vector & new_parts); + int32_t send_alter_partitions(const std::string& db_name, const std::string& tbl_name, const std::vector & new_parts); + void recv_alter_partitions(const int32_t seqid); + void alter_partition_with_environment_context(const std::string& db_name, const std::string& tbl_name, const Partition& new_part, const EnvironmentContext& environment_context); + int32_t send_alter_partition_with_environment_context(const std::string& db_name, const std::string& tbl_name, const Partition& new_part, const EnvironmentContext& environment_context); + void recv_alter_partition_with_environment_context(const int32_t seqid); + void rename_partition(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const Partition& new_part); + int32_t send_rename_partition(const std::string& db_name, const std::string& tbl_name, const std::vector & part_vals, const Partition& new_part); + void recv_rename_partition(const int32_t seqid); + bool partition_name_has_valid_characters(const std::vector & part_vals, const bool throw_exception); + int32_t send_partition_name_has_valid_characters(const std::vector & part_vals, const bool throw_exception); + bool recv_partition_name_has_valid_characters(const int32_t seqid); + void get_config_value(std::string& _return, const std::string& name, const std::string& defaultValue); + int32_t send_get_config_value(const std::string& name, const std::string& defaultValue); + void recv_get_config_value(std::string& _return, const int32_t seqid); + void partition_name_to_vals(std::vector & _return, const std::string& part_name); + int32_t send_partition_name_to_vals(const std::string& part_name); + void recv_partition_name_to_vals(std::vector & _return, const int32_t seqid); + void partition_name_to_spec(std::map & _return, const std::string& part_name); + int32_t send_partition_name_to_spec(const std::string& part_name); + void recv_partition_name_to_spec(std::map & _return, const int32_t seqid); + void markPartitionForEvent(const std::string& db_name, const std::string& tbl_name, const std::map & part_vals, const PartitionEventType::type eventType); + int32_t send_markPartitionForEvent(const std::string& db_name, const std::string& tbl_name, const std::map & part_vals, const PartitionEventType::type eventType); + void recv_markPartitionForEvent(const int32_t seqid); + bool isPartitionMarkedForEvent(const std::string& db_name, const std::string& tbl_name, const std::map & part_vals, const PartitionEventType::type eventType); + int32_t send_isPartitionMarkedForEvent(const std::string& db_name, const std::string& tbl_name, const std::map & part_vals, const PartitionEventType::type eventType); + bool recv_isPartitionMarkedForEvent(const int32_t seqid); + void add_index(Index& _return, const Index& new_index, const Table& index_table); + int32_t send_add_index(const Index& new_index, const Table& index_table); + void recv_add_index(Index& _return, const int32_t seqid); + void alter_index(const std::string& dbname, const std::string& base_tbl_name, const std::string& idx_name, const Index& new_idx); + int32_t send_alter_index(const std::string& dbname, const std::string& base_tbl_name, const std::string& idx_name, const Index& new_idx); + void recv_alter_index(const int32_t seqid); + bool drop_index_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& index_name, const bool deleteData); + int32_t send_drop_index_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& index_name, const bool deleteData); + bool recv_drop_index_by_name(const int32_t seqid); + void get_index_by_name(Index& _return, const std::string& db_name, const std::string& tbl_name, const std::string& index_name); + int32_t send_get_index_by_name(const std::string& db_name, const std::string& tbl_name, const std::string& index_name); + void recv_get_index_by_name(Index& _return, const int32_t seqid); + void get_indexes(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_indexes); + int32_t send_get_indexes(const std::string& db_name, const std::string& tbl_name, const int16_t max_indexes); + void recv_get_indexes(std::vector & _return, const int32_t seqid); + void get_index_names(std::vector & _return, const std::string& db_name, const std::string& tbl_name, const int16_t max_indexes); + int32_t send_get_index_names(const std::string& db_name, const std::string& tbl_name, const int16_t max_indexes); + void recv_get_index_names(std::vector & _return, const int32_t seqid); + bool update_table_column_statistics(const ColumnStatistics& stats_obj); + int32_t send_update_table_column_statistics(const ColumnStatistics& stats_obj); + bool recv_update_table_column_statistics(const int32_t seqid); + bool update_partition_column_statistics(const ColumnStatistics& stats_obj); + int32_t send_update_partition_column_statistics(const ColumnStatistics& stats_obj); + bool recv_update_partition_column_statistics(const int32_t seqid); + void get_table_column_statistics(ColumnStatistics& _return, const std::string& db_name, const std::string& tbl_name, const std::string& col_name); + int32_t send_get_table_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& col_name); + void recv_get_table_column_statistics(ColumnStatistics& _return, const int32_t seqid); + void get_partition_column_statistics(ColumnStatistics& _return, const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const std::string& col_name); + int32_t send_get_partition_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const std::string& col_name); + void recv_get_partition_column_statistics(ColumnStatistics& _return, const int32_t seqid); + void get_table_statistics_req(TableStatsResult& _return, const TableStatsRequest& request); + int32_t send_get_table_statistics_req(const TableStatsRequest& request); + void recv_get_table_statistics_req(TableStatsResult& _return, const int32_t seqid); + void get_partitions_statistics_req(PartitionsStatsResult& _return, const PartitionsStatsRequest& request); + int32_t send_get_partitions_statistics_req(const PartitionsStatsRequest& request); + void recv_get_partitions_statistics_req(PartitionsStatsResult& _return, const int32_t seqid); + void get_aggr_stats_for(AggrStats& _return, const PartitionsStatsRequest& request); + int32_t send_get_aggr_stats_for(const PartitionsStatsRequest& request); + void recv_get_aggr_stats_for(AggrStats& _return, const int32_t seqid); + bool set_aggr_stats_for(const SetPartitionsStatsRequest& request); + int32_t send_set_aggr_stats_for(const SetPartitionsStatsRequest& request); + bool recv_set_aggr_stats_for(const int32_t seqid); + bool delete_partition_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const std::string& col_name); + int32_t send_delete_partition_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& part_name, const std::string& col_name); + bool recv_delete_partition_column_statistics(const int32_t seqid); + bool delete_table_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& col_name); + int32_t send_delete_table_column_statistics(const std::string& db_name, const std::string& tbl_name, const std::string& col_name); + bool recv_delete_table_column_statistics(const int32_t seqid); + void create_function(const Function& func); + int32_t send_create_function(const Function& func); + void recv_create_function(const int32_t seqid); + void drop_function(const std::string& dbName, const std::string& funcName); + int32_t send_drop_function(const std::string& dbName, const std::string& funcName); + void recv_drop_function(const int32_t seqid); + void alter_function(const std::string& dbName, const std::string& funcName, const Function& newFunc); + int32_t send_alter_function(const std::string& dbName, const std::string& funcName, const Function& newFunc); + void recv_alter_function(const int32_t seqid); + void get_functions(std::vector & _return, const std::string& dbName, const std::string& pattern); + int32_t send_get_functions(const std::string& dbName, const std::string& pattern); + void recv_get_functions(std::vector & _return, const int32_t seqid); + void get_function(Function& _return, const std::string& dbName, const std::string& funcName); + int32_t send_get_function(const std::string& dbName, const std::string& funcName); + void recv_get_function(Function& _return, const int32_t seqid); + void get_all_functions(GetAllFunctionsResponse& _return); + int32_t send_get_all_functions(); + void recv_get_all_functions(GetAllFunctionsResponse& _return, const int32_t seqid); + bool create_role(const Role& role); + int32_t send_create_role(const Role& role); + bool recv_create_role(const int32_t seqid); + bool drop_role(const std::string& role_name); + int32_t send_drop_role(const std::string& role_name); + bool recv_drop_role(const int32_t seqid); + void get_role_names(std::vector & _return); + int32_t send_get_role_names(); + void recv_get_role_names(std::vector & _return, const int32_t seqid); + bool grant_role(const std::string& role_name, const std::string& principal_name, const PrincipalType::type principal_type, const std::string& grantor, const PrincipalType::type grantorType, const bool grant_option); + int32_t send_grant_role(const std::string& role_name, const std::string& principal_name, const PrincipalType::type principal_type, const std::string& grantor, const PrincipalType::type grantorType, const bool grant_option); + bool recv_grant_role(const int32_t seqid); + bool revoke_role(const std::string& role_name, const std::string& principal_name, const PrincipalType::type principal_type); + int32_t send_revoke_role(const std::string& role_name, const std::string& principal_name, const PrincipalType::type principal_type); + bool recv_revoke_role(const int32_t seqid); + void list_roles(std::vector & _return, const std::string& principal_name, const PrincipalType::type principal_type); + int32_t send_list_roles(const std::string& principal_name, const PrincipalType::type principal_type); + void recv_list_roles(std::vector & _return, const int32_t seqid); + void grant_revoke_role(GrantRevokeRoleResponse& _return, const GrantRevokeRoleRequest& request); + int32_t send_grant_revoke_role(const GrantRevokeRoleRequest& request); + void recv_grant_revoke_role(GrantRevokeRoleResponse& _return, const int32_t seqid); + void get_principals_in_role(GetPrincipalsInRoleResponse& _return, const GetPrincipalsInRoleRequest& request); + int32_t send_get_principals_in_role(const GetPrincipalsInRoleRequest& request); + void recv_get_principals_in_role(GetPrincipalsInRoleResponse& _return, const int32_t seqid); + void get_role_grants_for_principal(GetRoleGrantsForPrincipalResponse& _return, const GetRoleGrantsForPrincipalRequest& request); + int32_t send_get_role_grants_for_principal(const GetRoleGrantsForPrincipalRequest& request); + void recv_get_role_grants_for_principal(GetRoleGrantsForPrincipalResponse& _return, const int32_t seqid); + void get_privilege_set(PrincipalPrivilegeSet& _return, const HiveObjectRef& hiveObject, const std::string& user_name, const std::vector & group_names); + int32_t send_get_privilege_set(const HiveObjectRef& hiveObject, const std::string& user_name, const std::vector & group_names); + void recv_get_privilege_set(PrincipalPrivilegeSet& _return, const int32_t seqid); + void list_privileges(std::vector & _return, const std::string& principal_name, const PrincipalType::type principal_type, const HiveObjectRef& hiveObject); + int32_t send_list_privileges(const std::string& principal_name, const PrincipalType::type principal_type, const HiveObjectRef& hiveObject); + void recv_list_privileges(std::vector & _return, const int32_t seqid); + bool grant_privileges(const PrivilegeBag& privileges); + int32_t send_grant_privileges(const PrivilegeBag& privileges); + bool recv_grant_privileges(const int32_t seqid); + bool revoke_privileges(const PrivilegeBag& privileges); + int32_t send_revoke_privileges(const PrivilegeBag& privileges); + bool recv_revoke_privileges(const int32_t seqid); + void grant_revoke_privileges(GrantRevokePrivilegeResponse& _return, const GrantRevokePrivilegeRequest& request); + int32_t send_grant_revoke_privileges(const GrantRevokePrivilegeRequest& request); + void recv_grant_revoke_privileges(GrantRevokePrivilegeResponse& _return, const int32_t seqid); + void set_ugi(std::vector & _return, const std::string& user_name, const std::vector & group_names); + int32_t send_set_ugi(const std::string& user_name, const std::vector & group_names); + void recv_set_ugi(std::vector & _return, const int32_t seqid); + void get_delegation_token(std::string& _return, const std::string& token_owner, const std::string& renewer_kerberos_principal_name); + int32_t send_get_delegation_token(const std::string& token_owner, const std::string& renewer_kerberos_principal_name); + void recv_get_delegation_token(std::string& _return, const int32_t seqid); + int64_t renew_delegation_token(const std::string& token_str_form); + int32_t send_renew_delegation_token(const std::string& token_str_form); + int64_t recv_renew_delegation_token(const int32_t seqid); + void cancel_delegation_token(const std::string& token_str_form); + int32_t send_cancel_delegation_token(const std::string& token_str_form); + void recv_cancel_delegation_token(const int32_t seqid); + void get_open_txns(GetOpenTxnsResponse& _return); + int32_t send_get_open_txns(); + void recv_get_open_txns(GetOpenTxnsResponse& _return, const int32_t seqid); + void get_open_txns_info(GetOpenTxnsInfoResponse& _return); + int32_t send_get_open_txns_info(); + void recv_get_open_txns_info(GetOpenTxnsInfoResponse& _return, const int32_t seqid); + void open_txns(OpenTxnsResponse& _return, const OpenTxnRequest& rqst); + int32_t send_open_txns(const OpenTxnRequest& rqst); + void recv_open_txns(OpenTxnsResponse& _return, const int32_t seqid); + void abort_txn(const AbortTxnRequest& rqst); + int32_t send_abort_txn(const AbortTxnRequest& rqst); + void recv_abort_txn(const int32_t seqid); + void commit_txn(const CommitTxnRequest& rqst); + int32_t send_commit_txn(const CommitTxnRequest& rqst); + void recv_commit_txn(const int32_t seqid); + void lock(LockResponse& _return, const LockRequest& rqst); + int32_t send_lock(const LockRequest& rqst); + void recv_lock(LockResponse& _return, const int32_t seqid); + void check_lock(LockResponse& _return, const CheckLockRequest& rqst); + int32_t send_check_lock(const CheckLockRequest& rqst); + void recv_check_lock(LockResponse& _return, const int32_t seqid); + void unlock(const UnlockRequest& rqst); + int32_t send_unlock(const UnlockRequest& rqst); + void recv_unlock(const int32_t seqid); + void show_locks(ShowLocksResponse& _return, const ShowLocksRequest& rqst); + int32_t send_show_locks(const ShowLocksRequest& rqst); + void recv_show_locks(ShowLocksResponse& _return, const int32_t seqid); + void heartbeat(const HeartbeatRequest& ids); + int32_t send_heartbeat(const HeartbeatRequest& ids); + void recv_heartbeat(const int32_t seqid); + void heartbeat_txn_range(HeartbeatTxnRangeResponse& _return, const HeartbeatTxnRangeRequest& txns); + int32_t send_heartbeat_txn_range(const HeartbeatTxnRangeRequest& txns); + void recv_heartbeat_txn_range(HeartbeatTxnRangeResponse& _return, const int32_t seqid); + void compact(const CompactionRequest& rqst); + int32_t send_compact(const CompactionRequest& rqst); + void recv_compact(const int32_t seqid); + void show_compact(ShowCompactResponse& _return, const ShowCompactRequest& rqst); + int32_t send_show_compact(const ShowCompactRequest& rqst); + void recv_show_compact(ShowCompactResponse& _return, const int32_t seqid); + void add_dynamic_partitions(const AddDynamicPartitions& rqst); + int32_t send_add_dynamic_partitions(const AddDynamicPartitions& rqst); + void recv_add_dynamic_partitions(const int32_t seqid); + void get_next_notification(NotificationEventResponse& _return, const NotificationEventRequest& rqst); + int32_t send_get_next_notification(const NotificationEventRequest& rqst); + void recv_get_next_notification(NotificationEventResponse& _return, const int32_t seqid); + void get_current_notificationEventId(CurrentNotificationEventId& _return); + int32_t send_get_current_notificationEventId(); + void recv_get_current_notificationEventId(CurrentNotificationEventId& _return, const int32_t seqid); + void fire_listener_event(FireEventResponse& _return, const FireEventRequest& rqst); + int32_t send_fire_listener_event(const FireEventRequest& rqst); + void recv_fire_listener_event(FireEventResponse& _return, const int32_t seqid); +}; + +#ifdef _WIN32 + #pragma warning( pop ) +#endif + }}} // namespace #endif diff --git metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp index f61ac7d..f982bf2 100644 --- metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp +++ metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h index c95fec1..ae14bd1 100644 --- metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h +++ metastore/src/gen/thrift/gen-cpp/hive_metastore_constants.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp index 57c3477..c2fe9db 100644 --- metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp +++ metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -164,11 +164,9 @@ void Version::__set_comments(const std::string& val) { this->comments = val; } -const char* Version::ascii_fingerprint = "07A9615F837F7D0A952B595DD3020972"; -const uint8_t Version::binary_fingerprint[16] = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - uint32_t Version::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -217,7 +215,7 @@ uint32_t Version::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Version::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("Version"); xfer += oprot->writeFieldBegin("version", ::apache::thrift::protocol::T_STRING, 1); @@ -230,7 +228,6 @@ uint32_t Version::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -252,13 +249,12 @@ Version& Version::operator=(const Version& other1) { __isset = other1.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const Version& obj) { - using apache::thrift::to_string; +void Version::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "Version("; - out << "version=" << to_string(obj.version); - out << ", " << "comments=" << to_string(obj.comments); + out << "version=" << to_string(version); + out << ", " << "comments=" << to_string(comments); out << ")"; - return out; } @@ -278,11 +274,9 @@ void FieldSchema::__set_comment(const std::string& val) { this->comment = val; } -const char* FieldSchema::ascii_fingerprint = "AB879940BD15B6B25691265F7384B271"; -const uint8_t FieldSchema::binary_fingerprint[16] = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; - uint32_t FieldSchema::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -339,7 +333,7 @@ uint32_t FieldSchema::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t FieldSchema::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("FieldSchema"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -356,7 +350,6 @@ uint32_t FieldSchema::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -381,14 +374,13 @@ FieldSchema& FieldSchema::operator=(const FieldSchema& other3) { __isset = other3.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const FieldSchema& obj) { - using apache::thrift::to_string; +void FieldSchema::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "FieldSchema("; - out << "name=" << to_string(obj.name); - out << ", " << "type=" << to_string(obj.type); - out << ", " << "comment=" << to_string(obj.comment); + out << "name=" << to_string(name); + out << ", " << "type=" << to_string(type); + out << ", " << "comment=" << to_string(comment); out << ")"; - return out; } @@ -415,11 +407,9 @@ void Type::__set_fields(const std::vector & val) { __isset.fields = true; } -const char* Type::ascii_fingerprint = "20DF02DE523C27F7066C7BD4D9120842"; -const uint8_t Type::binary_fingerprint[16] = {0x20,0xDF,0x02,0xDE,0x52,0x3C,0x27,0xF7,0x06,0x6C,0x7B,0xD4,0xD9,0x12,0x08,0x42}; - uint32_t Type::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -496,7 +486,7 @@ uint32_t Type::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Type::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("Type"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -528,7 +518,6 @@ uint32_t Type::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -556,15 +545,14 @@ Type& Type::operator=(const Type& other11) { __isset = other11.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const Type& obj) { - using apache::thrift::to_string; +void Type::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "Type("; - out << "name=" << to_string(obj.name); - out << ", " << "type1="; (obj.__isset.type1 ? (out << to_string(obj.type1)) : (out << "")); - out << ", " << "type2="; (obj.__isset.type2 ? (out << to_string(obj.type2)) : (out << "")); - out << ", " << "fields="; (obj.__isset.fields ? (out << to_string(obj.fields)) : (out << "")); + out << "name=" << to_string(name); + out << ", " << "type1="; (__isset.type1 ? (out << to_string(type1)) : (out << "")); + out << ", " << "type2="; (__isset.type2 ? (out << to_string(type2)) : (out << "")); + out << ", " << "fields="; (__isset.fields ? (out << to_string(fields)) : (out << "")); out << ")"; - return out; } @@ -592,11 +580,9 @@ void HiveObjectRef::__set_columnName(const std::string& val) { this->columnName = val; } -const char* HiveObjectRef::ascii_fingerprint = "205CD8311CF3AA9EC161BAEF8D7C933C"; -const uint8_t HiveObjectRef::binary_fingerprint[16] = {0x20,0x5C,0xD8,0x31,0x1C,0xF3,0xAA,0x9E,0xC1,0x61,0xBA,0xEF,0x8D,0x7C,0x93,0x3C}; - uint32_t HiveObjectRef::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -683,7 +669,7 @@ uint32_t HiveObjectRef::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t HiveObjectRef::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("HiveObjectRef"); xfer += oprot->writeFieldBegin("objectType", ::apache::thrift::protocol::T_I32, 1); @@ -716,7 +702,6 @@ uint32_t HiveObjectRef::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -747,16 +732,15 @@ HiveObjectRef& HiveObjectRef::operator=(const HiveObjectRef& other20) { __isset = other20.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const HiveObjectRef& obj) { - using apache::thrift::to_string; +void HiveObjectRef::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "HiveObjectRef("; - out << "objectType=" << to_string(obj.objectType); - out << ", " << "dbName=" << to_string(obj.dbName); - out << ", " << "objectName=" << to_string(obj.objectName); - out << ", " << "partValues=" << to_string(obj.partValues); - out << ", " << "columnName=" << to_string(obj.columnName); + out << "objectType=" << to_string(objectType); + out << ", " << "dbName=" << to_string(dbName); + out << ", " << "objectName=" << to_string(objectName); + out << ", " << "partValues=" << to_string(partValues); + out << ", " << "columnName=" << to_string(columnName); out << ")"; - return out; } @@ -784,11 +768,9 @@ void PrivilegeGrantInfo::__set_grantOption(const bool val) { this->grantOption = val; } -const char* PrivilegeGrantInfo::ascii_fingerprint = "A58923AF7294BE492D6F90E07E8CEE1F"; -const uint8_t PrivilegeGrantInfo::binary_fingerprint[16] = {0xA5,0x89,0x23,0xAF,0x72,0x94,0xBE,0x49,0x2D,0x6F,0x90,0xE0,0x7E,0x8C,0xEE,0x1F}; - uint32_t PrivilegeGrantInfo::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -863,7 +845,7 @@ uint32_t PrivilegeGrantInfo::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t PrivilegeGrantInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("PrivilegeGrantInfo"); xfer += oprot->writeFieldBegin("privilege", ::apache::thrift::protocol::T_STRING, 1); @@ -888,7 +870,6 @@ uint32_t PrivilegeGrantInfo::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -919,16 +900,15 @@ PrivilegeGrantInfo& PrivilegeGrantInfo::operator=(const PrivilegeGrantInfo& othe __isset = other23.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const PrivilegeGrantInfo& obj) { - using apache::thrift::to_string; +void PrivilegeGrantInfo::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "PrivilegeGrantInfo("; - out << "privilege=" << to_string(obj.privilege); - out << ", " << "createTime=" << to_string(obj.createTime); - out << ", " << "grantor=" << to_string(obj.grantor); - out << ", " << "grantorType=" << to_string(obj.grantorType); - out << ", " << "grantOption=" << to_string(obj.grantOption); + out << "privilege=" << to_string(privilege); + out << ", " << "createTime=" << to_string(createTime); + out << ", " << "grantor=" << to_string(grantor); + out << ", " << "grantorType=" << to_string(grantorType); + out << ", " << "grantOption=" << to_string(grantOption); out << ")"; - return out; } @@ -952,11 +932,9 @@ void HiveObjectPrivilege::__set_grantInfo(const PrivilegeGrantInfo& val) { this->grantInfo = val; } -const char* HiveObjectPrivilege::ascii_fingerprint = "83D71969B23BD853E29DBA9D43B29AF8"; -const uint8_t HiveObjectPrivilege::binary_fingerprint[16] = {0x83,0xD7,0x19,0x69,0xB2,0x3B,0xD8,0x53,0xE2,0x9D,0xBA,0x9D,0x43,0xB2,0x9A,0xF8}; - uint32_t HiveObjectPrivilege::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1023,7 +1001,7 @@ uint32_t HiveObjectPrivilege::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t HiveObjectPrivilege::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("HiveObjectPrivilege"); xfer += oprot->writeFieldBegin("hiveObject", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1044,7 +1022,6 @@ uint32_t HiveObjectPrivilege::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1072,15 +1049,14 @@ HiveObjectPrivilege& HiveObjectPrivilege::operator=(const HiveObjectPrivilege& o __isset = other26.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const HiveObjectPrivilege& obj) { - using apache::thrift::to_string; +void HiveObjectPrivilege::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "HiveObjectPrivilege("; - out << "hiveObject=" << to_string(obj.hiveObject); - out << ", " << "principalName=" << to_string(obj.principalName); - out << ", " << "principalType=" << to_string(obj.principalType); - out << ", " << "grantInfo=" << to_string(obj.grantInfo); + out << "hiveObject=" << to_string(hiveObject); + out << ", " << "principalName=" << to_string(principalName); + out << ", " << "principalType=" << to_string(principalType); + out << ", " << "grantInfo=" << to_string(grantInfo); out << ")"; - return out; } @@ -1092,11 +1068,9 @@ void PrivilegeBag::__set_privileges(const std::vector & val this->privileges = val; } -const char* PrivilegeBag::ascii_fingerprint = "BB89E4701B7B709B046A74C90B1147F2"; -const uint8_t PrivilegeBag::binary_fingerprint[16] = {0xBB,0x89,0xE4,0x70,0x1B,0x7B,0x70,0x9B,0x04,0x6A,0x74,0xC9,0x0B,0x11,0x47,0xF2}; - uint32_t PrivilegeBag::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1149,7 +1123,7 @@ uint32_t PrivilegeBag::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t PrivilegeBag::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("PrivilegeBag"); xfer += oprot->writeFieldBegin("privileges", ::apache::thrift::protocol::T_LIST, 1); @@ -1166,7 +1140,6 @@ uint32_t PrivilegeBag::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1185,12 +1158,11 @@ PrivilegeBag& PrivilegeBag::operator=(const PrivilegeBag& other34) { __isset = other34.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const PrivilegeBag& obj) { - using apache::thrift::to_string; +void PrivilegeBag::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "PrivilegeBag("; - out << "privileges=" << to_string(obj.privileges); + out << "privileges=" << to_string(privileges); out << ")"; - return out; } @@ -1210,11 +1182,9 @@ void PrincipalPrivilegeSet::__set_rolePrivileges(const std::maprolePrivileges = val; } -const char* PrincipalPrivilegeSet::ascii_fingerprint = "08F75D2533906EA87BE34EA640856683"; -const uint8_t PrincipalPrivilegeSet::binary_fingerprint[16] = {0x08,0xF7,0x5D,0x25,0x33,0x90,0x6E,0xA8,0x7B,0xE3,0x4E,0xA6,0x40,0x85,0x66,0x83}; - uint32_t PrincipalPrivilegeSet::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1352,7 +1322,7 @@ uint32_t PrincipalPrivilegeSet::read(::apache::thrift::protocol::TProtocol* ipro uint32_t PrincipalPrivilegeSet::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("PrincipalPrivilegeSet"); xfer += oprot->writeFieldBegin("userPrivileges", ::apache::thrift::protocol::T_MAP, 1); @@ -1420,7 +1390,6 @@ uint32_t PrincipalPrivilegeSet::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1445,14 +1414,13 @@ PrincipalPrivilegeSet& PrincipalPrivilegeSet::operator=(const PrincipalPrivilege __isset = other78.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const PrincipalPrivilegeSet& obj) { - using apache::thrift::to_string; +void PrincipalPrivilegeSet::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "PrincipalPrivilegeSet("; - out << "userPrivileges=" << to_string(obj.userPrivileges); - out << ", " << "groupPrivileges=" << to_string(obj.groupPrivileges); - out << ", " << "rolePrivileges=" << to_string(obj.rolePrivileges); + out << "userPrivileges=" << to_string(userPrivileges); + out << ", " << "groupPrivileges=" << to_string(groupPrivileges); + out << ", " << "rolePrivileges=" << to_string(rolePrivileges); out << ")"; - return out; } @@ -1473,11 +1441,9 @@ void GrantRevokePrivilegeRequest::__set_revokeGrantOption(const bool val) { __isset.revokeGrantOption = true; } -const char* GrantRevokePrivilegeRequest::ascii_fingerprint = "DF474A3CB526AD40DC0F2C3702F7AA2C"; -const uint8_t GrantRevokePrivilegeRequest::binary_fingerprint[16] = {0xDF,0x47,0x4A,0x3C,0xB5,0x26,0xAD,0x40,0xDC,0x0F,0x2C,0x37,0x02,0xF7,0xAA,0x2C}; - uint32_t GrantRevokePrivilegeRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1536,7 +1502,7 @@ uint32_t GrantRevokePrivilegeRequest::read(::apache::thrift::protocol::TProtocol uint32_t GrantRevokePrivilegeRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("GrantRevokePrivilegeRequest"); xfer += oprot->writeFieldBegin("requestType", ::apache::thrift::protocol::T_I32, 1); @@ -1554,7 +1520,6 @@ uint32_t GrantRevokePrivilegeRequest::write(::apache::thrift::protocol::TProtoco } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1579,14 +1544,13 @@ GrantRevokePrivilegeRequest& GrantRevokePrivilegeRequest::operator=(const GrantR __isset = other81.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const GrantRevokePrivilegeRequest& obj) { - using apache::thrift::to_string; +void GrantRevokePrivilegeRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "GrantRevokePrivilegeRequest("; - out << "requestType=" << to_string(obj.requestType); - out << ", " << "privileges=" << to_string(obj.privileges); - out << ", " << "revokeGrantOption="; (obj.__isset.revokeGrantOption ? (out << to_string(obj.revokeGrantOption)) : (out << "")); + out << "requestType=" << to_string(requestType); + out << ", " << "privileges=" << to_string(privileges); + out << ", " << "revokeGrantOption="; (__isset.revokeGrantOption ? (out << to_string(revokeGrantOption)) : (out << "")); out << ")"; - return out; } @@ -1599,11 +1563,9 @@ void GrantRevokePrivilegeResponse::__set_success(const bool val) { __isset.success = true; } -const char* GrantRevokePrivilegeResponse::ascii_fingerprint = "BF054652DEF86253C2BEE7D947F167DD"; -const uint8_t GrantRevokePrivilegeResponse::binary_fingerprint[16] = {0xBF,0x05,0x46,0x52,0xDE,0xF8,0x62,0x53,0xC2,0xBE,0xE7,0xD9,0x47,0xF1,0x67,0xDD}; - uint32_t GrantRevokePrivilegeResponse::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1644,7 +1606,7 @@ uint32_t GrantRevokePrivilegeResponse::read(::apache::thrift::protocol::TProtoco uint32_t GrantRevokePrivilegeResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("GrantRevokePrivilegeResponse"); if (this->__isset.success) { @@ -1654,7 +1616,6 @@ uint32_t GrantRevokePrivilegeResponse::write(::apache::thrift::protocol::TProtoc } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1673,12 +1634,11 @@ GrantRevokePrivilegeResponse& GrantRevokePrivilegeResponse::operator=(const Gran __isset = other83.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const GrantRevokePrivilegeResponse& obj) { - using apache::thrift::to_string; +void GrantRevokePrivilegeResponse::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "GrantRevokePrivilegeResponse("; - out << "success="; (obj.__isset.success ? (out << to_string(obj.success)) : (out << "")); + out << "success="; (__isset.success ? (out << to_string(success)) : (out << "")); out << ")"; - return out; } @@ -1698,11 +1658,9 @@ void Role::__set_ownerName(const std::string& val) { this->ownerName = val; } -const char* Role::ascii_fingerprint = "70563A0628F75DF9555F4D24690B1E26"; -const uint8_t Role::binary_fingerprint[16] = {0x70,0x56,0x3A,0x06,0x28,0xF7,0x5D,0xF9,0x55,0x5F,0x4D,0x24,0x69,0x0B,0x1E,0x26}; - uint32_t Role::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1759,7 +1717,7 @@ uint32_t Role::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Role::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("Role"); xfer += oprot->writeFieldBegin("roleName", ::apache::thrift::protocol::T_STRING, 1); @@ -1776,7 +1734,6 @@ uint32_t Role::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1801,14 +1758,13 @@ Role& Role::operator=(const Role& other85) { __isset = other85.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const Role& obj) { - using apache::thrift::to_string; +void Role::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "Role("; - out << "roleName=" << to_string(obj.roleName); - out << ", " << "createTime=" << to_string(obj.createTime); - out << ", " << "ownerName=" << to_string(obj.ownerName); + out << "roleName=" << to_string(roleName); + out << ", " << "createTime=" << to_string(createTime); + out << ", " << "ownerName=" << to_string(ownerName); out << ")"; - return out; } @@ -1844,11 +1800,9 @@ void RolePrincipalGrant::__set_grantorPrincipalType(const PrincipalType::type va this->grantorPrincipalType = val; } -const char* RolePrincipalGrant::ascii_fingerprint = "899BA3F6214DD1B79D27206BA857C772"; -const uint8_t RolePrincipalGrant::binary_fingerprint[16] = {0x89,0x9B,0xA3,0xF6,0x21,0x4D,0xD1,0xB7,0x9D,0x27,0x20,0x6B,0xA8,0x57,0xC7,0x72}; - uint32_t RolePrincipalGrant::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1941,7 +1895,7 @@ uint32_t RolePrincipalGrant::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t RolePrincipalGrant::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("RolePrincipalGrant"); xfer += oprot->writeFieldBegin("roleName", ::apache::thrift::protocol::T_STRING, 1); @@ -1974,7 +1928,6 @@ uint32_t RolePrincipalGrant::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2011,18 +1964,17 @@ RolePrincipalGrant& RolePrincipalGrant::operator=(const RolePrincipalGrant& othe __isset = other89.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const RolePrincipalGrant& obj) { - using apache::thrift::to_string; +void RolePrincipalGrant::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "RolePrincipalGrant("; - out << "roleName=" << to_string(obj.roleName); - out << ", " << "principalName=" << to_string(obj.principalName); - out << ", " << "principalType=" << to_string(obj.principalType); - out << ", " << "grantOption=" << to_string(obj.grantOption); - out << ", " << "grantTime=" << to_string(obj.grantTime); - out << ", " << "grantorName=" << to_string(obj.grantorName); - out << ", " << "grantorPrincipalType=" << to_string(obj.grantorPrincipalType); + out << "roleName=" << to_string(roleName); + out << ", " << "principalName=" << to_string(principalName); + out << ", " << "principalType=" << to_string(principalType); + out << ", " << "grantOption=" << to_string(grantOption); + out << ", " << "grantTime=" << to_string(grantTime); + out << ", " << "grantorName=" << to_string(grantorName); + out << ", " << "grantorPrincipalType=" << to_string(grantorPrincipalType); out << ")"; - return out; } @@ -2038,11 +1990,9 @@ void GetRoleGrantsForPrincipalRequest::__set_principal_type(const PrincipalType: this->principal_type = val; } -const char* GetRoleGrantsForPrincipalRequest::ascii_fingerprint = "D6FD826D949221396F4FFC3ECCD3D192"; -const uint8_t GetRoleGrantsForPrincipalRequest::binary_fingerprint[16] = {0xD6,0xFD,0x82,0x6D,0x94,0x92,0x21,0x39,0x6F,0x4F,0xFC,0x3E,0xCC,0xD3,0xD1,0x92}; - uint32_t GetRoleGrantsForPrincipalRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -2099,7 +2049,7 @@ uint32_t GetRoleGrantsForPrincipalRequest::read(::apache::thrift::protocol::TPro uint32_t GetRoleGrantsForPrincipalRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("GetRoleGrantsForPrincipalRequest"); xfer += oprot->writeFieldBegin("principal_name", ::apache::thrift::protocol::T_STRING, 1); @@ -2112,7 +2062,6 @@ uint32_t GetRoleGrantsForPrincipalRequest::write(::apache::thrift::protocol::TPr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2131,13 +2080,12 @@ GetRoleGrantsForPrincipalRequest& GetRoleGrantsForPrincipalRequest::operator=(co principal_type = other92.principal_type; return *this; } -std::ostream& operator<<(std::ostream& out, const GetRoleGrantsForPrincipalRequest& obj) { - using apache::thrift::to_string; +void GetRoleGrantsForPrincipalRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "GetRoleGrantsForPrincipalRequest("; - out << "principal_name=" << to_string(obj.principal_name); - out << ", " << "principal_type=" << to_string(obj.principal_type); + out << "principal_name=" << to_string(principal_name); + out << ", " << "principal_type=" << to_string(principal_type); out << ")"; - return out; } @@ -2149,11 +2097,9 @@ void GetRoleGrantsForPrincipalResponse::__set_principalGrants(const std::vector< this->principalGrants = val; } -const char* GetRoleGrantsForPrincipalResponse::ascii_fingerprint = "5926B4B3541A62E17663820C7E3BE690"; -const uint8_t GetRoleGrantsForPrincipalResponse::binary_fingerprint[16] = {0x59,0x26,0xB4,0xB3,0x54,0x1A,0x62,0xE1,0x76,0x63,0x82,0x0C,0x7E,0x3B,0xE6,0x90}; - uint32_t GetRoleGrantsForPrincipalResponse::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -2209,7 +2155,7 @@ uint32_t GetRoleGrantsForPrincipalResponse::read(::apache::thrift::protocol::TPr uint32_t GetRoleGrantsForPrincipalResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("GetRoleGrantsForPrincipalResponse"); xfer += oprot->writeFieldBegin("principalGrants", ::apache::thrift::protocol::T_LIST, 1); @@ -2226,7 +2172,6 @@ uint32_t GetRoleGrantsForPrincipalResponse::write(::apache::thrift::protocol::TP xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2242,12 +2187,11 @@ GetRoleGrantsForPrincipalResponse& GetRoleGrantsForPrincipalResponse::operator=( principalGrants = other100.principalGrants; return *this; } -std::ostream& operator<<(std::ostream& out, const GetRoleGrantsForPrincipalResponse& obj) { - using apache::thrift::to_string; +void GetRoleGrantsForPrincipalResponse::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "GetRoleGrantsForPrincipalResponse("; - out << "principalGrants=" << to_string(obj.principalGrants); + out << "principalGrants=" << to_string(principalGrants); out << ")"; - return out; } @@ -2259,11 +2203,9 @@ void GetPrincipalsInRoleRequest::__set_roleName(const std::string& val) { this->roleName = val; } -const char* GetPrincipalsInRoleRequest::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; -const uint8_t GetPrincipalsInRoleRequest::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - uint32_t GetPrincipalsInRoleRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -2307,7 +2249,7 @@ uint32_t GetPrincipalsInRoleRequest::read(::apache::thrift::protocol::TProtocol* uint32_t GetPrincipalsInRoleRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("GetPrincipalsInRoleRequest"); xfer += oprot->writeFieldBegin("roleName", ::apache::thrift::protocol::T_STRING, 1); @@ -2316,7 +2258,6 @@ uint32_t GetPrincipalsInRoleRequest::write(::apache::thrift::protocol::TProtocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2332,12 +2273,11 @@ GetPrincipalsInRoleRequest& GetPrincipalsInRoleRequest::operator=(const GetPrinc roleName = other102.roleName; return *this; } -std::ostream& operator<<(std::ostream& out, const GetPrincipalsInRoleRequest& obj) { - using apache::thrift::to_string; +void GetPrincipalsInRoleRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "GetPrincipalsInRoleRequest("; - out << "roleName=" << to_string(obj.roleName); + out << "roleName=" << to_string(roleName); out << ")"; - return out; } @@ -2349,11 +2289,9 @@ void GetPrincipalsInRoleResponse::__set_principalGrants(const std::vectorprincipalGrants = val; } -const char* GetPrincipalsInRoleResponse::ascii_fingerprint = "5926B4B3541A62E17663820C7E3BE690"; -const uint8_t GetPrincipalsInRoleResponse::binary_fingerprint[16] = {0x59,0x26,0xB4,0xB3,0x54,0x1A,0x62,0xE1,0x76,0x63,0x82,0x0C,0x7E,0x3B,0xE6,0x90}; - uint32_t GetPrincipalsInRoleResponse::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -2409,7 +2347,7 @@ uint32_t GetPrincipalsInRoleResponse::read(::apache::thrift::protocol::TProtocol uint32_t GetPrincipalsInRoleResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("GetPrincipalsInRoleResponse"); xfer += oprot->writeFieldBegin("principalGrants", ::apache::thrift::protocol::T_LIST, 1); @@ -2426,7 +2364,6 @@ uint32_t GetPrincipalsInRoleResponse::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2442,12 +2379,11 @@ GetPrincipalsInRoleResponse& GetPrincipalsInRoleResponse::operator=(const GetPri principalGrants = other110.principalGrants; return *this; } -std::ostream& operator<<(std::ostream& out, const GetPrincipalsInRoleResponse& obj) { - using apache::thrift::to_string; +void GetPrincipalsInRoleResponse::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "GetPrincipalsInRoleResponse("; - out << "principalGrants=" << to_string(obj.principalGrants); + out << "principalGrants=" << to_string(principalGrants); out << ")"; - return out; } @@ -2486,11 +2422,9 @@ void GrantRevokeRoleRequest::__set_grantOption(const bool val) { __isset.grantOption = true; } -const char* GrantRevokeRoleRequest::ascii_fingerprint = "907DEA796F2BA7AF76DC2566E75FAEE7"; -const uint8_t GrantRevokeRoleRequest::binary_fingerprint[16] = {0x90,0x7D,0xEA,0x79,0x6F,0x2B,0xA7,0xAF,0x76,0xDC,0x25,0x66,0xE7,0x5F,0xAE,0xE7}; - uint32_t GrantRevokeRoleRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -2585,7 +2519,7 @@ uint32_t GrantRevokeRoleRequest::read(::apache::thrift::protocol::TProtocol* ipr uint32_t GrantRevokeRoleRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("GrantRevokeRoleRequest"); xfer += oprot->writeFieldBegin("requestType", ::apache::thrift::protocol::T_I32, 1); @@ -2621,7 +2555,6 @@ uint32_t GrantRevokeRoleRequest::write(::apache::thrift::protocol::TProtocol* op } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2658,18 +2591,17 @@ GrantRevokeRoleRequest& GrantRevokeRoleRequest::operator=(const GrantRevokeRoleR __isset = other115.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const GrantRevokeRoleRequest& obj) { - using apache::thrift::to_string; +void GrantRevokeRoleRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "GrantRevokeRoleRequest("; - out << "requestType=" << to_string(obj.requestType); - out << ", " << "roleName=" << to_string(obj.roleName); - out << ", " << "principalName=" << to_string(obj.principalName); - out << ", " << "principalType=" << to_string(obj.principalType); - out << ", " << "grantor="; (obj.__isset.grantor ? (out << to_string(obj.grantor)) : (out << "")); - out << ", " << "grantorType="; (obj.__isset.grantorType ? (out << to_string(obj.grantorType)) : (out << "")); - out << ", " << "grantOption="; (obj.__isset.grantOption ? (out << to_string(obj.grantOption)) : (out << "")); + out << "requestType=" << to_string(requestType); + out << ", " << "roleName=" << to_string(roleName); + out << ", " << "principalName=" << to_string(principalName); + out << ", " << "principalType=" << to_string(principalType); + out << ", " << "grantor="; (__isset.grantor ? (out << to_string(grantor)) : (out << "")); + out << ", " << "grantorType="; (__isset.grantorType ? (out << to_string(grantorType)) : (out << "")); + out << ", " << "grantOption="; (__isset.grantOption ? (out << to_string(grantOption)) : (out << "")); out << ")"; - return out; } @@ -2682,11 +2614,9 @@ void GrantRevokeRoleResponse::__set_success(const bool val) { __isset.success = true; } -const char* GrantRevokeRoleResponse::ascii_fingerprint = "BF054652DEF86253C2BEE7D947F167DD"; -const uint8_t GrantRevokeRoleResponse::binary_fingerprint[16] = {0xBF,0x05,0x46,0x52,0xDE,0xF8,0x62,0x53,0xC2,0xBE,0xE7,0xD9,0x47,0xF1,0x67,0xDD}; - uint32_t GrantRevokeRoleResponse::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -2727,7 +2657,7 @@ uint32_t GrantRevokeRoleResponse::read(::apache::thrift::protocol::TProtocol* ip uint32_t GrantRevokeRoleResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("GrantRevokeRoleResponse"); if (this->__isset.success) { @@ -2737,7 +2667,6 @@ uint32_t GrantRevokeRoleResponse::write(::apache::thrift::protocol::TProtocol* o } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2756,12 +2685,11 @@ GrantRevokeRoleResponse& GrantRevokeRoleResponse::operator=(const GrantRevokeRol __isset = other117.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const GrantRevokeRoleResponse& obj) { - using apache::thrift::to_string; +void GrantRevokeRoleResponse::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "GrantRevokeRoleResponse("; - out << "success="; (obj.__isset.success ? (out << to_string(obj.success)) : (out << "")); + out << "success="; (__isset.success ? (out << to_string(success)) : (out << "")); out << ")"; - return out; } @@ -2800,11 +2728,9 @@ void Database::__set_ownerType(const PrincipalType::type val) { __isset.ownerType = true; } -const char* Database::ascii_fingerprint = "553495CAE243A1C583D5C3DD990AED53"; -const uint8_t Database::binary_fingerprint[16] = {0x55,0x34,0x95,0xCA,0xE2,0x43,0xA1,0xC5,0x83,0xD5,0xC3,0xDD,0x99,0x0A,0xED,0x53}; - uint32_t Database::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -2910,7 +2836,7 @@ uint32_t Database::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Database::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("Database"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -2955,7 +2881,6 @@ uint32_t Database::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2992,18 +2917,17 @@ Database& Database::operator=(const Database& other128) { __isset = other128.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const Database& obj) { - using apache::thrift::to_string; +void Database::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "Database("; - out << "name=" << to_string(obj.name); - out << ", " << "description=" << to_string(obj.description); - out << ", " << "locationUri=" << to_string(obj.locationUri); - out << ", " << "parameters=" << to_string(obj.parameters); - out << ", " << "privileges="; (obj.__isset.privileges ? (out << to_string(obj.privileges)) : (out << "")); - out << ", " << "ownerName="; (obj.__isset.ownerName ? (out << to_string(obj.ownerName)) : (out << "")); - out << ", " << "ownerType="; (obj.__isset.ownerType ? (out << to_string(obj.ownerType)) : (out << "")); + out << "name=" << to_string(name); + out << ", " << "description=" << to_string(description); + out << ", " << "locationUri=" << to_string(locationUri); + out << ", " << "parameters=" << to_string(parameters); + out << ", " << "privileges="; (__isset.privileges ? (out << to_string(privileges)) : (out << "")); + out << ", " << "ownerName="; (__isset.ownerName ? (out << to_string(ownerName)) : (out << "")); + out << ", " << "ownerType="; (__isset.ownerType ? (out << to_string(ownerType)) : (out << "")); out << ")"; - return out; } @@ -3023,11 +2947,9 @@ void SerDeInfo::__set_parameters(const std::map & val) this->parameters = val; } -const char* SerDeInfo::ascii_fingerprint = "B1021C32A35A2AEFCD2F57A5424159A7"; -const uint8_t SerDeInfo::binary_fingerprint[16] = {0xB1,0x02,0x1C,0x32,0xA3,0x5A,0x2A,0xEF,0xCD,0x2F,0x57,0xA5,0x42,0x41,0x59,0xA7}; - uint32_t SerDeInfo::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -3099,7 +3021,7 @@ uint32_t SerDeInfo::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t SerDeInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("SerDeInfo"); xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1); @@ -3125,7 +3047,6 @@ uint32_t SerDeInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3150,14 +3071,13 @@ SerDeInfo& SerDeInfo::operator=(const SerDeInfo& other138) { __isset = other138.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const SerDeInfo& obj) { - using apache::thrift::to_string; +void SerDeInfo::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "SerDeInfo("; - out << "name=" << to_string(obj.name); - out << ", " << "serializationLib=" << to_string(obj.serializationLib); - out << ", " << "parameters=" << to_string(obj.parameters); + out << "name=" << to_string(name); + out << ", " << "serializationLib=" << to_string(serializationLib); + out << ", " << "parameters=" << to_string(parameters); out << ")"; - return out; } @@ -3173,11 +3093,9 @@ void Order::__set_order(const int32_t val) { this->order = val; } -const char* Order::ascii_fingerprint = "EEBC915CE44901401D881E6091423036"; -const uint8_t Order::binary_fingerprint[16] = {0xEE,0xBC,0x91,0x5C,0xE4,0x49,0x01,0x40,0x1D,0x88,0x1E,0x60,0x91,0x42,0x30,0x36}; - uint32_t Order::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -3226,7 +3144,7 @@ uint32_t Order::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Order::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("Order"); xfer += oprot->writeFieldBegin("col", ::apache::thrift::protocol::T_STRING, 1); @@ -3239,7 +3157,6 @@ uint32_t Order::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3261,13 +3178,12 @@ Order& Order::operator=(const Order& other140) { __isset = other140.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const Order& obj) { - using apache::thrift::to_string; +void Order::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "Order("; - out << "col=" << to_string(obj.col); - out << ", " << "order=" << to_string(obj.order); + out << "col=" << to_string(col); + out << ", " << "order=" << to_string(order); out << ")"; - return out; } @@ -3287,11 +3203,9 @@ void SkewedInfo::__set_skewedColValueLocationMaps(const std::mapskewedColValueLocationMaps = val; } -const char* SkewedInfo::ascii_fingerprint = "4BF2ED84BC3C3EB297A2AE2FA8427EB1"; -const uint8_t SkewedInfo::binary_fingerprint[16] = {0x4B,0xF2,0xED,0x84,0xBC,0x3C,0x3E,0xB2,0x97,0xA2,0xAE,0x2F,0xA8,0x42,0x7E,0xB1}; - uint32_t SkewedInfo::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -3411,7 +3325,7 @@ uint32_t SkewedInfo::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t SkewedInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("SkewedInfo"); xfer += oprot->writeFieldBegin("skewedColNames", ::apache::thrift::protocol::T_LIST, 1); @@ -3469,7 +3383,6 @@ uint32_t SkewedInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3494,14 +3407,13 @@ SkewedInfo& SkewedInfo::operator=(const SkewedInfo& other174) { __isset = other174.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const SkewedInfo& obj) { - using apache::thrift::to_string; +void SkewedInfo::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "SkewedInfo("; - out << "skewedColNames=" << to_string(obj.skewedColNames); - out << ", " << "skewedColValues=" << to_string(obj.skewedColValues); - out << ", " << "skewedColValueLocationMaps=" << to_string(obj.skewedColValueLocationMaps); + out << "skewedColNames=" << to_string(skewedColNames); + out << ", " << "skewedColValues=" << to_string(skewedColValues); + out << ", " << "skewedColValueLocationMaps=" << to_string(skewedColValueLocationMaps); out << ")"; - return out; } @@ -3559,11 +3471,9 @@ void StorageDescriptor::__set_storedAsSubDirectories(const bool val) { __isset.storedAsSubDirectories = true; } -const char* StorageDescriptor::ascii_fingerprint = "CA8C9AA5FE4C32643757D8639CEF0CD7"; -const uint8_t StorageDescriptor::binary_fingerprint[16] = {0xCA,0x8C,0x9A,0xA5,0xFE,0x4C,0x32,0x64,0x37,0x57,0xD8,0x63,0x9C,0xEF,0x0C,0xD7}; - uint32_t StorageDescriptor::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -3743,7 +3653,7 @@ uint32_t StorageDescriptor::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t StorageDescriptor::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("StorageDescriptor"); xfer += oprot->writeFieldBegin("cols", ::apache::thrift::protocol::T_LIST, 1); @@ -3831,7 +3741,6 @@ uint32_t StorageDescriptor::write(::apache::thrift::protocol::TProtocol* oprot) } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3883,23 +3792,22 @@ StorageDescriptor& StorageDescriptor::operator=(const StorageDescriptor& other20 __isset = other202.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const StorageDescriptor& obj) { - using apache::thrift::to_string; +void StorageDescriptor::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "StorageDescriptor("; - out << "cols=" << to_string(obj.cols); - out << ", " << "location=" << to_string(obj.location); - out << ", " << "inputFormat=" << to_string(obj.inputFormat); - out << ", " << "outputFormat=" << to_string(obj.outputFormat); - out << ", " << "compressed=" << to_string(obj.compressed); - out << ", " << "numBuckets=" << to_string(obj.numBuckets); - out << ", " << "serdeInfo=" << to_string(obj.serdeInfo); - out << ", " << "bucketCols=" << to_string(obj.bucketCols); - out << ", " << "sortCols=" << to_string(obj.sortCols); - out << ", " << "parameters=" << to_string(obj.parameters); - out << ", " << "skewedInfo="; (obj.__isset.skewedInfo ? (out << to_string(obj.skewedInfo)) : (out << "")); - out << ", " << "storedAsSubDirectories="; (obj.__isset.storedAsSubDirectories ? (out << to_string(obj.storedAsSubDirectories)) : (out << "")); + out << "cols=" << to_string(cols); + out << ", " << "location=" << to_string(location); + out << ", " << "inputFormat=" << to_string(inputFormat); + out << ", " << "outputFormat=" << to_string(outputFormat); + out << ", " << "compressed=" << to_string(compressed); + out << ", " << "numBuckets=" << to_string(numBuckets); + out << ", " << "serdeInfo=" << to_string(serdeInfo); + out << ", " << "bucketCols=" << to_string(bucketCols); + out << ", " << "sortCols=" << to_string(sortCols); + out << ", " << "parameters=" << to_string(parameters); + out << ", " << "skewedInfo="; (__isset.skewedInfo ? (out << to_string(skewedInfo)) : (out << "")); + out << ", " << "storedAsSubDirectories="; (__isset.storedAsSubDirectories ? (out << to_string(storedAsSubDirectories)) : (out << "")); out << ")"; - return out; } @@ -3965,11 +3873,9 @@ void Table::__set_temporary(const bool val) { __isset.temporary = true; } -const char* Table::ascii_fingerprint = "29EFB2A5970EF572039E5D94CC78AA85"; -const uint8_t Table::binary_fingerprint[16] = {0x29,0xEF,0xB2,0xA5,0x97,0x0E,0xF5,0x72,0x03,0x9E,0x5D,0x94,0xCC,0x78,0xAA,0x85}; - uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -4141,7 +4047,7 @@ uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Table::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("Table"); xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 1); @@ -4221,7 +4127,6 @@ uint32_t Table::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -4279,25 +4184,24 @@ Table& Table::operator=(const Table& other218) { __isset = other218.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const Table& obj) { - using apache::thrift::to_string; +void Table::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "Table("; - out << "tableName=" << to_string(obj.tableName); - out << ", " << "dbName=" << to_string(obj.dbName); - out << ", " << "owner=" << to_string(obj.owner); - out << ", " << "createTime=" << to_string(obj.createTime); - out << ", " << "lastAccessTime=" << to_string(obj.lastAccessTime); - out << ", " << "retention=" << to_string(obj.retention); - out << ", " << "sd=" << to_string(obj.sd); - out << ", " << "partitionKeys=" << to_string(obj.partitionKeys); - out << ", " << "parameters=" << to_string(obj.parameters); - out << ", " << "viewOriginalText=" << to_string(obj.viewOriginalText); - out << ", " << "viewExpandedText=" << to_string(obj.viewExpandedText); - out << ", " << "tableType=" << to_string(obj.tableType); - out << ", " << "privileges="; (obj.__isset.privileges ? (out << to_string(obj.privileges)) : (out << "")); - out << ", " << "temporary="; (obj.__isset.temporary ? (out << to_string(obj.temporary)) : (out << "")); + out << "tableName=" << to_string(tableName); + out << ", " << "dbName=" << to_string(dbName); + out << ", " << "owner=" << to_string(owner); + out << ", " << "createTime=" << to_string(createTime); + out << ", " << "lastAccessTime=" << to_string(lastAccessTime); + out << ", " << "retention=" << to_string(retention); + out << ", " << "sd=" << to_string(sd); + out << ", " << "partitionKeys=" << to_string(partitionKeys); + out << ", " << "parameters=" << to_string(parameters); + out << ", " << "viewOriginalText=" << to_string(viewOriginalText); + out << ", " << "viewExpandedText=" << to_string(viewExpandedText); + out << ", " << "tableType=" << to_string(tableType); + out << ", " << "privileges="; (__isset.privileges ? (out << to_string(privileges)) : (out << "")); + out << ", " << "temporary="; (__isset.temporary ? (out << to_string(temporary)) : (out << "")); out << ")"; - return out; } @@ -4338,11 +4242,9 @@ void Partition::__set_privileges(const PrincipalPrivilegeSet& val) { __isset.privileges = true; } -const char* Partition::ascii_fingerprint = "31A52241B88A426C34087FE38343FF51"; -const uint8_t Partition::binary_fingerprint[16] = {0x31,0xA5,0x22,0x41,0xB8,0x8A,0x42,0x6C,0x34,0x08,0x7F,0xE3,0x83,0x43,0xFF,0x51}; - uint32_t Partition::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -4466,7 +4368,7 @@ uint32_t Partition::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Partition::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("Partition"); xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); @@ -4521,7 +4423,6 @@ uint32_t Partition::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -4561,19 +4462,18 @@ Partition& Partition::operator=(const Partition& other234) { __isset = other234.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const Partition& obj) { - using apache::thrift::to_string; +void Partition::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "Partition("; - out << "values=" << to_string(obj.values); - out << ", " << "dbName=" << to_string(obj.dbName); - out << ", " << "tableName=" << to_string(obj.tableName); - out << ", " << "createTime=" << to_string(obj.createTime); - out << ", " << "lastAccessTime=" << to_string(obj.lastAccessTime); - out << ", " << "sd=" << to_string(obj.sd); - out << ", " << "parameters=" << to_string(obj.parameters); - out << ", " << "privileges="; (obj.__isset.privileges ? (out << to_string(obj.privileges)) : (out << "")); + out << "values=" << to_string(values); + out << ", " << "dbName=" << to_string(dbName); + out << ", " << "tableName=" << to_string(tableName); + out << ", " << "createTime=" << to_string(createTime); + out << ", " << "lastAccessTime=" << to_string(lastAccessTime); + out << ", " << "sd=" << to_string(sd); + out << ", " << "parameters=" << to_string(parameters); + out << ", " << "privileges="; (__isset.privileges ? (out << to_string(privileges)) : (out << "")); out << ")"; - return out; } @@ -4606,11 +4506,9 @@ void PartitionWithoutSD::__set_privileges(const PrincipalPrivilegeSet& val) { __isset.privileges = true; } -const char* PartitionWithoutSD::ascii_fingerprint = "D79FA44499888D0E50B5625E0C536DEA"; -const uint8_t PartitionWithoutSD::binary_fingerprint[16] = {0xD7,0x9F,0xA4,0x44,0x99,0x88,0x8D,0x0E,0x50,0xB5,0x62,0x5E,0x0C,0x53,0x6D,0xEA}; - uint32_t PartitionWithoutSD::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -4718,7 +4616,7 @@ uint32_t PartitionWithoutSD::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t PartitionWithoutSD::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("PartitionWithoutSD"); xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); @@ -4765,7 +4663,6 @@ uint32_t PartitionWithoutSD::write(::apache::thrift::protocol::TProtocol* oprot) } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -4799,17 +4696,16 @@ PartitionWithoutSD& PartitionWithoutSD::operator=(const PartitionWithoutSD& othe __isset = other250.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const PartitionWithoutSD& obj) { - using apache::thrift::to_string; +void PartitionWithoutSD::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "PartitionWithoutSD("; - out << "values=" << to_string(obj.values); - out << ", " << "createTime=" << to_string(obj.createTime); - out << ", " << "lastAccessTime=" << to_string(obj.lastAccessTime); - out << ", " << "relativePath=" << to_string(obj.relativePath); - out << ", " << "parameters=" << to_string(obj.parameters); - out << ", " << "privileges="; (obj.__isset.privileges ? (out << to_string(obj.privileges)) : (out << "")); + out << "values=" << to_string(values); + out << ", " << "createTime=" << to_string(createTime); + out << ", " << "lastAccessTime=" << to_string(lastAccessTime); + out << ", " << "relativePath=" << to_string(relativePath); + out << ", " << "parameters=" << to_string(parameters); + out << ", " << "privileges="; (__isset.privileges ? (out << to_string(privileges)) : (out << "")); out << ")"; - return out; } @@ -4825,11 +4721,9 @@ void PartitionSpecWithSharedSD::__set_sd(const StorageDescriptor& val) { this->sd = val; } -const char* PartitionSpecWithSharedSD::ascii_fingerprint = "7BEE9305B42DCD083FF06BEE6DDC61CF"; -const uint8_t PartitionSpecWithSharedSD::binary_fingerprint[16] = {0x7B,0xEE,0x93,0x05,0xB4,0x2D,0xCD,0x08,0x3F,0xF0,0x6B,0xEE,0x6D,0xDC,0x61,0xCF}; - uint32_t PartitionSpecWithSharedSD::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -4890,7 +4784,7 @@ uint32_t PartitionSpecWithSharedSD::read(::apache::thrift::protocol::TProtocol* uint32_t PartitionSpecWithSharedSD::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("PartitionSpecWithSharedSD"); xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1); @@ -4911,7 +4805,6 @@ uint32_t PartitionSpecWithSharedSD::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -4933,13 +4826,12 @@ PartitionSpecWithSharedSD& PartitionSpecWithSharedSD::operator=(const PartitionS __isset = other258.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const PartitionSpecWithSharedSD& obj) { - using apache::thrift::to_string; +void PartitionSpecWithSharedSD::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "PartitionSpecWithSharedSD("; - out << "partitions=" << to_string(obj.partitions); - out << ", " << "sd=" << to_string(obj.sd); + out << "partitions=" << to_string(partitions); + out << ", " << "sd=" << to_string(sd); out << ")"; - return out; } @@ -4951,11 +4843,9 @@ void PartitionListComposingSpec::__set_partitions(const std::vector & this->partitions = val; } -const char* PartitionListComposingSpec::ascii_fingerprint = "A048235CB9A257C8A74E3691BEFE0674"; -const uint8_t PartitionListComposingSpec::binary_fingerprint[16] = {0xA0,0x48,0x23,0x5C,0xB9,0xA2,0x57,0xC8,0xA7,0x4E,0x36,0x91,0xBE,0xFE,0x06,0x74}; - uint32_t PartitionListComposingSpec::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -5008,7 +4898,7 @@ uint32_t PartitionListComposingSpec::read(::apache::thrift::protocol::TProtocol* uint32_t PartitionListComposingSpec::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("PartitionListComposingSpec"); xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1); @@ -5025,7 +4915,6 @@ uint32_t PartitionListComposingSpec::write(::apache::thrift::protocol::TProtocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -5044,12 +4933,11 @@ PartitionListComposingSpec& PartitionListComposingSpec::operator=(const Partitio __isset = other266.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const PartitionListComposingSpec& obj) { - using apache::thrift::to_string; +void PartitionListComposingSpec::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "PartitionListComposingSpec("; - out << "partitions=" << to_string(obj.partitions); + out << "partitions=" << to_string(partitions); out << ")"; - return out; } @@ -5079,11 +4967,9 @@ void PartitionSpec::__set_partitionList(const PartitionListComposingSpec& val) { __isset.partitionList = true; } -const char* PartitionSpec::ascii_fingerprint = "C3F548C24D072CF6422F25096143E3E8"; -const uint8_t PartitionSpec::binary_fingerprint[16] = {0xC3,0xF5,0x48,0xC2,0x4D,0x07,0x2C,0xF6,0x42,0x2F,0x25,0x09,0x61,0x43,0xE3,0xE8}; - uint32_t PartitionSpec::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -5156,7 +5042,7 @@ uint32_t PartitionSpec::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t PartitionSpec::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("PartitionSpec"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -5183,7 +5069,6 @@ uint32_t PartitionSpec::write(::apache::thrift::protocol::TProtocol* oprot) cons } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -5214,16 +5099,15 @@ PartitionSpec& PartitionSpec::operator=(const PartitionSpec& other268) { __isset = other268.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const PartitionSpec& obj) { - using apache::thrift::to_string; +void PartitionSpec::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "PartitionSpec("; - out << "dbName=" << to_string(obj.dbName); - out << ", " << "tableName=" << to_string(obj.tableName); - out << ", " << "rootPath=" << to_string(obj.rootPath); - out << ", " << "sharedSDPartitionSpec="; (obj.__isset.sharedSDPartitionSpec ? (out << to_string(obj.sharedSDPartitionSpec)) : (out << "")); - out << ", " << "partitionList="; (obj.__isset.partitionList ? (out << to_string(obj.partitionList)) : (out << "")); + out << "dbName=" << to_string(dbName); + out << ", " << "tableName=" << to_string(tableName); + out << ", " << "rootPath=" << to_string(rootPath); + out << ", " << "sharedSDPartitionSpec="; (__isset.sharedSDPartitionSpec ? (out << to_string(sharedSDPartitionSpec)) : (out << "")); + out << ", " << "partitionList="; (__isset.partitionList ? (out << to_string(partitionList)) : (out << "")); out << ")"; - return out; } @@ -5271,11 +5155,9 @@ void Index::__set_deferredRebuild(const bool val) { this->deferredRebuild = val; } -const char* Index::ascii_fingerprint = "09EEF655216AC81802850988D6C470A6"; -const uint8_t Index::binary_fingerprint[16] = {0x09,0xEE,0xF6,0x55,0x21,0x6A,0xC8,0x18,0x02,0x85,0x09,0x88,0xD6,0xC4,0x70,0xA6}; - uint32_t Index::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -5403,7 +5285,7 @@ uint32_t Index::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Index::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("Index"); xfer += oprot->writeFieldBegin("indexName", ::apache::thrift::protocol::T_STRING, 1); @@ -5457,7 +5339,6 @@ uint32_t Index::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -5503,21 +5384,20 @@ Index& Index::operator=(const Index& other278) { __isset = other278.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const Index& obj) { - using apache::thrift::to_string; +void Index::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "Index("; - out << "indexName=" << to_string(obj.indexName); - out << ", " << "indexHandlerClass=" << to_string(obj.indexHandlerClass); - out << ", " << "dbName=" << to_string(obj.dbName); - out << ", " << "origTableName=" << to_string(obj.origTableName); - out << ", " << "createTime=" << to_string(obj.createTime); - out << ", " << "lastAccessTime=" << to_string(obj.lastAccessTime); - out << ", " << "indexTableName=" << to_string(obj.indexTableName); - out << ", " << "sd=" << to_string(obj.sd); - out << ", " << "parameters=" << to_string(obj.parameters); - out << ", " << "deferredRebuild=" << to_string(obj.deferredRebuild); + out << "indexName=" << to_string(indexName); + out << ", " << "indexHandlerClass=" << to_string(indexHandlerClass); + out << ", " << "dbName=" << to_string(dbName); + out << ", " << "origTableName=" << to_string(origTableName); + out << ", " << "createTime=" << to_string(createTime); + out << ", " << "lastAccessTime=" << to_string(lastAccessTime); + out << ", " << "indexTableName=" << to_string(indexTableName); + out << ", " << "sd=" << to_string(sd); + out << ", " << "parameters=" << to_string(parameters); + out << ", " << "deferredRebuild=" << to_string(deferredRebuild); out << ")"; - return out; } @@ -5537,11 +5417,9 @@ void BooleanColumnStatsData::__set_numNulls(const int64_t val) { this->numNulls = val; } -const char* BooleanColumnStatsData::ascii_fingerprint = "EA2D65F1E0BB78760205682082304B41"; -const uint8_t BooleanColumnStatsData::binary_fingerprint[16] = {0xEA,0x2D,0x65,0xF1,0xE0,0xBB,0x78,0x76,0x02,0x05,0x68,0x20,0x82,0x30,0x4B,0x41}; - uint32_t BooleanColumnStatsData::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -5607,7 +5485,7 @@ uint32_t BooleanColumnStatsData::read(::apache::thrift::protocol::TProtocol* ipr uint32_t BooleanColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("BooleanColumnStatsData"); xfer += oprot->writeFieldBegin("numTrues", ::apache::thrift::protocol::T_I64, 1); @@ -5624,7 +5502,6 @@ uint32_t BooleanColumnStatsData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -5646,14 +5523,13 @@ BooleanColumnStatsData& BooleanColumnStatsData::operator=(const BooleanColumnSta numNulls = other280.numNulls; return *this; } -std::ostream& operator<<(std::ostream& out, const BooleanColumnStatsData& obj) { - using apache::thrift::to_string; +void BooleanColumnStatsData::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "BooleanColumnStatsData("; - out << "numTrues=" << to_string(obj.numTrues); - out << ", " << "numFalses=" << to_string(obj.numFalses); - out << ", " << "numNulls=" << to_string(obj.numNulls); + out << "numTrues=" << to_string(numTrues); + out << ", " << "numFalses=" << to_string(numFalses); + out << ", " << "numNulls=" << to_string(numNulls); out << ")"; - return out; } @@ -5679,11 +5555,9 @@ void DoubleColumnStatsData::__set_numDVs(const int64_t val) { this->numDVs = val; } -const char* DoubleColumnStatsData::ascii_fingerprint = "DA7C011321D74C48396AA002E61A0CBB"; -const uint8_t DoubleColumnStatsData::binary_fingerprint[16] = {0xDA,0x7C,0x01,0x13,0x21,0xD7,0x4C,0x48,0x39,0x6A,0xA0,0x02,0xE6,0x1A,0x0C,0xBB}; - uint32_t DoubleColumnStatsData::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -5754,7 +5628,7 @@ uint32_t DoubleColumnStatsData::read(::apache::thrift::protocol::TProtocol* ipro uint32_t DoubleColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("DoubleColumnStatsData"); if (this->__isset.lowValue) { @@ -5777,7 +5651,6 @@ uint32_t DoubleColumnStatsData::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -5805,15 +5678,14 @@ DoubleColumnStatsData& DoubleColumnStatsData::operator=(const DoubleColumnStatsD __isset = other282.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const DoubleColumnStatsData& obj) { - using apache::thrift::to_string; +void DoubleColumnStatsData::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "DoubleColumnStatsData("; - out << "lowValue="; (obj.__isset.lowValue ? (out << to_string(obj.lowValue)) : (out << "")); - out << ", " << "highValue="; (obj.__isset.highValue ? (out << to_string(obj.highValue)) : (out << "")); - out << ", " << "numNulls=" << to_string(obj.numNulls); - out << ", " << "numDVs=" << to_string(obj.numDVs); + out << "lowValue="; (__isset.lowValue ? (out << to_string(lowValue)) : (out << "")); + out << ", " << "highValue="; (__isset.highValue ? (out << to_string(highValue)) : (out << "")); + out << ", " << "numNulls=" << to_string(numNulls); + out << ", " << "numDVs=" << to_string(numDVs); out << ")"; - return out; } @@ -5839,11 +5711,9 @@ void LongColumnStatsData::__set_numDVs(const int64_t val) { this->numDVs = val; } -const char* LongColumnStatsData::ascii_fingerprint = "E685FC220B24E3B8B93604790DCB9AEA"; -const uint8_t LongColumnStatsData::binary_fingerprint[16] = {0xE6,0x85,0xFC,0x22,0x0B,0x24,0xE3,0xB8,0xB9,0x36,0x04,0x79,0x0D,0xCB,0x9A,0xEA}; - uint32_t LongColumnStatsData::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -5914,7 +5784,7 @@ uint32_t LongColumnStatsData::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t LongColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("LongColumnStatsData"); if (this->__isset.lowValue) { @@ -5937,7 +5807,6 @@ uint32_t LongColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -5965,15 +5834,14 @@ LongColumnStatsData& LongColumnStatsData::operator=(const LongColumnStatsData& o __isset = other284.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const LongColumnStatsData& obj) { - using apache::thrift::to_string; +void LongColumnStatsData::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "LongColumnStatsData("; - out << "lowValue="; (obj.__isset.lowValue ? (out << to_string(obj.lowValue)) : (out << "")); - out << ", " << "highValue="; (obj.__isset.highValue ? (out << to_string(obj.highValue)) : (out << "")); - out << ", " << "numNulls=" << to_string(obj.numNulls); - out << ", " << "numDVs=" << to_string(obj.numDVs); + out << "lowValue="; (__isset.lowValue ? (out << to_string(lowValue)) : (out << "")); + out << ", " << "highValue="; (__isset.highValue ? (out << to_string(highValue)) : (out << "")); + out << ", " << "numNulls=" << to_string(numNulls); + out << ", " << "numDVs=" << to_string(numDVs); out << ")"; - return out; } @@ -5997,11 +5865,9 @@ void StringColumnStatsData::__set_numDVs(const int64_t val) { this->numDVs = val; } -const char* StringColumnStatsData::ascii_fingerprint = "D017B08C3DF12C3AB98788B2E67DAAB3"; -const uint8_t StringColumnStatsData::binary_fingerprint[16] = {0xD0,0x17,0xB0,0x8C,0x3D,0xF1,0x2C,0x3A,0xB9,0x87,0x88,0xB2,0xE6,0x7D,0xAA,0xB3}; - uint32_t StringColumnStatsData::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -6078,7 +5944,7 @@ uint32_t StringColumnStatsData::read(::apache::thrift::protocol::TProtocol* ipro uint32_t StringColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("StringColumnStatsData"); xfer += oprot->writeFieldBegin("maxColLen", ::apache::thrift::protocol::T_I64, 1); @@ -6099,7 +5965,6 @@ uint32_t StringColumnStatsData::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6124,15 +5989,14 @@ StringColumnStatsData& StringColumnStatsData::operator=(const StringColumnStatsD numDVs = other286.numDVs; return *this; } -std::ostream& operator<<(std::ostream& out, const StringColumnStatsData& obj) { - using apache::thrift::to_string; +void StringColumnStatsData::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "StringColumnStatsData("; - out << "maxColLen=" << to_string(obj.maxColLen); - out << ", " << "avgColLen=" << to_string(obj.avgColLen); - out << ", " << "numNulls=" << to_string(obj.numNulls); - out << ", " << "numDVs=" << to_string(obj.numDVs); + out << "maxColLen=" << to_string(maxColLen); + out << ", " << "avgColLen=" << to_string(avgColLen); + out << ", " << "numNulls=" << to_string(numNulls); + out << ", " << "numDVs=" << to_string(numDVs); out << ")"; - return out; } @@ -6152,11 +6016,9 @@ void BinaryColumnStatsData::__set_numNulls(const int64_t val) { this->numNulls = val; } -const char* BinaryColumnStatsData::ascii_fingerprint = "22B0CB67183FCDB945892B9974518D06"; -const uint8_t BinaryColumnStatsData::binary_fingerprint[16] = {0x22,0xB0,0xCB,0x67,0x18,0x3F,0xCD,0xB9,0x45,0x89,0x2B,0x99,0x74,0x51,0x8D,0x06}; - uint32_t BinaryColumnStatsData::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -6222,7 +6084,7 @@ uint32_t BinaryColumnStatsData::read(::apache::thrift::protocol::TProtocol* ipro uint32_t BinaryColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("BinaryColumnStatsData"); xfer += oprot->writeFieldBegin("maxColLen", ::apache::thrift::protocol::T_I64, 1); @@ -6239,7 +6101,6 @@ uint32_t BinaryColumnStatsData::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6261,14 +6122,13 @@ BinaryColumnStatsData& BinaryColumnStatsData::operator=(const BinaryColumnStatsD numNulls = other288.numNulls; return *this; } -std::ostream& operator<<(std::ostream& out, const BinaryColumnStatsData& obj) { - using apache::thrift::to_string; +void BinaryColumnStatsData::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "BinaryColumnStatsData("; - out << "maxColLen=" << to_string(obj.maxColLen); - out << ", " << "avgColLen=" << to_string(obj.avgColLen); - out << ", " << "numNulls=" << to_string(obj.numNulls); + out << "maxColLen=" << to_string(maxColLen); + out << ", " << "avgColLen=" << to_string(avgColLen); + out << ", " << "numNulls=" << to_string(numNulls); out << ")"; - return out; } @@ -6284,11 +6144,9 @@ void Decimal::__set_scale(const int16_t val) { this->scale = val; } -const char* Decimal::ascii_fingerprint = "C4DDF6759F9B17C5C380806CE743DE8E"; -const uint8_t Decimal::binary_fingerprint[16] = {0xC4,0xDD,0xF6,0x75,0x9F,0x9B,0x17,0xC5,0xC3,0x80,0x80,0x6C,0xE7,0x43,0xDE,0x8E}; - uint32_t Decimal::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -6343,7 +6201,7 @@ uint32_t Decimal::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Decimal::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("Decimal"); xfer += oprot->writeFieldBegin("unscaled", ::apache::thrift::protocol::T_STRING, 1); @@ -6356,7 +6214,6 @@ uint32_t Decimal::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6375,13 +6232,12 @@ Decimal& Decimal::operator=(const Decimal& other290) { scale = other290.scale; return *this; } -std::ostream& operator<<(std::ostream& out, const Decimal& obj) { - using apache::thrift::to_string; +void Decimal::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "Decimal("; - out << "unscaled=" << to_string(obj.unscaled); - out << ", " << "scale=" << to_string(obj.scale); + out << "unscaled=" << to_string(unscaled); + out << ", " << "scale=" << to_string(scale); out << ")"; - return out; } @@ -6407,11 +6263,9 @@ void DecimalColumnStatsData::__set_numDVs(const int64_t val) { this->numDVs = val; } -const char* DecimalColumnStatsData::ascii_fingerprint = "B6D47E7A28922BFA93FE05E9F1B04748"; -const uint8_t DecimalColumnStatsData::binary_fingerprint[16] = {0xB6,0xD4,0x7E,0x7A,0x28,0x92,0x2B,0xFA,0x93,0xFE,0x05,0xE9,0xF1,0xB0,0x47,0x48}; - uint32_t DecimalColumnStatsData::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -6482,7 +6336,7 @@ uint32_t DecimalColumnStatsData::read(::apache::thrift::protocol::TProtocol* ipr uint32_t DecimalColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("DecimalColumnStatsData"); if (this->__isset.lowValue) { @@ -6505,7 +6359,6 @@ uint32_t DecimalColumnStatsData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6533,15 +6386,14 @@ DecimalColumnStatsData& DecimalColumnStatsData::operator=(const DecimalColumnSta __isset = other292.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const DecimalColumnStatsData& obj) { - using apache::thrift::to_string; +void DecimalColumnStatsData::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "DecimalColumnStatsData("; - out << "lowValue="; (obj.__isset.lowValue ? (out << to_string(obj.lowValue)) : (out << "")); - out << ", " << "highValue="; (obj.__isset.highValue ? (out << to_string(obj.highValue)) : (out << "")); - out << ", " << "numNulls=" << to_string(obj.numNulls); - out << ", " << "numDVs=" << to_string(obj.numDVs); + out << "lowValue="; (__isset.lowValue ? (out << to_string(lowValue)) : (out << "")); + out << ", " << "highValue="; (__isset.highValue ? (out << to_string(highValue)) : (out << "")); + out << ", " << "numNulls=" << to_string(numNulls); + out << ", " << "numDVs=" << to_string(numDVs); out << ")"; - return out; } @@ -6553,11 +6405,9 @@ void Date::__set_daysSinceEpoch(const int64_t val) { this->daysSinceEpoch = val; } -const char* Date::ascii_fingerprint = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; -const uint8_t Date::binary_fingerprint[16] = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; - uint32_t Date::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -6601,7 +6451,7 @@ uint32_t Date::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Date::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("Date"); xfer += oprot->writeFieldBegin("daysSinceEpoch", ::apache::thrift::protocol::T_I64, 1); @@ -6610,7 +6460,6 @@ uint32_t Date::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6626,12 +6475,11 @@ Date& Date::operator=(const Date& other294) { daysSinceEpoch = other294.daysSinceEpoch; return *this; } -std::ostream& operator<<(std::ostream& out, const Date& obj) { - using apache::thrift::to_string; +void Date::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "Date("; - out << "daysSinceEpoch=" << to_string(obj.daysSinceEpoch); + out << "daysSinceEpoch=" << to_string(daysSinceEpoch); out << ")"; - return out; } @@ -6657,11 +6505,9 @@ void DateColumnStatsData::__set_numDVs(const int64_t val) { this->numDVs = val; } -const char* DateColumnStatsData::ascii_fingerprint = "D0719F3BBA8248297BB5287552897F59"; -const uint8_t DateColumnStatsData::binary_fingerprint[16] = {0xD0,0x71,0x9F,0x3B,0xBA,0x82,0x48,0x29,0x7B,0xB5,0x28,0x75,0x52,0x89,0x7F,0x59}; - uint32_t DateColumnStatsData::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -6732,7 +6578,7 @@ uint32_t DateColumnStatsData::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t DateColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("DateColumnStatsData"); if (this->__isset.lowValue) { @@ -6755,7 +6601,6 @@ uint32_t DateColumnStatsData::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6783,15 +6628,14 @@ DateColumnStatsData& DateColumnStatsData::operator=(const DateColumnStatsData& o __isset = other296.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const DateColumnStatsData& obj) { - using apache::thrift::to_string; +void DateColumnStatsData::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "DateColumnStatsData("; - out << "lowValue="; (obj.__isset.lowValue ? (out << to_string(obj.lowValue)) : (out << "")); - out << ", " << "highValue="; (obj.__isset.highValue ? (out << to_string(obj.highValue)) : (out << "")); - out << ", " << "numNulls=" << to_string(obj.numNulls); - out << ", " << "numDVs=" << to_string(obj.numDVs); + out << "lowValue="; (__isset.lowValue ? (out << to_string(lowValue)) : (out << "")); + out << ", " << "highValue="; (__isset.highValue ? (out << to_string(highValue)) : (out << "")); + out << ", " << "numNulls=" << to_string(numNulls); + out << ", " << "numDVs=" << to_string(numDVs); out << ")"; - return out; } @@ -6827,11 +6671,9 @@ void ColumnStatisticsData::__set_dateStats(const DateColumnStatsData& val) { this->dateStats = val; } -const char* ColumnStatisticsData::ascii_fingerprint = "15E449CA15A23E37F2D54C31ACA52106"; -const uint8_t ColumnStatisticsData::binary_fingerprint[16] = {0x15,0xE4,0x49,0xCA,0x15,0xA2,0x3E,0x37,0xF2,0xD5,0x4C,0x31,0xAC,0xA5,0x21,0x06}; - uint32_t ColumnStatisticsData::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -6920,7 +6762,7 @@ uint32_t ColumnStatisticsData::read(::apache::thrift::protocol::TProtocol* iprot uint32_t ColumnStatisticsData::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ColumnStatisticsData"); xfer += oprot->writeFieldBegin("booleanStats", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6953,7 +6795,6 @@ uint32_t ColumnStatisticsData::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6990,18 +6831,17 @@ ColumnStatisticsData& ColumnStatisticsData::operator=(const ColumnStatisticsData __isset = other298.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const ColumnStatisticsData& obj) { - using apache::thrift::to_string; +void ColumnStatisticsData::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "ColumnStatisticsData("; - out << "booleanStats=" << to_string(obj.booleanStats); - out << ", " << "longStats=" << to_string(obj.longStats); - out << ", " << "doubleStats=" << to_string(obj.doubleStats); - out << ", " << "stringStats=" << to_string(obj.stringStats); - out << ", " << "binaryStats=" << to_string(obj.binaryStats); - out << ", " << "decimalStats=" << to_string(obj.decimalStats); - out << ", " << "dateStats=" << to_string(obj.dateStats); + out << "booleanStats=" << to_string(booleanStats); + out << ", " << "longStats=" << to_string(longStats); + out << ", " << "doubleStats=" << to_string(doubleStats); + out << ", " << "stringStats=" << to_string(stringStats); + out << ", " << "binaryStats=" << to_string(binaryStats); + out << ", " << "decimalStats=" << to_string(decimalStats); + out << ", " << "dateStats=" << to_string(dateStats); out << ")"; - return out; } @@ -7021,11 +6861,9 @@ void ColumnStatisticsObj::__set_statsData(const ColumnStatisticsData& val) { this->statsData = val; } -const char* ColumnStatisticsObj::ascii_fingerprint = "A82BA819C9FFEDDEBC0D50F6F4E46534"; -const uint8_t ColumnStatisticsObj::binary_fingerprint[16] = {0xA8,0x2B,0xA8,0x19,0xC9,0xFF,0xED,0xDE,0xBC,0x0D,0x50,0xF6,0xF4,0xE4,0x65,0x34}; - uint32_t ColumnStatisticsObj::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -7091,7 +6929,7 @@ uint32_t ColumnStatisticsObj::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t ColumnStatisticsObj::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ColumnStatisticsObj"); xfer += oprot->writeFieldBegin("colName", ::apache::thrift::protocol::T_STRING, 1); @@ -7108,7 +6946,6 @@ uint32_t ColumnStatisticsObj::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7130,14 +6967,13 @@ ColumnStatisticsObj& ColumnStatisticsObj::operator=(const ColumnStatisticsObj& o statsData = other300.statsData; return *this; } -std::ostream& operator<<(std::ostream& out, const ColumnStatisticsObj& obj) { - using apache::thrift::to_string; +void ColumnStatisticsObj::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "ColumnStatisticsObj("; - out << "colName=" << to_string(obj.colName); - out << ", " << "colType=" << to_string(obj.colType); - out << ", " << "statsData=" << to_string(obj.statsData); + out << "colName=" << to_string(colName); + out << ", " << "colType=" << to_string(colType); + out << ", " << "statsData=" << to_string(statsData); out << ")"; - return out; } @@ -7167,11 +7003,9 @@ void ColumnStatisticsDesc::__set_lastAnalyzed(const int64_t val) { __isset.lastAnalyzed = true; } -const char* ColumnStatisticsDesc::ascii_fingerprint = "261759FF6F8FAB53F941453007FE18CB"; -const uint8_t ColumnStatisticsDesc::binary_fingerprint[16] = {0x26,0x17,0x59,0xFF,0x6F,0x8F,0xAB,0x53,0xF9,0x41,0x45,0x30,0x07,0xFE,0x18,0xCB}; - uint32_t ColumnStatisticsDesc::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -7253,7 +7087,7 @@ uint32_t ColumnStatisticsDesc::read(::apache::thrift::protocol::TProtocol* iprot uint32_t ColumnStatisticsDesc::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ColumnStatisticsDesc"); xfer += oprot->writeFieldBegin("isTblLevel", ::apache::thrift::protocol::T_BOOL, 1); @@ -7280,7 +7114,6 @@ uint32_t ColumnStatisticsDesc::write(::apache::thrift::protocol::TProtocol* opro } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7311,16 +7144,15 @@ ColumnStatisticsDesc& ColumnStatisticsDesc::operator=(const ColumnStatisticsDesc __isset = other302.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const ColumnStatisticsDesc& obj) { - using apache::thrift::to_string; +void ColumnStatisticsDesc::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "ColumnStatisticsDesc("; - out << "isTblLevel=" << to_string(obj.isTblLevel); - out << ", " << "dbName=" << to_string(obj.dbName); - out << ", " << "tableName=" << to_string(obj.tableName); - out << ", " << "partName="; (obj.__isset.partName ? (out << to_string(obj.partName)) : (out << "")); - out << ", " << "lastAnalyzed="; (obj.__isset.lastAnalyzed ? (out << to_string(obj.lastAnalyzed)) : (out << "")); + out << "isTblLevel=" << to_string(isTblLevel); + out << ", " << "dbName=" << to_string(dbName); + out << ", " << "tableName=" << to_string(tableName); + out << ", " << "partName="; (__isset.partName ? (out << to_string(partName)) : (out << "")); + out << ", " << "lastAnalyzed="; (__isset.lastAnalyzed ? (out << to_string(lastAnalyzed)) : (out << "")); out << ")"; - return out; } @@ -7336,11 +7168,9 @@ void ColumnStatistics::__set_statsObj(const std::vector & v this->statsObj = val; } -const char* ColumnStatistics::ascii_fingerprint = "8A64D0A67FFD3A372726A320B3913D5A"; -const uint8_t ColumnStatistics::binary_fingerprint[16] = {0x8A,0x64,0xD0,0xA6,0x7F,0xFD,0x3A,0x37,0x27,0x26,0xA3,0x20,0xB3,0x91,0x3D,0x5A}; - uint32_t ColumnStatistics::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -7407,7 +7237,7 @@ uint32_t ColumnStatistics::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t ColumnStatistics::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ColumnStatistics"); xfer += oprot->writeFieldBegin("statsDesc", ::apache::thrift::protocol::T_STRUCT, 1); @@ -7428,7 +7258,6 @@ uint32_t ColumnStatistics::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7447,13 +7276,12 @@ ColumnStatistics& ColumnStatistics::operator=(const ColumnStatistics& other310) statsObj = other310.statsObj; return *this; } -std::ostream& operator<<(std::ostream& out, const ColumnStatistics& obj) { - using apache::thrift::to_string; +void ColumnStatistics::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "ColumnStatistics("; - out << "statsDesc=" << to_string(obj.statsDesc); - out << ", " << "statsObj=" << to_string(obj.statsObj); + out << "statsDesc=" << to_string(statsDesc); + out << ", " << "statsObj=" << to_string(statsObj); out << ")"; - return out; } @@ -7469,11 +7297,9 @@ void AggrStats::__set_partsFound(const int64_t val) { this->partsFound = val; } -const char* AggrStats::ascii_fingerprint = "1FC765A3AB2954591C14B0D946778213"; -const uint8_t AggrStats::binary_fingerprint[16] = {0x1F,0xC7,0x65,0xA3,0xAB,0x29,0x54,0x59,0x1C,0x14,0xB0,0xD9,0x46,0x77,0x82,0x13}; - uint32_t AggrStats::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -7540,7 +7366,7 @@ uint32_t AggrStats::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t AggrStats::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("AggrStats"); xfer += oprot->writeFieldBegin("colStats", ::apache::thrift::protocol::T_LIST, 1); @@ -7561,7 +7387,6 @@ uint32_t AggrStats::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7580,13 +7405,12 @@ AggrStats& AggrStats::operator=(const AggrStats& other318) { partsFound = other318.partsFound; return *this; } -std::ostream& operator<<(std::ostream& out, const AggrStats& obj) { - using apache::thrift::to_string; +void AggrStats::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "AggrStats("; - out << "colStats=" << to_string(obj.colStats); - out << ", " << "partsFound=" << to_string(obj.partsFound); + out << "colStats=" << to_string(colStats); + out << ", " << "partsFound=" << to_string(partsFound); out << ")"; - return out; } @@ -7598,11 +7422,9 @@ void SetPartitionsStatsRequest::__set_colStats(const std::vectorcolStats = val; } -const char* SetPartitionsStatsRequest::ascii_fingerprint = "8BCBF2CE9E942D0FB7D8F4ED57D8DC27"; -const uint8_t SetPartitionsStatsRequest::binary_fingerprint[16] = {0x8B,0xCB,0xF2,0xCE,0x9E,0x94,0x2D,0x0F,0xB7,0xD8,0xF4,0xED,0x57,0xD8,0xDC,0x27}; - uint32_t SetPartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -7658,7 +7480,7 @@ uint32_t SetPartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* uint32_t SetPartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("SetPartitionsStatsRequest"); xfer += oprot->writeFieldBegin("colStats", ::apache::thrift::protocol::T_LIST, 1); @@ -7675,7 +7497,6 @@ uint32_t SetPartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7691,12 +7512,11 @@ SetPartitionsStatsRequest& SetPartitionsStatsRequest::operator=(const SetPartiti colStats = other326.colStats; return *this; } -std::ostream& operator<<(std::ostream& out, const SetPartitionsStatsRequest& obj) { - using apache::thrift::to_string; +void SetPartitionsStatsRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "SetPartitionsStatsRequest("; - out << "colStats=" << to_string(obj.colStats); + out << "colStats=" << to_string(colStats); out << ")"; - return out; } @@ -7712,11 +7532,9 @@ void Schema::__set_properties(const std::map & val) { this->properties = val; } -const char* Schema::ascii_fingerprint = "5CFEE46C975F4E2368D905109B8E3B5B"; -const uint8_t Schema::binary_fingerprint[16] = {0x5C,0xFE,0xE4,0x6C,0x97,0x5F,0x4E,0x23,0x68,0xD9,0x05,0x10,0x9B,0x8E,0x3B,0x5B}; - uint32_t Schema::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -7792,7 +7610,7 @@ uint32_t Schema::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Schema::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("Schema"); xfer += oprot->writeFieldBegin("fieldSchemas", ::apache::thrift::protocol::T_LIST, 1); @@ -7822,7 +7640,6 @@ uint32_t Schema::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7844,13 +7661,12 @@ Schema& Schema::operator=(const Schema& other342) { __isset = other342.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const Schema& obj) { - using apache::thrift::to_string; +void Schema::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "Schema("; - out << "fieldSchemas=" << to_string(obj.fieldSchemas); - out << ", " << "properties=" << to_string(obj.properties); + out << "fieldSchemas=" << to_string(fieldSchemas); + out << ", " << "properties=" << to_string(properties); out << ")"; - return out; } @@ -7862,11 +7678,9 @@ void EnvironmentContext::__set_properties(const std::mapproperties = val; } -const char* EnvironmentContext::ascii_fingerprint = "5EA2D527ECA3BA20C77AFC023EE8C05F"; -const uint8_t EnvironmentContext::binary_fingerprint[16] = {0x5E,0xA2,0xD5,0x27,0xEC,0xA3,0xBA,0x20,0xC7,0x7A,0xFC,0x02,0x3E,0xE8,0xC0,0x5F}; - uint32_t EnvironmentContext::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -7922,7 +7736,7 @@ uint32_t EnvironmentContext::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t EnvironmentContext::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("EnvironmentContext"); xfer += oprot->writeFieldBegin("properties", ::apache::thrift::protocol::T_MAP, 1); @@ -7940,7 +7754,6 @@ uint32_t EnvironmentContext::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7959,12 +7772,11 @@ EnvironmentContext& EnvironmentContext::operator=(const EnvironmentContext& othe __isset = other352.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const EnvironmentContext& obj) { - using apache::thrift::to_string; +void EnvironmentContext::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "EnvironmentContext("; - out << "properties=" << to_string(obj.properties); + out << "properties=" << to_string(properties); out << ")"; - return out; } @@ -7980,11 +7792,9 @@ void PartitionsByExprResult::__set_hasUnknownPartitions(const bool val) { this->hasUnknownPartitions = val; } -const char* PartitionsByExprResult::ascii_fingerprint = "40B789CC91B508FE36600A14E3F80425"; -const uint8_t PartitionsByExprResult::binary_fingerprint[16] = {0x40,0xB7,0x89,0xCC,0x91,0xB5,0x08,0xFE,0x36,0x60,0x0A,0x14,0xE3,0xF8,0x04,0x25}; - uint32_t PartitionsByExprResult::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -8051,7 +7861,7 @@ uint32_t PartitionsByExprResult::read(::apache::thrift::protocol::TProtocol* ipr uint32_t PartitionsByExprResult::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("PartitionsByExprResult"); xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1); @@ -8072,7 +7882,6 @@ uint32_t PartitionsByExprResult::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -8091,13 +7900,12 @@ PartitionsByExprResult& PartitionsByExprResult::operator=(const PartitionsByExpr hasUnknownPartitions = other360.hasUnknownPartitions; return *this; } -std::ostream& operator<<(std::ostream& out, const PartitionsByExprResult& obj) { - using apache::thrift::to_string; +void PartitionsByExprResult::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "PartitionsByExprResult("; - out << "partitions=" << to_string(obj.partitions); - out << ", " << "hasUnknownPartitions=" << to_string(obj.hasUnknownPartitions); + out << "partitions=" << to_string(partitions); + out << ", " << "hasUnknownPartitions=" << to_string(hasUnknownPartitions); out << ")"; - return out; } @@ -8127,11 +7935,9 @@ void PartitionsByExprRequest::__set_maxParts(const int16_t val) { __isset.maxParts = true; } -const char* PartitionsByExprRequest::ascii_fingerprint = "835944417A026FE6ABD0DF5A35BF52C5"; -const uint8_t PartitionsByExprRequest::binary_fingerprint[16] = {0x83,0x59,0x44,0x41,0x7A,0x02,0x6F,0xE6,0xAB,0xD0,0xDF,0x5A,0x35,0xBF,0x52,0xC5}; - uint32_t PartitionsByExprRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -8213,7 +8019,7 @@ uint32_t PartitionsByExprRequest::read(::apache::thrift::protocol::TProtocol* ip uint32_t PartitionsByExprRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("PartitionsByExprRequest"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -8240,7 +8046,6 @@ uint32_t PartitionsByExprRequest::write(::apache::thrift::protocol::TProtocol* o } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -8271,16 +8076,15 @@ PartitionsByExprRequest& PartitionsByExprRequest::operator=(const PartitionsByEx __isset = other362.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const PartitionsByExprRequest& obj) { - using apache::thrift::to_string; +void PartitionsByExprRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "PartitionsByExprRequest("; - out << "dbName=" << to_string(obj.dbName); - out << ", " << "tblName=" << to_string(obj.tblName); - out << ", " << "expr=" << to_string(obj.expr); - out << ", " << "defaultPartitionName="; (obj.__isset.defaultPartitionName ? (out << to_string(obj.defaultPartitionName)) : (out << "")); - out << ", " << "maxParts="; (obj.__isset.maxParts ? (out << to_string(obj.maxParts)) : (out << "")); + out << "dbName=" << to_string(dbName); + out << ", " << "tblName=" << to_string(tblName); + out << ", " << "expr=" << to_string(expr); + out << ", " << "defaultPartitionName="; (__isset.defaultPartitionName ? (out << to_string(defaultPartitionName)) : (out << "")); + out << ", " << "maxParts="; (__isset.maxParts ? (out << to_string(maxParts)) : (out << "")); out << ")"; - return out; } @@ -8292,11 +8096,9 @@ void TableStatsResult::__set_tableStats(const std::vector & this->tableStats = val; } -const char* TableStatsResult::ascii_fingerprint = "2E398BAC949C93A194F1A19CA5074FF8"; -const uint8_t TableStatsResult::binary_fingerprint[16] = {0x2E,0x39,0x8B,0xAC,0x94,0x9C,0x93,0xA1,0x94,0xF1,0xA1,0x9C,0xA5,0x07,0x4F,0xF8}; - uint32_t TableStatsResult::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -8352,7 +8154,7 @@ uint32_t TableStatsResult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TableStatsResult::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TableStatsResult"); xfer += oprot->writeFieldBegin("tableStats", ::apache::thrift::protocol::T_LIST, 1); @@ -8369,7 +8171,6 @@ uint32_t TableStatsResult::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -8385,12 +8186,11 @@ TableStatsResult& TableStatsResult::operator=(const TableStatsResult& other370) tableStats = other370.tableStats; return *this; } -std::ostream& operator<<(std::ostream& out, const TableStatsResult& obj) { - using apache::thrift::to_string; +void TableStatsResult::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TableStatsResult("; - out << "tableStats=" << to_string(obj.tableStats); + out << "tableStats=" << to_string(tableStats); out << ")"; - return out; } @@ -8402,11 +8202,9 @@ void PartitionsStatsResult::__set_partStats(const std::mappartStats = val; } -const char* PartitionsStatsResult::ascii_fingerprint = "DD38B4AA7D02E288659AA12CBAAEF33B"; -const uint8_t PartitionsStatsResult::binary_fingerprint[16] = {0xDD,0x38,0xB4,0xAA,0x7D,0x02,0xE2,0x88,0x65,0x9A,0xA1,0x2C,0xBA,0xAE,0xF3,0x3B}; - uint32_t PartitionsStatsResult::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -8477,7 +8275,7 @@ uint32_t PartitionsStatsResult::read(::apache::thrift::protocol::TProtocol* ipro uint32_t PartitionsStatsResult::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("PartitionsStatsResult"); xfer += oprot->writeFieldBegin("partStats", ::apache::thrift::protocol::T_MAP, 1); @@ -8503,7 +8301,6 @@ uint32_t PartitionsStatsResult::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -8519,12 +8316,11 @@ PartitionsStatsResult& PartitionsStatsResult::operator=(const PartitionsStatsRes partStats = other386.partStats; return *this; } -std::ostream& operator<<(std::ostream& out, const PartitionsStatsResult& obj) { - using apache::thrift::to_string; +void PartitionsStatsResult::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "PartitionsStatsResult("; - out << "partStats=" << to_string(obj.partStats); + out << "partStats=" << to_string(partStats); out << ")"; - return out; } @@ -8544,11 +8340,9 @@ void TableStatsRequest::__set_colNames(const std::vector & val) { this->colNames = val; } -const char* TableStatsRequest::ascii_fingerprint = "8E2AD6401E83558ECFD6A13D74DD0A3F"; -const uint8_t TableStatsRequest::binary_fingerprint[16] = {0x8E,0x2A,0xD6,0x40,0x1E,0x83,0x55,0x8E,0xCF,0xD6,0xA1,0x3D,0x74,0xDD,0x0A,0x3F}; - uint32_t TableStatsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -8626,7 +8420,7 @@ uint32_t TableStatsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TableStatsRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TableStatsRequest"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -8651,7 +8445,6 @@ uint32_t TableStatsRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -8673,14 +8466,13 @@ TableStatsRequest& TableStatsRequest::operator=(const TableStatsRequest& other39 colNames = other394.colNames; return *this; } -std::ostream& operator<<(std::ostream& out, const TableStatsRequest& obj) { - using apache::thrift::to_string; +void TableStatsRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TableStatsRequest("; - out << "dbName=" << to_string(obj.dbName); - out << ", " << "tblName=" << to_string(obj.tblName); - out << ", " << "colNames=" << to_string(obj.colNames); + out << "dbName=" << to_string(dbName); + out << ", " << "tblName=" << to_string(tblName); + out << ", " << "colNames=" << to_string(colNames); out << ")"; - return out; } @@ -8704,11 +8496,9 @@ void PartitionsStatsRequest::__set_partNames(const std::vector & va this->partNames = val; } -const char* PartitionsStatsRequest::ascii_fingerprint = "5F51D90BC323BCE4B704B7D98EDA0BD4"; -const uint8_t PartitionsStatsRequest::binary_fingerprint[16] = {0x5F,0x51,0xD9,0x0B,0xC3,0x23,0xBC,0xE4,0xB7,0x04,0xB7,0xD9,0x8E,0xDA,0x0B,0xD4}; - uint32_t PartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -8809,7 +8599,7 @@ uint32_t PartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* ipr uint32_t PartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("PartitionsStatsRequest"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -8846,7 +8636,6 @@ uint32_t PartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -8871,15 +8660,14 @@ PartitionsStatsRequest& PartitionsStatsRequest::operator=(const PartitionsStatsR partNames = other408.partNames; return *this; } -std::ostream& operator<<(std::ostream& out, const PartitionsStatsRequest& obj) { - using apache::thrift::to_string; +void PartitionsStatsRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "PartitionsStatsRequest("; - out << "dbName=" << to_string(obj.dbName); - out << ", " << "tblName=" << to_string(obj.tblName); - out << ", " << "colNames=" << to_string(obj.colNames); - out << ", " << "partNames=" << to_string(obj.partNames); + out << "dbName=" << to_string(dbName); + out << ", " << "tblName=" << to_string(tblName); + out << ", " << "colNames=" << to_string(colNames); + out << ", " << "partNames=" << to_string(partNames); out << ")"; - return out; } @@ -8892,11 +8680,9 @@ void AddPartitionsResult::__set_partitions(const std::vector & val) { __isset.partitions = true; } -const char* AddPartitionsResult::ascii_fingerprint = "5A689D0823E7BFBB60C799BA60065C31"; -const uint8_t AddPartitionsResult::binary_fingerprint[16] = {0x5A,0x68,0x9D,0x08,0x23,0xE7,0xBF,0xBB,0x60,0xC7,0x99,0xBA,0x60,0x06,0x5C,0x31}; - uint32_t AddPartitionsResult::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -8949,7 +8735,7 @@ uint32_t AddPartitionsResult::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t AddPartitionsResult::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("AddPartitionsResult"); if (this->__isset.partitions) { @@ -8967,7 +8753,6 @@ uint32_t AddPartitionsResult::write(::apache::thrift::protocol::TProtocol* oprot } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -8986,12 +8771,11 @@ AddPartitionsResult& AddPartitionsResult::operator=(const AddPartitionsResult& o __isset = other416.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const AddPartitionsResult& obj) { - using apache::thrift::to_string; +void AddPartitionsResult::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "AddPartitionsResult("; - out << "partitions="; (obj.__isset.partitions ? (out << to_string(obj.partitions)) : (out << "")); + out << "partitions="; (__isset.partitions ? (out << to_string(partitions)) : (out << "")); out << ")"; - return out; } @@ -9020,11 +8804,9 @@ void AddPartitionsRequest::__set_needResult(const bool val) { __isset.needResult = true; } -const char* AddPartitionsRequest::ascii_fingerprint = "94F938D035892CF6873DEDB99358F069"; -const uint8_t AddPartitionsRequest::binary_fingerprint[16] = {0x94,0xF9,0x38,0xD0,0x35,0x89,0x2C,0xF6,0x87,0x3D,0xED,0xB9,0x93,0x58,0xF0,0x69}; - uint32_t AddPartitionsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -9121,7 +8903,7 @@ uint32_t AddPartitionsRequest::read(::apache::thrift::protocol::TProtocol* iprot uint32_t AddPartitionsRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("AddPartitionsRequest"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -9155,7 +8937,6 @@ uint32_t AddPartitionsRequest::write(::apache::thrift::protocol::TProtocol* opro } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -9186,16 +8967,15 @@ AddPartitionsRequest& AddPartitionsRequest::operator=(const AddPartitionsRequest __isset = other424.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const AddPartitionsRequest& obj) { - using apache::thrift::to_string; +void AddPartitionsRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "AddPartitionsRequest("; - out << "dbName=" << to_string(obj.dbName); - out << ", " << "tblName=" << to_string(obj.tblName); - out << ", " << "parts=" << to_string(obj.parts); - out << ", " << "ifNotExists=" << to_string(obj.ifNotExists); - out << ", " << "needResult="; (obj.__isset.needResult ? (out << to_string(obj.needResult)) : (out << "")); + out << "dbName=" << to_string(dbName); + out << ", " << "tblName=" << to_string(tblName); + out << ", " << "parts=" << to_string(parts); + out << ", " << "ifNotExists=" << to_string(ifNotExists); + out << ", " << "needResult="; (__isset.needResult ? (out << to_string(needResult)) : (out << "")); out << ")"; - return out; } @@ -9208,11 +8988,9 @@ void DropPartitionsResult::__set_partitions(const std::vector & val) __isset.partitions = true; } -const char* DropPartitionsResult::ascii_fingerprint = "5A689D0823E7BFBB60C799BA60065C31"; -const uint8_t DropPartitionsResult::binary_fingerprint[16] = {0x5A,0x68,0x9D,0x08,0x23,0xE7,0xBF,0xBB,0x60,0xC7,0x99,0xBA,0x60,0x06,0x5C,0x31}; - uint32_t DropPartitionsResult::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -9265,7 +9043,7 @@ uint32_t DropPartitionsResult::read(::apache::thrift::protocol::TProtocol* iprot uint32_t DropPartitionsResult::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("DropPartitionsResult"); if (this->__isset.partitions) { @@ -9283,7 +9061,6 @@ uint32_t DropPartitionsResult::write(::apache::thrift::protocol::TProtocol* opro } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -9302,12 +9079,11 @@ DropPartitionsResult& DropPartitionsResult::operator=(const DropPartitionsResult __isset = other432.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const DropPartitionsResult& obj) { - using apache::thrift::to_string; +void DropPartitionsResult::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "DropPartitionsResult("; - out << "partitions="; (obj.__isset.partitions ? (out << to_string(obj.partitions)) : (out << "")); + out << "partitions="; (__isset.partitions ? (out << to_string(partitions)) : (out << "")); out << ")"; - return out; } @@ -9324,11 +9100,9 @@ void DropPartitionsExpr::__set_partArchiveLevel(const int32_t val) { __isset.partArchiveLevel = true; } -const char* DropPartitionsExpr::ascii_fingerprint = "18B162B1D15D8D46509D3911A9F1C2AA"; -const uint8_t DropPartitionsExpr::binary_fingerprint[16] = {0x18,0xB1,0x62,0xB1,0xD1,0x5D,0x8D,0x46,0x50,0x9D,0x39,0x11,0xA9,0xF1,0xC2,0xAA}; - uint32_t DropPartitionsExpr::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -9380,7 +9154,7 @@ uint32_t DropPartitionsExpr::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t DropPartitionsExpr::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("DropPartitionsExpr"); xfer += oprot->writeFieldBegin("expr", ::apache::thrift::protocol::T_STRING, 1); @@ -9394,7 +9168,6 @@ uint32_t DropPartitionsExpr::write(::apache::thrift::protocol::TProtocol* oprot) } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -9416,13 +9189,12 @@ DropPartitionsExpr& DropPartitionsExpr::operator=(const DropPartitionsExpr& othe __isset = other434.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const DropPartitionsExpr& obj) { - using apache::thrift::to_string; +void DropPartitionsExpr::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "DropPartitionsExpr("; - out << "expr=" << to_string(obj.expr); - out << ", " << "partArchiveLevel="; (obj.__isset.partArchiveLevel ? (out << to_string(obj.partArchiveLevel)) : (out << "")); + out << "expr=" << to_string(expr); + out << ", " << "partArchiveLevel="; (__isset.partArchiveLevel ? (out << to_string(partArchiveLevel)) : (out << "")); out << ")"; - return out; } @@ -9438,11 +9210,9 @@ void RequestPartsSpec::__set_exprs(const std::vector & val) this->exprs = val; } -const char* RequestPartsSpec::ascii_fingerprint = "864492ECAB27996CD222AACDA10C292E"; -const uint8_t RequestPartsSpec::binary_fingerprint[16] = {0x86,0x44,0x92,0xEC,0xAB,0x27,0x99,0x6C,0xD2,0x22,0xAA,0xCD,0xA1,0x0C,0x29,0x2E}; - uint32_t RequestPartsSpec::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -9515,7 +9285,7 @@ uint32_t RequestPartsSpec::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t RequestPartsSpec::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("RequestPartsSpec"); xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 1); @@ -9544,7 +9314,6 @@ uint32_t RequestPartsSpec::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -9566,13 +9335,12 @@ RequestPartsSpec& RequestPartsSpec::operator=(const RequestPartsSpec& other448) __isset = other448.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const RequestPartsSpec& obj) { - using apache::thrift::to_string; +void RequestPartsSpec::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "RequestPartsSpec("; - out << "names=" << to_string(obj.names); - out << ", " << "exprs=" << to_string(obj.exprs); + out << "names=" << to_string(names); + out << ", " << "exprs=" << to_string(exprs); out << ")"; - return out; } @@ -9617,11 +9385,9 @@ void DropPartitionsRequest::__set_needResult(const bool val) { __isset.needResult = true; } -const char* DropPartitionsRequest::ascii_fingerprint = "EB263FBA01215C480A9A24C11D69E672"; -const uint8_t DropPartitionsRequest::binary_fingerprint[16] = {0xEB,0x26,0x3F,0xBA,0x01,0x21,0x5C,0x48,0x0A,0x9A,0x24,0xC1,0x1D,0x69,0xE6,0x72}; - uint32_t DropPartitionsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -9727,7 +9493,7 @@ uint32_t DropPartitionsRequest::read(::apache::thrift::protocol::TProtocol* ipro uint32_t DropPartitionsRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("DropPartitionsRequest"); xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); @@ -9769,7 +9535,6 @@ uint32_t DropPartitionsRequest::write(::apache::thrift::protocol::TProtocol* opr } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -9809,19 +9574,18 @@ DropPartitionsRequest& DropPartitionsRequest::operator=(const DropPartitionsRequ __isset = other450.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const DropPartitionsRequest& obj) { - using apache::thrift::to_string; +void DropPartitionsRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "DropPartitionsRequest("; - out << "dbName=" << to_string(obj.dbName); - out << ", " << "tblName=" << to_string(obj.tblName); - out << ", " << "parts=" << to_string(obj.parts); - out << ", " << "deleteData="; (obj.__isset.deleteData ? (out << to_string(obj.deleteData)) : (out << "")); - out << ", " << "ifExists="; (obj.__isset.ifExists ? (out << to_string(obj.ifExists)) : (out << "")); - out << ", " << "ignoreProtection="; (obj.__isset.ignoreProtection ? (out << to_string(obj.ignoreProtection)) : (out << "")); - out << ", " << "environmentContext="; (obj.__isset.environmentContext ? (out << to_string(obj.environmentContext)) : (out << "")); - out << ", " << "needResult="; (obj.__isset.needResult ? (out << to_string(obj.needResult)) : (out << "")); + out << "dbName=" << to_string(dbName); + out << ", " << "tblName=" << to_string(tblName); + out << ", " << "parts=" << to_string(parts); + out << ", " << "deleteData="; (__isset.deleteData ? (out << to_string(deleteData)) : (out << "")); + out << ", " << "ifExists="; (__isset.ifExists ? (out << to_string(ifExists)) : (out << "")); + out << ", " << "ignoreProtection="; (__isset.ignoreProtection ? (out << to_string(ignoreProtection)) : (out << "")); + out << ", " << "environmentContext="; (__isset.environmentContext ? (out << to_string(environmentContext)) : (out << "")); + out << ", " << "needResult="; (__isset.needResult ? (out << to_string(needResult)) : (out << "")); out << ")"; - return out; } @@ -9837,11 +9601,9 @@ void ResourceUri::__set_uri(const std::string& val) { this->uri = val; } -const char* ResourceUri::ascii_fingerprint = "19B5240589E680301A7E32DF3971EFBE"; -const uint8_t ResourceUri::binary_fingerprint[16] = {0x19,0xB5,0x24,0x05,0x89,0xE6,0x80,0x30,0x1A,0x7E,0x32,0xDF,0x39,0x71,0xEF,0xBE}; - uint32_t ResourceUri::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -9892,7 +9654,7 @@ uint32_t ResourceUri::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t ResourceUri::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ResourceUri"); xfer += oprot->writeFieldBegin("resourceType", ::apache::thrift::protocol::T_I32, 1); @@ -9905,7 +9667,6 @@ uint32_t ResourceUri::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -9927,13 +9688,12 @@ ResourceUri& ResourceUri::operator=(const ResourceUri& other453) { __isset = other453.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const ResourceUri& obj) { - using apache::thrift::to_string; +void ResourceUri::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "ResourceUri("; - out << "resourceType=" << to_string(obj.resourceType); - out << ", " << "uri=" << to_string(obj.uri); + out << "resourceType=" << to_string(resourceType); + out << ", " << "uri=" << to_string(uri); out << ")"; - return out; } @@ -9973,11 +9733,9 @@ void Function::__set_resourceUris(const std::vector & val) { this->resourceUris = val; } -const char* Function::ascii_fingerprint = "72279C515E70F888568542F97616ADB8"; -const uint8_t Function::binary_fingerprint[16] = {0x72,0x27,0x9C,0x51,0x5E,0x70,0xF8,0x88,0x56,0x85,0x42,0xF9,0x76,0x16,0xAD,0xB8}; - uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -10090,7 +9848,7 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Function::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("Function"); xfer += oprot->writeFieldBegin("functionName", ::apache::thrift::protocol::T_STRING, 1); @@ -10135,7 +9893,6 @@ uint32_t Function::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -10175,19 +9932,18 @@ Function& Function::operator=(const Function& other463) { __isset = other463.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const Function& obj) { - using apache::thrift::to_string; +void Function::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "Function("; - out << "functionName=" << to_string(obj.functionName); - out << ", " << "dbName=" << to_string(obj.dbName); - out << ", " << "className=" << to_string(obj.className); - out << ", " << "ownerName=" << to_string(obj.ownerName); - out << ", " << "ownerType=" << to_string(obj.ownerType); - out << ", " << "createTime=" << to_string(obj.createTime); - out << ", " << "functionType=" << to_string(obj.functionType); - out << ", " << "resourceUris=" << to_string(obj.resourceUris); + out << "functionName=" << to_string(functionName); + out << ", " << "dbName=" << to_string(dbName); + out << ", " << "className=" << to_string(className); + out << ", " << "ownerName=" << to_string(ownerName); + out << ", " << "ownerType=" << to_string(ownerType); + out << ", " << "createTime=" << to_string(createTime); + out << ", " << "functionType=" << to_string(functionType); + out << ", " << "resourceUris=" << to_string(resourceUris); out << ")"; - return out; } @@ -10211,11 +9967,24 @@ void TxnInfo::__set_hostname(const std::string& val) { this->hostname = val; } -const char* TxnInfo::ascii_fingerprint = "6C5C0773A901CCA3BE9D085B3B47A767"; -const uint8_t TxnInfo::binary_fingerprint[16] = {0x6C,0x5C,0x07,0x73,0xA9,0x01,0xCC,0xA3,0xBE,0x9D,0x08,0x5B,0x3B,0x47,0xA7,0x67}; +void TxnInfo::__set_agentInfo(const std::string& val) { + this->agentInfo = val; +__isset.agentInfo = true; +} + +void TxnInfo::__set_heartbeatCount(const int32_t val) { + this->heartbeatCount = val; +__isset.heartbeatCount = true; +} + +void TxnInfo::__set_metaInfo(const std::string& val) { + this->metaInfo = val; +__isset.metaInfo = true; +} uint32_t TxnInfo::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -10272,6 +10041,30 @@ uint32_t TxnInfo::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->agentInfo); + this->__isset.agentInfo = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->heartbeatCount); + this->__isset.heartbeatCount = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 7: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->metaInfo); + this->__isset.metaInfo = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -10294,7 +10087,7 @@ uint32_t TxnInfo::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TxnInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TxnInfo"); xfer += oprot->writeFieldBegin("id", ::apache::thrift::protocol::T_I64, 1); @@ -10313,9 +10106,23 @@ uint32_t TxnInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeString(this->hostname); xfer += oprot->writeFieldEnd(); + if (this->__isset.agentInfo) { + xfer += oprot->writeFieldBegin("agentInfo", ::apache::thrift::protocol::T_STRING, 5); + xfer += oprot->writeString(this->agentInfo); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.heartbeatCount) { + xfer += oprot->writeFieldBegin("heartbeatCount", ::apache::thrift::protocol::T_I32, 6); + xfer += oprot->writeI32(this->heartbeatCount); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.metaInfo) { + xfer += oprot->writeFieldBegin("metaInfo", ::apache::thrift::protocol::T_STRING, 7); + xfer += oprot->writeString(this->metaInfo); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -10325,6 +10132,10 @@ void swap(TxnInfo &a, TxnInfo &b) { swap(a.state, b.state); swap(a.user, b.user); swap(a.hostname, b.hostname); + swap(a.agentInfo, b.agentInfo); + swap(a.heartbeatCount, b.heartbeatCount); + swap(a.metaInfo, b.metaInfo); + swap(a.__isset, b.__isset); } TxnInfo::TxnInfo(const TxnInfo& other465) { @@ -10332,23 +10143,33 @@ TxnInfo::TxnInfo(const TxnInfo& other465) { state = other465.state; user = other465.user; hostname = other465.hostname; + agentInfo = other465.agentInfo; + heartbeatCount = other465.heartbeatCount; + metaInfo = other465.metaInfo; + __isset = other465.__isset; } TxnInfo& TxnInfo::operator=(const TxnInfo& other466) { id = other466.id; state = other466.state; user = other466.user; hostname = other466.hostname; + agentInfo = other466.agentInfo; + heartbeatCount = other466.heartbeatCount; + metaInfo = other466.metaInfo; + __isset = other466.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TxnInfo& obj) { - using apache::thrift::to_string; +void TxnInfo::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TxnInfo("; - out << "id=" << to_string(obj.id); - out << ", " << "state=" << to_string(obj.state); - out << ", " << "user=" << to_string(obj.user); - out << ", " << "hostname=" << to_string(obj.hostname); + out << "id=" << to_string(id); + out << ", " << "state=" << to_string(state); + out << ", " << "user=" << to_string(user); + out << ", " << "hostname=" << to_string(hostname); + out << ", " << "agentInfo="; (__isset.agentInfo ? (out << to_string(agentInfo)) : (out << "")); + out << ", " << "heartbeatCount="; (__isset.heartbeatCount ? (out << to_string(heartbeatCount)) : (out << "")); + out << ", " << "metaInfo="; (__isset.metaInfo ? (out << to_string(metaInfo)) : (out << "")); out << ")"; - return out; } @@ -10364,11 +10185,9 @@ void GetOpenTxnsInfoResponse::__set_open_txns(const std::vector & val) this->open_txns = val; } -const char* GetOpenTxnsInfoResponse::ascii_fingerprint = "CCF769BBD33005B61F2079A6665E3B9C"; -const uint8_t GetOpenTxnsInfoResponse::binary_fingerprint[16] = {0xCC,0xF7,0x69,0xBB,0xD3,0x30,0x05,0xB6,0x1F,0x20,0x79,0xA6,0x66,0x5E,0x3B,0x9C}; - uint32_t GetOpenTxnsInfoResponse::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -10435,7 +10254,7 @@ uint32_t GetOpenTxnsInfoResponse::read(::apache::thrift::protocol::TProtocol* ip uint32_t GetOpenTxnsInfoResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("GetOpenTxnsInfoResponse"); xfer += oprot->writeFieldBegin("txn_high_water_mark", ::apache::thrift::protocol::T_I64, 1); @@ -10456,7 +10275,6 @@ uint32_t GetOpenTxnsInfoResponse::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -10475,13 +10293,12 @@ GetOpenTxnsInfoResponse& GetOpenTxnsInfoResponse::operator=(const GetOpenTxnsInf open_txns = other474.open_txns; return *this; } -std::ostream& operator<<(std::ostream& out, const GetOpenTxnsInfoResponse& obj) { - using apache::thrift::to_string; +void GetOpenTxnsInfoResponse::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "GetOpenTxnsInfoResponse("; - out << "txn_high_water_mark=" << to_string(obj.txn_high_water_mark); - out << ", " << "open_txns=" << to_string(obj.open_txns); + out << "txn_high_water_mark=" << to_string(txn_high_water_mark); + out << ", " << "open_txns=" << to_string(open_txns); out << ")"; - return out; } @@ -10497,11 +10314,9 @@ void GetOpenTxnsResponse::__set_open_txns(const std::set & val) { this->open_txns = val; } -const char* GetOpenTxnsResponse::ascii_fingerprint = "590531FF1BE8611678B255374F6109EE"; -const uint8_t GetOpenTxnsResponse::binary_fingerprint[16] = {0x59,0x05,0x31,0xFF,0x1B,0xE8,0x61,0x16,0x78,0xB2,0x55,0x37,0x4F,0x61,0x09,0xEE}; - uint32_t GetOpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -10569,7 +10384,7 @@ uint32_t GetOpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t GetOpenTxnsResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("GetOpenTxnsResponse"); xfer += oprot->writeFieldBegin("txn_high_water_mark", ::apache::thrift::protocol::T_I64, 1); @@ -10590,7 +10405,6 @@ uint32_t GetOpenTxnsResponse::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -10609,13 +10423,12 @@ GetOpenTxnsResponse& GetOpenTxnsResponse::operator=(const GetOpenTxnsResponse& o open_txns = other483.open_txns; return *this; } -std::ostream& operator<<(std::ostream& out, const GetOpenTxnsResponse& obj) { - using apache::thrift::to_string; +void GetOpenTxnsResponse::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "GetOpenTxnsResponse("; - out << "txn_high_water_mark=" << to_string(obj.txn_high_water_mark); - out << ", " << "open_txns=" << to_string(obj.open_txns); + out << "txn_high_water_mark=" << to_string(txn_high_water_mark); + out << ", " << "open_txns=" << to_string(open_txns); out << ")"; - return out; } @@ -10635,11 +10448,14 @@ void OpenTxnRequest::__set_hostname(const std::string& val) { this->hostname = val; } -const char* OpenTxnRequest::ascii_fingerprint = "3368C2F81F2FEF71F11EDACDB2A3ECEF"; -const uint8_t OpenTxnRequest::binary_fingerprint[16] = {0x33,0x68,0xC2,0xF8,0x1F,0x2F,0xEF,0x71,0xF1,0x1E,0xDA,0xCD,0xB2,0xA3,0xEC,0xEF}; +void OpenTxnRequest::__set_agentInfo(const std::string& val) { + this->agentInfo = val; +__isset.agentInfo = true; +} uint32_t OpenTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -10685,6 +10501,14 @@ uint32_t OpenTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->agentInfo); + this->__isset.agentInfo = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -10705,7 +10529,7 @@ uint32_t OpenTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t OpenTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("OpenTxnRequest"); xfer += oprot->writeFieldBegin("num_txns", ::apache::thrift::protocol::T_I32, 1); @@ -10720,9 +10544,13 @@ uint32_t OpenTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) con xfer += oprot->writeString(this->hostname); xfer += oprot->writeFieldEnd(); + if (this->__isset.agentInfo) { + xfer += oprot->writeFieldBegin("agentInfo", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString(this->agentInfo); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -10731,27 +10559,33 @@ void swap(OpenTxnRequest &a, OpenTxnRequest &b) { swap(a.num_txns, b.num_txns); swap(a.user, b.user); swap(a.hostname, b.hostname); + swap(a.agentInfo, b.agentInfo); + swap(a.__isset, b.__isset); } OpenTxnRequest::OpenTxnRequest(const OpenTxnRequest& other484) { num_txns = other484.num_txns; user = other484.user; hostname = other484.hostname; + agentInfo = other484.agentInfo; + __isset = other484.__isset; } OpenTxnRequest& OpenTxnRequest::operator=(const OpenTxnRequest& other485) { num_txns = other485.num_txns; user = other485.user; hostname = other485.hostname; + agentInfo = other485.agentInfo; + __isset = other485.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const OpenTxnRequest& obj) { - using apache::thrift::to_string; +void OpenTxnRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "OpenTxnRequest("; - out << "num_txns=" << to_string(obj.num_txns); - out << ", " << "user=" << to_string(obj.user); - out << ", " << "hostname=" << to_string(obj.hostname); + out << "num_txns=" << to_string(num_txns); + out << ", " << "user=" << to_string(user); + out << ", " << "hostname=" << to_string(hostname); + out << ", " << "agentInfo="; (__isset.agentInfo ? (out << to_string(agentInfo)) : (out << "")); out << ")"; - return out; } @@ -10763,11 +10597,9 @@ void OpenTxnsResponse::__set_txn_ids(const std::vector & val) { this->txn_ids = val; } -const char* OpenTxnsResponse::ascii_fingerprint = "E49D7D1A9013CC81CD0F69D631EF82E4"; -const uint8_t OpenTxnsResponse::binary_fingerprint[16] = {0xE4,0x9D,0x7D,0x1A,0x90,0x13,0xCC,0x81,0xCD,0x0F,0x69,0xD6,0x31,0xEF,0x82,0xE4}; - uint32_t OpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -10823,7 +10655,7 @@ uint32_t OpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t OpenTxnsResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("OpenTxnsResponse"); xfer += oprot->writeFieldBegin("txn_ids", ::apache::thrift::protocol::T_LIST, 1); @@ -10840,7 +10672,6 @@ uint32_t OpenTxnsResponse::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -10856,12 +10687,11 @@ OpenTxnsResponse& OpenTxnsResponse::operator=(const OpenTxnsResponse& other493) txn_ids = other493.txn_ids; return *this; } -std::ostream& operator<<(std::ostream& out, const OpenTxnsResponse& obj) { - using apache::thrift::to_string; +void OpenTxnsResponse::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "OpenTxnsResponse("; - out << "txn_ids=" << to_string(obj.txn_ids); + out << "txn_ids=" << to_string(txn_ids); out << ")"; - return out; } @@ -10873,11 +10703,9 @@ void AbortTxnRequest::__set_txnid(const int64_t val) { this->txnid = val; } -const char* AbortTxnRequest::ascii_fingerprint = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; -const uint8_t AbortTxnRequest::binary_fingerprint[16] = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; - uint32_t AbortTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -10921,7 +10749,7 @@ uint32_t AbortTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t AbortTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("AbortTxnRequest"); xfer += oprot->writeFieldBegin("txnid", ::apache::thrift::protocol::T_I64, 1); @@ -10930,7 +10758,6 @@ uint32_t AbortTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -10946,12 +10773,11 @@ AbortTxnRequest& AbortTxnRequest::operator=(const AbortTxnRequest& other495) { txnid = other495.txnid; return *this; } -std::ostream& operator<<(std::ostream& out, const AbortTxnRequest& obj) { - using apache::thrift::to_string; +void AbortTxnRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "AbortTxnRequest("; - out << "txnid=" << to_string(obj.txnid); + out << "txnid=" << to_string(txnid); out << ")"; - return out; } @@ -10963,11 +10789,9 @@ void CommitTxnRequest::__set_txnid(const int64_t val) { this->txnid = val; } -const char* CommitTxnRequest::ascii_fingerprint = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; -const uint8_t CommitTxnRequest::binary_fingerprint[16] = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; - uint32_t CommitTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -11011,7 +10835,7 @@ uint32_t CommitTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t CommitTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("CommitTxnRequest"); xfer += oprot->writeFieldBegin("txnid", ::apache::thrift::protocol::T_I64, 1); @@ -11020,7 +10844,6 @@ uint32_t CommitTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -11036,12 +10859,11 @@ CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other497) txnid = other497.txnid; return *this; } -std::ostream& operator<<(std::ostream& out, const CommitTxnRequest& obj) { - using apache::thrift::to_string; +void CommitTxnRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "CommitTxnRequest("; - out << "txnid=" << to_string(obj.txnid); + out << "txnid=" << to_string(txnid); out << ")"; - return out; } @@ -11071,11 +10893,9 @@ void LockComponent::__set_partitionname(const std::string& val) { __isset.partitionname = true; } -const char* LockComponent::ascii_fingerprint = "38B02531B0840AC9C72904A4649FD15F"; -const uint8_t LockComponent::binary_fingerprint[16] = {0x38,0xB0,0x25,0x31,0xB0,0x84,0x0A,0xC9,0xC7,0x29,0x04,0xA4,0x64,0x9F,0xD1,0x5F}; - uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -11161,7 +10981,7 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t LockComponent::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("LockComponent"); xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_I32, 1); @@ -11188,7 +11008,6 @@ uint32_t LockComponent::write(::apache::thrift::protocol::TProtocol* oprot) cons } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -11219,16 +11038,15 @@ LockComponent& LockComponent::operator=(const LockComponent& other501) { __isset = other501.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const LockComponent& obj) { - using apache::thrift::to_string; +void LockComponent::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "LockComponent("; - out << "type=" << to_string(obj.type); - out << ", " << "level=" << to_string(obj.level); - out << ", " << "dbname=" << to_string(obj.dbname); - out << ", " << "tablename="; (obj.__isset.tablename ? (out << to_string(obj.tablename)) : (out << "")); - out << ", " << "partitionname="; (obj.__isset.partitionname ? (out << to_string(obj.partitionname)) : (out << "")); + out << "type=" << to_string(type); + out << ", " << "level=" << to_string(level); + out << ", " << "dbname=" << to_string(dbname); + out << ", " << "tablename="; (__isset.tablename ? (out << to_string(tablename)) : (out << "")); + out << ", " << "partitionname="; (__isset.partitionname ? (out << to_string(partitionname)) : (out << "")); out << ")"; - return out; } @@ -11253,11 +11071,14 @@ void LockRequest::__set_hostname(const std::string& val) { this->hostname = val; } -const char* LockRequest::ascii_fingerprint = "46BC5ED7196BC16CB216AD5CC67C6930"; -const uint8_t LockRequest::binary_fingerprint[16] = {0x46,0xBC,0x5E,0xD7,0x19,0x6B,0xC1,0x6C,0xB2,0x16,0xAD,0x5C,0xC6,0x7C,0x69,0x30}; +void LockRequest::__set_agentInfo(const std::string& val) { + this->agentInfo = val; +__isset.agentInfo = true; +} uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -11323,6 +11144,14 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->agentInfo); + this->__isset.agentInfo = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -11343,7 +11172,7 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t LockRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("LockRequest"); xfer += oprot->writeFieldBegin("component", ::apache::thrift::protocol::T_LIST, 1); @@ -11371,9 +11200,13 @@ uint32_t LockRequest::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeString(this->hostname); xfer += oprot->writeFieldEnd(); + if (this->__isset.agentInfo) { + xfer += oprot->writeFieldBegin("agentInfo", ::apache::thrift::protocol::T_STRING, 5); + xfer += oprot->writeString(this->agentInfo); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -11383,6 +11216,7 @@ void swap(LockRequest &a, LockRequest &b) { swap(a.txnid, b.txnid); swap(a.user, b.user); swap(a.hostname, b.hostname); + swap(a.agentInfo, b.agentInfo); swap(a.__isset, b.__isset); } @@ -11391,6 +11225,7 @@ LockRequest::LockRequest(const LockRequest& other508) { txnid = other508.txnid; user = other508.user; hostname = other508.hostname; + agentInfo = other508.agentInfo; __isset = other508.__isset; } LockRequest& LockRequest::operator=(const LockRequest& other509) { @@ -11398,18 +11233,19 @@ LockRequest& LockRequest::operator=(const LockRequest& other509) { txnid = other509.txnid; user = other509.user; hostname = other509.hostname; + agentInfo = other509.agentInfo; __isset = other509.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const LockRequest& obj) { - using apache::thrift::to_string; +void LockRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "LockRequest("; - out << "component=" << to_string(obj.component); - out << ", " << "txnid="; (obj.__isset.txnid ? (out << to_string(obj.txnid)) : (out << "")); - out << ", " << "user=" << to_string(obj.user); - out << ", " << "hostname=" << to_string(obj.hostname); + out << "component=" << to_string(component); + out << ", " << "txnid="; (__isset.txnid ? (out << to_string(txnid)) : (out << "")); + out << ", " << "user=" << to_string(user); + out << ", " << "hostname=" << to_string(hostname); + out << ", " << "agentInfo="; (__isset.agentInfo ? (out << to_string(agentInfo)) : (out << "")); out << ")"; - return out; } @@ -11425,11 +11261,9 @@ void LockResponse::__set_state(const LockState::type val) { this->state = val; } -const char* LockResponse::ascii_fingerprint = "DFA40D9D2884599F3D1E7A57578F1384"; -const uint8_t LockResponse::binary_fingerprint[16] = {0xDF,0xA4,0x0D,0x9D,0x28,0x84,0x59,0x9F,0x3D,0x1E,0x7A,0x57,0x57,0x8F,0x13,0x84}; - uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -11486,7 +11320,7 @@ uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t LockResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("LockResponse"); xfer += oprot->writeFieldBegin("lockid", ::apache::thrift::protocol::T_I64, 1); @@ -11499,7 +11333,6 @@ uint32_t LockResponse::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -11518,13 +11351,12 @@ LockResponse& LockResponse::operator=(const LockResponse& other512) { state = other512.state; return *this; } -std::ostream& operator<<(std::ostream& out, const LockResponse& obj) { - using apache::thrift::to_string; +void LockResponse::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "LockResponse("; - out << "lockid=" << to_string(obj.lockid); - out << ", " << "state=" << to_string(obj.state); + out << "lockid=" << to_string(lockid); + out << ", " << "state=" << to_string(state); out << ")"; - return out; } @@ -11536,11 +11368,19 @@ void CheckLockRequest::__set_lockid(const int64_t val) { this->lockid = val; } -const char* CheckLockRequest::ascii_fingerprint = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; -const uint8_t CheckLockRequest::binary_fingerprint[16] = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; +void CheckLockRequest::__set_txnid(const int64_t val) { + this->txnid = val; +__isset.txnid = true; +} + +void CheckLockRequest::__set_elapsed_ms(const int64_t val) { + this->elapsed_ms = val; +__isset.elapsed_ms = true; +} uint32_t CheckLockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -11568,6 +11408,22 @@ uint32_t CheckLockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->txnid); + this->__isset.txnid = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->elapsed_ms); + this->__isset.elapsed_ms = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -11584,37 +11440,56 @@ uint32_t CheckLockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t CheckLockRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("CheckLockRequest"); xfer += oprot->writeFieldBegin("lockid", ::apache::thrift::protocol::T_I64, 1); xfer += oprot->writeI64(this->lockid); xfer += oprot->writeFieldEnd(); + if (this->__isset.txnid) { + xfer += oprot->writeFieldBegin("txnid", ::apache::thrift::protocol::T_I64, 2); + xfer += oprot->writeI64(this->txnid); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.elapsed_ms) { + xfer += oprot->writeFieldBegin("elapsed_ms", ::apache::thrift::protocol::T_I64, 3); + xfer += oprot->writeI64(this->elapsed_ms); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } void swap(CheckLockRequest &a, CheckLockRequest &b) { using ::std::swap; swap(a.lockid, b.lockid); + swap(a.txnid, b.txnid); + swap(a.elapsed_ms, b.elapsed_ms); + swap(a.__isset, b.__isset); } CheckLockRequest::CheckLockRequest(const CheckLockRequest& other513) { lockid = other513.lockid; + txnid = other513.txnid; + elapsed_ms = other513.elapsed_ms; + __isset = other513.__isset; } CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other514) { lockid = other514.lockid; + txnid = other514.txnid; + elapsed_ms = other514.elapsed_ms; + __isset = other514.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const CheckLockRequest& obj) { - using apache::thrift::to_string; +void CheckLockRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "CheckLockRequest("; - out << "lockid=" << to_string(obj.lockid); + out << "lockid=" << to_string(lockid); + out << ", " << "txnid="; (__isset.txnid ? (out << to_string(txnid)) : (out << "")); + out << ", " << "elapsed_ms="; (__isset.elapsed_ms ? (out << to_string(elapsed_ms)) : (out << "")); out << ")"; - return out; } @@ -11626,11 +11501,9 @@ void UnlockRequest::__set_lockid(const int64_t val) { this->lockid = val; } -const char* UnlockRequest::ascii_fingerprint = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; -const uint8_t UnlockRequest::binary_fingerprint[16] = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; - uint32_t UnlockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -11674,7 +11547,7 @@ uint32_t UnlockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t UnlockRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("UnlockRequest"); xfer += oprot->writeFieldBegin("lockid", ::apache::thrift::protocol::T_I64, 1); @@ -11683,7 +11556,6 @@ uint32_t UnlockRequest::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -11699,12 +11571,11 @@ UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other516) { lockid = other516.lockid; return *this; } -std::ostream& operator<<(std::ostream& out, const UnlockRequest& obj) { - using apache::thrift::to_string; +void UnlockRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "UnlockRequest("; - out << "lockid=" << to_string(obj.lockid); + out << "lockid=" << to_string(lockid); out << ")"; - return out; } @@ -11712,11 +11583,29 @@ ShowLocksRequest::~ShowLocksRequest() throw() { } -const char* ShowLocksRequest::ascii_fingerprint = "99914B932BD37A50B983C5E7C90AE93B"; -const uint8_t ShowLocksRequest::binary_fingerprint[16] = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; +void ShowLocksRequest::__set_dbname(const std::string& val) { + this->dbname = val; +__isset.dbname = true; +} + +void ShowLocksRequest::__set_tablename(const std::string& val) { + this->tablename = val; +__isset.tablename = true; +} + +void ShowLocksRequest::__set_partname(const std::string& val) { + this->partname = val; +__isset.partname = true; +} + +void ShowLocksRequest::__set_isExtended(const bool val) { + this->isExtended = val; +__isset.isExtended = true; +} uint32_t ShowLocksRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -11733,7 +11622,44 @@ uint32_t ShowLocksRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_STOP) { break; } - xfer += iprot->skip(ftype); + 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_STRING) { + xfer += iprot->readString(this->tablename); + this->__isset.tablename = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->partname); + this->__isset.partname = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_BOOL) { + xfer += iprot->readBool(this->isExtended); + this->__isset.isExtended = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } xfer += iprot->readFieldEnd(); } @@ -11744,34 +11670,66 @@ uint32_t ShowLocksRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t ShowLocksRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ShowLocksRequest"); + if (this->__isset.dbname) { + xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString(this->dbname); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.tablename) { + xfer += oprot->writeFieldBegin("tablename", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->tablename); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.partname) { + xfer += oprot->writeFieldBegin("partname", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->partname); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.isExtended) { + xfer += oprot->writeFieldBegin("isExtended", ::apache::thrift::protocol::T_BOOL, 4); + xfer += oprot->writeBool(this->isExtended); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } void swap(ShowLocksRequest &a, ShowLocksRequest &b) { using ::std::swap; - (void) a; - (void) b; + swap(a.dbname, b.dbname); + swap(a.tablename, b.tablename); + swap(a.partname, b.partname); + swap(a.isExtended, b.isExtended); + swap(a.__isset, b.__isset); } ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other517) { - (void) other517; + dbname = other517.dbname; + tablename = other517.tablename; + partname = other517.partname; + isExtended = other517.isExtended; + __isset = other517.__isset; } ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other518) { - (void) other518; + dbname = other518.dbname; + tablename = other518.tablename; + partname = other518.partname; + isExtended = other518.isExtended; + __isset = other518.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const ShowLocksRequest& obj) { - using apache::thrift::to_string; - (void) obj; +void ShowLocksRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "ShowLocksRequest("; + out << "dbname="; (__isset.dbname ? (out << to_string(dbname)) : (out << "")); + out << ", " << "tablename="; (__isset.tablename ? (out << to_string(tablename)) : (out << "")); + out << ", " << "partname="; (__isset.partname ? (out << to_string(partname)) : (out << "")); + out << ", " << "isExtended="; (__isset.isExtended ? (out << to_string(isExtended)) : (out << "")); out << ")"; - return out; } @@ -11827,11 +11785,34 @@ void ShowLocksResponseElement::__set_hostname(const std::string& val) { this->hostname = val; } -const char* ShowLocksResponseElement::ascii_fingerprint = "5AD11F0E0EF1EE0A7C08B00FEFCFF24F"; -const uint8_t ShowLocksResponseElement::binary_fingerprint[16] = {0x5A,0xD1,0x1F,0x0E,0x0E,0xF1,0xEE,0x0A,0x7C,0x08,0xB0,0x0F,0xEF,0xCF,0xF2,0x4F}; +void ShowLocksResponseElement::__set_heartbeatCount(const int32_t val) { + this->heartbeatCount = val; +__isset.heartbeatCount = true; +} + +void ShowLocksResponseElement::__set_agentInfo(const std::string& val) { + this->agentInfo = val; +__isset.agentInfo = true; +} + +void ShowLocksResponseElement::__set_blockedByExtId(const int64_t val) { + this->blockedByExtId = val; +__isset.blockedByExtId = true; +} + +void ShowLocksResponseElement::__set_blockedByIntId(const int64_t val) { + this->blockedByIntId = val; +__isset.blockedByIntId = true; +} + +void ShowLocksResponseElement::__set_lockIdInternal(const int64_t val) { + this->lockIdInternal = val; +__isset.lockIdInternal = true; +} uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -11949,6 +11930,46 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i xfer += iprot->skip(ftype); } break; + case 12: + if (ftype == ::apache::thrift::protocol::T_I32) { + xfer += iprot->readI32(this->heartbeatCount); + this->__isset.heartbeatCount = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 13: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->agentInfo); + this->__isset.agentInfo = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 14: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->blockedByExtId); + this->__isset.blockedByExtId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 15: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->blockedByIntId); + this->__isset.blockedByIntId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 16: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->lockIdInternal); + this->__isset.lockIdInternal = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -11977,7 +11998,7 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i uint32_t ShowLocksResponseElement::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ShowLocksResponseElement"); xfer += oprot->writeFieldBegin("lockid", ::apache::thrift::protocol::T_I64, 1); @@ -12028,9 +12049,33 @@ uint32_t ShowLocksResponseElement::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeString(this->hostname); xfer += oprot->writeFieldEnd(); + if (this->__isset.heartbeatCount) { + xfer += oprot->writeFieldBegin("heartbeatCount", ::apache::thrift::protocol::T_I32, 12); + xfer += oprot->writeI32(this->heartbeatCount); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.agentInfo) { + xfer += oprot->writeFieldBegin("agentInfo", ::apache::thrift::protocol::T_STRING, 13); + xfer += oprot->writeString(this->agentInfo); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.blockedByExtId) { + xfer += oprot->writeFieldBegin("blockedByExtId", ::apache::thrift::protocol::T_I64, 14); + xfer += oprot->writeI64(this->blockedByExtId); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.blockedByIntId) { + xfer += oprot->writeFieldBegin("blockedByIntId", ::apache::thrift::protocol::T_I64, 15); + xfer += oprot->writeI64(this->blockedByIntId); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.lockIdInternal) { + xfer += oprot->writeFieldBegin("lockIdInternal", ::apache::thrift::protocol::T_I64, 16); + xfer += oprot->writeI64(this->lockIdInternal); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -12047,6 +12092,11 @@ void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b) { swap(a.acquiredat, b.acquiredat); swap(a.user, b.user); swap(a.hostname, b.hostname); + swap(a.heartbeatCount, b.heartbeatCount); + swap(a.agentInfo, b.agentInfo); + swap(a.blockedByExtId, b.blockedByExtId); + swap(a.blockedByIntId, b.blockedByIntId); + swap(a.lockIdInternal, b.lockIdInternal); swap(a.__isset, b.__isset); } @@ -12062,6 +12112,11 @@ ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElemen acquiredat = other521.acquiredat; user = other521.user; hostname = other521.hostname; + heartbeatCount = other521.heartbeatCount; + agentInfo = other521.agentInfo; + blockedByExtId = other521.blockedByExtId; + blockedByIntId = other521.blockedByIntId; + lockIdInternal = other521.lockIdInternal; __isset = other521.__isset; } ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other522) { @@ -12076,25 +12131,34 @@ ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksRes acquiredat = other522.acquiredat; user = other522.user; hostname = other522.hostname; + heartbeatCount = other522.heartbeatCount; + agentInfo = other522.agentInfo; + blockedByExtId = other522.blockedByExtId; + blockedByIntId = other522.blockedByIntId; + lockIdInternal = other522.lockIdInternal; __isset = other522.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const ShowLocksResponseElement& obj) { - using apache::thrift::to_string; +void ShowLocksResponseElement::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "ShowLocksResponseElement("; - out << "lockid=" << to_string(obj.lockid); - out << ", " << "dbname=" << to_string(obj.dbname); - out << ", " << "tablename="; (obj.__isset.tablename ? (out << to_string(obj.tablename)) : (out << "")); - out << ", " << "partname="; (obj.__isset.partname ? (out << to_string(obj.partname)) : (out << "")); - out << ", " << "state=" << to_string(obj.state); - out << ", " << "type=" << to_string(obj.type); - out << ", " << "txnid="; (obj.__isset.txnid ? (out << to_string(obj.txnid)) : (out << "")); - out << ", " << "lastheartbeat=" << to_string(obj.lastheartbeat); - out << ", " << "acquiredat="; (obj.__isset.acquiredat ? (out << to_string(obj.acquiredat)) : (out << "")); - out << ", " << "user=" << to_string(obj.user); - out << ", " << "hostname=" << to_string(obj.hostname); + out << "lockid=" << to_string(lockid); + out << ", " << "dbname=" << to_string(dbname); + out << ", " << "tablename="; (__isset.tablename ? (out << to_string(tablename)) : (out << "")); + out << ", " << "partname="; (__isset.partname ? (out << to_string(partname)) : (out << "")); + out << ", " << "state=" << to_string(state); + out << ", " << "type=" << to_string(type); + out << ", " << "txnid="; (__isset.txnid ? (out << to_string(txnid)) : (out << "")); + out << ", " << "lastheartbeat=" << to_string(lastheartbeat); + out << ", " << "acquiredat="; (__isset.acquiredat ? (out << to_string(acquiredat)) : (out << "")); + out << ", " << "user=" << to_string(user); + out << ", " << "hostname=" << to_string(hostname); + out << ", " << "heartbeatCount="; (__isset.heartbeatCount ? (out << to_string(heartbeatCount)) : (out << "")); + out << ", " << "agentInfo="; (__isset.agentInfo ? (out << to_string(agentInfo)) : (out << "")); + out << ", " << "blockedByExtId="; (__isset.blockedByExtId ? (out << to_string(blockedByExtId)) : (out << "")); + out << ", " << "blockedByIntId="; (__isset.blockedByIntId ? (out << to_string(blockedByIntId)) : (out << "")); + out << ", " << "lockIdInternal="; (__isset.lockIdInternal ? (out << to_string(lockIdInternal)) : (out << "")); out << ")"; - return out; } @@ -12106,11 +12170,9 @@ void ShowLocksResponse::__set_locks(const std::vector this->locks = val; } -const char* ShowLocksResponse::ascii_fingerprint = "BD598AA60FE941361FB54C43973C011F"; -const uint8_t ShowLocksResponse::binary_fingerprint[16] = {0xBD,0x59,0x8A,0xA6,0x0F,0xE9,0x41,0x36,0x1F,0xB5,0x4C,0x43,0x97,0x3C,0x01,0x1F}; - uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -12163,7 +12225,7 @@ uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t ShowLocksResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ShowLocksResponse"); xfer += oprot->writeFieldBegin("locks", ::apache::thrift::protocol::T_LIST, 1); @@ -12180,7 +12242,6 @@ uint32_t ShowLocksResponse::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -12199,12 +12260,11 @@ ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other53 __isset = other530.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const ShowLocksResponse& obj) { - using apache::thrift::to_string; +void ShowLocksResponse::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "ShowLocksResponse("; - out << "locks=" << to_string(obj.locks); + out << "locks=" << to_string(locks); out << ")"; - return out; } @@ -12222,11 +12282,9 @@ void HeartbeatRequest::__set_txnid(const int64_t val) { __isset.txnid = true; } -const char* HeartbeatRequest::ascii_fingerprint = "0354D07C94CB8542872CA1277008860A"; -const uint8_t HeartbeatRequest::binary_fingerprint[16] = {0x03,0x54,0xD0,0x7C,0x94,0xCB,0x85,0x42,0x87,0x2C,0xA1,0x27,0x70,0x08,0x86,0x0A}; - uint32_t HeartbeatRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -12275,7 +12333,7 @@ uint32_t HeartbeatRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t HeartbeatRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("HeartbeatRequest"); if (this->__isset.lockid) { @@ -12290,7 +12348,6 @@ uint32_t HeartbeatRequest::write(::apache::thrift::protocol::TProtocol* oprot) c } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -12312,13 +12369,12 @@ HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other532) __isset = other532.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const HeartbeatRequest& obj) { - using apache::thrift::to_string; +void HeartbeatRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "HeartbeatRequest("; - out << "lockid="; (obj.__isset.lockid ? (out << to_string(obj.lockid)) : (out << "")); - out << ", " << "txnid="; (obj.__isset.txnid ? (out << to_string(obj.txnid)) : (out << "")); + out << "lockid="; (__isset.lockid ? (out << to_string(lockid)) : (out << "")); + out << ", " << "txnid="; (__isset.txnid ? (out << to_string(txnid)) : (out << "")); out << ")"; - return out; } @@ -12334,11 +12390,9 @@ void HeartbeatTxnRangeRequest::__set_max(const int64_t val) { this->max = val; } -const char* HeartbeatTxnRangeRequest::ascii_fingerprint = "F33135321253DAEB67B0E79E416CA831"; -const uint8_t HeartbeatTxnRangeRequest::binary_fingerprint[16] = {0xF3,0x31,0x35,0x32,0x12,0x53,0xDA,0xEB,0x67,0xB0,0xE7,0x9E,0x41,0x6C,0xA8,0x31}; - uint32_t HeartbeatTxnRangeRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -12393,7 +12447,7 @@ uint32_t HeartbeatTxnRangeRequest::read(::apache::thrift::protocol::TProtocol* i uint32_t HeartbeatTxnRangeRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("HeartbeatTxnRangeRequest"); xfer += oprot->writeFieldBegin("min", ::apache::thrift::protocol::T_I64, 1); @@ -12406,7 +12460,6 @@ uint32_t HeartbeatTxnRangeRequest::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -12425,13 +12478,12 @@ HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxn max = other534.max; return *this; } -std::ostream& operator<<(std::ostream& out, const HeartbeatTxnRangeRequest& obj) { - using apache::thrift::to_string; +void HeartbeatTxnRangeRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "HeartbeatTxnRangeRequest("; - out << "min=" << to_string(obj.min); - out << ", " << "max=" << to_string(obj.max); + out << "min=" << to_string(min); + out << ", " << "max=" << to_string(max); out << ")"; - return out; } @@ -12447,11 +12499,9 @@ void HeartbeatTxnRangeResponse::__set_nosuch(const std::set & val) { this->nosuch = val; } -const char* HeartbeatTxnRangeResponse::ascii_fingerprint = "33E49A70BD5C04262A0F407E3656E3CF"; -const uint8_t HeartbeatTxnRangeResponse::binary_fingerprint[16] = {0x33,0xE4,0x9A,0x70,0xBD,0x5C,0x04,0x26,0x2A,0x0F,0x40,0x7E,0x36,0x56,0xE3,0xCF}; - uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -12532,7 +12582,7 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* uint32_t HeartbeatTxnRangeResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("HeartbeatTxnRangeResponse"); xfer += oprot->writeFieldBegin("aborted", ::apache::thrift::protocol::T_SET, 1); @@ -12561,7 +12611,6 @@ uint32_t HeartbeatTxnRangeResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -12580,13 +12629,12 @@ HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatT nosuch = other550.nosuch; return *this; } -std::ostream& operator<<(std::ostream& out, const HeartbeatTxnRangeResponse& obj) { - using apache::thrift::to_string; +void HeartbeatTxnRangeResponse::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "HeartbeatTxnRangeResponse("; - out << "aborted=" << to_string(obj.aborted); - out << ", " << "nosuch=" << to_string(obj.nosuch); + out << "aborted=" << to_string(aborted); + out << ", " << "nosuch=" << to_string(nosuch); out << ")"; - return out; } @@ -12616,11 +12664,9 @@ void CompactionRequest::__set_runas(const std::string& val) { __isset.runas = true; } -const char* CompactionRequest::ascii_fingerprint = "899FD1F339D8318D628687CC2CE2864B"; -const uint8_t CompactionRequest::binary_fingerprint[16] = {0x89,0x9F,0xD1,0xF3,0x39,0xD8,0x31,0x8D,0x62,0x86,0x87,0xCC,0x2C,0xE2,0x86,0x4B}; - uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -12704,7 +12750,7 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t CompactionRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("CompactionRequest"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -12731,7 +12777,6 @@ uint32_t CompactionRequest::write(::apache::thrift::protocol::TProtocol* oprot) } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -12762,16 +12807,15 @@ CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other55 __isset = other553.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const CompactionRequest& obj) { - using apache::thrift::to_string; +void CompactionRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "CompactionRequest("; - out << "dbname=" << to_string(obj.dbname); - out << ", " << "tablename=" << to_string(obj.tablename); - out << ", " << "partitionname="; (obj.__isset.partitionname ? (out << to_string(obj.partitionname)) : (out << "")); - out << ", " << "type=" << to_string(obj.type); - out << ", " << "runas="; (obj.__isset.runas ? (out << to_string(obj.runas)) : (out << "")); + out << "dbname=" << to_string(dbname); + out << ", " << "tablename=" << to_string(tablename); + out << ", " << "partitionname="; (__isset.partitionname ? (out << to_string(partitionname)) : (out << "")); + out << ", " << "type=" << to_string(type); + out << ", " << "runas="; (__isset.runas ? (out << to_string(runas)) : (out << "")); out << ")"; - return out; } @@ -12779,11 +12823,9 @@ ShowCompactRequest::~ShowCompactRequest() throw() { } -const char* ShowCompactRequest::ascii_fingerprint = "99914B932BD37A50B983C5E7C90AE93B"; -const uint8_t ShowCompactRequest::binary_fingerprint[16] = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - uint32_t ShowCompactRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -12811,12 +12853,11 @@ uint32_t ShowCompactRequest::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t ShowCompactRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ShowCompactRequest"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -12833,12 +12874,10 @@ ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& othe (void) other555; return *this; } -std::ostream& operator<<(std::ostream& out, const ShowCompactRequest& obj) { - using apache::thrift::to_string; - (void) obj; +void ShowCompactRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "ShowCompactRequest("; out << ")"; - return out; } @@ -12882,11 +12921,29 @@ void ShowCompactResponseElement::__set_runAs(const std::string& val) { __isset.runAs = true; } -const char* ShowCompactResponseElement::ascii_fingerprint = "2F338C265DC4FD82DD13F4966FE43F13"; -const uint8_t ShowCompactResponseElement::binary_fingerprint[16] = {0x2F,0x33,0x8C,0x26,0x5D,0xC4,0xFD,0x82,0xDD,0x13,0xF4,0x96,0x6F,0xE4,0x3F,0x13}; +void ShowCompactResponseElement::__set_hightestTxnId(const int64_t val) { + this->hightestTxnId = val; +__isset.hightestTxnId = true; +} + +void ShowCompactResponseElement::__set_metaInfo(const std::string& val) { + this->metaInfo = val; +__isset.metaInfo = true; +} + +void ShowCompactResponseElement::__set_endTime(const int64_t val) { + this->endTime = val; +__isset.endTime = true; +} + +void ShowCompactResponseElement::__set_hadoopJobId(const std::string& val) { + this->hadoopJobId = val; +__isset.hadoopJobId = true; +} uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -12975,6 +13032,38 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* xfer += iprot->skip(ftype); } break; + case 9: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->hightestTxnId); + this->__isset.hightestTxnId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 10: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->metaInfo); + this->__isset.metaInfo = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 11: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->endTime); + this->__isset.endTime = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 12: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->hadoopJobId); + this->__isset.hadoopJobId = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -12997,7 +13086,7 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* uint32_t ShowCompactResponseElement::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ShowCompactResponseElement"); xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 1); @@ -13036,9 +13125,28 @@ uint32_t ShowCompactResponseElement::write(::apache::thrift::protocol::TProtocol xfer += oprot->writeString(this->runAs); xfer += oprot->writeFieldEnd(); } + if (this->__isset.hightestTxnId) { + xfer += oprot->writeFieldBegin("hightestTxnId", ::apache::thrift::protocol::T_I64, 9); + xfer += oprot->writeI64(this->hightestTxnId); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.metaInfo) { + xfer += oprot->writeFieldBegin("metaInfo", ::apache::thrift::protocol::T_STRING, 10); + xfer += oprot->writeString(this->metaInfo); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.endTime) { + xfer += oprot->writeFieldBegin("endTime", ::apache::thrift::protocol::T_I64, 11); + xfer += oprot->writeI64(this->endTime); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.hadoopJobId) { + xfer += oprot->writeFieldBegin("hadoopJobId", ::apache::thrift::protocol::T_STRING, 12); + xfer += oprot->writeString(this->hadoopJobId); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -13052,6 +13160,10 @@ void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b) { swap(a.workerid, b.workerid); swap(a.start, b.start); swap(a.runAs, b.runAs); + swap(a.hightestTxnId, b.hightestTxnId); + swap(a.metaInfo, b.metaInfo); + swap(a.endTime, b.endTime); + swap(a.hadoopJobId, b.hadoopJobId); swap(a.__isset, b.__isset); } @@ -13064,6 +13176,10 @@ ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponse workerid = other557.workerid; start = other557.start; runAs = other557.runAs; + hightestTxnId = other557.hightestTxnId; + metaInfo = other557.metaInfo; + endTime = other557.endTime; + hadoopJobId = other557.hadoopJobId; __isset = other557.__isset; } ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other558) { @@ -13075,22 +13191,29 @@ ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowComp workerid = other558.workerid; start = other558.start; runAs = other558.runAs; + hightestTxnId = other558.hightestTxnId; + metaInfo = other558.metaInfo; + endTime = other558.endTime; + hadoopJobId = other558.hadoopJobId; __isset = other558.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const ShowCompactResponseElement& obj) { - using apache::thrift::to_string; +void ShowCompactResponseElement::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "ShowCompactResponseElement("; - out << "dbname=" << to_string(obj.dbname); - out << ", " << "tablename=" << to_string(obj.tablename); - out << ", " << "partitionname="; (obj.__isset.partitionname ? (out << to_string(obj.partitionname)) : (out << "")); - out << ", " << "type=" << to_string(obj.type); - out << ", " << "state=" << to_string(obj.state); - out << ", " << "workerid="; (obj.__isset.workerid ? (out << to_string(obj.workerid)) : (out << "")); - out << ", " << "start="; (obj.__isset.start ? (out << to_string(obj.start)) : (out << "")); - out << ", " << "runAs="; (obj.__isset.runAs ? (out << to_string(obj.runAs)) : (out << "")); + out << "dbname=" << to_string(dbname); + out << ", " << "tablename=" << to_string(tablename); + out << ", " << "partitionname="; (__isset.partitionname ? (out << to_string(partitionname)) : (out << "")); + out << ", " << "type=" << to_string(type); + out << ", " << "state=" << to_string(state); + out << ", " << "workerid="; (__isset.workerid ? (out << to_string(workerid)) : (out << "")); + out << ", " << "start="; (__isset.start ? (out << to_string(start)) : (out << "")); + out << ", " << "runAs="; (__isset.runAs ? (out << to_string(runAs)) : (out << "")); + out << ", " << "hightestTxnId="; (__isset.hightestTxnId ? (out << to_string(hightestTxnId)) : (out << "")); + out << ", " << "metaInfo="; (__isset.metaInfo ? (out << to_string(metaInfo)) : (out << "")); + out << ", " << "endTime="; (__isset.endTime ? (out << to_string(endTime)) : (out << "")); + out << ", " << "hadoopJobId="; (__isset.hadoopJobId ? (out << to_string(hadoopJobId)) : (out << "")); out << ")"; - return out; } @@ -13102,11 +13225,9 @@ void ShowCompactResponse::__set_compacts(const std::vectorcompacts = val; } -const char* ShowCompactResponse::ascii_fingerprint = "915B7B8DB8966D65769C0F98707BBAE3"; -const uint8_t ShowCompactResponse::binary_fingerprint[16] = {0x91,0x5B,0x7B,0x8D,0xB8,0x96,0x6D,0x65,0x76,0x9C,0x0F,0x98,0x70,0x7B,0xBA,0xE3}; - uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -13162,7 +13283,7 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t ShowCompactResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ShowCompactResponse"); xfer += oprot->writeFieldBegin("compacts", ::apache::thrift::protocol::T_LIST, 1); @@ -13179,7 +13300,6 @@ uint32_t ShowCompactResponse::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -13195,12 +13315,11 @@ ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& o compacts = other566.compacts; return *this; } -std::ostream& operator<<(std::ostream& out, const ShowCompactResponse& obj) { - using apache::thrift::to_string; +void ShowCompactResponse::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "ShowCompactResponse("; - out << "compacts=" << to_string(obj.compacts); + out << "compacts=" << to_string(compacts); out << ")"; - return out; } @@ -13224,11 +13343,9 @@ void AddDynamicPartitions::__set_partitionnames(const std::vector & this->partitionnames = val; } -const char* AddDynamicPartitions::ascii_fingerprint = "A53A2B050DCCFE6A2158480A24E33898"; -const uint8_t AddDynamicPartitions::binary_fingerprint[16] = {0xA5,0x3A,0x2B,0x05,0x0D,0xCC,0xFE,0x6A,0x21,0x58,0x48,0x0A,0x24,0xE3,0x38,0x98}; - uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -13317,7 +13434,7 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot uint32_t AddDynamicPartitions::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("AddDynamicPartitions"); xfer += oprot->writeFieldBegin("txnid", ::apache::thrift::protocol::T_I64, 1); @@ -13346,7 +13463,6 @@ uint32_t AddDynamicPartitions::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -13371,15 +13487,14 @@ AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions partitionnames = other574.partitionnames; return *this; } -std::ostream& operator<<(std::ostream& out, const AddDynamicPartitions& obj) { - using apache::thrift::to_string; +void AddDynamicPartitions::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "AddDynamicPartitions("; - out << "txnid=" << to_string(obj.txnid); - out << ", " << "dbname=" << to_string(obj.dbname); - out << ", " << "tablename=" << to_string(obj.tablename); - out << ", " << "partitionnames=" << to_string(obj.partitionnames); + out << "txnid=" << to_string(txnid); + out << ", " << "dbname=" << to_string(dbname); + out << ", " << "tablename=" << to_string(tablename); + out << ", " << "partitionnames=" << to_string(partitionnames); out << ")"; - return out; } @@ -13396,11 +13511,9 @@ void NotificationEventRequest::__set_maxEvents(const int32_t val) { __isset.maxEvents = true; } -const char* NotificationEventRequest::ascii_fingerprint = "6E578DA8AB10EED824A75534350EBAEF"; -const uint8_t NotificationEventRequest::binary_fingerprint[16] = {0x6E,0x57,0x8D,0xA8,0xAB,0x10,0xEE,0xD8,0x24,0xA7,0x55,0x34,0x35,0x0E,0xBA,0xEF}; - uint32_t NotificationEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -13452,7 +13565,7 @@ uint32_t NotificationEventRequest::read(::apache::thrift::protocol::TProtocol* i uint32_t NotificationEventRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("NotificationEventRequest"); xfer += oprot->writeFieldBegin("lastEvent", ::apache::thrift::protocol::T_I64, 1); @@ -13466,7 +13579,6 @@ uint32_t NotificationEventRequest::write(::apache::thrift::protocol::TProtocol* } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -13488,13 +13600,12 @@ NotificationEventRequest& NotificationEventRequest::operator=(const Notification __isset = other576.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const NotificationEventRequest& obj) { - using apache::thrift::to_string; +void NotificationEventRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "NotificationEventRequest("; - out << "lastEvent=" << to_string(obj.lastEvent); - out << ", " << "maxEvents="; (obj.__isset.maxEvents ? (out << to_string(obj.maxEvents)) : (out << "")); + out << "lastEvent=" << to_string(lastEvent); + out << ", " << "maxEvents="; (__isset.maxEvents ? (out << to_string(maxEvents)) : (out << "")); out << ")"; - return out; } @@ -13528,11 +13639,9 @@ void NotificationEvent::__set_message(const std::string& val) { this->message = val; } -const char* NotificationEvent::ascii_fingerprint = "ACAF0036D9999F3A389F490F5E22D369"; -const uint8_t NotificationEvent::binary_fingerprint[16] = {0xAC,0xAF,0x00,0x36,0xD9,0x99,0x9F,0x3A,0x38,0x9F,0x49,0x0F,0x5E,0x22,0xD3,0x69}; - uint32_t NotificationEvent::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -13625,7 +13734,7 @@ uint32_t NotificationEvent::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t NotificationEvent::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("NotificationEvent"); xfer += oprot->writeFieldBegin("eventId", ::apache::thrift::protocol::T_I64, 1); @@ -13656,7 +13765,6 @@ uint32_t NotificationEvent::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -13690,17 +13798,16 @@ NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other57 __isset = other578.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const NotificationEvent& obj) { - using apache::thrift::to_string; +void NotificationEvent::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "NotificationEvent("; - out << "eventId=" << to_string(obj.eventId); - out << ", " << "eventTime=" << to_string(obj.eventTime); - out << ", " << "eventType=" << to_string(obj.eventType); - out << ", " << "dbName="; (obj.__isset.dbName ? (out << to_string(obj.dbName)) : (out << "")); - out << ", " << "tableName="; (obj.__isset.tableName ? (out << to_string(obj.tableName)) : (out << "")); - out << ", " << "message=" << to_string(obj.message); + out << "eventId=" << to_string(eventId); + out << ", " << "eventTime=" << to_string(eventTime); + out << ", " << "eventType=" << to_string(eventType); + out << ", " << "dbName="; (__isset.dbName ? (out << to_string(dbName)) : (out << "")); + out << ", " << "tableName="; (__isset.tableName ? (out << to_string(tableName)) : (out << "")); + out << ", " << "message=" << to_string(message); out << ")"; - return out; } @@ -13712,11 +13819,9 @@ void NotificationEventResponse::__set_events(const std::vectorevents = val; } -const char* NotificationEventResponse::ascii_fingerprint = "EE3DB23399639114BCD1782A0FB01818"; -const uint8_t NotificationEventResponse::binary_fingerprint[16] = {0xEE,0x3D,0xB2,0x33,0x99,0x63,0x91,0x14,0xBC,0xD1,0x78,0x2A,0x0F,0xB0,0x18,0x18}; - uint32_t NotificationEventResponse::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -13772,7 +13877,7 @@ uint32_t NotificationEventResponse::read(::apache::thrift::protocol::TProtocol* uint32_t NotificationEventResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("NotificationEventResponse"); xfer += oprot->writeFieldBegin("events", ::apache::thrift::protocol::T_LIST, 1); @@ -13789,7 +13894,6 @@ uint32_t NotificationEventResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -13805,12 +13909,11 @@ NotificationEventResponse& NotificationEventResponse::operator=(const Notificati events = other586.events; return *this; } -std::ostream& operator<<(std::ostream& out, const NotificationEventResponse& obj) { - using apache::thrift::to_string; +void NotificationEventResponse::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "NotificationEventResponse("; - out << "events=" << to_string(obj.events); + out << "events=" << to_string(events); out << ")"; - return out; } @@ -13822,11 +13925,9 @@ void CurrentNotificationEventId::__set_eventId(const int64_t val) { this->eventId = val; } -const char* CurrentNotificationEventId::ascii_fingerprint = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; -const uint8_t CurrentNotificationEventId::binary_fingerprint[16] = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; - uint32_t CurrentNotificationEventId::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -13870,7 +13971,7 @@ uint32_t CurrentNotificationEventId::read(::apache::thrift::protocol::TProtocol* uint32_t CurrentNotificationEventId::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("CurrentNotificationEventId"); xfer += oprot->writeFieldBegin("eventId", ::apache::thrift::protocol::T_I64, 1); @@ -13879,7 +13980,6 @@ uint32_t CurrentNotificationEventId::write(::apache::thrift::protocol::TProtocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -13895,12 +13995,11 @@ CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentN eventId = other588.eventId; return *this; } -std::ostream& operator<<(std::ostream& out, const CurrentNotificationEventId& obj) { - using apache::thrift::to_string; +void CurrentNotificationEventId::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "CurrentNotificationEventId("; - out << "eventId=" << to_string(obj.eventId); + out << "eventId=" << to_string(eventId); out << ")"; - return out; } @@ -13912,11 +14011,9 @@ void InsertEventRequestData::__set_filesAdded(const std::vector & v this->filesAdded = val; } -const char* InsertEventRequestData::ascii_fingerprint = "ACE4F644F0FDD289DDC4EE5B83BC13C0"; -const uint8_t InsertEventRequestData::binary_fingerprint[16] = {0xAC,0xE4,0xF6,0x44,0xF0,0xFD,0xD2,0x89,0xDD,0xC4,0xEE,0x5B,0x83,0xBC,0x13,0xC0}; - uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -13972,7 +14069,7 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr uint32_t InsertEventRequestData::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("InsertEventRequestData"); xfer += oprot->writeFieldBegin("filesAdded", ::apache::thrift::protocol::T_LIST, 1); @@ -13989,7 +14086,6 @@ uint32_t InsertEventRequestData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -14005,12 +14101,11 @@ InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventReque filesAdded = other596.filesAdded; return *this; } -std::ostream& operator<<(std::ostream& out, const InsertEventRequestData& obj) { - using apache::thrift::to_string; +void InsertEventRequestData::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "InsertEventRequestData("; - out << "filesAdded=" << to_string(obj.filesAdded); + out << "filesAdded=" << to_string(filesAdded); out << ")"; - return out; } @@ -14022,11 +14117,9 @@ void FireEventRequestData::__set_insertData(const InsertEventRequestData& val) { this->insertData = val; } -const char* FireEventRequestData::ascii_fingerprint = "187E754B26707EE32451E6A27FB672CE"; -const uint8_t FireEventRequestData::binary_fingerprint[16] = {0x18,0x7E,0x75,0x4B,0x26,0x70,0x7E,0xE3,0x24,0x51,0xE6,0xA2,0x7F,0xB6,0x72,0xCE}; - uint32_t FireEventRequestData::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -14067,7 +14160,7 @@ uint32_t FireEventRequestData::read(::apache::thrift::protocol::TProtocol* iprot uint32_t FireEventRequestData::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("FireEventRequestData"); xfer += oprot->writeFieldBegin("insertData", ::apache::thrift::protocol::T_STRUCT, 1); @@ -14076,7 +14169,6 @@ uint32_t FireEventRequestData::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -14095,12 +14187,11 @@ FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData __isset = other598.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const FireEventRequestData& obj) { - using apache::thrift::to_string; +void FireEventRequestData::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "FireEventRequestData("; - out << "insertData=" << to_string(obj.insertData); + out << "insertData=" << to_string(insertData); out << ")"; - return out; } @@ -14131,11 +14222,9 @@ void FireEventRequest::__set_partitionVals(const std::vector & val) __isset.partitionVals = true; } -const char* FireEventRequest::ascii_fingerprint = "1BA3A7F00159254072C3979B1429B50B"; -const uint8_t FireEventRequest::binary_fingerprint[16] = {0x1B,0xA3,0xA7,0xF0,0x01,0x59,0x25,0x40,0x72,0xC3,0x97,0x9B,0x14,0x29,0xB5,0x0B}; - uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -14226,7 +14315,7 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t FireEventRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("FireEventRequest"); xfer += oprot->writeFieldBegin("successful", ::apache::thrift::protocol::T_BOOL, 1); @@ -14262,7 +14351,6 @@ uint32_t FireEventRequest::write(::apache::thrift::protocol::TProtocol* oprot) c } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -14293,16 +14381,15 @@ FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other606) __isset = other606.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const FireEventRequest& obj) { - using apache::thrift::to_string; +void FireEventRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "FireEventRequest("; - out << "successful=" << to_string(obj.successful); - out << ", " << "data=" << to_string(obj.data); - out << ", " << "dbName="; (obj.__isset.dbName ? (out << to_string(obj.dbName)) : (out << "")); - out << ", " << "tableName="; (obj.__isset.tableName ? (out << to_string(obj.tableName)) : (out << "")); - out << ", " << "partitionVals="; (obj.__isset.partitionVals ? (out << to_string(obj.partitionVals)) : (out << "")); + out << "successful=" << to_string(successful); + out << ", " << "data=" << to_string(data); + out << ", " << "dbName="; (__isset.dbName ? (out << to_string(dbName)) : (out << "")); + out << ", " << "tableName="; (__isset.tableName ? (out << to_string(tableName)) : (out << "")); + out << ", " << "partitionVals="; (__isset.partitionVals ? (out << to_string(partitionVals)) : (out << "")); out << ")"; - return out; } @@ -14310,11 +14397,9 @@ FireEventResponse::~FireEventResponse() throw() { } -const char* FireEventResponse::ascii_fingerprint = "99914B932BD37A50B983C5E7C90AE93B"; -const uint8_t FireEventResponse::binary_fingerprint[16] = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - uint32_t FireEventResponse::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -14342,12 +14427,11 @@ uint32_t FireEventResponse::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t FireEventResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("FireEventResponse"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -14364,12 +14448,10 @@ FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other60 (void) other608; return *this; } -std::ostream& operator<<(std::ostream& out, const FireEventResponse& obj) { - using apache::thrift::to_string; - (void) obj; +void FireEventResponse::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "FireEventResponse("; out << ")"; - return out; } @@ -14382,11 +14464,9 @@ void GetAllFunctionsResponse::__set_functions(const std::vector & val) __isset.functions = true; } -const char* GetAllFunctionsResponse::ascii_fingerprint = "CEE0CA1D7402D4135EF7F42C0F0E0A68"; -const uint8_t GetAllFunctionsResponse::binary_fingerprint[16] = {0xCE,0xE0,0xCA,0x1D,0x74,0x02,0xD4,0x13,0x5E,0xF7,0xF4,0x2C,0x0F,0x0E,0x0A,0x68}; - uint32_t GetAllFunctionsResponse::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -14439,7 +14519,7 @@ uint32_t GetAllFunctionsResponse::read(::apache::thrift::protocol::TProtocol* ip uint32_t GetAllFunctionsResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("GetAllFunctionsResponse"); if (this->__isset.functions) { @@ -14457,7 +14537,6 @@ uint32_t GetAllFunctionsResponse::write(::apache::thrift::protocol::TProtocol* o } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -14476,12 +14555,11 @@ GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunction __isset = other616.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const GetAllFunctionsResponse& obj) { - using apache::thrift::to_string; +void GetAllFunctionsResponse::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "GetAllFunctionsResponse("; - out << "functions="; (obj.__isset.functions ? (out << to_string(obj.functions)) : (out << "")); + out << "functions="; (__isset.functions ? (out << to_string(functions)) : (out << "")); out << ")"; - return out; } @@ -14493,11 +14571,9 @@ void MetaException::__set_message(const std::string& val) { this->message = val; } -const char* MetaException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; -const uint8_t MetaException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - uint32_t MetaException::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -14538,7 +14614,7 @@ uint32_t MetaException::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t MetaException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("MetaException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -14547,7 +14623,6 @@ uint32_t MetaException::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -14566,12 +14641,22 @@ MetaException& MetaException::operator=(const MetaException& other618) { __isset = other618.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const MetaException& obj) { - using apache::thrift::to_string; +void MetaException::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "MetaException("; - out << "message=" << to_string(obj.message); + out << "message=" << to_string(message); out << ")"; - return out; +} + +const char* MetaException::what() const throw() { + try { + std::stringstream ss; + ss << "TException - service has thrown: " << *this; + this->thriftTExceptionMessageHolder_ = ss.str(); + return this->thriftTExceptionMessageHolder_.c_str(); + } catch (const std::exception&) { + return "TException - service has thrown: MetaException"; + } } @@ -14583,11 +14668,9 @@ void UnknownTableException::__set_message(const std::string& val) { this->message = val; } -const char* UnknownTableException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; -const uint8_t UnknownTableException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - uint32_t UnknownTableException::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -14628,7 +14711,7 @@ uint32_t UnknownTableException::read(::apache::thrift::protocol::TProtocol* ipro uint32_t UnknownTableException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("UnknownTableException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -14637,7 +14720,6 @@ uint32_t UnknownTableException::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -14656,12 +14738,22 @@ UnknownTableException& UnknownTableException::operator=(const UnknownTableExcept __isset = other620.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const UnknownTableException& obj) { - using apache::thrift::to_string; +void UnknownTableException::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "UnknownTableException("; - out << "message=" << to_string(obj.message); + out << "message=" << to_string(message); out << ")"; - return out; +} + +const char* UnknownTableException::what() const throw() { + try { + std::stringstream ss; + ss << "TException - service has thrown: " << *this; + this->thriftTExceptionMessageHolder_ = ss.str(); + return this->thriftTExceptionMessageHolder_.c_str(); + } catch (const std::exception&) { + return "TException - service has thrown: UnknownTableException"; + } } @@ -14673,11 +14765,9 @@ void UnknownDBException::__set_message(const std::string& val) { this->message = val; } -const char* UnknownDBException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; -const uint8_t UnknownDBException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - uint32_t UnknownDBException::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -14718,7 +14808,7 @@ uint32_t UnknownDBException::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t UnknownDBException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("UnknownDBException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -14727,7 +14817,6 @@ uint32_t UnknownDBException::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -14746,12 +14835,22 @@ UnknownDBException& UnknownDBException::operator=(const UnknownDBException& othe __isset = other622.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const UnknownDBException& obj) { - using apache::thrift::to_string; +void UnknownDBException::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "UnknownDBException("; - out << "message=" << to_string(obj.message); + out << "message=" << to_string(message); out << ")"; - return out; +} + +const char* UnknownDBException::what() const throw() { + try { + std::stringstream ss; + ss << "TException - service has thrown: " << *this; + this->thriftTExceptionMessageHolder_ = ss.str(); + return this->thriftTExceptionMessageHolder_.c_str(); + } catch (const std::exception&) { + return "TException - service has thrown: UnknownDBException"; + } } @@ -14763,11 +14862,9 @@ void AlreadyExistsException::__set_message(const std::string& val) { this->message = val; } -const char* AlreadyExistsException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; -const uint8_t AlreadyExistsException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - uint32_t AlreadyExistsException::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -14808,7 +14905,7 @@ uint32_t AlreadyExistsException::read(::apache::thrift::protocol::TProtocol* ipr uint32_t AlreadyExistsException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("AlreadyExistsException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -14817,7 +14914,6 @@ uint32_t AlreadyExistsException::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -14836,12 +14932,22 @@ AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsExc __isset = other624.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const AlreadyExistsException& obj) { - using apache::thrift::to_string; +void AlreadyExistsException::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "AlreadyExistsException("; - out << "message=" << to_string(obj.message); + out << "message=" << to_string(message); out << ")"; - return out; +} + +const char* AlreadyExistsException::what() const throw() { + try { + std::stringstream ss; + ss << "TException - service has thrown: " << *this; + this->thriftTExceptionMessageHolder_ = ss.str(); + return this->thriftTExceptionMessageHolder_.c_str(); + } catch (const std::exception&) { + return "TException - service has thrown: AlreadyExistsException"; + } } @@ -14853,11 +14959,9 @@ void InvalidPartitionException::__set_message(const std::string& val) { this->message = val; } -const char* InvalidPartitionException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; -const uint8_t InvalidPartitionException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - uint32_t InvalidPartitionException::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -14898,7 +15002,7 @@ uint32_t InvalidPartitionException::read(::apache::thrift::protocol::TProtocol* uint32_t InvalidPartitionException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("InvalidPartitionException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -14907,7 +15011,6 @@ uint32_t InvalidPartitionException::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -14926,12 +15029,22 @@ InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPar __isset = other626.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const InvalidPartitionException& obj) { - using apache::thrift::to_string; +void InvalidPartitionException::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "InvalidPartitionException("; - out << "message=" << to_string(obj.message); + out << "message=" << to_string(message); out << ")"; - return out; +} + +const char* InvalidPartitionException::what() const throw() { + try { + std::stringstream ss; + ss << "TException - service has thrown: " << *this; + this->thriftTExceptionMessageHolder_ = ss.str(); + return this->thriftTExceptionMessageHolder_.c_str(); + } catch (const std::exception&) { + return "TException - service has thrown: InvalidPartitionException"; + } } @@ -14943,11 +15056,9 @@ void UnknownPartitionException::__set_message(const std::string& val) { this->message = val; } -const char* UnknownPartitionException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; -const uint8_t UnknownPartitionException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - uint32_t UnknownPartitionException::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -14988,7 +15099,7 @@ uint32_t UnknownPartitionException::read(::apache::thrift::protocol::TProtocol* uint32_t UnknownPartitionException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("UnknownPartitionException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -14997,7 +15108,6 @@ uint32_t UnknownPartitionException::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -15016,12 +15126,22 @@ UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPar __isset = other628.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const UnknownPartitionException& obj) { - using apache::thrift::to_string; +void UnknownPartitionException::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "UnknownPartitionException("; - out << "message=" << to_string(obj.message); + out << "message=" << to_string(message); out << ")"; - return out; +} + +const char* UnknownPartitionException::what() const throw() { + try { + std::stringstream ss; + ss << "TException - service has thrown: " << *this; + this->thriftTExceptionMessageHolder_ = ss.str(); + return this->thriftTExceptionMessageHolder_.c_str(); + } catch (const std::exception&) { + return "TException - service has thrown: UnknownPartitionException"; + } } @@ -15033,11 +15153,9 @@ void InvalidObjectException::__set_message(const std::string& val) { this->message = val; } -const char* InvalidObjectException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; -const uint8_t InvalidObjectException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - uint32_t InvalidObjectException::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -15078,7 +15196,7 @@ uint32_t InvalidObjectException::read(::apache::thrift::protocol::TProtocol* ipr uint32_t InvalidObjectException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("InvalidObjectException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -15087,7 +15205,6 @@ uint32_t InvalidObjectException::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -15106,12 +15223,22 @@ InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectExc __isset = other630.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const InvalidObjectException& obj) { - using apache::thrift::to_string; +void InvalidObjectException::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "InvalidObjectException("; - out << "message=" << to_string(obj.message); + out << "message=" << to_string(message); out << ")"; - return out; +} + +const char* InvalidObjectException::what() const throw() { + try { + std::stringstream ss; + ss << "TException - service has thrown: " << *this; + this->thriftTExceptionMessageHolder_ = ss.str(); + return this->thriftTExceptionMessageHolder_.c_str(); + } catch (const std::exception&) { + return "TException - service has thrown: InvalidObjectException"; + } } @@ -15123,11 +15250,9 @@ void NoSuchObjectException::__set_message(const std::string& val) { this->message = val; } -const char* NoSuchObjectException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; -const uint8_t NoSuchObjectException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - uint32_t NoSuchObjectException::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -15168,7 +15293,7 @@ uint32_t NoSuchObjectException::read(::apache::thrift::protocol::TProtocol* ipro uint32_t NoSuchObjectException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("NoSuchObjectException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -15177,7 +15302,6 @@ uint32_t NoSuchObjectException::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -15196,12 +15320,22 @@ NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectExcept __isset = other632.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const NoSuchObjectException& obj) { - using apache::thrift::to_string; +void NoSuchObjectException::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "NoSuchObjectException("; - out << "message=" << to_string(obj.message); + out << "message=" << to_string(message); out << ")"; - return out; +} + +const char* NoSuchObjectException::what() const throw() { + try { + std::stringstream ss; + ss << "TException - service has thrown: " << *this; + this->thriftTExceptionMessageHolder_ = ss.str(); + return this->thriftTExceptionMessageHolder_.c_str(); + } catch (const std::exception&) { + return "TException - service has thrown: NoSuchObjectException"; + } } @@ -15213,11 +15347,9 @@ void IndexAlreadyExistsException::__set_message(const std::string& val) { this->message = val; } -const char* IndexAlreadyExistsException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; -const uint8_t IndexAlreadyExistsException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - uint32_t IndexAlreadyExistsException::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -15258,7 +15390,7 @@ uint32_t IndexAlreadyExistsException::read(::apache::thrift::protocol::TProtocol uint32_t IndexAlreadyExistsException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("IndexAlreadyExistsException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -15267,7 +15399,6 @@ uint32_t IndexAlreadyExistsException::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -15286,12 +15417,22 @@ IndexAlreadyExistsException& IndexAlreadyExistsException::operator=(const IndexA __isset = other634.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const IndexAlreadyExistsException& obj) { - using apache::thrift::to_string; +void IndexAlreadyExistsException::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "IndexAlreadyExistsException("; - out << "message=" << to_string(obj.message); + out << "message=" << to_string(message); out << ")"; - return out; +} + +const char* IndexAlreadyExistsException::what() const throw() { + try { + std::stringstream ss; + ss << "TException - service has thrown: " << *this; + this->thriftTExceptionMessageHolder_ = ss.str(); + return this->thriftTExceptionMessageHolder_.c_str(); + } catch (const std::exception&) { + return "TException - service has thrown: IndexAlreadyExistsException"; + } } @@ -15303,11 +15444,9 @@ void InvalidOperationException::__set_message(const std::string& val) { this->message = val; } -const char* InvalidOperationException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; -const uint8_t InvalidOperationException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - uint32_t InvalidOperationException::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -15348,7 +15487,7 @@ uint32_t InvalidOperationException::read(::apache::thrift::protocol::TProtocol* uint32_t InvalidOperationException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("InvalidOperationException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -15357,7 +15496,6 @@ uint32_t InvalidOperationException::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -15376,12 +15514,22 @@ InvalidOperationException& InvalidOperationException::operator=(const InvalidOpe __isset = other636.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const InvalidOperationException& obj) { - using apache::thrift::to_string; +void InvalidOperationException::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "InvalidOperationException("; - out << "message=" << to_string(obj.message); + out << "message=" << to_string(message); out << ")"; - return out; +} + +const char* InvalidOperationException::what() const throw() { + try { + std::stringstream ss; + ss << "TException - service has thrown: " << *this; + this->thriftTExceptionMessageHolder_ = ss.str(); + return this->thriftTExceptionMessageHolder_.c_str(); + } catch (const std::exception&) { + return "TException - service has thrown: InvalidOperationException"; + } } @@ -15393,11 +15541,9 @@ void ConfigValSecurityException::__set_message(const std::string& val) { this->message = val; } -const char* ConfigValSecurityException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; -const uint8_t ConfigValSecurityException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - uint32_t ConfigValSecurityException::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -15438,7 +15584,7 @@ uint32_t ConfigValSecurityException::read(::apache::thrift::protocol::TProtocol* uint32_t ConfigValSecurityException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ConfigValSecurityException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -15447,7 +15593,6 @@ uint32_t ConfigValSecurityException::write(::apache::thrift::protocol::TProtocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -15466,12 +15611,22 @@ ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigVa __isset = other638.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const ConfigValSecurityException& obj) { - using apache::thrift::to_string; +void ConfigValSecurityException::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "ConfigValSecurityException("; - out << "message=" << to_string(obj.message); + out << "message=" << to_string(message); out << ")"; - return out; +} + +const char* ConfigValSecurityException::what() const throw() { + try { + std::stringstream ss; + ss << "TException - service has thrown: " << *this; + this->thriftTExceptionMessageHolder_ = ss.str(); + return this->thriftTExceptionMessageHolder_.c_str(); + } catch (const std::exception&) { + return "TException - service has thrown: ConfigValSecurityException"; + } } @@ -15483,11 +15638,9 @@ void InvalidInputException::__set_message(const std::string& val) { this->message = val; } -const char* InvalidInputException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; -const uint8_t InvalidInputException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - uint32_t InvalidInputException::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -15528,7 +15681,7 @@ uint32_t InvalidInputException::read(::apache::thrift::protocol::TProtocol* ipro uint32_t InvalidInputException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("InvalidInputException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -15537,7 +15690,6 @@ uint32_t InvalidInputException::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -15556,12 +15708,22 @@ InvalidInputException& InvalidInputException::operator=(const InvalidInputExcept __isset = other640.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const InvalidInputException& obj) { - using apache::thrift::to_string; +void InvalidInputException::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "InvalidInputException("; - out << "message=" << to_string(obj.message); + out << "message=" << to_string(message); out << ")"; - return out; +} + +const char* InvalidInputException::what() const throw() { + try { + std::stringstream ss; + ss << "TException - service has thrown: " << *this; + this->thriftTExceptionMessageHolder_ = ss.str(); + return this->thriftTExceptionMessageHolder_.c_str(); + } catch (const std::exception&) { + return "TException - service has thrown: InvalidInputException"; + } } @@ -15573,11 +15735,9 @@ void NoSuchTxnException::__set_message(const std::string& val) { this->message = val; } -const char* NoSuchTxnException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; -const uint8_t NoSuchTxnException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - uint32_t NoSuchTxnException::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -15618,7 +15778,7 @@ uint32_t NoSuchTxnException::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t NoSuchTxnException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("NoSuchTxnException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -15627,7 +15787,6 @@ uint32_t NoSuchTxnException::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -15646,12 +15805,22 @@ NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& othe __isset = other642.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const NoSuchTxnException& obj) { - using apache::thrift::to_string; +void NoSuchTxnException::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "NoSuchTxnException("; - out << "message=" << to_string(obj.message); + out << "message=" << to_string(message); out << ")"; - return out; +} + +const char* NoSuchTxnException::what() const throw() { + try { + std::stringstream ss; + ss << "TException - service has thrown: " << *this; + this->thriftTExceptionMessageHolder_ = ss.str(); + return this->thriftTExceptionMessageHolder_.c_str(); + } catch (const std::exception&) { + return "TException - service has thrown: NoSuchTxnException"; + } } @@ -15663,11 +15832,9 @@ void TxnAbortedException::__set_message(const std::string& val) { this->message = val; } -const char* TxnAbortedException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; -const uint8_t TxnAbortedException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - uint32_t TxnAbortedException::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -15708,7 +15875,7 @@ uint32_t TxnAbortedException::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t TxnAbortedException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TxnAbortedException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -15717,7 +15884,6 @@ uint32_t TxnAbortedException::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -15736,12 +15902,22 @@ TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& o __isset = other644.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TxnAbortedException& obj) { - using apache::thrift::to_string; +void TxnAbortedException::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TxnAbortedException("; - out << "message=" << to_string(obj.message); + out << "message=" << to_string(message); out << ")"; - return out; +} + +const char* TxnAbortedException::what() const throw() { + try { + std::stringstream ss; + ss << "TException - service has thrown: " << *this; + this->thriftTExceptionMessageHolder_ = ss.str(); + return this->thriftTExceptionMessageHolder_.c_str(); + } catch (const std::exception&) { + return "TException - service has thrown: TxnAbortedException"; + } } @@ -15753,11 +15929,9 @@ void TxnOpenException::__set_message(const std::string& val) { this->message = val; } -const char* TxnOpenException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; -const uint8_t TxnOpenException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - uint32_t TxnOpenException::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -15798,7 +15972,7 @@ uint32_t TxnOpenException::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TxnOpenException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TxnOpenException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -15807,7 +15981,6 @@ uint32_t TxnOpenException::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -15826,12 +15999,22 @@ TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other646) __isset = other646.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TxnOpenException& obj) { - using apache::thrift::to_string; +void TxnOpenException::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TxnOpenException("; - out << "message=" << to_string(obj.message); + out << "message=" << to_string(message); out << ")"; - return out; +} + +const char* TxnOpenException::what() const throw() { + try { + std::stringstream ss; + ss << "TException - service has thrown: " << *this; + this->thriftTExceptionMessageHolder_ = ss.str(); + return this->thriftTExceptionMessageHolder_.c_str(); + } catch (const std::exception&) { + return "TException - service has thrown: TxnOpenException"; + } } @@ -15843,11 +16026,9 @@ void NoSuchLockException::__set_message(const std::string& val) { this->message = val; } -const char* NoSuchLockException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; -const uint8_t NoSuchLockException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - uint32_t NoSuchLockException::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -15888,7 +16069,7 @@ uint32_t NoSuchLockException::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t NoSuchLockException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("NoSuchLockException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -15897,7 +16078,6 @@ uint32_t NoSuchLockException::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -15916,12 +16096,22 @@ NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& o __isset = other648.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const NoSuchLockException& obj) { - using apache::thrift::to_string; +void NoSuchLockException::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "NoSuchLockException("; - out << "message=" << to_string(obj.message); + out << "message=" << to_string(message); out << ")"; - return out; +} + +const char* NoSuchLockException::what() const throw() { + try { + std::stringstream ss; + ss << "TException - service has thrown: " << *this; + this->thriftTExceptionMessageHolder_ = ss.str(); + return this->thriftTExceptionMessageHolder_.c_str(); + } catch (const std::exception&) { + return "TException - service has thrown: NoSuchLockException"; + } } }}} // namespace diff --git metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h index 36110e6..7039a75 100644 --- metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h +++ metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -364,9 +364,6 @@ typedef struct _Version__isset { class Version { public: - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - Version(const Version&); Version& operator=(const Version&); Version() : version(), comments() { @@ -399,11 +396,17 @@ class Version { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const Version& obj); + virtual void printTo(std::ostream& out) const; }; void swap(Version &a, Version &b); +inline std::ostream& operator<<(std::ostream& out, const Version& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _FieldSchema__isset { _FieldSchema__isset() : name(false), type(false), comment(false) {} bool name :1; @@ -414,9 +417,6 @@ typedef struct _FieldSchema__isset { class FieldSchema { public: - static const char* ascii_fingerprint; // = "AB879940BD15B6B25691265F7384B271"; - static const uint8_t binary_fingerprint[16]; // = {0xAB,0x87,0x99,0x40,0xBD,0x15,0xB6,0xB2,0x56,0x91,0x26,0x5F,0x73,0x84,0xB2,0x71}; - FieldSchema(const FieldSchema&); FieldSchema& operator=(const FieldSchema&); FieldSchema() : name(), type(), comment() { @@ -454,11 +454,17 @@ class FieldSchema { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const FieldSchema& obj); + virtual void printTo(std::ostream& out) const; }; void swap(FieldSchema &a, FieldSchema &b); +inline std::ostream& operator<<(std::ostream& out, const FieldSchema& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _Type__isset { _Type__isset() : name(false), type1(false), type2(false), fields(false) {} bool name :1; @@ -470,9 +476,6 @@ typedef struct _Type__isset { class Type { public: - static const char* ascii_fingerprint; // = "20DF02DE523C27F7066C7BD4D9120842"; - static const uint8_t binary_fingerprint[16]; // = {0x20,0xDF,0x02,0xDE,0x52,0x3C,0x27,0xF7,0x06,0x6C,0x7B,0xD4,0xD9,0x12,0x08,0x42}; - Type(const Type&); Type& operator=(const Type&); Type() : name(), type1(), type2() { @@ -521,11 +524,17 @@ class Type { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const Type& obj); + virtual void printTo(std::ostream& out) const; }; void swap(Type &a, Type &b); +inline std::ostream& operator<<(std::ostream& out, const Type& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _HiveObjectRef__isset { _HiveObjectRef__isset() : objectType(false), dbName(false), objectName(false), partValues(false), columnName(false) {} bool objectType :1; @@ -538,9 +547,6 @@ typedef struct _HiveObjectRef__isset { class HiveObjectRef { public: - static const char* ascii_fingerprint; // = "205CD8311CF3AA9EC161BAEF8D7C933C"; - static const uint8_t binary_fingerprint[16]; // = {0x20,0x5C,0xD8,0x31,0x1C,0xF3,0xAA,0x9E,0xC1,0x61,0xBA,0xEF,0x8D,0x7C,0x93,0x3C}; - HiveObjectRef(const HiveObjectRef&); HiveObjectRef& operator=(const HiveObjectRef&); HiveObjectRef() : objectType((HiveObjectType::type)0), dbName(), objectName(), columnName() { @@ -588,11 +594,17 @@ class HiveObjectRef { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const HiveObjectRef& obj); + virtual void printTo(std::ostream& out) const; }; void swap(HiveObjectRef &a, HiveObjectRef &b); +inline std::ostream& operator<<(std::ostream& out, const HiveObjectRef& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _PrivilegeGrantInfo__isset { _PrivilegeGrantInfo__isset() : privilege(false), createTime(false), grantor(false), grantorType(false), grantOption(false) {} bool privilege :1; @@ -605,9 +617,6 @@ typedef struct _PrivilegeGrantInfo__isset { class PrivilegeGrantInfo { public: - static const char* ascii_fingerprint; // = "A58923AF7294BE492D6F90E07E8CEE1F"; - static const uint8_t binary_fingerprint[16]; // = {0xA5,0x89,0x23,0xAF,0x72,0x94,0xBE,0x49,0x2D,0x6F,0x90,0xE0,0x7E,0x8C,0xEE,0x1F}; - PrivilegeGrantInfo(const PrivilegeGrantInfo&); PrivilegeGrantInfo& operator=(const PrivilegeGrantInfo&); PrivilegeGrantInfo() : privilege(), createTime(0), grantor(), grantorType((PrincipalType::type)0), grantOption(0) { @@ -655,11 +664,17 @@ class PrivilegeGrantInfo { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const PrivilegeGrantInfo& obj); + virtual void printTo(std::ostream& out) const; }; void swap(PrivilegeGrantInfo &a, PrivilegeGrantInfo &b); +inline std::ostream& operator<<(std::ostream& out, const PrivilegeGrantInfo& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _HiveObjectPrivilege__isset { _HiveObjectPrivilege__isset() : hiveObject(false), principalName(false), principalType(false), grantInfo(false) {} bool hiveObject :1; @@ -671,9 +686,6 @@ typedef struct _HiveObjectPrivilege__isset { class HiveObjectPrivilege { public: - static const char* ascii_fingerprint; // = "83D71969B23BD853E29DBA9D43B29AF8"; - static const uint8_t binary_fingerprint[16]; // = {0x83,0xD7,0x19,0x69,0xB2,0x3B,0xD8,0x53,0xE2,0x9D,0xBA,0x9D,0x43,0xB2,0x9A,0xF8}; - HiveObjectPrivilege(const HiveObjectPrivilege&); HiveObjectPrivilege& operator=(const HiveObjectPrivilege&); HiveObjectPrivilege() : principalName(), principalType((PrincipalType::type)0) { @@ -716,11 +728,17 @@ class HiveObjectPrivilege { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const HiveObjectPrivilege& obj); + virtual void printTo(std::ostream& out) const; }; void swap(HiveObjectPrivilege &a, HiveObjectPrivilege &b); +inline std::ostream& operator<<(std::ostream& out, const HiveObjectPrivilege& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _PrivilegeBag__isset { _PrivilegeBag__isset() : privileges(false) {} bool privileges :1; @@ -729,9 +747,6 @@ typedef struct _PrivilegeBag__isset { class PrivilegeBag { public: - static const char* ascii_fingerprint; // = "BB89E4701B7B709B046A74C90B1147F2"; - static const uint8_t binary_fingerprint[16]; // = {0xBB,0x89,0xE4,0x70,0x1B,0x7B,0x70,0x9B,0x04,0x6A,0x74,0xC9,0x0B,0x11,0x47,0xF2}; - PrivilegeBag(const PrivilegeBag&); PrivilegeBag& operator=(const PrivilegeBag&); PrivilegeBag() { @@ -759,11 +774,17 @@ class PrivilegeBag { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const PrivilegeBag& obj); + virtual void printTo(std::ostream& out) const; }; void swap(PrivilegeBag &a, PrivilegeBag &b); +inline std::ostream& operator<<(std::ostream& out, const PrivilegeBag& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _PrincipalPrivilegeSet__isset { _PrincipalPrivilegeSet__isset() : userPrivileges(false), groupPrivileges(false), rolePrivileges(false) {} bool userPrivileges :1; @@ -774,9 +795,6 @@ typedef struct _PrincipalPrivilegeSet__isset { class PrincipalPrivilegeSet { public: - static const char* ascii_fingerprint; // = "08F75D2533906EA87BE34EA640856683"; - static const uint8_t binary_fingerprint[16]; // = {0x08,0xF7,0x5D,0x25,0x33,0x90,0x6E,0xA8,0x7B,0xE3,0x4E,0xA6,0x40,0x85,0x66,0x83}; - PrincipalPrivilegeSet(const PrincipalPrivilegeSet&); PrincipalPrivilegeSet& operator=(const PrincipalPrivilegeSet&); PrincipalPrivilegeSet() { @@ -814,11 +832,17 @@ class PrincipalPrivilegeSet { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const PrincipalPrivilegeSet& obj); + virtual void printTo(std::ostream& out) const; }; void swap(PrincipalPrivilegeSet &a, PrincipalPrivilegeSet &b); +inline std::ostream& operator<<(std::ostream& out, const PrincipalPrivilegeSet& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _GrantRevokePrivilegeRequest__isset { _GrantRevokePrivilegeRequest__isset() : requestType(false), privileges(false), revokeGrantOption(false) {} bool requestType :1; @@ -829,9 +853,6 @@ typedef struct _GrantRevokePrivilegeRequest__isset { class GrantRevokePrivilegeRequest { public: - static const char* ascii_fingerprint; // = "DF474A3CB526AD40DC0F2C3702F7AA2C"; - static const uint8_t binary_fingerprint[16]; // = {0xDF,0x47,0x4A,0x3C,0xB5,0x26,0xAD,0x40,0xDC,0x0F,0x2C,0x37,0x02,0xF7,0xAA,0x2C}; - GrantRevokePrivilegeRequest(const GrantRevokePrivilegeRequest&); GrantRevokePrivilegeRequest& operator=(const GrantRevokePrivilegeRequest&); GrantRevokePrivilegeRequest() : requestType((GrantRevokeType::type)0), revokeGrantOption(0) { @@ -871,11 +892,17 @@ class GrantRevokePrivilegeRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const GrantRevokePrivilegeRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(GrantRevokePrivilegeRequest &a, GrantRevokePrivilegeRequest &b); +inline std::ostream& operator<<(std::ostream& out, const GrantRevokePrivilegeRequest& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _GrantRevokePrivilegeResponse__isset { _GrantRevokePrivilegeResponse__isset() : success(false) {} bool success :1; @@ -884,9 +911,6 @@ typedef struct _GrantRevokePrivilegeResponse__isset { class GrantRevokePrivilegeResponse { public: - static const char* ascii_fingerprint; // = "BF054652DEF86253C2BEE7D947F167DD"; - static const uint8_t binary_fingerprint[16]; // = {0xBF,0x05,0x46,0x52,0xDE,0xF8,0x62,0x53,0xC2,0xBE,0xE7,0xD9,0x47,0xF1,0x67,0xDD}; - GrantRevokePrivilegeResponse(const GrantRevokePrivilegeResponse&); GrantRevokePrivilegeResponse& operator=(const GrantRevokePrivilegeResponse&); GrantRevokePrivilegeResponse() : success(0) { @@ -916,11 +940,17 @@ class GrantRevokePrivilegeResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const GrantRevokePrivilegeResponse& obj); + virtual void printTo(std::ostream& out) const; }; void swap(GrantRevokePrivilegeResponse &a, GrantRevokePrivilegeResponse &b); +inline std::ostream& operator<<(std::ostream& out, const GrantRevokePrivilegeResponse& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _Role__isset { _Role__isset() : roleName(false), createTime(false), ownerName(false) {} bool roleName :1; @@ -931,9 +961,6 @@ typedef struct _Role__isset { class Role { public: - static const char* ascii_fingerprint; // = "70563A0628F75DF9555F4D24690B1E26"; - static const uint8_t binary_fingerprint[16]; // = {0x70,0x56,0x3A,0x06,0x28,0xF7,0x5D,0xF9,0x55,0x5F,0x4D,0x24,0x69,0x0B,0x1E,0x26}; - Role(const Role&); Role& operator=(const Role&); Role() : roleName(), createTime(0), ownerName() { @@ -971,11 +998,17 @@ class Role { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const Role& obj); + virtual void printTo(std::ostream& out) const; }; void swap(Role &a, Role &b); +inline std::ostream& operator<<(std::ostream& out, const Role& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _RolePrincipalGrant__isset { _RolePrincipalGrant__isset() : roleName(false), principalName(false), principalType(false), grantOption(false), grantTime(false), grantorName(false), grantorPrincipalType(false) {} bool roleName :1; @@ -990,9 +1023,6 @@ typedef struct _RolePrincipalGrant__isset { class RolePrincipalGrant { public: - static const char* ascii_fingerprint; // = "899BA3F6214DD1B79D27206BA857C772"; - static const uint8_t binary_fingerprint[16]; // = {0x89,0x9B,0xA3,0xF6,0x21,0x4D,0xD1,0xB7,0x9D,0x27,0x20,0x6B,0xA8,0x57,0xC7,0x72}; - RolePrincipalGrant(const RolePrincipalGrant&); RolePrincipalGrant& operator=(const RolePrincipalGrant&); RolePrincipalGrant() : roleName(), principalName(), principalType((PrincipalType::type)0), grantOption(0), grantTime(0), grantorName(), grantorPrincipalType((PrincipalType::type)0) { @@ -1050,18 +1080,21 @@ class RolePrincipalGrant { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const RolePrincipalGrant& obj); + virtual void printTo(std::ostream& out) const; }; void swap(RolePrincipalGrant &a, RolePrincipalGrant &b); +inline std::ostream& operator<<(std::ostream& out, const RolePrincipalGrant& obj) +{ + obj.printTo(out); + return out; +} + class GetRoleGrantsForPrincipalRequest { public: - static const char* ascii_fingerprint; // = "D6FD826D949221396F4FFC3ECCD3D192"; - static const uint8_t binary_fingerprint[16]; // = {0xD6,0xFD,0x82,0x6D,0x94,0x92,0x21,0x39,0x6F,0x4F,0xFC,0x3E,0xCC,0xD3,0xD1,0x92}; - GetRoleGrantsForPrincipalRequest(const GetRoleGrantsForPrincipalRequest&); GetRoleGrantsForPrincipalRequest& operator=(const GetRoleGrantsForPrincipalRequest&); GetRoleGrantsForPrincipalRequest() : principal_name(), principal_type((PrincipalType::type)0) { @@ -1092,18 +1125,21 @@ class GetRoleGrantsForPrincipalRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const GetRoleGrantsForPrincipalRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(GetRoleGrantsForPrincipalRequest &a, GetRoleGrantsForPrincipalRequest &b); +inline std::ostream& operator<<(std::ostream& out, const GetRoleGrantsForPrincipalRequest& obj) +{ + obj.printTo(out); + return out; +} + class GetRoleGrantsForPrincipalResponse { public: - static const char* ascii_fingerprint; // = "5926B4B3541A62E17663820C7E3BE690"; - static const uint8_t binary_fingerprint[16]; // = {0x59,0x26,0xB4,0xB3,0x54,0x1A,0x62,0xE1,0x76,0x63,0x82,0x0C,0x7E,0x3B,0xE6,0x90}; - GetRoleGrantsForPrincipalResponse(const GetRoleGrantsForPrincipalResponse&); GetRoleGrantsForPrincipalResponse& operator=(const GetRoleGrantsForPrincipalResponse&); GetRoleGrantsForPrincipalResponse() { @@ -1129,18 +1165,21 @@ class GetRoleGrantsForPrincipalResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const GetRoleGrantsForPrincipalResponse& obj); + virtual void printTo(std::ostream& out) const; }; void swap(GetRoleGrantsForPrincipalResponse &a, GetRoleGrantsForPrincipalResponse &b); +inline std::ostream& operator<<(std::ostream& out, const GetRoleGrantsForPrincipalResponse& obj) +{ + obj.printTo(out); + return out; +} + class GetPrincipalsInRoleRequest { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - GetPrincipalsInRoleRequest(const GetPrincipalsInRoleRequest&); GetPrincipalsInRoleRequest& operator=(const GetPrincipalsInRoleRequest&); GetPrincipalsInRoleRequest() : roleName() { @@ -1166,18 +1205,21 @@ class GetPrincipalsInRoleRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const GetPrincipalsInRoleRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(GetPrincipalsInRoleRequest &a, GetPrincipalsInRoleRequest &b); +inline std::ostream& operator<<(std::ostream& out, const GetPrincipalsInRoleRequest& obj) +{ + obj.printTo(out); + return out; +} + class GetPrincipalsInRoleResponse { public: - static const char* ascii_fingerprint; // = "5926B4B3541A62E17663820C7E3BE690"; - static const uint8_t binary_fingerprint[16]; // = {0x59,0x26,0xB4,0xB3,0x54,0x1A,0x62,0xE1,0x76,0x63,0x82,0x0C,0x7E,0x3B,0xE6,0x90}; - GetPrincipalsInRoleResponse(const GetPrincipalsInRoleResponse&); GetPrincipalsInRoleResponse& operator=(const GetPrincipalsInRoleResponse&); GetPrincipalsInRoleResponse() { @@ -1203,11 +1245,17 @@ class GetPrincipalsInRoleResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const GetPrincipalsInRoleResponse& obj); + virtual void printTo(std::ostream& out) const; }; void swap(GetPrincipalsInRoleResponse &a, GetPrincipalsInRoleResponse &b); +inline std::ostream& operator<<(std::ostream& out, const GetPrincipalsInRoleResponse& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _GrantRevokeRoleRequest__isset { _GrantRevokeRoleRequest__isset() : requestType(false), roleName(false), principalName(false), principalType(false), grantor(false), grantorType(false), grantOption(false) {} bool requestType :1; @@ -1222,9 +1270,6 @@ typedef struct _GrantRevokeRoleRequest__isset { class GrantRevokeRoleRequest { public: - static const char* ascii_fingerprint; // = "907DEA796F2BA7AF76DC2566E75FAEE7"; - static const uint8_t binary_fingerprint[16]; // = {0x90,0x7D,0xEA,0x79,0x6F,0x2B,0xA7,0xAF,0x76,0xDC,0x25,0x66,0xE7,0x5F,0xAE,0xE7}; - GrantRevokeRoleRequest(const GrantRevokeRoleRequest&); GrantRevokeRoleRequest& operator=(const GrantRevokeRoleRequest&); GrantRevokeRoleRequest() : requestType((GrantRevokeType::type)0), roleName(), principalName(), principalType((PrincipalType::type)0), grantor(), grantorType((PrincipalType::type)0), grantOption(0) { @@ -1288,11 +1333,17 @@ class GrantRevokeRoleRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const GrantRevokeRoleRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(GrantRevokeRoleRequest &a, GrantRevokeRoleRequest &b); +inline std::ostream& operator<<(std::ostream& out, const GrantRevokeRoleRequest& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _GrantRevokeRoleResponse__isset { _GrantRevokeRoleResponse__isset() : success(false) {} bool success :1; @@ -1301,9 +1352,6 @@ typedef struct _GrantRevokeRoleResponse__isset { class GrantRevokeRoleResponse { public: - static const char* ascii_fingerprint; // = "BF054652DEF86253C2BEE7D947F167DD"; - static const uint8_t binary_fingerprint[16]; // = {0xBF,0x05,0x46,0x52,0xDE,0xF8,0x62,0x53,0xC2,0xBE,0xE7,0xD9,0x47,0xF1,0x67,0xDD}; - GrantRevokeRoleResponse(const GrantRevokeRoleResponse&); GrantRevokeRoleResponse& operator=(const GrantRevokeRoleResponse&); GrantRevokeRoleResponse() : success(0) { @@ -1333,11 +1381,17 @@ class GrantRevokeRoleResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const GrantRevokeRoleResponse& obj); + virtual void printTo(std::ostream& out) const; }; void swap(GrantRevokeRoleResponse &a, GrantRevokeRoleResponse &b); +inline std::ostream& operator<<(std::ostream& out, const GrantRevokeRoleResponse& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _Database__isset { _Database__isset() : name(false), description(false), locationUri(false), parameters(false), privileges(false), ownerName(false), ownerType(false) {} bool name :1; @@ -1352,9 +1406,6 @@ typedef struct _Database__isset { class Database { public: - static const char* ascii_fingerprint; // = "553495CAE243A1C583D5C3DD990AED53"; - static const uint8_t binary_fingerprint[16]; // = {0x55,0x34,0x95,0xCA,0xE2,0x43,0xA1,0xC5,0x83,0xD5,0xC3,0xDD,0x99,0x0A,0xED,0x53}; - Database(const Database&); Database& operator=(const Database&); Database() : name(), description(), locationUri(), ownerName(), ownerType((PrincipalType::type)0) { @@ -1418,11 +1469,17 @@ class Database { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const Database& obj); + virtual void printTo(std::ostream& out) const; }; void swap(Database &a, Database &b); +inline std::ostream& operator<<(std::ostream& out, const Database& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _SerDeInfo__isset { _SerDeInfo__isset() : name(false), serializationLib(false), parameters(false) {} bool name :1; @@ -1433,9 +1490,6 @@ typedef struct _SerDeInfo__isset { class SerDeInfo { public: - static const char* ascii_fingerprint; // = "B1021C32A35A2AEFCD2F57A5424159A7"; - static const uint8_t binary_fingerprint[16]; // = {0xB1,0x02,0x1C,0x32,0xA3,0x5A,0x2A,0xEF,0xCD,0x2F,0x57,0xA5,0x42,0x41,0x59,0xA7}; - SerDeInfo(const SerDeInfo&); SerDeInfo& operator=(const SerDeInfo&); SerDeInfo() : name(), serializationLib() { @@ -1473,11 +1527,17 @@ class SerDeInfo { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const SerDeInfo& obj); + virtual void printTo(std::ostream& out) const; }; void swap(SerDeInfo &a, SerDeInfo &b); +inline std::ostream& operator<<(std::ostream& out, const SerDeInfo& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _Order__isset { _Order__isset() : col(false), order(false) {} bool col :1; @@ -1487,9 +1547,6 @@ typedef struct _Order__isset { class Order { public: - static const char* ascii_fingerprint; // = "EEBC915CE44901401D881E6091423036"; - static const uint8_t binary_fingerprint[16]; // = {0xEE,0xBC,0x91,0x5C,0xE4,0x49,0x01,0x40,0x1D,0x88,0x1E,0x60,0x91,0x42,0x30,0x36}; - Order(const Order&); Order& operator=(const Order&); Order() : col(), order(0) { @@ -1522,11 +1579,17 @@ class Order { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const Order& obj); + virtual void printTo(std::ostream& out) const; }; void swap(Order &a, Order &b); +inline std::ostream& operator<<(std::ostream& out, const Order& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _SkewedInfo__isset { _SkewedInfo__isset() : skewedColNames(false), skewedColValues(false), skewedColValueLocationMaps(false) {} bool skewedColNames :1; @@ -1537,9 +1600,6 @@ typedef struct _SkewedInfo__isset { class SkewedInfo { public: - static const char* ascii_fingerprint; // = "4BF2ED84BC3C3EB297A2AE2FA8427EB1"; - static const uint8_t binary_fingerprint[16]; // = {0x4B,0xF2,0xED,0x84,0xBC,0x3C,0x3E,0xB2,0x97,0xA2,0xAE,0x2F,0xA8,0x42,0x7E,0xB1}; - SkewedInfo(const SkewedInfo&); SkewedInfo& operator=(const SkewedInfo&); SkewedInfo() { @@ -1577,11 +1637,17 @@ class SkewedInfo { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const SkewedInfo& obj); + virtual void printTo(std::ostream& out) const; }; void swap(SkewedInfo &a, SkewedInfo &b); +inline std::ostream& operator<<(std::ostream& out, const SkewedInfo& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _StorageDescriptor__isset { _StorageDescriptor__isset() : cols(false), location(false), inputFormat(false), outputFormat(false), compressed(false), numBuckets(false), serdeInfo(false), bucketCols(false), sortCols(false), parameters(false), skewedInfo(false), storedAsSubDirectories(false) {} bool cols :1; @@ -1601,9 +1667,6 @@ typedef struct _StorageDescriptor__isset { class StorageDescriptor { public: - static const char* ascii_fingerprint; // = "CA8C9AA5FE4C32643757D8639CEF0CD7"; - static const uint8_t binary_fingerprint[16]; // = {0xCA,0x8C,0x9A,0xA5,0xFE,0x4C,0x32,0x64,0x37,0x57,0xD8,0x63,0x9C,0xEF,0x0C,0xD7}; - StorageDescriptor(const StorageDescriptor&); StorageDescriptor& operator=(const StorageDescriptor&); StorageDescriptor() : location(), inputFormat(), outputFormat(), compressed(0), numBuckets(0), storedAsSubDirectories(0) { @@ -1690,11 +1753,17 @@ class StorageDescriptor { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const StorageDescriptor& obj); + virtual void printTo(std::ostream& out) const; }; void swap(StorageDescriptor &a, StorageDescriptor &b); +inline std::ostream& operator<<(std::ostream& out, const StorageDescriptor& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _Table__isset { _Table__isset() : tableName(false), dbName(false), owner(false), createTime(false), lastAccessTime(false), retention(false), sd(false), partitionKeys(false), parameters(false), viewOriginalText(false), viewExpandedText(false), tableType(false), privileges(false), temporary(true) {} bool tableName :1; @@ -1716,9 +1785,6 @@ typedef struct _Table__isset { class Table { public: - static const char* ascii_fingerprint; // = "29EFB2A5970EF572039E5D94CC78AA85"; - static const uint8_t binary_fingerprint[16]; // = {0x29,0xEF,0xB2,0xA5,0x97,0x0E,0xF5,0x72,0x03,0x9E,0x5D,0x94,0xCC,0x78,0xAA,0x85}; - Table(const Table&); Table& operator=(const Table&); Table() : tableName(), dbName(), owner(), createTime(0), lastAccessTime(0), retention(0), viewOriginalText(), viewExpandedText(), tableType(), temporary(false) { @@ -1815,11 +1881,17 @@ class Table { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const Table& obj); + virtual void printTo(std::ostream& out) const; }; void swap(Table &a, Table &b); +inline std::ostream& operator<<(std::ostream& out, const Table& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _Partition__isset { _Partition__isset() : values(false), dbName(false), tableName(false), createTime(false), lastAccessTime(false), sd(false), parameters(false), privileges(false) {} bool values :1; @@ -1835,9 +1907,6 @@ typedef struct _Partition__isset { class Partition { public: - static const char* ascii_fingerprint; // = "31A52241B88A426C34087FE38343FF51"; - static const uint8_t binary_fingerprint[16]; // = {0x31,0xA5,0x22,0x41,0xB8,0x8A,0x42,0x6C,0x34,0x08,0x7F,0xE3,0x83,0x43,0xFF,0x51}; - Partition(const Partition&); Partition& operator=(const Partition&); Partition() : dbName(), tableName(), createTime(0), lastAccessTime(0) { @@ -1902,11 +1971,17 @@ class Partition { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const Partition& obj); + virtual void printTo(std::ostream& out) const; }; void swap(Partition &a, Partition &b); +inline std::ostream& operator<<(std::ostream& out, const Partition& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _PartitionWithoutSD__isset { _PartitionWithoutSD__isset() : values(false), createTime(false), lastAccessTime(false), relativePath(false), parameters(false), privileges(false) {} bool values :1; @@ -1920,9 +1995,6 @@ typedef struct _PartitionWithoutSD__isset { class PartitionWithoutSD { public: - static const char* ascii_fingerprint; // = "D79FA44499888D0E50B5625E0C536DEA"; - static const uint8_t binary_fingerprint[16]; // = {0xD7,0x9F,0xA4,0x44,0x99,0x88,0x8D,0x0E,0x50,0xB5,0x62,0x5E,0x0C,0x53,0x6D,0xEA}; - PartitionWithoutSD(const PartitionWithoutSD&); PartitionWithoutSD& operator=(const PartitionWithoutSD&); PartitionWithoutSD() : createTime(0), lastAccessTime(0), relativePath() { @@ -1977,11 +2049,17 @@ class PartitionWithoutSD { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const PartitionWithoutSD& obj); + virtual void printTo(std::ostream& out) const; }; void swap(PartitionWithoutSD &a, PartitionWithoutSD &b); +inline std::ostream& operator<<(std::ostream& out, const PartitionWithoutSD& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _PartitionSpecWithSharedSD__isset { _PartitionSpecWithSharedSD__isset() : partitions(false), sd(false) {} bool partitions :1; @@ -1991,9 +2069,6 @@ typedef struct _PartitionSpecWithSharedSD__isset { class PartitionSpecWithSharedSD { public: - static const char* ascii_fingerprint; // = "7BEE9305B42DCD083FF06BEE6DDC61CF"; - static const uint8_t binary_fingerprint[16]; // = {0x7B,0xEE,0x93,0x05,0xB4,0x2D,0xCD,0x08,0x3F,0xF0,0x6B,0xEE,0x6D,0xDC,0x61,0xCF}; - PartitionSpecWithSharedSD(const PartitionSpecWithSharedSD&); PartitionSpecWithSharedSD& operator=(const PartitionSpecWithSharedSD&); PartitionSpecWithSharedSD() { @@ -2026,11 +2101,17 @@ class PartitionSpecWithSharedSD { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const PartitionSpecWithSharedSD& obj); + virtual void printTo(std::ostream& out) const; }; void swap(PartitionSpecWithSharedSD &a, PartitionSpecWithSharedSD &b); +inline std::ostream& operator<<(std::ostream& out, const PartitionSpecWithSharedSD& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _PartitionListComposingSpec__isset { _PartitionListComposingSpec__isset() : partitions(false) {} bool partitions :1; @@ -2039,9 +2120,6 @@ typedef struct _PartitionListComposingSpec__isset { class PartitionListComposingSpec { public: - static const char* ascii_fingerprint; // = "A048235CB9A257C8A74E3691BEFE0674"; - static const uint8_t binary_fingerprint[16]; // = {0xA0,0x48,0x23,0x5C,0xB9,0xA2,0x57,0xC8,0xA7,0x4E,0x36,0x91,0xBE,0xFE,0x06,0x74}; - PartitionListComposingSpec(const PartitionListComposingSpec&); PartitionListComposingSpec& operator=(const PartitionListComposingSpec&); PartitionListComposingSpec() { @@ -2069,11 +2147,17 @@ class PartitionListComposingSpec { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const PartitionListComposingSpec& obj); + virtual void printTo(std::ostream& out) const; }; void swap(PartitionListComposingSpec &a, PartitionListComposingSpec &b); +inline std::ostream& operator<<(std::ostream& out, const PartitionListComposingSpec& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _PartitionSpec__isset { _PartitionSpec__isset() : dbName(false), tableName(false), rootPath(false), sharedSDPartitionSpec(false), partitionList(false) {} bool dbName :1; @@ -2086,9 +2170,6 @@ typedef struct _PartitionSpec__isset { class PartitionSpec { public: - static const char* ascii_fingerprint; // = "C3F548C24D072CF6422F25096143E3E8"; - static const uint8_t binary_fingerprint[16]; // = {0xC3,0xF5,0x48,0xC2,0x4D,0x07,0x2C,0xF6,0x42,0x2F,0x25,0x09,0x61,0x43,0xE3,0xE8}; - PartitionSpec(const PartitionSpec&); PartitionSpec& operator=(const PartitionSpec&); PartitionSpec() : dbName(), tableName(), rootPath() { @@ -2140,11 +2221,17 @@ class PartitionSpec { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const PartitionSpec& obj); + virtual void printTo(std::ostream& out) const; }; void swap(PartitionSpec &a, PartitionSpec &b); +inline std::ostream& operator<<(std::ostream& out, const PartitionSpec& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _Index__isset { _Index__isset() : indexName(false), indexHandlerClass(false), dbName(false), origTableName(false), createTime(false), lastAccessTime(false), indexTableName(false), sd(false), parameters(false), deferredRebuild(false) {} bool indexName :1; @@ -2162,9 +2249,6 @@ typedef struct _Index__isset { class Index { public: - static const char* ascii_fingerprint; // = "09EEF655216AC81802850988D6C470A6"; - static const uint8_t binary_fingerprint[16]; // = {0x09,0xEE,0xF6,0x55,0x21,0x6A,0xC8,0x18,0x02,0x85,0x09,0x88,0xD6,0xC4,0x70,0xA6}; - Index(const Index&); Index& operator=(const Index&); Index() : indexName(), indexHandlerClass(), dbName(), origTableName(), createTime(0), lastAccessTime(0), indexTableName(), deferredRebuild(0) { @@ -2237,18 +2321,21 @@ class Index { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const Index& obj); + virtual void printTo(std::ostream& out) const; }; void swap(Index &a, Index &b); +inline std::ostream& operator<<(std::ostream& out, const Index& obj) +{ + obj.printTo(out); + return out; +} + class BooleanColumnStatsData { public: - static const char* ascii_fingerprint; // = "EA2D65F1E0BB78760205682082304B41"; - static const uint8_t binary_fingerprint[16]; // = {0xEA,0x2D,0x65,0xF1,0xE0,0xBB,0x78,0x76,0x02,0x05,0x68,0x20,0x82,0x30,0x4B,0x41}; - BooleanColumnStatsData(const BooleanColumnStatsData&); BooleanColumnStatsData& operator=(const BooleanColumnStatsData&); BooleanColumnStatsData() : numTrues(0), numFalses(0), numNulls(0) { @@ -2284,11 +2371,17 @@ class BooleanColumnStatsData { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const BooleanColumnStatsData& obj); + virtual void printTo(std::ostream& out) const; }; void swap(BooleanColumnStatsData &a, BooleanColumnStatsData &b); +inline std::ostream& operator<<(std::ostream& out, const BooleanColumnStatsData& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _DoubleColumnStatsData__isset { _DoubleColumnStatsData__isset() : lowValue(false), highValue(false) {} bool lowValue :1; @@ -2298,9 +2391,6 @@ typedef struct _DoubleColumnStatsData__isset { class DoubleColumnStatsData { public: - static const char* ascii_fingerprint; // = "DA7C011321D74C48396AA002E61A0CBB"; - static const uint8_t binary_fingerprint[16]; // = {0xDA,0x7C,0x01,0x13,0x21,0xD7,0x4C,0x48,0x39,0x6A,0xA0,0x02,0xE6,0x1A,0x0C,0xBB}; - DoubleColumnStatsData(const DoubleColumnStatsData&); DoubleColumnStatsData& operator=(const DoubleColumnStatsData&); DoubleColumnStatsData() : lowValue(0), highValue(0), numNulls(0), numDVs(0) { @@ -2347,11 +2437,17 @@ class DoubleColumnStatsData { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const DoubleColumnStatsData& obj); + virtual void printTo(std::ostream& out) const; }; void swap(DoubleColumnStatsData &a, DoubleColumnStatsData &b); +inline std::ostream& operator<<(std::ostream& out, const DoubleColumnStatsData& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _LongColumnStatsData__isset { _LongColumnStatsData__isset() : lowValue(false), highValue(false) {} bool lowValue :1; @@ -2361,9 +2457,6 @@ typedef struct _LongColumnStatsData__isset { class LongColumnStatsData { public: - static const char* ascii_fingerprint; // = "E685FC220B24E3B8B93604790DCB9AEA"; - static const uint8_t binary_fingerprint[16]; // = {0xE6,0x85,0xFC,0x22,0x0B,0x24,0xE3,0xB8,0xB9,0x36,0x04,0x79,0x0D,0xCB,0x9A,0xEA}; - LongColumnStatsData(const LongColumnStatsData&); LongColumnStatsData& operator=(const LongColumnStatsData&); LongColumnStatsData() : lowValue(0), highValue(0), numNulls(0), numDVs(0) { @@ -2410,18 +2503,21 @@ class LongColumnStatsData { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const LongColumnStatsData& obj); + virtual void printTo(std::ostream& out) const; }; void swap(LongColumnStatsData &a, LongColumnStatsData &b); +inline std::ostream& operator<<(std::ostream& out, const LongColumnStatsData& obj) +{ + obj.printTo(out); + return out; +} + class StringColumnStatsData { public: - static const char* ascii_fingerprint; // = "D017B08C3DF12C3AB98788B2E67DAAB3"; - static const uint8_t binary_fingerprint[16]; // = {0xD0,0x17,0xB0,0x8C,0x3D,0xF1,0x2C,0x3A,0xB9,0x87,0x88,0xB2,0xE6,0x7D,0xAA,0xB3}; - StringColumnStatsData(const StringColumnStatsData&); StringColumnStatsData& operator=(const StringColumnStatsData&); StringColumnStatsData() : maxColLen(0), avgColLen(0), numNulls(0), numDVs(0) { @@ -2462,18 +2558,21 @@ class StringColumnStatsData { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const StringColumnStatsData& obj); + virtual void printTo(std::ostream& out) const; }; void swap(StringColumnStatsData &a, StringColumnStatsData &b); +inline std::ostream& operator<<(std::ostream& out, const StringColumnStatsData& obj) +{ + obj.printTo(out); + return out; +} + class BinaryColumnStatsData { public: - static const char* ascii_fingerprint; // = "22B0CB67183FCDB945892B9974518D06"; - static const uint8_t binary_fingerprint[16]; // = {0x22,0xB0,0xCB,0x67,0x18,0x3F,0xCD,0xB9,0x45,0x89,0x2B,0x99,0x74,0x51,0x8D,0x06}; - BinaryColumnStatsData(const BinaryColumnStatsData&); BinaryColumnStatsData& operator=(const BinaryColumnStatsData&); BinaryColumnStatsData() : maxColLen(0), avgColLen(0), numNulls(0) { @@ -2509,18 +2608,21 @@ class BinaryColumnStatsData { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const BinaryColumnStatsData& obj); + virtual void printTo(std::ostream& out) const; }; void swap(BinaryColumnStatsData &a, BinaryColumnStatsData &b); +inline std::ostream& operator<<(std::ostream& out, const BinaryColumnStatsData& obj) +{ + obj.printTo(out); + return out; +} + class Decimal { public: - static const char* ascii_fingerprint; // = "C4DDF6759F9B17C5C380806CE743DE8E"; - static const uint8_t binary_fingerprint[16]; // = {0xC4,0xDD,0xF6,0x75,0x9F,0x9B,0x17,0xC5,0xC3,0x80,0x80,0x6C,0xE7,0x43,0xDE,0x8E}; - Decimal(const Decimal&); Decimal& operator=(const Decimal&); Decimal() : unscaled(), scale(0) { @@ -2551,11 +2653,17 @@ class Decimal { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const Decimal& obj); + virtual void printTo(std::ostream& out) const; }; void swap(Decimal &a, Decimal &b); +inline std::ostream& operator<<(std::ostream& out, const Decimal& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _DecimalColumnStatsData__isset { _DecimalColumnStatsData__isset() : lowValue(false), highValue(false) {} bool lowValue :1; @@ -2565,9 +2673,6 @@ typedef struct _DecimalColumnStatsData__isset { class DecimalColumnStatsData { public: - static const char* ascii_fingerprint; // = "B6D47E7A28922BFA93FE05E9F1B04748"; - static const uint8_t binary_fingerprint[16]; // = {0xB6,0xD4,0x7E,0x7A,0x28,0x92,0x2B,0xFA,0x93,0xFE,0x05,0xE9,0xF1,0xB0,0x47,0x48}; - DecimalColumnStatsData(const DecimalColumnStatsData&); DecimalColumnStatsData& operator=(const DecimalColumnStatsData&); DecimalColumnStatsData() : numNulls(0), numDVs(0) { @@ -2614,18 +2719,21 @@ class DecimalColumnStatsData { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const DecimalColumnStatsData& obj); + virtual void printTo(std::ostream& out) const; }; void swap(DecimalColumnStatsData &a, DecimalColumnStatsData &b); +inline std::ostream& operator<<(std::ostream& out, const DecimalColumnStatsData& obj) +{ + obj.printTo(out); + return out; +} + class Date { public: - static const char* ascii_fingerprint; // = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; - static const uint8_t binary_fingerprint[16]; // = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; - Date(const Date&); Date& operator=(const Date&); Date() : daysSinceEpoch(0) { @@ -2651,11 +2759,17 @@ class Date { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const Date& obj); + virtual void printTo(std::ostream& out) const; }; void swap(Date &a, Date &b); +inline std::ostream& operator<<(std::ostream& out, const Date& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _DateColumnStatsData__isset { _DateColumnStatsData__isset() : lowValue(false), highValue(false) {} bool lowValue :1; @@ -2665,9 +2779,6 @@ typedef struct _DateColumnStatsData__isset { class DateColumnStatsData { public: - static const char* ascii_fingerprint; // = "D0719F3BBA8248297BB5287552897F59"; - static const uint8_t binary_fingerprint[16]; // = {0xD0,0x71,0x9F,0x3B,0xBA,0x82,0x48,0x29,0x7B,0xB5,0x28,0x75,0x52,0x89,0x7F,0x59}; - DateColumnStatsData(const DateColumnStatsData&); DateColumnStatsData& operator=(const DateColumnStatsData&); DateColumnStatsData() : numNulls(0), numDVs(0) { @@ -2714,11 +2825,17 @@ class DateColumnStatsData { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const DateColumnStatsData& obj); + virtual void printTo(std::ostream& out) const; }; void swap(DateColumnStatsData &a, DateColumnStatsData &b); +inline std::ostream& operator<<(std::ostream& out, const DateColumnStatsData& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _ColumnStatisticsData__isset { _ColumnStatisticsData__isset() : booleanStats(false), longStats(false), doubleStats(false), stringStats(false), binaryStats(false), decimalStats(false), dateStats(false) {} bool booleanStats :1; @@ -2733,9 +2850,6 @@ typedef struct _ColumnStatisticsData__isset { class ColumnStatisticsData { public: - static const char* ascii_fingerprint; // = "15E449CA15A23E37F2D54C31ACA52106"; - static const uint8_t binary_fingerprint[16]; // = {0x15,0xE4,0x49,0xCA,0x15,0xA2,0x3E,0x37,0xF2,0xD5,0x4C,0x31,0xAC,0xA5,0x21,0x06}; - ColumnStatisticsData(const ColumnStatisticsData&); ColumnStatisticsData& operator=(const ColumnStatisticsData&); ColumnStatisticsData() { @@ -2793,18 +2907,21 @@ class ColumnStatisticsData { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ColumnStatisticsData& obj); + virtual void printTo(std::ostream& out) const; }; void swap(ColumnStatisticsData &a, ColumnStatisticsData &b); +inline std::ostream& operator<<(std::ostream& out, const ColumnStatisticsData& obj) +{ + obj.printTo(out); + return out; +} + class ColumnStatisticsObj { public: - static const char* ascii_fingerprint; // = "A82BA819C9FFEDDEBC0D50F6F4E46534"; - static const uint8_t binary_fingerprint[16]; // = {0xA8,0x2B,0xA8,0x19,0xC9,0xFF,0xED,0xDE,0xBC,0x0D,0x50,0xF6,0xF4,0xE4,0x65,0x34}; - ColumnStatisticsObj(const ColumnStatisticsObj&); ColumnStatisticsObj& operator=(const ColumnStatisticsObj&); ColumnStatisticsObj() : colName(), colType() { @@ -2840,11 +2957,17 @@ class ColumnStatisticsObj { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ColumnStatisticsObj& obj); + virtual void printTo(std::ostream& out) const; }; void swap(ColumnStatisticsObj &a, ColumnStatisticsObj &b); +inline std::ostream& operator<<(std::ostream& out, const ColumnStatisticsObj& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _ColumnStatisticsDesc__isset { _ColumnStatisticsDesc__isset() : partName(false), lastAnalyzed(false) {} bool partName :1; @@ -2854,9 +2977,6 @@ typedef struct _ColumnStatisticsDesc__isset { class ColumnStatisticsDesc { public: - static const char* ascii_fingerprint; // = "261759FF6F8FAB53F941453007FE18CB"; - static const uint8_t binary_fingerprint[16]; // = {0x26,0x17,0x59,0xFF,0x6F,0x8F,0xAB,0x53,0xF9,0x41,0x45,0x30,0x07,0xFE,0x18,0xCB}; - ColumnStatisticsDesc(const ColumnStatisticsDesc&); ColumnStatisticsDesc& operator=(const ColumnStatisticsDesc&); ColumnStatisticsDesc() : isTblLevel(0), dbName(), tableName(), partName(), lastAnalyzed(0) { @@ -2908,18 +3028,21 @@ class ColumnStatisticsDesc { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ColumnStatisticsDesc& obj); + virtual void printTo(std::ostream& out) const; }; void swap(ColumnStatisticsDesc &a, ColumnStatisticsDesc &b); +inline std::ostream& operator<<(std::ostream& out, const ColumnStatisticsDesc& obj) +{ + obj.printTo(out); + return out; +} + class ColumnStatistics { public: - static const char* ascii_fingerprint; // = "8A64D0A67FFD3A372726A320B3913D5A"; - static const uint8_t binary_fingerprint[16]; // = {0x8A,0x64,0xD0,0xA6,0x7F,0xFD,0x3A,0x37,0x27,0x26,0xA3,0x20,0xB3,0x91,0x3D,0x5A}; - ColumnStatistics(const ColumnStatistics&); ColumnStatistics& operator=(const ColumnStatistics&); ColumnStatistics() { @@ -2950,18 +3073,21 @@ class ColumnStatistics { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ColumnStatistics& obj); + virtual void printTo(std::ostream& out) const; }; void swap(ColumnStatistics &a, ColumnStatistics &b); +inline std::ostream& operator<<(std::ostream& out, const ColumnStatistics& obj) +{ + obj.printTo(out); + return out; +} + class AggrStats { public: - static const char* ascii_fingerprint; // = "1FC765A3AB2954591C14B0D946778213"; - static const uint8_t binary_fingerprint[16]; // = {0x1F,0xC7,0x65,0xA3,0xAB,0x29,0x54,0x59,0x1C,0x14,0xB0,0xD9,0x46,0x77,0x82,0x13}; - AggrStats(const AggrStats&); AggrStats& operator=(const AggrStats&); AggrStats() : partsFound(0) { @@ -2992,18 +3118,21 @@ class AggrStats { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const AggrStats& obj); + virtual void printTo(std::ostream& out) const; }; void swap(AggrStats &a, AggrStats &b); +inline std::ostream& operator<<(std::ostream& out, const AggrStats& obj) +{ + obj.printTo(out); + return out; +} + class SetPartitionsStatsRequest { public: - static const char* ascii_fingerprint; // = "8BCBF2CE9E942D0FB7D8F4ED57D8DC27"; - static const uint8_t binary_fingerprint[16]; // = {0x8B,0xCB,0xF2,0xCE,0x9E,0x94,0x2D,0x0F,0xB7,0xD8,0xF4,0xED,0x57,0xD8,0xDC,0x27}; - SetPartitionsStatsRequest(const SetPartitionsStatsRequest&); SetPartitionsStatsRequest& operator=(const SetPartitionsStatsRequest&); SetPartitionsStatsRequest() { @@ -3029,11 +3158,17 @@ class SetPartitionsStatsRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const SetPartitionsStatsRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(SetPartitionsStatsRequest &a, SetPartitionsStatsRequest &b); +inline std::ostream& operator<<(std::ostream& out, const SetPartitionsStatsRequest& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _Schema__isset { _Schema__isset() : fieldSchemas(false), properties(false) {} bool fieldSchemas :1; @@ -3043,9 +3178,6 @@ typedef struct _Schema__isset { class Schema { public: - static const char* ascii_fingerprint; // = "5CFEE46C975F4E2368D905109B8E3B5B"; - static const uint8_t binary_fingerprint[16]; // = {0x5C,0xFE,0xE4,0x6C,0x97,0x5F,0x4E,0x23,0x68,0xD9,0x05,0x10,0x9B,0x8E,0x3B,0x5B}; - Schema(const Schema&); Schema& operator=(const Schema&); Schema() { @@ -3078,11 +3210,17 @@ class Schema { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const Schema& obj); + virtual void printTo(std::ostream& out) const; }; void swap(Schema &a, Schema &b); +inline std::ostream& operator<<(std::ostream& out, const Schema& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _EnvironmentContext__isset { _EnvironmentContext__isset() : properties(false) {} bool properties :1; @@ -3091,9 +3229,6 @@ typedef struct _EnvironmentContext__isset { class EnvironmentContext { public: - static const char* ascii_fingerprint; // = "5EA2D527ECA3BA20C77AFC023EE8C05F"; - static const uint8_t binary_fingerprint[16]; // = {0x5E,0xA2,0xD5,0x27,0xEC,0xA3,0xBA,0x20,0xC7,0x7A,0xFC,0x02,0x3E,0xE8,0xC0,0x5F}; - EnvironmentContext(const EnvironmentContext&); EnvironmentContext& operator=(const EnvironmentContext&); EnvironmentContext() { @@ -3121,18 +3256,21 @@ class EnvironmentContext { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const EnvironmentContext& obj); + virtual void printTo(std::ostream& out) const; }; void swap(EnvironmentContext &a, EnvironmentContext &b); +inline std::ostream& operator<<(std::ostream& out, const EnvironmentContext& obj) +{ + obj.printTo(out); + return out; +} + class PartitionsByExprResult { public: - static const char* ascii_fingerprint; // = "40B789CC91B508FE36600A14E3F80425"; - static const uint8_t binary_fingerprint[16]; // = {0x40,0xB7,0x89,0xCC,0x91,0xB5,0x08,0xFE,0x36,0x60,0x0A,0x14,0xE3,0xF8,0x04,0x25}; - PartitionsByExprResult(const PartitionsByExprResult&); PartitionsByExprResult& operator=(const PartitionsByExprResult&); PartitionsByExprResult() : hasUnknownPartitions(0) { @@ -3163,11 +3301,17 @@ class PartitionsByExprResult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const PartitionsByExprResult& obj); + virtual void printTo(std::ostream& out) const; }; void swap(PartitionsByExprResult &a, PartitionsByExprResult &b); +inline std::ostream& operator<<(std::ostream& out, const PartitionsByExprResult& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _PartitionsByExprRequest__isset { _PartitionsByExprRequest__isset() : defaultPartitionName(false), maxParts(true) {} bool defaultPartitionName :1; @@ -3177,9 +3321,6 @@ typedef struct _PartitionsByExprRequest__isset { class PartitionsByExprRequest { public: - static const char* ascii_fingerprint; // = "835944417A026FE6ABD0DF5A35BF52C5"; - static const uint8_t binary_fingerprint[16]; // = {0x83,0x59,0x44,0x41,0x7A,0x02,0x6F,0xE6,0xAB,0xD0,0xDF,0x5A,0x35,0xBF,0x52,0xC5}; - PartitionsByExprRequest(const PartitionsByExprRequest&); PartitionsByExprRequest& operator=(const PartitionsByExprRequest&); PartitionsByExprRequest() : dbName(), tblName(), expr(), defaultPartitionName(), maxParts(-1) { @@ -3231,18 +3372,21 @@ class PartitionsByExprRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const PartitionsByExprRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(PartitionsByExprRequest &a, PartitionsByExprRequest &b); +inline std::ostream& operator<<(std::ostream& out, const PartitionsByExprRequest& obj) +{ + obj.printTo(out); + return out; +} + class TableStatsResult { public: - static const char* ascii_fingerprint; // = "2E398BAC949C93A194F1A19CA5074FF8"; - static const uint8_t binary_fingerprint[16]; // = {0x2E,0x39,0x8B,0xAC,0x94,0x9C,0x93,0xA1,0x94,0xF1,0xA1,0x9C,0xA5,0x07,0x4F,0xF8}; - TableStatsResult(const TableStatsResult&); TableStatsResult& operator=(const TableStatsResult&); TableStatsResult() { @@ -3268,18 +3412,21 @@ class TableStatsResult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TableStatsResult& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TableStatsResult &a, TableStatsResult &b); +inline std::ostream& operator<<(std::ostream& out, const TableStatsResult& obj) +{ + obj.printTo(out); + return out; +} + class PartitionsStatsResult { public: - static const char* ascii_fingerprint; // = "DD38B4AA7D02E288659AA12CBAAEF33B"; - static const uint8_t binary_fingerprint[16]; // = {0xDD,0x38,0xB4,0xAA,0x7D,0x02,0xE2,0x88,0x65,0x9A,0xA1,0x2C,0xBA,0xAE,0xF3,0x3B}; - PartitionsStatsResult(const PartitionsStatsResult&); PartitionsStatsResult& operator=(const PartitionsStatsResult&); PartitionsStatsResult() { @@ -3305,18 +3452,21 @@ class PartitionsStatsResult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const PartitionsStatsResult& obj); + virtual void printTo(std::ostream& out) const; }; void swap(PartitionsStatsResult &a, PartitionsStatsResult &b); +inline std::ostream& operator<<(std::ostream& out, const PartitionsStatsResult& obj) +{ + obj.printTo(out); + return out; +} + class TableStatsRequest { public: - static const char* ascii_fingerprint; // = "8E2AD6401E83558ECFD6A13D74DD0A3F"; - static const uint8_t binary_fingerprint[16]; // = {0x8E,0x2A,0xD6,0x40,0x1E,0x83,0x55,0x8E,0xCF,0xD6,0xA1,0x3D,0x74,0xDD,0x0A,0x3F}; - TableStatsRequest(const TableStatsRequest&); TableStatsRequest& operator=(const TableStatsRequest&); TableStatsRequest() : dbName(), tblName() { @@ -3352,18 +3502,21 @@ class TableStatsRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TableStatsRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TableStatsRequest &a, TableStatsRequest &b); +inline std::ostream& operator<<(std::ostream& out, const TableStatsRequest& obj) +{ + obj.printTo(out); + return out; +} + class PartitionsStatsRequest { public: - static const char* ascii_fingerprint; // = "5F51D90BC323BCE4B704B7D98EDA0BD4"; - static const uint8_t binary_fingerprint[16]; // = {0x5F,0x51,0xD9,0x0B,0xC3,0x23,0xBC,0xE4,0xB7,0x04,0xB7,0xD9,0x8E,0xDA,0x0B,0xD4}; - PartitionsStatsRequest(const PartitionsStatsRequest&); PartitionsStatsRequest& operator=(const PartitionsStatsRequest&); PartitionsStatsRequest() : dbName(), tblName() { @@ -3404,11 +3557,17 @@ class PartitionsStatsRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const PartitionsStatsRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(PartitionsStatsRequest &a, PartitionsStatsRequest &b); +inline std::ostream& operator<<(std::ostream& out, const PartitionsStatsRequest& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _AddPartitionsResult__isset { _AddPartitionsResult__isset() : partitions(false) {} bool partitions :1; @@ -3417,9 +3576,6 @@ typedef struct _AddPartitionsResult__isset { class AddPartitionsResult { public: - static const char* ascii_fingerprint; // = "5A689D0823E7BFBB60C799BA60065C31"; - static const uint8_t binary_fingerprint[16]; // = {0x5A,0x68,0x9D,0x08,0x23,0xE7,0xBF,0xBB,0x60,0xC7,0x99,0xBA,0x60,0x06,0x5C,0x31}; - AddPartitionsResult(const AddPartitionsResult&); AddPartitionsResult& operator=(const AddPartitionsResult&); AddPartitionsResult() { @@ -3449,11 +3605,17 @@ class AddPartitionsResult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const AddPartitionsResult& obj); + virtual void printTo(std::ostream& out) const; }; void swap(AddPartitionsResult &a, AddPartitionsResult &b); +inline std::ostream& operator<<(std::ostream& out, const AddPartitionsResult& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _AddPartitionsRequest__isset { _AddPartitionsRequest__isset() : needResult(true) {} bool needResult :1; @@ -3462,9 +3624,6 @@ typedef struct _AddPartitionsRequest__isset { class AddPartitionsRequest { public: - static const char* ascii_fingerprint; // = "94F938D035892CF6873DEDB99358F069"; - static const uint8_t binary_fingerprint[16]; // = {0x94,0xF9,0x38,0xD0,0x35,0x89,0x2C,0xF6,0x87,0x3D,0xED,0xB9,0x93,0x58,0xF0,0x69}; - AddPartitionsRequest(const AddPartitionsRequest&); AddPartitionsRequest& operator=(const AddPartitionsRequest&); AddPartitionsRequest() : dbName(), tblName(), ifNotExists(0), needResult(true) { @@ -3514,11 +3673,17 @@ class AddPartitionsRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const AddPartitionsRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(AddPartitionsRequest &a, AddPartitionsRequest &b); +inline std::ostream& operator<<(std::ostream& out, const AddPartitionsRequest& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _DropPartitionsResult__isset { _DropPartitionsResult__isset() : partitions(false) {} bool partitions :1; @@ -3527,9 +3692,6 @@ typedef struct _DropPartitionsResult__isset { class DropPartitionsResult { public: - static const char* ascii_fingerprint; // = "5A689D0823E7BFBB60C799BA60065C31"; - static const uint8_t binary_fingerprint[16]; // = {0x5A,0x68,0x9D,0x08,0x23,0xE7,0xBF,0xBB,0x60,0xC7,0x99,0xBA,0x60,0x06,0x5C,0x31}; - DropPartitionsResult(const DropPartitionsResult&); DropPartitionsResult& operator=(const DropPartitionsResult&); DropPartitionsResult() { @@ -3559,11 +3721,17 @@ class DropPartitionsResult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const DropPartitionsResult& obj); + virtual void printTo(std::ostream& out) const; }; void swap(DropPartitionsResult &a, DropPartitionsResult &b); +inline std::ostream& operator<<(std::ostream& out, const DropPartitionsResult& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _DropPartitionsExpr__isset { _DropPartitionsExpr__isset() : partArchiveLevel(false) {} bool partArchiveLevel :1; @@ -3572,9 +3740,6 @@ typedef struct _DropPartitionsExpr__isset { class DropPartitionsExpr { public: - static const char* ascii_fingerprint; // = "18B162B1D15D8D46509D3911A9F1C2AA"; - static const uint8_t binary_fingerprint[16]; // = {0x18,0xB1,0x62,0xB1,0xD1,0x5D,0x8D,0x46,0x50,0x9D,0x39,0x11,0xA9,0xF1,0xC2,0xAA}; - DropPartitionsExpr(const DropPartitionsExpr&); DropPartitionsExpr& operator=(const DropPartitionsExpr&); DropPartitionsExpr() : expr(), partArchiveLevel(0) { @@ -3609,11 +3774,17 @@ class DropPartitionsExpr { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const DropPartitionsExpr& obj); + virtual void printTo(std::ostream& out) const; }; void swap(DropPartitionsExpr &a, DropPartitionsExpr &b); +inline std::ostream& operator<<(std::ostream& out, const DropPartitionsExpr& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _RequestPartsSpec__isset { _RequestPartsSpec__isset() : names(false), exprs(false) {} bool names :1; @@ -3623,9 +3794,6 @@ typedef struct _RequestPartsSpec__isset { class RequestPartsSpec { public: - static const char* ascii_fingerprint; // = "864492ECAB27996CD222AACDA10C292E"; - static const uint8_t binary_fingerprint[16]; // = {0x86,0x44,0x92,0xEC,0xAB,0x27,0x99,0x6C,0xD2,0x22,0xAA,0xCD,0xA1,0x0C,0x29,0x2E}; - RequestPartsSpec(const RequestPartsSpec&); RequestPartsSpec& operator=(const RequestPartsSpec&); RequestPartsSpec() { @@ -3658,11 +3826,17 @@ class RequestPartsSpec { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const RequestPartsSpec& obj); + virtual void printTo(std::ostream& out) const; }; void swap(RequestPartsSpec &a, RequestPartsSpec &b); +inline std::ostream& operator<<(std::ostream& out, const RequestPartsSpec& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _DropPartitionsRequest__isset { _DropPartitionsRequest__isset() : deleteData(false), ifExists(true), ignoreProtection(false), environmentContext(false), needResult(true) {} bool deleteData :1; @@ -3675,9 +3849,6 @@ typedef struct _DropPartitionsRequest__isset { class DropPartitionsRequest { public: - static const char* ascii_fingerprint; // = "EB263FBA01215C480A9A24C11D69E672"; - static const uint8_t binary_fingerprint[16]; // = {0xEB,0x26,0x3F,0xBA,0x01,0x21,0x5C,0x48,0x0A,0x9A,0x24,0xC1,0x1D,0x69,0xE6,0x72}; - DropPartitionsRequest(const DropPartitionsRequest&); DropPartitionsRequest& operator=(const DropPartitionsRequest&); DropPartitionsRequest() : dbName(), tblName(), deleteData(0), ifExists(true), ignoreProtection(0), needResult(true) { @@ -3750,11 +3921,17 @@ class DropPartitionsRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const DropPartitionsRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(DropPartitionsRequest &a, DropPartitionsRequest &b); +inline std::ostream& operator<<(std::ostream& out, const DropPartitionsRequest& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _ResourceUri__isset { _ResourceUri__isset() : resourceType(false), uri(false) {} bool resourceType :1; @@ -3764,9 +3941,6 @@ typedef struct _ResourceUri__isset { class ResourceUri { public: - static const char* ascii_fingerprint; // = "19B5240589E680301A7E32DF3971EFBE"; - static const uint8_t binary_fingerprint[16]; // = {0x19,0xB5,0x24,0x05,0x89,0xE6,0x80,0x30,0x1A,0x7E,0x32,0xDF,0x39,0x71,0xEF,0xBE}; - ResourceUri(const ResourceUri&); ResourceUri& operator=(const ResourceUri&); ResourceUri() : resourceType((ResourceType::type)0), uri() { @@ -3799,11 +3973,17 @@ class ResourceUri { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ResourceUri& obj); + virtual void printTo(std::ostream& out) const; }; void swap(ResourceUri &a, ResourceUri &b); +inline std::ostream& operator<<(std::ostream& out, const ResourceUri& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _Function__isset { _Function__isset() : functionName(false), dbName(false), className(false), ownerName(false), ownerType(false), createTime(false), functionType(false), resourceUris(false) {} bool functionName :1; @@ -3819,9 +3999,6 @@ typedef struct _Function__isset { class Function { public: - static const char* ascii_fingerprint; // = "72279C515E70F888568542F97616ADB8"; - static const uint8_t binary_fingerprint[16]; // = {0x72,0x27,0x9C,0x51,0x5E,0x70,0xF8,0x88,0x56,0x85,0x42,0xF9,0x76,0x16,0xAD,0xB8}; - Function(const Function&); Function& operator=(const Function&); Function() : functionName(), dbName(), className(), ownerName(), ownerType((PrincipalType::type)0), createTime(0), functionType((FunctionType::type)0) { @@ -3884,21 +4061,30 @@ class Function { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const Function& obj); + virtual void printTo(std::ostream& out) const; }; void swap(Function &a, Function &b); +inline std::ostream& operator<<(std::ostream& out, const Function& obj) +{ + obj.printTo(out); + return out; +} + +typedef struct _TxnInfo__isset { + _TxnInfo__isset() : agentInfo(true), heartbeatCount(true), metaInfo(false) {} + bool agentInfo :1; + bool heartbeatCount :1; + bool metaInfo :1; +} _TxnInfo__isset; class TxnInfo { public: - static const char* ascii_fingerprint; // = "6C5C0773A901CCA3BE9D085B3B47A767"; - static const uint8_t binary_fingerprint[16]; // = {0x6C,0x5C,0x07,0x73,0xA9,0x01,0xCC,0xA3,0xBE,0x9D,0x08,0x5B,0x3B,0x47,0xA7,0x67}; - TxnInfo(const TxnInfo&); TxnInfo& operator=(const TxnInfo&); - TxnInfo() : id(0), state((TxnState::type)0), user(), hostname() { + TxnInfo() : id(0), state((TxnState::type)0), user(), hostname(), agentInfo("Unknown"), heartbeatCount(0), metaInfo() { } virtual ~TxnInfo() throw(); @@ -3906,6 +4092,11 @@ class TxnInfo { TxnState::type state; std::string user; std::string hostname; + std::string agentInfo; + int32_t heartbeatCount; + std::string metaInfo; + + _TxnInfo__isset __isset; void __set_id(const int64_t val); @@ -3915,6 +4106,12 @@ class TxnInfo { void __set_hostname(const std::string& val); + void __set_agentInfo(const std::string& val); + + void __set_heartbeatCount(const int32_t val); + + void __set_metaInfo(const std::string& val); + bool operator == (const TxnInfo & rhs) const { if (!(id == rhs.id)) @@ -3925,6 +4122,18 @@ class TxnInfo { return false; if (!(hostname == rhs.hostname)) return false; + if (__isset.agentInfo != rhs.__isset.agentInfo) + return false; + else if (__isset.agentInfo && !(agentInfo == rhs.agentInfo)) + return false; + if (__isset.heartbeatCount != rhs.__isset.heartbeatCount) + return false; + else if (__isset.heartbeatCount && !(heartbeatCount == rhs.heartbeatCount)) + return false; + if (__isset.metaInfo != rhs.__isset.metaInfo) + return false; + else if (__isset.metaInfo && !(metaInfo == rhs.metaInfo)) + return false; return true; } bool operator != (const TxnInfo &rhs) const { @@ -3936,18 +4145,21 @@ class TxnInfo { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TxnInfo& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TxnInfo &a, TxnInfo &b); +inline std::ostream& operator<<(std::ostream& out, const TxnInfo& obj) +{ + obj.printTo(out); + return out; +} + class GetOpenTxnsInfoResponse { public: - static const char* ascii_fingerprint; // = "CCF769BBD33005B61F2079A6665E3B9C"; - static const uint8_t binary_fingerprint[16]; // = {0xCC,0xF7,0x69,0xBB,0xD3,0x30,0x05,0xB6,0x1F,0x20,0x79,0xA6,0x66,0x5E,0x3B,0x9C}; - GetOpenTxnsInfoResponse(const GetOpenTxnsInfoResponse&); GetOpenTxnsInfoResponse& operator=(const GetOpenTxnsInfoResponse&); GetOpenTxnsInfoResponse() : txn_high_water_mark(0) { @@ -3978,18 +4190,21 @@ class GetOpenTxnsInfoResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const GetOpenTxnsInfoResponse& obj); + virtual void printTo(std::ostream& out) const; }; void swap(GetOpenTxnsInfoResponse &a, GetOpenTxnsInfoResponse &b); +inline std::ostream& operator<<(std::ostream& out, const GetOpenTxnsInfoResponse& obj) +{ + obj.printTo(out); + return out; +} + class GetOpenTxnsResponse { public: - static const char* ascii_fingerprint; // = "590531FF1BE8611678B255374F6109EE"; - static const uint8_t binary_fingerprint[16]; // = {0x59,0x05,0x31,0xFF,0x1B,0xE8,0x61,0x16,0x78,0xB2,0x55,0x37,0x4F,0x61,0x09,0xEE}; - GetOpenTxnsResponse(const GetOpenTxnsResponse&); GetOpenTxnsResponse& operator=(const GetOpenTxnsResponse&); GetOpenTxnsResponse() : txn_high_water_mark(0) { @@ -4020,27 +4235,37 @@ class GetOpenTxnsResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const GetOpenTxnsResponse& obj); + virtual void printTo(std::ostream& out) const; }; void swap(GetOpenTxnsResponse &a, GetOpenTxnsResponse &b); +inline std::ostream& operator<<(std::ostream& out, const GetOpenTxnsResponse& obj) +{ + obj.printTo(out); + return out; +} + +typedef struct _OpenTxnRequest__isset { + _OpenTxnRequest__isset() : agentInfo(true) {} + bool agentInfo :1; +} _OpenTxnRequest__isset; class OpenTxnRequest { public: - static const char* ascii_fingerprint; // = "3368C2F81F2FEF71F11EDACDB2A3ECEF"; - static const uint8_t binary_fingerprint[16]; // = {0x33,0x68,0xC2,0xF8,0x1F,0x2F,0xEF,0x71,0xF1,0x1E,0xDA,0xCD,0xB2,0xA3,0xEC,0xEF}; - OpenTxnRequest(const OpenTxnRequest&); OpenTxnRequest& operator=(const OpenTxnRequest&); - OpenTxnRequest() : num_txns(0), user(), hostname() { + OpenTxnRequest() : num_txns(0), user(), hostname(), agentInfo("Unknown") { } virtual ~OpenTxnRequest() throw(); int32_t num_txns; std::string user; std::string hostname; + std::string agentInfo; + + _OpenTxnRequest__isset __isset; void __set_num_txns(const int32_t val); @@ -4048,6 +4273,8 @@ class OpenTxnRequest { void __set_hostname(const std::string& val); + void __set_agentInfo(const std::string& val); + bool operator == (const OpenTxnRequest & rhs) const { if (!(num_txns == rhs.num_txns)) @@ -4056,6 +4283,10 @@ class OpenTxnRequest { return false; if (!(hostname == rhs.hostname)) return false; + if (__isset.agentInfo != rhs.__isset.agentInfo) + return false; + else if (__isset.agentInfo && !(agentInfo == rhs.agentInfo)) + return false; return true; } bool operator != (const OpenTxnRequest &rhs) const { @@ -4067,18 +4298,21 @@ class OpenTxnRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const OpenTxnRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(OpenTxnRequest &a, OpenTxnRequest &b); +inline std::ostream& operator<<(std::ostream& out, const OpenTxnRequest& obj) +{ + obj.printTo(out); + return out; +} + class OpenTxnsResponse { public: - static const char* ascii_fingerprint; // = "E49D7D1A9013CC81CD0F69D631EF82E4"; - static const uint8_t binary_fingerprint[16]; // = {0xE4,0x9D,0x7D,0x1A,0x90,0x13,0xCC,0x81,0xCD,0x0F,0x69,0xD6,0x31,0xEF,0x82,0xE4}; - OpenTxnsResponse(const OpenTxnsResponse&); OpenTxnsResponse& operator=(const OpenTxnsResponse&); OpenTxnsResponse() { @@ -4104,18 +4338,21 @@ class OpenTxnsResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const OpenTxnsResponse& obj); + virtual void printTo(std::ostream& out) const; }; void swap(OpenTxnsResponse &a, OpenTxnsResponse &b); +inline std::ostream& operator<<(std::ostream& out, const OpenTxnsResponse& obj) +{ + obj.printTo(out); + return out; +} + class AbortTxnRequest { public: - static const char* ascii_fingerprint; // = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; - static const uint8_t binary_fingerprint[16]; // = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; - AbortTxnRequest(const AbortTxnRequest&); AbortTxnRequest& operator=(const AbortTxnRequest&); AbortTxnRequest() : txnid(0) { @@ -4141,18 +4378,21 @@ class AbortTxnRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const AbortTxnRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(AbortTxnRequest &a, AbortTxnRequest &b); +inline std::ostream& operator<<(std::ostream& out, const AbortTxnRequest& obj) +{ + obj.printTo(out); + return out; +} + class CommitTxnRequest { public: - static const char* ascii_fingerprint; // = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; - static const uint8_t binary_fingerprint[16]; // = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; - CommitTxnRequest(const CommitTxnRequest&); CommitTxnRequest& operator=(const CommitTxnRequest&); CommitTxnRequest() : txnid(0) { @@ -4178,11 +4418,17 @@ class CommitTxnRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const CommitTxnRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(CommitTxnRequest &a, CommitTxnRequest &b); +inline std::ostream& operator<<(std::ostream& out, const CommitTxnRequest& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _LockComponent__isset { _LockComponent__isset() : tablename(false), partitionname(false) {} bool tablename :1; @@ -4192,9 +4438,6 @@ typedef struct _LockComponent__isset { class LockComponent { public: - static const char* ascii_fingerprint; // = "38B02531B0840AC9C72904A4649FD15F"; - static const uint8_t binary_fingerprint[16]; // = {0x38,0xB0,0x25,0x31,0xB0,0x84,0x0A,0xC9,0xC7,0x29,0x04,0xA4,0x64,0x9F,0xD1,0x5F}; - LockComponent(const LockComponent&); LockComponent& operator=(const LockComponent&); LockComponent() : type((LockType::type)0), level((LockLevel::type)0), dbname(), tablename(), partitionname() { @@ -4246,25 +4489,29 @@ class LockComponent { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const LockComponent& obj); + virtual void printTo(std::ostream& out) const; }; void swap(LockComponent &a, LockComponent &b); +inline std::ostream& operator<<(std::ostream& out, const LockComponent& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _LockRequest__isset { - _LockRequest__isset() : txnid(false) {} + _LockRequest__isset() : txnid(false), agentInfo(true) {} bool txnid :1; + bool agentInfo :1; } _LockRequest__isset; class LockRequest { public: - static const char* ascii_fingerprint; // = "46BC5ED7196BC16CB216AD5CC67C6930"; - static const uint8_t binary_fingerprint[16]; // = {0x46,0xBC,0x5E,0xD7,0x19,0x6B,0xC1,0x6C,0xB2,0x16,0xAD,0x5C,0xC6,0x7C,0x69,0x30}; - LockRequest(const LockRequest&); LockRequest& operator=(const LockRequest&); - LockRequest() : txnid(0), user(), hostname() { + LockRequest() : txnid(0), user(), hostname(), agentInfo("Unknown") { } virtual ~LockRequest() throw(); @@ -4272,6 +4519,7 @@ class LockRequest { int64_t txnid; std::string user; std::string hostname; + std::string agentInfo; _LockRequest__isset __isset; @@ -4283,6 +4531,8 @@ class LockRequest { void __set_hostname(const std::string& val); + void __set_agentInfo(const std::string& val); + bool operator == (const LockRequest & rhs) const { if (!(component == rhs.component)) @@ -4295,6 +4545,10 @@ class LockRequest { return false; if (!(hostname == rhs.hostname)) return false; + if (__isset.agentInfo != rhs.__isset.agentInfo) + return false; + else if (__isset.agentInfo && !(agentInfo == rhs.agentInfo)) + return false; return true; } bool operator != (const LockRequest &rhs) const { @@ -4306,18 +4560,21 @@ class LockRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const LockRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(LockRequest &a, LockRequest &b); +inline std::ostream& operator<<(std::ostream& out, const LockRequest& obj) +{ + obj.printTo(out); + return out; +} + class LockResponse { public: - static const char* ascii_fingerprint; // = "DFA40D9D2884599F3D1E7A57578F1384"; - static const uint8_t binary_fingerprint[16]; // = {0xDF,0xA4,0x0D,0x9D,0x28,0x84,0x59,0x9F,0x3D,0x1E,0x7A,0x57,0x57,0x8F,0x13,0x84}; - LockResponse(const LockResponse&); LockResponse& operator=(const LockResponse&); LockResponse() : lockid(0), state((LockState::type)0) { @@ -4348,32 +4605,56 @@ class LockResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const LockResponse& obj); + virtual void printTo(std::ostream& out) const; }; void swap(LockResponse &a, LockResponse &b); +inline std::ostream& operator<<(std::ostream& out, const LockResponse& obj) +{ + obj.printTo(out); + return out; +} + +typedef struct _CheckLockRequest__isset { + _CheckLockRequest__isset() : txnid(false), elapsed_ms(false) {} + bool txnid :1; + bool elapsed_ms :1; +} _CheckLockRequest__isset; class CheckLockRequest { public: - static const char* ascii_fingerprint; // = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; - static const uint8_t binary_fingerprint[16]; // = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; - CheckLockRequest(const CheckLockRequest&); CheckLockRequest& operator=(const CheckLockRequest&); - CheckLockRequest() : lockid(0) { + CheckLockRequest() : lockid(0), txnid(0), elapsed_ms(0) { } virtual ~CheckLockRequest() throw(); int64_t lockid; + int64_t txnid; + int64_t elapsed_ms; + + _CheckLockRequest__isset __isset; void __set_lockid(const int64_t val); + void __set_txnid(const int64_t val); + + void __set_elapsed_ms(const int64_t val); + bool operator == (const CheckLockRequest & rhs) const { if (!(lockid == rhs.lockid)) return false; + if (__isset.txnid != rhs.__isset.txnid) + return false; + else if (__isset.txnid && !(txnid == rhs.txnid)) + return false; + if (__isset.elapsed_ms != rhs.__isset.elapsed_ms) + return false; + else if (__isset.elapsed_ms && !(elapsed_ms == rhs.elapsed_ms)) + return false; return true; } bool operator != (const CheckLockRequest &rhs) const { @@ -4385,18 +4666,21 @@ class CheckLockRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const CheckLockRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(CheckLockRequest &a, CheckLockRequest &b); +inline std::ostream& operator<<(std::ostream& out, const CheckLockRequest& obj) +{ + obj.printTo(out); + return out; +} + class UnlockRequest { public: - static const char* ascii_fingerprint; // = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; - static const uint8_t binary_fingerprint[16]; // = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; - UnlockRequest(const UnlockRequest&); UnlockRequest& operator=(const UnlockRequest&); UnlockRequest() : lockid(0) { @@ -4422,27 +4706,67 @@ class UnlockRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const UnlockRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(UnlockRequest &a, UnlockRequest &b); +inline std::ostream& operator<<(std::ostream& out, const UnlockRequest& obj) +{ + obj.printTo(out); + return out; +} + +typedef struct _ShowLocksRequest__isset { + _ShowLocksRequest__isset() : dbname(false), tablename(false), partname(false), isExtended(true) {} + bool dbname :1; + bool tablename :1; + bool partname :1; + bool isExtended :1; +} _ShowLocksRequest__isset; class ShowLocksRequest { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - ShowLocksRequest(const ShowLocksRequest&); ShowLocksRequest& operator=(const ShowLocksRequest&); - ShowLocksRequest() { + ShowLocksRequest() : dbname(), tablename(), partname(), isExtended(false) { } virtual ~ShowLocksRequest() throw(); + std::string dbname; + std::string tablename; + std::string partname; + bool isExtended; + + _ShowLocksRequest__isset __isset; + + void __set_dbname(const std::string& val); + + void __set_tablename(const std::string& val); + + void __set_partname(const std::string& val); - bool operator == (const ShowLocksRequest & /* rhs */) const + void __set_isExtended(const bool val); + + bool operator == (const ShowLocksRequest & rhs) const { + if (__isset.dbname != rhs.__isset.dbname) + return false; + else if (__isset.dbname && !(dbname == rhs.dbname)) + return false; + if (__isset.tablename != rhs.__isset.tablename) + return false; + else if (__isset.tablename && !(tablename == rhs.tablename)) + return false; + if (__isset.partname != rhs.__isset.partname) + return false; + else if (__isset.partname && !(partname == rhs.partname)) + return false; + if (__isset.isExtended != rhs.__isset.isExtended) + return false; + else if (__isset.isExtended && !(isExtended == rhs.isExtended)) + return false; return true; } bool operator != (const ShowLocksRequest &rhs) const { @@ -4454,28 +4778,36 @@ class ShowLocksRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ShowLocksRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(ShowLocksRequest &a, ShowLocksRequest &b); +inline std::ostream& operator<<(std::ostream& out, const ShowLocksRequest& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _ShowLocksResponseElement__isset { - _ShowLocksResponseElement__isset() : tablename(false), partname(false), txnid(false), acquiredat(false) {} + _ShowLocksResponseElement__isset() : tablename(false), partname(false), txnid(false), acquiredat(false), heartbeatCount(true), agentInfo(false), blockedByExtId(false), blockedByIntId(false), lockIdInternal(false) {} bool tablename :1; bool partname :1; bool txnid :1; bool acquiredat :1; + bool heartbeatCount :1; + bool agentInfo :1; + bool blockedByExtId :1; + bool blockedByIntId :1; + bool lockIdInternal :1; } _ShowLocksResponseElement__isset; class ShowLocksResponseElement { public: - static const char* ascii_fingerprint; // = "5AD11F0E0EF1EE0A7C08B00FEFCFF24F"; - static const uint8_t binary_fingerprint[16]; // = {0x5A,0xD1,0x1F,0x0E,0x0E,0xF1,0xEE,0x0A,0x7C,0x08,0xB0,0x0F,0xEF,0xCF,0xF2,0x4F}; - ShowLocksResponseElement(const ShowLocksResponseElement&); ShowLocksResponseElement& operator=(const ShowLocksResponseElement&); - ShowLocksResponseElement() : lockid(0), dbname(), tablename(), partname(), state((LockState::type)0), type((LockType::type)0), txnid(0), lastheartbeat(0), acquiredat(0), user(), hostname() { + ShowLocksResponseElement() : lockid(0), dbname(), tablename(), partname(), state((LockState::type)0), type((LockType::type)0), txnid(0), lastheartbeat(0), acquiredat(0), user(), hostname(), heartbeatCount(0), agentInfo(), blockedByExtId(0), blockedByIntId(0), lockIdInternal(0) { } virtual ~ShowLocksResponseElement() throw(); @@ -4490,6 +4822,11 @@ class ShowLocksResponseElement { int64_t acquiredat; std::string user; std::string hostname; + int32_t heartbeatCount; + std::string agentInfo; + int64_t blockedByExtId; + int64_t blockedByIntId; + int64_t lockIdInternal; _ShowLocksResponseElement__isset __isset; @@ -4515,6 +4852,16 @@ class ShowLocksResponseElement { void __set_hostname(const std::string& val); + void __set_heartbeatCount(const int32_t val); + + void __set_agentInfo(const std::string& val); + + void __set_blockedByExtId(const int64_t val); + + void __set_blockedByIntId(const int64_t val); + + void __set_lockIdInternal(const int64_t val); + bool operator == (const ShowLocksResponseElement & rhs) const { if (!(lockid == rhs.lockid)) @@ -4547,6 +4894,26 @@ class ShowLocksResponseElement { return false; if (!(hostname == rhs.hostname)) return false; + if (__isset.heartbeatCount != rhs.__isset.heartbeatCount) + return false; + else if (__isset.heartbeatCount && !(heartbeatCount == rhs.heartbeatCount)) + return false; + if (__isset.agentInfo != rhs.__isset.agentInfo) + return false; + else if (__isset.agentInfo && !(agentInfo == rhs.agentInfo)) + return false; + if (__isset.blockedByExtId != rhs.__isset.blockedByExtId) + return false; + else if (__isset.blockedByExtId && !(blockedByExtId == rhs.blockedByExtId)) + return false; + if (__isset.blockedByIntId != rhs.__isset.blockedByIntId) + return false; + else if (__isset.blockedByIntId && !(blockedByIntId == rhs.blockedByIntId)) + return false; + if (__isset.lockIdInternal != rhs.__isset.lockIdInternal) + return false; + else if (__isset.lockIdInternal && !(lockIdInternal == rhs.lockIdInternal)) + return false; return true; } bool operator != (const ShowLocksResponseElement &rhs) const { @@ -4558,11 +4925,17 @@ class ShowLocksResponseElement { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ShowLocksResponseElement& obj); + virtual void printTo(std::ostream& out) const; }; void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b); +inline std::ostream& operator<<(std::ostream& out, const ShowLocksResponseElement& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _ShowLocksResponse__isset { _ShowLocksResponse__isset() : locks(false) {} bool locks :1; @@ -4571,9 +4944,6 @@ typedef struct _ShowLocksResponse__isset { class ShowLocksResponse { public: - static const char* ascii_fingerprint; // = "BD598AA60FE941361FB54C43973C011F"; - static const uint8_t binary_fingerprint[16]; // = {0xBD,0x59,0x8A,0xA6,0x0F,0xE9,0x41,0x36,0x1F,0xB5,0x4C,0x43,0x97,0x3C,0x01,0x1F}; - ShowLocksResponse(const ShowLocksResponse&); ShowLocksResponse& operator=(const ShowLocksResponse&); ShowLocksResponse() { @@ -4601,11 +4971,17 @@ class ShowLocksResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ShowLocksResponse& obj); + virtual void printTo(std::ostream& out) const; }; void swap(ShowLocksResponse &a, ShowLocksResponse &b); +inline std::ostream& operator<<(std::ostream& out, const ShowLocksResponse& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _HeartbeatRequest__isset { _HeartbeatRequest__isset() : lockid(false), txnid(false) {} bool lockid :1; @@ -4615,9 +4991,6 @@ typedef struct _HeartbeatRequest__isset { class HeartbeatRequest { public: - static const char* ascii_fingerprint; // = "0354D07C94CB8542872CA1277008860A"; - static const uint8_t binary_fingerprint[16]; // = {0x03,0x54,0xD0,0x7C,0x94,0xCB,0x85,0x42,0x87,0x2C,0xA1,0x27,0x70,0x08,0x86,0x0A}; - HeartbeatRequest(const HeartbeatRequest&); HeartbeatRequest& operator=(const HeartbeatRequest&); HeartbeatRequest() : lockid(0), txnid(0) { @@ -4654,18 +5027,21 @@ class HeartbeatRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const HeartbeatRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(HeartbeatRequest &a, HeartbeatRequest &b); +inline std::ostream& operator<<(std::ostream& out, const HeartbeatRequest& obj) +{ + obj.printTo(out); + return out; +} + class HeartbeatTxnRangeRequest { public: - static const char* ascii_fingerprint; // = "F33135321253DAEB67B0E79E416CA831"; - static const uint8_t binary_fingerprint[16]; // = {0xF3,0x31,0x35,0x32,0x12,0x53,0xDA,0xEB,0x67,0xB0,0xE7,0x9E,0x41,0x6C,0xA8,0x31}; - HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest&); HeartbeatTxnRangeRequest& operator=(const HeartbeatTxnRangeRequest&); HeartbeatTxnRangeRequest() : min(0), max(0) { @@ -4696,18 +5072,21 @@ class HeartbeatTxnRangeRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const HeartbeatTxnRangeRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b); +inline std::ostream& operator<<(std::ostream& out, const HeartbeatTxnRangeRequest& obj) +{ + obj.printTo(out); + return out; +} + class HeartbeatTxnRangeResponse { public: - static const char* ascii_fingerprint; // = "33E49A70BD5C04262A0F407E3656E3CF"; - static const uint8_t binary_fingerprint[16]; // = {0x33,0xE4,0x9A,0x70,0xBD,0x5C,0x04,0x26,0x2A,0x0F,0x40,0x7E,0x36,0x56,0xE3,0xCF}; - HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse&); HeartbeatTxnRangeResponse& operator=(const HeartbeatTxnRangeResponse&); HeartbeatTxnRangeResponse() { @@ -4738,11 +5117,17 @@ class HeartbeatTxnRangeResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const HeartbeatTxnRangeResponse& obj); + virtual void printTo(std::ostream& out) const; }; void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b); +inline std::ostream& operator<<(std::ostream& out, const HeartbeatTxnRangeResponse& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _CompactionRequest__isset { _CompactionRequest__isset() : partitionname(false), runas(false) {} bool partitionname :1; @@ -4752,9 +5137,6 @@ typedef struct _CompactionRequest__isset { class CompactionRequest { public: - static const char* ascii_fingerprint; // = "899FD1F339D8318D628687CC2CE2864B"; - static const uint8_t binary_fingerprint[16]; // = {0x89,0x9F,0xD1,0xF3,0x39,0xD8,0x31,0x8D,0x62,0x86,0x87,0xCC,0x2C,0xE2,0x86,0x4B}; - CompactionRequest(const CompactionRequest&); CompactionRequest& operator=(const CompactionRequest&); CompactionRequest() : dbname(), tablename(), partitionname(), type((CompactionType::type)0), runas() { @@ -4806,18 +5188,21 @@ class CompactionRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const CompactionRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(CompactionRequest &a, CompactionRequest &b); +inline std::ostream& operator<<(std::ostream& out, const CompactionRequest& obj) +{ + obj.printTo(out); + return out; +} + class ShowCompactRequest { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - ShowCompactRequest(const ShowCompactRequest&); ShowCompactRequest& operator=(const ShowCompactRequest&); ShowCompactRequest() { @@ -4838,28 +5223,35 @@ class ShowCompactRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ShowCompactRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(ShowCompactRequest &a, ShowCompactRequest &b); +inline std::ostream& operator<<(std::ostream& out, const ShowCompactRequest& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _ShowCompactResponseElement__isset { - _ShowCompactResponseElement__isset() : partitionname(false), workerid(false), start(false), runAs(false) {} + _ShowCompactResponseElement__isset() : partitionname(false), workerid(false), start(false), runAs(false), hightestTxnId(false), metaInfo(false), endTime(false), hadoopJobId(true) {} bool partitionname :1; bool workerid :1; bool start :1; bool runAs :1; + bool hightestTxnId :1; + bool metaInfo :1; + bool endTime :1; + bool hadoopJobId :1; } _ShowCompactResponseElement__isset; class ShowCompactResponseElement { public: - static const char* ascii_fingerprint; // = "2F338C265DC4FD82DD13F4966FE43F13"; - static const uint8_t binary_fingerprint[16]; // = {0x2F,0x33,0x8C,0x26,0x5D,0xC4,0xFD,0x82,0xDD,0x13,0xF4,0x96,0x6F,0xE4,0x3F,0x13}; - ShowCompactResponseElement(const ShowCompactResponseElement&); ShowCompactResponseElement& operator=(const ShowCompactResponseElement&); - ShowCompactResponseElement() : dbname(), tablename(), partitionname(), type((CompactionType::type)0), state(), workerid(), start(0), runAs() { + ShowCompactResponseElement() : dbname(), tablename(), partitionname(), type((CompactionType::type)0), state(), workerid(), start(0), runAs(), hightestTxnId(0), metaInfo(), endTime(0), hadoopJobId("None") { } virtual ~ShowCompactResponseElement() throw(); @@ -4871,6 +5263,10 @@ class ShowCompactResponseElement { std::string workerid; int64_t start; std::string runAs; + int64_t hightestTxnId; + std::string metaInfo; + int64_t endTime; + std::string hadoopJobId; _ShowCompactResponseElement__isset __isset; @@ -4890,6 +5286,14 @@ class ShowCompactResponseElement { void __set_runAs(const std::string& val); + void __set_hightestTxnId(const int64_t val); + + void __set_metaInfo(const std::string& val); + + void __set_endTime(const int64_t val); + + void __set_hadoopJobId(const std::string& val); + bool operator == (const ShowCompactResponseElement & rhs) const { if (!(dbname == rhs.dbname)) @@ -4916,6 +5320,22 @@ class ShowCompactResponseElement { return false; else if (__isset.runAs && !(runAs == rhs.runAs)) return false; + if (__isset.hightestTxnId != rhs.__isset.hightestTxnId) + return false; + else if (__isset.hightestTxnId && !(hightestTxnId == rhs.hightestTxnId)) + return false; + if (__isset.metaInfo != rhs.__isset.metaInfo) + return false; + else if (__isset.metaInfo && !(metaInfo == rhs.metaInfo)) + return false; + if (__isset.endTime != rhs.__isset.endTime) + return false; + else if (__isset.endTime && !(endTime == rhs.endTime)) + return false; + if (__isset.hadoopJobId != rhs.__isset.hadoopJobId) + return false; + else if (__isset.hadoopJobId && !(hadoopJobId == rhs.hadoopJobId)) + return false; return true; } bool operator != (const ShowCompactResponseElement &rhs) const { @@ -4927,18 +5347,21 @@ class ShowCompactResponseElement { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ShowCompactResponseElement& obj); + virtual void printTo(std::ostream& out) const; }; void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b); +inline std::ostream& operator<<(std::ostream& out, const ShowCompactResponseElement& obj) +{ + obj.printTo(out); + return out; +} + class ShowCompactResponse { public: - static const char* ascii_fingerprint; // = "915B7B8DB8966D65769C0F98707BBAE3"; - static const uint8_t binary_fingerprint[16]; // = {0x91,0x5B,0x7B,0x8D,0xB8,0x96,0x6D,0x65,0x76,0x9C,0x0F,0x98,0x70,0x7B,0xBA,0xE3}; - ShowCompactResponse(const ShowCompactResponse&); ShowCompactResponse& operator=(const ShowCompactResponse&); ShowCompactResponse() { @@ -4964,18 +5387,21 @@ class ShowCompactResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ShowCompactResponse& obj); + virtual void printTo(std::ostream& out) const; }; void swap(ShowCompactResponse &a, ShowCompactResponse &b); +inline std::ostream& operator<<(std::ostream& out, const ShowCompactResponse& obj) +{ + obj.printTo(out); + return out; +} + class AddDynamicPartitions { public: - static const char* ascii_fingerprint; // = "A53A2B050DCCFE6A2158480A24E33898"; - static const uint8_t binary_fingerprint[16]; // = {0xA5,0x3A,0x2B,0x05,0x0D,0xCC,0xFE,0x6A,0x21,0x58,0x48,0x0A,0x24,0xE3,0x38,0x98}; - AddDynamicPartitions(const AddDynamicPartitions&); AddDynamicPartitions& operator=(const AddDynamicPartitions&); AddDynamicPartitions() : txnid(0), dbname(), tablename() { @@ -5016,11 +5442,17 @@ class AddDynamicPartitions { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const AddDynamicPartitions& obj); + virtual void printTo(std::ostream& out) const; }; void swap(AddDynamicPartitions &a, AddDynamicPartitions &b); +inline std::ostream& operator<<(std::ostream& out, const AddDynamicPartitions& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _NotificationEventRequest__isset { _NotificationEventRequest__isset() : maxEvents(false) {} bool maxEvents :1; @@ -5029,9 +5461,6 @@ typedef struct _NotificationEventRequest__isset { class NotificationEventRequest { public: - static const char* ascii_fingerprint; // = "6E578DA8AB10EED824A75534350EBAEF"; - static const uint8_t binary_fingerprint[16]; // = {0x6E,0x57,0x8D,0xA8,0xAB,0x10,0xEE,0xD8,0x24,0xA7,0x55,0x34,0x35,0x0E,0xBA,0xEF}; - NotificationEventRequest(const NotificationEventRequest&); NotificationEventRequest& operator=(const NotificationEventRequest&); NotificationEventRequest() : lastEvent(0), maxEvents(0) { @@ -5066,11 +5495,17 @@ class NotificationEventRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const NotificationEventRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(NotificationEventRequest &a, NotificationEventRequest &b); +inline std::ostream& operator<<(std::ostream& out, const NotificationEventRequest& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _NotificationEvent__isset { _NotificationEvent__isset() : dbName(false), tableName(false) {} bool dbName :1; @@ -5080,9 +5515,6 @@ typedef struct _NotificationEvent__isset { class NotificationEvent { public: - static const char* ascii_fingerprint; // = "ACAF0036D9999F3A389F490F5E22D369"; - static const uint8_t binary_fingerprint[16]; // = {0xAC,0xAF,0x00,0x36,0xD9,0x99,0x9F,0x3A,0x38,0x9F,0x49,0x0F,0x5E,0x22,0xD3,0x69}; - NotificationEvent(const NotificationEvent&); NotificationEvent& operator=(const NotificationEvent&); NotificationEvent() : eventId(0), eventTime(0), eventType(), dbName(), tableName(), message() { @@ -5139,18 +5571,21 @@ class NotificationEvent { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const NotificationEvent& obj); + virtual void printTo(std::ostream& out) const; }; void swap(NotificationEvent &a, NotificationEvent &b); +inline std::ostream& operator<<(std::ostream& out, const NotificationEvent& obj) +{ + obj.printTo(out); + return out; +} + class NotificationEventResponse { public: - static const char* ascii_fingerprint; // = "EE3DB23399639114BCD1782A0FB01818"; - static const uint8_t binary_fingerprint[16]; // = {0xEE,0x3D,0xB2,0x33,0x99,0x63,0x91,0x14,0xBC,0xD1,0x78,0x2A,0x0F,0xB0,0x18,0x18}; - NotificationEventResponse(const NotificationEventResponse&); NotificationEventResponse& operator=(const NotificationEventResponse&); NotificationEventResponse() { @@ -5176,18 +5611,21 @@ class NotificationEventResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const NotificationEventResponse& obj); + virtual void printTo(std::ostream& out) const; }; void swap(NotificationEventResponse &a, NotificationEventResponse &b); +inline std::ostream& operator<<(std::ostream& out, const NotificationEventResponse& obj) +{ + obj.printTo(out); + return out; +} + class CurrentNotificationEventId { public: - static const char* ascii_fingerprint; // = "56A59CE7FFAF82BCA8A19FAACDE4FB75"; - static const uint8_t binary_fingerprint[16]; // = {0x56,0xA5,0x9C,0xE7,0xFF,0xAF,0x82,0xBC,0xA8,0xA1,0x9F,0xAA,0xCD,0xE4,0xFB,0x75}; - CurrentNotificationEventId(const CurrentNotificationEventId&); CurrentNotificationEventId& operator=(const CurrentNotificationEventId&); CurrentNotificationEventId() : eventId(0) { @@ -5213,18 +5651,21 @@ class CurrentNotificationEventId { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const CurrentNotificationEventId& obj); + virtual void printTo(std::ostream& out) const; }; void swap(CurrentNotificationEventId &a, CurrentNotificationEventId &b); +inline std::ostream& operator<<(std::ostream& out, const CurrentNotificationEventId& obj) +{ + obj.printTo(out); + return out; +} + class InsertEventRequestData { public: - static const char* ascii_fingerprint; // = "ACE4F644F0FDD289DDC4EE5B83BC13C0"; - static const uint8_t binary_fingerprint[16]; // = {0xAC,0xE4,0xF6,0x44,0xF0,0xFD,0xD2,0x89,0xDD,0xC4,0xEE,0x5B,0x83,0xBC,0x13,0xC0}; - InsertEventRequestData(const InsertEventRequestData&); InsertEventRequestData& operator=(const InsertEventRequestData&); InsertEventRequestData() { @@ -5250,11 +5691,17 @@ class InsertEventRequestData { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const InsertEventRequestData& obj); + virtual void printTo(std::ostream& out) const; }; void swap(InsertEventRequestData &a, InsertEventRequestData &b); +inline std::ostream& operator<<(std::ostream& out, const InsertEventRequestData& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _FireEventRequestData__isset { _FireEventRequestData__isset() : insertData(false) {} bool insertData :1; @@ -5263,9 +5710,6 @@ typedef struct _FireEventRequestData__isset { class FireEventRequestData { public: - static const char* ascii_fingerprint; // = "187E754B26707EE32451E6A27FB672CE"; - static const uint8_t binary_fingerprint[16]; // = {0x18,0x7E,0x75,0x4B,0x26,0x70,0x7E,0xE3,0x24,0x51,0xE6,0xA2,0x7F,0xB6,0x72,0xCE}; - FireEventRequestData(const FireEventRequestData&); FireEventRequestData& operator=(const FireEventRequestData&); FireEventRequestData() { @@ -5293,11 +5737,17 @@ class FireEventRequestData { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const FireEventRequestData& obj); + virtual void printTo(std::ostream& out) const; }; void swap(FireEventRequestData &a, FireEventRequestData &b); +inline std::ostream& operator<<(std::ostream& out, const FireEventRequestData& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _FireEventRequest__isset { _FireEventRequest__isset() : dbName(false), tableName(false), partitionVals(false) {} bool dbName :1; @@ -5308,9 +5758,6 @@ typedef struct _FireEventRequest__isset { class FireEventRequest { public: - static const char* ascii_fingerprint; // = "1BA3A7F00159254072C3979B1429B50B"; - static const uint8_t binary_fingerprint[16]; // = {0x1B,0xA3,0xA7,0xF0,0x01,0x59,0x25,0x40,0x72,0xC3,0x97,0x9B,0x14,0x29,0xB5,0x0B}; - FireEventRequest(const FireEventRequest&); FireEventRequest& operator=(const FireEventRequest&); FireEventRequest() : successful(0), dbName(), tableName() { @@ -5364,18 +5811,21 @@ class FireEventRequest { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const FireEventRequest& obj); + virtual void printTo(std::ostream& out) const; }; void swap(FireEventRequest &a, FireEventRequest &b); +inline std::ostream& operator<<(std::ostream& out, const FireEventRequest& obj) +{ + obj.printTo(out); + return out; +} + class FireEventResponse { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - FireEventResponse(const FireEventResponse&); FireEventResponse& operator=(const FireEventResponse&); FireEventResponse() { @@ -5396,11 +5846,17 @@ class FireEventResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const FireEventResponse& obj); + virtual void printTo(std::ostream& out) const; }; void swap(FireEventResponse &a, FireEventResponse &b); +inline std::ostream& operator<<(std::ostream& out, const FireEventResponse& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _GetAllFunctionsResponse__isset { _GetAllFunctionsResponse__isset() : functions(false) {} bool functions :1; @@ -5409,9 +5865,6 @@ typedef struct _GetAllFunctionsResponse__isset { class GetAllFunctionsResponse { public: - static const char* ascii_fingerprint; // = "CEE0CA1D7402D4135EF7F42C0F0E0A68"; - static const uint8_t binary_fingerprint[16]; // = {0xCE,0xE0,0xCA,0x1D,0x74,0x02,0xD4,0x13,0x5E,0xF7,0xF4,0x2C,0x0F,0x0E,0x0A,0x68}; - GetAllFunctionsResponse(const GetAllFunctionsResponse&); GetAllFunctionsResponse& operator=(const GetAllFunctionsResponse&); GetAllFunctionsResponse() { @@ -5441,11 +5894,17 @@ class GetAllFunctionsResponse { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const GetAllFunctionsResponse& obj); + virtual void printTo(std::ostream& out) const; }; void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b); +inline std::ostream& operator<<(std::ostream& out, const GetAllFunctionsResponse& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _MetaException__isset { _MetaException__isset() : message(false) {} bool message :1; @@ -5454,9 +5913,6 @@ typedef struct _MetaException__isset { class MetaException : public ::apache::thrift::TException { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - MetaException(const MetaException&); MetaException& operator=(const MetaException&); MetaException() : message() { @@ -5484,11 +5940,19 @@ class MetaException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const MetaException& obj); + virtual void printTo(std::ostream& out) const; + mutable std::string thriftTExceptionMessageHolder_; + const char* what() const throw(); }; void swap(MetaException &a, MetaException &b); +inline std::ostream& operator<<(std::ostream& out, const MetaException& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _UnknownTableException__isset { _UnknownTableException__isset() : message(false) {} bool message :1; @@ -5497,9 +5961,6 @@ typedef struct _UnknownTableException__isset { class UnknownTableException : public ::apache::thrift::TException { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - UnknownTableException(const UnknownTableException&); UnknownTableException& operator=(const UnknownTableException&); UnknownTableException() : message() { @@ -5527,11 +5988,19 @@ class UnknownTableException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const UnknownTableException& obj); + virtual void printTo(std::ostream& out) const; + mutable std::string thriftTExceptionMessageHolder_; + const char* what() const throw(); }; void swap(UnknownTableException &a, UnknownTableException &b); +inline std::ostream& operator<<(std::ostream& out, const UnknownTableException& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _UnknownDBException__isset { _UnknownDBException__isset() : message(false) {} bool message :1; @@ -5540,9 +6009,6 @@ typedef struct _UnknownDBException__isset { class UnknownDBException : public ::apache::thrift::TException { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - UnknownDBException(const UnknownDBException&); UnknownDBException& operator=(const UnknownDBException&); UnknownDBException() : message() { @@ -5570,11 +6036,19 @@ class UnknownDBException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const UnknownDBException& obj); + virtual void printTo(std::ostream& out) const; + mutable std::string thriftTExceptionMessageHolder_; + const char* what() const throw(); }; void swap(UnknownDBException &a, UnknownDBException &b); +inline std::ostream& operator<<(std::ostream& out, const UnknownDBException& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _AlreadyExistsException__isset { _AlreadyExistsException__isset() : message(false) {} bool message :1; @@ -5583,9 +6057,6 @@ typedef struct _AlreadyExistsException__isset { class AlreadyExistsException : public ::apache::thrift::TException { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - AlreadyExistsException(const AlreadyExistsException&); AlreadyExistsException& operator=(const AlreadyExistsException&); AlreadyExistsException() : message() { @@ -5613,11 +6084,19 @@ class AlreadyExistsException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const AlreadyExistsException& obj); + virtual void printTo(std::ostream& out) const; + mutable std::string thriftTExceptionMessageHolder_; + const char* what() const throw(); }; void swap(AlreadyExistsException &a, AlreadyExistsException &b); +inline std::ostream& operator<<(std::ostream& out, const AlreadyExistsException& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _InvalidPartitionException__isset { _InvalidPartitionException__isset() : message(false) {} bool message :1; @@ -5626,9 +6105,6 @@ typedef struct _InvalidPartitionException__isset { class InvalidPartitionException : public ::apache::thrift::TException { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - InvalidPartitionException(const InvalidPartitionException&); InvalidPartitionException& operator=(const InvalidPartitionException&); InvalidPartitionException() : message() { @@ -5656,11 +6132,19 @@ class InvalidPartitionException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const InvalidPartitionException& obj); + virtual void printTo(std::ostream& out) const; + mutable std::string thriftTExceptionMessageHolder_; + const char* what() const throw(); }; void swap(InvalidPartitionException &a, InvalidPartitionException &b); +inline std::ostream& operator<<(std::ostream& out, const InvalidPartitionException& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _UnknownPartitionException__isset { _UnknownPartitionException__isset() : message(false) {} bool message :1; @@ -5669,9 +6153,6 @@ typedef struct _UnknownPartitionException__isset { class UnknownPartitionException : public ::apache::thrift::TException { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - UnknownPartitionException(const UnknownPartitionException&); UnknownPartitionException& operator=(const UnknownPartitionException&); UnknownPartitionException() : message() { @@ -5699,11 +6180,19 @@ class UnknownPartitionException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const UnknownPartitionException& obj); + virtual void printTo(std::ostream& out) const; + mutable std::string thriftTExceptionMessageHolder_; + const char* what() const throw(); }; void swap(UnknownPartitionException &a, UnknownPartitionException &b); +inline std::ostream& operator<<(std::ostream& out, const UnknownPartitionException& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _InvalidObjectException__isset { _InvalidObjectException__isset() : message(false) {} bool message :1; @@ -5712,9 +6201,6 @@ typedef struct _InvalidObjectException__isset { class InvalidObjectException : public ::apache::thrift::TException { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - InvalidObjectException(const InvalidObjectException&); InvalidObjectException& operator=(const InvalidObjectException&); InvalidObjectException() : message() { @@ -5742,11 +6228,19 @@ class InvalidObjectException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const InvalidObjectException& obj); + virtual void printTo(std::ostream& out) const; + mutable std::string thriftTExceptionMessageHolder_; + const char* what() const throw(); }; void swap(InvalidObjectException &a, InvalidObjectException &b); +inline std::ostream& operator<<(std::ostream& out, const InvalidObjectException& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _NoSuchObjectException__isset { _NoSuchObjectException__isset() : message(false) {} bool message :1; @@ -5755,9 +6249,6 @@ typedef struct _NoSuchObjectException__isset { class NoSuchObjectException : public ::apache::thrift::TException { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - NoSuchObjectException(const NoSuchObjectException&); NoSuchObjectException& operator=(const NoSuchObjectException&); NoSuchObjectException() : message() { @@ -5785,11 +6276,19 @@ class NoSuchObjectException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const NoSuchObjectException& obj); + virtual void printTo(std::ostream& out) const; + mutable std::string thriftTExceptionMessageHolder_; + const char* what() const throw(); }; void swap(NoSuchObjectException &a, NoSuchObjectException &b); +inline std::ostream& operator<<(std::ostream& out, const NoSuchObjectException& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _IndexAlreadyExistsException__isset { _IndexAlreadyExistsException__isset() : message(false) {} bool message :1; @@ -5798,9 +6297,6 @@ typedef struct _IndexAlreadyExistsException__isset { class IndexAlreadyExistsException : public ::apache::thrift::TException { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - IndexAlreadyExistsException(const IndexAlreadyExistsException&); IndexAlreadyExistsException& operator=(const IndexAlreadyExistsException&); IndexAlreadyExistsException() : message() { @@ -5828,11 +6324,19 @@ class IndexAlreadyExistsException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const IndexAlreadyExistsException& obj); + virtual void printTo(std::ostream& out) const; + mutable std::string thriftTExceptionMessageHolder_; + const char* what() const throw(); }; void swap(IndexAlreadyExistsException &a, IndexAlreadyExistsException &b); +inline std::ostream& operator<<(std::ostream& out, const IndexAlreadyExistsException& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _InvalidOperationException__isset { _InvalidOperationException__isset() : message(false) {} bool message :1; @@ -5841,9 +6345,6 @@ typedef struct _InvalidOperationException__isset { class InvalidOperationException : public ::apache::thrift::TException { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - InvalidOperationException(const InvalidOperationException&); InvalidOperationException& operator=(const InvalidOperationException&); InvalidOperationException() : message() { @@ -5871,11 +6372,19 @@ class InvalidOperationException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const InvalidOperationException& obj); + virtual void printTo(std::ostream& out) const; + mutable std::string thriftTExceptionMessageHolder_; + const char* what() const throw(); }; void swap(InvalidOperationException &a, InvalidOperationException &b); +inline std::ostream& operator<<(std::ostream& out, const InvalidOperationException& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _ConfigValSecurityException__isset { _ConfigValSecurityException__isset() : message(false) {} bool message :1; @@ -5884,9 +6393,6 @@ typedef struct _ConfigValSecurityException__isset { class ConfigValSecurityException : public ::apache::thrift::TException { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - ConfigValSecurityException(const ConfigValSecurityException&); ConfigValSecurityException& operator=(const ConfigValSecurityException&); ConfigValSecurityException() : message() { @@ -5914,11 +6420,19 @@ class ConfigValSecurityException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ConfigValSecurityException& obj); + virtual void printTo(std::ostream& out) const; + mutable std::string thriftTExceptionMessageHolder_; + const char* what() const throw(); }; void swap(ConfigValSecurityException &a, ConfigValSecurityException &b); +inline std::ostream& operator<<(std::ostream& out, const ConfigValSecurityException& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _InvalidInputException__isset { _InvalidInputException__isset() : message(false) {} bool message :1; @@ -5927,9 +6441,6 @@ typedef struct _InvalidInputException__isset { class InvalidInputException : public ::apache::thrift::TException { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - InvalidInputException(const InvalidInputException&); InvalidInputException& operator=(const InvalidInputException&); InvalidInputException() : message() { @@ -5957,11 +6468,19 @@ class InvalidInputException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const InvalidInputException& obj); + virtual void printTo(std::ostream& out) const; + mutable std::string thriftTExceptionMessageHolder_; + const char* what() const throw(); }; void swap(InvalidInputException &a, InvalidInputException &b); +inline std::ostream& operator<<(std::ostream& out, const InvalidInputException& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _NoSuchTxnException__isset { _NoSuchTxnException__isset() : message(false) {} bool message :1; @@ -5970,9 +6489,6 @@ typedef struct _NoSuchTxnException__isset { class NoSuchTxnException : public ::apache::thrift::TException { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - NoSuchTxnException(const NoSuchTxnException&); NoSuchTxnException& operator=(const NoSuchTxnException&); NoSuchTxnException() : message() { @@ -6000,11 +6516,19 @@ class NoSuchTxnException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const NoSuchTxnException& obj); + virtual void printTo(std::ostream& out) const; + mutable std::string thriftTExceptionMessageHolder_; + const char* what() const throw(); }; void swap(NoSuchTxnException &a, NoSuchTxnException &b); +inline std::ostream& operator<<(std::ostream& out, const NoSuchTxnException& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TxnAbortedException__isset { _TxnAbortedException__isset() : message(false) {} bool message :1; @@ -6013,9 +6537,6 @@ typedef struct _TxnAbortedException__isset { class TxnAbortedException : public ::apache::thrift::TException { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - TxnAbortedException(const TxnAbortedException&); TxnAbortedException& operator=(const TxnAbortedException&); TxnAbortedException() : message() { @@ -6043,11 +6564,19 @@ class TxnAbortedException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TxnAbortedException& obj); + virtual void printTo(std::ostream& out) const; + mutable std::string thriftTExceptionMessageHolder_; + const char* what() const throw(); }; void swap(TxnAbortedException &a, TxnAbortedException &b); +inline std::ostream& operator<<(std::ostream& out, const TxnAbortedException& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TxnOpenException__isset { _TxnOpenException__isset() : message(false) {} bool message :1; @@ -6056,9 +6585,6 @@ typedef struct _TxnOpenException__isset { class TxnOpenException : public ::apache::thrift::TException { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - TxnOpenException(const TxnOpenException&); TxnOpenException& operator=(const TxnOpenException&); TxnOpenException() : message() { @@ -6086,11 +6612,19 @@ class TxnOpenException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TxnOpenException& obj); + virtual void printTo(std::ostream& out) const; + mutable std::string thriftTExceptionMessageHolder_; + const char* what() const throw(); }; void swap(TxnOpenException &a, TxnOpenException &b); +inline std::ostream& operator<<(std::ostream& out, const TxnOpenException& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _NoSuchLockException__isset { _NoSuchLockException__isset() : message(false) {} bool message :1; @@ -6099,9 +6633,6 @@ typedef struct _NoSuchLockException__isset { class NoSuchLockException : public ::apache::thrift::TException { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - NoSuchLockException(const NoSuchLockException&); NoSuchLockException& operator=(const NoSuchLockException&); NoSuchLockException() : message() { @@ -6129,11 +6660,19 @@ class NoSuchLockException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const NoSuchLockException& obj); + virtual void printTo(std::ostream& out) const; + mutable std::string thriftTExceptionMessageHolder_; + const char* what() const throw(); }; void swap(NoSuchLockException &a, NoSuchLockException &b); +inline std::ostream& operator<<(std::ostream& out, const NoSuchLockException& obj) +{ + obj.printTo(out); + return out; +} + }}} // namespace #endif diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java index 37e5bf1..1fa9b77 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class AbortTxnRequest 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("AbortTxnRequest"); @@ -185,7 +185,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case TXNID: - return Long.valueOf(getTxnid()); + return getTxnid(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java index 9c78c49..a6ff4e1 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class AddDynamicPartitions 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("AddDynamicPartitions"); @@ -334,7 +334,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case TXNID: - return Long.valueOf(getTxnid()); + return getTxnid(); case DBNAME: return getDbname(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java index fcfaaf3..b0602d1 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class AddPartitionsRequest 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("AddPartitionsRequest"); @@ -390,10 +390,10 @@ public Object getFieldValue(_Fields field) { return getParts(); case IF_NOT_EXISTS: - return Boolean.valueOf(isIfNotExists()); + return isIfNotExists(); case NEED_RESULT: - return Boolean.valueOf(isNeedResult()); + return isNeedResult(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java index 9022019..364320c 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class AddPartitionsResult 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("AddPartitionsResult"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java index 917cec0..2cfb77f 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class AggrStats 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("AggrStats"); @@ -252,7 +252,7 @@ public Object getFieldValue(_Fields field) { return getColStats(); case PARTS_FOUND: - return Long.valueOf(getPartsFound()); + return getPartsFound(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlreadyExistsException.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlreadyExistsException.java index d7a317b..b61a4d6 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlreadyExistsException.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AlreadyExistsException.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class AlreadyExistsException extends TException 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("AlreadyExistsException"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BinaryColumnStatsData.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BinaryColumnStatsData.java index 00b312d..93c47b9 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BinaryColumnStatsData.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BinaryColumnStatsData.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class BinaryColumnStatsData 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("BinaryColumnStatsData"); @@ -273,13 +273,13 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case MAX_COL_LEN: - return Long.valueOf(getMaxColLen()); + return getMaxColLen(); case AVG_COL_LEN: - return Double.valueOf(getAvgColLen()); + return getAvgColLen(); case NUM_NULLS: - return Long.valueOf(getNumNulls()); + return getNumNulls(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BooleanColumnStatsData.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BooleanColumnStatsData.java index a0f3ab8..90aa5e6 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BooleanColumnStatsData.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BooleanColumnStatsData.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class BooleanColumnStatsData 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("BooleanColumnStatsData"); @@ -273,13 +273,13 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case NUM_TRUES: - return Long.valueOf(getNumTrues()); + return getNumTrues(); case NUM_FALSES: - return Long.valueOf(getNumFalses()); + return getNumFalses(); case NUM_NULLS: - return Long.valueOf(getNumNulls()); + return getNumNulls(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckLockRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckLockRequest.java index 82e3031..93aeff6 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckLockRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CheckLockRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,11 +34,13 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class CheckLockRequest 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("CheckLockRequest"); private static final org.apache.thrift.protocol.TField LOCKID_FIELD_DESC = new org.apache.thrift.protocol.TField("lockid", org.apache.thrift.protocol.TType.I64, (short)1); + private static final org.apache.thrift.protocol.TField TXNID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnid", org.apache.thrift.protocol.TType.I64, (short)2); + private static final org.apache.thrift.protocol.TField ELAPSED_MS_FIELD_DESC = new org.apache.thrift.protocol.TField("elapsed_ms", org.apache.thrift.protocol.TType.I64, (short)3); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -47,10 +49,14 @@ } private long lockid; // required + private long txnid; // optional + private long elapsed_ms; // 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 { - LOCKID((short)1, "lockid"); + LOCKID((short)1, "lockid"), + TXNID((short)2, "txnid"), + ELAPSED_MS((short)3, "elapsed_ms"); private static final Map byName = new HashMap(); @@ -67,6 +73,10 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // LOCKID return LOCKID; + case 2: // TXNID + return TXNID; + case 3: // ELAPSED_MS + return ELAPSED_MS; default: return null; } @@ -108,12 +118,19 @@ public String getFieldName() { // isset id assignments private static final int __LOCKID_ISSET_ID = 0; + private static final int __TXNID_ISSET_ID = 1; + private static final int __ELAPSED_MS_ISSET_ID = 2; private byte __isset_bitfield = 0; + private static final _Fields optionals[] = {_Fields.TXNID,_Fields.ELAPSED_MS}; 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.LOCKID, new org.apache.thrift.meta_data.FieldMetaData("lockid", org.apache.thrift.TFieldRequirementType.REQUIRED, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.TXNID, new org.apache.thrift.meta_data.FieldMetaData("txnid", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ELAPSED_MS, new org.apache.thrift.meta_data.FieldMetaData("elapsed_ms", 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(CheckLockRequest.class, metaDataMap); } @@ -135,6 +152,8 @@ public CheckLockRequest( public CheckLockRequest(CheckLockRequest other) { __isset_bitfield = other.__isset_bitfield; this.lockid = other.lockid; + this.txnid = other.txnid; + this.elapsed_ms = other.elapsed_ms; } public CheckLockRequest deepCopy() { @@ -145,6 +164,10 @@ public CheckLockRequest deepCopy() { public void clear() { setLockidIsSet(false); this.lockid = 0; + setTxnidIsSet(false); + this.txnid = 0; + setElapsed_msIsSet(false); + this.elapsed_ms = 0; } public long getLockid() { @@ -169,6 +192,50 @@ public void setLockidIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __LOCKID_ISSET_ID, value); } + public long getTxnid() { + return this.txnid; + } + + public void setTxnid(long txnid) { + this.txnid = txnid; + setTxnidIsSet(true); + } + + public void unsetTxnid() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TXNID_ISSET_ID); + } + + /** Returns true if field txnid is set (has been assigned a value) and false otherwise */ + public boolean isSetTxnid() { + return EncodingUtils.testBit(__isset_bitfield, __TXNID_ISSET_ID); + } + + public void setTxnidIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TXNID_ISSET_ID, value); + } + + public long getElapsed_ms() { + return this.elapsed_ms; + } + + public void setElapsed_ms(long elapsed_ms) { + this.elapsed_ms = elapsed_ms; + setElapsed_msIsSet(true); + } + + public void unsetElapsed_ms() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __ELAPSED_MS_ISSET_ID); + } + + /** Returns true if field elapsed_ms is set (has been assigned a value) and false otherwise */ + public boolean isSetElapsed_ms() { + return EncodingUtils.testBit(__isset_bitfield, __ELAPSED_MS_ISSET_ID); + } + + public void setElapsed_msIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ELAPSED_MS_ISSET_ID, value); + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case LOCKID: @@ -179,13 +246,35 @@ public void setFieldValue(_Fields field, Object value) { } break; + case TXNID: + if (value == null) { + unsetTxnid(); + } else { + setTxnid((Long)value); + } + break; + + case ELAPSED_MS: + if (value == null) { + unsetElapsed_ms(); + } else { + setElapsed_ms((Long)value); + } + break; + } } public Object getFieldValue(_Fields field) { switch (field) { case LOCKID: - return Long.valueOf(getLockid()); + return getLockid(); + + case TXNID: + return getTxnid(); + + case ELAPSED_MS: + return getElapsed_ms(); } throw new IllegalStateException(); @@ -200,6 +289,10 @@ public boolean isSet(_Fields field) { switch (field) { case LOCKID: return isSetLockid(); + case TXNID: + return isSetTxnid(); + case ELAPSED_MS: + return isSetElapsed_ms(); } throw new IllegalStateException(); } @@ -226,6 +319,24 @@ public boolean equals(CheckLockRequest that) { return false; } + boolean this_present_txnid = true && this.isSetTxnid(); + boolean that_present_txnid = true && that.isSetTxnid(); + if (this_present_txnid || that_present_txnid) { + if (!(this_present_txnid && that_present_txnid)) + return false; + if (this.txnid != that.txnid) + return false; + } + + boolean this_present_elapsed_ms = true && this.isSetElapsed_ms(); + boolean that_present_elapsed_ms = true && that.isSetElapsed_ms(); + if (this_present_elapsed_ms || that_present_elapsed_ms) { + if (!(this_present_elapsed_ms && that_present_elapsed_ms)) + return false; + if (this.elapsed_ms != that.elapsed_ms) + return false; + } + return true; } @@ -238,6 +349,16 @@ public int hashCode() { if (present_lockid) list.add(lockid); + boolean present_txnid = true && (isSetTxnid()); + list.add(present_txnid); + if (present_txnid) + list.add(txnid); + + boolean present_elapsed_ms = true && (isSetElapsed_ms()); + list.add(present_elapsed_ms); + if (present_elapsed_ms) + list.add(elapsed_ms); + return list.hashCode(); } @@ -259,6 +380,26 @@ public int compareTo(CheckLockRequest other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetTxnid()).compareTo(other.isSetTxnid()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTxnid()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnid, other.txnid); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetElapsed_ms()).compareTo(other.isSetElapsed_ms()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetElapsed_ms()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.elapsed_ms, other.elapsed_ms); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -282,6 +423,18 @@ public String toString() { sb.append("lockid:"); sb.append(this.lockid); first = false; + if (isSetTxnid()) { + if (!first) sb.append(", "); + sb.append("txnid:"); + sb.append(this.txnid); + first = false; + } + if (isSetElapsed_ms()) { + if (!first) sb.append(", "); + sb.append("elapsed_ms:"); + sb.append(this.elapsed_ms); + first = false; + } sb.append(")"); return sb.toString(); } @@ -339,6 +492,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CheckLockRequest st org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 2: // TXNID + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.txnid = iprot.readI64(); + struct.setTxnidIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // ELAPSED_MS + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.elapsed_ms = iprot.readI64(); + struct.setElapsed_msIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -355,6 +524,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CheckLockRequest s oprot.writeFieldBegin(LOCKID_FIELD_DESC); oprot.writeI64(struct.lockid); oprot.writeFieldEnd(); + if (struct.isSetTxnid()) { + oprot.writeFieldBegin(TXNID_FIELD_DESC); + oprot.writeI64(struct.txnid); + oprot.writeFieldEnd(); + } + if (struct.isSetElapsed_ms()) { + oprot.writeFieldBegin(ELAPSED_MS_FIELD_DESC); + oprot.writeI64(struct.elapsed_ms); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -373,6 +552,20 @@ public CheckLockRequestTupleScheme getScheme() { public void write(org.apache.thrift.protocol.TProtocol prot, CheckLockRequest struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeI64(struct.lockid); + BitSet optionals = new BitSet(); + if (struct.isSetTxnid()) { + optionals.set(0); + } + if (struct.isSetElapsed_ms()) { + optionals.set(1); + } + oprot.writeBitSet(optionals, 2); + if (struct.isSetTxnid()) { + oprot.writeI64(struct.txnid); + } + if (struct.isSetElapsed_ms()) { + oprot.writeI64(struct.elapsed_ms); + } } @Override @@ -380,6 +573,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CheckLockRequest str TTupleProtocol iprot = (TTupleProtocol) prot; struct.lockid = iprot.readI64(); struct.setLockidIsSet(true); + BitSet incoming = iprot.readBitSet(2); + if (incoming.get(0)) { + struct.txnid = iprot.readI64(); + struct.setTxnidIsSet(true); + } + if (incoming.get(1)) { + struct.elapsed_ms = iprot.readI64(); + struct.setElapsed_msIsSet(true); + } } } diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java index 510dace..088e833 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class ColumnStatistics 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("ColumnStatistics"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsData.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsData.java index 6558add..036d438 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsData.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsData.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsDesc.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsDesc.java index cf967b6..476965b 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsDesc.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsDesc.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class ColumnStatisticsDesc 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("ColumnStatisticsDesc"); @@ -357,7 +357,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case IS_TBL_LEVEL: - return Boolean.valueOf(isIsTblLevel()); + return isIsTblLevel(); case DB_NAME: return getDbName(); @@ -369,7 +369,7 @@ public Object getFieldValue(_Fields field) { return getPartName(); case LAST_ANALYZED: - return Long.valueOf(getLastAnalyzed()); + return getLastAnalyzed(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsObj.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsObj.java index 3c2b123..b59090e 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsObj.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatisticsObj.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class ColumnStatisticsObj 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("ColumnStatisticsObj"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java index 5e8cd04..3007b45 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class CommitTxnRequest 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("CommitTxnRequest"); @@ -185,7 +185,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case TXNID: - return Long.valueOf(getTxnid()); + return getTxnid(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java index e9088e0..42c4eb3 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class CompactionRequest 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("CompactionRequest"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionType.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionType.java index 09474ee..7450b27 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionType.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ConfigValSecurityException.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ConfigValSecurityException.java index 000670a..ad6a8da 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ConfigValSecurityException.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ConfigValSecurityException.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class ConfigValSecurityException extends TException 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("ConfigValSecurityException"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CurrentNotificationEventId.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CurrentNotificationEventId.java index d55d874..526d56c 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CurrentNotificationEventId.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CurrentNotificationEventId.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class CurrentNotificationEventId 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("CurrentNotificationEventId"); @@ -185,7 +185,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case EVENT_ID: - return Long.valueOf(getEventId()); + return getEventId(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java index 56b7281..d55ae34 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class Database 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("Database"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Date.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Date.java index 0b406d6..58d5eff 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Date.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Date.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class Date 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("Date"); @@ -185,7 +185,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case DAYS_SINCE_EPOCH: - return Long.valueOf(getDaysSinceEpoch()); + return getDaysSinceEpoch(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DateColumnStatsData.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DateColumnStatsData.java index 7a3d4ed..546794c 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DateColumnStatsData.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DateColumnStatsData.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class DateColumnStatsData 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("DateColumnStatsData"); @@ -320,10 +320,10 @@ public Object getFieldValue(_Fields field) { return getHighValue(); case NUM_NULLS: - return Long.valueOf(getNumNulls()); + return getNumNulls(); case NUM_DVS: - return Long.valueOf(getNumDVs()); + return getNumDVs(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Decimal.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Decimal.java index 9215ce9..14c3cd5 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Decimal.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Decimal.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class Decimal 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("Decimal"); @@ -241,7 +241,7 @@ public Object getFieldValue(_Fields field) { return getUnscaled(); case SCALE: - return Short.valueOf(getScale()); + return getScale(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DecimalColumnStatsData.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DecimalColumnStatsData.java index e64ca36..4e39d57 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DecimalColumnStatsData.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DecimalColumnStatsData.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class DecimalColumnStatsData 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("DecimalColumnStatsData"); @@ -320,10 +320,10 @@ public Object getFieldValue(_Fields field) { return getHighValue(); case NUM_NULLS: - return Long.valueOf(getNumNulls()); + return getNumNulls(); case NUM_DVS: - return Long.valueOf(getNumDVs()); + return getNumDVs(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DoubleColumnStatsData.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DoubleColumnStatsData.java index 2509ed5..757e306 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DoubleColumnStatsData.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DoubleColumnStatsData.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class DoubleColumnStatsData 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("DoubleColumnStatsData"); @@ -312,16 +312,16 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case LOW_VALUE: - return Double.valueOf(getLowValue()); + return getLowValue(); case HIGH_VALUE: - return Double.valueOf(getHighValue()); + return getHighValue(); case NUM_NULLS: - return Long.valueOf(getNumNulls()); + return getNumNulls(); case NUM_DVS: - return Long.valueOf(getNumDVs()); + return getNumDVs(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsExpr.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsExpr.java index 5e3a2d1..d3c3f28 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsExpr.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsExpr.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class DropPartitionsExpr 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("DropPartitionsExpr"); @@ -239,7 +239,7 @@ public Object getFieldValue(_Fields field) { return getExpr(); case PART_ARCHIVE_LEVEL: - return Integer.valueOf(getPartArchiveLevel()); + return getPartArchiveLevel(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsRequest.java index 24536ba..ffba238 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class DropPartitionsRequest 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("DropPartitionsRequest"); @@ -493,19 +493,19 @@ public Object getFieldValue(_Fields field) { return getParts(); case DELETE_DATA: - return Boolean.valueOf(isDeleteData()); + return isDeleteData(); case IF_EXISTS: - return Boolean.valueOf(isIfExists()); + return isIfExists(); case IGNORE_PROTECTION: - return Boolean.valueOf(isIgnoreProtection()); + return isIgnoreProtection(); case ENVIRONMENT_CONTEXT: return getEnvironmentContext(); case NEED_RESULT: - return Boolean.valueOf(isNeedResult()); + return isNeedResult(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java index c139e65..582893b 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class DropPartitionsResult 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("DropPartitionsResult"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java index 6accb8d..ffba33b 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class EnvironmentContext 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("EnvironmentContext"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EventRequestType.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EventRequestType.java index 422b44f..4295046 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EventRequestType.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EventRequestType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java index ba69622..38aa56c 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FieldSchema.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class FieldSchema 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("FieldSchema"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java index f3d439c..c6ec951 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class FireEventRequest 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("FireEventRequest"); @@ -373,7 +373,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESSFUL: - return Boolean.valueOf(isSuccessful()); + return isSuccessful(); case DATA: return getData(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java index 2830496..db8dc8b 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java index d95ae06..9e33099 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class FireEventResponse 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("FireEventResponse"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java index 50eff73..7556a69 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class Function 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("Function"); @@ -552,7 +552,7 @@ public Object getFieldValue(_Fields field) { return getOwnerType(); case CREATE_TIME: - return Integer.valueOf(getCreateTime()); + return getCreateTime(); case FUNCTION_TYPE: return getFunctionType(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FunctionType.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FunctionType.java index 6958566..1116f88 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FunctionType.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FunctionType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java index 0a9e27b..7414bdb 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class GetAllFunctionsResponse 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("GetAllFunctionsResponse"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java index 61dea16..9915568 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class GetOpenTxnsInfoResponse 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("GetOpenTxnsInfoResponse"); @@ -249,7 +249,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case TXN_HIGH_WATER_MARK: - return Long.valueOf(getTxn_high_water_mark()); + return getTxn_high_water_mark(); case OPEN_TXNS: return getOpen_txns(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java index bd21de5..7e4e245 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class GetOpenTxnsResponse 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("GetOpenTxnsResponse"); @@ -246,7 +246,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case TXN_HIGH_WATER_MARK: - return Long.valueOf(getTxn_high_water_mark()); + return getTxn_high_water_mark(); case OPEN_TXNS: return getOpen_txns(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleRequest.java index 45e0cc1..28da235 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class GetPrincipalsInRoleRequest 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("GetPrincipalsInRoleRequest"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java index 805b898..f9da638 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class GetPrincipalsInRoleResponse 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("GetPrincipalsInRoleResponse"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalRequest.java index c2c7259..a890b44 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class GetRoleGrantsForPrincipalRequest 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("GetRoleGrantsForPrincipalRequest"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java index 7156665..3212550 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class GetRoleGrantsForPrincipalResponse 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("GetRoleGrantsForPrincipalResponse"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeRequest.java index 94e5a5e..6ce7cc8 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class GrantRevokePrivilegeRequest 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("GrantRevokePrivilegeRequest"); @@ -289,7 +289,7 @@ public Object getFieldValue(_Fields field) { return getPrivileges(); case REVOKE_GRANT_OPTION: - return Boolean.valueOf(isRevokeGrantOption()); + return isRevokeGrantOption(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeResponse.java index 1949aed..4072033 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokePrivilegeResponse.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class GrantRevokePrivilegeResponse 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("GrantRevokePrivilegeResponse"); @@ -178,7 +178,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return isSuccess(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleRequest.java index ac3527a..0f717a9 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class GrantRevokeRoleRequest 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("GrantRevokeRoleRequest"); @@ -497,7 +497,7 @@ public Object getFieldValue(_Fields field) { return getGrantorType(); case GRANT_OPTION: - return Boolean.valueOf(isGrantOption()); + return isGrantOption(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleResponse.java index 81ae31f..9c96028 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeRoleResponse.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class GrantRevokeRoleResponse 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("GrantRevokeRoleResponse"); @@ -178,7 +178,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return isSuccess(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeType.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeType.java index f7b4587..ac65ec7 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeType.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GrantRevokeType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatRequest.java index 4a9ba7f..636498d 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class HeartbeatRequest 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("HeartbeatRequest"); @@ -219,10 +219,10 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case LOCKID: - return Long.valueOf(getLockid()); + return getLockid(); case TXNID: - return Long.valueOf(getTxnid()); + return getTxnid(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeRequest.java index dd6ed17..f980520 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class HeartbeatTxnRangeRequest 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("HeartbeatTxnRangeRequest"); @@ -229,10 +229,10 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case MIN: - return Long.valueOf(getMin()); + return getMin(); case MAX: - return Long.valueOf(getMax()); + return getMax(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java index 11bd82b..b5bf118 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class HeartbeatTxnRangeResponse 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("HeartbeatTxnRangeResponse"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectPrivilege.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectPrivilege.java index 931b4e1..bfd50f2 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectPrivilege.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectPrivilege.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class HiveObjectPrivilege 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("HiveObjectPrivilege"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java index 2573cea..973f1d9 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class HiveObjectRef 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("HiveObjectRef"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectType.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectType.java index 427930f..f5b1d0e 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectType.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java index 81227c3..a345fe3 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class Index 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("Index"); @@ -607,10 +607,10 @@ public Object getFieldValue(_Fields field) { return getOrigTableName(); case CREATE_TIME: - return Integer.valueOf(getCreateTime()); + return getCreateTime(); case LAST_ACCESS_TIME: - return Integer.valueOf(getLastAccessTime()); + return getLastAccessTime(); case INDEX_TABLE_NAME: return getIndexTableName(); @@ -622,7 +622,7 @@ public Object getFieldValue(_Fields field) { return getParameters(); case DEFERRED_REBUILD: - return Boolean.valueOf(isDeferredRebuild()); + return isDeferredRebuild(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/IndexAlreadyExistsException.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/IndexAlreadyExistsException.java index 50517ed..1995a64 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/IndexAlreadyExistsException.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/IndexAlreadyExistsException.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class IndexAlreadyExistsException extends TException 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("IndexAlreadyExistsException"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java index 2e14cf9..a36c8f1 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class InsertEventRequestData 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("InsertEventRequestData"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidInputException.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidInputException.java index 87e2f6b..d3300307 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidInputException.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidInputException.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class InvalidInputException extends TException 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("InvalidInputException"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidObjectException.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidObjectException.java index 14dd7d8..551c0db 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidObjectException.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidObjectException.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class InvalidObjectException extends TException 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("InvalidObjectException"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidOperationException.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidOperationException.java index 2e3f1e3..258b90d 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidOperationException.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidOperationException.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class InvalidOperationException extends TException 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("InvalidOperationException"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidPartitionException.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidPartitionException.java index 1d9b565..ec9a61a 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidPartitionException.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InvalidPartitionException.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class InvalidPartitionException extends TException 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("InvalidPartitionException"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockComponent.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockComponent.java index 319f8bb..0ecd0e6 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockComponent.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockComponent.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class LockComponent 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("LockComponent"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockLevel.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockLevel.java index 08840f1..e58ea46 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockLevel.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockLevel.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java index 6894bfa..d573173 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class LockRequest 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("LockRequest"); @@ -42,6 +42,7 @@ private static final org.apache.thrift.protocol.TField TXNID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnid", org.apache.thrift.protocol.TType.I64, (short)2); private static final org.apache.thrift.protocol.TField USER_FIELD_DESC = new org.apache.thrift.protocol.TField("user", org.apache.thrift.protocol.TType.STRING, (short)3); private static final org.apache.thrift.protocol.TField HOSTNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("hostname", org.apache.thrift.protocol.TType.STRING, (short)4); + private static final org.apache.thrift.protocol.TField AGENT_INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("agentInfo", org.apache.thrift.protocol.TType.STRING, (short)5); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -53,13 +54,15 @@ private long txnid; // optional private String user; // required private String hostname; // required + private String agentInfo; // 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 { COMPONENT((short)1, "component"), TXNID((short)2, "txnid"), USER((short)3, "user"), - HOSTNAME((short)4, "hostname"); + HOSTNAME((short)4, "hostname"), + AGENT_INFO((short)5, "agentInfo"); private static final Map byName = new HashMap(); @@ -82,6 +85,8 @@ public static _Fields findByThriftId(int fieldId) { return USER; case 4: // HOSTNAME return HOSTNAME; + case 5: // AGENT_INFO + return AGENT_INFO; default: return null; } @@ -124,7 +129,7 @@ public String getFieldName() { // isset id assignments private static final int __TXNID_ISSET_ID = 0; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.TXNID}; + private static final _Fields optionals[] = {_Fields.TXNID,_Fields.AGENT_INFO}; 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); @@ -137,11 +142,15 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.HOSTNAME, new org.apache.thrift.meta_data.FieldMetaData("hostname", org.apache.thrift.TFieldRequirementType.REQUIRED, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.AGENT_INFO, new org.apache.thrift.meta_data.FieldMetaData("agentInfo", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(LockRequest.class, metaDataMap); } public LockRequest() { + this.agentInfo = "Unknown"; + } public LockRequest( @@ -174,6 +183,9 @@ public LockRequest(LockRequest other) { if (other.isSetHostname()) { this.hostname = other.hostname; } + if (other.isSetAgentInfo()) { + this.agentInfo = other.agentInfo; + } } public LockRequest deepCopy() { @@ -187,6 +199,8 @@ public void clear() { this.txnid = 0; this.user = null; this.hostname = null; + this.agentInfo = "Unknown"; + } public int getComponentSize() { @@ -295,6 +309,29 @@ public void setHostnameIsSet(boolean value) { } } + public String getAgentInfo() { + return this.agentInfo; + } + + public void setAgentInfo(String agentInfo) { + this.agentInfo = agentInfo; + } + + public void unsetAgentInfo() { + this.agentInfo = null; + } + + /** Returns true if field agentInfo is set (has been assigned a value) and false otherwise */ + public boolean isSetAgentInfo() { + return this.agentInfo != null; + } + + public void setAgentInfoIsSet(boolean value) { + if (!value) { + this.agentInfo = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case COMPONENT: @@ -329,6 +366,14 @@ public void setFieldValue(_Fields field, Object value) { } break; + case AGENT_INFO: + if (value == null) { + unsetAgentInfo(); + } else { + setAgentInfo((String)value); + } + break; + } } @@ -338,7 +383,7 @@ public Object getFieldValue(_Fields field) { return getComponent(); case TXNID: - return Long.valueOf(getTxnid()); + return getTxnid(); case USER: return getUser(); @@ -346,6 +391,9 @@ public Object getFieldValue(_Fields field) { case HOSTNAME: return getHostname(); + case AGENT_INFO: + return getAgentInfo(); + } throw new IllegalStateException(); } @@ -365,6 +413,8 @@ public boolean isSet(_Fields field) { return isSetUser(); case HOSTNAME: return isSetHostname(); + case AGENT_INFO: + return isSetAgentInfo(); } throw new IllegalStateException(); } @@ -418,6 +468,15 @@ public boolean equals(LockRequest that) { return false; } + boolean this_present_agentInfo = true && this.isSetAgentInfo(); + boolean that_present_agentInfo = true && that.isSetAgentInfo(); + if (this_present_agentInfo || that_present_agentInfo) { + if (!(this_present_agentInfo && that_present_agentInfo)) + return false; + if (!this.agentInfo.equals(that.agentInfo)) + return false; + } + return true; } @@ -445,6 +504,11 @@ public int hashCode() { if (present_hostname) list.add(hostname); + boolean present_agentInfo = true && (isSetAgentInfo()); + list.add(present_agentInfo); + if (present_agentInfo) + list.add(agentInfo); + return list.hashCode(); } @@ -496,6 +560,16 @@ public int compareTo(LockRequest other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetAgentInfo()).compareTo(other.isSetAgentInfo()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetAgentInfo()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.agentInfo, other.agentInfo); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -545,6 +619,16 @@ public String toString() { sb.append(this.hostname); } first = false; + if (isSetAgentInfo()) { + if (!first) sb.append(", "); + sb.append("agentInfo:"); + if (this.agentInfo == null) { + sb.append("null"); + } else { + sb.append(this.agentInfo); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -645,6 +729,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, LockRequest struct) org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 5: // AGENT_INFO + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.agentInfo = iprot.readString(); + struct.setAgentInfoIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -685,6 +777,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, LockRequest struct oprot.writeString(struct.hostname); oprot.writeFieldEnd(); } + if (struct.agentInfo != null) { + if (struct.isSetAgentInfo()) { + oprot.writeFieldBegin(AGENT_INFO_FIELD_DESC); + oprot.writeString(struct.agentInfo); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -715,10 +814,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) if (struct.isSetTxnid()) { optionals.set(0); } - oprot.writeBitSet(optionals, 1); + if (struct.isSetAgentInfo()) { + optionals.set(1); + } + oprot.writeBitSet(optionals, 2); if (struct.isSetTxnid()) { oprot.writeI64(struct.txnid); } + if (struct.isSetAgentInfo()) { + oprot.writeString(struct.agentInfo); + } } @Override @@ -740,11 +845,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) struct.setUserIsSet(true); struct.hostname = iprot.readString(); struct.setHostnameIsSet(true); - BitSet incoming = iprot.readBitSet(1); + BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.txnid = iprot.readI64(); struct.setTxnidIsSet(true); } + if (incoming.get(1)) { + struct.agentInfo = iprot.readString(); + struct.setAgentInfoIsSet(true); + } } } diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockResponse.java index 08acaeb..48df823 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockResponse.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class LockResponse 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("LockResponse"); @@ -241,7 +241,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case LOCKID: - return Long.valueOf(getLockid()); + return getLockid(); case STATE: return getState(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockState.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockState.java index bce2b5a..48a0bbd 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockState.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockState.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockType.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockType.java index 9d60531..8ae4351 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockType.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LongColumnStatsData.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LongColumnStatsData.java index 93d2386..85ebf44 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LongColumnStatsData.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LongColumnStatsData.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class LongColumnStatsData 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("LongColumnStatsData"); @@ -312,16 +312,16 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case LOW_VALUE: - return Long.valueOf(getLowValue()); + return getLowValue(); case HIGH_VALUE: - return Long.valueOf(getHighValue()); + return getHighValue(); case NUM_NULLS: - return Long.valueOf(getNumNulls()); + return getNumNulls(); case NUM_DVS: - return Long.valueOf(getNumDVs()); + return getNumDVs(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/MetaException.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/MetaException.java index 883a1d4..71c73a5 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/MetaException.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/MetaException.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class MetaException extends TException 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("MetaException"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchLockException.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchLockException.java index e214b36..7ad6a7e 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchLockException.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchLockException.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class NoSuchLockException extends TException 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("NoSuchLockException"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchObjectException.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchObjectException.java index 1292a64..2096c40 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchObjectException.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchObjectException.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class NoSuchObjectException extends TException 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("NoSuchObjectException"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchTxnException.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchTxnException.java index d1c430d..0831099 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchTxnException.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NoSuchTxnException.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class NoSuchTxnException extends TException 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("NoSuchTxnException"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEvent.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEvent.java index bcf4f51..65b4b5f 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEvent.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEvent.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class NotificationEvent 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("NotificationEvent"); @@ -402,10 +402,10 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case EVENT_ID: - return Long.valueOf(getEventId()); + return getEventId(); case EVENT_TIME: - return Integer.valueOf(getEventTime()); + return getEventTime(); case EVENT_TYPE: return getEventType(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java index c2bc4e8..026c188 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class NotificationEventRequest 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("NotificationEventRequest"); @@ -227,10 +227,10 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case LAST_EVENT: - return Long.valueOf(getLastEvent()); + return getLastEvent(); case MAX_EVENTS: - return Integer.valueOf(getMaxEvents()); + return getMaxEvents(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java index 24f9ce4..9aae1b9 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class NotificationEventResponse 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("NotificationEventResponse"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java index c5f9ccf..bc3eea6 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,13 +34,14 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class OpenTxnRequest 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("OpenTxnRequest"); private static final org.apache.thrift.protocol.TField NUM_TXNS_FIELD_DESC = new org.apache.thrift.protocol.TField("num_txns", org.apache.thrift.protocol.TType.I32, (short)1); private static final org.apache.thrift.protocol.TField USER_FIELD_DESC = new org.apache.thrift.protocol.TField("user", org.apache.thrift.protocol.TType.STRING, (short)2); private static final org.apache.thrift.protocol.TField HOSTNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("hostname", org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.thrift.protocol.TField AGENT_INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("agentInfo", org.apache.thrift.protocol.TType.STRING, (short)4); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -51,12 +52,14 @@ private int num_txns; // required private String user; // required private String hostname; // required + private String agentInfo; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { NUM_TXNS((short)1, "num_txns"), USER((short)2, "user"), - HOSTNAME((short)3, "hostname"); + HOSTNAME((short)3, "hostname"), + AGENT_INFO((short)4, "agentInfo"); private static final Map byName = new HashMap(); @@ -77,6 +80,8 @@ public static _Fields findByThriftId(int fieldId) { return USER; case 3: // HOSTNAME return HOSTNAME; + case 4: // AGENT_INFO + return AGENT_INFO; default: return null; } @@ -119,6 +124,7 @@ public String getFieldName() { // isset id assignments private static final int __NUM_TXNS_ISSET_ID = 0; private byte __isset_bitfield = 0; + private static final _Fields optionals[] = {_Fields.AGENT_INFO}; 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); @@ -128,11 +134,15 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.HOSTNAME, new org.apache.thrift.meta_data.FieldMetaData("hostname", org.apache.thrift.TFieldRequirementType.REQUIRED, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.AGENT_INFO, new org.apache.thrift.meta_data.FieldMetaData("agentInfo", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(OpenTxnRequest.class, metaDataMap); } public OpenTxnRequest() { + this.agentInfo = "Unknown"; + } public OpenTxnRequest( @@ -159,6 +169,9 @@ public OpenTxnRequest(OpenTxnRequest other) { if (other.isSetHostname()) { this.hostname = other.hostname; } + if (other.isSetAgentInfo()) { + this.agentInfo = other.agentInfo; + } } public OpenTxnRequest deepCopy() { @@ -171,6 +184,8 @@ public void clear() { this.num_txns = 0; this.user = null; this.hostname = null; + this.agentInfo = "Unknown"; + } public int getNum_txns() { @@ -241,6 +256,29 @@ public void setHostnameIsSet(boolean value) { } } + public String getAgentInfo() { + return this.agentInfo; + } + + public void setAgentInfo(String agentInfo) { + this.agentInfo = agentInfo; + } + + public void unsetAgentInfo() { + this.agentInfo = null; + } + + /** Returns true if field agentInfo is set (has been assigned a value) and false otherwise */ + public boolean isSetAgentInfo() { + return this.agentInfo != null; + } + + public void setAgentInfoIsSet(boolean value) { + if (!value) { + this.agentInfo = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case NUM_TXNS: @@ -267,13 +305,21 @@ public void setFieldValue(_Fields field, Object value) { } break; + case AGENT_INFO: + if (value == null) { + unsetAgentInfo(); + } else { + setAgentInfo((String)value); + } + break; + } } public Object getFieldValue(_Fields field) { switch (field) { case NUM_TXNS: - return Integer.valueOf(getNum_txns()); + return getNum_txns(); case USER: return getUser(); @@ -281,6 +327,9 @@ public Object getFieldValue(_Fields field) { case HOSTNAME: return getHostname(); + case AGENT_INFO: + return getAgentInfo(); + } throw new IllegalStateException(); } @@ -298,6 +347,8 @@ public boolean isSet(_Fields field) { return isSetUser(); case HOSTNAME: return isSetHostname(); + case AGENT_INFO: + return isSetAgentInfo(); } throw new IllegalStateException(); } @@ -342,6 +393,15 @@ public boolean equals(OpenTxnRequest that) { return false; } + boolean this_present_agentInfo = true && this.isSetAgentInfo(); + boolean that_present_agentInfo = true && that.isSetAgentInfo(); + if (this_present_agentInfo || that_present_agentInfo) { + if (!(this_present_agentInfo && that_present_agentInfo)) + return false; + if (!this.agentInfo.equals(that.agentInfo)) + return false; + } + return true; } @@ -364,6 +424,11 @@ public int hashCode() { if (present_hostname) list.add(hostname); + boolean present_agentInfo = true && (isSetAgentInfo()); + list.add(present_agentInfo); + if (present_agentInfo) + list.add(agentInfo); + return list.hashCode(); } @@ -405,6 +470,16 @@ public int compareTo(OpenTxnRequest other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetAgentInfo()).compareTo(other.isSetAgentInfo()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetAgentInfo()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.agentInfo, other.agentInfo); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -444,6 +519,16 @@ public String toString() { sb.append(this.hostname); } first = false; + if (isSetAgentInfo()) { + if (!first) sb.append(", "); + sb.append("agentInfo:"); + if (this.agentInfo == null) { + sb.append("null"); + } else { + sb.append(this.agentInfo); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -525,6 +610,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, OpenTxnRequest stru org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 4: // AGENT_INFO + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.agentInfo = iprot.readString(); + struct.setAgentInfoIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -551,6 +644,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, OpenTxnRequest str oprot.writeString(struct.hostname); oprot.writeFieldEnd(); } + if (struct.agentInfo != null) { + if (struct.isSetAgentInfo()) { + oprot.writeFieldBegin(AGENT_INFO_FIELD_DESC); + oprot.writeString(struct.agentInfo); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -571,6 +671,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, OpenTxnRequest stru oprot.writeI32(struct.num_txns); oprot.writeString(struct.user); oprot.writeString(struct.hostname); + BitSet optionals = new BitSet(); + if (struct.isSetAgentInfo()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetAgentInfo()) { + oprot.writeString(struct.agentInfo); + } } @Override @@ -582,6 +690,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, OpenTxnRequest struc struct.setUserIsSet(true); struct.hostname = iprot.readString(); struct.setHostnameIsSet(true); + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.agentInfo = iprot.readString(); + struct.setAgentInfoIsSet(true); + } } } diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java index c233422..f99d886 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class OpenTxnsResponse 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("OpenTxnsResponse"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Order.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Order.java index da7bd55..1af857b 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Order.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Order.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class Order 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("Order"); @@ -232,7 +232,7 @@ public Object getFieldValue(_Fields field) { return getCol(); case ORDER: - return Integer.valueOf(getOrder()); + return getOrder(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java index 224d28e..52ae8f2 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class Partition 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("Partition"); @@ -532,10 +532,10 @@ public Object getFieldValue(_Fields field) { return getTableName(); case CREATE_TIME: - return Integer.valueOf(getCreateTime()); + return getCreateTime(); case LAST_ACCESS_TIME: - return Integer.valueOf(getLastAccessTime()); + return getLastAccessTime(); case SD: return getSd(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionEventType.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionEventType.java index 40bdb56..b515401 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionEventType.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionEventType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java index c50a100..2fc3873 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class PartitionListComposingSpec 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("PartitionListComposingSpec"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpec.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpec.java index b5251af..57aedf7 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpec.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpec.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class PartitionSpec 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("PartitionSpec"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java index 5574e0b..39dc7ba 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class PartitionSpecWithSharedSD 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("PartitionSpecWithSharedSD"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java index e1ec73e..4375fc6 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class PartitionWithoutSD 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("PartitionWithoutSD"); @@ -438,10 +438,10 @@ public Object getFieldValue(_Fields field) { return getValues(); case CREATE_TIME: - return Integer.valueOf(getCreateTime()); + return getCreateTime(); case LAST_ACCESS_TIME: - return Integer.valueOf(getLastAccessTime()); + return getLastAccessTime(); case RELATIVE_PATH: return getRelativePath(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprRequest.java index 6149c31..05b115a 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class PartitionsByExprRequest 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("PartitionsByExprRequest"); @@ -380,7 +380,7 @@ public Object getFieldValue(_Fields field) { return getDefaultPartitionName(); case MAX_PARTS: - return Short.valueOf(getMaxParts()); + return getMaxParts(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java index 740f7bd..9494a0c 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class PartitionsByExprResult 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("PartitionsByExprResult"); @@ -252,7 +252,7 @@ public Object getFieldValue(_Fields field) { return getPartitions(); case HAS_UNKNOWN_PARTITIONS: - return Boolean.valueOf(isHasUnknownPartitions()); + return isHasUnknownPartitions(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java index 5d1ee87..b4b42d4 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class PartitionsStatsRequest 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("PartitionsStatsRequest"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java index da33014..0228401 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class PartitionsStatsResult 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("PartitionsStatsResult"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java index 8f29f50..6e318ae 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class PrincipalPrivilegeSet 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("PrincipalPrivilegeSet"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalType.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalType.java index 65e937e..82eb8fd 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalType.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java index 2fd819c..4b1aff9 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class PrivilegeBag 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("PrivilegeBag"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeGrantInfo.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeGrantInfo.java index c04e196..6543e1a 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeGrantInfo.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeGrantInfo.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class PrivilegeGrantInfo 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("PrivilegeGrantInfo"); @@ -376,7 +376,7 @@ public Object getFieldValue(_Fields field) { return getPrivilege(); case CREATE_TIME: - return Integer.valueOf(getCreateTime()); + return getCreateTime(); case GRANTOR: return getGrantor(); @@ -385,7 +385,7 @@ public Object getFieldValue(_Fields field) { return getGrantorType(); case GRANT_OPTION: - return Boolean.valueOf(isGrantOption()); + return isGrantOption(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java index 9207934..7f8a044 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceType.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceType.java index 861a6db..a15c1ee 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceType.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceUri.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceUri.java index 3b3df25..e51171a 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceUri.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ResourceUri.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class ResourceUri 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("ResourceUri"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Role.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Role.java index 5c882d2..df2e118 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Role.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Role.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class Role 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("Role"); @@ -276,7 +276,7 @@ public Object getFieldValue(_Fields field) { return getRoleName(); case CREATE_TIME: - return Integer.valueOf(getCreateTime()); + return getCreateTime(); case OWNER_NAME: return getOwnerName(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RolePrincipalGrant.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RolePrincipalGrant.java index c4beb08..15309f2 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RolePrincipalGrant.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RolePrincipalGrant.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class RolePrincipalGrant 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("RolePrincipalGrant"); @@ -482,10 +482,10 @@ public Object getFieldValue(_Fields field) { return getPrincipalType(); case GRANT_OPTION: - return Boolean.valueOf(isGrantOption()); + return isGrantOption(); case GRANT_TIME: - return Integer.valueOf(getGrantTime()); + return getGrantTime(); case GRANTOR_NAME: return getGrantorName(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java index 8772180..c98b282 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class Schema 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("Schema"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java index b30e698..322e606 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class SerDeInfo 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("SerDeInfo"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java index 7da298c..0032b83 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class SetPartitionsStatsRequest 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("SetPartitionsStatsRequest"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactRequest.java index 7756384..bff06f9 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class ShowCompactRequest 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("ShowCompactRequest"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java index dd1e857..6709a9e 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class ShowCompactResponse 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("ShowCompactResponse"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponseElement.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponseElement.java index cd7e79e..1a1b453 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponseElement.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponseElement.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class ShowCompactResponseElement 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("ShowCompactResponseElement"); @@ -46,6 +46,10 @@ private static final org.apache.thrift.protocol.TField WORKERID_FIELD_DESC = new org.apache.thrift.protocol.TField("workerid", org.apache.thrift.protocol.TType.STRING, (short)6); private static final org.apache.thrift.protocol.TField START_FIELD_DESC = new org.apache.thrift.protocol.TField("start", org.apache.thrift.protocol.TType.I64, (short)7); private static final org.apache.thrift.protocol.TField RUN_AS_FIELD_DESC = new org.apache.thrift.protocol.TField("runAs", org.apache.thrift.protocol.TType.STRING, (short)8); + private static final org.apache.thrift.protocol.TField HIGHTEST_TXN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("hightestTxnId", org.apache.thrift.protocol.TType.I64, (short)9); + private static final org.apache.thrift.protocol.TField META_INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("metaInfo", org.apache.thrift.protocol.TType.STRING, (short)10); + private static final org.apache.thrift.protocol.TField END_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("endTime", org.apache.thrift.protocol.TType.I64, (short)11); + private static final org.apache.thrift.protocol.TField HADOOP_JOB_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("hadoopJobId", org.apache.thrift.protocol.TType.STRING, (short)12); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -61,6 +65,10 @@ private String workerid; // optional private long start; // optional private String runAs; // optional + private long hightestTxnId; // optional + private String metaInfo; // optional + private long endTime; // optional + private String hadoopJobId; // 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 { @@ -75,7 +83,11 @@ STATE((short)5, "state"), WORKERID((short)6, "workerid"), START((short)7, "start"), - RUN_AS((short)8, "runAs"); + RUN_AS((short)8, "runAs"), + HIGHTEST_TXN_ID((short)9, "hightestTxnId"), + META_INFO((short)10, "metaInfo"), + END_TIME((short)11, "endTime"), + HADOOP_JOB_ID((short)12, "hadoopJobId"); private static final Map byName = new HashMap(); @@ -106,6 +118,14 @@ public static _Fields findByThriftId(int fieldId) { return START; case 8: // RUN_AS return RUN_AS; + case 9: // HIGHTEST_TXN_ID + return HIGHTEST_TXN_ID; + case 10: // META_INFO + return META_INFO; + case 11: // END_TIME + return END_TIME; + case 12: // HADOOP_JOB_ID + return HADOOP_JOB_ID; default: return null; } @@ -147,8 +167,10 @@ public String getFieldName() { // isset id assignments private static final int __START_ISSET_ID = 0; + private static final int __HIGHTESTTXNID_ISSET_ID = 1; + private static final int __ENDTIME_ISSET_ID = 2; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.PARTITIONNAME,_Fields.WORKERID,_Fields.START,_Fields.RUN_AS}; + private static final _Fields optionals[] = {_Fields.PARTITIONNAME,_Fields.WORKERID,_Fields.START,_Fields.RUN_AS,_Fields.HIGHTEST_TXN_ID,_Fields.META_INFO,_Fields.END_TIME,_Fields.HADOOP_JOB_ID}; 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); @@ -168,11 +190,21 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.RUN_AS, new org.apache.thrift.meta_data.FieldMetaData("runAs", org.apache.thrift.TFieldRequirementType.OPTIONAL, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.HIGHTEST_TXN_ID, new org.apache.thrift.meta_data.FieldMetaData("hightestTxnId", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.META_INFO, new org.apache.thrift.meta_data.FieldMetaData("metaInfo", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.END_TIME, new org.apache.thrift.meta_data.FieldMetaData("endTime", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.HADOOP_JOB_ID, new org.apache.thrift.meta_data.FieldMetaData("hadoopJobId", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ShowCompactResponseElement.class, metaDataMap); } public ShowCompactResponseElement() { + this.hadoopJobId = "None"; + } public ShowCompactResponseElement( @@ -215,6 +247,14 @@ public ShowCompactResponseElement(ShowCompactResponseElement other) { if (other.isSetRunAs()) { this.runAs = other.runAs; } + this.hightestTxnId = other.hightestTxnId; + if (other.isSetMetaInfo()) { + this.metaInfo = other.metaInfo; + } + this.endTime = other.endTime; + if (other.isSetHadoopJobId()) { + this.hadoopJobId = other.hadoopJobId; + } } public ShowCompactResponseElement deepCopy() { @@ -232,6 +272,13 @@ public void clear() { setStartIsSet(false); this.start = 0; this.runAs = null; + setHightestTxnIdIsSet(false); + this.hightestTxnId = 0; + this.metaInfo = null; + setEndTimeIsSet(false); + this.endTime = 0; + this.hadoopJobId = "None"; + } public String getDbname() { @@ -425,6 +472,96 @@ public void setRunAsIsSet(boolean value) { } } + public long getHightestTxnId() { + return this.hightestTxnId; + } + + public void setHightestTxnId(long hightestTxnId) { + this.hightestTxnId = hightestTxnId; + setHightestTxnIdIsSet(true); + } + + public void unsetHightestTxnId() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __HIGHTESTTXNID_ISSET_ID); + } + + /** Returns true if field hightestTxnId is set (has been assigned a value) and false otherwise */ + public boolean isSetHightestTxnId() { + return EncodingUtils.testBit(__isset_bitfield, __HIGHTESTTXNID_ISSET_ID); + } + + public void setHightestTxnIdIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __HIGHTESTTXNID_ISSET_ID, value); + } + + public String getMetaInfo() { + return this.metaInfo; + } + + public void setMetaInfo(String metaInfo) { + this.metaInfo = metaInfo; + } + + public void unsetMetaInfo() { + this.metaInfo = null; + } + + /** Returns true if field metaInfo is set (has been assigned a value) and false otherwise */ + public boolean isSetMetaInfo() { + return this.metaInfo != null; + } + + public void setMetaInfoIsSet(boolean value) { + if (!value) { + this.metaInfo = null; + } + } + + public long getEndTime() { + return this.endTime; + } + + public void setEndTime(long endTime) { + this.endTime = endTime; + setEndTimeIsSet(true); + } + + public void unsetEndTime() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __ENDTIME_ISSET_ID); + } + + /** Returns true if field endTime is set (has been assigned a value) and false otherwise */ + public boolean isSetEndTime() { + return EncodingUtils.testBit(__isset_bitfield, __ENDTIME_ISSET_ID); + } + + public void setEndTimeIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ENDTIME_ISSET_ID, value); + } + + public String getHadoopJobId() { + return this.hadoopJobId; + } + + public void setHadoopJobId(String hadoopJobId) { + this.hadoopJobId = hadoopJobId; + } + + public void unsetHadoopJobId() { + this.hadoopJobId = null; + } + + /** Returns true if field hadoopJobId is set (has been assigned a value) and false otherwise */ + public boolean isSetHadoopJobId() { + return this.hadoopJobId != null; + } + + public void setHadoopJobIdIsSet(boolean value) { + if (!value) { + this.hadoopJobId = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case DBNAME: @@ -491,6 +628,38 @@ public void setFieldValue(_Fields field, Object value) { } break; + case HIGHTEST_TXN_ID: + if (value == null) { + unsetHightestTxnId(); + } else { + setHightestTxnId((Long)value); + } + break; + + case META_INFO: + if (value == null) { + unsetMetaInfo(); + } else { + setMetaInfo((String)value); + } + break; + + case END_TIME: + if (value == null) { + unsetEndTime(); + } else { + setEndTime((Long)value); + } + break; + + case HADOOP_JOB_ID: + if (value == null) { + unsetHadoopJobId(); + } else { + setHadoopJobId((String)value); + } + break; + } } @@ -515,11 +684,23 @@ public Object getFieldValue(_Fields field) { return getWorkerid(); case START: - return Long.valueOf(getStart()); + return getStart(); case RUN_AS: return getRunAs(); + case HIGHTEST_TXN_ID: + return getHightestTxnId(); + + case META_INFO: + return getMetaInfo(); + + case END_TIME: + return getEndTime(); + + case HADOOP_JOB_ID: + return getHadoopJobId(); + } throw new IllegalStateException(); } @@ -547,6 +728,14 @@ public boolean isSet(_Fields field) { return isSetStart(); case RUN_AS: return isSetRunAs(); + case HIGHTEST_TXN_ID: + return isSetHightestTxnId(); + case META_INFO: + return isSetMetaInfo(); + case END_TIME: + return isSetEndTime(); + case HADOOP_JOB_ID: + return isSetHadoopJobId(); } throw new IllegalStateException(); } @@ -636,6 +825,42 @@ public boolean equals(ShowCompactResponseElement that) { return false; } + boolean this_present_hightestTxnId = true && this.isSetHightestTxnId(); + boolean that_present_hightestTxnId = true && that.isSetHightestTxnId(); + if (this_present_hightestTxnId || that_present_hightestTxnId) { + if (!(this_present_hightestTxnId && that_present_hightestTxnId)) + return false; + if (this.hightestTxnId != that.hightestTxnId) + return false; + } + + boolean this_present_metaInfo = true && this.isSetMetaInfo(); + boolean that_present_metaInfo = true && that.isSetMetaInfo(); + if (this_present_metaInfo || that_present_metaInfo) { + if (!(this_present_metaInfo && that_present_metaInfo)) + return false; + if (!this.metaInfo.equals(that.metaInfo)) + return false; + } + + boolean this_present_endTime = true && this.isSetEndTime(); + boolean that_present_endTime = true && that.isSetEndTime(); + if (this_present_endTime || that_present_endTime) { + if (!(this_present_endTime && that_present_endTime)) + return false; + if (this.endTime != that.endTime) + return false; + } + + boolean this_present_hadoopJobId = true && this.isSetHadoopJobId(); + boolean that_present_hadoopJobId = true && that.isSetHadoopJobId(); + if (this_present_hadoopJobId || that_present_hadoopJobId) { + if (!(this_present_hadoopJobId && that_present_hadoopJobId)) + return false; + if (!this.hadoopJobId.equals(that.hadoopJobId)) + return false; + } + return true; } @@ -683,6 +908,26 @@ public int hashCode() { if (present_runAs) list.add(runAs); + boolean present_hightestTxnId = true && (isSetHightestTxnId()); + list.add(present_hightestTxnId); + if (present_hightestTxnId) + list.add(hightestTxnId); + + boolean present_metaInfo = true && (isSetMetaInfo()); + list.add(present_metaInfo); + if (present_metaInfo) + list.add(metaInfo); + + boolean present_endTime = true && (isSetEndTime()); + list.add(present_endTime); + if (present_endTime) + list.add(endTime); + + boolean present_hadoopJobId = true && (isSetHadoopJobId()); + list.add(present_hadoopJobId); + if (present_hadoopJobId) + list.add(hadoopJobId); + return list.hashCode(); } @@ -774,6 +1019,46 @@ public int compareTo(ShowCompactResponseElement other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetHightestTxnId()).compareTo(other.isSetHightestTxnId()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetHightestTxnId()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hightestTxnId, other.hightestTxnId); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetMetaInfo()).compareTo(other.isSetMetaInfo()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetMetaInfo()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.metaInfo, other.metaInfo); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetEndTime()).compareTo(other.isSetEndTime()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetEndTime()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.endTime, other.endTime); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetHadoopJobId()).compareTo(other.isSetHadoopJobId()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetHadoopJobId()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hadoopJobId, other.hadoopJobId); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -861,6 +1146,38 @@ public String toString() { } first = false; } + if (isSetHightestTxnId()) { + if (!first) sb.append(", "); + sb.append("hightestTxnId:"); + sb.append(this.hightestTxnId); + first = false; + } + if (isSetMetaInfo()) { + if (!first) sb.append(", "); + sb.append("metaInfo:"); + if (this.metaInfo == null) { + sb.append("null"); + } else { + sb.append(this.metaInfo); + } + first = false; + } + if (isSetEndTime()) { + if (!first) sb.append(", "); + sb.append("endTime:"); + sb.append(this.endTime); + first = false; + } + if (isSetHadoopJobId()) { + if (!first) sb.append(", "); + sb.append("hadoopJobId:"); + if (this.hadoopJobId == null) { + sb.append("null"); + } else { + sb.append(this.hadoopJobId); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -986,6 +1303,38 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowCompactResponse org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 9: // HIGHTEST_TXN_ID + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.hightestTxnId = iprot.readI64(); + struct.setHightestTxnIdIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 10: // META_INFO + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.metaInfo = iprot.readString(); + struct.setMetaInfoIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 11: // END_TIME + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.endTime = iprot.readI64(); + struct.setEndTimeIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 12: // HADOOP_JOB_ID + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.hadoopJobId = iprot.readString(); + struct.setHadoopJobIdIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -1045,6 +1394,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ShowCompactRespons oprot.writeFieldEnd(); } } + if (struct.isSetHightestTxnId()) { + oprot.writeFieldBegin(HIGHTEST_TXN_ID_FIELD_DESC); + oprot.writeI64(struct.hightestTxnId); + oprot.writeFieldEnd(); + } + if (struct.metaInfo != null) { + if (struct.isSetMetaInfo()) { + oprot.writeFieldBegin(META_INFO_FIELD_DESC); + oprot.writeString(struct.metaInfo); + oprot.writeFieldEnd(); + } + } + if (struct.isSetEndTime()) { + oprot.writeFieldBegin(END_TIME_FIELD_DESC); + oprot.writeI64(struct.endTime); + oprot.writeFieldEnd(); + } + if (struct.hadoopJobId != null) { + if (struct.isSetHadoopJobId()) { + oprot.writeFieldBegin(HADOOP_JOB_ID_FIELD_DESC); + oprot.writeString(struct.hadoopJobId); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -1079,7 +1452,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse if (struct.isSetRunAs()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if (struct.isSetHightestTxnId()) { + optionals.set(4); + } + if (struct.isSetMetaInfo()) { + optionals.set(5); + } + if (struct.isSetEndTime()) { + optionals.set(6); + } + if (struct.isSetHadoopJobId()) { + optionals.set(7); + } + oprot.writeBitSet(optionals, 8); if (struct.isSetPartitionname()) { oprot.writeString(struct.partitionname); } @@ -1092,6 +1477,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse if (struct.isSetRunAs()) { oprot.writeString(struct.runAs); } + if (struct.isSetHightestTxnId()) { + oprot.writeI64(struct.hightestTxnId); + } + if (struct.isSetMetaInfo()) { + oprot.writeString(struct.metaInfo); + } + if (struct.isSetEndTime()) { + oprot.writeI64(struct.endTime); + } + if (struct.isSetHadoopJobId()) { + oprot.writeString(struct.hadoopJobId); + } } @Override @@ -1105,7 +1502,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponseE struct.setTypeIsSet(true); struct.state = iprot.readString(); struct.setStateIsSet(true); - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(8); if (incoming.get(0)) { struct.partitionname = iprot.readString(); struct.setPartitionnameIsSet(true); @@ -1122,6 +1519,22 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponseE struct.runAs = iprot.readString(); struct.setRunAsIsSet(true); } + if (incoming.get(4)) { + struct.hightestTxnId = iprot.readI64(); + struct.setHightestTxnIdIsSet(true); + } + if (incoming.get(5)) { + struct.metaInfo = iprot.readString(); + struct.setMetaInfoIsSet(true); + } + if (incoming.get(6)) { + struct.endTime = iprot.readI64(); + struct.setEndTimeIsSet(true); + } + if (incoming.get(7)) { + struct.hadoopJobId = iprot.readString(); + struct.setHadoopJobIdIsSet(true); + } } } diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksRequest.java index 122c070..daa14bf 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,10 +34,14 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class ShowLocksRequest 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("ShowLocksRequest"); + 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 TABLENAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tablename", org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.thrift.protocol.TField PARTNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("partname", org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.thrift.protocol.TField IS_EXTENDED_FIELD_DESC = new org.apache.thrift.protocol.TField("isExtended", org.apache.thrift.protocol.TType.BOOL, (short)4); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -45,10 +49,17 @@ schemes.put(TupleScheme.class, new ShowLocksRequestTupleSchemeFactory()); } + private String dbname; // optional + private String tablename; // optional + private String partname; // optional + private boolean isExtended; // 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 { -; + DBNAME((short)1, "dbname"), + TABLENAME((short)2, "tablename"), + PARTNAME((short)3, "partname"), + IS_EXTENDED((short)4, "isExtended"); private static final Map byName = new HashMap(); @@ -63,6 +74,14 @@ */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { + case 1: // DBNAME + return DBNAME; + case 2: // TABLENAME + return TABLENAME; + case 3: // PARTNAME + return PARTNAME; + case 4: // IS_EXTENDED + return IS_EXTENDED; default: return null; } @@ -101,20 +120,46 @@ public String getFieldName() { return _fieldName; } } + + // isset id assignments + private static final int __ISEXTENDED_ISSET_ID = 0; + private byte __isset_bitfield = 0; + private static final _Fields optionals[] = {_Fields.DBNAME,_Fields.TABLENAME,_Fields.PARTNAME,_Fields.IS_EXTENDED}; 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.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TABLENAME, new org.apache.thrift.meta_data.FieldMetaData("tablename", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.PARTNAME, new org.apache.thrift.meta_data.FieldMetaData("partname", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.IS_EXTENDED, new org.apache.thrift.meta_data.FieldMetaData("isExtended", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ShowLocksRequest.class, metaDataMap); } public ShowLocksRequest() { + this.isExtended = false; + } /** * Performs a deep copy on other. */ public ShowLocksRequest(ShowLocksRequest other) { + __isset_bitfield = other.__isset_bitfield; + if (other.isSetDbname()) { + this.dbname = other.dbname; + } + if (other.isSetTablename()) { + this.tablename = other.tablename; + } + if (other.isSetPartname()) { + this.partname = other.partname; + } + this.isExtended = other.isExtended; } public ShowLocksRequest deepCopy() { @@ -123,15 +168,155 @@ public ShowLocksRequest deepCopy() { @Override public void clear() { + this.dbname = null; + this.tablename = null; + this.partname = null; + this.isExtended = false; + + } + + public String getDbname() { + return this.dbname; + } + + public void setDbname(String dbname) { + this.dbname = dbname; + } + + public void unsetDbname() { + this.dbname = null; + } + + /** Returns true if field dbname is set (has been assigned a value) and false otherwise */ + public boolean isSetDbname() { + return this.dbname != null; + } + + public void setDbnameIsSet(boolean value) { + if (!value) { + this.dbname = null; + } + } + + public String getTablename() { + return this.tablename; + } + + public void setTablename(String tablename) { + this.tablename = tablename; + } + + public void unsetTablename() { + this.tablename = null; + } + + /** Returns true if field tablename is set (has been assigned a value) and false otherwise */ + public boolean isSetTablename() { + return this.tablename != null; + } + + public void setTablenameIsSet(boolean value) { + if (!value) { + this.tablename = null; + } + } + + public String getPartname() { + return this.partname; + } + + public void setPartname(String partname) { + this.partname = partname; + } + + public void unsetPartname() { + this.partname = null; + } + + /** Returns true if field partname is set (has been assigned a value) and false otherwise */ + public boolean isSetPartname() { + return this.partname != null; + } + + public void setPartnameIsSet(boolean value) { + if (!value) { + this.partname = null; + } + } + + public boolean isIsExtended() { + return this.isExtended; + } + + public void setIsExtended(boolean isExtended) { + this.isExtended = isExtended; + setIsExtendedIsSet(true); + } + + public void unsetIsExtended() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __ISEXTENDED_ISSET_ID); + } + + /** Returns true if field isExtended is set (has been assigned a value) and false otherwise */ + public boolean isSetIsExtended() { + return EncodingUtils.testBit(__isset_bitfield, __ISEXTENDED_ISSET_ID); + } + + public void setIsExtendedIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ISEXTENDED_ISSET_ID, value); } public void setFieldValue(_Fields field, Object value) { switch (field) { + case DBNAME: + if (value == null) { + unsetDbname(); + } else { + setDbname((String)value); + } + break; + + case TABLENAME: + if (value == null) { + unsetTablename(); + } else { + setTablename((String)value); + } + break; + + case PARTNAME: + if (value == null) { + unsetPartname(); + } else { + setPartname((String)value); + } + break; + + case IS_EXTENDED: + if (value == null) { + unsetIsExtended(); + } else { + setIsExtended((Boolean)value); + } + break; + } } public Object getFieldValue(_Fields field) { switch (field) { + case DBNAME: + return getDbname(); + + case TABLENAME: + return getTablename(); + + case PARTNAME: + return getPartname(); + + case IS_EXTENDED: + return isIsExtended(); + } throw new IllegalStateException(); } @@ -143,6 +328,14 @@ public boolean isSet(_Fields field) { } switch (field) { + case DBNAME: + return isSetDbname(); + case TABLENAME: + return isSetTablename(); + case PARTNAME: + return isSetPartname(); + case IS_EXTENDED: + return isSetIsExtended(); } throw new IllegalStateException(); } @@ -160,6 +353,42 @@ public boolean equals(ShowLocksRequest 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_tablename = true && this.isSetTablename(); + boolean that_present_tablename = true && that.isSetTablename(); + if (this_present_tablename || that_present_tablename) { + if (!(this_present_tablename && that_present_tablename)) + return false; + if (!this.tablename.equals(that.tablename)) + return false; + } + + boolean this_present_partname = true && this.isSetPartname(); + boolean that_present_partname = true && that.isSetPartname(); + if (this_present_partname || that_present_partname) { + if (!(this_present_partname && that_present_partname)) + return false; + if (!this.partname.equals(that.partname)) + return false; + } + + boolean this_present_isExtended = true && this.isSetIsExtended(); + boolean that_present_isExtended = true && that.isSetIsExtended(); + if (this_present_isExtended || that_present_isExtended) { + if (!(this_present_isExtended && that_present_isExtended)) + return false; + if (this.isExtended != that.isExtended) + return false; + } + return true; } @@ -167,6 +396,26 @@ public boolean equals(ShowLocksRequest 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_tablename = true && (isSetTablename()); + list.add(present_tablename); + if (present_tablename) + list.add(tablename); + + boolean present_partname = true && (isSetPartname()); + list.add(present_partname); + if (present_partname) + list.add(partname); + + boolean present_isExtended = true && (isSetIsExtended()); + list.add(present_isExtended); + if (present_isExtended) + list.add(isExtended); + return list.hashCode(); } @@ -178,6 +427,46 @@ public int compareTo(ShowLocksRequest other) { 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(isSetTablename()).compareTo(other.isSetTablename()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTablename()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tablename, other.tablename); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetPartname()).compareTo(other.isSetPartname()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetPartname()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partname, other.partname); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetIsExtended()).compareTo(other.isSetIsExtended()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetIsExtended()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isExtended, other.isExtended); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -198,6 +487,41 @@ public String toString() { StringBuilder sb = new StringBuilder("ShowLocksRequest("); boolean first = true; + if (isSetDbname()) { + sb.append("dbname:"); + if (this.dbname == null) { + sb.append("null"); + } else { + sb.append(this.dbname); + } + first = false; + } + if (isSetTablename()) { + if (!first) sb.append(", "); + sb.append("tablename:"); + if (this.tablename == null) { + sb.append("null"); + } else { + sb.append(this.tablename); + } + first = false; + } + if (isSetPartname()) { + if (!first) sb.append(", "); + sb.append("partname:"); + if (this.partname == null) { + sb.append("null"); + } else { + sb.append(this.partname); + } + first = false; + } + if (isSetIsExtended()) { + if (!first) sb.append(", "); + sb.append("isExtended:"); + sb.append(this.isExtended); + first = false; + } sb.append(")"); return sb.toString(); } @@ -217,6 +541,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); @@ -241,6 +567,38 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowLocksRequest st 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: // TABLENAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.tablename = iprot.readString(); + struct.setTablenameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // PARTNAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.partname = iprot.readString(); + struct.setPartnameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // IS_EXTENDED + if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.isExtended = iprot.readBool(); + struct.setIsExtendedIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -254,6 +612,32 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ShowLocksRequest s struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if (struct.dbname != null) { + if (struct.isSetDbname()) { + oprot.writeFieldBegin(DBNAME_FIELD_DESC); + oprot.writeString(struct.dbname); + oprot.writeFieldEnd(); + } + } + if (struct.tablename != null) { + if (struct.isSetTablename()) { + oprot.writeFieldBegin(TABLENAME_FIELD_DESC); + oprot.writeString(struct.tablename); + oprot.writeFieldEnd(); + } + } + if (struct.partname != null) { + if (struct.isSetPartname()) { + oprot.writeFieldBegin(PARTNAME_FIELD_DESC); + oprot.writeString(struct.partname); + oprot.writeFieldEnd(); + } + } + if (struct.isSetIsExtended()) { + oprot.writeFieldBegin(IS_EXTENDED_FIELD_DESC); + oprot.writeBool(struct.isExtended); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -271,11 +655,54 @@ public ShowLocksRequestTupleScheme getScheme() { @Override public void write(org.apache.thrift.protocol.TProtocol prot, ShowLocksRequest struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetDbname()) { + optionals.set(0); + } + if (struct.isSetTablename()) { + optionals.set(1); + } + if (struct.isSetPartname()) { + optionals.set(2); + } + if (struct.isSetIsExtended()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); + if (struct.isSetDbname()) { + oprot.writeString(struct.dbname); + } + if (struct.isSetTablename()) { + oprot.writeString(struct.tablename); + } + if (struct.isSetPartname()) { + oprot.writeString(struct.partname); + } + if (struct.isSetIsExtended()) { + oprot.writeBool(struct.isExtended); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, ShowLocksRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(4); + if (incoming.get(0)) { + struct.dbname = iprot.readString(); + struct.setDbnameIsSet(true); + } + if (incoming.get(1)) { + struct.tablename = iprot.readString(); + struct.setTablenameIsSet(true); + } + if (incoming.get(2)) { + struct.partname = iprot.readString(); + struct.setPartnameIsSet(true); + } + if (incoming.get(3)) { + struct.isExtended = iprot.readBool(); + struct.setIsExtendedIsSet(true); + } } } diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java index 52b0bbc..6e8dd89 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class ShowLocksResponse 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("ShowLocksResponse"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponseElement.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponseElement.java index 8be9b05..d5ea642 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponseElement.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponseElement.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class ShowLocksResponseElement 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("ShowLocksResponseElement"); @@ -49,6 +49,11 @@ private static final org.apache.thrift.protocol.TField ACQUIREDAT_FIELD_DESC = new org.apache.thrift.protocol.TField("acquiredat", org.apache.thrift.protocol.TType.I64, (short)9); private static final org.apache.thrift.protocol.TField USER_FIELD_DESC = new org.apache.thrift.protocol.TField("user", org.apache.thrift.protocol.TType.STRING, (short)10); private static final org.apache.thrift.protocol.TField HOSTNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("hostname", org.apache.thrift.protocol.TType.STRING, (short)11); + private static final org.apache.thrift.protocol.TField HEARTBEAT_COUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("heartbeatCount", org.apache.thrift.protocol.TType.I32, (short)12); + private static final org.apache.thrift.protocol.TField AGENT_INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("agentInfo", org.apache.thrift.protocol.TType.STRING, (short)13); + private static final org.apache.thrift.protocol.TField BLOCKED_BY_EXT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("blockedByExtId", org.apache.thrift.protocol.TType.I64, (short)14); + private static final org.apache.thrift.protocol.TField BLOCKED_BY_INT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("blockedByIntId", org.apache.thrift.protocol.TType.I64, (short)15); + private static final org.apache.thrift.protocol.TField LOCK_ID_INTERNAL_FIELD_DESC = new org.apache.thrift.protocol.TField("lockIdInternal", org.apache.thrift.protocol.TType.I64, (short)16); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -67,6 +72,11 @@ private long acquiredat; // optional private String user; // required private String hostname; // required + private int heartbeatCount; // optional + private String agentInfo; // optional + private long blockedByExtId; // optional + private long blockedByIntId; // optional + private long lockIdInternal; // 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 { @@ -88,7 +98,12 @@ LASTHEARTBEAT((short)8, "lastheartbeat"), ACQUIREDAT((short)9, "acquiredat"), USER((short)10, "user"), - HOSTNAME((short)11, "hostname"); + HOSTNAME((short)11, "hostname"), + HEARTBEAT_COUNT((short)12, "heartbeatCount"), + AGENT_INFO((short)13, "agentInfo"), + BLOCKED_BY_EXT_ID((short)14, "blockedByExtId"), + BLOCKED_BY_INT_ID((short)15, "blockedByIntId"), + LOCK_ID_INTERNAL((short)16, "lockIdInternal"); private static final Map byName = new HashMap(); @@ -125,6 +140,16 @@ public static _Fields findByThriftId(int fieldId) { return USER; case 11: // HOSTNAME return HOSTNAME; + case 12: // HEARTBEAT_COUNT + return HEARTBEAT_COUNT; + case 13: // AGENT_INFO + return AGENT_INFO; + case 14: // BLOCKED_BY_EXT_ID + return BLOCKED_BY_EXT_ID; + case 15: // BLOCKED_BY_INT_ID + return BLOCKED_BY_INT_ID; + case 16: // LOCK_ID_INTERNAL + return LOCK_ID_INTERNAL; default: return null; } @@ -169,8 +194,12 @@ public String getFieldName() { private static final int __TXNID_ISSET_ID = 1; private static final int __LASTHEARTBEAT_ISSET_ID = 2; private static final int __ACQUIREDAT_ISSET_ID = 3; + private static final int __HEARTBEATCOUNT_ISSET_ID = 4; + private static final int __BLOCKEDBYEXTID_ISSET_ID = 5; + private static final int __BLOCKEDBYINTID_ISSET_ID = 6; + private static final int __LOCKIDINTERNAL_ISSET_ID = 7; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.TABLENAME,_Fields.PARTNAME,_Fields.TXNID,_Fields.ACQUIREDAT}; + private static final _Fields optionals[] = {_Fields.TABLENAME,_Fields.PARTNAME,_Fields.TXNID,_Fields.ACQUIREDAT,_Fields.HEARTBEAT_COUNT,_Fields.AGENT_INFO,_Fields.BLOCKED_BY_EXT_ID,_Fields.BLOCKED_BY_INT_ID,_Fields.LOCK_ID_INTERNAL}; 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); @@ -196,11 +225,23 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.HOSTNAME, new org.apache.thrift.meta_data.FieldMetaData("hostname", org.apache.thrift.TFieldRequirementType.REQUIRED, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.HEARTBEAT_COUNT, new org.apache.thrift.meta_data.FieldMetaData("heartbeatCount", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.AGENT_INFO, new org.apache.thrift.meta_data.FieldMetaData("agentInfo", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.BLOCKED_BY_EXT_ID, new org.apache.thrift.meta_data.FieldMetaData("blockedByExtId", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.BLOCKED_BY_INT_ID, new org.apache.thrift.meta_data.FieldMetaData("blockedByIntId", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.LOCK_ID_INTERNAL, new org.apache.thrift.meta_data.FieldMetaData("lockIdInternal", 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(ShowLocksResponseElement.class, metaDataMap); } public ShowLocksResponseElement() { + this.heartbeatCount = 0; + } public ShowLocksResponseElement( @@ -254,6 +295,13 @@ public ShowLocksResponseElement(ShowLocksResponseElement other) { if (other.isSetHostname()) { this.hostname = other.hostname; } + this.heartbeatCount = other.heartbeatCount; + if (other.isSetAgentInfo()) { + this.agentInfo = other.agentInfo; + } + this.blockedByExtId = other.blockedByExtId; + this.blockedByIntId = other.blockedByIntId; + this.lockIdInternal = other.lockIdInternal; } public ShowLocksResponseElement deepCopy() { @@ -277,6 +325,15 @@ public void clear() { this.acquiredat = 0; this.user = null; this.hostname = null; + this.heartbeatCount = 0; + + this.agentInfo = null; + setBlockedByExtIdIsSet(false); + this.blockedByExtId = 0; + setBlockedByIntIdIsSet(false); + this.blockedByIntId = 0; + setLockIdInternalIsSet(false); + this.lockIdInternal = 0; } public long getLockid() { @@ -544,6 +601,117 @@ public void setHostnameIsSet(boolean value) { } } + public int getHeartbeatCount() { + return this.heartbeatCount; + } + + public void setHeartbeatCount(int heartbeatCount) { + this.heartbeatCount = heartbeatCount; + setHeartbeatCountIsSet(true); + } + + public void unsetHeartbeatCount() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __HEARTBEATCOUNT_ISSET_ID); + } + + /** Returns true if field heartbeatCount is set (has been assigned a value) and false otherwise */ + public boolean isSetHeartbeatCount() { + return EncodingUtils.testBit(__isset_bitfield, __HEARTBEATCOUNT_ISSET_ID); + } + + public void setHeartbeatCountIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __HEARTBEATCOUNT_ISSET_ID, value); + } + + public String getAgentInfo() { + return this.agentInfo; + } + + public void setAgentInfo(String agentInfo) { + this.agentInfo = agentInfo; + } + + public void unsetAgentInfo() { + this.agentInfo = null; + } + + /** Returns true if field agentInfo is set (has been assigned a value) and false otherwise */ + public boolean isSetAgentInfo() { + return this.agentInfo != null; + } + + public void setAgentInfoIsSet(boolean value) { + if (!value) { + this.agentInfo = null; + } + } + + public long getBlockedByExtId() { + return this.blockedByExtId; + } + + public void setBlockedByExtId(long blockedByExtId) { + this.blockedByExtId = blockedByExtId; + setBlockedByExtIdIsSet(true); + } + + public void unsetBlockedByExtId() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __BLOCKEDBYEXTID_ISSET_ID); + } + + /** Returns true if field blockedByExtId is set (has been assigned a value) and false otherwise */ + public boolean isSetBlockedByExtId() { + return EncodingUtils.testBit(__isset_bitfield, __BLOCKEDBYEXTID_ISSET_ID); + } + + public void setBlockedByExtIdIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __BLOCKEDBYEXTID_ISSET_ID, value); + } + + public long getBlockedByIntId() { + return this.blockedByIntId; + } + + public void setBlockedByIntId(long blockedByIntId) { + this.blockedByIntId = blockedByIntId; + setBlockedByIntIdIsSet(true); + } + + public void unsetBlockedByIntId() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __BLOCKEDBYINTID_ISSET_ID); + } + + /** Returns true if field blockedByIntId is set (has been assigned a value) and false otherwise */ + public boolean isSetBlockedByIntId() { + return EncodingUtils.testBit(__isset_bitfield, __BLOCKEDBYINTID_ISSET_ID); + } + + public void setBlockedByIntIdIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __BLOCKEDBYINTID_ISSET_ID, value); + } + + public long getLockIdInternal() { + return this.lockIdInternal; + } + + public void setLockIdInternal(long lockIdInternal) { + this.lockIdInternal = lockIdInternal; + setLockIdInternalIsSet(true); + } + + public void unsetLockIdInternal() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __LOCKIDINTERNAL_ISSET_ID); + } + + /** Returns true if field lockIdInternal is set (has been assigned a value) and false otherwise */ + public boolean isSetLockIdInternal() { + return EncodingUtils.testBit(__isset_bitfield, __LOCKIDINTERNAL_ISSET_ID); + } + + public void setLockIdInternalIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __LOCKIDINTERNAL_ISSET_ID, value); + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case LOCKID: @@ -634,13 +802,53 @@ public void setFieldValue(_Fields field, Object value) { } break; + case HEARTBEAT_COUNT: + if (value == null) { + unsetHeartbeatCount(); + } else { + setHeartbeatCount((Integer)value); + } + break; + + case AGENT_INFO: + if (value == null) { + unsetAgentInfo(); + } else { + setAgentInfo((String)value); + } + break; + + case BLOCKED_BY_EXT_ID: + if (value == null) { + unsetBlockedByExtId(); + } else { + setBlockedByExtId((Long)value); + } + break; + + case BLOCKED_BY_INT_ID: + if (value == null) { + unsetBlockedByIntId(); + } else { + setBlockedByIntId((Long)value); + } + break; + + case LOCK_ID_INTERNAL: + if (value == null) { + unsetLockIdInternal(); + } else { + setLockIdInternal((Long)value); + } + break; + } } public Object getFieldValue(_Fields field) { switch (field) { case LOCKID: - return Long.valueOf(getLockid()); + return getLockid(); case DBNAME: return getDbname(); @@ -658,13 +866,13 @@ public Object getFieldValue(_Fields field) { return getType(); case TXNID: - return Long.valueOf(getTxnid()); + return getTxnid(); case LASTHEARTBEAT: - return Long.valueOf(getLastheartbeat()); + return getLastheartbeat(); case ACQUIREDAT: - return Long.valueOf(getAcquiredat()); + return getAcquiredat(); case USER: return getUser(); @@ -672,6 +880,21 @@ public Object getFieldValue(_Fields field) { case HOSTNAME: return getHostname(); + case HEARTBEAT_COUNT: + return getHeartbeatCount(); + + case AGENT_INFO: + return getAgentInfo(); + + case BLOCKED_BY_EXT_ID: + return getBlockedByExtId(); + + case BLOCKED_BY_INT_ID: + return getBlockedByIntId(); + + case LOCK_ID_INTERNAL: + return getLockIdInternal(); + } throw new IllegalStateException(); } @@ -705,6 +928,16 @@ public boolean isSet(_Fields field) { return isSetUser(); case HOSTNAME: return isSetHostname(); + case HEARTBEAT_COUNT: + return isSetHeartbeatCount(); + case AGENT_INFO: + return isSetAgentInfo(); + case BLOCKED_BY_EXT_ID: + return isSetBlockedByExtId(); + case BLOCKED_BY_INT_ID: + return isSetBlockedByIntId(); + case LOCK_ID_INTERNAL: + return isSetLockIdInternal(); } throw new IllegalStateException(); } @@ -821,6 +1054,51 @@ public boolean equals(ShowLocksResponseElement that) { return false; } + boolean this_present_heartbeatCount = true && this.isSetHeartbeatCount(); + boolean that_present_heartbeatCount = true && that.isSetHeartbeatCount(); + if (this_present_heartbeatCount || that_present_heartbeatCount) { + if (!(this_present_heartbeatCount && that_present_heartbeatCount)) + return false; + if (this.heartbeatCount != that.heartbeatCount) + return false; + } + + boolean this_present_agentInfo = true && this.isSetAgentInfo(); + boolean that_present_agentInfo = true && that.isSetAgentInfo(); + if (this_present_agentInfo || that_present_agentInfo) { + if (!(this_present_agentInfo && that_present_agentInfo)) + return false; + if (!this.agentInfo.equals(that.agentInfo)) + return false; + } + + boolean this_present_blockedByExtId = true && this.isSetBlockedByExtId(); + boolean that_present_blockedByExtId = true && that.isSetBlockedByExtId(); + if (this_present_blockedByExtId || that_present_blockedByExtId) { + if (!(this_present_blockedByExtId && that_present_blockedByExtId)) + return false; + if (this.blockedByExtId != that.blockedByExtId) + return false; + } + + boolean this_present_blockedByIntId = true && this.isSetBlockedByIntId(); + boolean that_present_blockedByIntId = true && that.isSetBlockedByIntId(); + if (this_present_blockedByIntId || that_present_blockedByIntId) { + if (!(this_present_blockedByIntId && that_present_blockedByIntId)) + return false; + if (this.blockedByIntId != that.blockedByIntId) + return false; + } + + boolean this_present_lockIdInternal = true && this.isSetLockIdInternal(); + boolean that_present_lockIdInternal = true && that.isSetLockIdInternal(); + if (this_present_lockIdInternal || that_present_lockIdInternal) { + if (!(this_present_lockIdInternal && that_present_lockIdInternal)) + return false; + if (this.lockIdInternal != that.lockIdInternal) + return false; + } + return true; } @@ -883,6 +1161,31 @@ public int hashCode() { if (present_hostname) list.add(hostname); + boolean present_heartbeatCount = true && (isSetHeartbeatCount()); + list.add(present_heartbeatCount); + if (present_heartbeatCount) + list.add(heartbeatCount); + + boolean present_agentInfo = true && (isSetAgentInfo()); + list.add(present_agentInfo); + if (present_agentInfo) + list.add(agentInfo); + + boolean present_blockedByExtId = true && (isSetBlockedByExtId()); + list.add(present_blockedByExtId); + if (present_blockedByExtId) + list.add(blockedByExtId); + + boolean present_blockedByIntId = true && (isSetBlockedByIntId()); + list.add(present_blockedByIntId); + if (present_blockedByIntId) + list.add(blockedByIntId); + + boolean present_lockIdInternal = true && (isSetLockIdInternal()); + list.add(present_lockIdInternal); + if (present_lockIdInternal) + list.add(lockIdInternal); + return list.hashCode(); } @@ -1004,6 +1307,56 @@ public int compareTo(ShowLocksResponseElement other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetHeartbeatCount()).compareTo(other.isSetHeartbeatCount()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetHeartbeatCount()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.heartbeatCount, other.heartbeatCount); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetAgentInfo()).compareTo(other.isSetAgentInfo()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetAgentInfo()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.agentInfo, other.agentInfo); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetBlockedByExtId()).compareTo(other.isSetBlockedByExtId()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetBlockedByExtId()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.blockedByExtId, other.blockedByExtId); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetBlockedByIntId()).compareTo(other.isSetBlockedByIntId()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetBlockedByIntId()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.blockedByIntId, other.blockedByIntId); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetLockIdInternal()).compareTo(other.isSetLockIdInternal()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetLockIdInternal()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lockIdInternal, other.lockIdInternal); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -1103,6 +1456,40 @@ public String toString() { sb.append(this.hostname); } first = false; + if (isSetHeartbeatCount()) { + if (!first) sb.append(", "); + sb.append("heartbeatCount:"); + sb.append(this.heartbeatCount); + first = false; + } + if (isSetAgentInfo()) { + if (!first) sb.append(", "); + sb.append("agentInfo:"); + if (this.agentInfo == null) { + sb.append("null"); + } else { + sb.append(this.agentInfo); + } + first = false; + } + if (isSetBlockedByExtId()) { + if (!first) sb.append(", "); + sb.append("blockedByExtId:"); + sb.append(this.blockedByExtId); + first = false; + } + if (isSetBlockedByIntId()) { + if (!first) sb.append(", "); + sb.append("blockedByIntId:"); + sb.append(this.blockedByIntId); + first = false; + } + if (isSetLockIdInternal()) { + if (!first) sb.append(", "); + sb.append("lockIdInternal:"); + sb.append(this.lockIdInternal); + first = false; + } sb.append(")"); return sb.toString(); } @@ -1264,6 +1651,46 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowLocksResponseEl org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 12: // HEARTBEAT_COUNT + if (schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.heartbeatCount = iprot.readI32(); + struct.setHeartbeatCountIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 13: // AGENT_INFO + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.agentInfo = iprot.readString(); + struct.setAgentInfoIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 14: // BLOCKED_BY_EXT_ID + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.blockedByExtId = iprot.readI64(); + struct.setBlockedByExtIdIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 15: // BLOCKED_BY_INT_ID + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.blockedByIntId = iprot.readI64(); + struct.setBlockedByIntIdIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 16: // LOCK_ID_INTERNAL + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.lockIdInternal = iprot.readI64(); + struct.setLockIdInternalIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -1332,6 +1759,33 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ShowLocksResponseE oprot.writeString(struct.hostname); oprot.writeFieldEnd(); } + if (struct.isSetHeartbeatCount()) { + oprot.writeFieldBegin(HEARTBEAT_COUNT_FIELD_DESC); + oprot.writeI32(struct.heartbeatCount); + oprot.writeFieldEnd(); + } + if (struct.agentInfo != null) { + if (struct.isSetAgentInfo()) { + oprot.writeFieldBegin(AGENT_INFO_FIELD_DESC); + oprot.writeString(struct.agentInfo); + oprot.writeFieldEnd(); + } + } + if (struct.isSetBlockedByExtId()) { + oprot.writeFieldBegin(BLOCKED_BY_EXT_ID_FIELD_DESC); + oprot.writeI64(struct.blockedByExtId); + oprot.writeFieldEnd(); + } + if (struct.isSetBlockedByIntId()) { + oprot.writeFieldBegin(BLOCKED_BY_INT_ID_FIELD_DESC); + oprot.writeI64(struct.blockedByIntId); + oprot.writeFieldEnd(); + } + if (struct.isSetLockIdInternal()) { + oprot.writeFieldBegin(LOCK_ID_INTERNAL_FIELD_DESC); + oprot.writeI64(struct.lockIdInternal); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -1369,7 +1823,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponseEl if (struct.isSetAcquiredat()) { optionals.set(3); } - oprot.writeBitSet(optionals, 4); + if (struct.isSetHeartbeatCount()) { + optionals.set(4); + } + if (struct.isSetAgentInfo()) { + optionals.set(5); + } + if (struct.isSetBlockedByExtId()) { + optionals.set(6); + } + if (struct.isSetBlockedByIntId()) { + optionals.set(7); + } + if (struct.isSetLockIdInternal()) { + optionals.set(8); + } + oprot.writeBitSet(optionals, 9); if (struct.isSetTablename()) { oprot.writeString(struct.tablename); } @@ -1382,6 +1851,21 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponseEl if (struct.isSetAcquiredat()) { oprot.writeI64(struct.acquiredat); } + if (struct.isSetHeartbeatCount()) { + oprot.writeI32(struct.heartbeatCount); + } + if (struct.isSetAgentInfo()) { + oprot.writeString(struct.agentInfo); + } + if (struct.isSetBlockedByExtId()) { + oprot.writeI64(struct.blockedByExtId); + } + if (struct.isSetBlockedByIntId()) { + oprot.writeI64(struct.blockedByIntId); + } + if (struct.isSetLockIdInternal()) { + oprot.writeI64(struct.lockIdInternal); + } } @Override @@ -1401,7 +1885,7 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponseEle struct.setUserIsSet(true); struct.hostname = iprot.readString(); struct.setHostnameIsSet(true); - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(9); if (incoming.get(0)) { struct.tablename = iprot.readString(); struct.setTablenameIsSet(true); @@ -1418,6 +1902,26 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponseEle struct.acquiredat = iprot.readI64(); struct.setAcquiredatIsSet(true); } + if (incoming.get(4)) { + struct.heartbeatCount = iprot.readI32(); + struct.setHeartbeatCountIsSet(true); + } + if (incoming.get(5)) { + struct.agentInfo = iprot.readString(); + struct.setAgentInfoIsSet(true); + } + if (incoming.get(6)) { + struct.blockedByExtId = iprot.readI64(); + struct.setBlockedByExtIdIsSet(true); + } + if (incoming.get(7)) { + struct.blockedByIntId = iprot.readI64(); + struct.setBlockedByIntIdIsSet(true); + } + if (incoming.get(8)) { + struct.lockIdInternal = iprot.readI64(); + struct.setLockIdInternalIsSet(true); + } } } diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java index bc64495..21d577c 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class SkewedInfo 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("SkewedInfo"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java index 165a879..72fe06d 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class StorageDescriptor 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("StorageDescriptor"); @@ -748,10 +748,10 @@ public Object getFieldValue(_Fields field) { return getOutputFormat(); case COMPRESSED: - return Boolean.valueOf(isCompressed()); + return isCompressed(); case NUM_BUCKETS: - return Integer.valueOf(getNumBuckets()); + return getNumBuckets(); case SERDE_INFO: return getSerdeInfo(); @@ -769,7 +769,7 @@ public Object getFieldValue(_Fields field) { return getSkewedInfo(); case STORED_AS_SUB_DIRECTORIES: - return Boolean.valueOf(isStoredAsSubDirectories()); + return isStoredAsSubDirectories(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StringColumnStatsData.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StringColumnStatsData.java index 9906ff3..2cbe955 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StringColumnStatsData.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StringColumnStatsData.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class StringColumnStatsData 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("StringColumnStatsData"); @@ -317,16 +317,16 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case MAX_COL_LEN: - return Long.valueOf(getMaxColLen()); + return getMaxColLen(); case AVG_COL_LEN: - return Double.valueOf(getAvgColLen()); + return getAvgColLen(); case NUM_NULLS: - return Long.valueOf(getNumNulls()); + return getNumNulls(); case NUM_DVS: - return Long.valueOf(getNumDVs()); + return getNumDVs(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java index 51b9e38..81b63fc 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class Table 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("Table"); @@ -798,13 +798,13 @@ public Object getFieldValue(_Fields field) { return getOwner(); case CREATE_TIME: - return Integer.valueOf(getCreateTime()); + return getCreateTime(); case LAST_ACCESS_TIME: - return Integer.valueOf(getLastAccessTime()); + return getLastAccessTime(); case RETENTION: - return Integer.valueOf(getRetention()); + return getRetention(); case SD: return getSd(); @@ -828,7 +828,7 @@ public Object getFieldValue(_Fields field) { return getPrivileges(); case TEMPORARY: - return Boolean.valueOf(isTemporary()); + return isTemporary(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java index 1edcaf9..70f2fb6 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TableStatsRequest 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("TableStatsRequest"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java index 25a1f25..51fd1cc 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TableStatsResult 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("TableStatsResult"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index 0c4db9d..9054e0e 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2016-1-13") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class ThriftHiveMetastore { /** @@ -23758,10 +23758,10 @@ public Object getFieldValue(_Fields field) { return getName(); case DELETE_DATA: - return Boolean.valueOf(isDeleteData()); + return isDeleteData(); case CASCADE: - return Boolean.valueOf(isCascade()); + return isCascade(); } throw new IllegalStateException(); @@ -28788,7 +28788,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return isSuccess(); case O1: return getO1(); @@ -29778,7 +29778,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return isSuccess(); case O1: return getO1(); @@ -38418,7 +38418,7 @@ public Object getFieldValue(_Fields field) { return getName(); case DELETE_DATA: - return Boolean.valueOf(isDeleteData()); + return isDeleteData(); } throw new IllegalStateException(); @@ -39492,7 +39492,7 @@ public Object getFieldValue(_Fields field) { return getName(); case DELETE_DATA: - return Boolean.valueOf(isDeleteData()); + return isDeleteData(); case ENVIRONMENT_CONTEXT: return getEnvironment_context(); @@ -44713,7 +44713,7 @@ public Object getFieldValue(_Fields field) { return getFilter(); case MAX_TABLES: - return Short.valueOf(getMax_tables()); + return getMax_tables(); } throw new IllegalStateException(); @@ -48232,7 +48232,7 @@ public Object getFieldValue(_Fields field) { return getNew_tbl(); case CASCADE: - return Boolean.valueOf(isCascade()); + return isCascade(); } throw new IllegalStateException(); @@ -51971,7 +51971,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Integer.valueOf(getSuccess()); + return getSuccess(); case O1: return getO1(); @@ -53059,7 +53059,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Integer.valueOf(getSuccess()); + return getSuccess(); case O1: return getO1(); @@ -60109,7 +60109,7 @@ public Object getFieldValue(_Fields field) { return getPart_vals(); case DELETE_DATA: - return Boolean.valueOf(isDeleteData()); + return isDeleteData(); } throw new IllegalStateException(); @@ -60756,7 +60756,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return isSuccess(); case O1: return getO1(); @@ -61440,7 +61440,7 @@ public Object getFieldValue(_Fields field) { return getPart_vals(); case DELETE_DATA: - return Boolean.valueOf(isDeleteData()); + return isDeleteData(); case ENVIRONMENT_CONTEXT: return getEnvironment_context(); @@ -62152,7 +62152,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return isSuccess(); case O1: return getO1(); @@ -62775,7 +62775,7 @@ public Object getFieldValue(_Fields field) { return getPart_name(); case DELETE_DATA: - return Boolean.valueOf(isDeleteData()); + return isDeleteData(); } throw new IllegalStateException(); @@ -63390,7 +63390,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return isSuccess(); case O1: return getO1(); @@ -64057,7 +64057,7 @@ public Object getFieldValue(_Fields field) { return getPart_name(); case DELETE_DATA: - return Boolean.valueOf(isDeleteData()); + return isDeleteData(); case ENVIRONMENT_CONTEXT: return getEnvironment_context(); @@ -64737,7 +64737,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return isSuccess(); case O1: return getO1(); @@ -73306,7 +73306,7 @@ public Object getFieldValue(_Fields field) { return getTbl_name(); case MAX_PARTS: - return Short.valueOf(getMax_parts()); + return getMax_parts(); } throw new IllegalStateException(); @@ -74601,7 +74601,7 @@ public Object getFieldValue(_Fields field) { return getTbl_name(); case MAX_PARTS: - return Short.valueOf(getMax_parts()); + return getMax_parts(); case USER_NAME: return getUser_name(); @@ -75943,7 +75943,7 @@ public Object getFieldValue(_Fields field) { return getTbl_name(); case MAX_PARTS: - return Integer.valueOf(getMax_parts()); + return getMax_parts(); } throw new IllegalStateException(); @@ -77133,7 +77133,7 @@ public Object getFieldValue(_Fields field) { return getTbl_name(); case MAX_PARTS: - return Short.valueOf(getMax_parts()); + return getMax_parts(); } throw new IllegalStateException(); @@ -78276,7 +78276,7 @@ public Object getFieldValue(_Fields field) { return getPart_vals(); case MAX_PARTS: - return Short.valueOf(getMax_parts()); + return getMax_parts(); } throw new IllegalStateException(); @@ -79724,7 +79724,7 @@ public Object getFieldValue(_Fields field) { return getPart_vals(); case MAX_PARTS: - return Short.valueOf(getMax_parts()); + return getMax_parts(); case USER_NAME: return getUser_name(); @@ -81219,7 +81219,7 @@ public Object getFieldValue(_Fields field) { return getPart_vals(); case MAX_PARTS: - return Short.valueOf(getMax_parts()); + return getMax_parts(); } throw new IllegalStateException(); @@ -82540,7 +82540,7 @@ public Object getFieldValue(_Fields field) { return getFilter(); case MAX_PARTS: - return Short.valueOf(getMax_parts()); + return getMax_parts(); } throw new IllegalStateException(); @@ -83834,7 +83834,7 @@ public Object getFieldValue(_Fields field) { return getFilter(); case MAX_PARTS: - return Integer.valueOf(getMax_parts()); + return getMax_parts(); } throw new IllegalStateException(); @@ -91685,7 +91685,7 @@ public Object getFieldValue(_Fields field) { return getPart_vals(); case THROW_EXCEPTION: - return Boolean.valueOf(isThrow_exception()); + return isThrow_exception(); } throw new IllegalStateException(); @@ -92174,7 +92174,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return isSuccess(); case O1: return getO1(); @@ -97887,7 +97887,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return isSuccess(); case O1: return getO1(); @@ -101052,7 +101052,7 @@ public Object getFieldValue(_Fields field) { return getIndex_name(); case DELETE_DATA: - return Boolean.valueOf(isDeleteData()); + return isDeleteData(); } throw new IllegalStateException(); @@ -101667,7 +101667,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return isSuccess(); case O1: return getO1(); @@ -103386,7 +103386,7 @@ public Object getFieldValue(_Fields field) { return getTbl_name(); case MAX_INDEXES: - return Short.valueOf(getMax_indexes()); + return getMax_indexes(); } throw new IllegalStateException(); @@ -104576,7 +104576,7 @@ public Object getFieldValue(_Fields field) { return getTbl_name(); case MAX_INDEXES: - return Short.valueOf(getMax_indexes()); + return getMax_indexes(); } throw new IllegalStateException(); @@ -106098,7 +106098,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return isSuccess(); case O1: return getO1(); @@ -107243,7 +107243,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return isSuccess(); case O1: return getO1(); @@ -114012,7 +114012,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return isSuccess(); case O1: return getO1(); @@ -115464,7 +115464,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return isSuccess(); case O1: return getO1(); @@ -116812,7 +116812,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return isSuccess(); case O1: return getO1(); @@ -123558,7 +123558,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return isSuccess(); case O1: return getO1(); @@ -124380,7 +124380,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return isSuccess(); case O1: return getO1(); @@ -125818,7 +125818,7 @@ public Object getFieldValue(_Fields field) { return getGrantorType(); case GRANT_OPTION: - return Boolean.valueOf(isGrant_option()); + return isGrant_option(); } throw new IllegalStateException(); @@ -126503,7 +126503,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return isSuccess(); case O1: return getO1(); @@ -127545,7 +127545,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return isSuccess(); case O1: return getO1(); @@ -134050,7 +134050,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return isSuccess(); case O1: return getO1(); @@ -134877,7 +134877,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Boolean.valueOf(isSuccess()); + return isSuccess(); case O1: return getO1(); @@ -138481,7 +138481,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return Long.valueOf(getSuccess()); + return getSuccess(); case O1: return getO1(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnAbortedException.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnAbortedException.java index a877338..1ddb02e 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnAbortedException.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnAbortedException.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TxnAbortedException extends TException 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("TxnAbortedException"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnInfo.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnInfo.java index 8b255b9..6eb5c35 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnInfo.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnInfo.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TxnInfo 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("TxnInfo"); @@ -42,6 +42,9 @@ private static final org.apache.thrift.protocol.TField STATE_FIELD_DESC = new org.apache.thrift.protocol.TField("state", org.apache.thrift.protocol.TType.I32, (short)2); private static final org.apache.thrift.protocol.TField USER_FIELD_DESC = new org.apache.thrift.protocol.TField("user", org.apache.thrift.protocol.TType.STRING, (short)3); private static final org.apache.thrift.protocol.TField HOSTNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("hostname", org.apache.thrift.protocol.TType.STRING, (short)4); + private static final org.apache.thrift.protocol.TField AGENT_INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("agentInfo", org.apache.thrift.protocol.TType.STRING, (short)5); + private static final org.apache.thrift.protocol.TField HEARTBEAT_COUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("heartbeatCount", org.apache.thrift.protocol.TType.I32, (short)6); + private static final org.apache.thrift.protocol.TField META_INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("metaInfo", org.apache.thrift.protocol.TType.STRING, (short)7); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -53,6 +56,9 @@ private TxnState state; // required private String user; // required private String hostname; // required + private String agentInfo; // optional + private int heartbeatCount; // optional + private String metaInfo; // 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 { @@ -63,7 +69,10 @@ */ STATE((short)2, "state"), USER((short)3, "user"), - HOSTNAME((short)4, "hostname"); + HOSTNAME((short)4, "hostname"), + AGENT_INFO((short)5, "agentInfo"), + HEARTBEAT_COUNT((short)6, "heartbeatCount"), + META_INFO((short)7, "metaInfo"); private static final Map byName = new HashMap(); @@ -86,6 +95,12 @@ public static _Fields findByThriftId(int fieldId) { return USER; case 4: // HOSTNAME return HOSTNAME; + case 5: // AGENT_INFO + return AGENT_INFO; + case 6: // HEARTBEAT_COUNT + return HEARTBEAT_COUNT; + case 7: // META_INFO + return META_INFO; default: return null; } @@ -127,7 +142,9 @@ public String getFieldName() { // isset id assignments private static final int __ID_ISSET_ID = 0; + private static final int __HEARTBEATCOUNT_ISSET_ID = 1; private byte __isset_bitfield = 0; + private static final _Fields optionals[] = {_Fields.AGENT_INFO,_Fields.HEARTBEAT_COUNT,_Fields.META_INFO}; 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); @@ -139,11 +156,21 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.HOSTNAME, new org.apache.thrift.meta_data.FieldMetaData("hostname", org.apache.thrift.TFieldRequirementType.REQUIRED, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.AGENT_INFO, new org.apache.thrift.meta_data.FieldMetaData("agentInfo", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.HEARTBEAT_COUNT, new org.apache.thrift.meta_data.FieldMetaData("heartbeatCount", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); + tmpMap.put(_Fields.META_INFO, new org.apache.thrift.meta_data.FieldMetaData("metaInfo", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TxnInfo.class, metaDataMap); } public TxnInfo() { + this.agentInfo = "Unknown"; + + this.heartbeatCount = 0; + } public TxnInfo( @@ -175,6 +202,13 @@ public TxnInfo(TxnInfo other) { if (other.isSetHostname()) { this.hostname = other.hostname; } + if (other.isSetAgentInfo()) { + this.agentInfo = other.agentInfo; + } + this.heartbeatCount = other.heartbeatCount; + if (other.isSetMetaInfo()) { + this.metaInfo = other.metaInfo; + } } public TxnInfo deepCopy() { @@ -188,6 +222,11 @@ public void clear() { this.state = null; this.user = null; this.hostname = null; + this.agentInfo = "Unknown"; + + this.heartbeatCount = 0; + + this.metaInfo = null; } public long getId() { @@ -289,6 +328,74 @@ public void setHostnameIsSet(boolean value) { } } + public String getAgentInfo() { + return this.agentInfo; + } + + public void setAgentInfo(String agentInfo) { + this.agentInfo = agentInfo; + } + + public void unsetAgentInfo() { + this.agentInfo = null; + } + + /** Returns true if field agentInfo is set (has been assigned a value) and false otherwise */ + public boolean isSetAgentInfo() { + return this.agentInfo != null; + } + + public void setAgentInfoIsSet(boolean value) { + if (!value) { + this.agentInfo = null; + } + } + + public int getHeartbeatCount() { + return this.heartbeatCount; + } + + public void setHeartbeatCount(int heartbeatCount) { + this.heartbeatCount = heartbeatCount; + setHeartbeatCountIsSet(true); + } + + public void unsetHeartbeatCount() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __HEARTBEATCOUNT_ISSET_ID); + } + + /** Returns true if field heartbeatCount is set (has been assigned a value) and false otherwise */ + public boolean isSetHeartbeatCount() { + return EncodingUtils.testBit(__isset_bitfield, __HEARTBEATCOUNT_ISSET_ID); + } + + public void setHeartbeatCountIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __HEARTBEATCOUNT_ISSET_ID, value); + } + + public String getMetaInfo() { + return this.metaInfo; + } + + public void setMetaInfo(String metaInfo) { + this.metaInfo = metaInfo; + } + + public void unsetMetaInfo() { + this.metaInfo = null; + } + + /** Returns true if field metaInfo is set (has been assigned a value) and false otherwise */ + public boolean isSetMetaInfo() { + return this.metaInfo != null; + } + + public void setMetaInfoIsSet(boolean value) { + if (!value) { + this.metaInfo = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case ID: @@ -323,13 +430,37 @@ public void setFieldValue(_Fields field, Object value) { } break; + case AGENT_INFO: + if (value == null) { + unsetAgentInfo(); + } else { + setAgentInfo((String)value); + } + break; + + case HEARTBEAT_COUNT: + if (value == null) { + unsetHeartbeatCount(); + } else { + setHeartbeatCount((Integer)value); + } + break; + + case META_INFO: + if (value == null) { + unsetMetaInfo(); + } else { + setMetaInfo((String)value); + } + break; + } } public Object getFieldValue(_Fields field) { switch (field) { case ID: - return Long.valueOf(getId()); + return getId(); case STATE: return getState(); @@ -340,6 +471,15 @@ public Object getFieldValue(_Fields field) { case HOSTNAME: return getHostname(); + case AGENT_INFO: + return getAgentInfo(); + + case HEARTBEAT_COUNT: + return getHeartbeatCount(); + + case META_INFO: + return getMetaInfo(); + } throw new IllegalStateException(); } @@ -359,6 +499,12 @@ public boolean isSet(_Fields field) { return isSetUser(); case HOSTNAME: return isSetHostname(); + case AGENT_INFO: + return isSetAgentInfo(); + case HEARTBEAT_COUNT: + return isSetHeartbeatCount(); + case META_INFO: + return isSetMetaInfo(); } throw new IllegalStateException(); } @@ -412,6 +558,33 @@ public boolean equals(TxnInfo that) { return false; } + boolean this_present_agentInfo = true && this.isSetAgentInfo(); + boolean that_present_agentInfo = true && that.isSetAgentInfo(); + if (this_present_agentInfo || that_present_agentInfo) { + if (!(this_present_agentInfo && that_present_agentInfo)) + return false; + if (!this.agentInfo.equals(that.agentInfo)) + return false; + } + + boolean this_present_heartbeatCount = true && this.isSetHeartbeatCount(); + boolean that_present_heartbeatCount = true && that.isSetHeartbeatCount(); + if (this_present_heartbeatCount || that_present_heartbeatCount) { + if (!(this_present_heartbeatCount && that_present_heartbeatCount)) + return false; + if (this.heartbeatCount != that.heartbeatCount) + return false; + } + + boolean this_present_metaInfo = true && this.isSetMetaInfo(); + boolean that_present_metaInfo = true && that.isSetMetaInfo(); + if (this_present_metaInfo || that_present_metaInfo) { + if (!(this_present_metaInfo && that_present_metaInfo)) + return false; + if (!this.metaInfo.equals(that.metaInfo)) + return false; + } + return true; } @@ -439,6 +612,21 @@ public int hashCode() { if (present_hostname) list.add(hostname); + boolean present_agentInfo = true && (isSetAgentInfo()); + list.add(present_agentInfo); + if (present_agentInfo) + list.add(agentInfo); + + boolean present_heartbeatCount = true && (isSetHeartbeatCount()); + list.add(present_heartbeatCount); + if (present_heartbeatCount) + list.add(heartbeatCount); + + boolean present_metaInfo = true && (isSetMetaInfo()); + list.add(present_metaInfo); + if (present_metaInfo) + list.add(metaInfo); + return list.hashCode(); } @@ -490,6 +678,36 @@ public int compareTo(TxnInfo other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetAgentInfo()).compareTo(other.isSetAgentInfo()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetAgentInfo()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.agentInfo, other.agentInfo); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetHeartbeatCount()).compareTo(other.isSetHeartbeatCount()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetHeartbeatCount()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.heartbeatCount, other.heartbeatCount); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetMetaInfo()).compareTo(other.isSetMetaInfo()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetMetaInfo()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.metaInfo, other.metaInfo); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -537,6 +755,32 @@ public String toString() { sb.append(this.hostname); } first = false; + if (isSetAgentInfo()) { + if (!first) sb.append(", "); + sb.append("agentInfo:"); + if (this.agentInfo == null) { + sb.append("null"); + } else { + sb.append(this.agentInfo); + } + first = false; + } + if (isSetHeartbeatCount()) { + if (!first) sb.append(", "); + sb.append("heartbeatCount:"); + sb.append(this.heartbeatCount); + first = false; + } + if (isSetMetaInfo()) { + if (!first) sb.append(", "); + sb.append("metaInfo:"); + if (this.metaInfo == null) { + sb.append("null"); + } else { + sb.append(this.metaInfo); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -630,6 +874,30 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TxnInfo struct) thr org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 5: // AGENT_INFO + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.agentInfo = iprot.readString(); + struct.setAgentInfoIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // HEARTBEAT_COUNT + if (schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.heartbeatCount = iprot.readI32(); + struct.setHeartbeatCountIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 7: // META_INFO + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.metaInfo = iprot.readString(); + struct.setMetaInfoIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -661,6 +929,25 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TxnInfo struct) th oprot.writeString(struct.hostname); oprot.writeFieldEnd(); } + if (struct.agentInfo != null) { + if (struct.isSetAgentInfo()) { + oprot.writeFieldBegin(AGENT_INFO_FIELD_DESC); + oprot.writeString(struct.agentInfo); + oprot.writeFieldEnd(); + } + } + if (struct.isSetHeartbeatCount()) { + oprot.writeFieldBegin(HEARTBEAT_COUNT_FIELD_DESC); + oprot.writeI32(struct.heartbeatCount); + oprot.writeFieldEnd(); + } + if (struct.metaInfo != null) { + if (struct.isSetMetaInfo()) { + oprot.writeFieldBegin(META_INFO_FIELD_DESC); + oprot.writeString(struct.metaInfo); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -682,6 +969,26 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TxnInfo struct) thr oprot.writeI32(struct.state.getValue()); oprot.writeString(struct.user); oprot.writeString(struct.hostname); + BitSet optionals = new BitSet(); + if (struct.isSetAgentInfo()) { + optionals.set(0); + } + if (struct.isSetHeartbeatCount()) { + optionals.set(1); + } + if (struct.isSetMetaInfo()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); + if (struct.isSetAgentInfo()) { + oprot.writeString(struct.agentInfo); + } + if (struct.isSetHeartbeatCount()) { + oprot.writeI32(struct.heartbeatCount); + } + if (struct.isSetMetaInfo()) { + oprot.writeString(struct.metaInfo); + } } @Override @@ -695,6 +1002,19 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TxnInfo struct) thro struct.setUserIsSet(true); struct.hostname = iprot.readString(); struct.setHostnameIsSet(true); + BitSet incoming = iprot.readBitSet(3); + if (incoming.get(0)) { + struct.agentInfo = iprot.readString(); + struct.setAgentInfoIsSet(true); + } + if (incoming.get(1)) { + struct.heartbeatCount = iprot.readI32(); + struct.setHeartbeatCountIsSet(true); + } + if (incoming.get(2)) { + struct.metaInfo = iprot.readString(); + struct.setMetaInfoIsSet(true); + } } } diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnOpenException.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnOpenException.java index 05af505..23392e9 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnOpenException.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnOpenException.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TxnOpenException extends TException 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("TxnOpenException"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnState.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnState.java index 69d6239..de59755 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnState.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnState.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java index 61e7ceb..b71685b 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class Type 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("Type"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java index e05e79d..c3b15fb 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownDBException.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class UnknownDBException extends TException 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("UnknownDBException"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownPartitionException.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownPartitionException.java index c626bf6..e78f765 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownPartitionException.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownPartitionException.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class UnknownPartitionException extends TException 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("UnknownPartitionException"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java index 2856121..a3c4760 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnknownTableException.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class UnknownTableException extends TException 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("UnknownTableException"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnlockRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnlockRequest.java index cf248e0..59d5ff4 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnlockRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UnlockRequest.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class UnlockRequest 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("UnlockRequest"); @@ -185,7 +185,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case LOCKID: - return Long.valueOf(getLockid()); + return getLockid(); } throw new IllegalStateException(); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java index cc8d5f5..51d25da 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Version.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class Version 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("Version"); diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/hive_metastoreConstants.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/hive_metastoreConstants.java index b6e0a29..5a666f2 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/hive_metastoreConstants.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/hive_metastoreConstants.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php index a2e5b05..6154d8c 100644 --- metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -1,7 +1,7 @@ 'hostname', 'type' => TType::STRING, ), + 5 => array( + 'var' => 'agentInfo', + 'type' => TType::STRING, + ), + 6 => array( + 'var' => 'heartbeatCount', + 'type' => TType::I32, + ), + 7 => array( + 'var' => 'metaInfo', + 'type' => TType::STRING, + ), ); } if (is_array($vals)) { @@ -10113,6 +10137,15 @@ class TxnInfo { if (isset($vals['hostname'])) { $this->hostname = $vals['hostname']; } + if (isset($vals['agentInfo'])) { + $this->agentInfo = $vals['agentInfo']; + } + if (isset($vals['heartbeatCount'])) { + $this->heartbeatCount = $vals['heartbeatCount']; + } + if (isset($vals['metaInfo'])) { + $this->metaInfo = $vals['metaInfo']; + } } } @@ -10163,6 +10196,27 @@ class TxnInfo { $xfer += $input->skip($ftype); } break; + case 5: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->agentInfo); + } else { + $xfer += $input->skip($ftype); + } + break; + case 6: + if ($ftype == TType::I32) { + $xfer += $input->readI32($this->heartbeatCount); + } else { + $xfer += $input->skip($ftype); + } + break; + case 7: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->metaInfo); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -10196,6 +10250,21 @@ class TxnInfo { $xfer += $output->writeString($this->hostname); $xfer += $output->writeFieldEnd(); } + if ($this->agentInfo !== null) { + $xfer += $output->writeFieldBegin('agentInfo', TType::STRING, 5); + $xfer += $output->writeString($this->agentInfo); + $xfer += $output->writeFieldEnd(); + } + if ($this->heartbeatCount !== null) { + $xfer += $output->writeFieldBegin('heartbeatCount', TType::I32, 6); + $xfer += $output->writeI32($this->heartbeatCount); + $xfer += $output->writeFieldEnd(); + } + if ($this->metaInfo !== null) { + $xfer += $output->writeFieldBegin('metaInfo', TType::STRING, 7); + $xfer += $output->writeString($this->metaInfo); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -10476,6 +10545,10 @@ class OpenTxnRequest { * @var string */ public $hostname = null; + /** + * @var string + */ + public $agentInfo = "Unknown"; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -10492,6 +10565,10 @@ class OpenTxnRequest { 'var' => 'hostname', 'type' => TType::STRING, ), + 4 => array( + 'var' => 'agentInfo', + 'type' => TType::STRING, + ), ); } if (is_array($vals)) { @@ -10504,6 +10581,9 @@ class OpenTxnRequest { if (isset($vals['hostname'])) { $this->hostname = $vals['hostname']; } + if (isset($vals['agentInfo'])) { + $this->agentInfo = $vals['agentInfo']; + } } } @@ -10547,6 +10627,13 @@ class OpenTxnRequest { $xfer += $input->skip($ftype); } break; + case 4: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->agentInfo); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -10575,6 +10662,11 @@ class OpenTxnRequest { $xfer += $output->writeString($this->hostname); $xfer += $output->writeFieldEnd(); } + if ($this->agentInfo !== null) { + $xfer += $output->writeFieldBegin('agentInfo', TType::STRING, 4); + $xfer += $output->writeString($this->agentInfo); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -11019,6 +11111,10 @@ class LockRequest { * @var string */ public $hostname = null; + /** + * @var string + */ + public $agentInfo = "Unknown"; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -11044,6 +11140,10 @@ class LockRequest { 'var' => 'hostname', 'type' => TType::STRING, ), + 5 => array( + 'var' => 'agentInfo', + 'type' => TType::STRING, + ), ); } if (is_array($vals)) { @@ -11059,6 +11159,9 @@ class LockRequest { if (isset($vals['hostname'])) { $this->hostname = $vals['hostname']; } + if (isset($vals['agentInfo'])) { + $this->agentInfo = $vals['agentInfo']; + } } } @@ -11120,6 +11223,13 @@ class LockRequest { $xfer += $input->skip($ftype); } break; + case 5: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->agentInfo); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -11165,6 +11275,11 @@ class LockRequest { $xfer += $output->writeString($this->hostname); $xfer += $output->writeFieldEnd(); } + if ($this->agentInfo !== null) { + $xfer += $output->writeFieldBegin('agentInfo', TType::STRING, 5); + $xfer += $output->writeString($this->agentInfo); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -11277,6 +11392,14 @@ class CheckLockRequest { * @var int */ public $lockid = null; + /** + * @var int + */ + public $txnid = null; + /** + * @var int + */ + public $elapsed_ms = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -11285,12 +11408,26 @@ class CheckLockRequest { 'var' => 'lockid', 'type' => TType::I64, ), + 2 => array( + 'var' => 'txnid', + 'type' => TType::I64, + ), + 3 => array( + 'var' => 'elapsed_ms', + 'type' => TType::I64, + ), ); } if (is_array($vals)) { if (isset($vals['lockid'])) { $this->lockid = $vals['lockid']; } + if (isset($vals['txnid'])) { + $this->txnid = $vals['txnid']; + } + if (isset($vals['elapsed_ms'])) { + $this->elapsed_ms = $vals['elapsed_ms']; + } } } @@ -11320,6 +11457,20 @@ class CheckLockRequest { $xfer += $input->skip($ftype); } break; + case 2: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->txnid); + } else { + $xfer += $input->skip($ftype); + } + break; + case 3: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->elapsed_ms); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -11338,6 +11489,16 @@ class CheckLockRequest { $xfer += $output->writeI64($this->lockid); $xfer += $output->writeFieldEnd(); } + if ($this->txnid !== null) { + $xfer += $output->writeFieldBegin('txnid', TType::I64, 2); + $xfer += $output->writeI64($this->txnid); + $xfer += $output->writeFieldEnd(); + } + if ($this->elapsed_ms !== null) { + $xfer += $output->writeFieldBegin('elapsed_ms', TType::I64, 3); + $xfer += $output->writeI64($this->elapsed_ms); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -11423,12 +11584,58 @@ class UnlockRequest { class ShowLocksRequest { static $_TSPEC; + /** + * @var string + */ + public $dbname = null; + /** + * @var string + */ + public $tablename = null; + /** + * @var string + */ + public $partname = null; + /** + * @var bool + */ + public $isExtended = false; - public function __construct() { + public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array( + 1 => array( + 'var' => 'dbname', + 'type' => TType::STRING, + ), + 2 => array( + 'var' => 'tablename', + 'type' => TType::STRING, + ), + 3 => array( + 'var' => 'partname', + 'type' => TType::STRING, + ), + 4 => array( + 'var' => 'isExtended', + 'type' => TType::BOOL, + ), ); } + if (is_array($vals)) { + if (isset($vals['dbname'])) { + $this->dbname = $vals['dbname']; + } + if (isset($vals['tablename'])) { + $this->tablename = $vals['tablename']; + } + if (isset($vals['partname'])) { + $this->partname = $vals['partname']; + } + if (isset($vals['isExtended'])) { + $this->isExtended = $vals['isExtended']; + } + } } public function getName() { @@ -11450,6 +11657,34 @@ class ShowLocksRequest { } switch ($fid) { + case 1: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->dbname); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->tablename); + } else { + $xfer += $input->skip($ftype); + } + break; + case 3: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->partname); + } else { + $xfer += $input->skip($ftype); + } + break; + case 4: + if ($ftype == TType::BOOL) { + $xfer += $input->readBool($this->isExtended); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -11463,6 +11698,26 @@ class ShowLocksRequest { public function write($output) { $xfer = 0; $xfer += $output->writeStructBegin('ShowLocksRequest'); + if ($this->dbname !== null) { + $xfer += $output->writeFieldBegin('dbname', TType::STRING, 1); + $xfer += $output->writeString($this->dbname); + $xfer += $output->writeFieldEnd(); + } + if ($this->tablename !== null) { + $xfer += $output->writeFieldBegin('tablename', TType::STRING, 2); + $xfer += $output->writeString($this->tablename); + $xfer += $output->writeFieldEnd(); + } + if ($this->partname !== null) { + $xfer += $output->writeFieldBegin('partname', TType::STRING, 3); + $xfer += $output->writeString($this->partname); + $xfer += $output->writeFieldEnd(); + } + if ($this->isExtended !== null) { + $xfer += $output->writeFieldBegin('isExtended', TType::BOOL, 4); + $xfer += $output->writeBool($this->isExtended); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -11517,6 +11772,26 @@ class ShowLocksResponseElement { * @var string */ public $hostname = null; + /** + * @var int + */ + public $heartbeatCount = 0; + /** + * @var string + */ + public $agentInfo = null; + /** + * @var int + */ + public $blockedByExtId = null; + /** + * @var int + */ + public $blockedByIntId = null; + /** + * @var int + */ + public $lockIdInternal = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -11565,6 +11840,26 @@ class ShowLocksResponseElement { 'var' => 'hostname', 'type' => TType::STRING, ), + 12 => array( + 'var' => 'heartbeatCount', + 'type' => TType::I32, + ), + 13 => array( + 'var' => 'agentInfo', + 'type' => TType::STRING, + ), + 14 => array( + 'var' => 'blockedByExtId', + 'type' => TType::I64, + ), + 15 => array( + 'var' => 'blockedByIntId', + 'type' => TType::I64, + ), + 16 => array( + 'var' => 'lockIdInternal', + 'type' => TType::I64, + ), ); } if (is_array($vals)) { @@ -11601,6 +11896,21 @@ class ShowLocksResponseElement { if (isset($vals['hostname'])) { $this->hostname = $vals['hostname']; } + if (isset($vals['heartbeatCount'])) { + $this->heartbeatCount = $vals['heartbeatCount']; + } + if (isset($vals['agentInfo'])) { + $this->agentInfo = $vals['agentInfo']; + } + if (isset($vals['blockedByExtId'])) { + $this->blockedByExtId = $vals['blockedByExtId']; + } + if (isset($vals['blockedByIntId'])) { + $this->blockedByIntId = $vals['blockedByIntId']; + } + if (isset($vals['lockIdInternal'])) { + $this->lockIdInternal = $vals['lockIdInternal']; + } } } @@ -11700,6 +12010,41 @@ class ShowLocksResponseElement { $xfer += $input->skip($ftype); } break; + case 12: + if ($ftype == TType::I32) { + $xfer += $input->readI32($this->heartbeatCount); + } else { + $xfer += $input->skip($ftype); + } + break; + case 13: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->agentInfo); + } else { + $xfer += $input->skip($ftype); + } + break; + case 14: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->blockedByExtId); + } else { + $xfer += $input->skip($ftype); + } + break; + case 15: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->blockedByIntId); + } else { + $xfer += $input->skip($ftype); + } + break; + case 16: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->lockIdInternal); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -11768,6 +12113,31 @@ class ShowLocksResponseElement { $xfer += $output->writeString($this->hostname); $xfer += $output->writeFieldEnd(); } + if ($this->heartbeatCount !== null) { + $xfer += $output->writeFieldBegin('heartbeatCount', TType::I32, 12); + $xfer += $output->writeI32($this->heartbeatCount); + $xfer += $output->writeFieldEnd(); + } + if ($this->agentInfo !== null) { + $xfer += $output->writeFieldBegin('agentInfo', TType::STRING, 13); + $xfer += $output->writeString($this->agentInfo); + $xfer += $output->writeFieldEnd(); + } + if ($this->blockedByExtId !== null) { + $xfer += $output->writeFieldBegin('blockedByExtId', TType::I64, 14); + $xfer += $output->writeI64($this->blockedByExtId); + $xfer += $output->writeFieldEnd(); + } + if ($this->blockedByIntId !== null) { + $xfer += $output->writeFieldBegin('blockedByIntId', TType::I64, 15); + $xfer += $output->writeI64($this->blockedByIntId); + $xfer += $output->writeFieldEnd(); + } + if ($this->lockIdInternal !== null) { + $xfer += $output->writeFieldBegin('lockIdInternal', TType::I64, 16); + $xfer += $output->writeI64($this->lockIdInternal); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -12492,6 +12862,22 @@ class ShowCompactResponseElement { * @var string */ public $runAs = null; + /** + * @var int + */ + public $hightestTxnId = null; + /** + * @var string + */ + public $metaInfo = null; + /** + * @var int + */ + public $endTime = null; + /** + * @var string + */ + public $hadoopJobId = "None"; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -12528,6 +12914,22 @@ class ShowCompactResponseElement { 'var' => 'runAs', 'type' => TType::STRING, ), + 9 => array( + 'var' => 'hightestTxnId', + 'type' => TType::I64, + ), + 10 => array( + 'var' => 'metaInfo', + 'type' => TType::STRING, + ), + 11 => array( + 'var' => 'endTime', + 'type' => TType::I64, + ), + 12 => array( + 'var' => 'hadoopJobId', + 'type' => TType::STRING, + ), ); } if (is_array($vals)) { @@ -12555,6 +12957,18 @@ class ShowCompactResponseElement { if (isset($vals['runAs'])) { $this->runAs = $vals['runAs']; } + if (isset($vals['hightestTxnId'])) { + $this->hightestTxnId = $vals['hightestTxnId']; + } + if (isset($vals['metaInfo'])) { + $this->metaInfo = $vals['metaInfo']; + } + if (isset($vals['endTime'])) { + $this->endTime = $vals['endTime']; + } + if (isset($vals['hadoopJobId'])) { + $this->hadoopJobId = $vals['hadoopJobId']; + } } } @@ -12633,6 +13047,34 @@ class ShowCompactResponseElement { $xfer += $input->skip($ftype); } break; + case 9: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->hightestTxnId); + } else { + $xfer += $input->skip($ftype); + } + break; + case 10: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->metaInfo); + } else { + $xfer += $input->skip($ftype); + } + break; + case 11: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->endTime); + } else { + $xfer += $input->skip($ftype); + } + break; + case 12: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->hadoopJobId); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -12686,6 +13128,26 @@ class ShowCompactResponseElement { $xfer += $output->writeString($this->runAs); $xfer += $output->writeFieldEnd(); } + if ($this->hightestTxnId !== null) { + $xfer += $output->writeFieldBegin('hightestTxnId', TType::I64, 9); + $xfer += $output->writeI64($this->hightestTxnId); + $xfer += $output->writeFieldEnd(); + } + if ($this->metaInfo !== null) { + $xfer += $output->writeFieldBegin('metaInfo', TType::STRING, 10); + $xfer += $output->writeString($this->metaInfo); + $xfer += $output->writeFieldEnd(); + } + if ($this->endTime !== null) { + $xfer += $output->writeFieldBegin('endTime', TType::I64, 11); + $xfer += $output->writeI64($this->endTime); + $xfer += $output->writeFieldEnd(); + } + if ($this->hadoopJobId !== null) { + $xfer += $output->writeFieldBegin('hadoopJobId', TType::STRING, 12); + $xfer += $output->writeString($this->hadoopJobId); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; diff --git metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote index e6d3755..b3182a8 100755 --- metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote @@ -1,6 +1,6 @@ #!/usr/bin/env python # -# Autogenerated by Thrift Compiler (0.9.2) +# Autogenerated by Thrift Compiler (0.9.3) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @@ -158,8 +158,8 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print(' void setOption(string key, string value)') print(' string getOption(string key)') print(' getOptions()') + print(' string getCpuProfile(i32 profileDurationInSec)') print(' i64 aliveSince()') - print(' reflection_limited.Service getLimitedReflection()') print(' void reinitialize()') print(' void shutdown()') print('') @@ -1022,18 +1022,18 @@ elif cmd == 'getOptions': sys.exit(1) pp.pprint(client.getOptions()) +elif cmd == 'getCpuProfile': + if len(args) != 1: + print('getCpuProfile requires 1 args') + sys.exit(1) + pp.pprint(client.getCpuProfile(eval(args[0]),)) + elif cmd == 'aliveSince': if len(args) != 0: print('aliveSince requires 0 args') sys.exit(1) pp.pprint(client.aliveSince()) -elif cmd == 'getLimitedReflection': - if len(args) != 0: - print('getLimitedReflection requires 0 args') - sys.exit(1) - pp.pprint(client.getLimitedReflection()) - elif cmd == 'reinitialize': if len(args) != 0: print('reinitialize requires 0 args') diff --git metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index 0829c52..1cc6acf 100644 --- metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.2) +# Autogenerated by Thrift Compiler (0.9.3) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @@ -8,6 +8,7 @@ from thrift.Thrift import TType, TMessageType, TException, TApplicationException import fb303.FacebookService +import logging from ttypes import * from thrift.Thrift import TProcessor from thrift.transport import TTransport @@ -1071,7 +1072,7 @@ def recv_getMetaConf(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "getMetaConf failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "getMetaConf failed: unknown result") def setMetaConf(self, key, value): """ @@ -1174,7 +1175,7 @@ def recv_get_database(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_database failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_database failed: unknown result") def drop_database(self, name, deleteData, cascade): """ @@ -1246,7 +1247,7 @@ def recv_get_databases(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_databases failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_databases failed: unknown result") def get_all_databases(self): self.send_get_all_databases() @@ -1274,7 +1275,7 @@ def recv_get_all_databases(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_all_databases failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_all_databases failed: unknown result") def alter_database(self, dbname, db): """ @@ -1344,7 +1345,7 @@ def recv_get_type(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_type failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_type failed: unknown result") def create_type(self, type): """ @@ -1381,7 +1382,7 @@ def recv_create_type(self): raise result.o2 if result.o3 is not None: raise result.o3 - raise TApplicationException(TApplicationException.MISSING_RESULT, "create_type failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "create_type failed: unknown result") def drop_type(self, type): """ @@ -1416,7 +1417,7 @@ def recv_drop_type(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_type failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_type failed: unknown result") def get_type_all(self, name): """ @@ -1449,7 +1450,7 @@ def recv_get_type_all(self): return result.success if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_type_all failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_type_all failed: unknown result") def get_fields(self, db_name, table_name): """ @@ -1488,7 +1489,7 @@ def recv_get_fields(self): raise result.o2 if result.o3 is not None: raise result.o3 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_fields failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_fields failed: unknown result") def get_fields_with_environment_context(self, db_name, table_name, environment_context): """ @@ -1529,7 +1530,7 @@ def recv_get_fields_with_environment_context(self): raise result.o2 if result.o3 is not None: raise result.o3 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_fields_with_environment_context failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_fields_with_environment_context failed: unknown result") def get_schema(self, db_name, table_name): """ @@ -1568,7 +1569,7 @@ def recv_get_schema(self): raise result.o2 if result.o3 is not None: raise result.o3 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_schema failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_schema failed: unknown result") def get_schema_with_environment_context(self, db_name, table_name, environment_context): """ @@ -1609,7 +1610,7 @@ def recv_get_schema_with_environment_context(self): raise result.o2 if result.o3 is not None: raise result.o3 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_schema_with_environment_context failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_schema_with_environment_context failed: unknown result") def create_table(self, tbl): """ @@ -1796,7 +1797,7 @@ def recv_get_tables(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_tables failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_tables failed: unknown result") def get_all_tables(self, db_name): """ @@ -1829,7 +1830,7 @@ def recv_get_all_tables(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_all_tables failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_all_tables failed: unknown result") def get_table(self, dbname, tbl_name): """ @@ -1866,7 +1867,7 @@ def recv_get_table(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table failed: unknown result") def get_table_objects_by_name(self, dbname, tbl_names): """ @@ -1905,7 +1906,7 @@ def recv_get_table_objects_by_name(self): raise result.o2 if result.o3 is not None: raise result.o3 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_objects_by_name failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_objects_by_name failed: unknown result") def get_table_names_by_filter(self, dbname, filter, max_tables): """ @@ -1946,7 +1947,7 @@ def recv_get_table_names_by_filter(self): raise result.o2 if result.o3 is not None: raise result.o3 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_names_by_filter failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_names_by_filter failed: unknown result") def alter_table(self, dbname, tbl_name, new_tbl): """ @@ -2098,7 +2099,7 @@ def recv_add_partition(self): raise result.o2 if result.o3 is not None: raise result.o3 - raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partition failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partition failed: unknown result") def add_partition_with_environment_context(self, new_part, environment_context): """ @@ -2137,7 +2138,7 @@ def recv_add_partition_with_environment_context(self): raise result.o2 if result.o3 is not None: raise result.o3 - raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partition_with_environment_context failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partition_with_environment_context failed: unknown result") def add_partitions(self, new_parts): """ @@ -2174,7 +2175,7 @@ def recv_add_partitions(self): raise result.o2 if result.o3 is not None: raise result.o3 - raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partitions failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partitions failed: unknown result") def add_partitions_pspec(self, new_parts): """ @@ -2211,7 +2212,7 @@ def recv_add_partitions_pspec(self): raise result.o2 if result.o3 is not None: raise result.o3 - raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partitions_pspec failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partitions_pspec failed: unknown result") def append_partition(self, db_name, tbl_name, part_vals): """ @@ -2252,7 +2253,7 @@ def recv_append_partition(self): raise result.o2 if result.o3 is not None: raise result.o3 - raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition failed: unknown result") def add_partitions_req(self, request): """ @@ -2289,7 +2290,7 @@ def recv_add_partitions_req(self): raise result.o2 if result.o3 is not None: raise result.o3 - raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partitions_req failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "add_partitions_req failed: unknown result") def append_partition_with_environment_context(self, db_name, tbl_name, part_vals, environment_context): """ @@ -2332,7 +2333,7 @@ def recv_append_partition_with_environment_context(self): raise result.o2 if result.o3 is not None: raise result.o3 - raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition_with_environment_context failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition_with_environment_context failed: unknown result") def append_partition_by_name(self, db_name, tbl_name, part_name): """ @@ -2373,7 +2374,7 @@ def recv_append_partition_by_name(self): raise result.o2 if result.o3 is not None: raise result.o3 - raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition_by_name failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition_by_name failed: unknown result") def append_partition_by_name_with_environment_context(self, db_name, tbl_name, part_name, environment_context): """ @@ -2416,7 +2417,7 @@ def recv_append_partition_by_name_with_environment_context(self): raise result.o2 if result.o3 is not None: raise result.o3 - raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition_by_name_with_environment_context failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "append_partition_by_name_with_environment_context failed: unknown result") def drop_partition(self, db_name, tbl_name, part_vals, deleteData): """ @@ -2457,7 +2458,7 @@ def recv_drop_partition(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition failed: unknown result") def drop_partition_with_environment_context(self, db_name, tbl_name, part_vals, deleteData, environment_context): """ @@ -2500,7 +2501,7 @@ def recv_drop_partition_with_environment_context(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition_with_environment_context failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition_with_environment_context failed: unknown result") def drop_partition_by_name(self, db_name, tbl_name, part_name, deleteData): """ @@ -2541,7 +2542,7 @@ def recv_drop_partition_by_name(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition_by_name failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition_by_name failed: unknown result") def drop_partition_by_name_with_environment_context(self, db_name, tbl_name, part_name, deleteData, environment_context): """ @@ -2584,7 +2585,7 @@ def recv_drop_partition_by_name_with_environment_context(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition_by_name_with_environment_context failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partition_by_name_with_environment_context failed: unknown result") def drop_partitions_req(self, req): """ @@ -2619,7 +2620,7 @@ def recv_drop_partitions_req(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partitions_req failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_partitions_req failed: unknown result") def get_partition(self, db_name, tbl_name, part_vals): """ @@ -2658,7 +2659,7 @@ def recv_get_partition(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition failed: unknown result") def exchange_partition(self, partitionSpecs, source_db, source_table_name, dest_db, dest_table_name): """ @@ -2705,7 +2706,7 @@ def recv_exchange_partition(self): raise result.o3 if result.o4 is not None: raise result.o4 - raise TApplicationException(TApplicationException.MISSING_RESULT, "exchange_partition failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "exchange_partition failed: unknown result") def exchange_partitions(self, partitionSpecs, source_db, source_table_name, dest_db, dest_table_name): """ @@ -2752,7 +2753,7 @@ def recv_exchange_partitions(self): raise result.o3 if result.o4 is not None: raise result.o4 - raise TApplicationException(TApplicationException.MISSING_RESULT, "exchange_partitions failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "exchange_partitions failed: unknown result") def get_partition_with_auth(self, db_name, tbl_name, part_vals, user_name, group_names): """ @@ -2795,7 +2796,7 @@ def recv_get_partition_with_auth(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_with_auth failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_with_auth failed: unknown result") def get_partition_by_name(self, db_name, tbl_name, part_name): """ @@ -2834,7 +2835,7 @@ def recv_get_partition_by_name(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_by_name failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_by_name failed: unknown result") def get_partitions(self, db_name, tbl_name, max_parts): """ @@ -2873,7 +2874,7 @@ def recv_get_partitions(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions failed: unknown result") def get_partitions_with_auth(self, db_name, tbl_name, max_parts, user_name, group_names): """ @@ -2916,7 +2917,7 @@ def recv_get_partitions_with_auth(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_with_auth failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_with_auth failed: unknown result") def get_partitions_pspec(self, db_name, tbl_name, max_parts): """ @@ -2955,7 +2956,7 @@ def recv_get_partitions_pspec(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_pspec failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_pspec failed: unknown result") def get_partition_names(self, db_name, tbl_name, max_parts): """ @@ -2992,7 +2993,7 @@ def recv_get_partition_names(self): return result.success if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_names failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_names failed: unknown result") def get_partitions_ps(self, db_name, tbl_name, part_vals, max_parts): """ @@ -3033,7 +3034,7 @@ def recv_get_partitions_ps(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_ps failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_ps failed: unknown result") def get_partitions_ps_with_auth(self, db_name, tbl_name, part_vals, max_parts, user_name, group_names): """ @@ -3078,7 +3079,7 @@ def recv_get_partitions_ps_with_auth(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_ps_with_auth failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_ps_with_auth failed: unknown result") def get_partition_names_ps(self, db_name, tbl_name, part_vals, max_parts): """ @@ -3119,7 +3120,7 @@ def recv_get_partition_names_ps(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_names_ps failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_names_ps failed: unknown result") def get_partitions_by_filter(self, db_name, tbl_name, filter, max_parts): """ @@ -3160,7 +3161,7 @@ def recv_get_partitions_by_filter(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_by_filter failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_by_filter failed: unknown result") def get_part_specs_by_filter(self, db_name, tbl_name, filter, max_parts): """ @@ -3201,7 +3202,7 @@ def recv_get_part_specs_by_filter(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_part_specs_by_filter failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_part_specs_by_filter failed: unknown result") def get_partitions_by_expr(self, req): """ @@ -3236,7 +3237,7 @@ def recv_get_partitions_by_expr(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_by_expr failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_by_expr failed: unknown result") def get_partitions_by_names(self, db_name, tbl_name, names): """ @@ -3275,7 +3276,7 @@ def recv_get_partitions_by_names(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_by_names failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_by_names failed: unknown result") def alter_partition(self, db_name, tbl_name, new_part): """ @@ -3462,7 +3463,7 @@ def recv_partition_name_has_valid_characters(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "partition_name_has_valid_characters failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "partition_name_has_valid_characters failed: unknown result") def get_config_value(self, name, defaultValue): """ @@ -3497,7 +3498,7 @@ def recv_get_config_value(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_config_value failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_config_value failed: unknown result") def partition_name_to_vals(self, part_name): """ @@ -3530,7 +3531,7 @@ def recv_partition_name_to_vals(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "partition_name_to_vals failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "partition_name_to_vals failed: unknown result") def partition_name_to_spec(self, part_name): """ @@ -3563,7 +3564,7 @@ def recv_partition_name_to_spec(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "partition_name_to_spec failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "partition_name_to_spec failed: unknown result") def markPartitionForEvent(self, db_name, tbl_name, part_vals, eventType): """ @@ -3659,7 +3660,7 @@ def recv_isPartitionMarkedForEvent(self): raise result.o5 if result.o6 is not None: raise result.o6 - raise TApplicationException(TApplicationException.MISSING_RESULT, "isPartitionMarkedForEvent failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "isPartitionMarkedForEvent failed: unknown result") def add_index(self, new_index, index_table): """ @@ -3698,7 +3699,7 @@ def recv_add_index(self): raise result.o2 if result.o3 is not None: raise result.o3 - raise TApplicationException(TApplicationException.MISSING_RESULT, "add_index failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "add_index failed: unknown result") def alter_index(self, dbname, base_tbl_name, idx_name, new_idx): """ @@ -3778,7 +3779,7 @@ def recv_drop_index_by_name(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_index_by_name failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_index_by_name failed: unknown result") def get_index_by_name(self, db_name, tbl_name, index_name): """ @@ -3817,7 +3818,7 @@ def recv_get_index_by_name(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_index_by_name failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_index_by_name failed: unknown result") def get_indexes(self, db_name, tbl_name, max_indexes): """ @@ -3856,7 +3857,7 @@ def recv_get_indexes(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_indexes failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_indexes failed: unknown result") def get_index_names(self, db_name, tbl_name, max_indexes): """ @@ -3893,7 +3894,7 @@ def recv_get_index_names(self): return result.success if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_index_names failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_index_names failed: unknown result") def update_table_column_statistics(self, stats_obj): """ @@ -3932,7 +3933,7 @@ def recv_update_table_column_statistics(self): raise result.o3 if result.o4 is not None: raise result.o4 - raise TApplicationException(TApplicationException.MISSING_RESULT, "update_table_column_statistics failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "update_table_column_statistics failed: unknown result") def update_partition_column_statistics(self, stats_obj): """ @@ -3971,7 +3972,7 @@ def recv_update_partition_column_statistics(self): raise result.o3 if result.o4 is not None: raise result.o4 - raise TApplicationException(TApplicationException.MISSING_RESULT, "update_partition_column_statistics failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "update_partition_column_statistics failed: unknown result") def get_table_column_statistics(self, db_name, tbl_name, col_name): """ @@ -4014,7 +4015,7 @@ def recv_get_table_column_statistics(self): raise result.o3 if result.o4 is not None: raise result.o4 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_column_statistics failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_column_statistics failed: unknown result") def get_partition_column_statistics(self, db_name, tbl_name, part_name, col_name): """ @@ -4059,7 +4060,7 @@ def recv_get_partition_column_statistics(self): raise result.o3 if result.o4 is not None: raise result.o4 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_column_statistics failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partition_column_statistics failed: unknown result") def get_table_statistics_req(self, request): """ @@ -4094,7 +4095,7 @@ def recv_get_table_statistics_req(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_statistics_req failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_table_statistics_req failed: unknown result") def get_partitions_statistics_req(self, request): """ @@ -4129,7 +4130,7 @@ def recv_get_partitions_statistics_req(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_statistics_req failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_partitions_statistics_req failed: unknown result") def get_aggr_stats_for(self, request): """ @@ -4164,7 +4165,7 @@ def recv_get_aggr_stats_for(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_aggr_stats_for failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_aggr_stats_for failed: unknown result") def set_aggr_stats_for(self, request): """ @@ -4203,7 +4204,7 @@ def recv_set_aggr_stats_for(self): raise result.o3 if result.o4 is not None: raise result.o4 - raise TApplicationException(TApplicationException.MISSING_RESULT, "set_aggr_stats_for failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "set_aggr_stats_for failed: unknown result") def delete_partition_column_statistics(self, db_name, tbl_name, part_name, col_name): """ @@ -4248,7 +4249,7 @@ def recv_delete_partition_column_statistics(self): raise result.o3 if result.o4 is not None: raise result.o4 - raise TApplicationException(TApplicationException.MISSING_RESULT, "delete_partition_column_statistics failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "delete_partition_column_statistics failed: unknown result") def delete_table_column_statistics(self, db_name, tbl_name, col_name): """ @@ -4291,7 +4292,7 @@ def recv_delete_table_column_statistics(self): raise result.o3 if result.o4 is not None: raise result.o4 - raise TApplicationException(TApplicationException.MISSING_RESULT, "delete_table_column_statistics failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "delete_table_column_statistics failed: unknown result") def create_function(self, func): """ @@ -4435,7 +4436,7 @@ def recv_get_functions(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_functions failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_functions failed: unknown result") def get_function(self, dbName, funcName): """ @@ -4472,7 +4473,7 @@ def recv_get_function(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_function failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_function failed: unknown result") def get_all_functions(self): self.send_get_all_functions() @@ -4500,7 +4501,7 @@ def recv_get_all_functions(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_all_functions failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_all_functions failed: unknown result") def create_role(self, role): """ @@ -4533,7 +4534,7 @@ def recv_create_role(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "create_role failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "create_role failed: unknown result") def drop_role(self, role_name): """ @@ -4566,7 +4567,7 @@ def recv_drop_role(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_role failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "drop_role failed: unknown result") def get_role_names(self): self.send_get_role_names() @@ -4594,7 +4595,7 @@ def recv_get_role_names(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_role_names failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_role_names failed: unknown result") def grant_role(self, role_name, principal_name, principal_type, grantor, grantorType, grant_option): """ @@ -4637,7 +4638,7 @@ def recv_grant_role(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_role failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_role failed: unknown result") def revoke_role(self, role_name, principal_name, principal_type): """ @@ -4674,7 +4675,7 @@ def recv_revoke_role(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "revoke_role failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "revoke_role failed: unknown result") def list_roles(self, principal_name, principal_type): """ @@ -4709,7 +4710,7 @@ def recv_list_roles(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "list_roles failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "list_roles failed: unknown result") def grant_revoke_role(self, request): """ @@ -4742,7 +4743,7 @@ def recv_grant_revoke_role(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_revoke_role failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_revoke_role failed: unknown result") def get_principals_in_role(self, request): """ @@ -4775,7 +4776,7 @@ def recv_get_principals_in_role(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_principals_in_role failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_principals_in_role failed: unknown result") def get_role_grants_for_principal(self, request): """ @@ -4808,7 +4809,7 @@ def recv_get_role_grants_for_principal(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_role_grants_for_principal failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_role_grants_for_principal failed: unknown result") def get_privilege_set(self, hiveObject, user_name, group_names): """ @@ -4845,7 +4846,7 @@ def recv_get_privilege_set(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_privilege_set failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_privilege_set failed: unknown result") def list_privileges(self, principal_name, principal_type, hiveObject): """ @@ -4882,7 +4883,7 @@ def recv_list_privileges(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "list_privileges failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "list_privileges failed: unknown result") def grant_privileges(self, privileges): """ @@ -4915,7 +4916,7 @@ def recv_grant_privileges(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_privileges failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_privileges failed: unknown result") def revoke_privileges(self, privileges): """ @@ -4948,7 +4949,7 @@ def recv_revoke_privileges(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "revoke_privileges failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "revoke_privileges failed: unknown result") def grant_revoke_privileges(self, request): """ @@ -4981,7 +4982,7 @@ def recv_grant_revoke_privileges(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_revoke_privileges failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "grant_revoke_privileges failed: unknown result") def set_ugi(self, user_name, group_names): """ @@ -5016,7 +5017,7 @@ def recv_set_ugi(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "set_ugi failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "set_ugi failed: unknown result") def get_delegation_token(self, token_owner, renewer_kerberos_principal_name): """ @@ -5051,7 +5052,7 @@ def recv_get_delegation_token(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_delegation_token failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_delegation_token failed: unknown result") def renew_delegation_token(self, token_str_form): """ @@ -5084,7 +5085,7 @@ def recv_renew_delegation_token(self): return result.success if result.o1 is not None: raise result.o1 - raise TApplicationException(TApplicationException.MISSING_RESULT, "renew_delegation_token failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "renew_delegation_token failed: unknown result") def cancel_delegation_token(self, token_str_form): """ @@ -5141,7 +5142,7 @@ def recv_get_open_txns(self): iprot.readMessageEnd() if result.success is not None: return result.success - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_open_txns failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_open_txns failed: unknown result") def get_open_txns_info(self): self.send_get_open_txns_info() @@ -5167,7 +5168,7 @@ def recv_get_open_txns_info(self): iprot.readMessageEnd() if result.success is not None: return result.success - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_open_txns_info failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_open_txns_info failed: unknown result") def open_txns(self, rqst): """ @@ -5198,7 +5199,7 @@ def recv_open_txns(self): iprot.readMessageEnd() if result.success is not None: return result.success - raise TApplicationException(TApplicationException.MISSING_RESULT, "open_txns failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "open_txns failed: unknown result") def abort_txn(self, rqst): """ @@ -5297,7 +5298,7 @@ def recv_lock(self): raise result.o1 if result.o2 is not None: raise result.o2 - raise TApplicationException(TApplicationException.MISSING_RESULT, "lock failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "lock failed: unknown result") def check_lock(self, rqst): """ @@ -5334,7 +5335,7 @@ def recv_check_lock(self): raise result.o2 if result.o3 is not None: raise result.o3 - raise TApplicationException(TApplicationException.MISSING_RESULT, "check_lock failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "check_lock failed: unknown result") def unlock(self, rqst): """ @@ -5398,7 +5399,7 @@ def recv_show_locks(self): iprot.readMessageEnd() if result.success is not None: return result.success - raise TApplicationException(TApplicationException.MISSING_RESULT, "show_locks failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "show_locks failed: unknown result") def heartbeat(self, ids): """ @@ -5464,7 +5465,7 @@ def recv_heartbeat_txn_range(self): iprot.readMessageEnd() if result.success is not None: return result.success - raise TApplicationException(TApplicationException.MISSING_RESULT, "heartbeat_txn_range failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "heartbeat_txn_range failed: unknown result") def compact(self, rqst): """ @@ -5524,7 +5525,7 @@ def recv_show_compact(self): iprot.readMessageEnd() if result.success is not None: return result.success - raise TApplicationException(TApplicationException.MISSING_RESULT, "show_compact failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "show_compact failed: unknown result") def add_dynamic_partitions(self, rqst): """ @@ -5588,7 +5589,7 @@ def recv_get_next_notification(self): iprot.readMessageEnd() if result.success is not None: return result.success - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_next_notification failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_next_notification failed: unknown result") def get_current_notificationEventId(self): self.send_get_current_notificationEventId() @@ -5614,7 +5615,7 @@ def recv_get_current_notificationEventId(self): iprot.readMessageEnd() if result.success is not None: return result.success - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_current_notificationEventId failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_current_notificationEventId failed: unknown result") def fire_listener_event(self, rqst): """ @@ -5645,7 +5646,7 @@ def recv_fire_listener_event(self): iprot.readMessageEnd() if result.success is not None: return result.success - raise TApplicationException(TApplicationException.MISSING_RESULT, "fire_listener_event failed: unknown result"); + raise TApplicationException(TApplicationException.MISSING_RESULT, "fire_listener_event failed: unknown result") class Processor(fb303.FacebookService.Processor, Iface, TProcessor): @@ -5799,9 +5800,17 @@ def process_getMetaConf(self, seqid, iprot, oprot): result = getMetaConf_result() try: result.success = self._handler.getMetaConf(args.key) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("getMetaConf", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("getMetaConf", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -5813,9 +5822,17 @@ def process_setMetaConf(self, seqid, iprot, oprot): result = setMetaConf_result() try: self._handler.setMetaConf(args.key, args.value) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("setMetaConf", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("setMetaConf", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -5827,13 +5844,23 @@ def process_create_database(self, seqid, iprot, oprot): result = create_database_result() try: self._handler.create_database(args.database) - except AlreadyExistsException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except AlreadyExistsException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except InvalidObjectException, o2: + except InvalidObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except MetaException, o3: + except MetaException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("create_database", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("create_database", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -5845,11 +5872,20 @@ def process_get_database(self, seqid, iprot, oprot): result = get_database_result() try: result.success = self._handler.get_database(args.name) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_database", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_database", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -5861,13 +5897,23 @@ def process_drop_database(self, seqid, iprot, oprot): result = drop_database_result() try: self._handler.drop_database(args.name, args.deleteData, args.cascade) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except InvalidOperationException, o2: + except InvalidOperationException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except MetaException, o3: + except MetaException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("drop_database", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("drop_database", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -5879,9 +5925,17 @@ def process_get_databases(self, seqid, iprot, oprot): result = get_databases_result() try: result.success = self._handler.get_databases(args.pattern) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("get_databases", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_databases", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -5893,9 +5947,17 @@ def process_get_all_databases(self, seqid, iprot, oprot): result = get_all_databases_result() try: result.success = self._handler.get_all_databases() - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("get_all_databases", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_all_databases", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -5907,11 +5969,20 @@ def process_alter_database(self, seqid, iprot, oprot): result = alter_database_result() try: self._handler.alter_database(args.dbname, args.db) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except NoSuchObjectException, o2: + except NoSuchObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("alter_database", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("alter_database", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -5923,11 +5994,20 @@ def process_get_type(self, seqid, iprot, oprot): result = get_type_result() try: result.success = self._handler.get_type(args.name) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except NoSuchObjectException, o2: + except NoSuchObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_type", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_type", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -5939,13 +6019,23 @@ def process_create_type(self, seqid, iprot, oprot): result = create_type_result() try: result.success = self._handler.create_type(args.type) - except AlreadyExistsException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except AlreadyExistsException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except InvalidObjectException, o2: + except InvalidObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except MetaException, o3: + except MetaException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("create_type", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("create_type", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -5957,11 +6047,20 @@ def process_drop_type(self, seqid, iprot, oprot): result = drop_type_result() try: result.success = self._handler.drop_type(args.type) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except NoSuchObjectException, o2: + except NoSuchObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("drop_type", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("drop_type", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -5973,9 +6072,17 @@ def process_get_type_all(self, seqid, iprot, oprot): result = get_type_all_result() try: result.success = self._handler.get_type_all(args.name) - except MetaException, o2: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_type_all", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_type_all", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -5987,13 +6094,23 @@ def process_get_fields(self, seqid, iprot, oprot): result = get_fields_result() try: result.success = self._handler.get_fields(args.db_name, args.table_name) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except UnknownTableException, o2: + except UnknownTableException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except UnknownDBException, o3: + except UnknownDBException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("get_fields", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_fields", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6005,13 +6122,23 @@ def process_get_fields_with_environment_context(self, seqid, iprot, oprot): result = get_fields_with_environment_context_result() try: result.success = self._handler.get_fields_with_environment_context(args.db_name, args.table_name, args.environment_context) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except UnknownTableException, o2: + except UnknownTableException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except UnknownDBException, o3: + except UnknownDBException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("get_fields_with_environment_context", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_fields_with_environment_context", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6023,13 +6150,23 @@ def process_get_schema(self, seqid, iprot, oprot): result = get_schema_result() try: result.success = self._handler.get_schema(args.db_name, args.table_name) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except UnknownTableException, o2: + except UnknownTableException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except UnknownDBException, o3: + except UnknownDBException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("get_schema", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_schema", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6041,13 +6178,23 @@ def process_get_schema_with_environment_context(self, seqid, iprot, oprot): result = get_schema_with_environment_context_result() try: result.success = self._handler.get_schema_with_environment_context(args.db_name, args.table_name, args.environment_context) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except UnknownTableException, o2: + except UnknownTableException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except UnknownDBException, o3: + except UnknownDBException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("get_schema_with_environment_context", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_schema_with_environment_context", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6059,15 +6206,26 @@ def process_create_table(self, seqid, iprot, oprot): result = create_table_result() try: self._handler.create_table(args.tbl) - except AlreadyExistsException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except AlreadyExistsException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except InvalidObjectException, o2: + except InvalidObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except MetaException, o3: + except MetaException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - except NoSuchObjectException, o4: + except NoSuchObjectException as o4: + msg_type = TMessageType.REPLY result.o4 = o4 - oprot.writeMessageBegin("create_table", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("create_table", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6079,15 +6237,26 @@ def process_create_table_with_environment_context(self, seqid, iprot, oprot): result = create_table_with_environment_context_result() try: self._handler.create_table_with_environment_context(args.tbl, args.environment_context) - except AlreadyExistsException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except AlreadyExistsException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except InvalidObjectException, o2: + except InvalidObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except MetaException, o3: + except MetaException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - except NoSuchObjectException, o4: + except NoSuchObjectException as o4: + msg_type = TMessageType.REPLY result.o4 = o4 - oprot.writeMessageBegin("create_table_with_environment_context", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("create_table_with_environment_context", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6099,11 +6268,20 @@ def process_drop_table(self, seqid, iprot, oprot): result = drop_table_result() try: self._handler.drop_table(args.dbname, args.name, args.deleteData) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o3: + except MetaException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("drop_table", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("drop_table", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6115,11 +6293,20 @@ def process_drop_table_with_environment_context(self, seqid, iprot, oprot): result = drop_table_with_environment_context_result() try: self._handler.drop_table_with_environment_context(args.dbname, args.name, args.deleteData, args.environment_context) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o3: + except MetaException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("drop_table_with_environment_context", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("drop_table_with_environment_context", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6131,9 +6318,17 @@ def process_get_tables(self, seqid, iprot, oprot): result = get_tables_result() try: result.success = self._handler.get_tables(args.db_name, args.pattern) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("get_tables", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_tables", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6145,9 +6340,17 @@ def process_get_all_tables(self, seqid, iprot, oprot): result = get_all_tables_result() try: result.success = self._handler.get_all_tables(args.db_name) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("get_all_tables", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_all_tables", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6159,11 +6362,20 @@ def process_get_table(self, seqid, iprot, oprot): result = get_table_result() try: result.success = self._handler.get_table(args.dbname, args.tbl_name) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except NoSuchObjectException, o2: + except NoSuchObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_table", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_table", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6175,13 +6387,23 @@ def process_get_table_objects_by_name(self, seqid, iprot, oprot): result = get_table_objects_by_name_result() try: result.success = self._handler.get_table_objects_by_name(args.dbname, args.tbl_names) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except InvalidOperationException, o2: + except InvalidOperationException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except UnknownDBException, o3: + except UnknownDBException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("get_table_objects_by_name", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_table_objects_by_name", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6193,13 +6415,23 @@ def process_get_table_names_by_filter(self, seqid, iprot, oprot): result = get_table_names_by_filter_result() try: result.success = self._handler.get_table_names_by_filter(args.dbname, args.filter, args.max_tables) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except InvalidOperationException, o2: + except InvalidOperationException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except UnknownDBException, o3: + except UnknownDBException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("get_table_names_by_filter", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_table_names_by_filter", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6211,11 +6443,20 @@ def process_alter_table(self, seqid, iprot, oprot): result = alter_table_result() try: self._handler.alter_table(args.dbname, args.tbl_name, args.new_tbl) - except InvalidOperationException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except InvalidOperationException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("alter_table", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("alter_table", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6227,11 +6468,20 @@ def process_alter_table_with_environment_context(self, seqid, iprot, oprot): result = alter_table_with_environment_context_result() try: self._handler.alter_table_with_environment_context(args.dbname, args.tbl_name, args.new_tbl, args.environment_context) - except InvalidOperationException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except InvalidOperationException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("alter_table_with_environment_context", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("alter_table_with_environment_context", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6243,11 +6493,20 @@ def process_alter_table_with_cascade(self, seqid, iprot, oprot): result = alter_table_with_cascade_result() try: self._handler.alter_table_with_cascade(args.dbname, args.tbl_name, args.new_tbl, args.cascade) - except InvalidOperationException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except InvalidOperationException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("alter_table_with_cascade", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("alter_table_with_cascade", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6259,13 +6518,23 @@ def process_add_partition(self, seqid, iprot, oprot): result = add_partition_result() try: result.success = self._handler.add_partition(args.new_part) - except InvalidObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except InvalidObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except AlreadyExistsException, o2: + except AlreadyExistsException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except MetaException, o3: + except MetaException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("add_partition", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("add_partition", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6277,13 +6546,23 @@ def process_add_partition_with_environment_context(self, seqid, iprot, oprot): result = add_partition_with_environment_context_result() try: result.success = self._handler.add_partition_with_environment_context(args.new_part, args.environment_context) - except InvalidObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except InvalidObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except AlreadyExistsException, o2: + except AlreadyExistsException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except MetaException, o3: + except MetaException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("add_partition_with_environment_context", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("add_partition_with_environment_context", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6295,13 +6574,23 @@ def process_add_partitions(self, seqid, iprot, oprot): result = add_partitions_result() try: result.success = self._handler.add_partitions(args.new_parts) - except InvalidObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except InvalidObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except AlreadyExistsException, o2: + except AlreadyExistsException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except MetaException, o3: + except MetaException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("add_partitions", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("add_partitions", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6313,13 +6602,23 @@ def process_add_partitions_pspec(self, seqid, iprot, oprot): result = add_partitions_pspec_result() try: result.success = self._handler.add_partitions_pspec(args.new_parts) - except InvalidObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except InvalidObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except AlreadyExistsException, o2: + except AlreadyExistsException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except MetaException, o3: + except MetaException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("add_partitions_pspec", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("add_partitions_pspec", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6331,13 +6630,23 @@ def process_append_partition(self, seqid, iprot, oprot): result = append_partition_result() try: result.success = self._handler.append_partition(args.db_name, args.tbl_name, args.part_vals) - except InvalidObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except InvalidObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except AlreadyExistsException, o2: + except AlreadyExistsException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except MetaException, o3: + except MetaException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("append_partition", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("append_partition", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6349,13 +6658,23 @@ def process_add_partitions_req(self, seqid, iprot, oprot): result = add_partitions_req_result() try: result.success = self._handler.add_partitions_req(args.request) - except InvalidObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except InvalidObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except AlreadyExistsException, o2: + except AlreadyExistsException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except MetaException, o3: + except MetaException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("add_partitions_req", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("add_partitions_req", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6367,13 +6686,23 @@ def process_append_partition_with_environment_context(self, seqid, iprot, oprot) result = append_partition_with_environment_context_result() try: result.success = self._handler.append_partition_with_environment_context(args.db_name, args.tbl_name, args.part_vals, args.environment_context) - except InvalidObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except InvalidObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except AlreadyExistsException, o2: + except AlreadyExistsException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except MetaException, o3: + except MetaException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("append_partition_with_environment_context", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("append_partition_with_environment_context", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6385,13 +6714,23 @@ def process_append_partition_by_name(self, seqid, iprot, oprot): result = append_partition_by_name_result() try: result.success = self._handler.append_partition_by_name(args.db_name, args.tbl_name, args.part_name) - except InvalidObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except InvalidObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except AlreadyExistsException, o2: + except AlreadyExistsException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except MetaException, o3: + except MetaException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("append_partition_by_name", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("append_partition_by_name", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6403,13 +6742,23 @@ def process_append_partition_by_name_with_environment_context(self, seqid, iprot result = append_partition_by_name_with_environment_context_result() try: result.success = self._handler.append_partition_by_name_with_environment_context(args.db_name, args.tbl_name, args.part_name, args.environment_context) - except InvalidObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except InvalidObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except AlreadyExistsException, o2: + except AlreadyExistsException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except MetaException, o3: + except MetaException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("append_partition_by_name_with_environment_context", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("append_partition_by_name_with_environment_context", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6421,11 +6770,20 @@ def process_drop_partition(self, seqid, iprot, oprot): result = drop_partition_result() try: result.success = self._handler.drop_partition(args.db_name, args.tbl_name, args.part_vals, args.deleteData) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("drop_partition", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("drop_partition", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6437,11 +6795,20 @@ def process_drop_partition_with_environment_context(self, seqid, iprot, oprot): result = drop_partition_with_environment_context_result() try: result.success = self._handler.drop_partition_with_environment_context(args.db_name, args.tbl_name, args.part_vals, args.deleteData, args.environment_context) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("drop_partition_with_environment_context", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("drop_partition_with_environment_context", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6453,11 +6820,20 @@ def process_drop_partition_by_name(self, seqid, iprot, oprot): result = drop_partition_by_name_result() try: result.success = self._handler.drop_partition_by_name(args.db_name, args.tbl_name, args.part_name, args.deleteData) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("drop_partition_by_name", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("drop_partition_by_name", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6469,11 +6845,20 @@ def process_drop_partition_by_name_with_environment_context(self, seqid, iprot, result = drop_partition_by_name_with_environment_context_result() try: result.success = self._handler.drop_partition_by_name_with_environment_context(args.db_name, args.tbl_name, args.part_name, args.deleteData, args.environment_context) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("drop_partition_by_name_with_environment_context", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("drop_partition_by_name_with_environment_context", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6485,11 +6870,20 @@ def process_drop_partitions_req(self, seqid, iprot, oprot): result = drop_partitions_req_result() try: result.success = self._handler.drop_partitions_req(args.req) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("drop_partitions_req", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("drop_partitions_req", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6501,11 +6895,20 @@ def process_get_partition(self, seqid, iprot, oprot): result = get_partition_result() try: result.success = self._handler.get_partition(args.db_name, args.tbl_name, args.part_vals) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except NoSuchObjectException, o2: + except NoSuchObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_partition", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_partition", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6517,15 +6920,26 @@ def process_exchange_partition(self, seqid, iprot, oprot): result = exchange_partition_result() try: result.success = self._handler.exchange_partition(args.partitionSpecs, args.source_db, args.source_table_name, args.dest_db, args.dest_table_name) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except NoSuchObjectException, o2: + except NoSuchObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except InvalidObjectException, o3: + except InvalidObjectException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - except InvalidInputException, o4: + except InvalidInputException as o4: + msg_type = TMessageType.REPLY result.o4 = o4 - oprot.writeMessageBegin("exchange_partition", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("exchange_partition", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6537,15 +6951,26 @@ def process_exchange_partitions(self, seqid, iprot, oprot): result = exchange_partitions_result() try: result.success = self._handler.exchange_partitions(args.partitionSpecs, args.source_db, args.source_table_name, args.dest_db, args.dest_table_name) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except NoSuchObjectException, o2: + except NoSuchObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except InvalidObjectException, o3: + except InvalidObjectException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - except InvalidInputException, o4: + except InvalidInputException as o4: + msg_type = TMessageType.REPLY result.o4 = o4 - oprot.writeMessageBegin("exchange_partitions", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("exchange_partitions", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6557,11 +6982,20 @@ def process_get_partition_with_auth(self, seqid, iprot, oprot): result = get_partition_with_auth_result() try: result.success = self._handler.get_partition_with_auth(args.db_name, args.tbl_name, args.part_vals, args.user_name, args.group_names) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except NoSuchObjectException, o2: + except NoSuchObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_partition_with_auth", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_partition_with_auth", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6573,11 +7007,20 @@ def process_get_partition_by_name(self, seqid, iprot, oprot): result = get_partition_by_name_result() try: result.success = self._handler.get_partition_by_name(args.db_name, args.tbl_name, args.part_name) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except NoSuchObjectException, o2: + except NoSuchObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_partition_by_name", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_partition_by_name", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6589,11 +7032,20 @@ def process_get_partitions(self, seqid, iprot, oprot): result = get_partitions_result() try: result.success = self._handler.get_partitions(args.db_name, args.tbl_name, args.max_parts) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_partitions", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_partitions", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6605,11 +7057,20 @@ def process_get_partitions_with_auth(self, seqid, iprot, oprot): result = get_partitions_with_auth_result() try: result.success = self._handler.get_partitions_with_auth(args.db_name, args.tbl_name, args.max_parts, args.user_name, args.group_names) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_partitions_with_auth", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_partitions_with_auth", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6621,11 +7082,20 @@ def process_get_partitions_pspec(self, seqid, iprot, oprot): result = get_partitions_pspec_result() try: result.success = self._handler.get_partitions_pspec(args.db_name, args.tbl_name, args.max_parts) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_partitions_pspec", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_partitions_pspec", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6637,9 +7107,17 @@ def process_get_partition_names(self, seqid, iprot, oprot): result = get_partition_names_result() try: result.success = self._handler.get_partition_names(args.db_name, args.tbl_name, args.max_parts) - except MetaException, o2: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_partition_names", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_partition_names", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6651,11 +7129,20 @@ def process_get_partitions_ps(self, seqid, iprot, oprot): result = get_partitions_ps_result() try: result.success = self._handler.get_partitions_ps(args.db_name, args.tbl_name, args.part_vals, args.max_parts) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except NoSuchObjectException, o2: + except NoSuchObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_partitions_ps", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_partitions_ps", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6667,11 +7154,20 @@ def process_get_partitions_ps_with_auth(self, seqid, iprot, oprot): result = get_partitions_ps_with_auth_result() try: result.success = self._handler.get_partitions_ps_with_auth(args.db_name, args.tbl_name, args.part_vals, args.max_parts, args.user_name, args.group_names) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_partitions_ps_with_auth", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_partitions_ps_with_auth", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6683,11 +7179,20 @@ def process_get_partition_names_ps(self, seqid, iprot, oprot): result = get_partition_names_ps_result() try: result.success = self._handler.get_partition_names_ps(args.db_name, args.tbl_name, args.part_vals, args.max_parts) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except NoSuchObjectException, o2: + except NoSuchObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_partition_names_ps", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_partition_names_ps", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6699,11 +7204,20 @@ def process_get_partitions_by_filter(self, seqid, iprot, oprot): result = get_partitions_by_filter_result() try: result.success = self._handler.get_partitions_by_filter(args.db_name, args.tbl_name, args.filter, args.max_parts) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except NoSuchObjectException, o2: + except NoSuchObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_partitions_by_filter", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_partitions_by_filter", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6715,11 +7229,20 @@ def process_get_part_specs_by_filter(self, seqid, iprot, oprot): result = get_part_specs_by_filter_result() try: result.success = self._handler.get_part_specs_by_filter(args.db_name, args.tbl_name, args.filter, args.max_parts) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except NoSuchObjectException, o2: + except NoSuchObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_part_specs_by_filter", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_part_specs_by_filter", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6731,11 +7254,20 @@ def process_get_partitions_by_expr(self, seqid, iprot, oprot): result = get_partitions_by_expr_result() try: result.success = self._handler.get_partitions_by_expr(args.req) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except NoSuchObjectException, o2: + except NoSuchObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_partitions_by_expr", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_partitions_by_expr", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6747,11 +7279,20 @@ def process_get_partitions_by_names(self, seqid, iprot, oprot): result = get_partitions_by_names_result() try: result.success = self._handler.get_partitions_by_names(args.db_name, args.tbl_name, args.names) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except NoSuchObjectException, o2: + except NoSuchObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_partitions_by_names", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_partitions_by_names", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6763,11 +7304,20 @@ def process_alter_partition(self, seqid, iprot, oprot): result = alter_partition_result() try: self._handler.alter_partition(args.db_name, args.tbl_name, args.new_part) - except InvalidOperationException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except InvalidOperationException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("alter_partition", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("alter_partition", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6779,11 +7329,20 @@ def process_alter_partitions(self, seqid, iprot, oprot): result = alter_partitions_result() try: self._handler.alter_partitions(args.db_name, args.tbl_name, args.new_parts) - except InvalidOperationException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except InvalidOperationException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("alter_partitions", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("alter_partitions", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6795,11 +7354,20 @@ def process_alter_partition_with_environment_context(self, seqid, iprot, oprot): result = alter_partition_with_environment_context_result() try: self._handler.alter_partition_with_environment_context(args.db_name, args.tbl_name, args.new_part, args.environment_context) - except InvalidOperationException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except InvalidOperationException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("alter_partition_with_environment_context", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("alter_partition_with_environment_context", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6811,11 +7379,20 @@ def process_rename_partition(self, seqid, iprot, oprot): result = rename_partition_result() try: self._handler.rename_partition(args.db_name, args.tbl_name, args.part_vals, args.new_part) - except InvalidOperationException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except InvalidOperationException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("rename_partition", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("rename_partition", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6827,9 +7404,17 @@ def process_partition_name_has_valid_characters(self, seqid, iprot, oprot): result = partition_name_has_valid_characters_result() try: result.success = self._handler.partition_name_has_valid_characters(args.part_vals, args.throw_exception) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("partition_name_has_valid_characters", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("partition_name_has_valid_characters", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6841,9 +7426,17 @@ def process_get_config_value(self, seqid, iprot, oprot): result = get_config_value_result() try: result.success = self._handler.get_config_value(args.name, args.defaultValue) - except ConfigValSecurityException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except ConfigValSecurityException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("get_config_value", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_config_value", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6855,9 +7448,17 @@ def process_partition_name_to_vals(self, seqid, iprot, oprot): result = partition_name_to_vals_result() try: result.success = self._handler.partition_name_to_vals(args.part_name) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("partition_name_to_vals", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("partition_name_to_vals", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6869,9 +7470,17 @@ def process_partition_name_to_spec(self, seqid, iprot, oprot): result = partition_name_to_spec_result() try: result.success = self._handler.partition_name_to_spec(args.part_name) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("partition_name_to_spec", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("partition_name_to_spec", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6883,19 +7492,32 @@ def process_markPartitionForEvent(self, seqid, iprot, oprot): result = markPartitionForEvent_result() try: self._handler.markPartitionForEvent(args.db_name, args.tbl_name, args.part_vals, args.eventType) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except NoSuchObjectException, o2: + except NoSuchObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except UnknownDBException, o3: + except UnknownDBException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - except UnknownTableException, o4: + except UnknownTableException as o4: + msg_type = TMessageType.REPLY result.o4 = o4 - except UnknownPartitionException, o5: + except UnknownPartitionException as o5: + msg_type = TMessageType.REPLY result.o5 = o5 - except InvalidPartitionException, o6: + except InvalidPartitionException as o6: + msg_type = TMessageType.REPLY result.o6 = o6 - oprot.writeMessageBegin("markPartitionForEvent", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("markPartitionForEvent", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6907,19 +7529,32 @@ def process_isPartitionMarkedForEvent(self, seqid, iprot, oprot): result = isPartitionMarkedForEvent_result() try: result.success = self._handler.isPartitionMarkedForEvent(args.db_name, args.tbl_name, args.part_vals, args.eventType) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except NoSuchObjectException, o2: + except NoSuchObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except UnknownDBException, o3: + except UnknownDBException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - except UnknownTableException, o4: + except UnknownTableException as o4: + msg_type = TMessageType.REPLY result.o4 = o4 - except UnknownPartitionException, o5: + except UnknownPartitionException as o5: + msg_type = TMessageType.REPLY result.o5 = o5 - except InvalidPartitionException, o6: + except InvalidPartitionException as o6: + msg_type = TMessageType.REPLY result.o6 = o6 - oprot.writeMessageBegin("isPartitionMarkedForEvent", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("isPartitionMarkedForEvent", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6931,13 +7566,23 @@ def process_add_index(self, seqid, iprot, oprot): result = add_index_result() try: result.success = self._handler.add_index(args.new_index, args.index_table) - except InvalidObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except InvalidObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except AlreadyExistsException, o2: + except AlreadyExistsException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except MetaException, o3: + except MetaException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("add_index", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("add_index", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6949,11 +7594,20 @@ def process_alter_index(self, seqid, iprot, oprot): result = alter_index_result() try: self._handler.alter_index(args.dbname, args.base_tbl_name, args.idx_name, args.new_idx) - except InvalidOperationException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except InvalidOperationException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("alter_index", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("alter_index", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6965,11 +7619,20 @@ def process_drop_index_by_name(self, seqid, iprot, oprot): result = drop_index_by_name_result() try: result.success = self._handler.drop_index_by_name(args.db_name, args.tbl_name, args.index_name, args.deleteData) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("drop_index_by_name", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("drop_index_by_name", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6981,11 +7644,20 @@ def process_get_index_by_name(self, seqid, iprot, oprot): result = get_index_by_name_result() try: result.success = self._handler.get_index_by_name(args.db_name, args.tbl_name, args.index_name) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except NoSuchObjectException, o2: + except NoSuchObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_index_by_name", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_index_by_name", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -6997,11 +7669,20 @@ def process_get_indexes(self, seqid, iprot, oprot): result = get_indexes_result() try: result.success = self._handler.get_indexes(args.db_name, args.tbl_name, args.max_indexes) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_indexes", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_indexes", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7013,9 +7694,17 @@ def process_get_index_names(self, seqid, iprot, oprot): result = get_index_names_result() try: result.success = self._handler.get_index_names(args.db_name, args.tbl_name, args.max_indexes) - except MetaException, o2: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_index_names", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_index_names", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7027,15 +7716,26 @@ def process_update_table_column_statistics(self, seqid, iprot, oprot): result = update_table_column_statistics_result() try: result.success = self._handler.update_table_column_statistics(args.stats_obj) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except InvalidObjectException, o2: + except InvalidObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except MetaException, o3: + except MetaException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - except InvalidInputException, o4: + except InvalidInputException as o4: + msg_type = TMessageType.REPLY result.o4 = o4 - oprot.writeMessageBegin("update_table_column_statistics", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("update_table_column_statistics", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7047,15 +7747,26 @@ def process_update_partition_column_statistics(self, seqid, iprot, oprot): result = update_partition_column_statistics_result() try: result.success = self._handler.update_partition_column_statistics(args.stats_obj) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except InvalidObjectException, o2: + except InvalidObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except MetaException, o3: + except MetaException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - except InvalidInputException, o4: + except InvalidInputException as o4: + msg_type = TMessageType.REPLY result.o4 = o4 - oprot.writeMessageBegin("update_partition_column_statistics", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("update_partition_column_statistics", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7067,15 +7778,26 @@ def process_get_table_column_statistics(self, seqid, iprot, oprot): result = get_table_column_statistics_result() try: result.success = self._handler.get_table_column_statistics(args.db_name, args.tbl_name, args.col_name) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except InvalidInputException, o3: + except InvalidInputException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - except InvalidObjectException, o4: + except InvalidObjectException as o4: + msg_type = TMessageType.REPLY result.o4 = o4 - oprot.writeMessageBegin("get_table_column_statistics", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_table_column_statistics", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7087,15 +7809,26 @@ def process_get_partition_column_statistics(self, seqid, iprot, oprot): result = get_partition_column_statistics_result() try: result.success = self._handler.get_partition_column_statistics(args.db_name, args.tbl_name, args.part_name, args.col_name) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except InvalidInputException, o3: + except InvalidInputException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - except InvalidObjectException, o4: + except InvalidObjectException as o4: + msg_type = TMessageType.REPLY result.o4 = o4 - oprot.writeMessageBegin("get_partition_column_statistics", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_partition_column_statistics", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7107,11 +7840,20 @@ def process_get_table_statistics_req(self, seqid, iprot, oprot): result = get_table_statistics_req_result() try: result.success = self._handler.get_table_statistics_req(args.request) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_table_statistics_req", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_table_statistics_req", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7123,11 +7865,20 @@ def process_get_partitions_statistics_req(self, seqid, iprot, oprot): result = get_partitions_statistics_req_result() try: result.success = self._handler.get_partitions_statistics_req(args.request) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_partitions_statistics_req", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_partitions_statistics_req", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7139,11 +7890,20 @@ def process_get_aggr_stats_for(self, seqid, iprot, oprot): result = get_aggr_stats_for_result() try: result.success = self._handler.get_aggr_stats_for(args.request) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_aggr_stats_for", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_aggr_stats_for", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7155,15 +7915,26 @@ def process_set_aggr_stats_for(self, seqid, iprot, oprot): result = set_aggr_stats_for_result() try: result.success = self._handler.set_aggr_stats_for(args.request) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except InvalidObjectException, o2: + except InvalidObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except MetaException, o3: + except MetaException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - except InvalidInputException, o4: + except InvalidInputException as o4: + msg_type = TMessageType.REPLY result.o4 = o4 - oprot.writeMessageBegin("set_aggr_stats_for", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("set_aggr_stats_for", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7175,15 +7946,26 @@ def process_delete_partition_column_statistics(self, seqid, iprot, oprot): result = delete_partition_column_statistics_result() try: result.success = self._handler.delete_partition_column_statistics(args.db_name, args.tbl_name, args.part_name, args.col_name) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except InvalidObjectException, o3: + except InvalidObjectException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - except InvalidInputException, o4: + except InvalidInputException as o4: + msg_type = TMessageType.REPLY result.o4 = o4 - oprot.writeMessageBegin("delete_partition_column_statistics", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("delete_partition_column_statistics", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7195,15 +7977,26 @@ def process_delete_table_column_statistics(self, seqid, iprot, oprot): result = delete_table_column_statistics_result() try: result.success = self._handler.delete_table_column_statistics(args.db_name, args.tbl_name, args.col_name) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except InvalidObjectException, o3: + except InvalidObjectException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - except InvalidInputException, o4: + except InvalidInputException as o4: + msg_type = TMessageType.REPLY result.o4 = o4 - oprot.writeMessageBegin("delete_table_column_statistics", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("delete_table_column_statistics", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7215,15 +8008,26 @@ def process_create_function(self, seqid, iprot, oprot): result = create_function_result() try: self._handler.create_function(args.func) - except AlreadyExistsException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except AlreadyExistsException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except InvalidObjectException, o2: + except InvalidObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except MetaException, o3: + except MetaException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - except NoSuchObjectException, o4: + except NoSuchObjectException as o4: + msg_type = TMessageType.REPLY result.o4 = o4 - oprot.writeMessageBegin("create_function", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("create_function", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7235,11 +8039,20 @@ def process_drop_function(self, seqid, iprot, oprot): result = drop_function_result() try: self._handler.drop_function(args.dbName, args.funcName) - except NoSuchObjectException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchObjectException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o3: + except MetaException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("drop_function", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("drop_function", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7251,11 +8064,20 @@ def process_alter_function(self, seqid, iprot, oprot): result = alter_function_result() try: self._handler.alter_function(args.dbName, args.funcName, args.newFunc) - except InvalidOperationException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except InvalidOperationException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except MetaException, o2: + except MetaException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("alter_function", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("alter_function", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7267,9 +8089,17 @@ def process_get_functions(self, seqid, iprot, oprot): result = get_functions_result() try: result.success = self._handler.get_functions(args.dbName, args.pattern) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("get_functions", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_functions", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7281,11 +8111,20 @@ def process_get_function(self, seqid, iprot, oprot): result = get_function_result() try: result.success = self._handler.get_function(args.dbName, args.funcName) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except NoSuchObjectException, o2: + except NoSuchObjectException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("get_function", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_function", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7297,9 +8136,17 @@ def process_get_all_functions(self, seqid, iprot, oprot): result = get_all_functions_result() try: result.success = self._handler.get_all_functions() - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("get_all_functions", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_all_functions", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7311,9 +8158,17 @@ def process_create_role(self, seqid, iprot, oprot): result = create_role_result() try: result.success = self._handler.create_role(args.role) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("create_role", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("create_role", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7325,9 +8180,17 @@ def process_drop_role(self, seqid, iprot, oprot): result = drop_role_result() try: result.success = self._handler.drop_role(args.role_name) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("drop_role", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("drop_role", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7339,9 +8202,17 @@ def process_get_role_names(self, seqid, iprot, oprot): result = get_role_names_result() try: result.success = self._handler.get_role_names() - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("get_role_names", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_role_names", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7353,9 +8224,17 @@ def process_grant_role(self, seqid, iprot, oprot): result = grant_role_result() try: result.success = self._handler.grant_role(args.role_name, args.principal_name, args.principal_type, args.grantor, args.grantorType, args.grant_option) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("grant_role", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("grant_role", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7367,9 +8246,17 @@ def process_revoke_role(self, seqid, iprot, oprot): result = revoke_role_result() try: result.success = self._handler.revoke_role(args.role_name, args.principal_name, args.principal_type) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("revoke_role", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("revoke_role", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7381,9 +8268,17 @@ def process_list_roles(self, seqid, iprot, oprot): result = list_roles_result() try: result.success = self._handler.list_roles(args.principal_name, args.principal_type) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("list_roles", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("list_roles", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7395,9 +8290,17 @@ def process_grant_revoke_role(self, seqid, iprot, oprot): result = grant_revoke_role_result() try: result.success = self._handler.grant_revoke_role(args.request) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("grant_revoke_role", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("grant_revoke_role", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7409,9 +8312,17 @@ def process_get_principals_in_role(self, seqid, iprot, oprot): result = get_principals_in_role_result() try: result.success = self._handler.get_principals_in_role(args.request) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("get_principals_in_role", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_principals_in_role", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7423,9 +8334,17 @@ def process_get_role_grants_for_principal(self, seqid, iprot, oprot): result = get_role_grants_for_principal_result() try: result.success = self._handler.get_role_grants_for_principal(args.request) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("get_role_grants_for_principal", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_role_grants_for_principal", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7437,9 +8356,17 @@ def process_get_privilege_set(self, seqid, iprot, oprot): result = get_privilege_set_result() try: result.success = self._handler.get_privilege_set(args.hiveObject, args.user_name, args.group_names) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("get_privilege_set", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_privilege_set", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7451,9 +8378,17 @@ def process_list_privileges(self, seqid, iprot, oprot): result = list_privileges_result() try: result.success = self._handler.list_privileges(args.principal_name, args.principal_type, args.hiveObject) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("list_privileges", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("list_privileges", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7465,9 +8400,17 @@ def process_grant_privileges(self, seqid, iprot, oprot): result = grant_privileges_result() try: result.success = self._handler.grant_privileges(args.privileges) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("grant_privileges", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("grant_privileges", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7479,9 +8422,17 @@ def process_revoke_privileges(self, seqid, iprot, oprot): result = revoke_privileges_result() try: result.success = self._handler.revoke_privileges(args.privileges) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("revoke_privileges", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("revoke_privileges", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7493,9 +8444,17 @@ def process_grant_revoke_privileges(self, seqid, iprot, oprot): result = grant_revoke_privileges_result() try: result.success = self._handler.grant_revoke_privileges(args.request) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("grant_revoke_privileges", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("grant_revoke_privileges", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7507,9 +8466,17 @@ def process_set_ugi(self, seqid, iprot, oprot): result = set_ugi_result() try: result.success = self._handler.set_ugi(args.user_name, args.group_names) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("set_ugi", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("set_ugi", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7521,9 +8488,17 @@ def process_get_delegation_token(self, seqid, iprot, oprot): result = get_delegation_token_result() try: result.success = self._handler.get_delegation_token(args.token_owner, args.renewer_kerberos_principal_name) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("get_delegation_token", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_delegation_token", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7535,9 +8510,17 @@ def process_renew_delegation_token(self, seqid, iprot, oprot): result = renew_delegation_token_result() try: result.success = self._handler.renew_delegation_token(args.token_str_form) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("renew_delegation_token", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("renew_delegation_token", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7549,9 +8532,17 @@ def process_cancel_delegation_token(self, seqid, iprot, oprot): result = cancel_delegation_token_result() try: self._handler.cancel_delegation_token(args.token_str_form) - except MetaException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except MetaException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("cancel_delegation_token", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("cancel_delegation_token", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7561,8 +8552,16 @@ def process_get_open_txns(self, seqid, iprot, oprot): args.read(iprot) iprot.readMessageEnd() result = get_open_txns_result() - result.success = self._handler.get_open_txns() - oprot.writeMessageBegin("get_open_txns", TMessageType.REPLY, seqid) + try: + result.success = self._handler.get_open_txns() + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_open_txns", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7572,8 +8571,16 @@ def process_get_open_txns_info(self, seqid, iprot, oprot): args.read(iprot) iprot.readMessageEnd() result = get_open_txns_info_result() - result.success = self._handler.get_open_txns_info() - oprot.writeMessageBegin("get_open_txns_info", TMessageType.REPLY, seqid) + try: + result.success = self._handler.get_open_txns_info() + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_open_txns_info", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7583,8 +8590,16 @@ def process_open_txns(self, seqid, iprot, oprot): args.read(iprot) iprot.readMessageEnd() result = open_txns_result() - result.success = self._handler.open_txns(args.rqst) - oprot.writeMessageBegin("open_txns", TMessageType.REPLY, seqid) + try: + result.success = self._handler.open_txns(args.rqst) + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("open_txns", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7596,9 +8611,17 @@ def process_abort_txn(self, seqid, iprot, oprot): result = abort_txn_result() try: self._handler.abort_txn(args.rqst) - except NoSuchTxnException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchTxnException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - oprot.writeMessageBegin("abort_txn", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("abort_txn", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7610,11 +8633,20 @@ def process_commit_txn(self, seqid, iprot, oprot): result = commit_txn_result() try: self._handler.commit_txn(args.rqst) - except NoSuchTxnException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchTxnException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except TxnAbortedException, o2: + except TxnAbortedException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("commit_txn", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("commit_txn", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7626,11 +8658,20 @@ def process_lock(self, seqid, iprot, oprot): result = lock_result() try: result.success = self._handler.lock(args.rqst) - except NoSuchTxnException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchTxnException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except TxnAbortedException, o2: + except TxnAbortedException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("lock", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("lock", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7642,13 +8683,23 @@ def process_check_lock(self, seqid, iprot, oprot): result = check_lock_result() try: result.success = self._handler.check_lock(args.rqst) - except NoSuchTxnException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchTxnException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except TxnAbortedException, o2: + except TxnAbortedException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except NoSuchLockException, o3: + except NoSuchLockException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("check_lock", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("check_lock", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7660,11 +8711,20 @@ def process_unlock(self, seqid, iprot, oprot): result = unlock_result() try: self._handler.unlock(args.rqst) - except NoSuchLockException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchLockException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except TxnOpenException, o2: + except TxnOpenException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("unlock", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("unlock", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7674,8 +8734,16 @@ def process_show_locks(self, seqid, iprot, oprot): args.read(iprot) iprot.readMessageEnd() result = show_locks_result() - result.success = self._handler.show_locks(args.rqst) - oprot.writeMessageBegin("show_locks", TMessageType.REPLY, seqid) + try: + result.success = self._handler.show_locks(args.rqst) + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("show_locks", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7687,13 +8755,23 @@ def process_heartbeat(self, seqid, iprot, oprot): result = heartbeat_result() try: self._handler.heartbeat(args.ids) - except NoSuchLockException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchLockException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except NoSuchTxnException, o2: + except NoSuchTxnException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - except TxnAbortedException, o3: + except TxnAbortedException as o3: + msg_type = TMessageType.REPLY result.o3 = o3 - oprot.writeMessageBegin("heartbeat", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("heartbeat", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7703,8 +8781,16 @@ def process_heartbeat_txn_range(self, seqid, iprot, oprot): args.read(iprot) iprot.readMessageEnd() result = heartbeat_txn_range_result() - result.success = self._handler.heartbeat_txn_range(args.txns) - oprot.writeMessageBegin("heartbeat_txn_range", TMessageType.REPLY, seqid) + try: + result.success = self._handler.heartbeat_txn_range(args.txns) + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("heartbeat_txn_range", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7714,8 +8800,16 @@ def process_compact(self, seqid, iprot, oprot): args.read(iprot) iprot.readMessageEnd() result = compact_result() - self._handler.compact(args.rqst) - oprot.writeMessageBegin("compact", TMessageType.REPLY, seqid) + try: + self._handler.compact(args.rqst) + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("compact", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7725,8 +8819,16 @@ def process_show_compact(self, seqid, iprot, oprot): args.read(iprot) iprot.readMessageEnd() result = show_compact_result() - result.success = self._handler.show_compact(args.rqst) - oprot.writeMessageBegin("show_compact", TMessageType.REPLY, seqid) + try: + result.success = self._handler.show_compact(args.rqst) + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("show_compact", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7738,11 +8840,20 @@ def process_add_dynamic_partitions(self, seqid, iprot, oprot): result = add_dynamic_partitions_result() try: self._handler.add_dynamic_partitions(args.rqst) - except NoSuchTxnException, o1: + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchTxnException as o1: + msg_type = TMessageType.REPLY result.o1 = o1 - except TxnAbortedException, o2: + except TxnAbortedException as o2: + msg_type = TMessageType.REPLY result.o2 = o2 - oprot.writeMessageBegin("add_dynamic_partitions", TMessageType.REPLY, seqid) + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("add_dynamic_partitions", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7752,8 +8863,16 @@ def process_get_next_notification(self, seqid, iprot, oprot): args.read(iprot) iprot.readMessageEnd() result = get_next_notification_result() - result.success = self._handler.get_next_notification(args.rqst) - oprot.writeMessageBegin("get_next_notification", TMessageType.REPLY, seqid) + try: + result.success = self._handler.get_next_notification(args.rqst) + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_next_notification", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7763,8 +8882,16 @@ def process_get_current_notificationEventId(self, seqid, iprot, oprot): args.read(iprot) iprot.readMessageEnd() result = get_current_notificationEventId_result() - result.success = self._handler.get_current_notificationEventId() - oprot.writeMessageBegin("get_current_notificationEventId", TMessageType.REPLY, seqid) + try: + result.success = self._handler.get_current_notificationEventId() + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_current_notificationEventId", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7774,8 +8901,16 @@ def process_fire_listener_event(self, seqid, iprot, oprot): args.read(iprot) iprot.readMessageEnd() result = fire_listener_event_result() - result.success = self._handler.fire_listener_event(args.rqst) - oprot.writeMessageBegin("fire_listener_event", TMessageType.REPLY, seqid) + try: + result.success = self._handler.fire_listener_event(args.rqst) + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("fire_listener_event", msg_type, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -7808,7 +8943,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.key = iprot.readString(); + self.key = iprot.readString() else: iprot.skip(ftype) else: @@ -7875,7 +9010,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.STRING: - self.success = iprot.readString(); + self.success = iprot.readString() else: iprot.skip(ftype) elif fid == 1: @@ -7954,12 +9089,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.key = iprot.readString(); + self.key = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.value = iprot.readString(); + self.value = iprot.readString() else: iprot.skip(ftype) else: @@ -8255,7 +9390,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.name = iprot.readString(); + self.name = iprot.readString() else: iprot.skip(ftype) else: @@ -8419,17 +9554,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.name = iprot.readString(); + self.name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.BOOL: - self.deleteData = iprot.readBool(); + self.deleteData = iprot.readBool() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.BOOL: - self.cascade = iprot.readBool(); + self.cascade = iprot.readBool() else: iprot.skip(ftype) else: @@ -8598,7 +9733,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.pattern = iprot.readString(); + self.pattern = iprot.readString() else: iprot.skip(ftype) else: @@ -8668,7 +9803,7 @@ def read(self, iprot): self.success = [] (_etype472, _size469) = iprot.readListBegin() for _i473 in xrange(_size469): - _elem474 = iprot.readString(); + _elem474 = iprot.readString() self.success.append(_elem474) iprot.readListEnd() else: @@ -8800,7 +9935,7 @@ def read(self, iprot): self.success = [] (_etype479, _size476) = iprot.readListBegin() for _i480 in xrange(_size476): - _elem481 = iprot.readString(); + _elem481 = iprot.readString() self.success.append(_elem481) iprot.readListEnd() else: @@ -8884,7 +10019,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.dbname = iprot.readString(); + self.dbname = iprot.readString() else: iprot.skip(ftype) elif fid == 2: @@ -9040,7 +10175,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.name = iprot.readString(); + self.name = iprot.readString() else: iprot.skip(ftype) else: @@ -9272,7 +10407,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.BOOL: - self.success = iprot.readBool(); + self.success = iprot.readBool() else: iprot.skip(ftype) elif fid == 1: @@ -9370,7 +10505,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.type = iprot.readString(); + self.type = iprot.readString() else: iprot.skip(ftype) else: @@ -9440,7 +10575,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.BOOL: - self.success = iprot.readBool(); + self.success = iprot.readBool() else: iprot.skip(ftype) elif fid == 1: @@ -9527,7 +10662,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.name = iprot.readString(); + self.name = iprot.readString() else: iprot.skip(ftype) else: @@ -9597,7 +10732,7 @@ def read(self, iprot): self.success = {} (_ktype484, _vtype485, _size483 ) = iprot.readMapBegin() for _i487 in xrange(_size483): - _key488 = iprot.readString(); + _key488 = iprot.readString() _val489 = Type() _val489.read(iprot) self.success[_key488] = _val489 @@ -9684,12 +10819,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.table_name = iprot.readString(); + self.table_name = iprot.readString() else: iprot.skip(ftype) else: @@ -9880,12 +11015,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.table_name = iprot.readString(); + self.table_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -10084,12 +11219,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.table_name = iprot.readString(); + self.table_name = iprot.readString() else: iprot.skip(ftype) else: @@ -10280,12 +11415,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.table_name = iprot.readString(); + self.table_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -10849,17 +11984,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.dbname = iprot.readString(); + self.dbname = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.name = iprot.readString(); + self.name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.BOOL: - self.deleteData = iprot.readBool(); + self.deleteData = iprot.readBool() else: iprot.skip(ftype) else: @@ -11023,17 +12158,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.dbname = iprot.readString(); + self.dbname = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.name = iprot.readString(); + self.name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.BOOL: - self.deleteData = iprot.readBool(); + self.deleteData = iprot.readBool() else: iprot.skip(ftype) elif fid == 4: @@ -11202,12 +12337,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.pattern = iprot.readString(); + self.pattern = iprot.readString() else: iprot.skip(ftype) else: @@ -11282,7 +12417,7 @@ def read(self, iprot): self.success = [] (_etype523, _size520) = iprot.readListBegin() for _i524 in xrange(_size520): - _elem525 = iprot.readString(); + _elem525 = iprot.readString() self.success.append(_elem525) iprot.readListEnd() else: @@ -11363,7 +12498,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) else: @@ -11433,7 +12568,7 @@ def read(self, iprot): self.success = [] (_etype530, _size527) = iprot.readListBegin() for _i531 in xrange(_size527): - _elem532 = iprot.readString(); + _elem532 = iprot.readString() self.success.append(_elem532) iprot.readListEnd() else: @@ -11517,12 +12652,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.dbname = iprot.readString(); + self.dbname = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) else: @@ -11688,7 +12823,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.dbname = iprot.readString(); + self.dbname = iprot.readString() else: iprot.skip(ftype) elif fid == 2: @@ -11696,7 +12831,7 @@ def read(self, iprot): self.tbl_names = [] (_etype537, _size534) = iprot.readListBegin() for _i538 in xrange(_size534): - _elem539 = iprot.readString(); + _elem539 = iprot.readString() self.tbl_names.append(_elem539) iprot.readListEnd() else: @@ -11892,17 +13027,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.dbname = iprot.readString(); + self.dbname = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.filter = iprot.readString(); + self.filter = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.I16: - self.max_tables = iprot.readI16(); + self.max_tables = iprot.readI16() else: iprot.skip(ftype) else: @@ -11988,7 +13123,7 @@ def read(self, iprot): self.success = [] (_etype551, _size548) = iprot.readListBegin() for _i552 in xrange(_size548): - _elem553 = iprot.readString(); + _elem553 = iprot.readString() self.success.append(_elem553) iprot.readListEnd() else: @@ -12097,12 +13232,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.dbname = iprot.readString(); + self.dbname = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -12272,12 +13407,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.dbname = iprot.readString(); + self.dbname = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -12458,12 +13593,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.dbname = iprot.readString(); + self.dbname = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -12474,7 +13609,7 @@ def read(self, iprot): iprot.skip(ftype) elif fid == 4: if ftype == TType.BOOL: - self.cascade = iprot.readBool(); + self.cascade = iprot.readBool() else: iprot.skip(ftype) else: @@ -13076,7 +14211,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.I32: - self.success = iprot.readI32(); + self.success = iprot.readI32() else: iprot.skip(ftype) elif fid == 1: @@ -13256,7 +14391,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.I32: - self.success = iprot.readI32(); + self.success = iprot.readI32() else: iprot.skip(ftype) elif fid == 1: @@ -13360,12 +14495,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -13373,7 +14508,7 @@ def read(self, iprot): self.part_vals = [] (_etype572, _size569) = iprot.readListBegin() for _i573 in xrange(_size569): - _elem574 = iprot.readString(); + _elem574 = iprot.readString() self.part_vals.append(_elem574) iprot.readListEnd() else: @@ -13742,12 +14877,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -13755,7 +14890,7 @@ def read(self, iprot): self.part_vals = [] (_etype579, _size576) = iprot.readListBegin() for _i580 in xrange(_size576): - _elem581 = iprot.readString(); + _elem581 = iprot.readString() self.part_vals.append(_elem581) iprot.readListEnd() else: @@ -13959,17 +15094,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.part_name = iprot.readString(); + self.part_name = iprot.readString() else: iprot.skip(ftype) else: @@ -14160,17 +15295,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.part_name = iprot.readString(); + self.part_name = iprot.readString() else: iprot.skip(ftype) elif fid == 4: @@ -14372,12 +15507,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -14385,14 +15520,14 @@ def read(self, iprot): self.part_vals = [] (_etype586, _size583) = iprot.readListBegin() for _i587 in xrange(_size583): - _elem588 = iprot.readString(); + _elem588 = iprot.readString() self.part_vals.append(_elem588) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.BOOL: - self.deleteData = iprot.readBool(); + self.deleteData = iprot.readBool() else: iprot.skip(ftype) else: @@ -14480,7 +15615,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.BOOL: - self.success = iprot.readBool(); + self.success = iprot.readBool() else: iprot.skip(ftype) elif fid == 1: @@ -14579,12 +15714,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -14592,14 +15727,14 @@ def read(self, iprot): self.part_vals = [] (_etype593, _size590) = iprot.readListBegin() for _i594 in xrange(_size590): - _elem595 = iprot.readString(); + _elem595 = iprot.readString() self.part_vals.append(_elem595) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.BOOL: - self.deleteData = iprot.readBool(); + self.deleteData = iprot.readBool() else: iprot.skip(ftype) elif fid == 5: @@ -14698,7 +15833,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.BOOL: - self.success = iprot.readBool(); + self.success = iprot.readBool() else: iprot.skip(ftype) elif fid == 1: @@ -14794,22 +15929,22 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.part_name = iprot.readString(); + self.part_name = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.BOOL: - self.deleteData = iprot.readBool(); + self.deleteData = iprot.readBool() else: iprot.skip(ftype) else: @@ -14894,7 +16029,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.BOOL: - self.success = iprot.readBool(); + self.success = iprot.readBool() else: iprot.skip(ftype) elif fid == 1: @@ -14993,22 +16128,22 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.part_name = iprot.readString(); + self.part_name = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.BOOL: - self.deleteData = iprot.readBool(); + self.deleteData = iprot.readBool() else: iprot.skip(ftype) elif fid == 5: @@ -15104,7 +16239,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.BOOL: - self.success = iprot.readBool(); + self.success = iprot.readBool() else: iprot.skip(ftype) elif fid == 1: @@ -15356,12 +16491,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -15369,7 +16504,7 @@ def read(self, iprot): self.part_vals = [] (_etype600, _size597) = iprot.readListBegin() for _i601 in xrange(_size597): - _elem602 = iprot.readString(); + _elem602 = iprot.readString() self.part_vals.append(_elem602) iprot.readListEnd() else: @@ -15557,30 +16692,30 @@ def read(self, iprot): self.partitionSpecs = {} (_ktype605, _vtype606, _size604 ) = iprot.readMapBegin() for _i608 in xrange(_size604): - _key609 = iprot.readString(); - _val610 = iprot.readString(); + _key609 = iprot.readString() + _val610 = iprot.readString() self.partitionSpecs[_key609] = _val610 iprot.readMapEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.source_db = iprot.readString(); + self.source_db = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.source_table_name = iprot.readString(); + self.source_table_name = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.STRING: - self.dest_db = iprot.readString(); + self.dest_db = iprot.readString() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.STRING: - self.dest_table_name = iprot.readString(); + self.dest_table_name = iprot.readString() else: iprot.skip(ftype) else: @@ -15805,30 +16940,30 @@ def read(self, iprot): self.partitionSpecs = {} (_ktype614, _vtype615, _size613 ) = iprot.readMapBegin() for _i617 in xrange(_size613): - _key618 = iprot.readString(); - _val619 = iprot.readString(); + _key618 = iprot.readString() + _val619 = iprot.readString() self.partitionSpecs[_key618] = _val619 iprot.readMapEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.source_db = iprot.readString(); + self.source_db = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.source_table_name = iprot.readString(); + self.source_table_name = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.STRING: - self.dest_db = iprot.readString(); + self.dest_db = iprot.readString() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.STRING: - self.dest_table_name = iprot.readString(); + self.dest_table_name = iprot.readString() else: iprot.skip(ftype) else: @@ -16058,12 +17193,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -16071,14 +17206,14 @@ def read(self, iprot): self.part_vals = [] (_etype632, _size629) = iprot.readListBegin() for _i633 in xrange(_size629): - _elem634 = iprot.readString(); + _elem634 = iprot.readString() self.part_vals.append(_elem634) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.STRING: - self.user_name = iprot.readString(); + self.user_name = iprot.readString() else: iprot.skip(ftype) elif fid == 5: @@ -16086,7 +17221,7 @@ def read(self, iprot): self.group_names = [] (_etype638, _size635) = iprot.readListBegin() for _i639 in xrange(_size635): - _elem640 = iprot.readString(); + _elem640 = iprot.readString() self.group_names.append(_elem640) iprot.readListEnd() else: @@ -16278,17 +17413,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.part_name = iprot.readString(); + self.part_name = iprot.readString() else: iprot.skip(ftype) else: @@ -16462,17 +17597,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.I16: - self.max_parts = iprot.readI16(); + self.max_parts = iprot.readI16() else: iprot.skip(ftype) else: @@ -16660,22 +17795,22 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.I16: - self.max_parts = iprot.readI16(); + self.max_parts = iprot.readI16() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.STRING: - self.user_name = iprot.readString(); + self.user_name = iprot.readString() else: iprot.skip(ftype) elif fid == 5: @@ -16683,7 +17818,7 @@ def read(self, iprot): self.group_names = [] (_etype653, _size650) = iprot.readListBegin() for _i654 in xrange(_size650): - _elem655 = iprot.readString(); + _elem655 = iprot.readString() self.group_names.append(_elem655) iprot.readListEnd() else: @@ -16880,17 +18015,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.I32: - self.max_parts = iprot.readI32(); + self.max_parts = iprot.readI32() else: iprot.skip(ftype) else: @@ -17072,17 +18207,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.I16: - self.max_parts = iprot.readI16(); + self.max_parts = iprot.readI16() else: iprot.skip(ftype) else: @@ -17162,7 +18297,7 @@ def read(self, iprot): self.success = [] (_etype674, _size671) = iprot.readListBegin() for _i675 in xrange(_size671): - _elem676 = iprot.readString(); + _elem676 = iprot.readString() self.success.append(_elem676) iprot.readListEnd() else: @@ -17252,12 +18387,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -17265,14 +18400,14 @@ def read(self, iprot): self.part_vals = [] (_etype681, _size678) = iprot.readListBegin() for _i682 in xrange(_size678): - _elem683 = iprot.readString(); + _elem683 = iprot.readString() self.part_vals.append(_elem683) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.I16: - self.max_parts = iprot.readI16(); + self.max_parts = iprot.readI16() else: iprot.skip(ftype) else: @@ -17471,12 +18606,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -17484,19 +18619,19 @@ def read(self, iprot): self.part_vals = [] (_etype695, _size692) = iprot.readListBegin() for _i696 in xrange(_size692): - _elem697 = iprot.readString(); + _elem697 = iprot.readString() self.part_vals.append(_elem697) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.I16: - self.max_parts = iprot.readI16(); + self.max_parts = iprot.readI16() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.STRING: - self.user_name = iprot.readString(); + self.user_name = iprot.readString() else: iprot.skip(ftype) elif fid == 6: @@ -17504,7 +18639,7 @@ def read(self, iprot): self.group_names = [] (_etype701, _size698) = iprot.readListBegin() for _i702 in xrange(_size698): - _elem703 = iprot.readString(); + _elem703 = iprot.readString() self.group_names.append(_elem703) iprot.readListEnd() else: @@ -17712,12 +18847,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -17725,14 +18860,14 @@ def read(self, iprot): self.part_vals = [] (_etype716, _size713) = iprot.readListBegin() for _i717 in xrange(_size713): - _elem718 = iprot.readString(); + _elem718 = iprot.readString() self.part_vals.append(_elem718) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.I16: - self.max_parts = iprot.readI16(); + self.max_parts = iprot.readI16() else: iprot.skip(ftype) else: @@ -17823,7 +18958,7 @@ def read(self, iprot): self.success = [] (_etype723, _size720) = iprot.readListBegin() for _i724 in xrange(_size720): - _elem725 = iprot.readString(); + _elem725 = iprot.readString() self.success.append(_elem725) iprot.readListEnd() else: @@ -17924,22 +19059,22 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.filter = iprot.readString(); + self.filter = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.I16: - self.max_parts = iprot.readI16(); + self.max_parts = iprot.readI16() else: iprot.skip(ftype) else: @@ -18129,22 +19264,22 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.filter = iprot.readString(); + self.filter = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.I32: - self.max_parts = iprot.readI32(); + self.max_parts = iprot.readI32() else: iprot.skip(ftype) else: @@ -18490,12 +19625,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -18503,7 +19638,7 @@ def read(self, iprot): self.names = [] (_etype744, _size741) = iprot.readListBegin() for _i745 in xrange(_size741): - _elem746 = iprot.readString(); + _elem746 = iprot.readString() self.names.append(_elem746) iprot.readListEnd() else: @@ -18690,12 +19825,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -18862,12 +19997,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -19045,12 +20180,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -19231,12 +20366,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -19244,7 +20379,7 @@ def read(self, iprot): self.part_vals = [] (_etype765, _size762) = iprot.readListBegin() for _i766 in xrange(_size762): - _elem767 = iprot.readString(); + _elem767 = iprot.readString() self.part_vals.append(_elem767) iprot.readListEnd() else: @@ -19421,14 +20556,14 @@ def read(self, iprot): self.part_vals = [] (_etype772, _size769) = iprot.readListBegin() for _i773 in xrange(_size769): - _elem774 = iprot.readString(); + _elem774 = iprot.readString() self.part_vals.append(_elem774) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.BOOL: - self.throw_exception = iprot.readBool(); + self.throw_exception = iprot.readBool() else: iprot.skip(ftype) else: @@ -19503,7 +20638,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.BOOL: - self.success = iprot.readBool(); + self.success = iprot.readBool() else: iprot.skip(ftype) elif fid == 1: @@ -19582,12 +20717,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.name = iprot.readString(); + self.name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.defaultValue = iprot.readString(); + self.defaultValue = iprot.readString() else: iprot.skip(ftype) else: @@ -19659,7 +20794,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.STRING: - self.success = iprot.readString(); + self.success = iprot.readString() else: iprot.skip(ftype) elif fid == 1: @@ -19735,7 +20870,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.part_name = iprot.readString(); + self.part_name = iprot.readString() else: iprot.skip(ftype) else: @@ -19805,7 +20940,7 @@ def read(self, iprot): self.success = [] (_etype779, _size776) = iprot.readListBegin() for _i780 in xrange(_size776): - _elem781 = iprot.readString(); + _elem781 = iprot.readString() self.success.append(_elem781) iprot.readListEnd() else: @@ -19886,7 +21021,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.part_name = iprot.readString(); + self.part_name = iprot.readString() else: iprot.skip(ftype) else: @@ -19956,8 +21091,8 @@ def read(self, iprot): self.success = {} (_ktype784, _vtype785, _size783 ) = iprot.readMapBegin() for _i787 in xrange(_size783): - _key788 = iprot.readString(); - _val789 = iprot.readString(); + _key788 = iprot.readString() + _val789 = iprot.readString() self.success[_key788] = _val789 iprot.readMapEnd() else: @@ -20048,12 +21183,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -20061,15 +21196,15 @@ def read(self, iprot): self.part_vals = {} (_ktype793, _vtype794, _size792 ) = iprot.readMapBegin() for _i796 in xrange(_size792): - _key797 = iprot.readString(); - _val798 = iprot.readString(); + _key797 = iprot.readString() + _val798 = iprot.readString() self.part_vals[_key797] = _val798 iprot.readMapEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.I32: - self.eventType = iprot.readI32(); + self.eventType = iprot.readI32() else: iprot.skip(ftype) else: @@ -20298,12 +21433,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -20311,15 +21446,15 @@ def read(self, iprot): self.part_vals = {} (_ktype802, _vtype803, _size801 ) = iprot.readMapBegin() for _i805 in xrange(_size801): - _key806 = iprot.readString(); - _val807 = iprot.readString(); + _key806 = iprot.readString() + _val807 = iprot.readString() self.part_vals[_key806] = _val807 iprot.readMapEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.I32: - self.eventType = iprot.readI32(); + self.eventType = iprot.readI32() else: iprot.skip(ftype) else: @@ -20420,7 +21555,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.BOOL: - self.success = iprot.readBool(); + self.success = iprot.readBool() else: iprot.skip(ftype) elif fid == 1: @@ -20747,17 +21882,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.dbname = iprot.readString(); + self.dbname = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.base_tbl_name = iprot.readString(); + self.base_tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.idx_name = iprot.readString(); + self.idx_name = iprot.readString() else: iprot.skip(ftype) elif fid == 4: @@ -20932,22 +22067,22 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.index_name = iprot.readString(); + self.index_name = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.BOOL: - self.deleteData = iprot.readBool(); + self.deleteData = iprot.readBool() else: iprot.skip(ftype) else: @@ -21032,7 +22167,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.BOOL: - self.success = iprot.readBool(); + self.success = iprot.readBool() else: iprot.skip(ftype) elif fid == 1: @@ -21125,17 +22260,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.index_name = iprot.readString(); + self.index_name = iprot.readString() else: iprot.skip(ftype) else: @@ -21309,17 +22444,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.I16: - self.max_indexes = iprot.readI16(); + self.max_indexes = iprot.readI16() else: iprot.skip(ftype) else: @@ -21501,17 +22636,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.I16: - self.max_indexes = iprot.readI16(); + self.max_indexes = iprot.readI16() else: iprot.skip(ftype) else: @@ -21591,7 +22726,7 @@ def read(self, iprot): self.success = [] (_etype820, _size817) = iprot.readListBegin() for _i821 in xrange(_size817): - _elem822 = iprot.readString(); + _elem822 = iprot.readString() self.success.append(_elem822) iprot.readListEnd() else: @@ -21749,7 +22884,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.BOOL: - self.success = iprot.readBool(); + self.success = iprot.readBool() else: iprot.skip(ftype) elif fid == 1: @@ -21935,7 +23070,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.BOOL: - self.success = iprot.readBool(); + self.success = iprot.readBool() else: iprot.skip(ftype) elif fid == 1: @@ -22050,17 +23185,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.col_name = iprot.readString(); + self.col_name = iprot.readString() else: iprot.skip(ftype) else: @@ -22265,22 +23400,22 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.part_name = iprot.readString(); + self.part_name = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.STRING: - self.col_name = iprot.readString(); + self.col_name = iprot.readString() else: iprot.skip(ftype) else: @@ -23035,7 +24170,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.BOOL: - self.success = iprot.readBool(); + self.success = iprot.readBool() else: iprot.skip(ftype) elif fid == 1: @@ -23153,22 +24288,22 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.part_name = iprot.readString(); + self.part_name = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.STRING: - self.col_name = iprot.readString(); + self.col_name = iprot.readString() else: iprot.skip(ftype) else: @@ -23259,7 +24394,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.BOOL: - self.success = iprot.readBool(); + self.success = iprot.readBool() else: iprot.skip(ftype) elif fid == 1: @@ -23374,17 +24509,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.db_name = iprot.readString(); + self.db_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tbl_name = iprot.readString(); + self.tbl_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.col_name = iprot.readString(); + self.col_name = iprot.readString() else: iprot.skip(ftype) else: @@ -23470,7 +24605,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.BOOL: - self.success = iprot.readBool(); + self.success = iprot.readBool() else: iprot.skip(ftype) elif fid == 1: @@ -23756,12 +24891,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.dbName = iprot.readString(); + self.dbName = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.funcName = iprot.readString(); + self.funcName = iprot.readString() else: iprot.skip(ftype) else: @@ -23917,12 +25052,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.dbName = iprot.readString(); + self.dbName = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.funcName = iprot.readString(); + self.funcName = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -24086,12 +25221,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.dbName = iprot.readString(); + self.dbName = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.pattern = iprot.readString(); + self.pattern = iprot.readString() else: iprot.skip(ftype) else: @@ -24166,7 +25301,7 @@ def read(self, iprot): self.success = [] (_etype827, _size824) = iprot.readListBegin() for _i828 in xrange(_size824): - _elem829 = iprot.readString(); + _elem829 = iprot.readString() self.success.append(_elem829) iprot.readListEnd() else: @@ -24250,12 +25385,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.dbName = iprot.readString(); + self.dbName = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.funcName = iprot.readString(); + self.funcName = iprot.readString() else: iprot.skip(ftype) else: @@ -24611,7 +25746,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.BOOL: - self.success = iprot.readBool(); + self.success = iprot.readBool() else: iprot.skip(ftype) elif fid == 1: @@ -24687,7 +25822,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.role_name = iprot.readString(); + self.role_name = iprot.readString() else: iprot.skip(ftype) else: @@ -24754,7 +25889,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.BOOL: - self.success = iprot.readBool(); + self.success = iprot.readBool() else: iprot.skip(ftype) elif fid == 1: @@ -24881,7 +26016,7 @@ def read(self, iprot): self.success = [] (_etype834, _size831) = iprot.readListBegin() for _i835 in xrange(_size831): - _elem836 = iprot.readString(); + _elem836 = iprot.readString() self.success.append(_elem836) iprot.readListEnd() else: @@ -24977,32 +26112,32 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.role_name = iprot.readString(); + self.role_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.principal_name = iprot.readString(); + self.principal_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.I32: - self.principal_type = iprot.readI32(); + self.principal_type = iprot.readI32() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.STRING: - self.grantor = iprot.readString(); + self.grantor = iprot.readString() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.I32: - self.grantorType = iprot.readI32(); + self.grantorType = iprot.readI32() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.BOOL: - self.grant_option = iprot.readBool(); + self.grant_option = iprot.readBool() else: iprot.skip(ftype) else: @@ -25094,7 +26229,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.BOOL: - self.success = iprot.readBool(); + self.success = iprot.readBool() else: iprot.skip(ftype) elif fid == 1: @@ -25176,17 +26311,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.role_name = iprot.readString(); + self.role_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.principal_name = iprot.readString(); + self.principal_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.I32: - self.principal_type = iprot.readI32(); + self.principal_type = iprot.readI32() else: iprot.skip(ftype) else: @@ -25263,7 +26398,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.BOOL: - self.success = iprot.readBool(); + self.success = iprot.readBool() else: iprot.skip(ftype) elif fid == 1: @@ -25342,12 +26477,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.principal_name = iprot.readString(); + self.principal_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.I32: - self.principal_type = iprot.readI32(); + self.principal_type = iprot.readI32() else: iprot.skip(ftype) else: @@ -25951,7 +27086,7 @@ def read(self, iprot): iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.user_name = iprot.readString(); + self.user_name = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -25959,7 +27094,7 @@ def read(self, iprot): self.group_names = [] (_etype848, _size845) = iprot.readListBegin() for _i849 in xrange(_size845): - _elem850 = iprot.readString(); + _elem850 = iprot.readString() self.group_names.append(_elem850) iprot.readListEnd() else: @@ -26124,12 +27259,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.principal_name = iprot.readString(); + self.principal_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.I32: - self.principal_type = iprot.readI32(); + self.principal_type = iprot.readI32() else: iprot.skip(ftype) elif fid == 3: @@ -26365,7 +27500,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.BOOL: - self.success = iprot.readBool(); + self.success = iprot.readBool() else: iprot.skip(ftype) elif fid == 1: @@ -26509,7 +27644,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.BOOL: - self.success = iprot.readBool(); + self.success = iprot.readBool() else: iprot.skip(ftype) elif fid == 1: @@ -26733,7 +27868,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.user_name = iprot.readString(); + self.user_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: @@ -26741,7 +27876,7 @@ def read(self, iprot): self.group_names = [] (_etype862, _size859) = iprot.readListBegin() for _i863 in xrange(_size859): - _elem864 = iprot.readString(); + _elem864 = iprot.readString() self.group_names.append(_elem864) iprot.readListEnd() else: @@ -26821,7 +27956,7 @@ def read(self, iprot): self.success = [] (_etype869, _size866) = iprot.readListBegin() for _i870 in xrange(_size866): - _elem871 = iprot.readString(); + _elem871 = iprot.readString() self.success.append(_elem871) iprot.readListEnd() else: @@ -26905,12 +28040,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.token_owner = iprot.readString(); + self.token_owner = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.renewer_kerberos_principal_name = iprot.readString(); + self.renewer_kerberos_principal_name = iprot.readString() else: iprot.skip(ftype) else: @@ -26982,7 +28117,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.STRING: - self.success = iprot.readString(); + self.success = iprot.readString() else: iprot.skip(ftype) elif fid == 1: @@ -27058,7 +28193,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.token_str_form = iprot.readString(); + self.token_str_form = iprot.readString() else: iprot.skip(ftype) else: @@ -27125,7 +28260,7 @@ def read(self, iprot): break if fid == 0: if ftype == TType.I64: - self.success = iprot.readI64(); + self.success = iprot.readI64() else: iprot.skip(ftype) elif fid == 1: @@ -27201,7 +28336,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.token_str_form = iprot.readString(); + self.token_str_form = iprot.readString() else: iprot.skip(ftype) else: diff --git metastore/src/gen/thrift/gen-py/hive_metastore/constants.py metastore/src/gen/thrift/gen-py/hive_metastore/constants.py index f86fda9..d1c07a5 100644 --- metastore/src/gen/thrift/gen-py/hive_metastore/constants.py +++ metastore/src/gen/thrift/gen-py/hive_metastore/constants.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.2) +# Autogenerated by Thrift Compiler (0.9.3) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py index 0b80390..596fdf5 100644 --- metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.2) +# Autogenerated by Thrift Compiler (0.9.3) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @@ -242,12 +242,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.version = iprot.readString(); + self.version = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.comments = iprot.readString(); + self.comments = iprot.readString() else: iprot.skip(ftype) else: @@ -323,17 +323,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.name = iprot.readString(); + self.name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.type = iprot.readString(); + self.type = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.comment = iprot.readString(); + self.comment = iprot.readString() else: iprot.skip(ftype) else: @@ -417,17 +417,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.name = iprot.readString(); + self.name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.type1 = iprot.readString(); + self.type1 = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.type2 = iprot.readString(); + self.type2 = iprot.readString() else: iprot.skip(ftype) elif fid == 4: @@ -533,17 +533,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I32: - self.objectType = iprot.readI32(); + self.objectType = iprot.readI32() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.dbName = iprot.readString(); + self.dbName = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.objectName = iprot.readString(); + self.objectName = iprot.readString() else: iprot.skip(ftype) elif fid == 4: @@ -551,14 +551,14 @@ def read(self, iprot): self.partValues = [] (_etype10, _size7) = iprot.readListBegin() for _i11 in xrange(_size7): - _elem12 = iprot.readString(); + _elem12 = iprot.readString() self.partValues.append(_elem12) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.STRING: - self.columnName = iprot.readString(); + self.columnName = iprot.readString() else: iprot.skip(ftype) else: @@ -658,27 +658,27 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.privilege = iprot.readString(); + self.privilege = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.I32: - self.createTime = iprot.readI32(); + self.createTime = iprot.readI32() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.grantor = iprot.readString(); + self.grantor = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.I32: - self.grantorType = iprot.readI32(); + self.grantorType = iprot.readI32() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.BOOL: - self.grantOption = iprot.readBool(); + self.grantOption = iprot.readBool() else: iprot.skip(ftype) else: @@ -778,12 +778,12 @@ def read(self, iprot): iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.principalName = iprot.readString(); + self.principalName = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.I32: - self.principalType = iprot.readI32(); + self.principalType = iprot.readI32() else: iprot.skip(ftype) elif fid == 4: @@ -952,7 +952,7 @@ def read(self, iprot): self.userPrivileges = {} (_ktype22, _vtype23, _size21 ) = iprot.readMapBegin() for _i25 in xrange(_size21): - _key26 = iprot.readString(); + _key26 = iprot.readString() _val27 = [] (_etype31, _size28) = iprot.readListBegin() for _i32 in xrange(_size28): @@ -969,7 +969,7 @@ def read(self, iprot): self.groupPrivileges = {} (_ktype35, _vtype36, _size34 ) = iprot.readMapBegin() for _i38 in xrange(_size34): - _key39 = iprot.readString(); + _key39 = iprot.readString() _val40 = [] (_etype44, _size41) = iprot.readListBegin() for _i45 in xrange(_size41): @@ -986,7 +986,7 @@ def read(self, iprot): self.rolePrivileges = {} (_ktype48, _vtype49, _size47 ) = iprot.readMapBegin() for _i51 in xrange(_size47): - _key52 = iprot.readString(); + _key52 = iprot.readString() _val53 = [] (_etype57, _size54) = iprot.readListBegin() for _i58 in xrange(_size54): @@ -1097,7 +1097,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I32: - self.requestType = iprot.readI32(); + self.requestType = iprot.readI32() else: iprot.skip(ftype) elif fid == 2: @@ -1108,7 +1108,7 @@ def read(self, iprot): iprot.skip(ftype) elif fid == 3: if ftype == TType.BOOL: - self.revokeGrantOption = iprot.readBool(); + self.revokeGrantOption = iprot.readBool() else: iprot.skip(ftype) else: @@ -1183,7 +1183,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.BOOL: - self.success = iprot.readBool(); + self.success = iprot.readBool() else: iprot.skip(ftype) else: @@ -1254,17 +1254,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.roleName = iprot.readString(); + self.roleName = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.I32: - self.createTime = iprot.readI32(); + self.createTime = iprot.readI32() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.ownerName = iprot.readString(); + self.ownerName = iprot.readString() else: iprot.skip(ftype) else: @@ -1357,37 +1357,37 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.roleName = iprot.readString(); + self.roleName = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.principalName = iprot.readString(); + self.principalName = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.I32: - self.principalType = iprot.readI32(); + self.principalType = iprot.readI32() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.BOOL: - self.grantOption = iprot.readBool(); + self.grantOption = iprot.readBool() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.I32: - self.grantTime = iprot.readI32(); + self.grantTime = iprot.readI32() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.STRING: - self.grantorName = iprot.readString(); + self.grantorName = iprot.readString() else: iprot.skip(ftype) elif fid == 7: if ftype == TType.I32: - self.grantorPrincipalType = iprot.readI32(); + self.grantorPrincipalType = iprot.readI32() else: iprot.skip(ftype) else: @@ -1485,12 +1485,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.principal_name = iprot.readString(); + self.principal_name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.I32: - self.principal_type = iprot.readI32(); + self.principal_type = iprot.readI32() else: iprot.skip(ftype) else: @@ -1640,7 +1640,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.roleName = iprot.readString(); + self.roleName = iprot.readString() else: iprot.skip(ftype) else: @@ -1801,37 +1801,37 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I32: - self.requestType = iprot.readI32(); + self.requestType = iprot.readI32() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.roleName = iprot.readString(); + self.roleName = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.principalName = iprot.readString(); + self.principalName = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.I32: - self.principalType = iprot.readI32(); + self.principalType = iprot.readI32() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.STRING: - self.grantor = iprot.readString(); + self.grantor = iprot.readString() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.I32: - self.grantorType = iprot.readI32(); + self.grantorType = iprot.readI32() else: iprot.skip(ftype) elif fid == 7: if ftype == TType.BOOL: - self.grantOption = iprot.readBool(); + self.grantOption = iprot.readBool() else: iprot.skip(ftype) else: @@ -1926,7 +1926,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.BOOL: - self.success = iprot.readBool(); + self.success = iprot.readBool() else: iprot.skip(ftype) else: @@ -2009,17 +2009,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.name = iprot.readString(); + self.name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.description = iprot.readString(); + self.description = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.locationUri = iprot.readString(); + self.locationUri = iprot.readString() else: iprot.skip(ftype) elif fid == 4: @@ -2027,8 +2027,8 @@ def read(self, iprot): self.parameters = {} (_ktype84, _vtype85, _size83 ) = iprot.readMapBegin() for _i87 in xrange(_size83): - _key88 = iprot.readString(); - _val89 = iprot.readString(); + _key88 = iprot.readString() + _val89 = iprot.readString() self.parameters[_key88] = _val89 iprot.readMapEnd() else: @@ -2041,12 +2041,12 @@ def read(self, iprot): iprot.skip(ftype) elif fid == 6: if ftype == TType.STRING: - self.ownerName = iprot.readString(); + self.ownerName = iprot.readString() else: iprot.skip(ftype) elif fid == 7: if ftype == TType.I32: - self.ownerType = iprot.readI32(); + self.ownerType = iprot.readI32() else: iprot.skip(ftype) else: @@ -2151,12 +2151,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.name = iprot.readString(); + self.name = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.serializationLib = iprot.readString(); + self.serializationLib = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -2164,8 +2164,8 @@ def read(self, iprot): self.parameters = {} (_ktype93, _vtype94, _size92 ) = iprot.readMapBegin() for _i96 in xrange(_size92): - _key97 = iprot.readString(); - _val98 = iprot.readString(); + _key97 = iprot.readString() + _val98 = iprot.readString() self.parameters[_key97] = _val98 iprot.readMapEnd() else: @@ -2249,12 +2249,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.col = iprot.readString(); + self.col = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.I32: - self.order = iprot.readI32(); + self.order = iprot.readI32() else: iprot.skip(ftype) else: @@ -2333,7 +2333,7 @@ def read(self, iprot): self.skewedColNames = [] (_etype104, _size101) = iprot.readListBegin() for _i105 in xrange(_size101): - _elem106 = iprot.readString(); + _elem106 = iprot.readString() self.skewedColNames.append(_elem106) iprot.readListEnd() else: @@ -2346,7 +2346,7 @@ def read(self, iprot): _elem112 = [] (_etype116, _size113) = iprot.readListBegin() for _i117 in xrange(_size113): - _elem118 = iprot.readString(); + _elem118 = iprot.readString() _elem112.append(_elem118) iprot.readListEnd() self.skewedColValues.append(_elem112) @@ -2361,10 +2361,10 @@ def read(self, iprot): _key124 = [] (_etype129, _size126) = iprot.readListBegin() for _i130 in xrange(_size126): - _elem131 = iprot.readString(); + _elem131 = iprot.readString() _key124.append(_elem131) iprot.readListEnd() - _val125 = iprot.readString(); + _val125 = iprot.readString() self.skewedColValueLocationMaps[_key124] = _val125 iprot.readMapEnd() else: @@ -2501,27 +2501,27 @@ def read(self, iprot): iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.location = iprot.readString(); + self.location = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.inputFormat = iprot.readString(); + self.inputFormat = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.STRING: - self.outputFormat = iprot.readString(); + self.outputFormat = iprot.readString() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.BOOL: - self.compressed = iprot.readBool(); + self.compressed = iprot.readBool() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.I32: - self.numBuckets = iprot.readI32(); + self.numBuckets = iprot.readI32() else: iprot.skip(ftype) elif fid == 7: @@ -2535,7 +2535,7 @@ def read(self, iprot): self.bucketCols = [] (_etype147, _size144) = iprot.readListBegin() for _i148 in xrange(_size144): - _elem149 = iprot.readString(); + _elem149 = iprot.readString() self.bucketCols.append(_elem149) iprot.readListEnd() else: @@ -2556,8 +2556,8 @@ def read(self, iprot): self.parameters = {} (_ktype157, _vtype158, _size156 ) = iprot.readMapBegin() for _i160 in xrange(_size156): - _key161 = iprot.readString(); - _val162 = iprot.readString(); + _key161 = iprot.readString() + _val162 = iprot.readString() self.parameters[_key161] = _val162 iprot.readMapEnd() else: @@ -2570,7 +2570,7 @@ def read(self, iprot): iprot.skip(ftype) elif fid == 12: if ftype == TType.BOOL: - self.storedAsSubDirectories = iprot.readBool(); + self.storedAsSubDirectories = iprot.readBool() else: iprot.skip(ftype) else: @@ -2742,32 +2742,32 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.tableName = iprot.readString(); + self.tableName = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.dbName = iprot.readString(); + self.dbName = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.owner = iprot.readString(); + self.owner = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.I32: - self.createTime = iprot.readI32(); + self.createTime = iprot.readI32() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.I32: - self.lastAccessTime = iprot.readI32(); + self.lastAccessTime = iprot.readI32() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.I32: - self.retention = iprot.readI32(); + self.retention = iprot.readI32() else: iprot.skip(ftype) elif fid == 7: @@ -2792,25 +2792,25 @@ def read(self, iprot): self.parameters = {} (_ktype175, _vtype176, _size174 ) = iprot.readMapBegin() for _i178 in xrange(_size174): - _key179 = iprot.readString(); - _val180 = iprot.readString(); + _key179 = iprot.readString() + _val180 = iprot.readString() self.parameters[_key179] = _val180 iprot.readMapEnd() else: iprot.skip(ftype) elif fid == 10: if ftype == TType.STRING: - self.viewOriginalText = iprot.readString(); + self.viewOriginalText = iprot.readString() else: iprot.skip(ftype) elif fid == 11: if ftype == TType.STRING: - self.viewExpandedText = iprot.readString(); + self.viewExpandedText = iprot.readString() else: iprot.skip(ftype) elif fid == 12: if ftype == TType.STRING: - self.tableType = iprot.readString(); + self.tableType = iprot.readString() else: iprot.skip(ftype) elif fid == 13: @@ -2821,7 +2821,7 @@ def read(self, iprot): iprot.skip(ftype) elif fid == 14: if ftype == TType.BOOL: - self.temporary = iprot.readBool(); + self.temporary = iprot.readBool() else: iprot.skip(ftype) else: @@ -2982,29 +2982,29 @@ def read(self, iprot): self.values = [] (_etype187, _size184) = iprot.readListBegin() for _i188 in xrange(_size184): - _elem189 = iprot.readString(); + _elem189 = iprot.readString() self.values.append(_elem189) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.dbName = iprot.readString(); + self.dbName = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.tableName = iprot.readString(); + self.tableName = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.I32: - self.createTime = iprot.readI32(); + self.createTime = iprot.readI32() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.I32: - self.lastAccessTime = iprot.readI32(); + self.lastAccessTime = iprot.readI32() else: iprot.skip(ftype) elif fid == 6: @@ -3018,8 +3018,8 @@ def read(self, iprot): self.parameters = {} (_ktype191, _vtype192, _size190 ) = iprot.readMapBegin() for _i194 in xrange(_size190): - _key195 = iprot.readString(); - _val196 = iprot.readString(); + _key195 = iprot.readString() + _val196 = iprot.readString() self.parameters[_key195] = _val196 iprot.readMapEnd() else: @@ -3152,24 +3152,24 @@ def read(self, iprot): self.values = [] (_etype203, _size200) = iprot.readListBegin() for _i204 in xrange(_size200): - _elem205 = iprot.readString(); + _elem205 = iprot.readString() self.values.append(_elem205) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.I32: - self.createTime = iprot.readI32(); + self.createTime = iprot.readI32() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.I32: - self.lastAccessTime = iprot.readI32(); + self.lastAccessTime = iprot.readI32() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.STRING: - self.relativePath = iprot.readString(); + self.relativePath = iprot.readString() else: iprot.skip(ftype) elif fid == 5: @@ -3177,8 +3177,8 @@ def read(self, iprot): self.parameters = {} (_ktype207, _vtype208, _size206 ) = iprot.readMapBegin() for _i210 in xrange(_size206): - _key211 = iprot.readString(); - _val212 = iprot.readString(); + _key211 = iprot.readString() + _val212 = iprot.readString() self.parameters[_key211] = _val212 iprot.readMapEnd() else: @@ -3457,17 +3457,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.dbName = iprot.readString(); + self.dbName = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tableName = iprot.readString(); + self.tableName = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.rootPath = iprot.readString(); + self.rootPath = iprot.readString() else: iprot.skip(ftype) elif fid == 4: @@ -3591,37 +3591,37 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.indexName = iprot.readString(); + self.indexName = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.indexHandlerClass = iprot.readString(); + self.indexHandlerClass = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.dbName = iprot.readString(); + self.dbName = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.STRING: - self.origTableName = iprot.readString(); + self.origTableName = iprot.readString() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.I32: - self.createTime = iprot.readI32(); + self.createTime = iprot.readI32() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.I32: - self.lastAccessTime = iprot.readI32(); + self.lastAccessTime = iprot.readI32() else: iprot.skip(ftype) elif fid == 7: if ftype == TType.STRING: - self.indexTableName = iprot.readString(); + self.indexTableName = iprot.readString() else: iprot.skip(ftype) elif fid == 8: @@ -3635,15 +3635,15 @@ def read(self, iprot): self.parameters = {} (_ktype231, _vtype232, _size230 ) = iprot.readMapBegin() for _i234 in xrange(_size230): - _key235 = iprot.readString(); - _val236 = iprot.readString(); + _key235 = iprot.readString() + _val236 = iprot.readString() self.parameters[_key235] = _val236 iprot.readMapEnd() else: iprot.skip(ftype) elif fid == 10: if ftype == TType.BOOL: - self.deferredRebuild = iprot.readBool(); + self.deferredRebuild = iprot.readBool() else: iprot.skip(ftype) else: @@ -3763,17 +3763,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I64: - self.numTrues = iprot.readI64(); + self.numTrues = iprot.readI64() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.I64: - self.numFalses = iprot.readI64(); + self.numFalses = iprot.readI64() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.I64: - self.numNulls = iprot.readI64(); + self.numNulls = iprot.readI64() else: iprot.skip(ftype) else: @@ -3863,22 +3863,22 @@ def read(self, iprot): break if fid == 1: if ftype == TType.DOUBLE: - self.lowValue = iprot.readDouble(); + self.lowValue = iprot.readDouble() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.DOUBLE: - self.highValue = iprot.readDouble(); + self.highValue = iprot.readDouble() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.I64: - self.numNulls = iprot.readI64(); + self.numNulls = iprot.readI64() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.I64: - self.numDVs = iprot.readI64(); + self.numDVs = iprot.readI64() else: iprot.skip(ftype) else: @@ -3971,22 +3971,22 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I64: - self.lowValue = iprot.readI64(); + self.lowValue = iprot.readI64() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.I64: - self.highValue = iprot.readI64(); + self.highValue = iprot.readI64() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.I64: - self.numNulls = iprot.readI64(); + self.numNulls = iprot.readI64() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.I64: - self.numDVs = iprot.readI64(); + self.numDVs = iprot.readI64() else: iprot.skip(ftype) else: @@ -4079,22 +4079,22 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I64: - self.maxColLen = iprot.readI64(); + self.maxColLen = iprot.readI64() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.DOUBLE: - self.avgColLen = iprot.readDouble(); + self.avgColLen = iprot.readDouble() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.I64: - self.numNulls = iprot.readI64(); + self.numNulls = iprot.readI64() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.I64: - self.numDVs = iprot.readI64(); + self.numDVs = iprot.readI64() else: iprot.skip(ftype) else: @@ -4188,17 +4188,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I64: - self.maxColLen = iprot.readI64(); + self.maxColLen = iprot.readI64() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.DOUBLE: - self.avgColLen = iprot.readDouble(); + self.avgColLen = iprot.readDouble() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.I64: - self.numNulls = iprot.readI64(); + self.numNulls = iprot.readI64() else: iprot.skip(ftype) else: @@ -4283,12 +4283,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.unscaled = iprot.readString(); + self.unscaled = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.I16: - self.scale = iprot.readI16(); + self.scale = iprot.readI16() else: iprot.skip(ftype) else: @@ -4383,12 +4383,12 @@ def read(self, iprot): iprot.skip(ftype) elif fid == 3: if ftype == TType.I64: - self.numNulls = iprot.readI64(); + self.numNulls = iprot.readI64() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.I64: - self.numDVs = iprot.readI64(); + self.numDVs = iprot.readI64() else: iprot.skip(ftype) else: @@ -4472,7 +4472,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I64: - self.daysSinceEpoch = iprot.readI64(); + self.daysSinceEpoch = iprot.readI64() else: iprot.skip(ftype) else: @@ -4560,12 +4560,12 @@ def read(self, iprot): iprot.skip(ftype) elif fid == 3: if ftype == TType.I64: - self.numNulls = iprot.readI64(); + self.numNulls = iprot.readI64() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.I64: - self.numDVs = iprot.readI64(); + self.numDVs = iprot.readI64() else: iprot.skip(ftype) else: @@ -4805,12 +4805,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.colName = iprot.readString(); + self.colName = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.colType = iprot.readString(); + self.colType = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -4909,27 +4909,27 @@ def read(self, iprot): break if fid == 1: if ftype == TType.BOOL: - self.isTblLevel = iprot.readBool(); + self.isTblLevel = iprot.readBool() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.dbName = iprot.readString(); + self.dbName = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.tableName = iprot.readString(); + self.tableName = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.STRING: - self.partName = iprot.readString(); + self.partName = iprot.readString() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.I64: - self.lastAnalyzed = iprot.readI64(); + self.lastAnalyzed = iprot.readI64() else: iprot.skip(ftype) else: @@ -5126,7 +5126,7 @@ def read(self, iprot): iprot.skip(ftype) elif fid == 2: if ftype == TType.I64: - self.partsFound = iprot.readI64(); + self.partsFound = iprot.readI64() else: iprot.skip(ftype) else: @@ -5296,8 +5296,8 @@ def read(self, iprot): self.properties = {} (_ktype267, _vtype268, _size266 ) = iprot.readMapBegin() for _i270 in xrange(_size266): - _key271 = iprot.readString(); - _val272 = iprot.readString(); + _key271 = iprot.readString() + _val272 = iprot.readString() self.properties[_key271] = _val272 iprot.readMapEnd() else: @@ -5379,8 +5379,8 @@ def read(self, iprot): self.properties = {} (_ktype277, _vtype278, _size276 ) = iprot.readMapBegin() for _i280 in xrange(_size276): - _key281 = iprot.readString(); - _val282 = iprot.readString(); + _key281 = iprot.readString() + _val282 = iprot.readString() self.properties[_key281] = _val282 iprot.readMapEnd() else: @@ -5465,7 +5465,7 @@ def read(self, iprot): iprot.skip(ftype) elif fid == 2: if ftype == TType.BOOL: - self.hasUnknownPartitions = iprot.readBool(); + self.hasUnknownPartitions = iprot.readBool() else: iprot.skip(ftype) else: @@ -5554,27 +5554,27 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.dbName = iprot.readString(); + self.dbName = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tblName = iprot.readString(); + self.tblName = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.expr = iprot.readString(); + self.expr = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.STRING: - self.defaultPartitionName = iprot.readString(); + self.defaultPartitionName = iprot.readString() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.I16: - self.maxParts = iprot.readI16(); + self.maxParts = iprot.readI16() else: iprot.skip(ftype) else: @@ -5744,7 +5744,7 @@ def read(self, iprot): self.partStats = {} (_ktype300, _vtype301, _size299 ) = iprot.readMapBegin() for _i303 in xrange(_size299): - _key304 = iprot.readString(); + _key304 = iprot.readString() _val305 = [] (_etype309, _size306) = iprot.readListBegin() for _i310 in xrange(_size306): @@ -5833,12 +5833,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.dbName = iprot.readString(); + self.dbName = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tblName = iprot.readString(); + self.tblName = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -5846,7 +5846,7 @@ def read(self, iprot): self.colNames = [] (_etype318, _size315) = iprot.readListBegin() for _i319 in xrange(_size315): - _elem320 = iprot.readString(); + _elem320 = iprot.readString() self.colNames.append(_elem320) iprot.readListEnd() else: @@ -5941,12 +5941,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.dbName = iprot.readString(); + self.dbName = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tblName = iprot.readString(); + self.tblName = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -5954,7 +5954,7 @@ def read(self, iprot): self.colNames = [] (_etype325, _size322) = iprot.readListBegin() for _i326 in xrange(_size322): - _elem327 = iprot.readString(); + _elem327 = iprot.readString() self.colNames.append(_elem327) iprot.readListEnd() else: @@ -5964,7 +5964,7 @@ def read(self, iprot): self.partNames = [] (_etype331, _size328) = iprot.readListBegin() for _i332 in xrange(_size328): - _elem333 = iprot.readString(); + _elem333 = iprot.readString() self.partNames.append(_elem333) iprot.readListEnd() else: @@ -6146,12 +6146,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.dbName = iprot.readString(); + self.dbName = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tblName = iprot.readString(); + self.tblName = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -6167,12 +6167,12 @@ def read(self, iprot): iprot.skip(ftype) elif fid == 4: if ftype == TType.BOOL: - self.ifNotExists = iprot.readBool(); + self.ifNotExists = iprot.readBool() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.BOOL: - self.needResult = iprot.readBool(); + self.needResult = iprot.readBool() else: iprot.skip(ftype) else: @@ -6345,12 +6345,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.expr = iprot.readString(); + self.expr = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.I32: - self.partArchiveLevel = iprot.readI32(); + self.partArchiveLevel = iprot.readI32() else: iprot.skip(ftype) else: @@ -6428,7 +6428,7 @@ def read(self, iprot): self.names = [] (_etype360, _size357) = iprot.readListBegin() for _i361 in xrange(_size357): - _elem362 = iprot.readString(); + _elem362 = iprot.readString() self.names.append(_elem362) iprot.readListEnd() else: @@ -6538,12 +6538,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.dbName = iprot.readString(); + self.dbName = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tblName = iprot.readString(); + self.tblName = iprot.readString() else: iprot.skip(ftype) elif fid == 3: @@ -6554,17 +6554,17 @@ def read(self, iprot): iprot.skip(ftype) elif fid == 4: if ftype == TType.BOOL: - self.deleteData = iprot.readBool(); + self.deleteData = iprot.readBool() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.BOOL: - self.ifExists = iprot.readBool(); + self.ifExists = iprot.readBool() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.BOOL: - self.ignoreProtection = iprot.readBool(); + self.ignoreProtection = iprot.readBool() else: iprot.skip(ftype) elif fid == 7: @@ -6575,7 +6575,7 @@ def read(self, iprot): iprot.skip(ftype) elif fid == 8: if ftype == TType.BOOL: - self.needResult = iprot.readBool(); + self.needResult = iprot.readBool() else: iprot.skip(ftype) else: @@ -6684,12 +6684,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I32: - self.resourceType = iprot.readI32(); + self.resourceType = iprot.readI32() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.uri = iprot.readString(); + self.uri = iprot.readString() else: iprot.skip(ftype) else: @@ -6780,37 +6780,37 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.functionName = iprot.readString(); + self.functionName = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.dbName = iprot.readString(); + self.dbName = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.className = iprot.readString(); + self.className = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.STRING: - self.ownerName = iprot.readString(); + self.ownerName = iprot.readString() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.I32: - self.ownerType = iprot.readI32(); + self.ownerType = iprot.readI32() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.I32: - self.createTime = iprot.readI32(); + self.createTime = iprot.readI32() else: iprot.skip(ftype) elif fid == 7: if ftype == TType.I32: - self.functionType = iprot.readI32(); + self.functionType = iprot.readI32() else: iprot.skip(ftype) elif fid == 8: @@ -6906,6 +6906,9 @@ class TxnInfo: - state - user - hostname + - agentInfo + - heartbeatCount + - metaInfo """ thrift_spec = ( @@ -6914,13 +6917,19 @@ class TxnInfo: (2, TType.I32, 'state', None, None, ), # 2 (3, TType.STRING, 'user', None, None, ), # 3 (4, TType.STRING, 'hostname', None, None, ), # 4 + (5, TType.STRING, 'agentInfo', None, "Unknown", ), # 5 + (6, TType.I32, 'heartbeatCount', None, 0, ), # 6 + (7, TType.STRING, 'metaInfo', None, None, ), # 7 ) - def __init__(self, id=None, state=None, user=None, hostname=None,): + def __init__(self, id=None, state=None, user=None, hostname=None, agentInfo=thrift_spec[5][4], heartbeatCount=thrift_spec[6][4], metaInfo=None,): self.id = id self.state = state self.user = user self.hostname = hostname + self.agentInfo = agentInfo + self.heartbeatCount = heartbeatCount + self.metaInfo = metaInfo 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: @@ -6933,22 +6942,37 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I64: - self.id = iprot.readI64(); + self.id = iprot.readI64() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.I32: - self.state = iprot.readI32(); + self.state = iprot.readI32() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.user = iprot.readString(); + self.user = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.STRING: - self.hostname = iprot.readString(); + self.hostname = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 5: + if ftype == TType.STRING: + self.agentInfo = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 6: + if ftype == TType.I32: + self.heartbeatCount = iprot.readI32() + else: + iprot.skip(ftype) + elif fid == 7: + if ftype == TType.STRING: + self.metaInfo = iprot.readString() else: iprot.skip(ftype) else: @@ -6977,6 +7001,18 @@ def write(self, oprot): oprot.writeFieldBegin('hostname', TType.STRING, 4) oprot.writeString(self.hostname) oprot.writeFieldEnd() + if self.agentInfo is not None: + oprot.writeFieldBegin('agentInfo', TType.STRING, 5) + oprot.writeString(self.agentInfo) + oprot.writeFieldEnd() + if self.heartbeatCount is not None: + oprot.writeFieldBegin('heartbeatCount', TType.I32, 6) + oprot.writeI32(self.heartbeatCount) + oprot.writeFieldEnd() + if self.metaInfo is not None: + oprot.writeFieldBegin('metaInfo', TType.STRING, 7) + oprot.writeString(self.metaInfo) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -6998,6 +7034,9 @@ def __hash__(self): value = (value * 31) ^ hash(self.state) value = (value * 31) ^ hash(self.user) value = (value * 31) ^ hash(self.hostname) + value = (value * 31) ^ hash(self.agentInfo) + value = (value * 31) ^ hash(self.heartbeatCount) + value = (value * 31) ^ hash(self.metaInfo) return value def __repr__(self): @@ -7039,7 +7078,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I64: - self.txn_high_water_mark = iprot.readI64(); + self.txn_high_water_mark = iprot.readI64() else: iprot.skip(ftype) elif fid == 2: @@ -7130,7 +7169,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I64: - self.txn_high_water_mark = iprot.readI64(); + self.txn_high_water_mark = iprot.readI64() else: iprot.skip(ftype) elif fid == 2: @@ -7138,7 +7177,7 @@ def read(self, iprot): self.open_txns = set() (_etype388, _size385) = iprot.readSetBegin() for _i389 in xrange(_size385): - _elem390 = iprot.readI64(); + _elem390 = iprot.readI64() self.open_txns.add(_elem390) iprot.readSetEnd() else: @@ -7198,6 +7237,7 @@ class OpenTxnRequest: - num_txns - user - hostname + - agentInfo """ thrift_spec = ( @@ -7205,12 +7245,14 @@ class OpenTxnRequest: (1, TType.I32, 'num_txns', None, None, ), # 1 (2, TType.STRING, 'user', None, None, ), # 2 (3, TType.STRING, 'hostname', None, None, ), # 3 + (4, TType.STRING, 'agentInfo', None, "Unknown", ), # 4 ) - def __init__(self, num_txns=None, user=None, hostname=None,): + def __init__(self, num_txns=None, user=None, hostname=None, agentInfo=thrift_spec[4][4],): self.num_txns = num_txns self.user = user self.hostname = hostname + self.agentInfo = agentInfo 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: @@ -7223,17 +7265,22 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I32: - self.num_txns = iprot.readI32(); + self.num_txns = iprot.readI32() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.user = iprot.readString(); + self.user = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.hostname = iprot.readString(); + self.hostname = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 4: + if ftype == TType.STRING: + self.agentInfo = iprot.readString() else: iprot.skip(ftype) else: @@ -7258,6 +7305,10 @@ def write(self, oprot): oprot.writeFieldBegin('hostname', TType.STRING, 3) oprot.writeString(self.hostname) oprot.writeFieldEnd() + if self.agentInfo is not None: + oprot.writeFieldBegin('agentInfo', TType.STRING, 4) + oprot.writeString(self.agentInfo) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -7276,6 +7327,7 @@ def __hash__(self): value = (value * 31) ^ hash(self.num_txns) value = (value * 31) ^ hash(self.user) value = (value * 31) ^ hash(self.hostname) + value = (value * 31) ^ hash(self.agentInfo) return value def __repr__(self): @@ -7317,7 +7369,7 @@ def read(self, iprot): self.txn_ids = [] (_etype395, _size392) = iprot.readListBegin() for _i396 in xrange(_size392): - _elem397 = iprot.readI64(); + _elem397 = iprot.readI64() self.txn_ids.append(_elem397) iprot.readListEnd() else: @@ -7389,7 +7441,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I64: - self.txnid = iprot.readI64(); + self.txnid = iprot.readI64() else: iprot.skip(ftype) else: @@ -7456,7 +7508,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I64: - self.txnid = iprot.readI64(); + self.txnid = iprot.readI64() else: iprot.skip(ftype) else: @@ -7535,27 +7587,27 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I32: - self.type = iprot.readI32(); + self.type = iprot.readI32() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.I32: - self.level = iprot.readI32(); + self.level = iprot.readI32() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.dbname = iprot.readString(); + self.dbname = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.STRING: - self.tablename = iprot.readString(); + self.tablename = iprot.readString() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.STRING: - self.partitionname = iprot.readString(); + self.partitionname = iprot.readString() else: iprot.skip(ftype) else: @@ -7628,6 +7680,7 @@ class LockRequest: - txnid - user - hostname + - agentInfo """ thrift_spec = ( @@ -7636,13 +7689,15 @@ class LockRequest: (2, TType.I64, 'txnid', None, None, ), # 2 (3, TType.STRING, 'user', None, None, ), # 3 (4, TType.STRING, 'hostname', None, None, ), # 4 + (5, TType.STRING, 'agentInfo', None, "Unknown", ), # 5 ) - def __init__(self, component=None, txnid=None, user=None, hostname=None,): + def __init__(self, component=None, txnid=None, user=None, hostname=None, agentInfo=thrift_spec[5][4],): self.component = component self.txnid = txnid self.user = user self.hostname = hostname + self.agentInfo = agentInfo 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: @@ -7666,17 +7721,22 @@ def read(self, iprot): iprot.skip(ftype) elif fid == 2: if ftype == TType.I64: - self.txnid = iprot.readI64(); + self.txnid = iprot.readI64() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.user = iprot.readString(); + self.user = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.STRING: - self.hostname = iprot.readString(); + self.hostname = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 5: + if ftype == TType.STRING: + self.agentInfo = iprot.readString() else: iprot.skip(ftype) else: @@ -7708,6 +7768,10 @@ def write(self, oprot): oprot.writeFieldBegin('hostname', TType.STRING, 4) oprot.writeString(self.hostname) oprot.writeFieldEnd() + if self.agentInfo is not None: + oprot.writeFieldBegin('agentInfo', TType.STRING, 5) + oprot.writeString(self.agentInfo) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -7727,6 +7791,7 @@ def __hash__(self): value = (value * 31) ^ hash(self.txnid) value = (value * 31) ^ hash(self.user) value = (value * 31) ^ hash(self.hostname) + value = (value * 31) ^ hash(self.agentInfo) return value def __repr__(self): @@ -7768,12 +7833,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I64: - self.lockid = iprot.readI64(); + self.lockid = iprot.readI64() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.I32: - self.state = iprot.readI32(); + self.state = iprot.readI32() else: iprot.skip(ftype) else: @@ -7826,15 +7891,21 @@ class CheckLockRequest: """ Attributes: - lockid + - txnid + - elapsed_ms """ thrift_spec = ( None, # 0 (1, TType.I64, 'lockid', None, None, ), # 1 + (2, TType.I64, 'txnid', None, None, ), # 2 + (3, TType.I64, 'elapsed_ms', None, None, ), # 3 ) - def __init__(self, lockid=None,): + def __init__(self, lockid=None, txnid=None, elapsed_ms=None,): self.lockid = lockid + self.txnid = txnid + self.elapsed_ms = elapsed_ms 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: @@ -7847,7 +7918,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I64: - self.lockid = iprot.readI64(); + self.lockid = iprot.readI64() + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.I64: + self.txnid = iprot.readI64() + else: + iprot.skip(ftype) + elif fid == 3: + if ftype == TType.I64: + self.elapsed_ms = iprot.readI64() else: iprot.skip(ftype) else: @@ -7864,6 +7945,14 @@ def write(self, oprot): oprot.writeFieldBegin('lockid', TType.I64, 1) oprot.writeI64(self.lockid) oprot.writeFieldEnd() + if self.txnid is not None: + oprot.writeFieldBegin('txnid', TType.I64, 2) + oprot.writeI64(self.txnid) + oprot.writeFieldEnd() + if self.elapsed_ms is not None: + oprot.writeFieldBegin('elapsed_ms', TType.I64, 3) + oprot.writeI64(self.elapsed_ms) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -7876,6 +7965,8 @@ def validate(self): def __hash__(self): value = 17 value = (value * 31) ^ hash(self.lockid) + value = (value * 31) ^ hash(self.txnid) + value = (value * 31) ^ hash(self.elapsed_ms) return value def __repr__(self): @@ -7914,7 +8005,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I64: - self.lockid = iprot.readI64(); + self.lockid = iprot.readI64() else: iprot.skip(ftype) else: @@ -7957,10 +8048,28 @@ def __ne__(self, other): return not (self == other) class ShowLocksRequest: + """ + Attributes: + - dbname + - tablename + - partname + - isExtended + """ thrift_spec = ( + None, # 0 + (1, TType.STRING, 'dbname', None, None, ), # 1 + (2, TType.STRING, 'tablename', None, None, ), # 2 + (3, TType.STRING, 'partname', None, None, ), # 3 + (4, TType.BOOL, 'isExtended', None, False, ), # 4 ) + def __init__(self, dbname=None, tablename=None, partname=None, isExtended=thrift_spec[4][4],): + self.dbname = dbname + self.tablename = tablename + self.partname = partname + self.isExtended = isExtended + 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)) @@ -7970,6 +8079,26 @@ def read(self, iprot): (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.STRING: + self.tablename = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 3: + if ftype == TType.STRING: + self.partname = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 4: + if ftype == TType.BOOL: + self.isExtended = iprot.readBool() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -7980,6 +8109,22 @@ def write(self, oprot): oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) return oprot.writeStructBegin('ShowLocksRequest') + if self.dbname is not None: + oprot.writeFieldBegin('dbname', TType.STRING, 1) + oprot.writeString(self.dbname) + oprot.writeFieldEnd() + if self.tablename is not None: + oprot.writeFieldBegin('tablename', TType.STRING, 2) + oprot.writeString(self.tablename) + oprot.writeFieldEnd() + if self.partname is not None: + oprot.writeFieldBegin('partname', TType.STRING, 3) + oprot.writeString(self.partname) + oprot.writeFieldEnd() + if self.isExtended is not None: + oprot.writeFieldBegin('isExtended', TType.BOOL, 4) + oprot.writeBool(self.isExtended) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -7989,6 +8134,10 @@ def validate(self): def __hash__(self): value = 17 + value = (value * 31) ^ hash(self.dbname) + value = (value * 31) ^ hash(self.tablename) + value = (value * 31) ^ hash(self.partname) + value = (value * 31) ^ hash(self.isExtended) return value def __repr__(self): @@ -8016,6 +8165,11 @@ class ShowLocksResponseElement: - acquiredat - user - hostname + - heartbeatCount + - agentInfo + - blockedByExtId + - blockedByIntId + - lockIdInternal """ thrift_spec = ( @@ -8031,9 +8185,14 @@ class ShowLocksResponseElement: (9, TType.I64, 'acquiredat', None, None, ), # 9 (10, TType.STRING, 'user', None, None, ), # 10 (11, TType.STRING, 'hostname', None, None, ), # 11 + (12, TType.I32, 'heartbeatCount', None, 0, ), # 12 + (13, TType.STRING, 'agentInfo', None, None, ), # 13 + (14, TType.I64, 'blockedByExtId', None, None, ), # 14 + (15, TType.I64, 'blockedByIntId', None, None, ), # 15 + (16, TType.I64, 'lockIdInternal', None, None, ), # 16 ) - def __init__(self, lockid=None, dbname=None, tablename=None, partname=None, state=None, type=None, txnid=None, lastheartbeat=None, acquiredat=None, user=None, hostname=None,): + def __init__(self, lockid=None, dbname=None, tablename=None, partname=None, state=None, type=None, txnid=None, lastheartbeat=None, acquiredat=None, user=None, hostname=None, heartbeatCount=thrift_spec[12][4], agentInfo=None, blockedByExtId=None, blockedByIntId=None, lockIdInternal=None,): self.lockid = lockid self.dbname = dbname self.tablename = tablename @@ -8045,6 +8204,11 @@ def __init__(self, lockid=None, dbname=None, tablename=None, partname=None, stat self.acquiredat = acquiredat self.user = user self.hostname = hostname + self.heartbeatCount = heartbeatCount + self.agentInfo = agentInfo + self.blockedByExtId = blockedByExtId + self.blockedByIntId = blockedByIntId + self.lockIdInternal = lockIdInternal 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: @@ -8057,57 +8221,82 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I64: - self.lockid = iprot.readI64(); + self.lockid = iprot.readI64() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.dbname = iprot.readString(); + self.dbname = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.tablename = iprot.readString(); + self.tablename = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.STRING: - self.partname = iprot.readString(); + self.partname = iprot.readString() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.I32: - self.state = iprot.readI32(); + self.state = iprot.readI32() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.I32: - self.type = iprot.readI32(); + self.type = iprot.readI32() else: iprot.skip(ftype) elif fid == 7: if ftype == TType.I64: - self.txnid = iprot.readI64(); + self.txnid = iprot.readI64() else: iprot.skip(ftype) elif fid == 8: if ftype == TType.I64: - self.lastheartbeat = iprot.readI64(); + self.lastheartbeat = iprot.readI64() else: iprot.skip(ftype) elif fid == 9: if ftype == TType.I64: - self.acquiredat = iprot.readI64(); + self.acquiredat = iprot.readI64() else: iprot.skip(ftype) elif fid == 10: if ftype == TType.STRING: - self.user = iprot.readString(); + self.user = iprot.readString() else: iprot.skip(ftype) elif fid == 11: if ftype == TType.STRING: - self.hostname = iprot.readString(); + self.hostname = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 12: + if ftype == TType.I32: + self.heartbeatCount = iprot.readI32() + else: + iprot.skip(ftype) + elif fid == 13: + if ftype == TType.STRING: + self.agentInfo = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 14: + if ftype == TType.I64: + self.blockedByExtId = iprot.readI64() + else: + iprot.skip(ftype) + elif fid == 15: + if ftype == TType.I64: + self.blockedByIntId = iprot.readI64() + else: + iprot.skip(ftype) + elif fid == 16: + if ftype == TType.I64: + self.lockIdInternal = iprot.readI64() else: iprot.skip(ftype) else: @@ -8164,6 +8353,26 @@ def write(self, oprot): oprot.writeFieldBegin('hostname', TType.STRING, 11) oprot.writeString(self.hostname) oprot.writeFieldEnd() + if self.heartbeatCount is not None: + oprot.writeFieldBegin('heartbeatCount', TType.I32, 12) + oprot.writeI32(self.heartbeatCount) + oprot.writeFieldEnd() + if self.agentInfo is not None: + oprot.writeFieldBegin('agentInfo', TType.STRING, 13) + oprot.writeString(self.agentInfo) + oprot.writeFieldEnd() + if self.blockedByExtId is not None: + oprot.writeFieldBegin('blockedByExtId', TType.I64, 14) + oprot.writeI64(self.blockedByExtId) + oprot.writeFieldEnd() + if self.blockedByIntId is not None: + oprot.writeFieldBegin('blockedByIntId', TType.I64, 15) + oprot.writeI64(self.blockedByIntId) + oprot.writeFieldEnd() + if self.lockIdInternal is not None: + oprot.writeFieldBegin('lockIdInternal', TType.I64, 16) + oprot.writeI64(self.lockIdInternal) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -8198,6 +8407,11 @@ def __hash__(self): value = (value * 31) ^ hash(self.acquiredat) value = (value * 31) ^ hash(self.user) value = (value * 31) ^ hash(self.hostname) + value = (value * 31) ^ hash(self.heartbeatCount) + value = (value * 31) ^ hash(self.agentInfo) + value = (value * 31) ^ hash(self.blockedByExtId) + value = (value * 31) ^ hash(self.blockedByIntId) + value = (value * 31) ^ hash(self.lockIdInternal) return value def __repr__(self): @@ -8313,12 +8527,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I64: - self.lockid = iprot.readI64(); + self.lockid = iprot.readI64() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.I64: - self.txnid = iprot.readI64(); + self.txnid = iprot.readI64() else: iprot.skip(ftype) else: @@ -8391,12 +8605,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I64: - self.min = iprot.readI64(); + self.min = iprot.readI64() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.I64: - self.max = iprot.readI64(); + self.max = iprot.readI64() else: iprot.skip(ftype) else: @@ -8476,7 +8690,7 @@ def read(self, iprot): self.aborted = set() (_etype416, _size413) = iprot.readSetBegin() for _i417 in xrange(_size413): - _elem418 = iprot.readI64(); + _elem418 = iprot.readI64() self.aborted.add(_elem418) iprot.readSetEnd() else: @@ -8486,7 +8700,7 @@ def read(self, iprot): self.nosuch = set() (_etype422, _size419) = iprot.readSetBegin() for _i423 in xrange(_size419): - _elem424 = iprot.readI64(); + _elem424 = iprot.readI64() self.nosuch.add(_elem424) iprot.readSetEnd() else: @@ -8580,27 +8794,27 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.dbname = iprot.readString(); + self.dbname = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tablename = iprot.readString(); + self.tablename = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.partitionname = iprot.readString(); + self.partitionname = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.I32: - self.type = iprot.readI32(); + self.type = iprot.readI32() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.STRING: - self.runas = iprot.readString(); + self.runas = iprot.readString() else: iprot.skip(ftype) else: @@ -8723,6 +8937,10 @@ class ShowCompactResponseElement: - workerid - start - runAs + - hightestTxnId + - metaInfo + - endTime + - hadoopJobId """ thrift_spec = ( @@ -8735,9 +8953,13 @@ class ShowCompactResponseElement: (6, TType.STRING, 'workerid', None, None, ), # 6 (7, TType.I64, 'start', None, None, ), # 7 (8, TType.STRING, 'runAs', None, None, ), # 8 + (9, TType.I64, 'hightestTxnId', None, None, ), # 9 + (10, TType.STRING, 'metaInfo', None, None, ), # 10 + (11, TType.I64, 'endTime', None, None, ), # 11 + (12, TType.STRING, 'hadoopJobId', None, "None", ), # 12 ) - def __init__(self, dbname=None, tablename=None, partitionname=None, type=None, state=None, workerid=None, start=None, runAs=None,): + def __init__(self, dbname=None, tablename=None, partitionname=None, type=None, state=None, workerid=None, start=None, runAs=None, hightestTxnId=None, metaInfo=None, endTime=None, hadoopJobId=thrift_spec[12][4],): self.dbname = dbname self.tablename = tablename self.partitionname = partitionname @@ -8746,6 +8968,10 @@ def __init__(self, dbname=None, tablename=None, partitionname=None, type=None, s self.workerid = workerid self.start = start self.runAs = runAs + self.hightestTxnId = hightestTxnId + self.metaInfo = metaInfo + self.endTime = endTime + self.hadoopJobId = hadoopJobId 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: @@ -8758,42 +8984,62 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.dbname = iprot.readString(); + self.dbname = iprot.readString() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.tablename = iprot.readString(); + self.tablename = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.partitionname = iprot.readString(); + self.partitionname = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.I32: - self.type = iprot.readI32(); + self.type = iprot.readI32() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.STRING: - self.state = iprot.readString(); + self.state = iprot.readString() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.STRING: - self.workerid = iprot.readString(); + self.workerid = iprot.readString() else: iprot.skip(ftype) elif fid == 7: if ftype == TType.I64: - self.start = iprot.readI64(); + self.start = iprot.readI64() else: iprot.skip(ftype) elif fid == 8: if ftype == TType.STRING: - self.runAs = iprot.readString(); + self.runAs = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 9: + if ftype == TType.I64: + self.hightestTxnId = iprot.readI64() + else: + iprot.skip(ftype) + elif fid == 10: + if ftype == TType.STRING: + self.metaInfo = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 11: + if ftype == TType.I64: + self.endTime = iprot.readI64() + else: + iprot.skip(ftype) + elif fid == 12: + if ftype == TType.STRING: + self.hadoopJobId = iprot.readString() else: iprot.skip(ftype) else: @@ -8838,6 +9084,22 @@ def write(self, oprot): oprot.writeFieldBegin('runAs', TType.STRING, 8) oprot.writeString(self.runAs) oprot.writeFieldEnd() + if self.hightestTxnId is not None: + oprot.writeFieldBegin('hightestTxnId', TType.I64, 9) + oprot.writeI64(self.hightestTxnId) + oprot.writeFieldEnd() + if self.metaInfo is not None: + oprot.writeFieldBegin('metaInfo', TType.STRING, 10) + oprot.writeString(self.metaInfo) + oprot.writeFieldEnd() + if self.endTime is not None: + oprot.writeFieldBegin('endTime', TType.I64, 11) + oprot.writeI64(self.endTime) + oprot.writeFieldEnd() + if self.hadoopJobId is not None: + oprot.writeFieldBegin('hadoopJobId', TType.STRING, 12) + oprot.writeString(self.hadoopJobId) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -8863,6 +9125,10 @@ def __hash__(self): value = (value * 31) ^ hash(self.workerid) value = (value * 31) ^ hash(self.start) value = (value * 31) ^ hash(self.runAs) + value = (value * 31) ^ hash(self.hightestTxnId) + value = (value * 31) ^ hash(self.metaInfo) + value = (value * 31) ^ hash(self.endTime) + value = (value * 31) ^ hash(self.hadoopJobId) return value def __repr__(self): @@ -8986,17 +9252,17 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I64: - self.txnid = iprot.readI64(); + self.txnid = iprot.readI64() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRING: - self.dbname = iprot.readString(); + self.dbname = iprot.readString() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.tablename = iprot.readString(); + self.tablename = iprot.readString() else: iprot.skip(ftype) elif fid == 4: @@ -9004,7 +9270,7 @@ def read(self, iprot): self.partitionnames = [] (_etype437, _size434) = iprot.readListBegin() for _i438 in xrange(_size434): - _elem439 = iprot.readString(); + _elem439 = iprot.readString() self.partitionnames.append(_elem439) iprot.readListEnd() else: @@ -9100,12 +9366,12 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I64: - self.lastEvent = iprot.readI64(); + self.lastEvent = iprot.readI64() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.I32: - self.maxEvents = iprot.readI32(); + self.maxEvents = iprot.readI32() else: iprot.skip(ftype) else: @@ -9192,32 +9458,32 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I64: - self.eventId = iprot.readI64(); + self.eventId = iprot.readI64() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.I32: - self.eventTime = iprot.readI32(); + self.eventTime = iprot.readI32() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.eventType = iprot.readString(); + self.eventType = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.STRING: - self.dbName = iprot.readString(); + self.dbName = iprot.readString() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.STRING: - self.tableName = iprot.readString(); + self.tableName = iprot.readString() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.STRING: - self.message = iprot.readString(); + self.message = iprot.readString() else: iprot.skip(ftype) else: @@ -9391,7 +9657,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.I64: - self.eventId = iprot.readI64(); + self.eventId = iprot.readI64() else: iprot.skip(ftype) else: @@ -9461,7 +9727,7 @@ def read(self, iprot): self.filesAdded = [] (_etype451, _size448) = iprot.readListBegin() for _i452 in xrange(_size448): - _elem453 = iprot.readString(); + _elem453 = iprot.readString() self.filesAdded.append(_elem453) iprot.readListEnd() else: @@ -9611,7 +9877,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.BOOL: - self.successful = iprot.readBool(); + self.successful = iprot.readBool() else: iprot.skip(ftype) elif fid == 2: @@ -9622,12 +9888,12 @@ def read(self, iprot): iprot.skip(ftype) elif fid == 3: if ftype == TType.STRING: - self.dbName = iprot.readString(); + self.dbName = iprot.readString() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.STRING: - self.tableName = iprot.readString(); + self.tableName = iprot.readString() else: iprot.skip(ftype) elif fid == 5: @@ -9635,7 +9901,7 @@ def read(self, iprot): self.partitionVals = [] (_etype458, _size455) = iprot.readListBegin() for _i459 in xrange(_size455): - _elem460 = iprot.readString(); + _elem460 = iprot.readString() self.partitionVals.append(_elem460) iprot.readListEnd() else: @@ -9849,7 +10115,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.message = iprot.readString(); + self.message = iprot.readString() else: iprot.skip(ftype) else: @@ -9917,7 +10183,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.message = iprot.readString(); + self.message = iprot.readString() else: iprot.skip(ftype) else: @@ -9985,7 +10251,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.message = iprot.readString(); + self.message = iprot.readString() else: iprot.skip(ftype) else: @@ -10053,7 +10319,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.message = iprot.readString(); + self.message = iprot.readString() else: iprot.skip(ftype) else: @@ -10121,7 +10387,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.message = iprot.readString(); + self.message = iprot.readString() else: iprot.skip(ftype) else: @@ -10189,7 +10455,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.message = iprot.readString(); + self.message = iprot.readString() else: iprot.skip(ftype) else: @@ -10257,7 +10523,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.message = iprot.readString(); + self.message = iprot.readString() else: iprot.skip(ftype) else: @@ -10325,7 +10591,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.message = iprot.readString(); + self.message = iprot.readString() else: iprot.skip(ftype) else: @@ -10393,7 +10659,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.message = iprot.readString(); + self.message = iprot.readString() else: iprot.skip(ftype) else: @@ -10461,7 +10727,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.message = iprot.readString(); + self.message = iprot.readString() else: iprot.skip(ftype) else: @@ -10529,7 +10795,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.message = iprot.readString(); + self.message = iprot.readString() else: iprot.skip(ftype) else: @@ -10597,7 +10863,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.message = iprot.readString(); + self.message = iprot.readString() else: iprot.skip(ftype) else: @@ -10665,7 +10931,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.message = iprot.readString(); + self.message = iprot.readString() else: iprot.skip(ftype) else: @@ -10733,7 +10999,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.message = iprot.readString(); + self.message = iprot.readString() else: iprot.skip(ftype) else: @@ -10801,7 +11067,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.message = iprot.readString(); + self.message = iprot.readString() else: iprot.skip(ftype) else: @@ -10869,7 +11135,7 @@ def read(self, iprot): break if fid == 1: if ftype == TType.STRING: - self.message = iprot.readString(); + self.message = iprot.readString() else: iprot.skip(ftype) else: diff --git metastore/src/gen/thrift/gen-rb/hive_metastore_constants.rb metastore/src/gen/thrift/gen-rb/hive_metastore_constants.rb index 7ef6f43..eeccc84 100644 --- metastore/src/gen/thrift/gen-rb/hive_metastore_constants.rb +++ metastore/src/gen/thrift/gen-rb/hive_metastore_constants.rb @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.2) +# Autogenerated by Thrift Compiler (0.9.3) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb index 4bd4302..0028f48 100644 --- metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.2) +# Autogenerated by Thrift Compiler (0.9.3) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # @@ -1552,12 +1552,18 @@ class TxnInfo STATE = 2 USER = 3 HOSTNAME = 4 + AGENTINFO = 5 + HEARTBEATCOUNT = 6 + METAINFO = 7 FIELDS = { ID => {:type => ::Thrift::Types::I64, :name => 'id'}, STATE => {:type => ::Thrift::Types::I32, :name => 'state', :enum_class => ::TxnState}, USER => {:type => ::Thrift::Types::STRING, :name => 'user'}, - HOSTNAME => {:type => ::Thrift::Types::STRING, :name => 'hostname'} + HOSTNAME => {:type => ::Thrift::Types::STRING, :name => 'hostname'}, + AGENTINFO => {:type => ::Thrift::Types::STRING, :name => 'agentInfo', :default => %q"Unknown", :optional => true}, + HEARTBEATCOUNT => {:type => ::Thrift::Types::I32, :name => 'heartbeatCount', :default => 0, :optional => true}, + METAINFO => {:type => ::Thrift::Types::STRING, :name => 'metaInfo', :optional => true} } def struct_fields; FIELDS; end @@ -1620,11 +1626,13 @@ class OpenTxnRequest NUM_TXNS = 1 USER = 2 HOSTNAME = 3 + AGENTINFO = 4 FIELDS = { NUM_TXNS => {:type => ::Thrift::Types::I32, :name => 'num_txns'}, USER => {:type => ::Thrift::Types::STRING, :name => 'user'}, - HOSTNAME => {:type => ::Thrift::Types::STRING, :name => 'hostname'} + HOSTNAME => {:type => ::Thrift::Types::STRING, :name => 'hostname'}, + AGENTINFO => {:type => ::Thrift::Types::STRING, :name => 'agentInfo', :default => %q"Unknown", :optional => true} } def struct_fields; FIELDS; end @@ -1728,12 +1736,14 @@ class LockRequest TXNID = 2 USER = 3 HOSTNAME = 4 + AGENTINFO = 5 FIELDS = { COMPONENT => {:type => ::Thrift::Types::LIST, :name => 'component', :element => {:type => ::Thrift::Types::STRUCT, :class => ::LockComponent}}, TXNID => {:type => ::Thrift::Types::I64, :name => 'txnid', :optional => true}, USER => {:type => ::Thrift::Types::STRING, :name => 'user'}, - HOSTNAME => {:type => ::Thrift::Types::STRING, :name => 'hostname'} + HOSTNAME => {:type => ::Thrift::Types::STRING, :name => 'hostname'}, + AGENTINFO => {:type => ::Thrift::Types::STRING, :name => 'agentInfo', :default => %q"Unknown", :optional => true} } def struct_fields; FIELDS; end @@ -1773,9 +1783,13 @@ end class CheckLockRequest include ::Thrift::Struct, ::Thrift::Struct_Union LOCKID = 1 + TXNID = 2 + ELAPSED_MS = 3 FIELDS = { - LOCKID => {:type => ::Thrift::Types::I64, :name => 'lockid'} + LOCKID => {:type => ::Thrift::Types::I64, :name => 'lockid'}, + TXNID => {:type => ::Thrift::Types::I64, :name => 'txnid', :optional => true}, + ELAPSED_MS => {:type => ::Thrift::Types::I64, :name => 'elapsed_ms', :optional => true} } def struct_fields; FIELDS; end @@ -1806,9 +1820,16 @@ end class ShowLocksRequest include ::Thrift::Struct, ::Thrift::Struct_Union + DBNAME = 1 + TABLENAME = 2 + PARTNAME = 3 + ISEXTENDED = 4 FIELDS = { - + DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbname', :optional => true}, + TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tablename', :optional => true}, + PARTNAME => {:type => ::Thrift::Types::STRING, :name => 'partname', :optional => true}, + ISEXTENDED => {:type => ::Thrift::Types::BOOL, :name => 'isExtended', :default => false, :optional => true} } def struct_fields; FIELDS; end @@ -1832,6 +1853,11 @@ class ShowLocksResponseElement ACQUIREDAT = 9 USER = 10 HOSTNAME = 11 + HEARTBEATCOUNT = 12 + AGENTINFO = 13 + BLOCKEDBYEXTID = 14 + BLOCKEDBYINTID = 15 + LOCKIDINTERNAL = 16 FIELDS = { LOCKID => {:type => ::Thrift::Types::I64, :name => 'lockid'}, @@ -1844,7 +1870,12 @@ class ShowLocksResponseElement LASTHEARTBEAT => {:type => ::Thrift::Types::I64, :name => 'lastheartbeat'}, ACQUIREDAT => {:type => ::Thrift::Types::I64, :name => 'acquiredat', :optional => true}, USER => {:type => ::Thrift::Types::STRING, :name => 'user'}, - HOSTNAME => {:type => ::Thrift::Types::STRING, :name => 'hostname'} + HOSTNAME => {:type => ::Thrift::Types::STRING, :name => 'hostname'}, + HEARTBEATCOUNT => {:type => ::Thrift::Types::I32, :name => 'heartbeatCount', :default => 0, :optional => true}, + AGENTINFO => {:type => ::Thrift::Types::STRING, :name => 'agentInfo', :optional => true}, + BLOCKEDBYEXTID => {:type => ::Thrift::Types::I64, :name => 'blockedByExtId', :optional => true}, + BLOCKEDBYINTID => {:type => ::Thrift::Types::I64, :name => 'blockedByIntId', :optional => true}, + LOCKIDINTERNAL => {:type => ::Thrift::Types::I64, :name => 'lockIdInternal', :optional => true} } def struct_fields; FIELDS; end @@ -1997,6 +2028,10 @@ class ShowCompactResponseElement WORKERID = 6 START = 7 RUNAS = 8 + HIGHTESTTXNID = 9 + METAINFO = 10 + ENDTIME = 11 + HADOOPJOBID = 12 FIELDS = { DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbname'}, @@ -2006,7 +2041,11 @@ class ShowCompactResponseElement STATE => {:type => ::Thrift::Types::STRING, :name => 'state'}, WORKERID => {:type => ::Thrift::Types::STRING, :name => 'workerid', :optional => true}, START => {:type => ::Thrift::Types::I64, :name => 'start', :optional => true}, - RUNAS => {:type => ::Thrift::Types::STRING, :name => 'runAs', :optional => true} + RUNAS => {:type => ::Thrift::Types::STRING, :name => 'runAs', :optional => true}, + HIGHTESTTXNID => {:type => ::Thrift::Types::I64, :name => 'hightestTxnId', :optional => true}, + METAINFO => {:type => ::Thrift::Types::STRING, :name => 'metaInfo', :optional => true}, + ENDTIME => {:type => ::Thrift::Types::I64, :name => 'endTime', :optional => true}, + HADOOPJOBID => {:type => ::Thrift::Types::STRING, :name => 'hadoopJobId', :default => %q"None", :optional => true} } def struct_fields; FIELDS; end diff --git metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb index 4e0d4c7..45f43f6 100644 --- metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb @@ -1,5 +1,5 @@ # -# Autogenerated by Thrift Compiler (0.9.2) +# Autogenerated by Thrift Compiler (0.9.3) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # diff --git pom.xml pom.xml index 5730bc8..7df9005 100644 --- pom.xml +++ pom.xml @@ -145,8 +145,8 @@ 20090211 4.11 2.22 - 0.9.2 - 0.9.2 + 0.9.3 + 0.9.3 1.2.16 1.2.17 2.3 diff --git ql/src/gen/thrift/gen-cpp/queryplan_constants.cpp ql/src/gen/thrift/gen-cpp/queryplan_constants.cpp index 280edbe..9186bad 100644 --- ql/src/gen/thrift/gen-cpp/queryplan_constants.cpp +++ ql/src/gen/thrift/gen-cpp/queryplan_constants.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git ql/src/gen/thrift/gen-cpp/queryplan_constants.h ql/src/gen/thrift/gen-cpp/queryplan_constants.h index 6bee48d..6cc8af0 100644 --- ql/src/gen/thrift/gen-cpp/queryplan_constants.h +++ ql/src/gen/thrift/gen-cpp/queryplan_constants.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git ql/src/gen/thrift/gen-cpp/queryplan_types.cpp ql/src/gen/thrift/gen-cpp/queryplan_types.cpp index a1fb60b..e92d776 100644 --- ql/src/gen/thrift/gen-cpp/queryplan_types.cpp +++ ql/src/gen/thrift/gen-cpp/queryplan_types.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -150,11 +150,9 @@ void Adjacency::__set_adjacencyType(const AdjacencyType::type val) { this->adjacencyType = val; } -const char* Adjacency::ascii_fingerprint = "BC4F8C394677A1003AA9F56ED26D8204"; -const uint8_t Adjacency::binary_fingerprint[16] = {0xBC,0x4F,0x8C,0x39,0x46,0x77,0xA1,0x00,0x3A,0xA9,0xF5,0x6E,0xD2,0x6D,0x82,0x04}; - uint32_t Adjacency::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -225,7 +223,7 @@ uint32_t Adjacency::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Adjacency::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("Adjacency"); xfer += oprot->writeFieldBegin("node", ::apache::thrift::protocol::T_STRING, 1); @@ -250,7 +248,6 @@ uint32_t Adjacency::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -275,14 +272,13 @@ Adjacency& Adjacency::operator=(const Adjacency& other8) { __isset = other8.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const Adjacency& obj) { - using apache::thrift::to_string; +void Adjacency::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "Adjacency("; - out << "node=" << to_string(obj.node); - out << ", " << "children=" << to_string(obj.children); - out << ", " << "adjacencyType=" << to_string(obj.adjacencyType); + out << "node=" << to_string(node); + out << ", " << "children=" << to_string(children); + out << ", " << "adjacencyType=" << to_string(adjacencyType); out << ")"; - return out; } @@ -302,11 +298,9 @@ void Graph::__set_adjacencyList(const std::vector & val) { this->adjacencyList = val; } -const char* Graph::ascii_fingerprint = "1F7FB604B3EF8F7AFB5DEAD15F2FC0B5"; -const uint8_t Graph::binary_fingerprint[16] = {0x1F,0x7F,0xB6,0x04,0xB3,0xEF,0x8F,0x7A,0xFB,0x5D,0xEA,0xD1,0x5F,0x2F,0xC0,0xB5}; - uint32_t Graph::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -389,7 +383,7 @@ uint32_t Graph::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Graph::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("Graph"); xfer += oprot->writeFieldBegin("nodeType", ::apache::thrift::protocol::T_I32, 1); @@ -422,7 +416,6 @@ uint32_t Graph::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -447,14 +440,13 @@ Graph& Graph::operator=(const Graph& other23) { __isset = other23.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const Graph& obj) { - using apache::thrift::to_string; +void Graph::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "Graph("; - out << "nodeType=" << to_string(obj.nodeType); - out << ", " << "roots=" << to_string(obj.roots); - out << ", " << "adjacencyList=" << to_string(obj.adjacencyList); + out << "nodeType=" << to_string(nodeType); + out << ", " << "roots=" << to_string(roots); + out << ", " << "adjacencyList=" << to_string(adjacencyList); out << ")"; - return out; } @@ -486,11 +478,9 @@ void Operator::__set_started(const bool val) { this->started = val; } -const char* Operator::ascii_fingerprint = "30917C758A752485AF223B697479DE6C"; -const uint8_t Operator::binary_fingerprint[16] = {0x30,0x91,0x7C,0x75,0x8A,0x75,0x24,0x85,0xAF,0x22,0x3B,0x69,0x74,0x79,0xDE,0x6C}; - uint32_t Operator::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -603,7 +593,7 @@ uint32_t Operator::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Operator::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("Operator"); xfer += oprot->writeFieldBegin("operatorId", ::apache::thrift::protocol::T_STRING, 1); @@ -650,7 +640,6 @@ uint32_t Operator::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -684,17 +673,16 @@ Operator& Operator::operator=(const Operator& other42) { __isset = other42.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const Operator& obj) { - using apache::thrift::to_string; +void Operator::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "Operator("; - out << "operatorId=" << to_string(obj.operatorId); - out << ", " << "operatorType=" << to_string(obj.operatorType); - out << ", " << "operatorAttributes=" << to_string(obj.operatorAttributes); - out << ", " << "operatorCounters=" << to_string(obj.operatorCounters); - out << ", " << "done=" << to_string(obj.done); - out << ", " << "started=" << to_string(obj.started); + out << "operatorId=" << to_string(operatorId); + out << ", " << "operatorType=" << to_string(operatorType); + out << ", " << "operatorAttributes=" << to_string(operatorAttributes); + out << ", " << "operatorCounters=" << to_string(operatorCounters); + out << ", " << "done=" << to_string(done); + out << ", " << "started=" << to_string(started); out << ")"; - return out; } @@ -736,11 +724,9 @@ void Task::__set_started(const bool val) { this->started = val; } -const char* Task::ascii_fingerprint = "AC741A136EFA51843AFC3A12F6A793D1"; -const uint8_t Task::binary_fingerprint[16] = {0xAC,0x74,0x1A,0x13,0x6E,0xFA,0x51,0x84,0x3A,0xFC,0x3A,0x12,0xF6,0xA7,0x93,0xD1}; - uint32_t Task::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -881,7 +867,7 @@ uint32_t Task::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Task::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("Task"); xfer += oprot->writeFieldBegin("taskId", ::apache::thrift::protocol::T_STRING, 1); @@ -946,7 +932,6 @@ uint32_t Task::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -986,19 +971,18 @@ Task& Task::operator=(const Task& other67) { __isset = other67.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const Task& obj) { - using apache::thrift::to_string; +void Task::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "Task("; - out << "taskId=" << to_string(obj.taskId); - out << ", " << "taskType=" << to_string(obj.taskType); - out << ", " << "taskAttributes=" << to_string(obj.taskAttributes); - out << ", " << "taskCounters=" << to_string(obj.taskCounters); - out << ", " << "operatorGraph="; (obj.__isset.operatorGraph ? (out << to_string(obj.operatorGraph)) : (out << "")); - out << ", " << "operatorList="; (obj.__isset.operatorList ? (out << to_string(obj.operatorList)) : (out << "")); - out << ", " << "done=" << to_string(obj.done); - out << ", " << "started=" << to_string(obj.started); + out << "taskId=" << to_string(taskId); + out << ", " << "taskType=" << to_string(taskType); + out << ", " << "taskAttributes=" << to_string(taskAttributes); + out << ", " << "taskCounters=" << to_string(taskCounters); + out << ", " << "operatorGraph="; (__isset.operatorGraph ? (out << to_string(operatorGraph)) : (out << "")); + out << ", " << "operatorList="; (__isset.operatorList ? (out << to_string(operatorList)) : (out << "")); + out << ", " << "done=" << to_string(done); + out << ", " << "started=" << to_string(started); out << ")"; - return out; } @@ -1034,11 +1018,9 @@ void Stage::__set_started(const bool val) { this->started = val; } -const char* Stage::ascii_fingerprint = "86EA3C7B0690AFED21A3D479E2B32378"; -const uint8_t Stage::binary_fingerprint[16] = {0x86,0xEA,0x3C,0x7B,0x06,0x90,0xAF,0xED,0x21,0xA3,0xD4,0x79,0xE2,0xB3,0x23,0x78}; - uint32_t Stage::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1171,7 +1153,7 @@ uint32_t Stage::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Stage::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("Stage"); xfer += oprot->writeFieldBegin("stageId", ::apache::thrift::protocol::T_STRING, 1); @@ -1230,7 +1212,6 @@ uint32_t Stage::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1267,18 +1248,17 @@ Stage& Stage::operator=(const Stage& other92) { __isset = other92.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const Stage& obj) { - using apache::thrift::to_string; +void Stage::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "Stage("; - out << "stageId=" << to_string(obj.stageId); - out << ", " << "stageType=" << to_string(obj.stageType); - out << ", " << "stageAttributes=" << to_string(obj.stageAttributes); - out << ", " << "stageCounters=" << to_string(obj.stageCounters); - out << ", " << "taskList=" << to_string(obj.taskList); - out << ", " << "done=" << to_string(obj.done); - out << ", " << "started=" << to_string(obj.started); + out << "stageId=" << to_string(stageId); + out << ", " << "stageType=" << to_string(stageType); + out << ", " << "stageAttributes=" << to_string(stageAttributes); + out << ", " << "stageCounters=" << to_string(stageCounters); + out << ", " << "taskList=" << to_string(taskList); + out << ", " << "done=" << to_string(done); + out << ", " << "started=" << to_string(started); out << ")"; - return out; } @@ -1318,11 +1298,9 @@ void Query::__set_started(const bool val) { this->started = val; } -const char* Query::ascii_fingerprint = "68300D63A5D40F2D17B9A9440FF626C1"; -const uint8_t Query::binary_fingerprint[16] = {0x68,0x30,0x0D,0x63,0xA5,0xD4,0x0F,0x2D,0x17,0xB9,0xA9,0x44,0x0F,0xF6,0x26,0xC1}; - uint32_t Query::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1461,7 +1439,7 @@ uint32_t Query::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Query::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("Query"); xfer += oprot->writeFieldBegin("queryId", ::apache::thrift::protocol::T_STRING, 1); @@ -1524,7 +1502,6 @@ uint32_t Query::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1564,19 +1541,18 @@ Query& Query::operator=(const Query& other116) { __isset = other116.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const Query& obj) { - using apache::thrift::to_string; +void Query::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "Query("; - out << "queryId=" << to_string(obj.queryId); - out << ", " << "queryType=" << to_string(obj.queryType); - out << ", " << "queryAttributes=" << to_string(obj.queryAttributes); - out << ", " << "queryCounters=" << to_string(obj.queryCounters); - out << ", " << "stageGraph=" << to_string(obj.stageGraph); - out << ", " << "stageList=" << to_string(obj.stageList); - out << ", " << "done=" << to_string(obj.done); - out << ", " << "started=" << to_string(obj.started); + out << "queryId=" << to_string(queryId); + out << ", " << "queryType=" << to_string(queryType); + out << ", " << "queryAttributes=" << to_string(queryAttributes); + out << ", " << "queryCounters=" << to_string(queryCounters); + out << ", " << "stageGraph=" << to_string(stageGraph); + out << ", " << "stageList=" << to_string(stageList); + out << ", " << "done=" << to_string(done); + out << ", " << "started=" << to_string(started); out << ")"; - return out; } @@ -1596,11 +1572,9 @@ void QueryPlan::__set_started(const bool val) { this->started = val; } -const char* QueryPlan::ascii_fingerprint = "3418D1B0C20C288C8406186700B772E3"; -const uint8_t QueryPlan::binary_fingerprint[16] = {0x34,0x18,0xD1,0xB0,0xC2,0x0C,0x28,0x8C,0x84,0x06,0x18,0x67,0x00,0xB7,0x72,0xE3}; - uint32_t QueryPlan::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1669,7 +1643,7 @@ uint32_t QueryPlan::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t QueryPlan::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("QueryPlan"); xfer += oprot->writeFieldBegin("queries", ::apache::thrift::protocol::T_LIST, 1); @@ -1694,7 +1668,6 @@ uint32_t QueryPlan::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1719,14 +1692,13 @@ QueryPlan& QueryPlan::operator=(const QueryPlan& other124) { __isset = other124.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const QueryPlan& obj) { - using apache::thrift::to_string; +void QueryPlan::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "QueryPlan("; - out << "queries=" << to_string(obj.queries); - out << ", " << "done=" << to_string(obj.done); - out << ", " << "started=" << to_string(obj.started); + out << "queries=" << to_string(queries); + out << ", " << "done=" << to_string(done); + out << ", " << "started=" << to_string(started); out << ")"; - return out; } }}} // namespace diff --git ql/src/gen/thrift/gen-cpp/queryplan_types.h ql/src/gen/thrift/gen-cpp/queryplan_types.h index 932804d..ce37b2e 100644 --- ql/src/gen/thrift/gen-cpp/queryplan_types.h +++ ql/src/gen/thrift/gen-cpp/queryplan_types.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -123,9 +123,6 @@ typedef struct _Adjacency__isset { class Adjacency { public: - static const char* ascii_fingerprint; // = "BC4F8C394677A1003AA9F56ED26D8204"; - static const uint8_t binary_fingerprint[16]; // = {0xBC,0x4F,0x8C,0x39,0x46,0x77,0xA1,0x00,0x3A,0xA9,0xF5,0x6E,0xD2,0x6D,0x82,0x04}; - Adjacency(const Adjacency&); Adjacency& operator=(const Adjacency&); Adjacency() : node(), adjacencyType((AdjacencyType::type)0) { @@ -163,11 +160,17 @@ class Adjacency { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const Adjacency& obj); + virtual void printTo(std::ostream& out) const; }; void swap(Adjacency &a, Adjacency &b); +inline std::ostream& operator<<(std::ostream& out, const Adjacency& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _Graph__isset { _Graph__isset() : nodeType(false), roots(false), adjacencyList(false) {} bool nodeType :1; @@ -178,9 +181,6 @@ typedef struct _Graph__isset { class Graph { public: - static const char* ascii_fingerprint; // = "1F7FB604B3EF8F7AFB5DEAD15F2FC0B5"; - static const uint8_t binary_fingerprint[16]; // = {0x1F,0x7F,0xB6,0x04,0xB3,0xEF,0x8F,0x7A,0xFB,0x5D,0xEA,0xD1,0x5F,0x2F,0xC0,0xB5}; - Graph(const Graph&); Graph& operator=(const Graph&); Graph() : nodeType((NodeType::type)0) { @@ -218,11 +218,17 @@ class Graph { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const Graph& obj); + virtual void printTo(std::ostream& out) const; }; void swap(Graph &a, Graph &b); +inline std::ostream& operator<<(std::ostream& out, const Graph& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _Operator__isset { _Operator__isset() : operatorId(false), operatorType(false), operatorAttributes(false), operatorCounters(false), done(false), started(false) {} bool operatorId :1; @@ -236,9 +242,6 @@ typedef struct _Operator__isset { class Operator { public: - static const char* ascii_fingerprint; // = "30917C758A752485AF223B697479DE6C"; - static const uint8_t binary_fingerprint[16]; // = {0x30,0x91,0x7C,0x75,0x8A,0x75,0x24,0x85,0xAF,0x22,0x3B,0x69,0x74,0x79,0xDE,0x6C}; - Operator(const Operator&); Operator& operator=(const Operator&); Operator() : operatorId(), operatorType((OperatorType::type)0), done(0), started(0) { @@ -291,11 +294,17 @@ class Operator { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const Operator& obj); + virtual void printTo(std::ostream& out) const; }; void swap(Operator &a, Operator &b); +inline std::ostream& operator<<(std::ostream& out, const Operator& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _Task__isset { _Task__isset() : taskId(false), taskType(false), taskAttributes(false), taskCounters(false), operatorGraph(false), operatorList(false), done(false), started(false) {} bool taskId :1; @@ -311,9 +320,6 @@ typedef struct _Task__isset { class Task { public: - static const char* ascii_fingerprint; // = "AC741A136EFA51843AFC3A12F6A793D1"; - static const uint8_t binary_fingerprint[16]; // = {0xAC,0x74,0x1A,0x13,0x6E,0xFA,0x51,0x84,0x3A,0xFC,0x3A,0x12,0xF6,0xA7,0x93,0xD1}; - Task(const Task&); Task& operator=(const Task&); Task() : taskId(), taskType((TaskType::type)0), done(0), started(0) { @@ -380,11 +386,17 @@ class Task { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const Task& obj); + virtual void printTo(std::ostream& out) const; }; void swap(Task &a, Task &b); +inline std::ostream& operator<<(std::ostream& out, const Task& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _Stage__isset { _Stage__isset() : stageId(false), stageType(false), stageAttributes(false), stageCounters(false), taskList(false), done(false), started(false) {} bool stageId :1; @@ -399,9 +411,6 @@ typedef struct _Stage__isset { class Stage { public: - static const char* ascii_fingerprint; // = "86EA3C7B0690AFED21A3D479E2B32378"; - static const uint8_t binary_fingerprint[16]; // = {0x86,0xEA,0x3C,0x7B,0x06,0x90,0xAF,0xED,0x21,0xA3,0xD4,0x79,0xE2,0xB3,0x23,0x78}; - Stage(const Stage&); Stage& operator=(const Stage&); Stage() : stageId(), stageType((StageType::type)0), done(0), started(0) { @@ -459,11 +468,17 @@ class Stage { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const Stage& obj); + virtual void printTo(std::ostream& out) const; }; void swap(Stage &a, Stage &b); +inline std::ostream& operator<<(std::ostream& out, const Stage& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _Query__isset { _Query__isset() : queryId(false), queryType(false), queryAttributes(false), queryCounters(false), stageGraph(false), stageList(false), done(false), started(false) {} bool queryId :1; @@ -479,9 +494,6 @@ typedef struct _Query__isset { class Query { public: - static const char* ascii_fingerprint; // = "68300D63A5D40F2D17B9A9440FF626C1"; - static const uint8_t binary_fingerprint[16]; // = {0x68,0x30,0x0D,0x63,0xA5,0xD4,0x0F,0x2D,0x17,0xB9,0xA9,0x44,0x0F,0xF6,0x26,0xC1}; - Query(const Query&); Query& operator=(const Query&); Query() : queryId(), queryType(), done(0), started(0) { @@ -544,11 +556,17 @@ class Query { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const Query& obj); + virtual void printTo(std::ostream& out) const; }; void swap(Query &a, Query &b); +inline std::ostream& operator<<(std::ostream& out, const Query& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _QueryPlan__isset { _QueryPlan__isset() : queries(false), done(false), started(false) {} bool queries :1; @@ -559,9 +577,6 @@ typedef struct _QueryPlan__isset { class QueryPlan { public: - static const char* ascii_fingerprint; // = "3418D1B0C20C288C8406186700B772E3"; - static const uint8_t binary_fingerprint[16]; // = {0x34,0x18,0xD1,0xB0,0xC2,0x0C,0x28,0x8C,0x84,0x06,0x18,0x67,0x00,0xB7,0x72,0xE3}; - QueryPlan(const QueryPlan&); QueryPlan& operator=(const QueryPlan&); QueryPlan() : done(0), started(0) { @@ -599,11 +614,17 @@ class QueryPlan { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const QueryPlan& obj); + virtual void printTo(std::ostream& out) const; }; void swap(QueryPlan &a, QueryPlan &b); +inline std::ostream& operator<<(std::ostream& out, const QueryPlan& obj) +{ + obj.printTo(out); + return out; +} + }}} // namespace #endif diff --git ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Adjacency.java ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Adjacency.java index 5ea9b6e..0463d90 100644 --- ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Adjacency.java +++ ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Adjacency.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class Adjacency 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("Adjacency"); diff --git ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/AdjacencyType.java ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/AdjacencyType.java index 470cad2..7a716f8 100644 --- ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/AdjacencyType.java +++ ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/AdjacencyType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Graph.java ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Graph.java index e621cfa..23b6290 100644 --- ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Graph.java +++ ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Graph.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class Graph 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("Graph"); diff --git ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/NodeType.java ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/NodeType.java index 5fdbfa3..c3ce662 100644 --- ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/NodeType.java +++ ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/NodeType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Operator.java ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Operator.java index 1b18aab..9c5f987 100644 --- ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Operator.java +++ ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Operator.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class Operator 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("Operator"); @@ -457,10 +457,10 @@ public Object getFieldValue(_Fields field) { return getOperatorCounters(); case DONE: - return Boolean.valueOf(isDone()); + return isDone(); case STARTED: - return Boolean.valueOf(isStarted()); + return isStarted(); } throw new IllegalStateException(); diff --git ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java index 1d17dcb..a002348 100644 --- ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java +++ ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/OperatorType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Query.java ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Query.java index 5c5e0f8..1ea6299 100644 --- ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Query.java +++ ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Query.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class Query 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("Query"); @@ -559,10 +559,10 @@ public Object getFieldValue(_Fields field) { return getStageList(); case DONE: - return Boolean.valueOf(isDone()); + return isDone(); case STARTED: - return Boolean.valueOf(isStarted()); + return isStarted(); } throw new IllegalStateException(); diff --git ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/QueryPlan.java ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/QueryPlan.java index d340d58..8fe2aec 100644 --- ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/QueryPlan.java +++ ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/QueryPlan.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class QueryPlan 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("QueryPlan"); @@ -296,10 +296,10 @@ public Object getFieldValue(_Fields field) { return getQueries(); case DONE: - return Boolean.valueOf(isDone()); + return isDone(); case STARTED: - return Boolean.valueOf(isStarted()); + return isStarted(); } throw new IllegalStateException(); diff --git ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Stage.java ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Stage.java index 7353933..7415c38 100644 --- ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Stage.java +++ ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Stage.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class Stage 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("Stage"); @@ -524,10 +524,10 @@ public Object getFieldValue(_Fields field) { return getTaskList(); case DONE: - return Boolean.valueOf(isDone()); + return isDone(); case STARTED: - return Boolean.valueOf(isStarted()); + return isStarted(); } throw new IllegalStateException(); diff --git ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java index c7b0ff7..f20174c 100644 --- ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java +++ ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Task.java ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Task.java index 09a2e7f..c97ebad 100644 --- ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Task.java +++ ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Task.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class Task 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("Task"); @@ -568,10 +568,10 @@ public Object getFieldValue(_Fields field) { return getOperatorList(); case DONE: - return Boolean.valueOf(isDone()); + return isDone(); case STARTED: - return Boolean.valueOf(isStarted()); + return isStarted(); } throw new IllegalStateException(); diff --git ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/TaskType.java ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/TaskType.java index 8aad073..d77f008 100644 --- ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/TaskType.java +++ ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/TaskType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git ql/src/gen/thrift/gen-php/Types.php ql/src/gen/thrift/gen-php/Types.php index 3dfff1d..e1693f3 100644 --- ql/src/gen/thrift/gen-php/Types.php +++ ql/src/gen/thrift/gen-php/Types.php @@ -1,8 +1,6 @@ unionMStringString = val; } -const char* PropValueUnion::ascii_fingerprint = "123CD9D82D5B5054B5054EFD63FC8590"; -const uint8_t PropValueUnion::binary_fingerprint[16] = {0x12,0x3C,0xD9,0xD8,0x2D,0x5B,0x50,0x54,0xB5,0x05,0x4E,0xFD,0x63,0xFC,0x85,0x90}; - uint32_t PropValueUnion::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -171,7 +169,7 @@ uint32_t PropValueUnion::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t PropValueUnion::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("PropValueUnion"); if (this->__isset.intValue) { @@ -226,7 +224,6 @@ uint32_t PropValueUnion::write(::apache::thrift::protocol::TProtocol* oprot) con xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -263,18 +260,17 @@ PropValueUnion& PropValueUnion::operator=(const PropValueUnion& other15) { __isset = other15.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const PropValueUnion& obj) { - using apache::thrift::to_string; +void PropValueUnion::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "PropValueUnion("; - out << "intValue="; (obj.__isset.intValue ? (out << to_string(obj.intValue)) : (out << "")); - out << ", " << "longValue="; (obj.__isset.longValue ? (out << to_string(obj.longValue)) : (out << "")); - out << ", " << "stringValue="; (obj.__isset.stringValue ? (out << to_string(obj.stringValue)) : (out << "")); - out << ", " << "doubleValue="; (obj.__isset.doubleValue ? (out << to_string(obj.doubleValue)) : (out << "")); - out << ", " << "flag="; (obj.__isset.flag ? (out << to_string(obj.flag)) : (out << "")); - out << ", " << "lString=" << to_string(obj.lString); - out << ", " << "unionMStringString=" << to_string(obj.unionMStringString); + out << "intValue="; (__isset.intValue ? (out << to_string(intValue)) : (out << "")); + out << ", " << "longValue="; (__isset.longValue ? (out << to_string(longValue)) : (out << "")); + out << ", " << "stringValue="; (__isset.stringValue ? (out << to_string(stringValue)) : (out << "")); + out << ", " << "doubleValue="; (__isset.doubleValue ? (out << to_string(doubleValue)) : (out << "")); + out << ", " << "flag="; (__isset.flag ? (out << to_string(flag)) : (out << "")); + out << ", " << "lString=" << to_string(lString); + out << ", " << "unionMStringString=" << to_string(unionMStringString); out << ")"; - return out; } @@ -294,11 +290,9 @@ void IntString::__set_underscore_int(const int32_t val) { this->underscore_int = val; } -const char* IntString::ascii_fingerprint = "52C6DAB6CF51AF617111F6D3964C6503"; -const uint8_t IntString::binary_fingerprint[16] = {0x52,0xC6,0xDA,0xB6,0xCF,0x51,0xAF,0x61,0x71,0x11,0xF6,0xD3,0x96,0x4C,0x65,0x03}; - uint32_t IntString::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -355,7 +349,7 @@ uint32_t IntString::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t IntString::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("IntString"); xfer += oprot->writeFieldBegin("myint", ::apache::thrift::protocol::T_I32, 1); @@ -372,7 +366,6 @@ uint32_t IntString::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -397,14 +390,13 @@ IntString& IntString::operator=(const IntString& other17) { __isset = other17.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const IntString& obj) { - using apache::thrift::to_string; +void IntString::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "IntString("; - out << "myint=" << to_string(obj.myint); - out << ", " << "myString=" << to_string(obj.myString); - out << ", " << "underscore_int=" << to_string(obj.underscore_int); + out << "myint=" << to_string(myint); + out << ", " << "myString=" << to_string(myString); + out << ", " << "underscore_int=" << to_string(underscore_int); out << ")"; - return out; } @@ -452,11 +444,9 @@ void Complex::__set_unionField3(const PropValueUnion& val) { this->unionField3 = val; } -const char* Complex::ascii_fingerprint = "FFA84FEA7037F5858F2BFEDA73AD679A"; -const uint8_t Complex::binary_fingerprint[16] = {0xFF,0xA8,0x4F,0xEA,0x70,0x37,0xF5,0x85,0x8F,0x2B,0xFE,0xDA,0x73,0xAD,0x67,0x9A}; - uint32_t Complex::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -665,7 +655,7 @@ uint32_t Complex::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t Complex::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("Complex"); xfer += oprot->writeFieldBegin("aint", ::apache::thrift::protocol::T_I32, 1); @@ -770,7 +760,6 @@ uint32_t Complex::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -816,21 +805,20 @@ Complex& Complex::operator=(const Complex& other69) { __isset = other69.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const Complex& obj) { - using apache::thrift::to_string; +void Complex::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "Complex("; - out << "aint=" << to_string(obj.aint); - out << ", " << "aString=" << to_string(obj.aString); - out << ", " << "lint=" << to_string(obj.lint); - out << ", " << "lString=" << to_string(obj.lString); - out << ", " << "lintString=" << to_string(obj.lintString); - out << ", " << "mStringString=" << to_string(obj.mStringString); - out << ", " << "attributes=" << to_string(obj.attributes); - out << ", " << "unionField1=" << to_string(obj.unionField1); - out << ", " << "unionField2=" << to_string(obj.unionField2); - out << ", " << "unionField3=" << to_string(obj.unionField3); + out << "aint=" << to_string(aint); + out << ", " << "aString=" << to_string(aString); + out << ", " << "lint=" << to_string(lint); + out << ", " << "lString=" << to_string(lString); + out << ", " << "lintString=" << to_string(lintString); + out << ", " << "mStringString=" << to_string(mStringString); + out << ", " << "attributes=" << to_string(attributes); + out << ", " << "unionField1=" << to_string(unionField1); + out << ", " << "unionField2=" << to_string(unionField2); + out << ", " << "unionField3=" << to_string(unionField3); out << ")"; - return out; } @@ -846,11 +834,9 @@ void SetIntString::__set_aString(const std::string& val) { this->aString = val; } -const char* SetIntString::ascii_fingerprint = "842B41C940D05DFB16183142A90DFC54"; -const uint8_t SetIntString::binary_fingerprint[16] = {0x84,0x2B,0x41,0xC9,0x40,0xD0,0x5D,0xFB,0x16,0x18,0x31,0x42,0xA9,0x0D,0xFC,0x54}; - uint32_t SetIntString::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -912,7 +898,7 @@ uint32_t SetIntString::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t SetIntString::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("SetIntString"); xfer += oprot->writeFieldBegin("sIntString", ::apache::thrift::protocol::T_SET, 1); @@ -933,7 +919,6 @@ uint32_t SetIntString::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -955,13 +940,12 @@ SetIntString& SetIntString::operator=(const SetIntString& other78) { __isset = other78.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const SetIntString& obj) { - using apache::thrift::to_string; +void SetIntString::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "SetIntString("; - out << "sIntString=" << to_string(obj.sIntString); - out << ", " << "aString=" << to_string(obj.aString); + out << "sIntString=" << to_string(sIntString); + out << ", " << "aString=" << to_string(aString); out << ")"; - return out; } diff --git serde/src/gen/thrift/gen-cpp/complex_types.h serde/src/gen/thrift/gen-cpp/complex_types.h index 2637720..38fa559 100644 --- serde/src/gen/thrift/gen-cpp/complex_types.h +++ serde/src/gen/thrift/gen-cpp/complex_types.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -41,9 +41,6 @@ typedef struct _PropValueUnion__isset { class PropValueUnion { public: - static const char* ascii_fingerprint; // = "123CD9D82D5B5054B5054EFD63FC8590"; - static const uint8_t binary_fingerprint[16]; // = {0x12,0x3C,0xD9,0xD8,0x2D,0x5B,0x50,0x54,0xB5,0x05,0x4E,0xFD,0x63,0xFC,0x85,0x90}; - PropValueUnion(const PropValueUnion&); PropValueUnion& operator=(const PropValueUnion&); PropValueUnion() : intValue(0), longValue(0), stringValue(), doubleValue(0), flag(0) { @@ -111,11 +108,17 @@ class PropValueUnion { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const PropValueUnion& obj); + virtual void printTo(std::ostream& out) const; }; void swap(PropValueUnion &a, PropValueUnion &b); +inline std::ostream& operator<<(std::ostream& out, const PropValueUnion& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _IntString__isset { _IntString__isset() : myint(false), myString(false), underscore_int(false) {} bool myint :1; @@ -126,9 +129,6 @@ typedef struct _IntString__isset { class IntString { public: - static const char* ascii_fingerprint; // = "52C6DAB6CF51AF617111F6D3964C6503"; - static const uint8_t binary_fingerprint[16]; // = {0x52,0xC6,0xDA,0xB6,0xCF,0x51,0xAF,0x61,0x71,0x11,0xF6,0xD3,0x96,0x4C,0x65,0x03}; - IntString(const IntString&); IntString& operator=(const IntString&); IntString() : myint(0), myString(), underscore_int(0) { @@ -166,11 +166,17 @@ class IntString { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const IntString& obj); + virtual void printTo(std::ostream& out) const; }; void swap(IntString &a, IntString &b); +inline std::ostream& operator<<(std::ostream& out, const IntString& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _Complex__isset { _Complex__isset() : aint(false), aString(false), lint(false), lString(false), lintString(false), mStringString(false), attributes(false), unionField1(false), unionField2(false), unionField3(false) {} bool aint :1; @@ -188,9 +194,6 @@ typedef struct _Complex__isset { class Complex { public: - static const char* ascii_fingerprint; // = "FFA84FEA7037F5858F2BFEDA73AD679A"; - static const uint8_t binary_fingerprint[16]; // = {0xFF,0xA8,0x4F,0xEA,0x70,0x37,0xF5,0x85,0x8F,0x2B,0xFE,0xDA,0x73,0xAD,0x67,0x9A}; - Complex(const Complex&); Complex& operator=(const Complex&); Complex() : aint(0), aString() { @@ -263,11 +266,17 @@ class Complex { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const Complex& obj); + virtual void printTo(std::ostream& out) const; }; void swap(Complex &a, Complex &b); +inline std::ostream& operator<<(std::ostream& out, const Complex& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _SetIntString__isset { _SetIntString__isset() : sIntString(false), aString(false) {} bool sIntString :1; @@ -277,9 +286,6 @@ typedef struct _SetIntString__isset { class SetIntString { public: - static const char* ascii_fingerprint; // = "842B41C940D05DFB16183142A90DFC54"; - static const uint8_t binary_fingerprint[16]; // = {0x84,0x2B,0x41,0xC9,0x40,0xD0,0x5D,0xFB,0x16,0x18,0x31,0x42,0xA9,0x0D,0xFC,0x54}; - SetIntString(const SetIntString&); SetIntString& operator=(const SetIntString&); SetIntString() : aString() { @@ -312,11 +318,17 @@ class SetIntString { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const SetIntString& obj); + virtual void printTo(std::ostream& out) const; }; void swap(SetIntString &a, SetIntString &b); +inline std::ostream& operator<<(std::ostream& out, const SetIntString& obj) +{ + obj.printTo(out); + return out; +} + #endif diff --git serde/src/gen/thrift/gen-cpp/megastruct_constants.cpp serde/src/gen/thrift/gen-cpp/megastruct_constants.cpp index 9a18a48..c3e3794 100644 --- serde/src/gen/thrift/gen-cpp/megastruct_constants.cpp +++ serde/src/gen/thrift/gen-cpp/megastruct_constants.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git serde/src/gen/thrift/gen-cpp/megastruct_constants.h serde/src/gen/thrift/gen-cpp/megastruct_constants.h index 1b0558f..e08f8a3 100644 --- serde/src/gen/thrift/gen-cpp/megastruct_constants.h +++ serde/src/gen/thrift/gen-cpp/megastruct_constants.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git serde/src/gen/thrift/gen-cpp/megastruct_types.cpp serde/src/gen/thrift/gen-cpp/megastruct_types.cpp index 6123f7d..42f7e31 100644 --- serde/src/gen/thrift/gen-cpp/megastruct_types.cpp +++ serde/src/gen/thrift/gen-cpp/megastruct_types.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -38,11 +38,9 @@ void MiniStruct::__set_my_enum(const MyEnum::type val) { __isset.my_enum = true; } -const char* MiniStruct::ascii_fingerprint = "4ED2B10931906B61ED0B1592EE860A37"; -const uint8_t MiniStruct::binary_fingerprint[16] = {0x4E,0xD2,0xB1,0x09,0x31,0x90,0x6B,0x61,0xED,0x0B,0x15,0x92,0xEE,0x86,0x0A,0x37}; - uint32_t MiniStruct::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -93,7 +91,7 @@ uint32_t MiniStruct::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t MiniStruct::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("MiniStruct"); if (this->__isset.my_string) { @@ -108,7 +106,6 @@ uint32_t MiniStruct::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -130,13 +127,12 @@ MiniStruct& MiniStruct::operator=(const MiniStruct& other2) { __isset = other2.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const MiniStruct& obj) { - using apache::thrift::to_string; +void MiniStruct::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "MiniStruct("; - out << "my_string="; (obj.__isset.my_string ? (out << to_string(obj.my_string)) : (out << "")); - out << ", " << "my_enum="; (obj.__isset.my_enum ? (out << to_string(obj.my_enum)) : (out << "")); + out << "my_string="; (__isset.my_string ? (out << to_string(my_string)) : (out << "")); + out << ", " << "my_enum="; (__isset.my_enum ? (out << to_string(my_enum)) : (out << "")); out << ")"; - return out; } @@ -244,11 +240,9 @@ void MegaStruct::__set_my_structset(const std::set & val) { __isset.my_structset = true; } -const char* MegaStruct::ascii_fingerprint = "9979EEF0CA19988228E64220A3AA9120"; -const uint8_t MegaStruct::binary_fingerprint[16] = {0x99,0x79,0xEE,0xF0,0xCA,0x19,0x98,0x82,0x28,0xE6,0x42,0x20,0xA3,0xAA,0x91,0x20}; - uint32_t MegaStruct::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -644,7 +638,7 @@ uint32_t MegaStruct::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t MegaStruct::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("MegaStruct"); if (this->__isset.my_bool) { @@ -867,7 +861,6 @@ uint32_t MegaStruct::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -943,31 +936,30 @@ MegaStruct& MegaStruct::operator=(const MegaStruct& other110) { __isset = other110.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const MegaStruct& obj) { - using apache::thrift::to_string; +void MegaStruct::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "MegaStruct("; - out << "my_bool="; (obj.__isset.my_bool ? (out << to_string(obj.my_bool)) : (out << "")); - out << ", " << "my_byte="; (obj.__isset.my_byte ? (out << to_string(obj.my_byte)) : (out << "")); - out << ", " << "my_16bit_int="; (obj.__isset.my_16bit_int ? (out << to_string(obj.my_16bit_int)) : (out << "")); - out << ", " << "my_32bit_int="; (obj.__isset.my_32bit_int ? (out << to_string(obj.my_32bit_int)) : (out << "")); - out << ", " << "my_64bit_int="; (obj.__isset.my_64bit_int ? (out << to_string(obj.my_64bit_int)) : (out << "")); - out << ", " << "my_double="; (obj.__isset.my_double ? (out << to_string(obj.my_double)) : (out << "")); - out << ", " << "my_string="; (obj.__isset.my_string ? (out << to_string(obj.my_string)) : (out << "")); - out << ", " << "my_binary="; (obj.__isset.my_binary ? (out << to_string(obj.my_binary)) : (out << "")); - out << ", " << "my_string_string_map="; (obj.__isset.my_string_string_map ? (out << to_string(obj.my_string_string_map)) : (out << "")); - out << ", " << "my_string_enum_map="; (obj.__isset.my_string_enum_map ? (out << to_string(obj.my_string_enum_map)) : (out << "")); - out << ", " << "my_enum_string_map="; (obj.__isset.my_enum_string_map ? (out << to_string(obj.my_enum_string_map)) : (out << "")); - out << ", " << "my_enum_struct_map="; (obj.__isset.my_enum_struct_map ? (out << to_string(obj.my_enum_struct_map)) : (out << "")); - out << ", " << "my_enum_stringlist_map="; (obj.__isset.my_enum_stringlist_map ? (out << to_string(obj.my_enum_stringlist_map)) : (out << "")); - out << ", " << "my_enum_structlist_map="; (obj.__isset.my_enum_structlist_map ? (out << to_string(obj.my_enum_structlist_map)) : (out << "")); - out << ", " << "my_stringlist="; (obj.__isset.my_stringlist ? (out << to_string(obj.my_stringlist)) : (out << "")); - out << ", " << "my_structlist="; (obj.__isset.my_structlist ? (out << to_string(obj.my_structlist)) : (out << "")); - out << ", " << "my_enumlist="; (obj.__isset.my_enumlist ? (out << to_string(obj.my_enumlist)) : (out << "")); - out << ", " << "my_stringset="; (obj.__isset.my_stringset ? (out << to_string(obj.my_stringset)) : (out << "")); - out << ", " << "my_enumset="; (obj.__isset.my_enumset ? (out << to_string(obj.my_enumset)) : (out << "")); - out << ", " << "my_structset="; (obj.__isset.my_structset ? (out << to_string(obj.my_structset)) : (out << "")); + out << "my_bool="; (__isset.my_bool ? (out << to_string(my_bool)) : (out << "")); + out << ", " << "my_byte="; (__isset.my_byte ? (out << to_string(my_byte)) : (out << "")); + out << ", " << "my_16bit_int="; (__isset.my_16bit_int ? (out << to_string(my_16bit_int)) : (out << "")); + out << ", " << "my_32bit_int="; (__isset.my_32bit_int ? (out << to_string(my_32bit_int)) : (out << "")); + out << ", " << "my_64bit_int="; (__isset.my_64bit_int ? (out << to_string(my_64bit_int)) : (out << "")); + out << ", " << "my_double="; (__isset.my_double ? (out << to_string(my_double)) : (out << "")); + out << ", " << "my_string="; (__isset.my_string ? (out << to_string(my_string)) : (out << "")); + out << ", " << "my_binary="; (__isset.my_binary ? (out << to_string(my_binary)) : (out << "")); + out << ", " << "my_string_string_map="; (__isset.my_string_string_map ? (out << to_string(my_string_string_map)) : (out << "")); + out << ", " << "my_string_enum_map="; (__isset.my_string_enum_map ? (out << to_string(my_string_enum_map)) : (out << "")); + out << ", " << "my_enum_string_map="; (__isset.my_enum_string_map ? (out << to_string(my_enum_string_map)) : (out << "")); + out << ", " << "my_enum_struct_map="; (__isset.my_enum_struct_map ? (out << to_string(my_enum_struct_map)) : (out << "")); + out << ", " << "my_enum_stringlist_map="; (__isset.my_enum_stringlist_map ? (out << to_string(my_enum_stringlist_map)) : (out << "")); + out << ", " << "my_enum_structlist_map="; (__isset.my_enum_structlist_map ? (out << to_string(my_enum_structlist_map)) : (out << "")); + out << ", " << "my_stringlist="; (__isset.my_stringlist ? (out << to_string(my_stringlist)) : (out << "")); + out << ", " << "my_structlist="; (__isset.my_structlist ? (out << to_string(my_structlist)) : (out << "")); + out << ", " << "my_enumlist="; (__isset.my_enumlist ? (out << to_string(my_enumlist)) : (out << "")); + out << ", " << "my_stringset="; (__isset.my_stringset ? (out << to_string(my_stringset)) : (out << "")); + out << ", " << "my_enumset="; (__isset.my_enumset ? (out << to_string(my_enumset)) : (out << "")); + out << ", " << "my_structset="; (__isset.my_structset ? (out << to_string(my_structset)) : (out << "")); out << ")"; - return out; } diff --git serde/src/gen/thrift/gen-cpp/megastruct_types.h serde/src/gen/thrift/gen-cpp/megastruct_types.h index e4985dc..d04a814 100644 --- serde/src/gen/thrift/gen-cpp/megastruct_types.h +++ serde/src/gen/thrift/gen-cpp/megastruct_types.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -41,9 +41,6 @@ typedef struct _MiniStruct__isset { class MiniStruct { public: - static const char* ascii_fingerprint; // = "4ED2B10931906B61ED0B1592EE860A37"; - static const uint8_t binary_fingerprint[16]; // = {0x4E,0xD2,0xB1,0x09,0x31,0x90,0x6B,0x61,0xED,0x0B,0x15,0x92,0xEE,0x86,0x0A,0x37}; - MiniStruct(const MiniStruct&); MiniStruct& operator=(const MiniStruct&); MiniStruct() : my_string(), my_enum((MyEnum::type)0) { @@ -80,11 +77,17 @@ class MiniStruct { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const MiniStruct& obj); + virtual void printTo(std::ostream& out) const; }; void swap(MiniStruct &a, MiniStruct &b); +inline std::ostream& operator<<(std::ostream& out, const MiniStruct& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _MegaStruct__isset { _MegaStruct__isset() : my_bool(false), my_byte(false), my_16bit_int(false), my_32bit_int(false), my_64bit_int(false), my_double(false), my_string(false), my_binary(false), my_string_string_map(false), my_string_enum_map(false), my_enum_string_map(false), my_enum_struct_map(false), my_enum_stringlist_map(false), my_enum_structlist_map(false), my_stringlist(false), my_structlist(false), my_enumlist(false), my_stringset(false), my_enumset(false), my_structset(false) {} bool my_bool :1; @@ -112,9 +115,6 @@ typedef struct _MegaStruct__isset { class MegaStruct { public: - static const char* ascii_fingerprint; // = "9979EEF0CA19988228E64220A3AA9120"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x79,0xEE,0xF0,0xCA,0x19,0x98,0x82,0x28,0xE6,0x42,0x20,0xA3,0xAA,0x91,0x20}; - MegaStruct(const MegaStruct&); MegaStruct& operator=(const MegaStruct&); MegaStruct() : my_bool(0), my_byte(0), my_16bit_int(0), my_32bit_int(0), my_64bit_int(0), my_double(0), my_string(), my_binary() { @@ -277,11 +277,17 @@ class MegaStruct { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const MegaStruct& obj); + virtual void printTo(std::ostream& out) const; }; void swap(MegaStruct &a, MegaStruct &b); +inline std::ostream& operator<<(std::ostream& out, const MegaStruct& obj) +{ + obj.printTo(out); + return out; +} + #endif diff --git serde/src/gen/thrift/gen-cpp/serde_constants.cpp serde/src/gen/thrift/gen-cpp/serde_constants.cpp index 196a46f..ce4c250 100644 --- serde/src/gen/thrift/gen-cpp/serde_constants.cpp +++ serde/src/gen/thrift/gen-cpp/serde_constants.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git serde/src/gen/thrift/gen-cpp/serde_constants.h serde/src/gen/thrift/gen-cpp/serde_constants.h index 36bd175..3574b7b 100644 --- serde/src/gen/thrift/gen-cpp/serde_constants.h +++ serde/src/gen/thrift/gen-cpp/serde_constants.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git serde/src/gen/thrift/gen-cpp/serde_types.cpp serde/src/gen/thrift/gen-cpp/serde_types.cpp index a37ff7c..c05f86d 100644 --- serde/src/gen/thrift/gen-cpp/serde_types.cpp +++ serde/src/gen/thrift/gen-cpp/serde_types.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git serde/src/gen/thrift/gen-cpp/serde_types.h serde/src/gen/thrift/gen-cpp/serde_types.h index eb7659a..bdaab33 100644 --- serde/src/gen/thrift/gen-cpp/serde_types.h +++ serde/src/gen/thrift/gen-cpp/serde_types.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp index 0fa57e7..9538dae 100644 --- serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp +++ serde/src/gen/thrift/gen-cpp/testthrift_constants.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git serde/src/gen/thrift/gen-cpp/testthrift_constants.h serde/src/gen/thrift/gen-cpp/testthrift_constants.h index cba3296..45fdc28 100644 --- serde/src/gen/thrift/gen-cpp/testthrift_constants.h +++ serde/src/gen/thrift/gen-cpp/testthrift_constants.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git serde/src/gen/thrift/gen-cpp/testthrift_types.cpp serde/src/gen/thrift/gen-cpp/testthrift_types.cpp index 0cd19b9..c76e2fd 100644 --- serde/src/gen/thrift/gen-cpp/testthrift_types.cpp +++ serde/src/gen/thrift/gen-cpp/testthrift_types.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -22,11 +22,9 @@ void InnerStruct::__set_field0(const int32_t val) { this->field0 = val; } -const char* InnerStruct::ascii_fingerprint = "E86CACEB22240450EDCBEFC3A83970E4"; -const uint8_t InnerStruct::binary_fingerprint[16] = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4}; - uint32_t InnerStruct::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -67,7 +65,7 @@ uint32_t InnerStruct::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t InnerStruct::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("InnerStruct"); xfer += oprot->writeFieldBegin("field0", ::apache::thrift::protocol::T_I32, 1); @@ -76,7 +74,6 @@ uint32_t InnerStruct::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -95,12 +92,11 @@ InnerStruct& InnerStruct::operator=(const InnerStruct& other1) { __isset = other1.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const InnerStruct& obj) { - using apache::thrift::to_string; +void InnerStruct::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "InnerStruct("; - out << "field0=" << to_string(obj.field0); + out << "field0=" << to_string(field0); out << ")"; - return out; } @@ -120,11 +116,9 @@ void ThriftTestObj::__set_field3(const std::vector & val) { this->field3 = val; } -const char* ThriftTestObj::ascii_fingerprint = "2BA5D8DAACFBBE6599779830A6185706"; -const uint8_t ThriftTestObj::binary_fingerprint[16] = {0x2B,0xA5,0xD8,0xDA,0xAC,0xFB,0xBE,0x65,0x99,0x77,0x98,0x30,0xA6,0x18,0x57,0x06}; - uint32_t ThriftTestObj::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -193,7 +187,7 @@ uint32_t ThriftTestObj::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t ThriftTestObj::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftTestObj"); xfer += oprot->writeFieldBegin("field1", ::apache::thrift::protocol::T_I32, 1); @@ -218,7 +212,6 @@ uint32_t ThriftTestObj::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -243,14 +236,13 @@ ThriftTestObj& ThriftTestObj::operator=(const ThriftTestObj& other9) { __isset = other9.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const ThriftTestObj& obj) { - using apache::thrift::to_string; +void ThriftTestObj::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "ThriftTestObj("; - out << "field1=" << to_string(obj.field1); - out << ", " << "field2=" << to_string(obj.field2); - out << ", " << "field3=" << to_string(obj.field3); + out << "field1=" << to_string(field1); + out << ", " << "field2=" << to_string(field2); + out << ", " << "field3=" << to_string(field3); out << ")"; - return out; } diff --git serde/src/gen/thrift/gen-cpp/testthrift_types.h serde/src/gen/thrift/gen-cpp/testthrift_types.h index 8c57e48..a59346a 100644 --- serde/src/gen/thrift/gen-cpp/testthrift_types.h +++ serde/src/gen/thrift/gen-cpp/testthrift_types.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -31,9 +31,6 @@ typedef struct _InnerStruct__isset { class InnerStruct { public: - static const char* ascii_fingerprint; // = "E86CACEB22240450EDCBEFC3A83970E4"; - static const uint8_t binary_fingerprint[16]; // = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4}; - InnerStruct(const InnerStruct&); InnerStruct& operator=(const InnerStruct&); InnerStruct() : field0(0) { @@ -61,11 +58,17 @@ class InnerStruct { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const InnerStruct& obj); + virtual void printTo(std::ostream& out) const; }; void swap(InnerStruct &a, InnerStruct &b); +inline std::ostream& operator<<(std::ostream& out, const InnerStruct& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _ThriftTestObj__isset { _ThriftTestObj__isset() : field1(false), field2(false), field3(false) {} bool field1 :1; @@ -76,9 +79,6 @@ typedef struct _ThriftTestObj__isset { class ThriftTestObj { public: - static const char* ascii_fingerprint; // = "2BA5D8DAACFBBE6599779830A6185706"; - static const uint8_t binary_fingerprint[16]; // = {0x2B,0xA5,0xD8,0xDA,0xAC,0xFB,0xBE,0x65,0x99,0x77,0x98,0x30,0xA6,0x18,0x57,0x06}; - ThriftTestObj(const ThriftTestObj&); ThriftTestObj& operator=(const ThriftTestObj&); ThriftTestObj() : field1(0), field2() { @@ -116,11 +116,17 @@ class ThriftTestObj { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftTestObj& obj); + virtual void printTo(std::ostream& out) const; }; void swap(ThriftTestObj &a, ThriftTestObj &b); +inline std::ostream& operator<<(std::ostream& out, const ThriftTestObj& obj) +{ + obj.printTo(out); + return out; +} + #endif diff --git serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java index f12d4c7..400ea96 100644 --- serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java +++ serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/serdeConstants.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java index db325af..0d4b9bb 100644 --- serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java +++ serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/InnerStruct.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class InnerStruct 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("InnerStruct"); @@ -185,7 +185,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case FIELD0: - return Integer.valueOf(getField0()); + return getField0(); } throw new IllegalStateException(); diff --git serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java index 1232ff9..e0a297e 100644 --- serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java +++ serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde/test/ThriftTestObj.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class ThriftTestObj 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("ThriftTestObj"); @@ -293,7 +293,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case FIELD1: - return Integer.valueOf(getField1()); + return getField1(); case FIELD2: return getField2(); diff --git serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java index 4d2f5bf..f4343c2 100644 --- serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java +++ serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/Complex.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class Complex 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("Complex"); @@ -700,7 +700,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case AINT: - return Integer.valueOf(getAint()); + return getAint(); case A_STRING: return getAString(); diff --git serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java index 23d7363..d4ed67f 100644 --- serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java +++ serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/IntString.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class IntString 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("IntString"); @@ -273,13 +273,13 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case MYINT: - return Integer.valueOf(getMyint()); + return getMyint(); case MY_STRING: return getMyString(); case UNDERSCORE_INT: - return Integer.valueOf(getUnderscore_int()); + return getUnderscore_int(); } throw new IllegalStateException(); diff --git serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java index 9447708..35db5bb 100644 --- serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java +++ serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MegaStruct.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class MegaStruct 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("MegaStruct"); @@ -1238,22 +1238,22 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case MY_BOOL: - return Boolean.valueOf(isMy_bool()); + return isMy_bool(); case MY_BYTE: - return Byte.valueOf(getMy_byte()); + return getMy_byte(); case MY_16BIT_INT: - return Short.valueOf(getMy_16bit_int()); + return getMy_16bit_int(); case MY_32BIT_INT: - return Integer.valueOf(getMy_32bit_int()); + return getMy_32bit_int(); case MY_64BIT_INT: - return Long.valueOf(getMy_64bit_int()); + return getMy_64bit_int(); case MY_DOUBLE: - return Double.valueOf(getMy_double()); + return getMy_double(); case MY_STRING: return getMy_string(); diff --git serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java index d8c46f4..125e45d 100644 --- serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java +++ serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MiniStruct.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class MiniStruct 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("MiniStruct"); diff --git serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java index 03f88c5..e5baf36 100644 --- serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java +++ serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/MyEnum.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java index 2a70482..92d5a0a 100644 --- serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java +++ serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/PropValueUnion.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java index 58498b0..fb7dc37 100644 --- serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java +++ serde/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/serde2/thrift/test/SetIntString.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class SetIntString 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("SetIntString"); diff --git serde/src/gen/thrift/gen-php/Types.php serde/src/gen/thrift/gen-php/Types.php index 8bb2fe3..27c5b25 100644 --- serde/src/gen/thrift/gen-php/Types.php +++ serde/src/gen/thrift/gen-php/Types.php @@ -1,8 +1,6 @@ incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_OpenSession_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -64,7 +65,6 @@ uint32_t TCLIService_OpenSession_args::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -75,7 +75,7 @@ TCLIService_OpenSession_pargs::~TCLIService_OpenSession_pargs() throw() { uint32_t TCLIService_OpenSession_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_OpenSession_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -84,7 +84,6 @@ uint32_t TCLIService_OpenSession_pargs::write(::apache::thrift::protocol::TProto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -95,6 +94,7 @@ TCLIService_OpenSession_result::~TCLIService_OpenSession_result() throw() { uint32_t TCLIService_OpenSession_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; @@ -156,6 +156,7 @@ TCLIService_OpenSession_presult::~TCLIService_OpenSession_presult() throw() { uint32_t TCLIService_OpenSession_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; @@ -201,6 +202,7 @@ TCLIService_CloseSession_args::~TCLIService_CloseSession_args() throw() { uint32_t TCLIService_CloseSession_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; @@ -241,7 +243,7 @@ uint32_t TCLIService_CloseSession_args::read(::apache::thrift::protocol::TProtoc uint32_t TCLIService_CloseSession_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_CloseSession_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -250,7 +252,6 @@ uint32_t TCLIService_CloseSession_args::write(::apache::thrift::protocol::TProto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -261,7 +262,7 @@ TCLIService_CloseSession_pargs::~TCLIService_CloseSession_pargs() throw() { uint32_t TCLIService_CloseSession_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_CloseSession_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -270,7 +271,6 @@ uint32_t TCLIService_CloseSession_pargs::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -281,6 +281,7 @@ TCLIService_CloseSession_result::~TCLIService_CloseSession_result() throw() { uint32_t TCLIService_CloseSession_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; @@ -342,6 +343,7 @@ TCLIService_CloseSession_presult::~TCLIService_CloseSession_presult() throw() { uint32_t TCLIService_CloseSession_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; @@ -387,6 +389,7 @@ TCLIService_GetInfo_args::~TCLIService_GetInfo_args() throw() { uint32_t TCLIService_GetInfo_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; @@ -427,7 +430,7 @@ uint32_t TCLIService_GetInfo_args::read(::apache::thrift::protocol::TProtocol* i uint32_t TCLIService_GetInfo_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_GetInfo_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -436,7 +439,6 @@ uint32_t TCLIService_GetInfo_args::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -447,7 +449,7 @@ TCLIService_GetInfo_pargs::~TCLIService_GetInfo_pargs() throw() { uint32_t TCLIService_GetInfo_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_GetInfo_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -456,7 +458,6 @@ uint32_t TCLIService_GetInfo_pargs::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -467,6 +468,7 @@ TCLIService_GetInfo_result::~TCLIService_GetInfo_result() throw() { uint32_t TCLIService_GetInfo_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; @@ -528,6 +530,7 @@ TCLIService_GetInfo_presult::~TCLIService_GetInfo_presult() throw() { uint32_t TCLIService_GetInfo_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; @@ -573,6 +576,7 @@ TCLIService_ExecuteStatement_args::~TCLIService_ExecuteStatement_args() throw() uint32_t TCLIService_ExecuteStatement_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; @@ -613,7 +617,7 @@ uint32_t TCLIService_ExecuteStatement_args::read(::apache::thrift::protocol::TPr uint32_t TCLIService_ExecuteStatement_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_ExecuteStatement_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -622,7 +626,6 @@ uint32_t TCLIService_ExecuteStatement_args::write(::apache::thrift::protocol::TP xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -633,7 +636,7 @@ TCLIService_ExecuteStatement_pargs::~TCLIService_ExecuteStatement_pargs() throw( uint32_t TCLIService_ExecuteStatement_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_ExecuteStatement_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -642,7 +645,6 @@ uint32_t TCLIService_ExecuteStatement_pargs::write(::apache::thrift::protocol::T xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -653,6 +655,7 @@ TCLIService_ExecuteStatement_result::~TCLIService_ExecuteStatement_result() thro uint32_t TCLIService_ExecuteStatement_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; @@ -714,6 +717,7 @@ TCLIService_ExecuteStatement_presult::~TCLIService_ExecuteStatement_presult() th uint32_t TCLIService_ExecuteStatement_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; @@ -759,6 +763,7 @@ TCLIService_GetTypeInfo_args::~TCLIService_GetTypeInfo_args() throw() { uint32_t TCLIService_GetTypeInfo_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; @@ -799,7 +804,7 @@ uint32_t TCLIService_GetTypeInfo_args::read(::apache::thrift::protocol::TProtoco uint32_t TCLIService_GetTypeInfo_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_GetTypeInfo_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -808,7 +813,6 @@ uint32_t TCLIService_GetTypeInfo_args::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -819,7 +823,7 @@ TCLIService_GetTypeInfo_pargs::~TCLIService_GetTypeInfo_pargs() throw() { uint32_t TCLIService_GetTypeInfo_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_GetTypeInfo_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -828,7 +832,6 @@ uint32_t TCLIService_GetTypeInfo_pargs::write(::apache::thrift::protocol::TProto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -839,6 +842,7 @@ TCLIService_GetTypeInfo_result::~TCLIService_GetTypeInfo_result() throw() { uint32_t TCLIService_GetTypeInfo_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; @@ -900,6 +904,7 @@ TCLIService_GetTypeInfo_presult::~TCLIService_GetTypeInfo_presult() throw() { uint32_t TCLIService_GetTypeInfo_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; @@ -945,6 +950,7 @@ TCLIService_GetCatalogs_args::~TCLIService_GetCatalogs_args() throw() { uint32_t TCLIService_GetCatalogs_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; @@ -985,7 +991,7 @@ uint32_t TCLIService_GetCatalogs_args::read(::apache::thrift::protocol::TProtoco uint32_t TCLIService_GetCatalogs_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_GetCatalogs_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -994,7 +1000,6 @@ uint32_t TCLIService_GetCatalogs_args::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1005,7 +1010,7 @@ TCLIService_GetCatalogs_pargs::~TCLIService_GetCatalogs_pargs() throw() { uint32_t TCLIService_GetCatalogs_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_GetCatalogs_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1014,7 +1019,6 @@ uint32_t TCLIService_GetCatalogs_pargs::write(::apache::thrift::protocol::TProto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1025,6 +1029,7 @@ TCLIService_GetCatalogs_result::~TCLIService_GetCatalogs_result() throw() { uint32_t TCLIService_GetCatalogs_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; @@ -1086,6 +1091,7 @@ TCLIService_GetCatalogs_presult::~TCLIService_GetCatalogs_presult() throw() { uint32_t TCLIService_GetCatalogs_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; @@ -1131,6 +1137,7 @@ TCLIService_GetSchemas_args::~TCLIService_GetSchemas_args() throw() { uint32_t TCLIService_GetSchemas_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; @@ -1171,7 +1178,7 @@ uint32_t TCLIService_GetSchemas_args::read(::apache::thrift::protocol::TProtocol uint32_t TCLIService_GetSchemas_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_GetSchemas_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1180,7 +1187,6 @@ uint32_t TCLIService_GetSchemas_args::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1191,7 +1197,7 @@ TCLIService_GetSchemas_pargs::~TCLIService_GetSchemas_pargs() throw() { uint32_t TCLIService_GetSchemas_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_GetSchemas_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1200,7 +1206,6 @@ uint32_t TCLIService_GetSchemas_pargs::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1211,6 +1216,7 @@ TCLIService_GetSchemas_result::~TCLIService_GetSchemas_result() throw() { uint32_t TCLIService_GetSchemas_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; @@ -1272,6 +1278,7 @@ TCLIService_GetSchemas_presult::~TCLIService_GetSchemas_presult() throw() { uint32_t TCLIService_GetSchemas_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; @@ -1317,6 +1324,7 @@ TCLIService_GetTables_args::~TCLIService_GetTables_args() throw() { uint32_t TCLIService_GetTables_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; @@ -1357,7 +1365,7 @@ uint32_t TCLIService_GetTables_args::read(::apache::thrift::protocol::TProtocol* uint32_t TCLIService_GetTables_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_GetTables_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1366,7 +1374,6 @@ uint32_t TCLIService_GetTables_args::write(::apache::thrift::protocol::TProtocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1377,7 +1384,7 @@ TCLIService_GetTables_pargs::~TCLIService_GetTables_pargs() throw() { uint32_t TCLIService_GetTables_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_GetTables_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1386,7 +1393,6 @@ uint32_t TCLIService_GetTables_pargs::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1397,6 +1403,7 @@ TCLIService_GetTables_result::~TCLIService_GetTables_result() throw() { uint32_t TCLIService_GetTables_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; @@ -1458,6 +1465,7 @@ TCLIService_GetTables_presult::~TCLIService_GetTables_presult() throw() { uint32_t TCLIService_GetTables_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; @@ -1503,6 +1511,7 @@ TCLIService_GetTableTypes_args::~TCLIService_GetTableTypes_args() throw() { uint32_t TCLIService_GetTableTypes_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; @@ -1543,7 +1552,7 @@ uint32_t TCLIService_GetTableTypes_args::read(::apache::thrift::protocol::TProto uint32_t TCLIService_GetTableTypes_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_GetTableTypes_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1552,7 +1561,6 @@ uint32_t TCLIService_GetTableTypes_args::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1563,7 +1571,7 @@ TCLIService_GetTableTypes_pargs::~TCLIService_GetTableTypes_pargs() throw() { uint32_t TCLIService_GetTableTypes_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_GetTableTypes_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1572,7 +1580,6 @@ uint32_t TCLIService_GetTableTypes_pargs::write(::apache::thrift::protocol::TPro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1583,6 +1590,7 @@ TCLIService_GetTableTypes_result::~TCLIService_GetTableTypes_result() throw() { uint32_t TCLIService_GetTableTypes_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; @@ -1644,6 +1652,7 @@ TCLIService_GetTableTypes_presult::~TCLIService_GetTableTypes_presult() throw() uint32_t TCLIService_GetTableTypes_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; @@ -1689,6 +1698,7 @@ TCLIService_GetColumns_args::~TCLIService_GetColumns_args() throw() { uint32_t TCLIService_GetColumns_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; @@ -1729,7 +1739,7 @@ uint32_t TCLIService_GetColumns_args::read(::apache::thrift::protocol::TProtocol uint32_t TCLIService_GetColumns_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_GetColumns_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1738,7 +1748,6 @@ uint32_t TCLIService_GetColumns_args::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1749,7 +1758,7 @@ TCLIService_GetColumns_pargs::~TCLIService_GetColumns_pargs() throw() { uint32_t TCLIService_GetColumns_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_GetColumns_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1758,7 +1767,6 @@ uint32_t TCLIService_GetColumns_pargs::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1769,6 +1777,7 @@ TCLIService_GetColumns_result::~TCLIService_GetColumns_result() throw() { uint32_t TCLIService_GetColumns_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; @@ -1830,6 +1839,7 @@ TCLIService_GetColumns_presult::~TCLIService_GetColumns_presult() throw() { uint32_t TCLIService_GetColumns_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; @@ -1875,6 +1885,7 @@ TCLIService_GetFunctions_args::~TCLIService_GetFunctions_args() throw() { uint32_t TCLIService_GetFunctions_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; @@ -1915,7 +1926,7 @@ uint32_t TCLIService_GetFunctions_args::read(::apache::thrift::protocol::TProtoc uint32_t TCLIService_GetFunctions_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_GetFunctions_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1924,7 +1935,6 @@ uint32_t TCLIService_GetFunctions_args::write(::apache::thrift::protocol::TProto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1935,7 +1945,7 @@ TCLIService_GetFunctions_pargs::~TCLIService_GetFunctions_pargs() throw() { uint32_t TCLIService_GetFunctions_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_GetFunctions_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1944,7 +1954,6 @@ uint32_t TCLIService_GetFunctions_pargs::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1955,6 +1964,7 @@ TCLIService_GetFunctions_result::~TCLIService_GetFunctions_result() throw() { uint32_t TCLIService_GetFunctions_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; @@ -2016,6 +2026,7 @@ TCLIService_GetFunctions_presult::~TCLIService_GetFunctions_presult() throw() { uint32_t TCLIService_GetFunctions_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; @@ -2061,6 +2072,7 @@ TCLIService_GetOperationStatus_args::~TCLIService_GetOperationStatus_args() thro uint32_t TCLIService_GetOperationStatus_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; @@ -2101,7 +2113,7 @@ uint32_t TCLIService_GetOperationStatus_args::read(::apache::thrift::protocol::T uint32_t TCLIService_GetOperationStatus_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_GetOperationStatus_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2110,7 +2122,6 @@ uint32_t TCLIService_GetOperationStatus_args::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2121,7 +2132,7 @@ TCLIService_GetOperationStatus_pargs::~TCLIService_GetOperationStatus_pargs() th uint32_t TCLIService_GetOperationStatus_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_GetOperationStatus_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2130,7 +2141,6 @@ uint32_t TCLIService_GetOperationStatus_pargs::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2141,6 +2151,7 @@ TCLIService_GetOperationStatus_result::~TCLIService_GetOperationStatus_result() uint32_t TCLIService_GetOperationStatus_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; @@ -2202,6 +2213,7 @@ TCLIService_GetOperationStatus_presult::~TCLIService_GetOperationStatus_presult( uint32_t TCLIService_GetOperationStatus_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; @@ -2247,6 +2259,7 @@ TCLIService_CancelOperation_args::~TCLIService_CancelOperation_args() throw() { uint32_t TCLIService_CancelOperation_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; @@ -2287,7 +2300,7 @@ uint32_t TCLIService_CancelOperation_args::read(::apache::thrift::protocol::TPro uint32_t TCLIService_CancelOperation_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_CancelOperation_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2296,7 +2309,6 @@ uint32_t TCLIService_CancelOperation_args::write(::apache::thrift::protocol::TPr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2307,7 +2319,7 @@ TCLIService_CancelOperation_pargs::~TCLIService_CancelOperation_pargs() throw() uint32_t TCLIService_CancelOperation_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_CancelOperation_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2316,7 +2328,6 @@ uint32_t TCLIService_CancelOperation_pargs::write(::apache::thrift::protocol::TP xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2327,6 +2338,7 @@ TCLIService_CancelOperation_result::~TCLIService_CancelOperation_result() throw( uint32_t TCLIService_CancelOperation_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; @@ -2388,6 +2400,7 @@ TCLIService_CancelOperation_presult::~TCLIService_CancelOperation_presult() thro uint32_t TCLIService_CancelOperation_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; @@ -2433,6 +2446,7 @@ TCLIService_CloseOperation_args::~TCLIService_CloseOperation_args() throw() { uint32_t TCLIService_CloseOperation_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; @@ -2473,7 +2487,7 @@ uint32_t TCLIService_CloseOperation_args::read(::apache::thrift::protocol::TProt uint32_t TCLIService_CloseOperation_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_CloseOperation_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2482,7 +2496,6 @@ uint32_t TCLIService_CloseOperation_args::write(::apache::thrift::protocol::TPro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2493,7 +2506,7 @@ TCLIService_CloseOperation_pargs::~TCLIService_CloseOperation_pargs() throw() { uint32_t TCLIService_CloseOperation_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_CloseOperation_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2502,7 +2515,6 @@ uint32_t TCLIService_CloseOperation_pargs::write(::apache::thrift::protocol::TPr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2513,6 +2525,7 @@ TCLIService_CloseOperation_result::~TCLIService_CloseOperation_result() throw() uint32_t TCLIService_CloseOperation_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; @@ -2574,6 +2587,7 @@ TCLIService_CloseOperation_presult::~TCLIService_CloseOperation_presult() throw( uint32_t TCLIService_CloseOperation_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; @@ -2619,6 +2633,7 @@ TCLIService_GetResultSetMetadata_args::~TCLIService_GetResultSetMetadata_args() uint32_t TCLIService_GetResultSetMetadata_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; @@ -2659,7 +2674,7 @@ uint32_t TCLIService_GetResultSetMetadata_args::read(::apache::thrift::protocol: uint32_t TCLIService_GetResultSetMetadata_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_GetResultSetMetadata_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2668,7 +2683,6 @@ uint32_t TCLIService_GetResultSetMetadata_args::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2679,7 +2693,7 @@ TCLIService_GetResultSetMetadata_pargs::~TCLIService_GetResultSetMetadata_pargs( uint32_t TCLIService_GetResultSetMetadata_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_GetResultSetMetadata_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2688,7 +2702,6 @@ uint32_t TCLIService_GetResultSetMetadata_pargs::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2699,6 +2712,7 @@ TCLIService_GetResultSetMetadata_result::~TCLIService_GetResultSetMetadata_resul uint32_t TCLIService_GetResultSetMetadata_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; @@ -2760,6 +2774,7 @@ TCLIService_GetResultSetMetadata_presult::~TCLIService_GetResultSetMetadata_pres uint32_t TCLIService_GetResultSetMetadata_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; @@ -2805,6 +2820,7 @@ TCLIService_FetchResults_args::~TCLIService_FetchResults_args() throw() { uint32_t TCLIService_FetchResults_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; @@ -2845,7 +2861,7 @@ uint32_t TCLIService_FetchResults_args::read(::apache::thrift::protocol::TProtoc uint32_t TCLIService_FetchResults_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_FetchResults_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2854,7 +2870,6 @@ uint32_t TCLIService_FetchResults_args::write(::apache::thrift::protocol::TProto xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2865,7 +2880,7 @@ TCLIService_FetchResults_pargs::~TCLIService_FetchResults_pargs() throw() { uint32_t TCLIService_FetchResults_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_FetchResults_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2874,7 +2889,6 @@ uint32_t TCLIService_FetchResults_pargs::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2885,6 +2899,7 @@ TCLIService_FetchResults_result::~TCLIService_FetchResults_result() throw() { uint32_t TCLIService_FetchResults_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; @@ -2946,6 +2961,7 @@ TCLIService_FetchResults_presult::~TCLIService_FetchResults_presult() throw() { uint32_t TCLIService_FetchResults_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; @@ -2991,6 +3007,7 @@ TCLIService_GetDelegationToken_args::~TCLIService_GetDelegationToken_args() thro uint32_t TCLIService_GetDelegationToken_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; @@ -3031,7 +3048,7 @@ uint32_t TCLIService_GetDelegationToken_args::read(::apache::thrift::protocol::T uint32_t TCLIService_GetDelegationToken_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_GetDelegationToken_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -3040,7 +3057,6 @@ uint32_t TCLIService_GetDelegationToken_args::write(::apache::thrift::protocol:: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3051,7 +3067,7 @@ TCLIService_GetDelegationToken_pargs::~TCLIService_GetDelegationToken_pargs() th uint32_t TCLIService_GetDelegationToken_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_GetDelegationToken_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -3060,7 +3076,6 @@ uint32_t TCLIService_GetDelegationToken_pargs::write(::apache::thrift::protocol: xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3071,6 +3086,7 @@ TCLIService_GetDelegationToken_result::~TCLIService_GetDelegationToken_result() uint32_t TCLIService_GetDelegationToken_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; @@ -3132,6 +3148,7 @@ TCLIService_GetDelegationToken_presult::~TCLIService_GetDelegationToken_presult( uint32_t TCLIService_GetDelegationToken_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; @@ -3177,6 +3194,7 @@ TCLIService_CancelDelegationToken_args::~TCLIService_CancelDelegationToken_args( uint32_t TCLIService_CancelDelegationToken_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; @@ -3217,7 +3235,7 @@ uint32_t TCLIService_CancelDelegationToken_args::read(::apache::thrift::protocol uint32_t TCLIService_CancelDelegationToken_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_CancelDelegationToken_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -3226,7 +3244,6 @@ uint32_t TCLIService_CancelDelegationToken_args::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3237,7 +3254,7 @@ TCLIService_CancelDelegationToken_pargs::~TCLIService_CancelDelegationToken_parg uint32_t TCLIService_CancelDelegationToken_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_CancelDelegationToken_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -3246,7 +3263,6 @@ uint32_t TCLIService_CancelDelegationToken_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3257,6 +3273,7 @@ TCLIService_CancelDelegationToken_result::~TCLIService_CancelDelegationToken_res uint32_t TCLIService_CancelDelegationToken_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; @@ -3318,6 +3335,7 @@ TCLIService_CancelDelegationToken_presult::~TCLIService_CancelDelegationToken_pr uint32_t TCLIService_CancelDelegationToken_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; @@ -3363,6 +3381,7 @@ TCLIService_RenewDelegationToken_args::~TCLIService_RenewDelegationToken_args() uint32_t TCLIService_RenewDelegationToken_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; @@ -3403,7 +3422,7 @@ uint32_t TCLIService_RenewDelegationToken_args::read(::apache::thrift::protocol: uint32_t TCLIService_RenewDelegationToken_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_RenewDelegationToken_args"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -3412,7 +3431,6 @@ uint32_t TCLIService_RenewDelegationToken_args::write(::apache::thrift::protocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3423,7 +3441,7 @@ TCLIService_RenewDelegationToken_pargs::~TCLIService_RenewDelegationToken_pargs( uint32_t TCLIService_RenewDelegationToken_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCLIService_RenewDelegationToken_pargs"); xfer += oprot->writeFieldBegin("req", ::apache::thrift::protocol::T_STRUCT, 1); @@ -3432,7 +3450,6 @@ uint32_t TCLIService_RenewDelegationToken_pargs::write(::apache::thrift::protoco xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3443,6 +3460,7 @@ TCLIService_RenewDelegationToken_result::~TCLIService_RenewDelegationToken_resul uint32_t TCLIService_RenewDelegationToken_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; @@ -3504,6 +3522,7 @@ TCLIService_RenewDelegationToken_presult::~TCLIService_RenewDelegationToken_pres uint32_t TCLIService_RenewDelegationToken_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; @@ -5695,5 +5714,1602 @@ void TCLIServiceProcessor::process_RenewDelegationToken(int32_t seqid, ::apache: ::boost::shared_ptr< ::apache::thrift::TProcessor > processor(new TCLIServiceProcessor(handler)); return processor; } + +void TCLIServiceConcurrentClient::OpenSession(TOpenSessionResp& _return, const TOpenSessionReq& req) +{ + int32_t seqid = send_OpenSession(req); + recv_OpenSession(_return, seqid); +} + +int32_t TCLIServiceConcurrentClient::send_OpenSession(const TOpenSessionReq& req) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("OpenSession", ::apache::thrift::protocol::T_CALL, cseqid); + + TCLIService_OpenSession_pargs args; + args.req = &req; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void TCLIServiceConcurrentClient::recv_OpenSession(TOpenSessionResp& _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("OpenSession") != 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); + } + TCLIService_OpenSession_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "OpenSession 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 TCLIServiceConcurrentClient::CloseSession(TCloseSessionResp& _return, const TCloseSessionReq& req) +{ + int32_t seqid = send_CloseSession(req); + recv_CloseSession(_return, seqid); +} + +int32_t TCLIServiceConcurrentClient::send_CloseSession(const TCloseSessionReq& req) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("CloseSession", ::apache::thrift::protocol::T_CALL, cseqid); + + TCLIService_CloseSession_pargs args; + args.req = &req; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void TCLIServiceConcurrentClient::recv_CloseSession(TCloseSessionResp& _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("CloseSession") != 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); + } + TCLIService_CloseSession_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "CloseSession 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 TCLIServiceConcurrentClient::GetInfo(TGetInfoResp& _return, const TGetInfoReq& req) +{ + int32_t seqid = send_GetInfo(req); + recv_GetInfo(_return, seqid); +} + +int32_t TCLIServiceConcurrentClient::send_GetInfo(const TGetInfoReq& req) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("GetInfo", ::apache::thrift::protocol::T_CALL, cseqid); + + TCLIService_GetInfo_pargs args; + args.req = &req; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void TCLIServiceConcurrentClient::recv_GetInfo(TGetInfoResp& _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("GetInfo") != 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); + } + TCLIService_GetInfo_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetInfo 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 TCLIServiceConcurrentClient::ExecuteStatement(TExecuteStatementResp& _return, const TExecuteStatementReq& req) +{ + int32_t seqid = send_ExecuteStatement(req); + recv_ExecuteStatement(_return, seqid); +} + +int32_t TCLIServiceConcurrentClient::send_ExecuteStatement(const TExecuteStatementReq& req) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("ExecuteStatement", ::apache::thrift::protocol::T_CALL, cseqid); + + TCLIService_ExecuteStatement_pargs args; + args.req = &req; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void TCLIServiceConcurrentClient::recv_ExecuteStatement(TExecuteStatementResp& _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("ExecuteStatement") != 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); + } + TCLIService_ExecuteStatement_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "ExecuteStatement 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 TCLIServiceConcurrentClient::GetTypeInfo(TGetTypeInfoResp& _return, const TGetTypeInfoReq& req) +{ + int32_t seqid = send_GetTypeInfo(req); + recv_GetTypeInfo(_return, seqid); +} + +int32_t TCLIServiceConcurrentClient::send_GetTypeInfo(const TGetTypeInfoReq& req) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("GetTypeInfo", ::apache::thrift::protocol::T_CALL, cseqid); + + TCLIService_GetTypeInfo_pargs args; + args.req = &req; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void TCLIServiceConcurrentClient::recv_GetTypeInfo(TGetTypeInfoResp& _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("GetTypeInfo") != 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); + } + TCLIService_GetTypeInfo_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetTypeInfo 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 TCLIServiceConcurrentClient::GetCatalogs(TGetCatalogsResp& _return, const TGetCatalogsReq& req) +{ + int32_t seqid = send_GetCatalogs(req); + recv_GetCatalogs(_return, seqid); +} + +int32_t TCLIServiceConcurrentClient::send_GetCatalogs(const TGetCatalogsReq& req) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("GetCatalogs", ::apache::thrift::protocol::T_CALL, cseqid); + + TCLIService_GetCatalogs_pargs args; + args.req = &req; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void TCLIServiceConcurrentClient::recv_GetCatalogs(TGetCatalogsResp& _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("GetCatalogs") != 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); + } + TCLIService_GetCatalogs_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetCatalogs 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 TCLIServiceConcurrentClient::GetSchemas(TGetSchemasResp& _return, const TGetSchemasReq& req) +{ + int32_t seqid = send_GetSchemas(req); + recv_GetSchemas(_return, seqid); +} + +int32_t TCLIServiceConcurrentClient::send_GetSchemas(const TGetSchemasReq& req) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("GetSchemas", ::apache::thrift::protocol::T_CALL, cseqid); + + TCLIService_GetSchemas_pargs args; + args.req = &req; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void TCLIServiceConcurrentClient::recv_GetSchemas(TGetSchemasResp& _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("GetSchemas") != 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); + } + TCLIService_GetSchemas_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetSchemas 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 TCLIServiceConcurrentClient::GetTables(TGetTablesResp& _return, const TGetTablesReq& req) +{ + int32_t seqid = send_GetTables(req); + recv_GetTables(_return, seqid); +} + +int32_t TCLIServiceConcurrentClient::send_GetTables(const TGetTablesReq& req) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("GetTables", ::apache::thrift::protocol::T_CALL, cseqid); + + TCLIService_GetTables_pargs args; + args.req = &req; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void TCLIServiceConcurrentClient::recv_GetTables(TGetTablesResp& _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("GetTables") != 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); + } + TCLIService_GetTables_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetTables 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 TCLIServiceConcurrentClient::GetTableTypes(TGetTableTypesResp& _return, const TGetTableTypesReq& req) +{ + int32_t seqid = send_GetTableTypes(req); + recv_GetTableTypes(_return, seqid); +} + +int32_t TCLIServiceConcurrentClient::send_GetTableTypes(const TGetTableTypesReq& req) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("GetTableTypes", ::apache::thrift::protocol::T_CALL, cseqid); + + TCLIService_GetTableTypes_pargs args; + args.req = &req; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void TCLIServiceConcurrentClient::recv_GetTableTypes(TGetTableTypesResp& _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("GetTableTypes") != 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); + } + TCLIService_GetTableTypes_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetTableTypes 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 TCLIServiceConcurrentClient::GetColumns(TGetColumnsResp& _return, const TGetColumnsReq& req) +{ + int32_t seqid = send_GetColumns(req); + recv_GetColumns(_return, seqid); +} + +int32_t TCLIServiceConcurrentClient::send_GetColumns(const TGetColumnsReq& req) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("GetColumns", ::apache::thrift::protocol::T_CALL, cseqid); + + TCLIService_GetColumns_pargs args; + args.req = &req; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void TCLIServiceConcurrentClient::recv_GetColumns(TGetColumnsResp& _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("GetColumns") != 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); + } + TCLIService_GetColumns_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetColumns 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 TCLIServiceConcurrentClient::GetFunctions(TGetFunctionsResp& _return, const TGetFunctionsReq& req) +{ + int32_t seqid = send_GetFunctions(req); + recv_GetFunctions(_return, seqid); +} + +int32_t TCLIServiceConcurrentClient::send_GetFunctions(const TGetFunctionsReq& req) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("GetFunctions", ::apache::thrift::protocol::T_CALL, cseqid); + + TCLIService_GetFunctions_pargs args; + args.req = &req; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void TCLIServiceConcurrentClient::recv_GetFunctions(TGetFunctionsResp& _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("GetFunctions") != 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); + } + TCLIService_GetFunctions_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetFunctions 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 TCLIServiceConcurrentClient::GetOperationStatus(TGetOperationStatusResp& _return, const TGetOperationStatusReq& req) +{ + int32_t seqid = send_GetOperationStatus(req); + recv_GetOperationStatus(_return, seqid); +} + +int32_t TCLIServiceConcurrentClient::send_GetOperationStatus(const TGetOperationStatusReq& req) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("GetOperationStatus", ::apache::thrift::protocol::T_CALL, cseqid); + + TCLIService_GetOperationStatus_pargs args; + args.req = &req; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void TCLIServiceConcurrentClient::recv_GetOperationStatus(TGetOperationStatusResp& _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("GetOperationStatus") != 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); + } + TCLIService_GetOperationStatus_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetOperationStatus 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 TCLIServiceConcurrentClient::CancelOperation(TCancelOperationResp& _return, const TCancelOperationReq& req) +{ + int32_t seqid = send_CancelOperation(req); + recv_CancelOperation(_return, seqid); +} + +int32_t TCLIServiceConcurrentClient::send_CancelOperation(const TCancelOperationReq& req) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("CancelOperation", ::apache::thrift::protocol::T_CALL, cseqid); + + TCLIService_CancelOperation_pargs args; + args.req = &req; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void TCLIServiceConcurrentClient::recv_CancelOperation(TCancelOperationResp& _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("CancelOperation") != 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); + } + TCLIService_CancelOperation_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "CancelOperation 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 TCLIServiceConcurrentClient::CloseOperation(TCloseOperationResp& _return, const TCloseOperationReq& req) +{ + int32_t seqid = send_CloseOperation(req); + recv_CloseOperation(_return, seqid); +} + +int32_t TCLIServiceConcurrentClient::send_CloseOperation(const TCloseOperationReq& req) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("CloseOperation", ::apache::thrift::protocol::T_CALL, cseqid); + + TCLIService_CloseOperation_pargs args; + args.req = &req; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void TCLIServiceConcurrentClient::recv_CloseOperation(TCloseOperationResp& _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("CloseOperation") != 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); + } + TCLIService_CloseOperation_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "CloseOperation 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 TCLIServiceConcurrentClient::GetResultSetMetadata(TGetResultSetMetadataResp& _return, const TGetResultSetMetadataReq& req) +{ + int32_t seqid = send_GetResultSetMetadata(req); + recv_GetResultSetMetadata(_return, seqid); +} + +int32_t TCLIServiceConcurrentClient::send_GetResultSetMetadata(const TGetResultSetMetadataReq& req) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("GetResultSetMetadata", ::apache::thrift::protocol::T_CALL, cseqid); + + TCLIService_GetResultSetMetadata_pargs args; + args.req = &req; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void TCLIServiceConcurrentClient::recv_GetResultSetMetadata(TGetResultSetMetadataResp& _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("GetResultSetMetadata") != 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); + } + TCLIService_GetResultSetMetadata_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetResultSetMetadata 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 TCLIServiceConcurrentClient::FetchResults(TFetchResultsResp& _return, const TFetchResultsReq& req) +{ + int32_t seqid = send_FetchResults(req); + recv_FetchResults(_return, seqid); +} + +int32_t TCLIServiceConcurrentClient::send_FetchResults(const TFetchResultsReq& req) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("FetchResults", ::apache::thrift::protocol::T_CALL, cseqid); + + TCLIService_FetchResults_pargs args; + args.req = &req; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void TCLIServiceConcurrentClient::recv_FetchResults(TFetchResultsResp& _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("FetchResults") != 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); + } + TCLIService_FetchResults_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "FetchResults 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 TCLIServiceConcurrentClient::GetDelegationToken(TGetDelegationTokenResp& _return, const TGetDelegationTokenReq& req) +{ + int32_t seqid = send_GetDelegationToken(req); + recv_GetDelegationToken(_return, seqid); +} + +int32_t TCLIServiceConcurrentClient::send_GetDelegationToken(const TGetDelegationTokenReq& req) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("GetDelegationToken", ::apache::thrift::protocol::T_CALL, cseqid); + + TCLIService_GetDelegationToken_pargs args; + args.req = &req; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void TCLIServiceConcurrentClient::recv_GetDelegationToken(TGetDelegationTokenResp& _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("GetDelegationToken") != 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); + } + TCLIService_GetDelegationToken_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "GetDelegationToken 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 TCLIServiceConcurrentClient::CancelDelegationToken(TCancelDelegationTokenResp& _return, const TCancelDelegationTokenReq& req) +{ + int32_t seqid = send_CancelDelegationToken(req); + recv_CancelDelegationToken(_return, seqid); +} + +int32_t TCLIServiceConcurrentClient::send_CancelDelegationToken(const TCancelDelegationTokenReq& req) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("CancelDelegationToken", ::apache::thrift::protocol::T_CALL, cseqid); + + TCLIService_CancelDelegationToken_pargs args; + args.req = &req; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void TCLIServiceConcurrentClient::recv_CancelDelegationToken(TCancelDelegationTokenResp& _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("CancelDelegationToken") != 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); + } + TCLIService_CancelDelegationToken_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "CancelDelegationToken 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 TCLIServiceConcurrentClient::RenewDelegationToken(TRenewDelegationTokenResp& _return, const TRenewDelegationTokenReq& req) +{ + int32_t seqid = send_RenewDelegationToken(req); + recv_RenewDelegationToken(_return, seqid); +} + +int32_t TCLIServiceConcurrentClient::send_RenewDelegationToken(const TRenewDelegationTokenReq& req) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("RenewDelegationToken", ::apache::thrift::protocol::T_CALL, cseqid); + + TCLIService_RenewDelegationToken_pargs args; + args.req = &req; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void TCLIServiceConcurrentClient::recv_RenewDelegationToken(TRenewDelegationTokenResp& _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("RenewDelegationToken") != 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); + } + TCLIService_RenewDelegationToken_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; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "RenewDelegationToken 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) +} + }}}}} // namespace diff --git service/src/gen/thrift/gen-cpp/TCLIService.h service/src/gen/thrift/gen-cpp/TCLIService.h index 29a9f4a..2ea80c7 100644 --- service/src/gen/thrift/gen-cpp/TCLIService.h +++ service/src/gen/thrift/gen-cpp/TCLIService.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -8,10 +8,16 @@ #define TCLIService_H #include +#include #include "TCLIService_types.h" namespace apache { namespace hive { namespace service { namespace cli { namespace thrift { +#ifdef _WIN32 + #pragma warning( push ) + #pragma warning (disable : 4250 ) //inheriting methods via dominance +#endif + class TCLIServiceIf { public: virtual ~TCLIServiceIf() {} @@ -130,9 +136,6 @@ typedef struct _TCLIService_OpenSession_args__isset { class TCLIService_OpenSession_args { public: - static const char* ascii_fingerprint; // = "657FF0677838A57698AD9D58A923940A"; - static const uint8_t binary_fingerprint[16]; // = {0x65,0x7F,0xF0,0x67,0x78,0x38,0xA5,0x76,0x98,0xAD,0x9D,0x58,0xA9,0x23,0x94,0x0A}; - TCLIService_OpenSession_args(const TCLIService_OpenSession_args&); TCLIService_OpenSession_args& operator=(const TCLIService_OpenSession_args&); TCLIService_OpenSession_args() { @@ -160,23 +163,18 @@ class TCLIService_OpenSession_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_OpenSession_args& obj); }; class TCLIService_OpenSession_pargs { public: - static const char* ascii_fingerprint; // = "657FF0677838A57698AD9D58A923940A"; - static const uint8_t binary_fingerprint[16]; // = {0x65,0x7F,0xF0,0x67,0x78,0x38,0xA5,0x76,0x98,0xAD,0x9D,0x58,0xA9,0x23,0x94,0x0A}; - virtual ~TCLIService_OpenSession_pargs() throw(); const TOpenSessionReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_OpenSession_pargs& obj); }; typedef struct _TCLIService_OpenSession_result__isset { @@ -187,9 +185,6 @@ typedef struct _TCLIService_OpenSession_result__isset { class TCLIService_OpenSession_result { public: - static const char* ascii_fingerprint; // = "C55268D57D6DC6A256619A7DB419699E"; - static const uint8_t binary_fingerprint[16]; // = {0xC5,0x52,0x68,0xD5,0x7D,0x6D,0xC6,0xA2,0x56,0x61,0x9A,0x7D,0xB4,0x19,0x69,0x9E}; - TCLIService_OpenSession_result(const TCLIService_OpenSession_result&); TCLIService_OpenSession_result& operator=(const TCLIService_OpenSession_result&); TCLIService_OpenSession_result() { @@ -217,7 +212,6 @@ class TCLIService_OpenSession_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_OpenSession_result& obj); }; typedef struct _TCLIService_OpenSession_presult__isset { @@ -228,9 +222,6 @@ typedef struct _TCLIService_OpenSession_presult__isset { class TCLIService_OpenSession_presult { public: - static const char* ascii_fingerprint; // = "C55268D57D6DC6A256619A7DB419699E"; - static const uint8_t binary_fingerprint[16]; // = {0xC5,0x52,0x68,0xD5,0x7D,0x6D,0xC6,0xA2,0x56,0x61,0x9A,0x7D,0xB4,0x19,0x69,0x9E}; - virtual ~TCLIService_OpenSession_presult() throw(); TOpenSessionResp* success; @@ -239,7 +230,6 @@ class TCLIService_OpenSession_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const TCLIService_OpenSession_presult& obj); }; typedef struct _TCLIService_CloseSession_args__isset { @@ -250,9 +240,6 @@ typedef struct _TCLIService_CloseSession_args__isset { class TCLIService_CloseSession_args { public: - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC"; - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC}; - TCLIService_CloseSession_args(const TCLIService_CloseSession_args&); TCLIService_CloseSession_args& operator=(const TCLIService_CloseSession_args&); TCLIService_CloseSession_args() { @@ -280,23 +267,18 @@ class TCLIService_CloseSession_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseSession_args& obj); }; class TCLIService_CloseSession_pargs { public: - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC"; - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC}; - virtual ~TCLIService_CloseSession_pargs() throw(); const TCloseSessionReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseSession_pargs& obj); }; typedef struct _TCLIService_CloseSession_result__isset { @@ -307,9 +289,6 @@ typedef struct _TCLIService_CloseSession_result__isset { class TCLIService_CloseSession_result { public: - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7"; - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7}; - TCLIService_CloseSession_result(const TCLIService_CloseSession_result&); TCLIService_CloseSession_result& operator=(const TCLIService_CloseSession_result&); TCLIService_CloseSession_result() { @@ -337,7 +316,6 @@ class TCLIService_CloseSession_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseSession_result& obj); }; typedef struct _TCLIService_CloseSession_presult__isset { @@ -348,9 +326,6 @@ typedef struct _TCLIService_CloseSession_presult__isset { class TCLIService_CloseSession_presult { public: - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7"; - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7}; - virtual ~TCLIService_CloseSession_presult() throw(); TCloseSessionResp* success; @@ -359,7 +334,6 @@ class TCLIService_CloseSession_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseSession_presult& obj); }; typedef struct _TCLIService_GetInfo_args__isset { @@ -370,9 +344,6 @@ typedef struct _TCLIService_GetInfo_args__isset { class TCLIService_GetInfo_args { public: - static const char* ascii_fingerprint; // = "482A174DD6064955A19F28C5395E27FA"; - static const uint8_t binary_fingerprint[16]; // = {0x48,0x2A,0x17,0x4D,0xD6,0x06,0x49,0x55,0xA1,0x9F,0x28,0xC5,0x39,0x5E,0x27,0xFA}; - TCLIService_GetInfo_args(const TCLIService_GetInfo_args&); TCLIService_GetInfo_args& operator=(const TCLIService_GetInfo_args&); TCLIService_GetInfo_args() { @@ -400,23 +371,18 @@ class TCLIService_GetInfo_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetInfo_args& obj); }; class TCLIService_GetInfo_pargs { public: - static const char* ascii_fingerprint; // = "482A174DD6064955A19F28C5395E27FA"; - static const uint8_t binary_fingerprint[16]; // = {0x48,0x2A,0x17,0x4D,0xD6,0x06,0x49,0x55,0xA1,0x9F,0x28,0xC5,0x39,0x5E,0x27,0xFA}; - virtual ~TCLIService_GetInfo_pargs() throw(); const TGetInfoReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetInfo_pargs& obj); }; typedef struct _TCLIService_GetInfo_result__isset { @@ -427,9 +393,6 @@ typedef struct _TCLIService_GetInfo_result__isset { class TCLIService_GetInfo_result { public: - static const char* ascii_fingerprint; // = "95AE9E06990A55202EF5D96DABE20D75"; - static const uint8_t binary_fingerprint[16]; // = {0x95,0xAE,0x9E,0x06,0x99,0x0A,0x55,0x20,0x2E,0xF5,0xD9,0x6D,0xAB,0xE2,0x0D,0x75}; - TCLIService_GetInfo_result(const TCLIService_GetInfo_result&); TCLIService_GetInfo_result& operator=(const TCLIService_GetInfo_result&); TCLIService_GetInfo_result() { @@ -457,7 +420,6 @@ class TCLIService_GetInfo_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetInfo_result& obj); }; typedef struct _TCLIService_GetInfo_presult__isset { @@ -468,9 +430,6 @@ typedef struct _TCLIService_GetInfo_presult__isset { class TCLIService_GetInfo_presult { public: - static const char* ascii_fingerprint; // = "95AE9E06990A55202EF5D96DABE20D75"; - static const uint8_t binary_fingerprint[16]; // = {0x95,0xAE,0x9E,0x06,0x99,0x0A,0x55,0x20,0x2E,0xF5,0xD9,0x6D,0xAB,0xE2,0x0D,0x75}; - virtual ~TCLIService_GetInfo_presult() throw(); TGetInfoResp* success; @@ -479,7 +438,6 @@ class TCLIService_GetInfo_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetInfo_presult& obj); }; typedef struct _TCLIService_ExecuteStatement_args__isset { @@ -490,9 +448,6 @@ typedef struct _TCLIService_ExecuteStatement_args__isset { class TCLIService_ExecuteStatement_args { public: - static const char* ascii_fingerprint; // = "BD5534ACDA7A523F638927AC476C2173"; - static const uint8_t binary_fingerprint[16]; // = {0xBD,0x55,0x34,0xAC,0xDA,0x7A,0x52,0x3F,0x63,0x89,0x27,0xAC,0x47,0x6C,0x21,0x73}; - TCLIService_ExecuteStatement_args(const TCLIService_ExecuteStatement_args&); TCLIService_ExecuteStatement_args& operator=(const TCLIService_ExecuteStatement_args&); TCLIService_ExecuteStatement_args() { @@ -520,23 +475,18 @@ class TCLIService_ExecuteStatement_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_ExecuteStatement_args& obj); }; class TCLIService_ExecuteStatement_pargs { public: - static const char* ascii_fingerprint; // = "BD5534ACDA7A523F638927AC476C2173"; - static const uint8_t binary_fingerprint[16]; // = {0xBD,0x55,0x34,0xAC,0xDA,0x7A,0x52,0x3F,0x63,0x89,0x27,0xAC,0x47,0x6C,0x21,0x73}; - virtual ~TCLIService_ExecuteStatement_pargs() throw(); const TExecuteStatementReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_ExecuteStatement_pargs& obj); }; typedef struct _TCLIService_ExecuteStatement_result__isset { @@ -547,9 +497,6 @@ typedef struct _TCLIService_ExecuteStatement_result__isset { class TCLIService_ExecuteStatement_result { public: - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - TCLIService_ExecuteStatement_result(const TCLIService_ExecuteStatement_result&); TCLIService_ExecuteStatement_result& operator=(const TCLIService_ExecuteStatement_result&); TCLIService_ExecuteStatement_result() { @@ -577,7 +524,6 @@ class TCLIService_ExecuteStatement_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_ExecuteStatement_result& obj); }; typedef struct _TCLIService_ExecuteStatement_presult__isset { @@ -588,9 +534,6 @@ typedef struct _TCLIService_ExecuteStatement_presult__isset { class TCLIService_ExecuteStatement_presult { public: - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - virtual ~TCLIService_ExecuteStatement_presult() throw(); TExecuteStatementResp* success; @@ -599,7 +542,6 @@ class TCLIService_ExecuteStatement_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const TCLIService_ExecuteStatement_presult& obj); }; typedef struct _TCLIService_GetTypeInfo_args__isset { @@ -610,9 +552,6 @@ typedef struct _TCLIService_GetTypeInfo_args__isset { class TCLIService_GetTypeInfo_args { public: - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC"; - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC}; - TCLIService_GetTypeInfo_args(const TCLIService_GetTypeInfo_args&); TCLIService_GetTypeInfo_args& operator=(const TCLIService_GetTypeInfo_args&); TCLIService_GetTypeInfo_args() { @@ -640,23 +579,18 @@ class TCLIService_GetTypeInfo_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTypeInfo_args& obj); }; class TCLIService_GetTypeInfo_pargs { public: - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC"; - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC}; - virtual ~TCLIService_GetTypeInfo_pargs() throw(); const TGetTypeInfoReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTypeInfo_pargs& obj); }; typedef struct _TCLIService_GetTypeInfo_result__isset { @@ -667,9 +601,6 @@ typedef struct _TCLIService_GetTypeInfo_result__isset { class TCLIService_GetTypeInfo_result { public: - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - TCLIService_GetTypeInfo_result(const TCLIService_GetTypeInfo_result&); TCLIService_GetTypeInfo_result& operator=(const TCLIService_GetTypeInfo_result&); TCLIService_GetTypeInfo_result() { @@ -697,7 +628,6 @@ class TCLIService_GetTypeInfo_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTypeInfo_result& obj); }; typedef struct _TCLIService_GetTypeInfo_presult__isset { @@ -708,9 +638,6 @@ typedef struct _TCLIService_GetTypeInfo_presult__isset { class TCLIService_GetTypeInfo_presult { public: - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - virtual ~TCLIService_GetTypeInfo_presult() throw(); TGetTypeInfoResp* success; @@ -719,7 +646,6 @@ class TCLIService_GetTypeInfo_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTypeInfo_presult& obj); }; typedef struct _TCLIService_GetCatalogs_args__isset { @@ -730,9 +656,6 @@ typedef struct _TCLIService_GetCatalogs_args__isset { class TCLIService_GetCatalogs_args { public: - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC"; - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC}; - TCLIService_GetCatalogs_args(const TCLIService_GetCatalogs_args&); TCLIService_GetCatalogs_args& operator=(const TCLIService_GetCatalogs_args&); TCLIService_GetCatalogs_args() { @@ -760,23 +683,18 @@ class TCLIService_GetCatalogs_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetCatalogs_args& obj); }; class TCLIService_GetCatalogs_pargs { public: - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC"; - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC}; - virtual ~TCLIService_GetCatalogs_pargs() throw(); const TGetCatalogsReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetCatalogs_pargs& obj); }; typedef struct _TCLIService_GetCatalogs_result__isset { @@ -787,9 +705,6 @@ typedef struct _TCLIService_GetCatalogs_result__isset { class TCLIService_GetCatalogs_result { public: - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - TCLIService_GetCatalogs_result(const TCLIService_GetCatalogs_result&); TCLIService_GetCatalogs_result& operator=(const TCLIService_GetCatalogs_result&); TCLIService_GetCatalogs_result() { @@ -817,7 +732,6 @@ class TCLIService_GetCatalogs_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetCatalogs_result& obj); }; typedef struct _TCLIService_GetCatalogs_presult__isset { @@ -828,9 +742,6 @@ typedef struct _TCLIService_GetCatalogs_presult__isset { class TCLIService_GetCatalogs_presult { public: - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - virtual ~TCLIService_GetCatalogs_presult() throw(); TGetCatalogsResp* success; @@ -839,7 +750,6 @@ class TCLIService_GetCatalogs_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetCatalogs_presult& obj); }; typedef struct _TCLIService_GetSchemas_args__isset { @@ -850,9 +760,6 @@ typedef struct _TCLIService_GetSchemas_args__isset { class TCLIService_GetSchemas_args { public: - static const char* ascii_fingerprint; // = "34B9FACB4B4C34ABAEDCF0A2B60345DE"; - static const uint8_t binary_fingerprint[16]; // = {0x34,0xB9,0xFA,0xCB,0x4B,0x4C,0x34,0xAB,0xAE,0xDC,0xF0,0xA2,0xB6,0x03,0x45,0xDE}; - TCLIService_GetSchemas_args(const TCLIService_GetSchemas_args&); TCLIService_GetSchemas_args& operator=(const TCLIService_GetSchemas_args&); TCLIService_GetSchemas_args() { @@ -880,23 +787,18 @@ class TCLIService_GetSchemas_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetSchemas_args& obj); }; class TCLIService_GetSchemas_pargs { public: - static const char* ascii_fingerprint; // = "34B9FACB4B4C34ABAEDCF0A2B60345DE"; - static const uint8_t binary_fingerprint[16]; // = {0x34,0xB9,0xFA,0xCB,0x4B,0x4C,0x34,0xAB,0xAE,0xDC,0xF0,0xA2,0xB6,0x03,0x45,0xDE}; - virtual ~TCLIService_GetSchemas_pargs() throw(); const TGetSchemasReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetSchemas_pargs& obj); }; typedef struct _TCLIService_GetSchemas_result__isset { @@ -907,9 +809,6 @@ typedef struct _TCLIService_GetSchemas_result__isset { class TCLIService_GetSchemas_result { public: - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - TCLIService_GetSchemas_result(const TCLIService_GetSchemas_result&); TCLIService_GetSchemas_result& operator=(const TCLIService_GetSchemas_result&); TCLIService_GetSchemas_result() { @@ -937,7 +836,6 @@ class TCLIService_GetSchemas_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetSchemas_result& obj); }; typedef struct _TCLIService_GetSchemas_presult__isset { @@ -948,9 +846,6 @@ typedef struct _TCLIService_GetSchemas_presult__isset { class TCLIService_GetSchemas_presult { public: - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - virtual ~TCLIService_GetSchemas_presult() throw(); TGetSchemasResp* success; @@ -959,7 +854,6 @@ class TCLIService_GetSchemas_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetSchemas_presult& obj); }; typedef struct _TCLIService_GetTables_args__isset { @@ -970,9 +864,6 @@ typedef struct _TCLIService_GetTables_args__isset { class TCLIService_GetTables_args { public: - static const char* ascii_fingerprint; // = "58075D8350502C9B1F3532079C1CF7A6"; - static const uint8_t binary_fingerprint[16]; // = {0x58,0x07,0x5D,0x83,0x50,0x50,0x2C,0x9B,0x1F,0x35,0x32,0x07,0x9C,0x1C,0xF7,0xA6}; - TCLIService_GetTables_args(const TCLIService_GetTables_args&); TCLIService_GetTables_args& operator=(const TCLIService_GetTables_args&); TCLIService_GetTables_args() { @@ -1000,23 +891,18 @@ class TCLIService_GetTables_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTables_args& obj); }; class TCLIService_GetTables_pargs { public: - static const char* ascii_fingerprint; // = "58075D8350502C9B1F3532079C1CF7A6"; - static const uint8_t binary_fingerprint[16]; // = {0x58,0x07,0x5D,0x83,0x50,0x50,0x2C,0x9B,0x1F,0x35,0x32,0x07,0x9C,0x1C,0xF7,0xA6}; - virtual ~TCLIService_GetTables_pargs() throw(); const TGetTablesReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTables_pargs& obj); }; typedef struct _TCLIService_GetTables_result__isset { @@ -1027,9 +913,6 @@ typedef struct _TCLIService_GetTables_result__isset { class TCLIService_GetTables_result { public: - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - TCLIService_GetTables_result(const TCLIService_GetTables_result&); TCLIService_GetTables_result& operator=(const TCLIService_GetTables_result&); TCLIService_GetTables_result() { @@ -1057,7 +940,6 @@ class TCLIService_GetTables_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTables_result& obj); }; typedef struct _TCLIService_GetTables_presult__isset { @@ -1068,9 +950,6 @@ typedef struct _TCLIService_GetTables_presult__isset { class TCLIService_GetTables_presult { public: - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - virtual ~TCLIService_GetTables_presult() throw(); TGetTablesResp* success; @@ -1079,7 +958,6 @@ class TCLIService_GetTables_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTables_presult& obj); }; typedef struct _TCLIService_GetTableTypes_args__isset { @@ -1090,9 +968,6 @@ typedef struct _TCLIService_GetTableTypes_args__isset { class TCLIService_GetTableTypes_args { public: - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC"; - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC}; - TCLIService_GetTableTypes_args(const TCLIService_GetTableTypes_args&); TCLIService_GetTableTypes_args& operator=(const TCLIService_GetTableTypes_args&); TCLIService_GetTableTypes_args() { @@ -1120,23 +995,18 @@ class TCLIService_GetTableTypes_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTableTypes_args& obj); }; class TCLIService_GetTableTypes_pargs { public: - static const char* ascii_fingerprint; // = "FD7076C37D193E2A343D9691B59D94EC"; - static const uint8_t binary_fingerprint[16]; // = {0xFD,0x70,0x76,0xC3,0x7D,0x19,0x3E,0x2A,0x34,0x3D,0x96,0x91,0xB5,0x9D,0x94,0xEC}; - virtual ~TCLIService_GetTableTypes_pargs() throw(); const TGetTableTypesReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTableTypes_pargs& obj); }; typedef struct _TCLIService_GetTableTypes_result__isset { @@ -1147,9 +1017,6 @@ typedef struct _TCLIService_GetTableTypes_result__isset { class TCLIService_GetTableTypes_result { public: - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - TCLIService_GetTableTypes_result(const TCLIService_GetTableTypes_result&); TCLIService_GetTableTypes_result& operator=(const TCLIService_GetTableTypes_result&); TCLIService_GetTableTypes_result() { @@ -1177,7 +1044,6 @@ class TCLIService_GetTableTypes_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTableTypes_result& obj); }; typedef struct _TCLIService_GetTableTypes_presult__isset { @@ -1188,9 +1054,6 @@ typedef struct _TCLIService_GetTableTypes_presult__isset { class TCLIService_GetTableTypes_presult { public: - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - virtual ~TCLIService_GetTableTypes_presult() throw(); TGetTableTypesResp* success; @@ -1199,7 +1062,6 @@ class TCLIService_GetTableTypes_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetTableTypes_presult& obj); }; typedef struct _TCLIService_GetColumns_args__isset { @@ -1210,9 +1072,6 @@ typedef struct _TCLIService_GetColumns_args__isset { class TCLIService_GetColumns_args { public: - static const char* ascii_fingerprint; // = "7894A0356591B039C72040E21BAAC3E3"; - static const uint8_t binary_fingerprint[16]; // = {0x78,0x94,0xA0,0x35,0x65,0x91,0xB0,0x39,0xC7,0x20,0x40,0xE2,0x1B,0xAA,0xC3,0xE3}; - TCLIService_GetColumns_args(const TCLIService_GetColumns_args&); TCLIService_GetColumns_args& operator=(const TCLIService_GetColumns_args&); TCLIService_GetColumns_args() { @@ -1240,23 +1099,18 @@ class TCLIService_GetColumns_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetColumns_args& obj); }; class TCLIService_GetColumns_pargs { public: - static const char* ascii_fingerprint; // = "7894A0356591B039C72040E21BAAC3E3"; - static const uint8_t binary_fingerprint[16]; // = {0x78,0x94,0xA0,0x35,0x65,0x91,0xB0,0x39,0xC7,0x20,0x40,0xE2,0x1B,0xAA,0xC3,0xE3}; - virtual ~TCLIService_GetColumns_pargs() throw(); const TGetColumnsReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetColumns_pargs& obj); }; typedef struct _TCLIService_GetColumns_result__isset { @@ -1267,9 +1121,6 @@ typedef struct _TCLIService_GetColumns_result__isset { class TCLIService_GetColumns_result { public: - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - TCLIService_GetColumns_result(const TCLIService_GetColumns_result&); TCLIService_GetColumns_result& operator=(const TCLIService_GetColumns_result&); TCLIService_GetColumns_result() { @@ -1297,7 +1148,6 @@ class TCLIService_GetColumns_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetColumns_result& obj); }; typedef struct _TCLIService_GetColumns_presult__isset { @@ -1308,9 +1158,6 @@ typedef struct _TCLIService_GetColumns_presult__isset { class TCLIService_GetColumns_presult { public: - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - virtual ~TCLIService_GetColumns_presult() throw(); TGetColumnsResp* success; @@ -1319,7 +1166,6 @@ class TCLIService_GetColumns_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetColumns_presult& obj); }; typedef struct _TCLIService_GetFunctions_args__isset { @@ -1330,9 +1176,6 @@ typedef struct _TCLIService_GetFunctions_args__isset { class TCLIService_GetFunctions_args { public: - static const char* ascii_fingerprint; // = "AC28BA383D0EC96F55B7C42FA3E1AF52"; - static const uint8_t binary_fingerprint[16]; // = {0xAC,0x28,0xBA,0x38,0x3D,0x0E,0xC9,0x6F,0x55,0xB7,0xC4,0x2F,0xA3,0xE1,0xAF,0x52}; - TCLIService_GetFunctions_args(const TCLIService_GetFunctions_args&); TCLIService_GetFunctions_args& operator=(const TCLIService_GetFunctions_args&); TCLIService_GetFunctions_args() { @@ -1360,23 +1203,18 @@ class TCLIService_GetFunctions_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetFunctions_args& obj); }; class TCLIService_GetFunctions_pargs { public: - static const char* ascii_fingerprint; // = "AC28BA383D0EC96F55B7C42FA3E1AF52"; - static const uint8_t binary_fingerprint[16]; // = {0xAC,0x28,0xBA,0x38,0x3D,0x0E,0xC9,0x6F,0x55,0xB7,0xC4,0x2F,0xA3,0xE1,0xAF,0x52}; - virtual ~TCLIService_GetFunctions_pargs() throw(); const TGetFunctionsReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetFunctions_pargs& obj); }; typedef struct _TCLIService_GetFunctions_result__isset { @@ -1387,9 +1225,6 @@ typedef struct _TCLIService_GetFunctions_result__isset { class TCLIService_GetFunctions_result { public: - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - TCLIService_GetFunctions_result(const TCLIService_GetFunctions_result&); TCLIService_GetFunctions_result& operator=(const TCLIService_GetFunctions_result&); TCLIService_GetFunctions_result() { @@ -1417,7 +1252,6 @@ class TCLIService_GetFunctions_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetFunctions_result& obj); }; typedef struct _TCLIService_GetFunctions_presult__isset { @@ -1428,9 +1262,6 @@ typedef struct _TCLIService_GetFunctions_presult__isset { class TCLIService_GetFunctions_presult { public: - static const char* ascii_fingerprint; // = "783BF5EE3B1FEAC8DF5FDAEF1F551CDF"; - static const uint8_t binary_fingerprint[16]; // = {0x78,0x3B,0xF5,0xEE,0x3B,0x1F,0xEA,0xC8,0xDF,0x5F,0xDA,0xEF,0x1F,0x55,0x1C,0xDF}; - virtual ~TCLIService_GetFunctions_presult() throw(); TGetFunctionsResp* success; @@ -1439,7 +1270,6 @@ class TCLIService_GetFunctions_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetFunctions_presult& obj); }; typedef struct _TCLIService_GetOperationStatus_args__isset { @@ -1450,9 +1280,6 @@ typedef struct _TCLIService_GetOperationStatus_args__isset { class TCLIService_GetOperationStatus_args { public: - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7"; - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7}; - TCLIService_GetOperationStatus_args(const TCLIService_GetOperationStatus_args&); TCLIService_GetOperationStatus_args& operator=(const TCLIService_GetOperationStatus_args&); TCLIService_GetOperationStatus_args() { @@ -1480,23 +1307,18 @@ class TCLIService_GetOperationStatus_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetOperationStatus_args& obj); }; class TCLIService_GetOperationStatus_pargs { public: - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7"; - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7}; - virtual ~TCLIService_GetOperationStatus_pargs() throw(); const TGetOperationStatusReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetOperationStatus_pargs& obj); }; typedef struct _TCLIService_GetOperationStatus_result__isset { @@ -1507,9 +1329,6 @@ typedef struct _TCLIService_GetOperationStatus_result__isset { class TCLIService_GetOperationStatus_result { public: - static const char* ascii_fingerprint; // = "C399947D185D259358E6B922C40ACF85"; - static const uint8_t binary_fingerprint[16]; // = {0xC3,0x99,0x94,0x7D,0x18,0x5D,0x25,0x93,0x58,0xE6,0xB9,0x22,0xC4,0x0A,0xCF,0x85}; - TCLIService_GetOperationStatus_result(const TCLIService_GetOperationStatus_result&); TCLIService_GetOperationStatus_result& operator=(const TCLIService_GetOperationStatus_result&); TCLIService_GetOperationStatus_result() { @@ -1537,7 +1356,6 @@ class TCLIService_GetOperationStatus_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetOperationStatus_result& obj); }; typedef struct _TCLIService_GetOperationStatus_presult__isset { @@ -1548,9 +1366,6 @@ typedef struct _TCLIService_GetOperationStatus_presult__isset { class TCLIService_GetOperationStatus_presult { public: - static const char* ascii_fingerprint; // = "C399947D185D259358E6B922C40ACF85"; - static const uint8_t binary_fingerprint[16]; // = {0xC3,0x99,0x94,0x7D,0x18,0x5D,0x25,0x93,0x58,0xE6,0xB9,0x22,0xC4,0x0A,0xCF,0x85}; - virtual ~TCLIService_GetOperationStatus_presult() throw(); TGetOperationStatusResp* success; @@ -1559,7 +1374,6 @@ class TCLIService_GetOperationStatus_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetOperationStatus_presult& obj); }; typedef struct _TCLIService_CancelOperation_args__isset { @@ -1570,9 +1384,6 @@ typedef struct _TCLIService_CancelOperation_args__isset { class TCLIService_CancelOperation_args { public: - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7"; - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7}; - TCLIService_CancelOperation_args(const TCLIService_CancelOperation_args&); TCLIService_CancelOperation_args& operator=(const TCLIService_CancelOperation_args&); TCLIService_CancelOperation_args() { @@ -1600,23 +1411,18 @@ class TCLIService_CancelOperation_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelOperation_args& obj); }; class TCLIService_CancelOperation_pargs { public: - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7"; - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7}; - virtual ~TCLIService_CancelOperation_pargs() throw(); const TCancelOperationReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelOperation_pargs& obj); }; typedef struct _TCLIService_CancelOperation_result__isset { @@ -1627,9 +1433,6 @@ typedef struct _TCLIService_CancelOperation_result__isset { class TCLIService_CancelOperation_result { public: - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7"; - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7}; - TCLIService_CancelOperation_result(const TCLIService_CancelOperation_result&); TCLIService_CancelOperation_result& operator=(const TCLIService_CancelOperation_result&); TCLIService_CancelOperation_result() { @@ -1657,7 +1460,6 @@ class TCLIService_CancelOperation_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelOperation_result& obj); }; typedef struct _TCLIService_CancelOperation_presult__isset { @@ -1668,9 +1470,6 @@ typedef struct _TCLIService_CancelOperation_presult__isset { class TCLIService_CancelOperation_presult { public: - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7"; - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7}; - virtual ~TCLIService_CancelOperation_presult() throw(); TCancelOperationResp* success; @@ -1679,7 +1478,6 @@ class TCLIService_CancelOperation_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelOperation_presult& obj); }; typedef struct _TCLIService_CloseOperation_args__isset { @@ -1690,9 +1488,6 @@ typedef struct _TCLIService_CloseOperation_args__isset { class TCLIService_CloseOperation_args { public: - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7"; - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7}; - TCLIService_CloseOperation_args(const TCLIService_CloseOperation_args&); TCLIService_CloseOperation_args& operator=(const TCLIService_CloseOperation_args&); TCLIService_CloseOperation_args() { @@ -1720,23 +1515,18 @@ class TCLIService_CloseOperation_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseOperation_args& obj); }; class TCLIService_CloseOperation_pargs { public: - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7"; - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7}; - virtual ~TCLIService_CloseOperation_pargs() throw(); const TCloseOperationReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseOperation_pargs& obj); }; typedef struct _TCLIService_CloseOperation_result__isset { @@ -1747,9 +1537,6 @@ typedef struct _TCLIService_CloseOperation_result__isset { class TCLIService_CloseOperation_result { public: - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7"; - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7}; - TCLIService_CloseOperation_result(const TCLIService_CloseOperation_result&); TCLIService_CloseOperation_result& operator=(const TCLIService_CloseOperation_result&); TCLIService_CloseOperation_result() { @@ -1777,7 +1564,6 @@ class TCLIService_CloseOperation_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseOperation_result& obj); }; typedef struct _TCLIService_CloseOperation_presult__isset { @@ -1788,9 +1574,6 @@ typedef struct _TCLIService_CloseOperation_presult__isset { class TCLIService_CloseOperation_presult { public: - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7"; - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7}; - virtual ~TCLIService_CloseOperation_presult() throw(); TCloseOperationResp* success; @@ -1799,7 +1582,6 @@ class TCLIService_CloseOperation_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CloseOperation_presult& obj); }; typedef struct _TCLIService_GetResultSetMetadata_args__isset { @@ -1810,9 +1592,6 @@ typedef struct _TCLIService_GetResultSetMetadata_args__isset { class TCLIService_GetResultSetMetadata_args { public: - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7"; - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7}; - TCLIService_GetResultSetMetadata_args(const TCLIService_GetResultSetMetadata_args&); TCLIService_GetResultSetMetadata_args& operator=(const TCLIService_GetResultSetMetadata_args&); TCLIService_GetResultSetMetadata_args() { @@ -1840,23 +1619,18 @@ class TCLIService_GetResultSetMetadata_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetResultSetMetadata_args& obj); }; class TCLIService_GetResultSetMetadata_pargs { public: - static const char* ascii_fingerprint; // = "2A0009415DC2A8A9CDCF3A75C16ADBE7"; - static const uint8_t binary_fingerprint[16]; // = {0x2A,0x00,0x09,0x41,0x5D,0xC2,0xA8,0xA9,0xCD,0xCF,0x3A,0x75,0xC1,0x6A,0xDB,0xE7}; - virtual ~TCLIService_GetResultSetMetadata_pargs() throw(); const TGetResultSetMetadataReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetResultSetMetadata_pargs& obj); }; typedef struct _TCLIService_GetResultSetMetadata_result__isset { @@ -1867,9 +1641,6 @@ typedef struct _TCLIService_GetResultSetMetadata_result__isset { class TCLIService_GetResultSetMetadata_result { public: - static const char* ascii_fingerprint; // = "748CA3BE2055D5C1AD7EAAEF01F7C463"; - static const uint8_t binary_fingerprint[16]; // = {0x74,0x8C,0xA3,0xBE,0x20,0x55,0xD5,0xC1,0xAD,0x7E,0xAA,0xEF,0x01,0xF7,0xC4,0x63}; - TCLIService_GetResultSetMetadata_result(const TCLIService_GetResultSetMetadata_result&); TCLIService_GetResultSetMetadata_result& operator=(const TCLIService_GetResultSetMetadata_result&); TCLIService_GetResultSetMetadata_result() { @@ -1897,7 +1668,6 @@ class TCLIService_GetResultSetMetadata_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetResultSetMetadata_result& obj); }; typedef struct _TCLIService_GetResultSetMetadata_presult__isset { @@ -1908,9 +1678,6 @@ typedef struct _TCLIService_GetResultSetMetadata_presult__isset { class TCLIService_GetResultSetMetadata_presult { public: - static const char* ascii_fingerprint; // = "748CA3BE2055D5C1AD7EAAEF01F7C463"; - static const uint8_t binary_fingerprint[16]; // = {0x74,0x8C,0xA3,0xBE,0x20,0x55,0xD5,0xC1,0xAD,0x7E,0xAA,0xEF,0x01,0xF7,0xC4,0x63}; - virtual ~TCLIService_GetResultSetMetadata_presult() throw(); TGetResultSetMetadataResp* success; @@ -1919,7 +1686,6 @@ class TCLIService_GetResultSetMetadata_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetResultSetMetadata_presult& obj); }; typedef struct _TCLIService_FetchResults_args__isset { @@ -1930,9 +1696,6 @@ typedef struct _TCLIService_FetchResults_args__isset { class TCLIService_FetchResults_args { public: - static const char* ascii_fingerprint; // = "9861C5443566158A1DAEAC80886635C8"; - static const uint8_t binary_fingerprint[16]; // = {0x98,0x61,0xC5,0x44,0x35,0x66,0x15,0x8A,0x1D,0xAE,0xAC,0x80,0x88,0x66,0x35,0xC8}; - TCLIService_FetchResults_args(const TCLIService_FetchResults_args&); TCLIService_FetchResults_args& operator=(const TCLIService_FetchResults_args&); TCLIService_FetchResults_args() { @@ -1960,23 +1723,18 @@ class TCLIService_FetchResults_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_FetchResults_args& obj); }; class TCLIService_FetchResults_pargs { public: - static const char* ascii_fingerprint; // = "9861C5443566158A1DAEAC80886635C8"; - static const uint8_t binary_fingerprint[16]; // = {0x98,0x61,0xC5,0x44,0x35,0x66,0x15,0x8A,0x1D,0xAE,0xAC,0x80,0x88,0x66,0x35,0xC8}; - virtual ~TCLIService_FetchResults_pargs() throw(); const TFetchResultsReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_FetchResults_pargs& obj); }; typedef struct _TCLIService_FetchResults_result__isset { @@ -1987,9 +1745,6 @@ typedef struct _TCLIService_FetchResults_result__isset { class TCLIService_FetchResults_result { public: - static const char* ascii_fingerprint; // = "CDEF797B9FFCA6B2CD18163A3D78F196"; - static const uint8_t binary_fingerprint[16]; // = {0xCD,0xEF,0x79,0x7B,0x9F,0xFC,0xA6,0xB2,0xCD,0x18,0x16,0x3A,0x3D,0x78,0xF1,0x96}; - TCLIService_FetchResults_result(const TCLIService_FetchResults_result&); TCLIService_FetchResults_result& operator=(const TCLIService_FetchResults_result&); TCLIService_FetchResults_result() { @@ -2017,7 +1772,6 @@ class TCLIService_FetchResults_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_FetchResults_result& obj); }; typedef struct _TCLIService_FetchResults_presult__isset { @@ -2028,9 +1782,6 @@ typedef struct _TCLIService_FetchResults_presult__isset { class TCLIService_FetchResults_presult { public: - static const char* ascii_fingerprint; // = "CDEF797B9FFCA6B2CD18163A3D78F196"; - static const uint8_t binary_fingerprint[16]; // = {0xCD,0xEF,0x79,0x7B,0x9F,0xFC,0xA6,0xB2,0xCD,0x18,0x16,0x3A,0x3D,0x78,0xF1,0x96}; - virtual ~TCLIService_FetchResults_presult() throw(); TFetchResultsResp* success; @@ -2039,7 +1790,6 @@ class TCLIService_FetchResults_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const TCLIService_FetchResults_presult& obj); }; typedef struct _TCLIService_GetDelegationToken_args__isset { @@ -2050,9 +1800,6 @@ typedef struct _TCLIService_GetDelegationToken_args__isset { class TCLIService_GetDelegationToken_args { public: - static const char* ascii_fingerprint; // = "BF8EEEB8C67FB6195D3D9BA5BA2C58A4"; - static const uint8_t binary_fingerprint[16]; // = {0xBF,0x8E,0xEE,0xB8,0xC6,0x7F,0xB6,0x19,0x5D,0x3D,0x9B,0xA5,0xBA,0x2C,0x58,0xA4}; - TCLIService_GetDelegationToken_args(const TCLIService_GetDelegationToken_args&); TCLIService_GetDelegationToken_args& operator=(const TCLIService_GetDelegationToken_args&); TCLIService_GetDelegationToken_args() { @@ -2080,23 +1827,18 @@ class TCLIService_GetDelegationToken_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetDelegationToken_args& obj); }; class TCLIService_GetDelegationToken_pargs { public: - static const char* ascii_fingerprint; // = "BF8EEEB8C67FB6195D3D9BA5BA2C58A4"; - static const uint8_t binary_fingerprint[16]; // = {0xBF,0x8E,0xEE,0xB8,0xC6,0x7F,0xB6,0x19,0x5D,0x3D,0x9B,0xA5,0xBA,0x2C,0x58,0xA4}; - virtual ~TCLIService_GetDelegationToken_pargs() throw(); const TGetDelegationTokenReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetDelegationToken_pargs& obj); }; typedef struct _TCLIService_GetDelegationToken_result__isset { @@ -2107,9 +1849,6 @@ typedef struct _TCLIService_GetDelegationToken_result__isset { class TCLIService_GetDelegationToken_result { public: - static const char* ascii_fingerprint; // = "58C1B84BE91071117FFEBB0AFA1636F7"; - static const uint8_t binary_fingerprint[16]; // = {0x58,0xC1,0xB8,0x4B,0xE9,0x10,0x71,0x11,0x7F,0xFE,0xBB,0x0A,0xFA,0x16,0x36,0xF7}; - TCLIService_GetDelegationToken_result(const TCLIService_GetDelegationToken_result&); TCLIService_GetDelegationToken_result& operator=(const TCLIService_GetDelegationToken_result&); TCLIService_GetDelegationToken_result() { @@ -2137,7 +1876,6 @@ class TCLIService_GetDelegationToken_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetDelegationToken_result& obj); }; typedef struct _TCLIService_GetDelegationToken_presult__isset { @@ -2148,9 +1886,6 @@ typedef struct _TCLIService_GetDelegationToken_presult__isset { class TCLIService_GetDelegationToken_presult { public: - static const char* ascii_fingerprint; // = "58C1B84BE91071117FFEBB0AFA1636F7"; - static const uint8_t binary_fingerprint[16]; // = {0x58,0xC1,0xB8,0x4B,0xE9,0x10,0x71,0x11,0x7F,0xFE,0xBB,0x0A,0xFA,0x16,0x36,0xF7}; - virtual ~TCLIService_GetDelegationToken_presult() throw(); TGetDelegationTokenResp* success; @@ -2159,7 +1894,6 @@ class TCLIService_GetDelegationToken_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const TCLIService_GetDelegationToken_presult& obj); }; typedef struct _TCLIService_CancelDelegationToken_args__isset { @@ -2170,9 +1904,6 @@ typedef struct _TCLIService_CancelDelegationToken_args__isset { class TCLIService_CancelDelegationToken_args { public: - static const char* ascii_fingerprint; // = "9C6A93D9444D84C6B888C2DA30E4CB54"; - static const uint8_t binary_fingerprint[16]; // = {0x9C,0x6A,0x93,0xD9,0x44,0x4D,0x84,0xC6,0xB8,0x88,0xC2,0xDA,0x30,0xE4,0xCB,0x54}; - TCLIService_CancelDelegationToken_args(const TCLIService_CancelDelegationToken_args&); TCLIService_CancelDelegationToken_args& operator=(const TCLIService_CancelDelegationToken_args&); TCLIService_CancelDelegationToken_args() { @@ -2200,23 +1931,18 @@ class TCLIService_CancelDelegationToken_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelDelegationToken_args& obj); }; class TCLIService_CancelDelegationToken_pargs { public: - static const char* ascii_fingerprint; // = "9C6A93D9444D84C6B888C2DA30E4CB54"; - static const uint8_t binary_fingerprint[16]; // = {0x9C,0x6A,0x93,0xD9,0x44,0x4D,0x84,0xC6,0xB8,0x88,0xC2,0xDA,0x30,0xE4,0xCB,0x54}; - virtual ~TCLIService_CancelDelegationToken_pargs() throw(); const TCancelDelegationTokenReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelDelegationToken_pargs& obj); }; typedef struct _TCLIService_CancelDelegationToken_result__isset { @@ -2227,9 +1953,6 @@ typedef struct _TCLIService_CancelDelegationToken_result__isset { class TCLIService_CancelDelegationToken_result { public: - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7"; - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7}; - TCLIService_CancelDelegationToken_result(const TCLIService_CancelDelegationToken_result&); TCLIService_CancelDelegationToken_result& operator=(const TCLIService_CancelDelegationToken_result&); TCLIService_CancelDelegationToken_result() { @@ -2257,7 +1980,6 @@ class TCLIService_CancelDelegationToken_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelDelegationToken_result& obj); }; typedef struct _TCLIService_CancelDelegationToken_presult__isset { @@ -2268,9 +1990,6 @@ typedef struct _TCLIService_CancelDelegationToken_presult__isset { class TCLIService_CancelDelegationToken_presult { public: - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7"; - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7}; - virtual ~TCLIService_CancelDelegationToken_presult() throw(); TCancelDelegationTokenResp* success; @@ -2279,7 +1998,6 @@ class TCLIService_CancelDelegationToken_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const TCLIService_CancelDelegationToken_presult& obj); }; typedef struct _TCLIService_RenewDelegationToken_args__isset { @@ -2290,9 +2008,6 @@ typedef struct _TCLIService_RenewDelegationToken_args__isset { class TCLIService_RenewDelegationToken_args { public: - static const char* ascii_fingerprint; // = "9C6A93D9444D84C6B888C2DA30E4CB54"; - static const uint8_t binary_fingerprint[16]; // = {0x9C,0x6A,0x93,0xD9,0x44,0x4D,0x84,0xC6,0xB8,0x88,0xC2,0xDA,0x30,0xE4,0xCB,0x54}; - TCLIService_RenewDelegationToken_args(const TCLIService_RenewDelegationToken_args&); TCLIService_RenewDelegationToken_args& operator=(const TCLIService_RenewDelegationToken_args&); TCLIService_RenewDelegationToken_args() { @@ -2320,23 +2035,18 @@ class TCLIService_RenewDelegationToken_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_RenewDelegationToken_args& obj); }; class TCLIService_RenewDelegationToken_pargs { public: - static const char* ascii_fingerprint; // = "9C6A93D9444D84C6B888C2DA30E4CB54"; - static const uint8_t binary_fingerprint[16]; // = {0x9C,0x6A,0x93,0xD9,0x44,0x4D,0x84,0xC6,0xB8,0x88,0xC2,0xDA,0x30,0xE4,0xCB,0x54}; - virtual ~TCLIService_RenewDelegationToken_pargs() throw(); const TRenewDelegationTokenReq* req; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_RenewDelegationToken_pargs& obj); }; typedef struct _TCLIService_RenewDelegationToken_result__isset { @@ -2347,9 +2057,6 @@ typedef struct _TCLIService_RenewDelegationToken_result__isset { class TCLIService_RenewDelegationToken_result { public: - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7"; - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7}; - TCLIService_RenewDelegationToken_result(const TCLIService_RenewDelegationToken_result&); TCLIService_RenewDelegationToken_result& operator=(const TCLIService_RenewDelegationToken_result&); TCLIService_RenewDelegationToken_result() { @@ -2377,7 +2084,6 @@ class TCLIService_RenewDelegationToken_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCLIService_RenewDelegationToken_result& obj); }; typedef struct _TCLIService_RenewDelegationToken_presult__isset { @@ -2388,9 +2094,6 @@ typedef struct _TCLIService_RenewDelegationToken_presult__isset { class TCLIService_RenewDelegationToken_presult { public: - static const char* ascii_fingerprint; // = "BDB51A479DCD1EB1DB636FA1B4BE02A7"; - static const uint8_t binary_fingerprint[16]; // = {0xBD,0xB5,0x1A,0x47,0x9D,0xCD,0x1E,0xB1,0xDB,0x63,0x6F,0xA1,0xB4,0xBE,0x02,0xA7}; - virtual ~TCLIService_RenewDelegationToken_presult() throw(); TRenewDelegationTokenResp* success; @@ -2399,7 +2102,6 @@ class TCLIService_RenewDelegationToken_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const TCLIService_RenewDelegationToken_presult& obj); }; class TCLIServiceClient : virtual public TCLIServiceIf { @@ -2760,6 +2462,103 @@ class TCLIServiceMultiface : virtual public TCLIServiceIf { }; +// The 'concurrent' client is a thread safe client that correctly handles +// out of order responses. It is slower than the regular client, so should +// only be used when you need to share a connection among multiple threads +class TCLIServiceConcurrentClient : virtual public TCLIServiceIf { + public: + TCLIServiceConcurrentClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) { + setProtocol(prot); + } + TCLIServiceConcurrentClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) { + setProtocol(iprot,oprot); + } + private: + void setProtocol(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) { + setProtocol(prot,prot); + } + void setProtocol(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) { + piprot_=iprot; + poprot_=oprot; + iprot_ = iprot.get(); + oprot_ = oprot.get(); + } + public: + boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getInputProtocol() { + return piprot_; + } + boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getOutputProtocol() { + return poprot_; + } + void OpenSession(TOpenSessionResp& _return, const TOpenSessionReq& req); + int32_t send_OpenSession(const TOpenSessionReq& req); + void recv_OpenSession(TOpenSessionResp& _return, const int32_t seqid); + void CloseSession(TCloseSessionResp& _return, const TCloseSessionReq& req); + int32_t send_CloseSession(const TCloseSessionReq& req); + void recv_CloseSession(TCloseSessionResp& _return, const int32_t seqid); + void GetInfo(TGetInfoResp& _return, const TGetInfoReq& req); + int32_t send_GetInfo(const TGetInfoReq& req); + void recv_GetInfo(TGetInfoResp& _return, const int32_t seqid); + void ExecuteStatement(TExecuteStatementResp& _return, const TExecuteStatementReq& req); + int32_t send_ExecuteStatement(const TExecuteStatementReq& req); + void recv_ExecuteStatement(TExecuteStatementResp& _return, const int32_t seqid); + void GetTypeInfo(TGetTypeInfoResp& _return, const TGetTypeInfoReq& req); + int32_t send_GetTypeInfo(const TGetTypeInfoReq& req); + void recv_GetTypeInfo(TGetTypeInfoResp& _return, const int32_t seqid); + void GetCatalogs(TGetCatalogsResp& _return, const TGetCatalogsReq& req); + int32_t send_GetCatalogs(const TGetCatalogsReq& req); + void recv_GetCatalogs(TGetCatalogsResp& _return, const int32_t seqid); + void GetSchemas(TGetSchemasResp& _return, const TGetSchemasReq& req); + int32_t send_GetSchemas(const TGetSchemasReq& req); + void recv_GetSchemas(TGetSchemasResp& _return, const int32_t seqid); + void GetTables(TGetTablesResp& _return, const TGetTablesReq& req); + int32_t send_GetTables(const TGetTablesReq& req); + void recv_GetTables(TGetTablesResp& _return, const int32_t seqid); + void GetTableTypes(TGetTableTypesResp& _return, const TGetTableTypesReq& req); + int32_t send_GetTableTypes(const TGetTableTypesReq& req); + void recv_GetTableTypes(TGetTableTypesResp& _return, const int32_t seqid); + void GetColumns(TGetColumnsResp& _return, const TGetColumnsReq& req); + int32_t send_GetColumns(const TGetColumnsReq& req); + void recv_GetColumns(TGetColumnsResp& _return, const int32_t seqid); + void GetFunctions(TGetFunctionsResp& _return, const TGetFunctionsReq& req); + int32_t send_GetFunctions(const TGetFunctionsReq& req); + void recv_GetFunctions(TGetFunctionsResp& _return, const int32_t seqid); + void GetOperationStatus(TGetOperationStatusResp& _return, const TGetOperationStatusReq& req); + int32_t send_GetOperationStatus(const TGetOperationStatusReq& req); + void recv_GetOperationStatus(TGetOperationStatusResp& _return, const int32_t seqid); + void CancelOperation(TCancelOperationResp& _return, const TCancelOperationReq& req); + int32_t send_CancelOperation(const TCancelOperationReq& req); + void recv_CancelOperation(TCancelOperationResp& _return, const int32_t seqid); + void CloseOperation(TCloseOperationResp& _return, const TCloseOperationReq& req); + int32_t send_CloseOperation(const TCloseOperationReq& req); + void recv_CloseOperation(TCloseOperationResp& _return, const int32_t seqid); + void GetResultSetMetadata(TGetResultSetMetadataResp& _return, const TGetResultSetMetadataReq& req); + int32_t send_GetResultSetMetadata(const TGetResultSetMetadataReq& req); + void recv_GetResultSetMetadata(TGetResultSetMetadataResp& _return, const int32_t seqid); + void FetchResults(TFetchResultsResp& _return, const TFetchResultsReq& req); + int32_t send_FetchResults(const TFetchResultsReq& req); + void recv_FetchResults(TFetchResultsResp& _return, const int32_t seqid); + void GetDelegationToken(TGetDelegationTokenResp& _return, const TGetDelegationTokenReq& req); + int32_t send_GetDelegationToken(const TGetDelegationTokenReq& req); + void recv_GetDelegationToken(TGetDelegationTokenResp& _return, const int32_t seqid); + void CancelDelegationToken(TCancelDelegationTokenResp& _return, const TCancelDelegationTokenReq& req); + int32_t send_CancelDelegationToken(const TCancelDelegationTokenReq& req); + void recv_CancelDelegationToken(TCancelDelegationTokenResp& _return, const int32_t seqid); + void RenewDelegationToken(TRenewDelegationTokenResp& _return, const TRenewDelegationTokenReq& req); + int32_t send_RenewDelegationToken(const TRenewDelegationTokenReq& req); + void recv_RenewDelegationToken(TRenewDelegationTokenResp& _return, const int32_t seqid); + protected: + boost::shared_ptr< ::apache::thrift::protocol::TProtocol> piprot_; + boost::shared_ptr< ::apache::thrift::protocol::TProtocol> poprot_; + ::apache::thrift::protocol::TProtocol* iprot_; + ::apache::thrift::protocol::TProtocol* oprot_; + ::apache::thrift::async::TConcurrentClientSyncInfo sync_; +}; + +#ifdef _WIN32 + #pragma warning( pop ) +#endif + }}}}} // namespace #endif diff --git service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp index dcca5c8..60eeff7 100644 --- service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp +++ service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git service/src/gen/thrift/gen-cpp/TCLIService_constants.h service/src/gen/thrift/gen-cpp/TCLIService_constants.h index 8993394..9310717 100644 --- service/src/gen/thrift/gen-cpp/TCLIService_constants.h +++ service/src/gen/thrift/gen-cpp/TCLIService_constants.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git service/src/gen/thrift/gen-cpp/TCLIService_types.cpp service/src/gen/thrift/gen-cpp/TCLIService_types.cpp index 742cfdc..b852379 100644 --- service/src/gen/thrift/gen-cpp/TCLIService_types.cpp +++ service/src/gen/thrift/gen-cpp/TCLIService_types.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -280,11 +280,9 @@ void TTypeQualifierValue::__set_stringValue(const std::string& val) { __isset.stringValue = true; } -const char* TTypeQualifierValue::ascii_fingerprint = "A7801670116150C65ACA43E6F679BA79"; -const uint8_t TTypeQualifierValue::binary_fingerprint[16] = {0xA7,0x80,0x16,0x70,0x11,0x61,0x50,0xC6,0x5A,0xCA,0x43,0xE6,0xF6,0x79,0xBA,0x79}; - uint32_t TTypeQualifierValue::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -333,7 +331,7 @@ uint32_t TTypeQualifierValue::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t TTypeQualifierValue::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TTypeQualifierValue"); if (this->__isset.i32Value) { @@ -348,7 +346,6 @@ uint32_t TTypeQualifierValue::write(::apache::thrift::protocol::TProtocol* oprot } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -370,13 +367,12 @@ TTypeQualifierValue& TTypeQualifierValue::operator=(const TTypeQualifierValue& o __isset = other1.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TTypeQualifierValue& obj) { - using apache::thrift::to_string; +void TTypeQualifierValue::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TTypeQualifierValue("; - out << "i32Value="; (obj.__isset.i32Value ? (out << to_string(obj.i32Value)) : (out << "")); - out << ", " << "stringValue="; (obj.__isset.stringValue ? (out << to_string(obj.stringValue)) : (out << "")); + out << "i32Value="; (__isset.i32Value ? (out << to_string(i32Value)) : (out << "")); + out << ", " << "stringValue="; (__isset.stringValue ? (out << to_string(stringValue)) : (out << "")); out << ")"; - return out; } @@ -388,11 +384,9 @@ void TTypeQualifiers::__set_qualifiers(const std::mapqualifiers = val; } -const char* TTypeQualifiers::ascii_fingerprint = "6C72981CFA989214285648FA8C196C47"; -const uint8_t TTypeQualifiers::binary_fingerprint[16] = {0x6C,0x72,0x98,0x1C,0xFA,0x98,0x92,0x14,0x28,0x56,0x48,0xFA,0x8C,0x19,0x6C,0x47}; - uint32_t TTypeQualifiers::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -451,7 +445,7 @@ uint32_t TTypeQualifiers::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TTypeQualifiers::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TTypeQualifiers"); xfer += oprot->writeFieldBegin("qualifiers", ::apache::thrift::protocol::T_MAP, 1); @@ -469,7 +463,6 @@ uint32_t TTypeQualifiers::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -485,12 +478,11 @@ TTypeQualifiers& TTypeQualifiers::operator=(const TTypeQualifiers& other11) { qualifiers = other11.qualifiers; return *this; } -std::ostream& operator<<(std::ostream& out, const TTypeQualifiers& obj) { - using apache::thrift::to_string; +void TTypeQualifiers::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TTypeQualifiers("; - out << "qualifiers=" << to_string(obj.qualifiers); + out << "qualifiers=" << to_string(qualifiers); out << ")"; - return out; } @@ -507,11 +499,9 @@ void TPrimitiveTypeEntry::__set_typeQualifiers(const TTypeQualifiers& val) { __isset.typeQualifiers = true; } -const char* TPrimitiveTypeEntry::ascii_fingerprint = "755674F6A5C8EB47868686AE386FBC1C"; -const uint8_t TPrimitiveTypeEntry::binary_fingerprint[16] = {0x75,0x56,0x74,0xF6,0xA5,0xC8,0xEB,0x47,0x86,0x86,0x86,0xAE,0x38,0x6F,0xBC,0x1C}; - uint32_t TPrimitiveTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -565,7 +555,7 @@ uint32_t TPrimitiveTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t TPrimitiveTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TPrimitiveTypeEntry"); xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_I32, 1); @@ -579,7 +569,6 @@ uint32_t TPrimitiveTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -601,13 +590,12 @@ TPrimitiveTypeEntry& TPrimitiveTypeEntry::operator=(const TPrimitiveTypeEntry& o __isset = other14.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TPrimitiveTypeEntry& obj) { - using apache::thrift::to_string; +void TPrimitiveTypeEntry::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TPrimitiveTypeEntry("; - out << "type=" << to_string(obj.type); - out << ", " << "typeQualifiers="; (obj.__isset.typeQualifiers ? (out << to_string(obj.typeQualifiers)) : (out << "")); + out << "type=" << to_string(type); + out << ", " << "typeQualifiers="; (__isset.typeQualifiers ? (out << to_string(typeQualifiers)) : (out << "")); out << ")"; - return out; } @@ -619,11 +607,9 @@ void TArrayTypeEntry::__set_objectTypePtr(const TTypeEntryPtr val) { this->objectTypePtr = val; } -const char* TArrayTypeEntry::ascii_fingerprint = "E86CACEB22240450EDCBEFC3A83970E4"; -const uint8_t TArrayTypeEntry::binary_fingerprint[16] = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4}; - uint32_t TArrayTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -667,7 +653,7 @@ uint32_t TArrayTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TArrayTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TArrayTypeEntry"); xfer += oprot->writeFieldBegin("objectTypePtr", ::apache::thrift::protocol::T_I32, 1); @@ -676,7 +662,6 @@ uint32_t TArrayTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -692,12 +677,11 @@ TArrayTypeEntry& TArrayTypeEntry::operator=(const TArrayTypeEntry& other16) { objectTypePtr = other16.objectTypePtr; return *this; } -std::ostream& operator<<(std::ostream& out, const TArrayTypeEntry& obj) { - using apache::thrift::to_string; +void TArrayTypeEntry::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TArrayTypeEntry("; - out << "objectTypePtr=" << to_string(obj.objectTypePtr); + out << "objectTypePtr=" << to_string(objectTypePtr); out << ")"; - return out; } @@ -713,11 +697,9 @@ void TMapTypeEntry::__set_valueTypePtr(const TTypeEntryPtr val) { this->valueTypePtr = val; } -const char* TMapTypeEntry::ascii_fingerprint = "989D1F1AE8D148D5E2119FFEC4BBBEE3"; -const uint8_t TMapTypeEntry::binary_fingerprint[16] = {0x98,0x9D,0x1F,0x1A,0xE8,0xD1,0x48,0xD5,0xE2,0x11,0x9F,0xFE,0xC4,0xBB,0xBE,0xE3}; - uint32_t TMapTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -772,7 +754,7 @@ uint32_t TMapTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TMapTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TMapTypeEntry"); xfer += oprot->writeFieldBegin("keyTypePtr", ::apache::thrift::protocol::T_I32, 1); @@ -785,7 +767,6 @@ uint32_t TMapTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -804,13 +785,12 @@ TMapTypeEntry& TMapTypeEntry::operator=(const TMapTypeEntry& other18) { valueTypePtr = other18.valueTypePtr; return *this; } -std::ostream& operator<<(std::ostream& out, const TMapTypeEntry& obj) { - using apache::thrift::to_string; +void TMapTypeEntry::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TMapTypeEntry("; - out << "keyTypePtr=" << to_string(obj.keyTypePtr); - out << ", " << "valueTypePtr=" << to_string(obj.valueTypePtr); + out << "keyTypePtr=" << to_string(keyTypePtr); + out << ", " << "valueTypePtr=" << to_string(valueTypePtr); out << ")"; - return out; } @@ -822,11 +802,9 @@ void TStructTypeEntry::__set_nameToTypePtr(const std::mapnameToTypePtr = val; } -const char* TStructTypeEntry::ascii_fingerprint = "91F548CA159B4AB4291F5741AC161402"; -const uint8_t TStructTypeEntry::binary_fingerprint[16] = {0x91,0xF5,0x48,0xCA,0x15,0x9B,0x4A,0xB4,0x29,0x1F,0x57,0x41,0xAC,0x16,0x14,0x02}; - uint32_t TStructTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -885,7 +863,7 @@ uint32_t TStructTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TStructTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TStructTypeEntry"); xfer += oprot->writeFieldBegin("nameToTypePtr", ::apache::thrift::protocol::T_MAP, 1); @@ -903,7 +881,6 @@ uint32_t TStructTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -919,12 +896,11 @@ TStructTypeEntry& TStructTypeEntry::operator=(const TStructTypeEntry& other28) { nameToTypePtr = other28.nameToTypePtr; return *this; } -std::ostream& operator<<(std::ostream& out, const TStructTypeEntry& obj) { - using apache::thrift::to_string; +void TStructTypeEntry::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TStructTypeEntry("; - out << "nameToTypePtr=" << to_string(obj.nameToTypePtr); + out << "nameToTypePtr=" << to_string(nameToTypePtr); out << ")"; - return out; } @@ -936,11 +912,9 @@ void TUnionTypeEntry::__set_nameToTypePtr(const std::mapnameToTypePtr = val; } -const char* TUnionTypeEntry::ascii_fingerprint = "91F548CA159B4AB4291F5741AC161402"; -const uint8_t TUnionTypeEntry::binary_fingerprint[16] = {0x91,0xF5,0x48,0xCA,0x15,0x9B,0x4A,0xB4,0x29,0x1F,0x57,0x41,0xAC,0x16,0x14,0x02}; - uint32_t TUnionTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -999,7 +973,7 @@ uint32_t TUnionTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TUnionTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TUnionTypeEntry"); xfer += oprot->writeFieldBegin("nameToTypePtr", ::apache::thrift::protocol::T_MAP, 1); @@ -1017,7 +991,6 @@ uint32_t TUnionTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1033,12 +1006,11 @@ TUnionTypeEntry& TUnionTypeEntry::operator=(const TUnionTypeEntry& other38) { nameToTypePtr = other38.nameToTypePtr; return *this; } -std::ostream& operator<<(std::ostream& out, const TUnionTypeEntry& obj) { - using apache::thrift::to_string; +void TUnionTypeEntry::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TUnionTypeEntry("; - out << "nameToTypePtr=" << to_string(obj.nameToTypePtr); + out << "nameToTypePtr=" << to_string(nameToTypePtr); out << ")"; - return out; } @@ -1050,11 +1022,9 @@ void TUserDefinedTypeEntry::__set_typeClassName(const std::string& val) { this->typeClassName = val; } -const char* TUserDefinedTypeEntry::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; -const uint8_t TUserDefinedTypeEntry::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - uint32_t TUserDefinedTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1098,7 +1068,7 @@ uint32_t TUserDefinedTypeEntry::read(::apache::thrift::protocol::TProtocol* ipro uint32_t TUserDefinedTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TUserDefinedTypeEntry"); xfer += oprot->writeFieldBegin("typeClassName", ::apache::thrift::protocol::T_STRING, 1); @@ -1107,7 +1077,6 @@ uint32_t TUserDefinedTypeEntry::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1123,12 +1092,11 @@ TUserDefinedTypeEntry& TUserDefinedTypeEntry::operator=(const TUserDefinedTypeEn typeClassName = other40.typeClassName; return *this; } -std::ostream& operator<<(std::ostream& out, const TUserDefinedTypeEntry& obj) { - using apache::thrift::to_string; +void TUserDefinedTypeEntry::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TUserDefinedTypeEntry("; - out << "typeClassName=" << to_string(obj.typeClassName); + out << "typeClassName=" << to_string(typeClassName); out << ")"; - return out; } @@ -1160,11 +1128,9 @@ void TTypeEntry::__set_userDefinedTypeEntry(const TUserDefinedTypeEntry& val) { this->userDefinedTypeEntry = val; } -const char* TTypeEntry::ascii_fingerprint = "2FE56D9097E325DAA7E933738C6D325F"; -const uint8_t TTypeEntry::binary_fingerprint[16] = {0x2F,0xE5,0x6D,0x90,0x97,0xE3,0x25,0xDA,0xA7,0xE9,0x33,0x73,0x8C,0x6D,0x32,0x5F}; - uint32_t TTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1245,7 +1211,7 @@ uint32_t TTypeEntry::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TTypeEntry"); xfer += oprot->writeFieldBegin("primitiveEntry", ::apache::thrift::protocol::T_STRUCT, 1); @@ -1274,7 +1240,6 @@ uint32_t TTypeEntry::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1308,17 +1273,16 @@ TTypeEntry& TTypeEntry::operator=(const TTypeEntry& other42) { __isset = other42.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TTypeEntry& obj) { - using apache::thrift::to_string; +void TTypeEntry::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TTypeEntry("; - out << "primitiveEntry=" << to_string(obj.primitiveEntry); - out << ", " << "arrayEntry=" << to_string(obj.arrayEntry); - out << ", " << "mapEntry=" << to_string(obj.mapEntry); - out << ", " << "structEntry=" << to_string(obj.structEntry); - out << ", " << "unionEntry=" << to_string(obj.unionEntry); - out << ", " << "userDefinedTypeEntry=" << to_string(obj.userDefinedTypeEntry); + out << "primitiveEntry=" << to_string(primitiveEntry); + out << ", " << "arrayEntry=" << to_string(arrayEntry); + out << ", " << "mapEntry=" << to_string(mapEntry); + out << ", " << "structEntry=" << to_string(structEntry); + out << ", " << "unionEntry=" << to_string(unionEntry); + out << ", " << "userDefinedTypeEntry=" << to_string(userDefinedTypeEntry); out << ")"; - return out; } @@ -1330,11 +1294,9 @@ void TTypeDesc::__set_types(const std::vector & val) { this->types = val; } -const char* TTypeDesc::ascii_fingerprint = "90B3C5A0B73419A84E85E0E48C452AA5"; -const uint8_t TTypeDesc::binary_fingerprint[16] = {0x90,0xB3,0xC5,0xA0,0xB7,0x34,0x19,0xA8,0x4E,0x85,0xE0,0xE4,0x8C,0x45,0x2A,0xA5}; - uint32_t TTypeDesc::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1390,7 +1352,7 @@ uint32_t TTypeDesc::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TTypeDesc::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TTypeDesc"); xfer += oprot->writeFieldBegin("types", ::apache::thrift::protocol::T_LIST, 1); @@ -1407,7 +1369,6 @@ uint32_t TTypeDesc::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1423,12 +1384,11 @@ TTypeDesc& TTypeDesc::operator=(const TTypeDesc& other50) { types = other50.types; return *this; } -std::ostream& operator<<(std::ostream& out, const TTypeDesc& obj) { - using apache::thrift::to_string; +void TTypeDesc::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TTypeDesc("; - out << "types=" << to_string(obj.types); + out << "types=" << to_string(types); out << ")"; - return out; } @@ -1453,11 +1413,9 @@ void TColumnDesc::__set_comment(const std::string& val) { __isset.comment = true; } -const char* TColumnDesc::ascii_fingerprint = "EABED9009D5FCABFCA65612069F2A849"; -const uint8_t TColumnDesc::binary_fingerprint[16] = {0xEA,0xBE,0xD9,0x00,0x9D,0x5F,0xCA,0xBF,0xCA,0x65,0x61,0x20,0x69,0xF2,0xA8,0x49}; - uint32_t TColumnDesc::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1531,7 +1489,7 @@ uint32_t TColumnDesc::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TColumnDesc::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TColumnDesc"); xfer += oprot->writeFieldBegin("columnName", ::apache::thrift::protocol::T_STRING, 1); @@ -1553,7 +1511,6 @@ uint32_t TColumnDesc::write(::apache::thrift::protocol::TProtocol* oprot) const } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1581,15 +1538,14 @@ TColumnDesc& TColumnDesc::operator=(const TColumnDesc& other52) { __isset = other52.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TColumnDesc& obj) { - using apache::thrift::to_string; +void TColumnDesc::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TColumnDesc("; - out << "columnName=" << to_string(obj.columnName); - out << ", " << "typeDesc=" << to_string(obj.typeDesc); - out << ", " << "position=" << to_string(obj.position); - out << ", " << "comment="; (obj.__isset.comment ? (out << to_string(obj.comment)) : (out << "")); + out << "columnName=" << to_string(columnName); + out << ", " << "typeDesc=" << to_string(typeDesc); + out << ", " << "position=" << to_string(position); + out << ", " << "comment="; (__isset.comment ? (out << to_string(comment)) : (out << "")); out << ")"; - return out; } @@ -1601,11 +1557,9 @@ void TTableSchema::__set_columns(const std::vector & val) { this->columns = val; } -const char* TTableSchema::ascii_fingerprint = "7A1811E49313E5977107FC667B20E39D"; -const uint8_t TTableSchema::binary_fingerprint[16] = {0x7A,0x18,0x11,0xE4,0x93,0x13,0xE5,0x97,0x71,0x07,0xFC,0x66,0x7B,0x20,0xE3,0x9D}; - uint32_t TTableSchema::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1661,7 +1615,7 @@ uint32_t TTableSchema::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TTableSchema::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TTableSchema"); xfer += oprot->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST, 1); @@ -1678,7 +1632,6 @@ uint32_t TTableSchema::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1694,12 +1647,11 @@ TTableSchema& TTableSchema::operator=(const TTableSchema& other60) { columns = other60.columns; return *this; } -std::ostream& operator<<(std::ostream& out, const TTableSchema& obj) { - using apache::thrift::to_string; +void TTableSchema::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TTableSchema("; - out << "columns=" << to_string(obj.columns); + out << "columns=" << to_string(columns); out << ")"; - return out; } @@ -1712,11 +1664,9 @@ void TBoolValue::__set_value(const bool val) { __isset.value = true; } -const char* TBoolValue::ascii_fingerprint = "BF054652DEF86253C2BEE7D947F167DD"; -const uint8_t TBoolValue::binary_fingerprint[16] = {0xBF,0x05,0x46,0x52,0xDE,0xF8,0x62,0x53,0xC2,0xBE,0xE7,0xD9,0x47,0xF1,0x67,0xDD}; - uint32_t TBoolValue::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1757,7 +1707,7 @@ uint32_t TBoolValue::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TBoolValue::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TBoolValue"); if (this->__isset.value) { @@ -1767,7 +1717,6 @@ uint32_t TBoolValue::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1786,12 +1735,11 @@ TBoolValue& TBoolValue::operator=(const TBoolValue& other62) { __isset = other62.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TBoolValue& obj) { - using apache::thrift::to_string; +void TBoolValue::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TBoolValue("; - out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "")); + out << "value="; (__isset.value ? (out << to_string(value)) : (out << "")); out << ")"; - return out; } @@ -1804,11 +1752,9 @@ void TByteValue::__set_value(const int8_t val) { __isset.value = true; } -const char* TByteValue::ascii_fingerprint = "9C15298ACB5D04AEA9B52D5DDE6F9208"; -const uint8_t TByteValue::binary_fingerprint[16] = {0x9C,0x15,0x29,0x8A,0xCB,0x5D,0x04,0xAE,0xA9,0xB5,0x2D,0x5D,0xDE,0x6F,0x92,0x08}; - uint32_t TByteValue::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1849,7 +1795,7 @@ uint32_t TByteValue::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TByteValue::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TByteValue"); if (this->__isset.value) { @@ -1859,7 +1805,6 @@ uint32_t TByteValue::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1878,12 +1823,11 @@ TByteValue& TByteValue::operator=(const TByteValue& other64) { __isset = other64.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TByteValue& obj) { - using apache::thrift::to_string; +void TByteValue::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TByteValue("; - out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "")); + out << "value="; (__isset.value ? (out << to_string(value)) : (out << "")); out << ")"; - return out; } @@ -1896,11 +1840,9 @@ void TI16Value::__set_value(const int16_t val) { __isset.value = true; } -const char* TI16Value::ascii_fingerprint = "5DAC9C51C7E1106BF936FC71860BE9D5"; -const uint8_t TI16Value::binary_fingerprint[16] = {0x5D,0xAC,0x9C,0x51,0xC7,0xE1,0x10,0x6B,0xF9,0x36,0xFC,0x71,0x86,0x0B,0xE9,0xD5}; - uint32_t TI16Value::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -1941,7 +1883,7 @@ uint32_t TI16Value::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TI16Value::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TI16Value"); if (this->__isset.value) { @@ -1951,7 +1893,6 @@ uint32_t TI16Value::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1970,12 +1911,11 @@ TI16Value& TI16Value::operator=(const TI16Value& other66) { __isset = other66.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TI16Value& obj) { - using apache::thrift::to_string; +void TI16Value::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TI16Value("; - out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "")); + out << "value="; (__isset.value ? (out << to_string(value)) : (out << "")); out << ")"; - return out; } @@ -1988,11 +1928,9 @@ void TI32Value::__set_value(const int32_t val) { __isset.value = true; } -const char* TI32Value::ascii_fingerprint = "E7A96B151330359E84C0A3AC91BCBACD"; -const uint8_t TI32Value::binary_fingerprint[16] = {0xE7,0xA9,0x6B,0x15,0x13,0x30,0x35,0x9E,0x84,0xC0,0xA3,0xAC,0x91,0xBC,0xBA,0xCD}; - uint32_t TI32Value::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -2033,7 +1971,7 @@ uint32_t TI32Value::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TI32Value::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TI32Value"); if (this->__isset.value) { @@ -2043,7 +1981,6 @@ uint32_t TI32Value::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2062,12 +1999,11 @@ TI32Value& TI32Value::operator=(const TI32Value& other68) { __isset = other68.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TI32Value& obj) { - using apache::thrift::to_string; +void TI32Value::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TI32Value("; - out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "")); + out << "value="; (__isset.value ? (out << to_string(value)) : (out << "")); out << ")"; - return out; } @@ -2080,11 +2016,9 @@ void TI64Value::__set_value(const int64_t val) { __isset.value = true; } -const char* TI64Value::ascii_fingerprint = "148F3AAAC1D9859963D5E800D187BF26"; -const uint8_t TI64Value::binary_fingerprint[16] = {0x14,0x8F,0x3A,0xAA,0xC1,0xD9,0x85,0x99,0x63,0xD5,0xE8,0x00,0xD1,0x87,0xBF,0x26}; - uint32_t TI64Value::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -2125,7 +2059,7 @@ uint32_t TI64Value::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TI64Value::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TI64Value"); if (this->__isset.value) { @@ -2135,7 +2069,6 @@ uint32_t TI64Value::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2154,12 +2087,11 @@ TI64Value& TI64Value::operator=(const TI64Value& other70) { __isset = other70.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TI64Value& obj) { - using apache::thrift::to_string; +void TI64Value::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TI64Value("; - out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "")); + out << "value="; (__isset.value ? (out << to_string(value)) : (out << "")); out << ")"; - return out; } @@ -2172,11 +2104,9 @@ void TDoubleValue::__set_value(const double val) { __isset.value = true; } -const char* TDoubleValue::ascii_fingerprint = "3586E570A474C4A8603B4FF74903B3A6"; -const uint8_t TDoubleValue::binary_fingerprint[16] = {0x35,0x86,0xE5,0x70,0xA4,0x74,0xC4,0xA8,0x60,0x3B,0x4F,0xF7,0x49,0x03,0xB3,0xA6}; - uint32_t TDoubleValue::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -2217,7 +2147,7 @@ uint32_t TDoubleValue::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TDoubleValue::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TDoubleValue"); if (this->__isset.value) { @@ -2227,7 +2157,6 @@ uint32_t TDoubleValue::write(::apache::thrift::protocol::TProtocol* oprot) const } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2246,12 +2175,11 @@ TDoubleValue& TDoubleValue::operator=(const TDoubleValue& other72) { __isset = other72.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TDoubleValue& obj) { - using apache::thrift::to_string; +void TDoubleValue::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TDoubleValue("; - out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "")); + out << "value="; (__isset.value ? (out << to_string(value)) : (out << "")); out << ")"; - return out; } @@ -2264,11 +2192,9 @@ void TStringValue::__set_value(const std::string& val) { __isset.value = true; } -const char* TStringValue::ascii_fingerprint = "66E694018C17E5B65A59AE8F55CCA3CD"; -const uint8_t TStringValue::binary_fingerprint[16] = {0x66,0xE6,0x94,0x01,0x8C,0x17,0xE5,0xB6,0x5A,0x59,0xAE,0x8F,0x55,0xCC,0xA3,0xCD}; - uint32_t TStringValue::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -2309,7 +2235,7 @@ uint32_t TStringValue::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TStringValue::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TStringValue"); if (this->__isset.value) { @@ -2319,7 +2245,6 @@ uint32_t TStringValue::write(::apache::thrift::protocol::TProtocol* oprot) const } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2338,12 +2263,11 @@ TStringValue& TStringValue::operator=(const TStringValue& other74) { __isset = other74.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TStringValue& obj) { - using apache::thrift::to_string; +void TStringValue::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TStringValue("; - out << "value="; (obj.__isset.value ? (out << to_string(obj.value)) : (out << "")); + out << "value="; (__isset.value ? (out << to_string(value)) : (out << "")); out << ")"; - return out; } @@ -2379,11 +2303,9 @@ void TColumnValue::__set_stringVal(const TStringValue& val) { this->stringVal = val; } -const char* TColumnValue::ascii_fingerprint = "C2DDD988447EA7999A8285AA38AAE9AD"; -const uint8_t TColumnValue::binary_fingerprint[16] = {0xC2,0xDD,0xD9,0x88,0x44,0x7E,0xA7,0x99,0x9A,0x82,0x85,0xAA,0x38,0xAA,0xE9,0xAD}; - uint32_t TColumnValue::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -2472,7 +2394,7 @@ uint32_t TColumnValue::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TColumnValue::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TColumnValue"); xfer += oprot->writeFieldBegin("boolVal", ::apache::thrift::protocol::T_STRUCT, 1); @@ -2505,7 +2427,6 @@ uint32_t TColumnValue::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2542,18 +2463,17 @@ TColumnValue& TColumnValue::operator=(const TColumnValue& other76) { __isset = other76.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TColumnValue& obj) { - using apache::thrift::to_string; +void TColumnValue::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TColumnValue("; - out << "boolVal=" << to_string(obj.boolVal); - out << ", " << "byteVal=" << to_string(obj.byteVal); - out << ", " << "i16Val=" << to_string(obj.i16Val); - out << ", " << "i32Val=" << to_string(obj.i32Val); - out << ", " << "i64Val=" << to_string(obj.i64Val); - out << ", " << "doubleVal=" << to_string(obj.doubleVal); - out << ", " << "stringVal=" << to_string(obj.stringVal); + out << "boolVal=" << to_string(boolVal); + out << ", " << "byteVal=" << to_string(byteVal); + out << ", " << "i16Val=" << to_string(i16Val); + out << ", " << "i32Val=" << to_string(i32Val); + out << ", " << "i64Val=" << to_string(i64Val); + out << ", " << "doubleVal=" << to_string(doubleVal); + out << ", " << "stringVal=" << to_string(stringVal); out << ")"; - return out; } @@ -2565,11 +2485,9 @@ void TRow::__set_colVals(const std::vector & val) { this->colVals = val; } -const char* TRow::ascii_fingerprint = "E73FD1FCA0CA58A669FC3E02FB68D534"; -const uint8_t TRow::binary_fingerprint[16] = {0xE7,0x3F,0xD1,0xFC,0xA0,0xCA,0x58,0xA6,0x69,0xFC,0x3E,0x02,0xFB,0x68,0xD5,0x34}; - uint32_t TRow::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -2625,7 +2543,7 @@ uint32_t TRow::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TRow::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TRow"); xfer += oprot->writeFieldBegin("colVals", ::apache::thrift::protocol::T_LIST, 1); @@ -2642,7 +2560,6 @@ uint32_t TRow::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2658,12 +2575,11 @@ TRow& TRow::operator=(const TRow& other84) { colVals = other84.colVals; return *this; } -std::ostream& operator<<(std::ostream& out, const TRow& obj) { - using apache::thrift::to_string; +void TRow::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TRow("; - out << "colVals=" << to_string(obj.colVals); + out << "colVals=" << to_string(colVals); out << ")"; - return out; } @@ -2679,11 +2595,9 @@ void TBoolColumn::__set_nulls(const std::string& val) { this->nulls = val; } -const char* TBoolColumn::ascii_fingerprint = "F9058324D96DB7F974D8ACDC01C54219"; -const uint8_t TBoolColumn::binary_fingerprint[16] = {0xF9,0x05,0x83,0x24,0xD9,0x6D,0xB7,0xF9,0x74,0xD8,0xAC,0xDC,0x01,0xC5,0x42,0x19}; - uint32_t TBoolColumn::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -2750,7 +2664,7 @@ uint32_t TBoolColumn::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TBoolColumn::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TBoolColumn"); xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); @@ -2771,7 +2685,6 @@ uint32_t TBoolColumn::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2790,13 +2703,12 @@ TBoolColumn& TBoolColumn::operator=(const TBoolColumn& other92) { nulls = other92.nulls; return *this; } -std::ostream& operator<<(std::ostream& out, const TBoolColumn& obj) { - using apache::thrift::to_string; +void TBoolColumn::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TBoolColumn("; - out << "values=" << to_string(obj.values); - out << ", " << "nulls=" << to_string(obj.nulls); + out << "values=" << to_string(values); + out << ", " << "nulls=" << to_string(nulls); out << ")"; - return out; } @@ -2812,11 +2724,9 @@ void TByteColumn::__set_nulls(const std::string& val) { this->nulls = val; } -const char* TByteColumn::ascii_fingerprint = "1CB300106BAA463A70BB2A2395900F48"; -const uint8_t TByteColumn::binary_fingerprint[16] = {0x1C,0xB3,0x00,0x10,0x6B,0xAA,0x46,0x3A,0x70,0xBB,0x2A,0x23,0x95,0x90,0x0F,0x48}; - uint32_t TByteColumn::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -2883,7 +2793,7 @@ uint32_t TByteColumn::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TByteColumn::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TByteColumn"); xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); @@ -2904,7 +2814,6 @@ uint32_t TByteColumn::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -2923,13 +2832,12 @@ TByteColumn& TByteColumn::operator=(const TByteColumn& other100) { nulls = other100.nulls; return *this; } -std::ostream& operator<<(std::ostream& out, const TByteColumn& obj) { - using apache::thrift::to_string; +void TByteColumn::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TByteColumn("; - out << "values=" << to_string(obj.values); - out << ", " << "nulls=" << to_string(obj.nulls); + out << "values=" << to_string(values); + out << ", " << "nulls=" << to_string(nulls); out << ")"; - return out; } @@ -2945,11 +2853,9 @@ void TI16Column::__set_nulls(const std::string& val) { this->nulls = val; } -const char* TI16Column::ascii_fingerprint = "6574CDB1F121C8DB47FB257A3F104BDB"; -const uint8_t TI16Column::binary_fingerprint[16] = {0x65,0x74,0xCD,0xB1,0xF1,0x21,0xC8,0xDB,0x47,0xFB,0x25,0x7A,0x3F,0x10,0x4B,0xDB}; - uint32_t TI16Column::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -3016,7 +2922,7 @@ uint32_t TI16Column::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TI16Column::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TI16Column"); xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); @@ -3037,7 +2943,6 @@ uint32_t TI16Column::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3056,13 +2961,12 @@ TI16Column& TI16Column::operator=(const TI16Column& other108) { nulls = other108.nulls; return *this; } -std::ostream& operator<<(std::ostream& out, const TI16Column& obj) { - using apache::thrift::to_string; +void TI16Column::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TI16Column("; - out << "values=" << to_string(obj.values); - out << ", " << "nulls=" << to_string(obj.nulls); + out << "values=" << to_string(values); + out << ", " << "nulls=" << to_string(nulls); out << ")"; - return out; } @@ -3078,11 +2982,9 @@ void TI32Column::__set_nulls(const std::string& val) { this->nulls = val; } -const char* TI32Column::ascii_fingerprint = "CCCCE89C7E9DA10280F5663700677313"; -const uint8_t TI32Column::binary_fingerprint[16] = {0xCC,0xCC,0xE8,0x9C,0x7E,0x9D,0xA1,0x02,0x80,0xF5,0x66,0x37,0x00,0x67,0x73,0x13}; - uint32_t TI32Column::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -3149,7 +3051,7 @@ uint32_t TI32Column::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TI32Column::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TI32Column"); xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); @@ -3170,7 +3072,6 @@ uint32_t TI32Column::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3189,13 +3090,12 @@ TI32Column& TI32Column::operator=(const TI32Column& other116) { nulls = other116.nulls; return *this; } -std::ostream& operator<<(std::ostream& out, const TI32Column& obj) { - using apache::thrift::to_string; +void TI32Column::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TI32Column("; - out << "values=" << to_string(obj.values); - out << ", " << "nulls=" << to_string(obj.nulls); + out << "values=" << to_string(values); + out << ", " << "nulls=" << to_string(nulls); out << ")"; - return out; } @@ -3211,11 +3111,9 @@ void TI64Column::__set_nulls(const std::string& val) { this->nulls = val; } -const char* TI64Column::ascii_fingerprint = "925353917FC0AF87976A2338011F5A31"; -const uint8_t TI64Column::binary_fingerprint[16] = {0x92,0x53,0x53,0x91,0x7F,0xC0,0xAF,0x87,0x97,0x6A,0x23,0x38,0x01,0x1F,0x5A,0x31}; - uint32_t TI64Column::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -3282,7 +3180,7 @@ uint32_t TI64Column::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TI64Column::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TI64Column"); xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); @@ -3303,7 +3201,6 @@ uint32_t TI64Column::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3322,13 +3219,12 @@ TI64Column& TI64Column::operator=(const TI64Column& other124) { nulls = other124.nulls; return *this; } -std::ostream& operator<<(std::ostream& out, const TI64Column& obj) { - using apache::thrift::to_string; +void TI64Column::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TI64Column("; - out << "values=" << to_string(obj.values); - out << ", " << "nulls=" << to_string(obj.nulls); + out << "values=" << to_string(values); + out << ", " << "nulls=" << to_string(nulls); out << ")"; - return out; } @@ -3344,11 +3240,9 @@ void TDoubleColumn::__set_nulls(const std::string& val) { this->nulls = val; } -const char* TDoubleColumn::ascii_fingerprint = "8FF1C050A8D7FD247AEB23CD71539C09"; -const uint8_t TDoubleColumn::binary_fingerprint[16] = {0x8F,0xF1,0xC0,0x50,0xA8,0xD7,0xFD,0x24,0x7A,0xEB,0x23,0xCD,0x71,0x53,0x9C,0x09}; - uint32_t TDoubleColumn::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -3415,7 +3309,7 @@ uint32_t TDoubleColumn::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TDoubleColumn::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TDoubleColumn"); xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); @@ -3436,7 +3330,6 @@ uint32_t TDoubleColumn::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3455,13 +3348,12 @@ TDoubleColumn& TDoubleColumn::operator=(const TDoubleColumn& other132) { nulls = other132.nulls; return *this; } -std::ostream& operator<<(std::ostream& out, const TDoubleColumn& obj) { - using apache::thrift::to_string; +void TDoubleColumn::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TDoubleColumn("; - out << "values=" << to_string(obj.values); - out << ", " << "nulls=" << to_string(obj.nulls); + out << "values=" << to_string(values); + out << ", " << "nulls=" << to_string(nulls); out << ")"; - return out; } @@ -3477,11 +3369,9 @@ void TStringColumn::__set_nulls(const std::string& val) { this->nulls = val; } -const char* TStringColumn::ascii_fingerprint = "BE556BF7091B2DABBA1863D5E458B15F"; -const uint8_t TStringColumn::binary_fingerprint[16] = {0xBE,0x55,0x6B,0xF7,0x09,0x1B,0x2D,0xAB,0xBA,0x18,0x63,0xD5,0xE4,0x58,0xB1,0x5F}; - uint32_t TStringColumn::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -3548,7 +3438,7 @@ uint32_t TStringColumn::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TStringColumn::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TStringColumn"); xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); @@ -3569,7 +3459,6 @@ uint32_t TStringColumn::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3588,13 +3477,12 @@ TStringColumn& TStringColumn::operator=(const TStringColumn& other140) { nulls = other140.nulls; return *this; } -std::ostream& operator<<(std::ostream& out, const TStringColumn& obj) { - using apache::thrift::to_string; +void TStringColumn::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TStringColumn("; - out << "values=" << to_string(obj.values); - out << ", " << "nulls=" << to_string(obj.nulls); + out << "values=" << to_string(values); + out << ", " << "nulls=" << to_string(nulls); out << ")"; - return out; } @@ -3610,11 +3498,9 @@ void TBinaryColumn::__set_nulls(const std::string& val) { this->nulls = val; } -const char* TBinaryColumn::ascii_fingerprint = "BE556BF7091B2DABBA1863D5E458B15F"; -const uint8_t TBinaryColumn::binary_fingerprint[16] = {0xBE,0x55,0x6B,0xF7,0x09,0x1B,0x2D,0xAB,0xBA,0x18,0x63,0xD5,0xE4,0x58,0xB1,0x5F}; - uint32_t TBinaryColumn::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -3681,7 +3567,7 @@ uint32_t TBinaryColumn::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TBinaryColumn::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TBinaryColumn"); xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); @@ -3702,7 +3588,6 @@ uint32_t TBinaryColumn::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3721,13 +3606,12 @@ TBinaryColumn& TBinaryColumn::operator=(const TBinaryColumn& other148) { nulls = other148.nulls; return *this; } -std::ostream& operator<<(std::ostream& out, const TBinaryColumn& obj) { - using apache::thrift::to_string; +void TBinaryColumn::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TBinaryColumn("; - out << "values=" << to_string(obj.values); - out << ", " << "nulls=" << to_string(obj.nulls); + out << "values=" << to_string(values); + out << ", " << "nulls=" << to_string(nulls); out << ")"; - return out; } @@ -3767,11 +3651,9 @@ void TColumn::__set_binaryVal(const TBinaryColumn& val) { this->binaryVal = val; } -const char* TColumn::ascii_fingerprint = "E6ADD10B4CDDE61A19E8878CC7039A17"; -const uint8_t TColumn::binary_fingerprint[16] = {0xE6,0xAD,0xD1,0x0B,0x4C,0xDD,0xE6,0x1A,0x19,0xE8,0x87,0x8C,0xC7,0x03,0x9A,0x17}; - uint32_t TColumn::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -3868,7 +3750,7 @@ uint32_t TColumn::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TColumn::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TColumn"); xfer += oprot->writeFieldBegin("boolVal", ::apache::thrift::protocol::T_STRUCT, 1); @@ -3905,7 +3787,6 @@ uint32_t TColumn::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -3945,19 +3826,18 @@ TColumn& TColumn::operator=(const TColumn& other150) { __isset = other150.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TColumn& obj) { - using apache::thrift::to_string; +void TColumn::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TColumn("; - out << "boolVal=" << to_string(obj.boolVal); - out << ", " << "byteVal=" << to_string(obj.byteVal); - out << ", " << "i16Val=" << to_string(obj.i16Val); - out << ", " << "i32Val=" << to_string(obj.i32Val); - out << ", " << "i64Val=" << to_string(obj.i64Val); - out << ", " << "doubleVal=" << to_string(obj.doubleVal); - out << ", " << "stringVal=" << to_string(obj.stringVal); - out << ", " << "binaryVal=" << to_string(obj.binaryVal); + out << "boolVal=" << to_string(boolVal); + out << ", " << "byteVal=" << to_string(byteVal); + out << ", " << "i16Val=" << to_string(i16Val); + out << ", " << "i32Val=" << to_string(i32Val); + out << ", " << "i64Val=" << to_string(i64Val); + out << ", " << "doubleVal=" << to_string(doubleVal); + out << ", " << "stringVal=" << to_string(stringVal); + out << ", " << "binaryVal=" << to_string(binaryVal); out << ")"; - return out; } @@ -3978,11 +3858,9 @@ void TRowSet::__set_columns(const std::vector & val) { __isset.columns = true; } -const char* TRowSet::ascii_fingerprint = "46DA30A870489C7A58105AE0080DAEBF"; -const uint8_t TRowSet::binary_fingerprint[16] = {0x46,0xDA,0x30,0xA8,0x70,0x48,0x9C,0x7A,0x58,0x10,0x5A,0xE0,0x08,0x0D,0xAE,0xBF}; - uint32_t TRowSet::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -4069,7 +3947,7 @@ uint32_t TRowSet::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TRowSet::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TRowSet"); xfer += oprot->writeFieldBegin("startRowOffset", ::apache::thrift::protocol::T_I64, 1); @@ -4103,7 +3981,6 @@ uint32_t TRowSet::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -4128,14 +4005,13 @@ TRowSet& TRowSet::operator=(const TRowSet& other164) { __isset = other164.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TRowSet& obj) { - using apache::thrift::to_string; +void TRowSet::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TRowSet("; - out << "startRowOffset=" << to_string(obj.startRowOffset); - out << ", " << "rows=" << to_string(obj.rows); - out << ", " << "columns="; (obj.__isset.columns ? (out << to_string(obj.columns)) : (out << "")); + out << "startRowOffset=" << to_string(startRowOffset); + out << ", " << "rows=" << to_string(rows); + out << ", " << "columns="; (__isset.columns ? (out << to_string(columns)) : (out << "")); out << ")"; - return out; } @@ -4167,11 +4043,9 @@ void TStatus::__set_errorMessage(const std::string& val) { __isset.errorMessage = true; } -const char* TStatus::ascii_fingerprint = "D5DEF49634A59C615C1B3A6F7D0DADB5"; -const uint8_t TStatus::binary_fingerprint[16] = {0xD5,0xDE,0xF4,0x96,0x34,0xA5,0x9C,0x61,0x5C,0x1B,0x3A,0x6F,0x7D,0x0D,0xAD,0xB5}; - uint32_t TStatus::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -4261,7 +4135,7 @@ uint32_t TStatus::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TStatus::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TStatus"); xfer += oprot->writeFieldBegin("statusCode", ::apache::thrift::protocol::T_I32, 1); @@ -4298,7 +4172,6 @@ uint32_t TStatus::write(::apache::thrift::protocol::TProtocol* oprot) const { } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -4329,16 +4202,15 @@ TStatus& TStatus::operator=(const TStatus& other173) { __isset = other173.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TStatus& obj) { - using apache::thrift::to_string; +void TStatus::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TStatus("; - out << "statusCode=" << to_string(obj.statusCode); - out << ", " << "infoMessages="; (obj.__isset.infoMessages ? (out << to_string(obj.infoMessages)) : (out << "")); - out << ", " << "sqlState="; (obj.__isset.sqlState ? (out << to_string(obj.sqlState)) : (out << "")); - out << ", " << "errorCode="; (obj.__isset.errorCode ? (out << to_string(obj.errorCode)) : (out << "")); - out << ", " << "errorMessage="; (obj.__isset.errorMessage ? (out << to_string(obj.errorMessage)) : (out << "")); + out << "statusCode=" << to_string(statusCode); + out << ", " << "infoMessages="; (__isset.infoMessages ? (out << to_string(infoMessages)) : (out << "")); + out << ", " << "sqlState="; (__isset.sqlState ? (out << to_string(sqlState)) : (out << "")); + out << ", " << "errorCode="; (__isset.errorCode ? (out << to_string(errorCode)) : (out << "")); + out << ", " << "errorMessage="; (__isset.errorMessage ? (out << to_string(errorMessage)) : (out << "")); out << ")"; - return out; } @@ -4354,11 +4226,9 @@ void THandleIdentifier::__set_secret(const std::string& val) { this->secret = val; } -const char* THandleIdentifier::ascii_fingerprint = "07A9615F837F7D0A952B595DD3020972"; -const uint8_t THandleIdentifier::binary_fingerprint[16] = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - uint32_t THandleIdentifier::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -4413,7 +4283,7 @@ uint32_t THandleIdentifier::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t THandleIdentifier::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("THandleIdentifier"); xfer += oprot->writeFieldBegin("guid", ::apache::thrift::protocol::T_STRING, 1); @@ -4426,7 +4296,6 @@ uint32_t THandleIdentifier::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -4445,13 +4314,12 @@ THandleIdentifier& THandleIdentifier::operator=(const THandleIdentifier& other17 secret = other175.secret; return *this; } -std::ostream& operator<<(std::ostream& out, const THandleIdentifier& obj) { - using apache::thrift::to_string; +void THandleIdentifier::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "THandleIdentifier("; - out << "guid=" << to_string(obj.guid); - out << ", " << "secret=" << to_string(obj.secret); + out << "guid=" << to_string(guid); + out << ", " << "secret=" << to_string(secret); out << ")"; - return out; } @@ -4463,11 +4331,9 @@ void TSessionHandle::__set_sessionId(const THandleIdentifier& val) { this->sessionId = val; } -const char* TSessionHandle::ascii_fingerprint = "A756D3DBE614FB13F70BF7F7B6EB3D73"; -const uint8_t TSessionHandle::binary_fingerprint[16] = {0xA7,0x56,0xD3,0xDB,0xE6,0x14,0xFB,0x13,0xF7,0x0B,0xF7,0xF7,0xB6,0xEB,0x3D,0x73}; - uint32_t TSessionHandle::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -4511,7 +4377,7 @@ uint32_t TSessionHandle::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TSessionHandle::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TSessionHandle"); xfer += oprot->writeFieldBegin("sessionId", ::apache::thrift::protocol::T_STRUCT, 1); @@ -4520,7 +4386,6 @@ uint32_t TSessionHandle::write(::apache::thrift::protocol::TProtocol* oprot) con xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -4536,12 +4401,11 @@ TSessionHandle& TSessionHandle::operator=(const TSessionHandle& other177) { sessionId = other177.sessionId; return *this; } -std::ostream& operator<<(std::ostream& out, const TSessionHandle& obj) { - using apache::thrift::to_string; +void TSessionHandle::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TSessionHandle("; - out << "sessionId=" << to_string(obj.sessionId); + out << "sessionId=" << to_string(sessionId); out << ")"; - return out; } @@ -4566,11 +4430,9 @@ void TOperationHandle::__set_modifiedRowCount(const double val) { __isset.modifiedRowCount = true; } -const char* TOperationHandle::ascii_fingerprint = "29FD80F4F96804A30FCC59C23D2E5349"; -const uint8_t TOperationHandle::binary_fingerprint[16] = {0x29,0xFD,0x80,0xF4,0xF9,0x68,0x04,0xA3,0x0F,0xCC,0x59,0xC2,0x3D,0x2E,0x53,0x49}; - uint32_t TOperationHandle::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -4646,7 +4508,7 @@ uint32_t TOperationHandle::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TOperationHandle::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TOperationHandle"); xfer += oprot->writeFieldBegin("operationId", ::apache::thrift::protocol::T_STRUCT, 1); @@ -4668,7 +4530,6 @@ uint32_t TOperationHandle::write(::apache::thrift::protocol::TProtocol* oprot) c } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -4696,15 +4557,14 @@ TOperationHandle& TOperationHandle::operator=(const TOperationHandle& other180) __isset = other180.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TOperationHandle& obj) { - using apache::thrift::to_string; +void TOperationHandle::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TOperationHandle("; - out << "operationId=" << to_string(obj.operationId); - out << ", " << "operationType=" << to_string(obj.operationType); - out << ", " << "hasResultSet=" << to_string(obj.hasResultSet); - out << ", " << "modifiedRowCount="; (obj.__isset.modifiedRowCount ? (out << to_string(obj.modifiedRowCount)) : (out << "")); + out << "operationId=" << to_string(operationId); + out << ", " << "operationType=" << to_string(operationType); + out << ", " << "hasResultSet=" << to_string(hasResultSet); + out << ", " << "modifiedRowCount="; (__isset.modifiedRowCount ? (out << to_string(modifiedRowCount)) : (out << "")); out << ")"; - return out; } @@ -4731,11 +4591,9 @@ void TOpenSessionReq::__set_configuration(const std::mapincrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TOpenSessionReq"); xfer += oprot->writeFieldBegin("client_protocol", ::apache::thrift::protocol::T_I32, 1); @@ -4853,7 +4711,6 @@ uint32_t TOpenSessionReq::write(::apache::thrift::protocol::TProtocol* oprot) co } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -4881,15 +4738,14 @@ TOpenSessionReq& TOpenSessionReq::operator=(const TOpenSessionReq& other191) { __isset = other191.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TOpenSessionReq& obj) { - using apache::thrift::to_string; +void TOpenSessionReq::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TOpenSessionReq("; - out << "client_protocol=" << to_string(obj.client_protocol); - out << ", " << "username="; (obj.__isset.username ? (out << to_string(obj.username)) : (out << "")); - out << ", " << "password="; (obj.__isset.password ? (out << to_string(obj.password)) : (out << "")); - out << ", " << "configuration="; (obj.__isset.configuration ? (out << to_string(obj.configuration)) : (out << "")); + out << "client_protocol=" << to_string(client_protocol); + out << ", " << "username="; (__isset.username ? (out << to_string(username)) : (out << "")); + out << ", " << "password="; (__isset.password ? (out << to_string(password)) : (out << "")); + out << ", " << "configuration="; (__isset.configuration ? (out << to_string(configuration)) : (out << "")); out << ")"; - return out; } @@ -4915,11 +4771,9 @@ void TOpenSessionResp::__set_configuration(const std::mapincrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TOpenSessionResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5039,7 +4893,6 @@ uint32_t TOpenSessionResp::write(::apache::thrift::protocol::TProtocol* oprot) c } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -5067,15 +4920,14 @@ TOpenSessionResp& TOpenSessionResp::operator=(const TOpenSessionResp& other202) __isset = other202.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TOpenSessionResp& obj) { - using apache::thrift::to_string; +void TOpenSessionResp::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TOpenSessionResp("; - out << "status=" << to_string(obj.status); - out << ", " << "serverProtocolVersion=" << to_string(obj.serverProtocolVersion); - out << ", " << "sessionHandle="; (obj.__isset.sessionHandle ? (out << to_string(obj.sessionHandle)) : (out << "")); - out << ", " << "configuration="; (obj.__isset.configuration ? (out << to_string(obj.configuration)) : (out << "")); + out << "status=" << to_string(status); + out << ", " << "serverProtocolVersion=" << to_string(serverProtocolVersion); + out << ", " << "sessionHandle="; (__isset.sessionHandle ? (out << to_string(sessionHandle)) : (out << "")); + out << ", " << "configuration="; (__isset.configuration ? (out << to_string(configuration)) : (out << "")); out << ")"; - return out; } @@ -5087,11 +4939,9 @@ void TCloseSessionReq::__set_sessionHandle(const TSessionHandle& val) { this->sessionHandle = val; } -const char* TCloseSessionReq::ascii_fingerprint = "82377107F8BD0526960537D5A112E6EF"; -const uint8_t TCloseSessionReq::binary_fingerprint[16] = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF}; - uint32_t TCloseSessionReq::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -5135,7 +4985,7 @@ uint32_t TCloseSessionReq::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TCloseSessionReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCloseSessionReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5144,7 +4994,6 @@ uint32_t TCloseSessionReq::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -5160,12 +5009,11 @@ TCloseSessionReq& TCloseSessionReq::operator=(const TCloseSessionReq& other204) sessionHandle = other204.sessionHandle; return *this; } -std::ostream& operator<<(std::ostream& out, const TCloseSessionReq& obj) { - using apache::thrift::to_string; +void TCloseSessionReq::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TCloseSessionReq("; - out << "sessionHandle=" << to_string(obj.sessionHandle); + out << "sessionHandle=" << to_string(sessionHandle); out << ")"; - return out; } @@ -5177,11 +5025,9 @@ void TCloseSessionResp::__set_status(const TStatus& val) { this->status = val; } -const char* TCloseSessionResp::ascii_fingerprint = "7142E89F09DC7C5F6FA916C7393F46C2"; -const uint8_t TCloseSessionResp::binary_fingerprint[16] = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2}; - uint32_t TCloseSessionResp::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -5225,7 +5071,7 @@ uint32_t TCloseSessionResp::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TCloseSessionResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCloseSessionResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5234,7 +5080,6 @@ uint32_t TCloseSessionResp::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -5250,12 +5095,11 @@ TCloseSessionResp& TCloseSessionResp::operator=(const TCloseSessionResp& other20 status = other206.status; return *this; } -std::ostream& operator<<(std::ostream& out, const TCloseSessionResp& obj) { - using apache::thrift::to_string; +void TCloseSessionResp::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TCloseSessionResp("; - out << "status=" << to_string(obj.status); + out << "status=" << to_string(status); out << ")"; - return out; } @@ -5287,11 +5131,9 @@ void TGetInfoValue::__set_lenValue(const int64_t val) { this->lenValue = val; } -const char* TGetInfoValue::ascii_fingerprint = "057FED11279FD7248CFE73EE82ED579E"; -const uint8_t TGetInfoValue::binary_fingerprint[16] = {0x05,0x7F,0xED,0x11,0x27,0x9F,0xD7,0x24,0x8C,0xFE,0x73,0xEE,0x82,0xED,0x57,0x9E}; - uint32_t TGetInfoValue::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -5372,7 +5214,7 @@ uint32_t TGetInfoValue::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetInfoValue::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetInfoValue"); xfer += oprot->writeFieldBegin("stringValue", ::apache::thrift::protocol::T_STRING, 1); @@ -5401,7 +5243,6 @@ uint32_t TGetInfoValue::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -5435,17 +5276,16 @@ TGetInfoValue& TGetInfoValue::operator=(const TGetInfoValue& other208) { __isset = other208.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetInfoValue& obj) { - using apache::thrift::to_string; +void TGetInfoValue::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetInfoValue("; - out << "stringValue=" << to_string(obj.stringValue); - out << ", " << "smallIntValue=" << to_string(obj.smallIntValue); - out << ", " << "integerBitmask=" << to_string(obj.integerBitmask); - out << ", " << "integerFlag=" << to_string(obj.integerFlag); - out << ", " << "binaryValue=" << to_string(obj.binaryValue); - out << ", " << "lenValue=" << to_string(obj.lenValue); + out << "stringValue=" << to_string(stringValue); + out << ", " << "smallIntValue=" << to_string(smallIntValue); + out << ", " << "integerBitmask=" << to_string(integerBitmask); + out << ", " << "integerFlag=" << to_string(integerFlag); + out << ", " << "binaryValue=" << to_string(binaryValue); + out << ", " << "lenValue=" << to_string(lenValue); out << ")"; - return out; } @@ -5461,11 +5301,9 @@ void TGetInfoReq::__set_infoType(const TGetInfoType::type val) { this->infoType = val; } -const char* TGetInfoReq::ascii_fingerprint = "95675B1A0BADE5F7EDE323809DB679B2"; -const uint8_t TGetInfoReq::binary_fingerprint[16] = {0x95,0x67,0x5B,0x1A,0x0B,0xAD,0xE5,0xF7,0xED,0xE3,0x23,0x80,0x9D,0xB6,0x79,0xB2}; - uint32_t TGetInfoReq::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -5522,7 +5360,7 @@ uint32_t TGetInfoReq::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetInfoReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetInfoReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5535,7 +5373,6 @@ uint32_t TGetInfoReq::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -5554,13 +5391,12 @@ TGetInfoReq& TGetInfoReq::operator=(const TGetInfoReq& other211) { infoType = other211.infoType; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetInfoReq& obj) { - using apache::thrift::to_string; +void TGetInfoReq::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetInfoReq("; - out << "sessionHandle=" << to_string(obj.sessionHandle); - out << ", " << "infoType=" << to_string(obj.infoType); + out << "sessionHandle=" << to_string(sessionHandle); + out << ", " << "infoType=" << to_string(infoType); out << ")"; - return out; } @@ -5576,11 +5412,9 @@ void TGetInfoResp::__set_infoValue(const TGetInfoValue& val) { this->infoValue = val; } -const char* TGetInfoResp::ascii_fingerprint = "72AFA10A82728B51FDE91092012868DE"; -const uint8_t TGetInfoResp::binary_fingerprint[16] = {0x72,0xAF,0xA1,0x0A,0x82,0x72,0x8B,0x51,0xFD,0xE9,0x10,0x92,0x01,0x28,0x68,0xDE}; - uint32_t TGetInfoResp::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -5635,7 +5469,7 @@ uint32_t TGetInfoResp::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetInfoResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetInfoResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5648,7 +5482,6 @@ uint32_t TGetInfoResp::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -5667,13 +5500,12 @@ TGetInfoResp& TGetInfoResp::operator=(const TGetInfoResp& other213) { infoValue = other213.infoValue; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetInfoResp& obj) { - using apache::thrift::to_string; +void TGetInfoResp::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetInfoResp("; - out << "status=" << to_string(obj.status); - out << ", " << "infoValue=" << to_string(obj.infoValue); + out << "status=" << to_string(status); + out << ", " << "infoValue=" << to_string(infoValue); out << ")"; - return out; } @@ -5699,11 +5531,9 @@ void TExecuteStatementReq::__set_runAsync(const bool val) { __isset.runAsync = true; } -const char* TExecuteStatementReq::ascii_fingerprint = "FED75DB77E66D76EC1939A51FB0D96FA"; -const uint8_t TExecuteStatementReq::binary_fingerprint[16] = {0xFE,0xD7,0x5D,0xB7,0x7E,0x66,0xD7,0x6E,0xC1,0x93,0x9A,0x51,0xFB,0x0D,0x96,0xFA}; - uint32_t TExecuteStatementReq::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -5789,7 +5619,7 @@ uint32_t TExecuteStatementReq::read(::apache::thrift::protocol::TProtocol* iprot uint32_t TExecuteStatementReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TExecuteStatementReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5821,7 +5651,6 @@ uint32_t TExecuteStatementReq::write(::apache::thrift::protocol::TProtocol* opro } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -5849,15 +5678,14 @@ TExecuteStatementReq& TExecuteStatementReq::operator=(const TExecuteStatementReq __isset = other223.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TExecuteStatementReq& obj) { - using apache::thrift::to_string; +void TExecuteStatementReq::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TExecuteStatementReq("; - out << "sessionHandle=" << to_string(obj.sessionHandle); - out << ", " << "statement=" << to_string(obj.statement); - out << ", " << "confOverlay="; (obj.__isset.confOverlay ? (out << to_string(obj.confOverlay)) : (out << "")); - out << ", " << "runAsync="; (obj.__isset.runAsync ? (out << to_string(obj.runAsync)) : (out << "")); + out << "sessionHandle=" << to_string(sessionHandle); + out << ", " << "statement=" << to_string(statement); + out << ", " << "confOverlay="; (__isset.confOverlay ? (out << to_string(confOverlay)) : (out << "")); + out << ", " << "runAsync="; (__isset.runAsync ? (out << to_string(runAsync)) : (out << "")); out << ")"; - return out; } @@ -5874,11 +5702,9 @@ void TExecuteStatementResp::__set_operationHandle(const TOperationHandle& val) { __isset.operationHandle = true; } -const char* TExecuteStatementResp::ascii_fingerprint = "02A075A0FF88D3A172916D8F23C7B286"; -const uint8_t TExecuteStatementResp::binary_fingerprint[16] = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; - uint32_t TExecuteStatementResp::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -5930,7 +5756,7 @@ uint32_t TExecuteStatementResp::read(::apache::thrift::protocol::TProtocol* ipro uint32_t TExecuteStatementResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TExecuteStatementResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -5944,7 +5770,6 @@ uint32_t TExecuteStatementResp::write(::apache::thrift::protocol::TProtocol* opr } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -5966,13 +5791,12 @@ TExecuteStatementResp& TExecuteStatementResp::operator=(const TExecuteStatementR __isset = other225.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TExecuteStatementResp& obj) { - using apache::thrift::to_string; +void TExecuteStatementResp::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TExecuteStatementResp("; - out << "status=" << to_string(obj.status); - out << ", " << "operationHandle="; (obj.__isset.operationHandle ? (out << to_string(obj.operationHandle)) : (out << "")); + out << "status=" << to_string(status); + out << ", " << "operationHandle="; (__isset.operationHandle ? (out << to_string(operationHandle)) : (out << "")); out << ")"; - return out; } @@ -5984,11 +5808,9 @@ void TGetTypeInfoReq::__set_sessionHandle(const TSessionHandle& val) { this->sessionHandle = val; } -const char* TGetTypeInfoReq::ascii_fingerprint = "82377107F8BD0526960537D5A112E6EF"; -const uint8_t TGetTypeInfoReq::binary_fingerprint[16] = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF}; - uint32_t TGetTypeInfoReq::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -6032,7 +5854,7 @@ uint32_t TGetTypeInfoReq::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetTypeInfoReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetTypeInfoReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6041,7 +5863,6 @@ uint32_t TGetTypeInfoReq::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6057,12 +5878,11 @@ TGetTypeInfoReq& TGetTypeInfoReq::operator=(const TGetTypeInfoReq& other227) { sessionHandle = other227.sessionHandle; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetTypeInfoReq& obj) { - using apache::thrift::to_string; +void TGetTypeInfoReq::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetTypeInfoReq("; - out << "sessionHandle=" << to_string(obj.sessionHandle); + out << "sessionHandle=" << to_string(sessionHandle); out << ")"; - return out; } @@ -6079,11 +5899,9 @@ void TGetTypeInfoResp::__set_operationHandle(const TOperationHandle& val) { __isset.operationHandle = true; } -const char* TGetTypeInfoResp::ascii_fingerprint = "02A075A0FF88D3A172916D8F23C7B286"; -const uint8_t TGetTypeInfoResp::binary_fingerprint[16] = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; - uint32_t TGetTypeInfoResp::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -6135,7 +5953,7 @@ uint32_t TGetTypeInfoResp::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetTypeInfoResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetTypeInfoResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6149,7 +5967,6 @@ uint32_t TGetTypeInfoResp::write(::apache::thrift::protocol::TProtocol* oprot) c } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6171,13 +5988,12 @@ TGetTypeInfoResp& TGetTypeInfoResp::operator=(const TGetTypeInfoResp& other229) __isset = other229.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetTypeInfoResp& obj) { - using apache::thrift::to_string; +void TGetTypeInfoResp::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetTypeInfoResp("; - out << "status=" << to_string(obj.status); - out << ", " << "operationHandle="; (obj.__isset.operationHandle ? (out << to_string(obj.operationHandle)) : (out << "")); + out << "status=" << to_string(status); + out << ", " << "operationHandle="; (__isset.operationHandle ? (out << to_string(operationHandle)) : (out << "")); out << ")"; - return out; } @@ -6189,11 +6005,9 @@ void TGetCatalogsReq::__set_sessionHandle(const TSessionHandle& val) { this->sessionHandle = val; } -const char* TGetCatalogsReq::ascii_fingerprint = "82377107F8BD0526960537D5A112E6EF"; -const uint8_t TGetCatalogsReq::binary_fingerprint[16] = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF}; - uint32_t TGetCatalogsReq::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -6237,7 +6051,7 @@ uint32_t TGetCatalogsReq::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetCatalogsReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetCatalogsReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6246,7 +6060,6 @@ uint32_t TGetCatalogsReq::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6262,12 +6075,11 @@ TGetCatalogsReq& TGetCatalogsReq::operator=(const TGetCatalogsReq& other231) { sessionHandle = other231.sessionHandle; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetCatalogsReq& obj) { - using apache::thrift::to_string; +void TGetCatalogsReq::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetCatalogsReq("; - out << "sessionHandle=" << to_string(obj.sessionHandle); + out << "sessionHandle=" << to_string(sessionHandle); out << ")"; - return out; } @@ -6284,11 +6096,9 @@ void TGetCatalogsResp::__set_operationHandle(const TOperationHandle& val) { __isset.operationHandle = true; } -const char* TGetCatalogsResp::ascii_fingerprint = "02A075A0FF88D3A172916D8F23C7B286"; -const uint8_t TGetCatalogsResp::binary_fingerprint[16] = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; - uint32_t TGetCatalogsResp::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -6340,7 +6150,7 @@ uint32_t TGetCatalogsResp::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetCatalogsResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetCatalogsResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6354,7 +6164,6 @@ uint32_t TGetCatalogsResp::write(::apache::thrift::protocol::TProtocol* oprot) c } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6376,13 +6185,12 @@ TGetCatalogsResp& TGetCatalogsResp::operator=(const TGetCatalogsResp& other233) __isset = other233.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetCatalogsResp& obj) { - using apache::thrift::to_string; +void TGetCatalogsResp::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetCatalogsResp("; - out << "status=" << to_string(obj.status); - out << ", " << "operationHandle="; (obj.__isset.operationHandle ? (out << to_string(obj.operationHandle)) : (out << "")); + out << "status=" << to_string(status); + out << ", " << "operationHandle="; (__isset.operationHandle ? (out << to_string(operationHandle)) : (out << "")); out << ")"; - return out; } @@ -6404,11 +6212,9 @@ void TGetSchemasReq::__set_schemaName(const TPatternOrIdentifier& val) { __isset.schemaName = true; } -const char* TGetSchemasReq::ascii_fingerprint = "28A9D12DE8393DD3E73FC1E5AE6E113B"; -const uint8_t TGetSchemasReq::binary_fingerprint[16] = {0x28,0xA9,0xD1,0x2D,0xE8,0x39,0x3D,0xD3,0xE7,0x3F,0xC1,0xE5,0xAE,0x6E,0x11,0x3B}; - uint32_t TGetSchemasReq::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -6468,7 +6274,7 @@ uint32_t TGetSchemasReq::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetSchemasReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetSchemasReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6487,7 +6293,6 @@ uint32_t TGetSchemasReq::write(::apache::thrift::protocol::TProtocol* oprot) con } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6512,14 +6317,13 @@ TGetSchemasReq& TGetSchemasReq::operator=(const TGetSchemasReq& other235) { __isset = other235.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetSchemasReq& obj) { - using apache::thrift::to_string; +void TGetSchemasReq::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetSchemasReq("; - out << "sessionHandle=" << to_string(obj.sessionHandle); - out << ", " << "catalogName="; (obj.__isset.catalogName ? (out << to_string(obj.catalogName)) : (out << "")); - out << ", " << "schemaName="; (obj.__isset.schemaName ? (out << to_string(obj.schemaName)) : (out << "")); + out << "sessionHandle=" << to_string(sessionHandle); + out << ", " << "catalogName="; (__isset.catalogName ? (out << to_string(catalogName)) : (out << "")); + out << ", " << "schemaName="; (__isset.schemaName ? (out << to_string(schemaName)) : (out << "")); out << ")"; - return out; } @@ -6536,11 +6340,9 @@ void TGetSchemasResp::__set_operationHandle(const TOperationHandle& val) { __isset.operationHandle = true; } -const char* TGetSchemasResp::ascii_fingerprint = "02A075A0FF88D3A172916D8F23C7B286"; -const uint8_t TGetSchemasResp::binary_fingerprint[16] = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; - uint32_t TGetSchemasResp::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -6592,7 +6394,7 @@ uint32_t TGetSchemasResp::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetSchemasResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetSchemasResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6606,7 +6408,6 @@ uint32_t TGetSchemasResp::write(::apache::thrift::protocol::TProtocol* oprot) co } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6628,13 +6429,12 @@ TGetSchemasResp& TGetSchemasResp::operator=(const TGetSchemasResp& other237) { __isset = other237.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetSchemasResp& obj) { - using apache::thrift::to_string; +void TGetSchemasResp::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetSchemasResp("; - out << "status=" << to_string(obj.status); - out << ", " << "operationHandle="; (obj.__isset.operationHandle ? (out << to_string(obj.operationHandle)) : (out << "")); + out << "status=" << to_string(status); + out << ", " << "operationHandle="; (__isset.operationHandle ? (out << to_string(operationHandle)) : (out << "")); out << ")"; - return out; } @@ -6666,11 +6466,9 @@ void TGetTablesReq::__set_tableTypes(const std::vector & val) { __isset.tableTypes = true; } -const char* TGetTablesReq::ascii_fingerprint = "C80DFEE06850052F5A445BE81ED763DB"; -const uint8_t TGetTablesReq::binary_fingerprint[16] = {0xC8,0x0D,0xFE,0xE0,0x68,0x50,0x05,0x2F,0x5A,0x44,0x5B,0xE8,0x1E,0xD7,0x63,0xDB}; - uint32_t TGetTablesReq::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -6758,7 +6556,7 @@ uint32_t TGetTablesReq::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetTablesReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetTablesReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6795,7 +6593,6 @@ uint32_t TGetTablesReq::write(::apache::thrift::protocol::TProtocol* oprot) cons } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6826,16 +6623,15 @@ TGetTablesReq& TGetTablesReq::operator=(const TGetTablesReq& other245) { __isset = other245.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetTablesReq& obj) { - using apache::thrift::to_string; +void TGetTablesReq::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetTablesReq("; - out << "sessionHandle=" << to_string(obj.sessionHandle); - out << ", " << "catalogName="; (obj.__isset.catalogName ? (out << to_string(obj.catalogName)) : (out << "")); - out << ", " << "schemaName="; (obj.__isset.schemaName ? (out << to_string(obj.schemaName)) : (out << "")); - out << ", " << "tableName="; (obj.__isset.tableName ? (out << to_string(obj.tableName)) : (out << "")); - out << ", " << "tableTypes="; (obj.__isset.tableTypes ? (out << to_string(obj.tableTypes)) : (out << "")); + out << "sessionHandle=" << to_string(sessionHandle); + out << ", " << "catalogName="; (__isset.catalogName ? (out << to_string(catalogName)) : (out << "")); + out << ", " << "schemaName="; (__isset.schemaName ? (out << to_string(schemaName)) : (out << "")); + out << ", " << "tableName="; (__isset.tableName ? (out << to_string(tableName)) : (out << "")); + out << ", " << "tableTypes="; (__isset.tableTypes ? (out << to_string(tableTypes)) : (out << "")); out << ")"; - return out; } @@ -6852,11 +6648,9 @@ void TGetTablesResp::__set_operationHandle(const TOperationHandle& val) { __isset.operationHandle = true; } -const char* TGetTablesResp::ascii_fingerprint = "02A075A0FF88D3A172916D8F23C7B286"; -const uint8_t TGetTablesResp::binary_fingerprint[16] = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; - uint32_t TGetTablesResp::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -6908,7 +6702,7 @@ uint32_t TGetTablesResp::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetTablesResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetTablesResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -6922,7 +6716,6 @@ uint32_t TGetTablesResp::write(::apache::thrift::protocol::TProtocol* oprot) con } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -6944,13 +6737,12 @@ TGetTablesResp& TGetTablesResp::operator=(const TGetTablesResp& other247) { __isset = other247.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetTablesResp& obj) { - using apache::thrift::to_string; +void TGetTablesResp::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetTablesResp("; - out << "status=" << to_string(obj.status); - out << ", " << "operationHandle="; (obj.__isset.operationHandle ? (out << to_string(obj.operationHandle)) : (out << "")); + out << "status=" << to_string(status); + out << ", " << "operationHandle="; (__isset.operationHandle ? (out << to_string(operationHandle)) : (out << "")); out << ")"; - return out; } @@ -6962,11 +6754,9 @@ void TGetTableTypesReq::__set_sessionHandle(const TSessionHandle& val) { this->sessionHandle = val; } -const char* TGetTableTypesReq::ascii_fingerprint = "82377107F8BD0526960537D5A112E6EF"; -const uint8_t TGetTableTypesReq::binary_fingerprint[16] = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF}; - uint32_t TGetTableTypesReq::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -7010,7 +6800,7 @@ uint32_t TGetTableTypesReq::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetTableTypesReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetTableTypesReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -7019,7 +6809,6 @@ uint32_t TGetTableTypesReq::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7035,12 +6824,11 @@ TGetTableTypesReq& TGetTableTypesReq::operator=(const TGetTableTypesReq& other24 sessionHandle = other249.sessionHandle; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetTableTypesReq& obj) { - using apache::thrift::to_string; +void TGetTableTypesReq::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetTableTypesReq("; - out << "sessionHandle=" << to_string(obj.sessionHandle); + out << "sessionHandle=" << to_string(sessionHandle); out << ")"; - return out; } @@ -7057,11 +6845,9 @@ void TGetTableTypesResp::__set_operationHandle(const TOperationHandle& val) { __isset.operationHandle = true; } -const char* TGetTableTypesResp::ascii_fingerprint = "02A075A0FF88D3A172916D8F23C7B286"; -const uint8_t TGetTableTypesResp::binary_fingerprint[16] = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; - uint32_t TGetTableTypesResp::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -7113,7 +6899,7 @@ uint32_t TGetTableTypesResp::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t TGetTableTypesResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetTableTypesResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -7127,7 +6913,6 @@ uint32_t TGetTableTypesResp::write(::apache::thrift::protocol::TProtocol* oprot) } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7149,13 +6934,12 @@ TGetTableTypesResp& TGetTableTypesResp::operator=(const TGetTableTypesResp& othe __isset = other251.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetTableTypesResp& obj) { - using apache::thrift::to_string; +void TGetTableTypesResp::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetTableTypesResp("; - out << "status=" << to_string(obj.status); - out << ", " << "operationHandle="; (obj.__isset.operationHandle ? (out << to_string(obj.operationHandle)) : (out << "")); + out << "status=" << to_string(status); + out << ", " << "operationHandle="; (__isset.operationHandle ? (out << to_string(operationHandle)) : (out << "")); out << ")"; - return out; } @@ -7187,11 +6971,9 @@ void TGetColumnsReq::__set_columnName(const TPatternOrIdentifier& val) { __isset.columnName = true; } -const char* TGetColumnsReq::ascii_fingerprint = "72D0F28ED33A49B7306DF63EEE956C28"; -const uint8_t TGetColumnsReq::binary_fingerprint[16] = {0x72,0xD0,0xF2,0x8E,0xD3,0x3A,0x49,0xB7,0x30,0x6D,0xF6,0x3E,0xEE,0x95,0x6C,0x28}; - uint32_t TGetColumnsReq::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -7267,7 +7049,7 @@ uint32_t TGetColumnsReq::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetColumnsReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetColumnsReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -7296,7 +7078,6 @@ uint32_t TGetColumnsReq::write(::apache::thrift::protocol::TProtocol* oprot) con } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7327,16 +7108,15 @@ TGetColumnsReq& TGetColumnsReq::operator=(const TGetColumnsReq& other253) { __isset = other253.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetColumnsReq& obj) { - using apache::thrift::to_string; +void TGetColumnsReq::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetColumnsReq("; - out << "sessionHandle=" << to_string(obj.sessionHandle); - out << ", " << "catalogName="; (obj.__isset.catalogName ? (out << to_string(obj.catalogName)) : (out << "")); - out << ", " << "schemaName="; (obj.__isset.schemaName ? (out << to_string(obj.schemaName)) : (out << "")); - out << ", " << "tableName="; (obj.__isset.tableName ? (out << to_string(obj.tableName)) : (out << "")); - out << ", " << "columnName="; (obj.__isset.columnName ? (out << to_string(obj.columnName)) : (out << "")); + out << "sessionHandle=" << to_string(sessionHandle); + out << ", " << "catalogName="; (__isset.catalogName ? (out << to_string(catalogName)) : (out << "")); + out << ", " << "schemaName="; (__isset.schemaName ? (out << to_string(schemaName)) : (out << "")); + out << ", " << "tableName="; (__isset.tableName ? (out << to_string(tableName)) : (out << "")); + out << ", " << "columnName="; (__isset.columnName ? (out << to_string(columnName)) : (out << "")); out << ")"; - return out; } @@ -7353,11 +7133,9 @@ void TGetColumnsResp::__set_operationHandle(const TOperationHandle& val) { __isset.operationHandle = true; } -const char* TGetColumnsResp::ascii_fingerprint = "02A075A0FF88D3A172916D8F23C7B286"; -const uint8_t TGetColumnsResp::binary_fingerprint[16] = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; - uint32_t TGetColumnsResp::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -7409,7 +7187,7 @@ uint32_t TGetColumnsResp::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetColumnsResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetColumnsResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -7423,7 +7201,6 @@ uint32_t TGetColumnsResp::write(::apache::thrift::protocol::TProtocol* oprot) co } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7445,13 +7222,12 @@ TGetColumnsResp& TGetColumnsResp::operator=(const TGetColumnsResp& other255) { __isset = other255.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetColumnsResp& obj) { - using apache::thrift::to_string; +void TGetColumnsResp::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetColumnsResp("; - out << "status=" << to_string(obj.status); - out << ", " << "operationHandle="; (obj.__isset.operationHandle ? (out << to_string(obj.operationHandle)) : (out << "")); + out << "status=" << to_string(status); + out << ", " << "operationHandle="; (__isset.operationHandle ? (out << to_string(operationHandle)) : (out << "")); out << ")"; - return out; } @@ -7477,11 +7253,9 @@ void TGetFunctionsReq::__set_functionName(const TPatternOrIdentifier& val) { this->functionName = val; } -const char* TGetFunctionsReq::ascii_fingerprint = "0887E0916ADE4521BF6017B534493138"; -const uint8_t TGetFunctionsReq::binary_fingerprint[16] = {0x08,0x87,0xE0,0x91,0x6A,0xDE,0x45,0x21,0xBF,0x60,0x17,0xB5,0x34,0x49,0x31,0x38}; - uint32_t TGetFunctionsReq::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -7552,7 +7326,7 @@ uint32_t TGetFunctionsReq::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetFunctionsReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetFunctionsReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -7575,7 +7349,6 @@ uint32_t TGetFunctionsReq::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7603,15 +7376,14 @@ TGetFunctionsReq& TGetFunctionsReq::operator=(const TGetFunctionsReq& other257) __isset = other257.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetFunctionsReq& obj) { - using apache::thrift::to_string; +void TGetFunctionsReq::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetFunctionsReq("; - out << "sessionHandle=" << to_string(obj.sessionHandle); - out << ", " << "catalogName="; (obj.__isset.catalogName ? (out << to_string(obj.catalogName)) : (out << "")); - out << ", " << "schemaName="; (obj.__isset.schemaName ? (out << to_string(obj.schemaName)) : (out << "")); - out << ", " << "functionName=" << to_string(obj.functionName); + out << "sessionHandle=" << to_string(sessionHandle); + out << ", " << "catalogName="; (__isset.catalogName ? (out << to_string(catalogName)) : (out << "")); + out << ", " << "schemaName="; (__isset.schemaName ? (out << to_string(schemaName)) : (out << "")); + out << ", " << "functionName=" << to_string(functionName); out << ")"; - return out; } @@ -7628,11 +7400,9 @@ void TGetFunctionsResp::__set_operationHandle(const TOperationHandle& val) { __isset.operationHandle = true; } -const char* TGetFunctionsResp::ascii_fingerprint = "02A075A0FF88D3A172916D8F23C7B286"; -const uint8_t TGetFunctionsResp::binary_fingerprint[16] = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; - uint32_t TGetFunctionsResp::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -7684,7 +7454,7 @@ uint32_t TGetFunctionsResp::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TGetFunctionsResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetFunctionsResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -7698,7 +7468,6 @@ uint32_t TGetFunctionsResp::write(::apache::thrift::protocol::TProtocol* oprot) } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7720,13 +7489,12 @@ TGetFunctionsResp& TGetFunctionsResp::operator=(const TGetFunctionsResp& other25 __isset = other259.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetFunctionsResp& obj) { - using apache::thrift::to_string; +void TGetFunctionsResp::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetFunctionsResp("; - out << "status=" << to_string(obj.status); - out << ", " << "operationHandle="; (obj.__isset.operationHandle ? (out << to_string(obj.operationHandle)) : (out << "")); + out << "status=" << to_string(status); + out << ", " << "operationHandle="; (__isset.operationHandle ? (out << to_string(operationHandle)) : (out << "")); out << ")"; - return out; } @@ -7738,11 +7506,9 @@ void TGetOperationStatusReq::__set_operationHandle(const TOperationHandle& val) this->operationHandle = val; } -const char* TGetOperationStatusReq::ascii_fingerprint = "414FA38522AE6B9CEC1438B56CA1DE5A"; -const uint8_t TGetOperationStatusReq::binary_fingerprint[16] = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A}; - uint32_t TGetOperationStatusReq::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -7786,7 +7552,7 @@ uint32_t TGetOperationStatusReq::read(::apache::thrift::protocol::TProtocol* ipr uint32_t TGetOperationStatusReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetOperationStatusReq"); xfer += oprot->writeFieldBegin("operationHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -7795,7 +7561,6 @@ uint32_t TGetOperationStatusReq::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7811,12 +7576,11 @@ TGetOperationStatusReq& TGetOperationStatusReq::operator=(const TGetOperationSta operationHandle = other261.operationHandle; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetOperationStatusReq& obj) { - using apache::thrift::to_string; +void TGetOperationStatusReq::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetOperationStatusReq("; - out << "operationHandle=" << to_string(obj.operationHandle); + out << "operationHandle=" << to_string(operationHandle); out << ")"; - return out; } @@ -7848,11 +7612,9 @@ void TGetOperationStatusResp::__set_errorMessage(const std::string& val) { __isset.errorMessage = true; } -const char* TGetOperationStatusResp::ascii_fingerprint = "BD124DB87A5A2E7D11945BD1B17F013D"; -const uint8_t TGetOperationStatusResp::binary_fingerprint[16] = {0xBD,0x12,0x4D,0xB8,0x7A,0x5A,0x2E,0x7D,0x11,0x94,0x5B,0xD1,0xB1,0x7F,0x01,0x3D}; - uint32_t TGetOperationStatusResp::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -7930,7 +7692,7 @@ uint32_t TGetOperationStatusResp::read(::apache::thrift::protocol::TProtocol* ip uint32_t TGetOperationStatusResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetOperationStatusResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -7959,7 +7721,6 @@ uint32_t TGetOperationStatusResp::write(::apache::thrift::protocol::TProtocol* o } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -7990,16 +7751,15 @@ TGetOperationStatusResp& TGetOperationStatusResp::operator=(const TGetOperationS __isset = other264.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetOperationStatusResp& obj) { - using apache::thrift::to_string; +void TGetOperationStatusResp::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetOperationStatusResp("; - out << "status=" << to_string(obj.status); - out << ", " << "operationState="; (obj.__isset.operationState ? (out << to_string(obj.operationState)) : (out << "")); - out << ", " << "sqlState="; (obj.__isset.sqlState ? (out << to_string(obj.sqlState)) : (out << "")); - out << ", " << "errorCode="; (obj.__isset.errorCode ? (out << to_string(obj.errorCode)) : (out << "")); - out << ", " << "errorMessage="; (obj.__isset.errorMessage ? (out << to_string(obj.errorMessage)) : (out << "")); + out << "status=" << to_string(status); + out << ", " << "operationState="; (__isset.operationState ? (out << to_string(operationState)) : (out << "")); + out << ", " << "sqlState="; (__isset.sqlState ? (out << to_string(sqlState)) : (out << "")); + out << ", " << "errorCode="; (__isset.errorCode ? (out << to_string(errorCode)) : (out << "")); + out << ", " << "errorMessage="; (__isset.errorMessage ? (out << to_string(errorMessage)) : (out << "")); out << ")"; - return out; } @@ -8011,11 +7771,9 @@ void TCancelOperationReq::__set_operationHandle(const TOperationHandle& val) { this->operationHandle = val; } -const char* TCancelOperationReq::ascii_fingerprint = "414FA38522AE6B9CEC1438B56CA1DE5A"; -const uint8_t TCancelOperationReq::binary_fingerprint[16] = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A}; - uint32_t TCancelOperationReq::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -8059,7 +7817,7 @@ uint32_t TCancelOperationReq::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t TCancelOperationReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCancelOperationReq"); xfer += oprot->writeFieldBegin("operationHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -8068,7 +7826,6 @@ uint32_t TCancelOperationReq::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -8084,12 +7841,11 @@ TCancelOperationReq& TCancelOperationReq::operator=(const TCancelOperationReq& o operationHandle = other266.operationHandle; return *this; } -std::ostream& operator<<(std::ostream& out, const TCancelOperationReq& obj) { - using apache::thrift::to_string; +void TCancelOperationReq::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TCancelOperationReq("; - out << "operationHandle=" << to_string(obj.operationHandle); + out << "operationHandle=" << to_string(operationHandle); out << ")"; - return out; } @@ -8101,11 +7857,9 @@ void TCancelOperationResp::__set_status(const TStatus& val) { this->status = val; } -const char* TCancelOperationResp::ascii_fingerprint = "7142E89F09DC7C5F6FA916C7393F46C2"; -const uint8_t TCancelOperationResp::binary_fingerprint[16] = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2}; - uint32_t TCancelOperationResp::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -8149,7 +7903,7 @@ uint32_t TCancelOperationResp::read(::apache::thrift::protocol::TProtocol* iprot uint32_t TCancelOperationResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCancelOperationResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -8158,7 +7912,6 @@ uint32_t TCancelOperationResp::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -8174,12 +7927,11 @@ TCancelOperationResp& TCancelOperationResp::operator=(const TCancelOperationResp status = other268.status; return *this; } -std::ostream& operator<<(std::ostream& out, const TCancelOperationResp& obj) { - using apache::thrift::to_string; +void TCancelOperationResp::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TCancelOperationResp("; - out << "status=" << to_string(obj.status); + out << "status=" << to_string(status); out << ")"; - return out; } @@ -8191,11 +7943,9 @@ void TCloseOperationReq::__set_operationHandle(const TOperationHandle& val) { this->operationHandle = val; } -const char* TCloseOperationReq::ascii_fingerprint = "414FA38522AE6B9CEC1438B56CA1DE5A"; -const uint8_t TCloseOperationReq::binary_fingerprint[16] = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A}; - uint32_t TCloseOperationReq::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -8239,7 +7989,7 @@ uint32_t TCloseOperationReq::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t TCloseOperationReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCloseOperationReq"); xfer += oprot->writeFieldBegin("operationHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -8248,7 +7998,6 @@ uint32_t TCloseOperationReq::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -8264,12 +8013,11 @@ TCloseOperationReq& TCloseOperationReq::operator=(const TCloseOperationReq& othe operationHandle = other270.operationHandle; return *this; } -std::ostream& operator<<(std::ostream& out, const TCloseOperationReq& obj) { - using apache::thrift::to_string; +void TCloseOperationReq::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TCloseOperationReq("; - out << "operationHandle=" << to_string(obj.operationHandle); + out << "operationHandle=" << to_string(operationHandle); out << ")"; - return out; } @@ -8281,11 +8029,9 @@ void TCloseOperationResp::__set_status(const TStatus& val) { this->status = val; } -const char* TCloseOperationResp::ascii_fingerprint = "7142E89F09DC7C5F6FA916C7393F46C2"; -const uint8_t TCloseOperationResp::binary_fingerprint[16] = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2}; - uint32_t TCloseOperationResp::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -8329,7 +8075,7 @@ uint32_t TCloseOperationResp::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t TCloseOperationResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCloseOperationResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -8338,7 +8084,6 @@ uint32_t TCloseOperationResp::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -8354,12 +8099,11 @@ TCloseOperationResp& TCloseOperationResp::operator=(const TCloseOperationResp& o status = other272.status; return *this; } -std::ostream& operator<<(std::ostream& out, const TCloseOperationResp& obj) { - using apache::thrift::to_string; +void TCloseOperationResp::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TCloseOperationResp("; - out << "status=" << to_string(obj.status); + out << "status=" << to_string(status); out << ")"; - return out; } @@ -8371,11 +8115,9 @@ void TGetResultSetMetadataReq::__set_operationHandle(const TOperationHandle& val this->operationHandle = val; } -const char* TGetResultSetMetadataReq::ascii_fingerprint = "414FA38522AE6B9CEC1438B56CA1DE5A"; -const uint8_t TGetResultSetMetadataReq::binary_fingerprint[16] = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A}; - uint32_t TGetResultSetMetadataReq::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -8419,7 +8161,7 @@ uint32_t TGetResultSetMetadataReq::read(::apache::thrift::protocol::TProtocol* i uint32_t TGetResultSetMetadataReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetResultSetMetadataReq"); xfer += oprot->writeFieldBegin("operationHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -8428,7 +8170,6 @@ uint32_t TGetResultSetMetadataReq::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -8444,12 +8185,11 @@ TGetResultSetMetadataReq& TGetResultSetMetadataReq::operator=(const TGetResultSe operationHandle = other274.operationHandle; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetResultSetMetadataReq& obj) { - using apache::thrift::to_string; +void TGetResultSetMetadataReq::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetResultSetMetadataReq("; - out << "operationHandle=" << to_string(obj.operationHandle); + out << "operationHandle=" << to_string(operationHandle); out << ")"; - return out; } @@ -8466,11 +8206,9 @@ void TGetResultSetMetadataResp::__set_schema(const TTableSchema& val) { __isset.schema = true; } -const char* TGetResultSetMetadataResp::ascii_fingerprint = "42CD49B7F49CC1B6D4E6F5FA2D7BE812"; -const uint8_t TGetResultSetMetadataResp::binary_fingerprint[16] = {0x42,0xCD,0x49,0xB7,0xF4,0x9C,0xC1,0xB6,0xD4,0xE6,0xF5,0xFA,0x2D,0x7B,0xE8,0x12}; - uint32_t TGetResultSetMetadataResp::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -8522,7 +8260,7 @@ uint32_t TGetResultSetMetadataResp::read(::apache::thrift::protocol::TProtocol* uint32_t TGetResultSetMetadataResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetResultSetMetadataResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -8536,7 +8274,6 @@ uint32_t TGetResultSetMetadataResp::write(::apache::thrift::protocol::TProtocol* } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -8558,13 +8295,12 @@ TGetResultSetMetadataResp& TGetResultSetMetadataResp::operator=(const TGetResult __isset = other276.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetResultSetMetadataResp& obj) { - using apache::thrift::to_string; +void TGetResultSetMetadataResp::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetResultSetMetadataResp("; - out << "status=" << to_string(obj.status); - out << ", " << "schema="; (obj.__isset.schema ? (out << to_string(obj.schema)) : (out << "")); + out << "status=" << to_string(status); + out << ", " << "schema="; (__isset.schema ? (out << to_string(schema)) : (out << "")); out << ")"; - return out; } @@ -8589,11 +8325,9 @@ void TFetchResultsReq::__set_fetchType(const int16_t val) { __isset.fetchType = true; } -const char* TFetchResultsReq::ascii_fingerprint = "B4CB1E4F8F8F4D50183DD372AD11753A"; -const uint8_t TFetchResultsReq::binary_fingerprint[16] = {0xB4,0xCB,0x1E,0x4F,0x8F,0x8F,0x4D,0x50,0x18,0x3D,0xD3,0x72,0xAD,0x11,0x75,0x3A}; - uint32_t TFetchResultsReq::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -8669,7 +8403,7 @@ uint32_t TFetchResultsReq::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TFetchResultsReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TFetchResultsReq"); xfer += oprot->writeFieldBegin("operationHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -8691,7 +8425,6 @@ uint32_t TFetchResultsReq::write(::apache::thrift::protocol::TProtocol* oprot) c } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -8719,15 +8452,14 @@ TFetchResultsReq& TFetchResultsReq::operator=(const TFetchResultsReq& other279) __isset = other279.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TFetchResultsReq& obj) { - using apache::thrift::to_string; +void TFetchResultsReq::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TFetchResultsReq("; - out << "operationHandle=" << to_string(obj.operationHandle); - out << ", " << "orientation=" << to_string(obj.orientation); - out << ", " << "maxRows=" << to_string(obj.maxRows); - out << ", " << "fetchType="; (obj.__isset.fetchType ? (out << to_string(obj.fetchType)) : (out << "")); + out << "operationHandle=" << to_string(operationHandle); + out << ", " << "orientation=" << to_string(orientation); + out << ", " << "maxRows=" << to_string(maxRows); + out << ", " << "fetchType="; (__isset.fetchType ? (out << to_string(fetchType)) : (out << "")); out << ")"; - return out; } @@ -8749,11 +8481,9 @@ void TFetchResultsResp::__set_results(const TRowSet& val) { __isset.results = true; } -const char* TFetchResultsResp::ascii_fingerprint = "FC43BC2D6F3B76D4DB0F34226A745C8E"; -const uint8_t TFetchResultsResp::binary_fingerprint[16] = {0xFC,0x43,0xBC,0x2D,0x6F,0x3B,0x76,0xD4,0xDB,0x0F,0x34,0x22,0x6A,0x74,0x5C,0x8E}; - uint32_t TFetchResultsResp::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -8813,7 +8543,7 @@ uint32_t TFetchResultsResp::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t TFetchResultsResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TFetchResultsResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -8832,7 +8562,6 @@ uint32_t TFetchResultsResp::write(::apache::thrift::protocol::TProtocol* oprot) } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -8857,14 +8586,13 @@ TFetchResultsResp& TFetchResultsResp::operator=(const TFetchResultsResp& other28 __isset = other281.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TFetchResultsResp& obj) { - using apache::thrift::to_string; +void TFetchResultsResp::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TFetchResultsResp("; - out << "status=" << to_string(obj.status); - out << ", " << "hasMoreRows="; (obj.__isset.hasMoreRows ? (out << to_string(obj.hasMoreRows)) : (out << "")); - out << ", " << "results="; (obj.__isset.results ? (out << to_string(obj.results)) : (out << "")); + out << "status=" << to_string(status); + out << ", " << "hasMoreRows="; (__isset.hasMoreRows ? (out << to_string(hasMoreRows)) : (out << "")); + out << ", " << "results="; (__isset.results ? (out << to_string(results)) : (out << "")); out << ")"; - return out; } @@ -8884,11 +8612,9 @@ void TGetDelegationTokenReq::__set_renewer(const std::string& val) { this->renewer = val; } -const char* TGetDelegationTokenReq::ascii_fingerprint = "07EA0311716A27924914E4354ED22D6C"; -const uint8_t TGetDelegationTokenReq::binary_fingerprint[16] = {0x07,0xEA,0x03,0x11,0x71,0x6A,0x27,0x92,0x49,0x14,0xE4,0x35,0x4E,0xD2,0x2D,0x6C}; - uint32_t TGetDelegationTokenReq::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -8954,7 +8680,7 @@ uint32_t TGetDelegationTokenReq::read(::apache::thrift::protocol::TProtocol* ipr uint32_t TGetDelegationTokenReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetDelegationTokenReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -8971,7 +8697,6 @@ uint32_t TGetDelegationTokenReq::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -8993,14 +8718,13 @@ TGetDelegationTokenReq& TGetDelegationTokenReq::operator=(const TGetDelegationTo renewer = other283.renewer; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetDelegationTokenReq& obj) { - using apache::thrift::to_string; +void TGetDelegationTokenReq::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetDelegationTokenReq("; - out << "sessionHandle=" << to_string(obj.sessionHandle); - out << ", " << "owner=" << to_string(obj.owner); - out << ", " << "renewer=" << to_string(obj.renewer); + out << "sessionHandle=" << to_string(sessionHandle); + out << ", " << "owner=" << to_string(owner); + out << ", " << "renewer=" << to_string(renewer); out << ")"; - return out; } @@ -9017,11 +8741,9 @@ void TGetDelegationTokenResp::__set_delegationToken(const std::string& val) { __isset.delegationToken = true; } -const char* TGetDelegationTokenResp::ascii_fingerprint = "C0E132DC412CEA08D771EAC38CEA1DA6"; -const uint8_t TGetDelegationTokenResp::binary_fingerprint[16] = {0xC0,0xE1,0x32,0xDC,0x41,0x2C,0xEA,0x08,0xD7,0x71,0xEA,0xC3,0x8C,0xEA,0x1D,0xA6}; - uint32_t TGetDelegationTokenResp::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -9073,7 +8795,7 @@ uint32_t TGetDelegationTokenResp::read(::apache::thrift::protocol::TProtocol* ip uint32_t TGetDelegationTokenResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TGetDelegationTokenResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -9087,7 +8809,6 @@ uint32_t TGetDelegationTokenResp::write(::apache::thrift::protocol::TProtocol* o } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -9109,13 +8830,12 @@ TGetDelegationTokenResp& TGetDelegationTokenResp::operator=(const TGetDelegation __isset = other285.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const TGetDelegationTokenResp& obj) { - using apache::thrift::to_string; +void TGetDelegationTokenResp::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TGetDelegationTokenResp("; - out << "status=" << to_string(obj.status); - out << ", " << "delegationToken="; (obj.__isset.delegationToken ? (out << to_string(obj.delegationToken)) : (out << "")); + out << "status=" << to_string(status); + out << ", " << "delegationToken="; (__isset.delegationToken ? (out << to_string(delegationToken)) : (out << "")); out << ")"; - return out; } @@ -9131,11 +8851,9 @@ void TCancelDelegationTokenReq::__set_delegationToken(const std::string& val) { this->delegationToken = val; } -const char* TCancelDelegationTokenReq::ascii_fingerprint = "1A3D66269336B7EC66998BFE1BECDE75"; -const uint8_t TCancelDelegationTokenReq::binary_fingerprint[16] = {0x1A,0x3D,0x66,0x26,0x93,0x36,0xB7,0xEC,0x66,0x99,0x8B,0xFE,0x1B,0xEC,0xDE,0x75}; - uint32_t TCancelDelegationTokenReq::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -9190,7 +8908,7 @@ uint32_t TCancelDelegationTokenReq::read(::apache::thrift::protocol::TProtocol* uint32_t TCancelDelegationTokenReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCancelDelegationTokenReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -9203,7 +8921,6 @@ uint32_t TCancelDelegationTokenReq::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -9222,13 +8939,12 @@ TCancelDelegationTokenReq& TCancelDelegationTokenReq::operator=(const TCancelDel delegationToken = other287.delegationToken; return *this; } -std::ostream& operator<<(std::ostream& out, const TCancelDelegationTokenReq& obj) { - using apache::thrift::to_string; +void TCancelDelegationTokenReq::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TCancelDelegationTokenReq("; - out << "sessionHandle=" << to_string(obj.sessionHandle); - out << ", " << "delegationToken=" << to_string(obj.delegationToken); + out << "sessionHandle=" << to_string(sessionHandle); + out << ", " << "delegationToken=" << to_string(delegationToken); out << ")"; - return out; } @@ -9240,11 +8956,9 @@ void TCancelDelegationTokenResp::__set_status(const TStatus& val) { this->status = val; } -const char* TCancelDelegationTokenResp::ascii_fingerprint = "7142E89F09DC7C5F6FA916C7393F46C2"; -const uint8_t TCancelDelegationTokenResp::binary_fingerprint[16] = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2}; - uint32_t TCancelDelegationTokenResp::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -9288,7 +9002,7 @@ uint32_t TCancelDelegationTokenResp::read(::apache::thrift::protocol::TProtocol* uint32_t TCancelDelegationTokenResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TCancelDelegationTokenResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -9297,7 +9011,6 @@ uint32_t TCancelDelegationTokenResp::write(::apache::thrift::protocol::TProtocol xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -9313,12 +9026,11 @@ TCancelDelegationTokenResp& TCancelDelegationTokenResp::operator=(const TCancelD status = other289.status; return *this; } -std::ostream& operator<<(std::ostream& out, const TCancelDelegationTokenResp& obj) { - using apache::thrift::to_string; +void TCancelDelegationTokenResp::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TCancelDelegationTokenResp("; - out << "status=" << to_string(obj.status); + out << "status=" << to_string(status); out << ")"; - return out; } @@ -9334,11 +9046,9 @@ void TRenewDelegationTokenReq::__set_delegationToken(const std::string& val) { this->delegationToken = val; } -const char* TRenewDelegationTokenReq::ascii_fingerprint = "1A3D66269336B7EC66998BFE1BECDE75"; -const uint8_t TRenewDelegationTokenReq::binary_fingerprint[16] = {0x1A,0x3D,0x66,0x26,0x93,0x36,0xB7,0xEC,0x66,0x99,0x8B,0xFE,0x1B,0xEC,0xDE,0x75}; - uint32_t TRenewDelegationTokenReq::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -9393,7 +9103,7 @@ uint32_t TRenewDelegationTokenReq::read(::apache::thrift::protocol::TProtocol* i uint32_t TRenewDelegationTokenReq::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TRenewDelegationTokenReq"); xfer += oprot->writeFieldBegin("sessionHandle", ::apache::thrift::protocol::T_STRUCT, 1); @@ -9406,7 +9116,6 @@ uint32_t TRenewDelegationTokenReq::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -9425,13 +9134,12 @@ TRenewDelegationTokenReq& TRenewDelegationTokenReq::operator=(const TRenewDelega delegationToken = other291.delegationToken; return *this; } -std::ostream& operator<<(std::ostream& out, const TRenewDelegationTokenReq& obj) { - using apache::thrift::to_string; +void TRenewDelegationTokenReq::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TRenewDelegationTokenReq("; - out << "sessionHandle=" << to_string(obj.sessionHandle); - out << ", " << "delegationToken=" << to_string(obj.delegationToken); + out << "sessionHandle=" << to_string(sessionHandle); + out << ", " << "delegationToken=" << to_string(delegationToken); out << ")"; - return out; } @@ -9443,11 +9151,9 @@ void TRenewDelegationTokenResp::__set_status(const TStatus& val) { this->status = val; } -const char* TRenewDelegationTokenResp::ascii_fingerprint = "7142E89F09DC7C5F6FA916C7393F46C2"; -const uint8_t TRenewDelegationTokenResp::binary_fingerprint[16] = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2}; - uint32_t TRenewDelegationTokenResp::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -9491,7 +9197,7 @@ uint32_t TRenewDelegationTokenResp::read(::apache::thrift::protocol::TProtocol* uint32_t TRenewDelegationTokenResp::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("TRenewDelegationTokenResp"); xfer += oprot->writeFieldBegin("status", ::apache::thrift::protocol::T_STRUCT, 1); @@ -9500,7 +9206,6 @@ uint32_t TRenewDelegationTokenResp::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -9516,12 +9221,11 @@ TRenewDelegationTokenResp& TRenewDelegationTokenResp::operator=(const TRenewDele status = other293.status; return *this; } -std::ostream& operator<<(std::ostream& out, const TRenewDelegationTokenResp& obj) { - using apache::thrift::to_string; +void TRenewDelegationTokenResp::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "TRenewDelegationTokenResp("; - out << "status=" << to_string(obj.status); + out << "status=" << to_string(status); out << ")"; - return out; } }}}}} // namespace diff --git service/src/gen/thrift/gen-cpp/TCLIService_types.h service/src/gen/thrift/gen-cpp/TCLIService_types.h index 4536b41..b078c99 100644 --- service/src/gen/thrift/gen-cpp/TCLIService_types.h +++ service/src/gen/thrift/gen-cpp/TCLIService_types.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -338,9 +338,6 @@ typedef struct _TTypeQualifierValue__isset { class TTypeQualifierValue { public: - static const char* ascii_fingerprint; // = "A7801670116150C65ACA43E6F679BA79"; - static const uint8_t binary_fingerprint[16]; // = {0xA7,0x80,0x16,0x70,0x11,0x61,0x50,0xC6,0x5A,0xCA,0x43,0xE6,0xF6,0x79,0xBA,0x79}; - TTypeQualifierValue(const TTypeQualifierValue&); TTypeQualifierValue& operator=(const TTypeQualifierValue&); TTypeQualifierValue() : i32Value(0), stringValue() { @@ -377,18 +374,21 @@ class TTypeQualifierValue { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TTypeQualifierValue& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TTypeQualifierValue &a, TTypeQualifierValue &b); +inline std::ostream& operator<<(std::ostream& out, const TTypeQualifierValue& obj) +{ + obj.printTo(out); + return out; +} + class TTypeQualifiers { public: - static const char* ascii_fingerprint; // = "6C72981CFA989214285648FA8C196C47"; - static const uint8_t binary_fingerprint[16]; // = {0x6C,0x72,0x98,0x1C,0xFA,0x98,0x92,0x14,0x28,0x56,0x48,0xFA,0x8C,0x19,0x6C,0x47}; - TTypeQualifiers(const TTypeQualifiers&); TTypeQualifiers& operator=(const TTypeQualifiers&); TTypeQualifiers() { @@ -414,11 +414,17 @@ class TTypeQualifiers { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TTypeQualifiers& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TTypeQualifiers &a, TTypeQualifiers &b); +inline std::ostream& operator<<(std::ostream& out, const TTypeQualifiers& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TPrimitiveTypeEntry__isset { _TPrimitiveTypeEntry__isset() : typeQualifiers(false) {} bool typeQualifiers :1; @@ -427,9 +433,6 @@ typedef struct _TPrimitiveTypeEntry__isset { class TPrimitiveTypeEntry { public: - static const char* ascii_fingerprint; // = "755674F6A5C8EB47868686AE386FBC1C"; - static const uint8_t binary_fingerprint[16]; // = {0x75,0x56,0x74,0xF6,0xA5,0xC8,0xEB,0x47,0x86,0x86,0x86,0xAE,0x38,0x6F,0xBC,0x1C}; - TPrimitiveTypeEntry(const TPrimitiveTypeEntry&); TPrimitiveTypeEntry& operator=(const TPrimitiveTypeEntry&); TPrimitiveTypeEntry() : type((TTypeId::type)0) { @@ -464,18 +467,21 @@ class TPrimitiveTypeEntry { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TPrimitiveTypeEntry& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TPrimitiveTypeEntry &a, TPrimitiveTypeEntry &b); +inline std::ostream& operator<<(std::ostream& out, const TPrimitiveTypeEntry& obj) +{ + obj.printTo(out); + return out; +} + class TArrayTypeEntry { public: - static const char* ascii_fingerprint; // = "E86CACEB22240450EDCBEFC3A83970E4"; - static const uint8_t binary_fingerprint[16]; // = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4}; - TArrayTypeEntry(const TArrayTypeEntry&); TArrayTypeEntry& operator=(const TArrayTypeEntry&); TArrayTypeEntry() : objectTypePtr(0) { @@ -501,18 +507,21 @@ class TArrayTypeEntry { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TArrayTypeEntry& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TArrayTypeEntry &a, TArrayTypeEntry &b); +inline std::ostream& operator<<(std::ostream& out, const TArrayTypeEntry& obj) +{ + obj.printTo(out); + return out; +} + class TMapTypeEntry { public: - static const char* ascii_fingerprint; // = "989D1F1AE8D148D5E2119FFEC4BBBEE3"; - static const uint8_t binary_fingerprint[16]; // = {0x98,0x9D,0x1F,0x1A,0xE8,0xD1,0x48,0xD5,0xE2,0x11,0x9F,0xFE,0xC4,0xBB,0xBE,0xE3}; - TMapTypeEntry(const TMapTypeEntry&); TMapTypeEntry& operator=(const TMapTypeEntry&); TMapTypeEntry() : keyTypePtr(0), valueTypePtr(0) { @@ -543,18 +552,21 @@ class TMapTypeEntry { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TMapTypeEntry& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TMapTypeEntry &a, TMapTypeEntry &b); +inline std::ostream& operator<<(std::ostream& out, const TMapTypeEntry& obj) +{ + obj.printTo(out); + return out; +} + class TStructTypeEntry { public: - static const char* ascii_fingerprint; // = "91F548CA159B4AB4291F5741AC161402"; - static const uint8_t binary_fingerprint[16]; // = {0x91,0xF5,0x48,0xCA,0x15,0x9B,0x4A,0xB4,0x29,0x1F,0x57,0x41,0xAC,0x16,0x14,0x02}; - TStructTypeEntry(const TStructTypeEntry&); TStructTypeEntry& operator=(const TStructTypeEntry&); TStructTypeEntry() { @@ -580,18 +592,21 @@ class TStructTypeEntry { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TStructTypeEntry& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TStructTypeEntry &a, TStructTypeEntry &b); +inline std::ostream& operator<<(std::ostream& out, const TStructTypeEntry& obj) +{ + obj.printTo(out); + return out; +} + class TUnionTypeEntry { public: - static const char* ascii_fingerprint; // = "91F548CA159B4AB4291F5741AC161402"; - static const uint8_t binary_fingerprint[16]; // = {0x91,0xF5,0x48,0xCA,0x15,0x9B,0x4A,0xB4,0x29,0x1F,0x57,0x41,0xAC,0x16,0x14,0x02}; - TUnionTypeEntry(const TUnionTypeEntry&); TUnionTypeEntry& operator=(const TUnionTypeEntry&); TUnionTypeEntry() { @@ -617,18 +632,21 @@ class TUnionTypeEntry { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TUnionTypeEntry& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TUnionTypeEntry &a, TUnionTypeEntry &b); +inline std::ostream& operator<<(std::ostream& out, const TUnionTypeEntry& obj) +{ + obj.printTo(out); + return out; +} + class TUserDefinedTypeEntry { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - TUserDefinedTypeEntry(const TUserDefinedTypeEntry&); TUserDefinedTypeEntry& operator=(const TUserDefinedTypeEntry&); TUserDefinedTypeEntry() : typeClassName() { @@ -654,11 +672,17 @@ class TUserDefinedTypeEntry { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TUserDefinedTypeEntry& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TUserDefinedTypeEntry &a, TUserDefinedTypeEntry &b); +inline std::ostream& operator<<(std::ostream& out, const TUserDefinedTypeEntry& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TTypeEntry__isset { _TTypeEntry__isset() : primitiveEntry(false), arrayEntry(false), mapEntry(false), structEntry(false), unionEntry(false), userDefinedTypeEntry(false) {} bool primitiveEntry :1; @@ -672,9 +696,6 @@ typedef struct _TTypeEntry__isset { class TTypeEntry { public: - static const char* ascii_fingerprint; // = "2FE56D9097E325DAA7E933738C6D325F"; - static const uint8_t binary_fingerprint[16]; // = {0x2F,0xE5,0x6D,0x90,0x97,0xE3,0x25,0xDA,0xA7,0xE9,0x33,0x73,0x8C,0x6D,0x32,0x5F}; - TTypeEntry(const TTypeEntry&); TTypeEntry& operator=(const TTypeEntry&); TTypeEntry() { @@ -727,18 +748,21 @@ class TTypeEntry { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TTypeEntry& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TTypeEntry &a, TTypeEntry &b); +inline std::ostream& operator<<(std::ostream& out, const TTypeEntry& obj) +{ + obj.printTo(out); + return out; +} + class TTypeDesc { public: - static const char* ascii_fingerprint; // = "90B3C5A0B73419A84E85E0E48C452AA5"; - static const uint8_t binary_fingerprint[16]; // = {0x90,0xB3,0xC5,0xA0,0xB7,0x34,0x19,0xA8,0x4E,0x85,0xE0,0xE4,0x8C,0x45,0x2A,0xA5}; - TTypeDesc(const TTypeDesc&); TTypeDesc& operator=(const TTypeDesc&); TTypeDesc() { @@ -764,11 +788,17 @@ class TTypeDesc { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TTypeDesc& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TTypeDesc &a, TTypeDesc &b); +inline std::ostream& operator<<(std::ostream& out, const TTypeDesc& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TColumnDesc__isset { _TColumnDesc__isset() : comment(false) {} bool comment :1; @@ -777,9 +807,6 @@ typedef struct _TColumnDesc__isset { class TColumnDesc { public: - static const char* ascii_fingerprint; // = "EABED9009D5FCABFCA65612069F2A849"; - static const uint8_t binary_fingerprint[16]; // = {0xEA,0xBE,0xD9,0x00,0x9D,0x5F,0xCA,0xBF,0xCA,0x65,0x61,0x20,0x69,0xF2,0xA8,0x49}; - TColumnDesc(const TColumnDesc&); TColumnDesc& operator=(const TColumnDesc&); TColumnDesc() : columnName(), position(0), comment() { @@ -824,18 +851,21 @@ class TColumnDesc { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TColumnDesc& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TColumnDesc &a, TColumnDesc &b); +inline std::ostream& operator<<(std::ostream& out, const TColumnDesc& obj) +{ + obj.printTo(out); + return out; +} + class TTableSchema { public: - static const char* ascii_fingerprint; // = "7A1811E49313E5977107FC667B20E39D"; - static const uint8_t binary_fingerprint[16]; // = {0x7A,0x18,0x11,0xE4,0x93,0x13,0xE5,0x97,0x71,0x07,0xFC,0x66,0x7B,0x20,0xE3,0x9D}; - TTableSchema(const TTableSchema&); TTableSchema& operator=(const TTableSchema&); TTableSchema() { @@ -861,11 +891,17 @@ class TTableSchema { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TTableSchema& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TTableSchema &a, TTableSchema &b); +inline std::ostream& operator<<(std::ostream& out, const TTableSchema& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TBoolValue__isset { _TBoolValue__isset() : value(false) {} bool value :1; @@ -874,9 +910,6 @@ typedef struct _TBoolValue__isset { class TBoolValue { public: - static const char* ascii_fingerprint; // = "BF054652DEF86253C2BEE7D947F167DD"; - static const uint8_t binary_fingerprint[16]; // = {0xBF,0x05,0x46,0x52,0xDE,0xF8,0x62,0x53,0xC2,0xBE,0xE7,0xD9,0x47,0xF1,0x67,0xDD}; - TBoolValue(const TBoolValue&); TBoolValue& operator=(const TBoolValue&); TBoolValue() : value(0) { @@ -906,11 +939,17 @@ class TBoolValue { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TBoolValue& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TBoolValue &a, TBoolValue &b); +inline std::ostream& operator<<(std::ostream& out, const TBoolValue& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TByteValue__isset { _TByteValue__isset() : value(false) {} bool value :1; @@ -919,9 +958,6 @@ typedef struct _TByteValue__isset { class TByteValue { public: - static const char* ascii_fingerprint; // = "9C15298ACB5D04AEA9B52D5DDE6F9208"; - static const uint8_t binary_fingerprint[16]; // = {0x9C,0x15,0x29,0x8A,0xCB,0x5D,0x04,0xAE,0xA9,0xB5,0x2D,0x5D,0xDE,0x6F,0x92,0x08}; - TByteValue(const TByteValue&); TByteValue& operator=(const TByteValue&); TByteValue() : value(0) { @@ -951,11 +987,17 @@ class TByteValue { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TByteValue& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TByteValue &a, TByteValue &b); +inline std::ostream& operator<<(std::ostream& out, const TByteValue& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TI16Value__isset { _TI16Value__isset() : value(false) {} bool value :1; @@ -964,9 +1006,6 @@ typedef struct _TI16Value__isset { class TI16Value { public: - static const char* ascii_fingerprint; // = "5DAC9C51C7E1106BF936FC71860BE9D5"; - static const uint8_t binary_fingerprint[16]; // = {0x5D,0xAC,0x9C,0x51,0xC7,0xE1,0x10,0x6B,0xF9,0x36,0xFC,0x71,0x86,0x0B,0xE9,0xD5}; - TI16Value(const TI16Value&); TI16Value& operator=(const TI16Value&); TI16Value() : value(0) { @@ -996,11 +1035,17 @@ class TI16Value { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TI16Value& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TI16Value &a, TI16Value &b); +inline std::ostream& operator<<(std::ostream& out, const TI16Value& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TI32Value__isset { _TI32Value__isset() : value(false) {} bool value :1; @@ -1009,9 +1054,6 @@ typedef struct _TI32Value__isset { class TI32Value { public: - static const char* ascii_fingerprint; // = "E7A96B151330359E84C0A3AC91BCBACD"; - static const uint8_t binary_fingerprint[16]; // = {0xE7,0xA9,0x6B,0x15,0x13,0x30,0x35,0x9E,0x84,0xC0,0xA3,0xAC,0x91,0xBC,0xBA,0xCD}; - TI32Value(const TI32Value&); TI32Value& operator=(const TI32Value&); TI32Value() : value(0) { @@ -1041,11 +1083,17 @@ class TI32Value { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TI32Value& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TI32Value &a, TI32Value &b); +inline std::ostream& operator<<(std::ostream& out, const TI32Value& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TI64Value__isset { _TI64Value__isset() : value(false) {} bool value :1; @@ -1054,9 +1102,6 @@ typedef struct _TI64Value__isset { class TI64Value { public: - static const char* ascii_fingerprint; // = "148F3AAAC1D9859963D5E800D187BF26"; - static const uint8_t binary_fingerprint[16]; // = {0x14,0x8F,0x3A,0xAA,0xC1,0xD9,0x85,0x99,0x63,0xD5,0xE8,0x00,0xD1,0x87,0xBF,0x26}; - TI64Value(const TI64Value&); TI64Value& operator=(const TI64Value&); TI64Value() : value(0) { @@ -1086,11 +1131,17 @@ class TI64Value { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TI64Value& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TI64Value &a, TI64Value &b); +inline std::ostream& operator<<(std::ostream& out, const TI64Value& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TDoubleValue__isset { _TDoubleValue__isset() : value(false) {} bool value :1; @@ -1099,9 +1150,6 @@ typedef struct _TDoubleValue__isset { class TDoubleValue { public: - static const char* ascii_fingerprint; // = "3586E570A474C4A8603B4FF74903B3A6"; - static const uint8_t binary_fingerprint[16]; // = {0x35,0x86,0xE5,0x70,0xA4,0x74,0xC4,0xA8,0x60,0x3B,0x4F,0xF7,0x49,0x03,0xB3,0xA6}; - TDoubleValue(const TDoubleValue&); TDoubleValue& operator=(const TDoubleValue&); TDoubleValue() : value(0) { @@ -1131,11 +1179,17 @@ class TDoubleValue { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TDoubleValue& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TDoubleValue &a, TDoubleValue &b); +inline std::ostream& operator<<(std::ostream& out, const TDoubleValue& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TStringValue__isset { _TStringValue__isset() : value(false) {} bool value :1; @@ -1144,9 +1198,6 @@ typedef struct _TStringValue__isset { class TStringValue { public: - static const char* ascii_fingerprint; // = "66E694018C17E5B65A59AE8F55CCA3CD"; - static const uint8_t binary_fingerprint[16]; // = {0x66,0xE6,0x94,0x01,0x8C,0x17,0xE5,0xB6,0x5A,0x59,0xAE,0x8F,0x55,0xCC,0xA3,0xCD}; - TStringValue(const TStringValue&); TStringValue& operator=(const TStringValue&); TStringValue() : value() { @@ -1176,11 +1227,17 @@ class TStringValue { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TStringValue& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TStringValue &a, TStringValue &b); +inline std::ostream& operator<<(std::ostream& out, const TStringValue& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TColumnValue__isset { _TColumnValue__isset() : boolVal(false), byteVal(false), i16Val(false), i32Val(false), i64Val(false), doubleVal(false), stringVal(false) {} bool boolVal :1; @@ -1195,9 +1252,6 @@ typedef struct _TColumnValue__isset { class TColumnValue { public: - static const char* ascii_fingerprint; // = "C2DDD988447EA7999A8285AA38AAE9AD"; - static const uint8_t binary_fingerprint[16]; // = {0xC2,0xDD,0xD9,0x88,0x44,0x7E,0xA7,0x99,0x9A,0x82,0x85,0xAA,0x38,0xAA,0xE9,0xAD}; - TColumnValue(const TColumnValue&); TColumnValue& operator=(const TColumnValue&); TColumnValue() { @@ -1255,18 +1309,21 @@ class TColumnValue { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TColumnValue& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TColumnValue &a, TColumnValue &b); +inline std::ostream& operator<<(std::ostream& out, const TColumnValue& obj) +{ + obj.printTo(out); + return out; +} + class TRow { public: - static const char* ascii_fingerprint; // = "E73FD1FCA0CA58A669FC3E02FB68D534"; - static const uint8_t binary_fingerprint[16]; // = {0xE7,0x3F,0xD1,0xFC,0xA0,0xCA,0x58,0xA6,0x69,0xFC,0x3E,0x02,0xFB,0x68,0xD5,0x34}; - TRow(const TRow&); TRow& operator=(const TRow&); TRow() { @@ -1292,18 +1349,21 @@ class TRow { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TRow& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TRow &a, TRow &b); +inline std::ostream& operator<<(std::ostream& out, const TRow& obj) +{ + obj.printTo(out); + return out; +} + class TBoolColumn { public: - static const char* ascii_fingerprint; // = "F9058324D96DB7F974D8ACDC01C54219"; - static const uint8_t binary_fingerprint[16]; // = {0xF9,0x05,0x83,0x24,0xD9,0x6D,0xB7,0xF9,0x74,0xD8,0xAC,0xDC,0x01,0xC5,0x42,0x19}; - TBoolColumn(const TBoolColumn&); TBoolColumn& operator=(const TBoolColumn&); TBoolColumn() : nulls() { @@ -1334,18 +1394,21 @@ class TBoolColumn { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TBoolColumn& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TBoolColumn &a, TBoolColumn &b); +inline std::ostream& operator<<(std::ostream& out, const TBoolColumn& obj) +{ + obj.printTo(out); + return out; +} + class TByteColumn { public: - static const char* ascii_fingerprint; // = "1CB300106BAA463A70BB2A2395900F48"; - static const uint8_t binary_fingerprint[16]; // = {0x1C,0xB3,0x00,0x10,0x6B,0xAA,0x46,0x3A,0x70,0xBB,0x2A,0x23,0x95,0x90,0x0F,0x48}; - TByteColumn(const TByteColumn&); TByteColumn& operator=(const TByteColumn&); TByteColumn() : nulls() { @@ -1376,18 +1439,21 @@ class TByteColumn { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TByteColumn& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TByteColumn &a, TByteColumn &b); +inline std::ostream& operator<<(std::ostream& out, const TByteColumn& obj) +{ + obj.printTo(out); + return out; +} + class TI16Column { public: - static const char* ascii_fingerprint; // = "6574CDB1F121C8DB47FB257A3F104BDB"; - static const uint8_t binary_fingerprint[16]; // = {0x65,0x74,0xCD,0xB1,0xF1,0x21,0xC8,0xDB,0x47,0xFB,0x25,0x7A,0x3F,0x10,0x4B,0xDB}; - TI16Column(const TI16Column&); TI16Column& operator=(const TI16Column&); TI16Column() : nulls() { @@ -1418,18 +1484,21 @@ class TI16Column { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TI16Column& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TI16Column &a, TI16Column &b); +inline std::ostream& operator<<(std::ostream& out, const TI16Column& obj) +{ + obj.printTo(out); + return out; +} + class TI32Column { public: - static const char* ascii_fingerprint; // = "CCCCE89C7E9DA10280F5663700677313"; - static const uint8_t binary_fingerprint[16]; // = {0xCC,0xCC,0xE8,0x9C,0x7E,0x9D,0xA1,0x02,0x80,0xF5,0x66,0x37,0x00,0x67,0x73,0x13}; - TI32Column(const TI32Column&); TI32Column& operator=(const TI32Column&); TI32Column() : nulls() { @@ -1460,18 +1529,21 @@ class TI32Column { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TI32Column& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TI32Column &a, TI32Column &b); +inline std::ostream& operator<<(std::ostream& out, const TI32Column& obj) +{ + obj.printTo(out); + return out; +} + class TI64Column { public: - static const char* ascii_fingerprint; // = "925353917FC0AF87976A2338011F5A31"; - static const uint8_t binary_fingerprint[16]; // = {0x92,0x53,0x53,0x91,0x7F,0xC0,0xAF,0x87,0x97,0x6A,0x23,0x38,0x01,0x1F,0x5A,0x31}; - TI64Column(const TI64Column&); TI64Column& operator=(const TI64Column&); TI64Column() : nulls() { @@ -1502,18 +1574,21 @@ class TI64Column { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TI64Column& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TI64Column &a, TI64Column &b); +inline std::ostream& operator<<(std::ostream& out, const TI64Column& obj) +{ + obj.printTo(out); + return out; +} + class TDoubleColumn { public: - static const char* ascii_fingerprint; // = "8FF1C050A8D7FD247AEB23CD71539C09"; - static const uint8_t binary_fingerprint[16]; // = {0x8F,0xF1,0xC0,0x50,0xA8,0xD7,0xFD,0x24,0x7A,0xEB,0x23,0xCD,0x71,0x53,0x9C,0x09}; - TDoubleColumn(const TDoubleColumn&); TDoubleColumn& operator=(const TDoubleColumn&); TDoubleColumn() : nulls() { @@ -1544,18 +1619,21 @@ class TDoubleColumn { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TDoubleColumn& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TDoubleColumn &a, TDoubleColumn &b); +inline std::ostream& operator<<(std::ostream& out, const TDoubleColumn& obj) +{ + obj.printTo(out); + return out; +} + class TStringColumn { public: - static const char* ascii_fingerprint; // = "BE556BF7091B2DABBA1863D5E458B15F"; - static const uint8_t binary_fingerprint[16]; // = {0xBE,0x55,0x6B,0xF7,0x09,0x1B,0x2D,0xAB,0xBA,0x18,0x63,0xD5,0xE4,0x58,0xB1,0x5F}; - TStringColumn(const TStringColumn&); TStringColumn& operator=(const TStringColumn&); TStringColumn() : nulls() { @@ -1586,18 +1664,21 @@ class TStringColumn { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TStringColumn& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TStringColumn &a, TStringColumn &b); +inline std::ostream& operator<<(std::ostream& out, const TStringColumn& obj) +{ + obj.printTo(out); + return out; +} + class TBinaryColumn { public: - static const char* ascii_fingerprint; // = "BE556BF7091B2DABBA1863D5E458B15F"; - static const uint8_t binary_fingerprint[16]; // = {0xBE,0x55,0x6B,0xF7,0x09,0x1B,0x2D,0xAB,0xBA,0x18,0x63,0xD5,0xE4,0x58,0xB1,0x5F}; - TBinaryColumn(const TBinaryColumn&); TBinaryColumn& operator=(const TBinaryColumn&); TBinaryColumn() : nulls() { @@ -1628,11 +1709,17 @@ class TBinaryColumn { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TBinaryColumn& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TBinaryColumn &a, TBinaryColumn &b); +inline std::ostream& operator<<(std::ostream& out, const TBinaryColumn& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TColumn__isset { _TColumn__isset() : boolVal(false), byteVal(false), i16Val(false), i32Val(false), i64Val(false), doubleVal(false), stringVal(false), binaryVal(false) {} bool boolVal :1; @@ -1648,9 +1735,6 @@ typedef struct _TColumn__isset { class TColumn { public: - static const char* ascii_fingerprint; // = "E6ADD10B4CDDE61A19E8878CC7039A17"; - static const uint8_t binary_fingerprint[16]; // = {0xE6,0xAD,0xD1,0x0B,0x4C,0xDD,0xE6,0x1A,0x19,0xE8,0x87,0x8C,0xC7,0x03,0x9A,0x17}; - TColumn(const TColumn&); TColumn& operator=(const TColumn&); TColumn() { @@ -1713,11 +1797,17 @@ class TColumn { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TColumn& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TColumn &a, TColumn &b); +inline std::ostream& operator<<(std::ostream& out, const TColumn& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TRowSet__isset { _TRowSet__isset() : columns(false) {} bool columns :1; @@ -1726,9 +1816,6 @@ typedef struct _TRowSet__isset { class TRowSet { public: - static const char* ascii_fingerprint; // = "46DA30A870489C7A58105AE0080DAEBF"; - static const uint8_t binary_fingerprint[16]; // = {0x46,0xDA,0x30,0xA8,0x70,0x48,0x9C,0x7A,0x58,0x10,0x5A,0xE0,0x08,0x0D,0xAE,0xBF}; - TRowSet(const TRowSet&); TRowSet& operator=(const TRowSet&); TRowSet() : startRowOffset(0) { @@ -1768,11 +1855,17 @@ class TRowSet { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TRowSet& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TRowSet &a, TRowSet &b); +inline std::ostream& operator<<(std::ostream& out, const TRowSet& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TStatus__isset { _TStatus__isset() : infoMessages(false), sqlState(false), errorCode(false), errorMessage(false) {} bool infoMessages :1; @@ -1784,9 +1877,6 @@ typedef struct _TStatus__isset { class TStatus { public: - static const char* ascii_fingerprint; // = "D5DEF49634A59C615C1B3A6F7D0DADB5"; - static const uint8_t binary_fingerprint[16]; // = {0xD5,0xDE,0xF4,0x96,0x34,0xA5,0x9C,0x61,0x5C,0x1B,0x3A,0x6F,0x7D,0x0D,0xAD,0xB5}; - TStatus(const TStatus&); TStatus& operator=(const TStatus&); TStatus() : statusCode((TStatusCode::type)0), sqlState(), errorCode(0), errorMessage() { @@ -1842,18 +1932,21 @@ class TStatus { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TStatus& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TStatus &a, TStatus &b); +inline std::ostream& operator<<(std::ostream& out, const TStatus& obj) +{ + obj.printTo(out); + return out; +} + class THandleIdentifier { public: - static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72}; - THandleIdentifier(const THandleIdentifier&); THandleIdentifier& operator=(const THandleIdentifier&); THandleIdentifier() : guid(), secret() { @@ -1884,18 +1977,21 @@ class THandleIdentifier { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const THandleIdentifier& obj); + virtual void printTo(std::ostream& out) const; }; void swap(THandleIdentifier &a, THandleIdentifier &b); +inline std::ostream& operator<<(std::ostream& out, const THandleIdentifier& obj) +{ + obj.printTo(out); + return out; +} + class TSessionHandle { public: - static const char* ascii_fingerprint; // = "A756D3DBE614FB13F70BF7F7B6EB3D73"; - static const uint8_t binary_fingerprint[16]; // = {0xA7,0x56,0xD3,0xDB,0xE6,0x14,0xFB,0x13,0xF7,0x0B,0xF7,0xF7,0xB6,0xEB,0x3D,0x73}; - TSessionHandle(const TSessionHandle&); TSessionHandle& operator=(const TSessionHandle&); TSessionHandle() { @@ -1921,11 +2017,17 @@ class TSessionHandle { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TSessionHandle& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TSessionHandle &a, TSessionHandle &b); +inline std::ostream& operator<<(std::ostream& out, const TSessionHandle& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TOperationHandle__isset { _TOperationHandle__isset() : modifiedRowCount(false) {} bool modifiedRowCount :1; @@ -1934,9 +2036,6 @@ typedef struct _TOperationHandle__isset { class TOperationHandle { public: - static const char* ascii_fingerprint; // = "29FD80F4F96804A30FCC59C23D2E5349"; - static const uint8_t binary_fingerprint[16]; // = {0x29,0xFD,0x80,0xF4,0xF9,0x68,0x04,0xA3,0x0F,0xCC,0x59,0xC2,0x3D,0x2E,0x53,0x49}; - TOperationHandle(const TOperationHandle&); TOperationHandle& operator=(const TOperationHandle&); TOperationHandle() : operationType((TOperationType::type)0), hasResultSet(0), modifiedRowCount(0) { @@ -1981,11 +2080,17 @@ class TOperationHandle { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TOperationHandle& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TOperationHandle &a, TOperationHandle &b); +inline std::ostream& operator<<(std::ostream& out, const TOperationHandle& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TOpenSessionReq__isset { _TOpenSessionReq__isset() : username(false), password(false), configuration(false) {} bool username :1; @@ -1996,9 +2101,6 @@ typedef struct _TOpenSessionReq__isset { class TOpenSessionReq { public: - static const char* ascii_fingerprint; // = "C8FD0F306A16C16BDA7B57F58BFAE5B2"; - static const uint8_t binary_fingerprint[16]; // = {0xC8,0xFD,0x0F,0x30,0x6A,0x16,0xC1,0x6B,0xDA,0x7B,0x57,0xF5,0x8B,0xFA,0xE5,0xB2}; - TOpenSessionReq(const TOpenSessionReq&); TOpenSessionReq& operator=(const TOpenSessionReq&); TOpenSessionReq() : client_protocol((TProtocolVersion::type)7), username(), password() { @@ -2049,11 +2151,17 @@ class TOpenSessionReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TOpenSessionReq& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TOpenSessionReq &a, TOpenSessionReq &b); +inline std::ostream& operator<<(std::ostream& out, const TOpenSessionReq& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TOpenSessionResp__isset { _TOpenSessionResp__isset() : sessionHandle(false), configuration(false) {} bool sessionHandle :1; @@ -2063,9 +2171,6 @@ typedef struct _TOpenSessionResp__isset { class TOpenSessionResp { public: - static const char* ascii_fingerprint; // = "CFE7D7F4E9EC671F2518ED74FEE9F163"; - static const uint8_t binary_fingerprint[16]; // = {0xCF,0xE7,0xD7,0xF4,0xE9,0xEC,0x67,0x1F,0x25,0x18,0xED,0x74,0xFE,0xE9,0xF1,0x63}; - TOpenSessionResp(const TOpenSessionResp&); TOpenSessionResp& operator=(const TOpenSessionResp&); TOpenSessionResp() : serverProtocolVersion((TProtocolVersion::type)7) { @@ -2114,18 +2219,21 @@ class TOpenSessionResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TOpenSessionResp& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TOpenSessionResp &a, TOpenSessionResp &b); +inline std::ostream& operator<<(std::ostream& out, const TOpenSessionResp& obj) +{ + obj.printTo(out); + return out; +} + class TCloseSessionReq { public: - static const char* ascii_fingerprint; // = "82377107F8BD0526960537D5A112E6EF"; - static const uint8_t binary_fingerprint[16]; // = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF}; - TCloseSessionReq(const TCloseSessionReq&); TCloseSessionReq& operator=(const TCloseSessionReq&); TCloseSessionReq() { @@ -2151,18 +2259,21 @@ class TCloseSessionReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCloseSessionReq& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TCloseSessionReq &a, TCloseSessionReq &b); +inline std::ostream& operator<<(std::ostream& out, const TCloseSessionReq& obj) +{ + obj.printTo(out); + return out; +} + class TCloseSessionResp { public: - static const char* ascii_fingerprint; // = "7142E89F09DC7C5F6FA916C7393F46C2"; - static const uint8_t binary_fingerprint[16]; // = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2}; - TCloseSessionResp(const TCloseSessionResp&); TCloseSessionResp& operator=(const TCloseSessionResp&); TCloseSessionResp() { @@ -2188,11 +2299,17 @@ class TCloseSessionResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCloseSessionResp& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TCloseSessionResp &a, TCloseSessionResp &b); +inline std::ostream& operator<<(std::ostream& out, const TCloseSessionResp& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TGetInfoValue__isset { _TGetInfoValue__isset() : stringValue(false), smallIntValue(false), integerBitmask(false), integerFlag(false), binaryValue(false), lenValue(false) {} bool stringValue :1; @@ -2206,9 +2323,6 @@ typedef struct _TGetInfoValue__isset { class TGetInfoValue { public: - static const char* ascii_fingerprint; // = "057FED11279FD7248CFE73EE82ED579E"; - static const uint8_t binary_fingerprint[16]; // = {0x05,0x7F,0xED,0x11,0x27,0x9F,0xD7,0x24,0x8C,0xFE,0x73,0xEE,0x82,0xED,0x57,0x9E}; - TGetInfoValue(const TGetInfoValue&); TGetInfoValue& operator=(const TGetInfoValue&); TGetInfoValue() : stringValue(), smallIntValue(0), integerBitmask(0), integerFlag(0), binaryValue(0), lenValue(0) { @@ -2261,18 +2375,21 @@ class TGetInfoValue { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetInfoValue& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetInfoValue &a, TGetInfoValue &b); +inline std::ostream& operator<<(std::ostream& out, const TGetInfoValue& obj) +{ + obj.printTo(out); + return out; +} + class TGetInfoReq { public: - static const char* ascii_fingerprint; // = "95675B1A0BADE5F7EDE323809DB679B2"; - static const uint8_t binary_fingerprint[16]; // = {0x95,0x67,0x5B,0x1A,0x0B,0xAD,0xE5,0xF7,0xED,0xE3,0x23,0x80,0x9D,0xB6,0x79,0xB2}; - TGetInfoReq(const TGetInfoReq&); TGetInfoReq& operator=(const TGetInfoReq&); TGetInfoReq() : infoType((TGetInfoType::type)0) { @@ -2303,18 +2420,21 @@ class TGetInfoReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetInfoReq& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetInfoReq &a, TGetInfoReq &b); +inline std::ostream& operator<<(std::ostream& out, const TGetInfoReq& obj) +{ + obj.printTo(out); + return out; +} + class TGetInfoResp { public: - static const char* ascii_fingerprint; // = "72AFA10A82728B51FDE91092012868DE"; - static const uint8_t binary_fingerprint[16]; // = {0x72,0xAF,0xA1,0x0A,0x82,0x72,0x8B,0x51,0xFD,0xE9,0x10,0x92,0x01,0x28,0x68,0xDE}; - TGetInfoResp(const TGetInfoResp&); TGetInfoResp& operator=(const TGetInfoResp&); TGetInfoResp() { @@ -2345,11 +2465,17 @@ class TGetInfoResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetInfoResp& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetInfoResp &a, TGetInfoResp &b); +inline std::ostream& operator<<(std::ostream& out, const TGetInfoResp& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TExecuteStatementReq__isset { _TExecuteStatementReq__isset() : confOverlay(false), runAsync(true) {} bool confOverlay :1; @@ -2359,9 +2485,6 @@ typedef struct _TExecuteStatementReq__isset { class TExecuteStatementReq { public: - static const char* ascii_fingerprint; // = "FED75DB77E66D76EC1939A51FB0D96FA"; - static const uint8_t binary_fingerprint[16]; // = {0xFE,0xD7,0x5D,0xB7,0x7E,0x66,0xD7,0x6E,0xC1,0x93,0x9A,0x51,0xFB,0x0D,0x96,0xFA}; - TExecuteStatementReq(const TExecuteStatementReq&); TExecuteStatementReq& operator=(const TExecuteStatementReq&); TExecuteStatementReq() : statement(), runAsync(false) { @@ -2408,11 +2531,17 @@ class TExecuteStatementReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TExecuteStatementReq& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TExecuteStatementReq &a, TExecuteStatementReq &b); +inline std::ostream& operator<<(std::ostream& out, const TExecuteStatementReq& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TExecuteStatementResp__isset { _TExecuteStatementResp__isset() : operationHandle(false) {} bool operationHandle :1; @@ -2421,9 +2550,6 @@ typedef struct _TExecuteStatementResp__isset { class TExecuteStatementResp { public: - static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286"; - static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; - TExecuteStatementResp(const TExecuteStatementResp&); TExecuteStatementResp& operator=(const TExecuteStatementResp&); TExecuteStatementResp() { @@ -2458,18 +2584,21 @@ class TExecuteStatementResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TExecuteStatementResp& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TExecuteStatementResp &a, TExecuteStatementResp &b); +inline std::ostream& operator<<(std::ostream& out, const TExecuteStatementResp& obj) +{ + obj.printTo(out); + return out; +} + class TGetTypeInfoReq { public: - static const char* ascii_fingerprint; // = "82377107F8BD0526960537D5A112E6EF"; - static const uint8_t binary_fingerprint[16]; // = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF}; - TGetTypeInfoReq(const TGetTypeInfoReq&); TGetTypeInfoReq& operator=(const TGetTypeInfoReq&); TGetTypeInfoReq() { @@ -2495,11 +2624,17 @@ class TGetTypeInfoReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetTypeInfoReq& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetTypeInfoReq &a, TGetTypeInfoReq &b); +inline std::ostream& operator<<(std::ostream& out, const TGetTypeInfoReq& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TGetTypeInfoResp__isset { _TGetTypeInfoResp__isset() : operationHandle(false) {} bool operationHandle :1; @@ -2508,9 +2643,6 @@ typedef struct _TGetTypeInfoResp__isset { class TGetTypeInfoResp { public: - static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286"; - static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; - TGetTypeInfoResp(const TGetTypeInfoResp&); TGetTypeInfoResp& operator=(const TGetTypeInfoResp&); TGetTypeInfoResp() { @@ -2545,18 +2677,21 @@ class TGetTypeInfoResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetTypeInfoResp& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetTypeInfoResp &a, TGetTypeInfoResp &b); +inline std::ostream& operator<<(std::ostream& out, const TGetTypeInfoResp& obj) +{ + obj.printTo(out); + return out; +} + class TGetCatalogsReq { public: - static const char* ascii_fingerprint; // = "82377107F8BD0526960537D5A112E6EF"; - static const uint8_t binary_fingerprint[16]; // = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF}; - TGetCatalogsReq(const TGetCatalogsReq&); TGetCatalogsReq& operator=(const TGetCatalogsReq&); TGetCatalogsReq() { @@ -2582,11 +2717,17 @@ class TGetCatalogsReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetCatalogsReq& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetCatalogsReq &a, TGetCatalogsReq &b); +inline std::ostream& operator<<(std::ostream& out, const TGetCatalogsReq& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TGetCatalogsResp__isset { _TGetCatalogsResp__isset() : operationHandle(false) {} bool operationHandle :1; @@ -2595,9 +2736,6 @@ typedef struct _TGetCatalogsResp__isset { class TGetCatalogsResp { public: - static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286"; - static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; - TGetCatalogsResp(const TGetCatalogsResp&); TGetCatalogsResp& operator=(const TGetCatalogsResp&); TGetCatalogsResp() { @@ -2632,11 +2770,17 @@ class TGetCatalogsResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetCatalogsResp& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetCatalogsResp &a, TGetCatalogsResp &b); +inline std::ostream& operator<<(std::ostream& out, const TGetCatalogsResp& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TGetSchemasReq__isset { _TGetSchemasReq__isset() : catalogName(false), schemaName(false) {} bool catalogName :1; @@ -2646,9 +2790,6 @@ typedef struct _TGetSchemasReq__isset { class TGetSchemasReq { public: - static const char* ascii_fingerprint; // = "28A9D12DE8393DD3E73FC1E5AE6E113B"; - static const uint8_t binary_fingerprint[16]; // = {0x28,0xA9,0xD1,0x2D,0xE8,0x39,0x3D,0xD3,0xE7,0x3F,0xC1,0xE5,0xAE,0x6E,0x11,0x3B}; - TGetSchemasReq(const TGetSchemasReq&); TGetSchemasReq& operator=(const TGetSchemasReq&); TGetSchemasReq() : catalogName(), schemaName() { @@ -2690,11 +2831,17 @@ class TGetSchemasReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetSchemasReq& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetSchemasReq &a, TGetSchemasReq &b); +inline std::ostream& operator<<(std::ostream& out, const TGetSchemasReq& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TGetSchemasResp__isset { _TGetSchemasResp__isset() : operationHandle(false) {} bool operationHandle :1; @@ -2703,9 +2850,6 @@ typedef struct _TGetSchemasResp__isset { class TGetSchemasResp { public: - static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286"; - static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; - TGetSchemasResp(const TGetSchemasResp&); TGetSchemasResp& operator=(const TGetSchemasResp&); TGetSchemasResp() { @@ -2740,11 +2884,17 @@ class TGetSchemasResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetSchemasResp& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetSchemasResp &a, TGetSchemasResp &b); +inline std::ostream& operator<<(std::ostream& out, const TGetSchemasResp& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TGetTablesReq__isset { _TGetTablesReq__isset() : catalogName(false), schemaName(false), tableName(false), tableTypes(false) {} bool catalogName :1; @@ -2756,9 +2906,6 @@ typedef struct _TGetTablesReq__isset { class TGetTablesReq { public: - static const char* ascii_fingerprint; // = "C80DFEE06850052F5A445BE81ED763DB"; - static const uint8_t binary_fingerprint[16]; // = {0xC8,0x0D,0xFE,0xE0,0x68,0x50,0x05,0x2F,0x5A,0x44,0x5B,0xE8,0x1E,0xD7,0x63,0xDB}; - TGetTablesReq(const TGetTablesReq&); TGetTablesReq& operator=(const TGetTablesReq&); TGetTablesReq() : catalogName(), schemaName(), tableName() { @@ -2814,11 +2961,17 @@ class TGetTablesReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetTablesReq& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetTablesReq &a, TGetTablesReq &b); +inline std::ostream& operator<<(std::ostream& out, const TGetTablesReq& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TGetTablesResp__isset { _TGetTablesResp__isset() : operationHandle(false) {} bool operationHandle :1; @@ -2827,9 +2980,6 @@ typedef struct _TGetTablesResp__isset { class TGetTablesResp { public: - static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286"; - static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; - TGetTablesResp(const TGetTablesResp&); TGetTablesResp& operator=(const TGetTablesResp&); TGetTablesResp() { @@ -2864,18 +3014,21 @@ class TGetTablesResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetTablesResp& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetTablesResp &a, TGetTablesResp &b); +inline std::ostream& operator<<(std::ostream& out, const TGetTablesResp& obj) +{ + obj.printTo(out); + return out; +} + class TGetTableTypesReq { public: - static const char* ascii_fingerprint; // = "82377107F8BD0526960537D5A112E6EF"; - static const uint8_t binary_fingerprint[16]; // = {0x82,0x37,0x71,0x07,0xF8,0xBD,0x05,0x26,0x96,0x05,0x37,0xD5,0xA1,0x12,0xE6,0xEF}; - TGetTableTypesReq(const TGetTableTypesReq&); TGetTableTypesReq& operator=(const TGetTableTypesReq&); TGetTableTypesReq() { @@ -2901,11 +3054,17 @@ class TGetTableTypesReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetTableTypesReq& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetTableTypesReq &a, TGetTableTypesReq &b); +inline std::ostream& operator<<(std::ostream& out, const TGetTableTypesReq& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TGetTableTypesResp__isset { _TGetTableTypesResp__isset() : operationHandle(false) {} bool operationHandle :1; @@ -2914,9 +3073,6 @@ typedef struct _TGetTableTypesResp__isset { class TGetTableTypesResp { public: - static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286"; - static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; - TGetTableTypesResp(const TGetTableTypesResp&); TGetTableTypesResp& operator=(const TGetTableTypesResp&); TGetTableTypesResp() { @@ -2951,11 +3107,17 @@ class TGetTableTypesResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetTableTypesResp& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetTableTypesResp &a, TGetTableTypesResp &b); +inline std::ostream& operator<<(std::ostream& out, const TGetTableTypesResp& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TGetColumnsReq__isset { _TGetColumnsReq__isset() : catalogName(false), schemaName(false), tableName(false), columnName(false) {} bool catalogName :1; @@ -2967,9 +3129,6 @@ typedef struct _TGetColumnsReq__isset { class TGetColumnsReq { public: - static const char* ascii_fingerprint; // = "72D0F28ED33A49B7306DF63EEE956C28"; - static const uint8_t binary_fingerprint[16]; // = {0x72,0xD0,0xF2,0x8E,0xD3,0x3A,0x49,0xB7,0x30,0x6D,0xF6,0x3E,0xEE,0x95,0x6C,0x28}; - TGetColumnsReq(const TGetColumnsReq&); TGetColumnsReq& operator=(const TGetColumnsReq&); TGetColumnsReq() : catalogName(), schemaName(), tableName(), columnName() { @@ -3025,11 +3184,17 @@ class TGetColumnsReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetColumnsReq& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetColumnsReq &a, TGetColumnsReq &b); +inline std::ostream& operator<<(std::ostream& out, const TGetColumnsReq& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TGetColumnsResp__isset { _TGetColumnsResp__isset() : operationHandle(false) {} bool operationHandle :1; @@ -3038,9 +3203,6 @@ typedef struct _TGetColumnsResp__isset { class TGetColumnsResp { public: - static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286"; - static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; - TGetColumnsResp(const TGetColumnsResp&); TGetColumnsResp& operator=(const TGetColumnsResp&); TGetColumnsResp() { @@ -3075,11 +3237,17 @@ class TGetColumnsResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetColumnsResp& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetColumnsResp &a, TGetColumnsResp &b); +inline std::ostream& operator<<(std::ostream& out, const TGetColumnsResp& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TGetFunctionsReq__isset { _TGetFunctionsReq__isset() : catalogName(false), schemaName(false) {} bool catalogName :1; @@ -3089,9 +3257,6 @@ typedef struct _TGetFunctionsReq__isset { class TGetFunctionsReq { public: - static const char* ascii_fingerprint; // = "0887E0916ADE4521BF6017B534493138"; - static const uint8_t binary_fingerprint[16]; // = {0x08,0x87,0xE0,0x91,0x6A,0xDE,0x45,0x21,0xBF,0x60,0x17,0xB5,0x34,0x49,0x31,0x38}; - TGetFunctionsReq(const TGetFunctionsReq&); TGetFunctionsReq& operator=(const TGetFunctionsReq&); TGetFunctionsReq() : catalogName(), schemaName(), functionName() { @@ -3138,11 +3303,17 @@ class TGetFunctionsReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetFunctionsReq& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetFunctionsReq &a, TGetFunctionsReq &b); +inline std::ostream& operator<<(std::ostream& out, const TGetFunctionsReq& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TGetFunctionsResp__isset { _TGetFunctionsResp__isset() : operationHandle(false) {} bool operationHandle :1; @@ -3151,9 +3322,6 @@ typedef struct _TGetFunctionsResp__isset { class TGetFunctionsResp { public: - static const char* ascii_fingerprint; // = "02A075A0FF88D3A172916D8F23C7B286"; - static const uint8_t binary_fingerprint[16]; // = {0x02,0xA0,0x75,0xA0,0xFF,0x88,0xD3,0xA1,0x72,0x91,0x6D,0x8F,0x23,0xC7,0xB2,0x86}; - TGetFunctionsResp(const TGetFunctionsResp&); TGetFunctionsResp& operator=(const TGetFunctionsResp&); TGetFunctionsResp() { @@ -3188,18 +3356,21 @@ class TGetFunctionsResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetFunctionsResp& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetFunctionsResp &a, TGetFunctionsResp &b); +inline std::ostream& operator<<(std::ostream& out, const TGetFunctionsResp& obj) +{ + obj.printTo(out); + return out; +} + class TGetOperationStatusReq { public: - static const char* ascii_fingerprint; // = "414FA38522AE6B9CEC1438B56CA1DE5A"; - static const uint8_t binary_fingerprint[16]; // = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A}; - TGetOperationStatusReq(const TGetOperationStatusReq&); TGetOperationStatusReq& operator=(const TGetOperationStatusReq&); TGetOperationStatusReq() { @@ -3225,11 +3396,17 @@ class TGetOperationStatusReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetOperationStatusReq& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetOperationStatusReq &a, TGetOperationStatusReq &b); +inline std::ostream& operator<<(std::ostream& out, const TGetOperationStatusReq& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TGetOperationStatusResp__isset { _TGetOperationStatusResp__isset() : operationState(false), sqlState(false), errorCode(false), errorMessage(false) {} bool operationState :1; @@ -3241,9 +3418,6 @@ typedef struct _TGetOperationStatusResp__isset { class TGetOperationStatusResp { public: - static const char* ascii_fingerprint; // = "BD124DB87A5A2E7D11945BD1B17F013D"; - static const uint8_t binary_fingerprint[16]; // = {0xBD,0x12,0x4D,0xB8,0x7A,0x5A,0x2E,0x7D,0x11,0x94,0x5B,0xD1,0xB1,0x7F,0x01,0x3D}; - TGetOperationStatusResp(const TGetOperationStatusResp&); TGetOperationStatusResp& operator=(const TGetOperationStatusResp&); TGetOperationStatusResp() : operationState((TOperationState::type)0), sqlState(), errorCode(0), errorMessage() { @@ -3299,18 +3473,21 @@ class TGetOperationStatusResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetOperationStatusResp& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetOperationStatusResp &a, TGetOperationStatusResp &b); +inline std::ostream& operator<<(std::ostream& out, const TGetOperationStatusResp& obj) +{ + obj.printTo(out); + return out; +} + class TCancelOperationReq { public: - static const char* ascii_fingerprint; // = "414FA38522AE6B9CEC1438B56CA1DE5A"; - static const uint8_t binary_fingerprint[16]; // = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A}; - TCancelOperationReq(const TCancelOperationReq&); TCancelOperationReq& operator=(const TCancelOperationReq&); TCancelOperationReq() { @@ -3336,18 +3513,21 @@ class TCancelOperationReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCancelOperationReq& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TCancelOperationReq &a, TCancelOperationReq &b); +inline std::ostream& operator<<(std::ostream& out, const TCancelOperationReq& obj) +{ + obj.printTo(out); + return out; +} + class TCancelOperationResp { public: - static const char* ascii_fingerprint; // = "7142E89F09DC7C5F6FA916C7393F46C2"; - static const uint8_t binary_fingerprint[16]; // = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2}; - TCancelOperationResp(const TCancelOperationResp&); TCancelOperationResp& operator=(const TCancelOperationResp&); TCancelOperationResp() { @@ -3373,18 +3553,21 @@ class TCancelOperationResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCancelOperationResp& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TCancelOperationResp &a, TCancelOperationResp &b); +inline std::ostream& operator<<(std::ostream& out, const TCancelOperationResp& obj) +{ + obj.printTo(out); + return out; +} + class TCloseOperationReq { public: - static const char* ascii_fingerprint; // = "414FA38522AE6B9CEC1438B56CA1DE5A"; - static const uint8_t binary_fingerprint[16]; // = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A}; - TCloseOperationReq(const TCloseOperationReq&); TCloseOperationReq& operator=(const TCloseOperationReq&); TCloseOperationReq() { @@ -3410,18 +3593,21 @@ class TCloseOperationReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCloseOperationReq& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TCloseOperationReq &a, TCloseOperationReq &b); +inline std::ostream& operator<<(std::ostream& out, const TCloseOperationReq& obj) +{ + obj.printTo(out); + return out; +} + class TCloseOperationResp { public: - static const char* ascii_fingerprint; // = "7142E89F09DC7C5F6FA916C7393F46C2"; - static const uint8_t binary_fingerprint[16]; // = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2}; - TCloseOperationResp(const TCloseOperationResp&); TCloseOperationResp& operator=(const TCloseOperationResp&); TCloseOperationResp() { @@ -3447,18 +3633,21 @@ class TCloseOperationResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCloseOperationResp& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TCloseOperationResp &a, TCloseOperationResp &b); +inline std::ostream& operator<<(std::ostream& out, const TCloseOperationResp& obj) +{ + obj.printTo(out); + return out; +} + class TGetResultSetMetadataReq { public: - static const char* ascii_fingerprint; // = "414FA38522AE6B9CEC1438B56CA1DE5A"; - static const uint8_t binary_fingerprint[16]; // = {0x41,0x4F,0xA3,0x85,0x22,0xAE,0x6B,0x9C,0xEC,0x14,0x38,0xB5,0x6C,0xA1,0xDE,0x5A}; - TGetResultSetMetadataReq(const TGetResultSetMetadataReq&); TGetResultSetMetadataReq& operator=(const TGetResultSetMetadataReq&); TGetResultSetMetadataReq() { @@ -3484,11 +3673,17 @@ class TGetResultSetMetadataReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetResultSetMetadataReq& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetResultSetMetadataReq &a, TGetResultSetMetadataReq &b); +inline std::ostream& operator<<(std::ostream& out, const TGetResultSetMetadataReq& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TGetResultSetMetadataResp__isset { _TGetResultSetMetadataResp__isset() : schema(false) {} bool schema :1; @@ -3497,9 +3692,6 @@ typedef struct _TGetResultSetMetadataResp__isset { class TGetResultSetMetadataResp { public: - static const char* ascii_fingerprint; // = "42CD49B7F49CC1B6D4E6F5FA2D7BE812"; - static const uint8_t binary_fingerprint[16]; // = {0x42,0xCD,0x49,0xB7,0xF4,0x9C,0xC1,0xB6,0xD4,0xE6,0xF5,0xFA,0x2D,0x7B,0xE8,0x12}; - TGetResultSetMetadataResp(const TGetResultSetMetadataResp&); TGetResultSetMetadataResp& operator=(const TGetResultSetMetadataResp&); TGetResultSetMetadataResp() { @@ -3534,11 +3726,17 @@ class TGetResultSetMetadataResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetResultSetMetadataResp& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetResultSetMetadataResp &a, TGetResultSetMetadataResp &b); +inline std::ostream& operator<<(std::ostream& out, const TGetResultSetMetadataResp& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TFetchResultsReq__isset { _TFetchResultsReq__isset() : fetchType(true) {} bool fetchType :1; @@ -3547,9 +3745,6 @@ typedef struct _TFetchResultsReq__isset { class TFetchResultsReq { public: - static const char* ascii_fingerprint; // = "B4CB1E4F8F8F4D50183DD372AD11753A"; - static const uint8_t binary_fingerprint[16]; // = {0xB4,0xCB,0x1E,0x4F,0x8F,0x8F,0x4D,0x50,0x18,0x3D,0xD3,0x72,0xAD,0x11,0x75,0x3A}; - TFetchResultsReq(const TFetchResultsReq&); TFetchResultsReq& operator=(const TFetchResultsReq&); TFetchResultsReq() : orientation((TFetchOrientation::type)0), maxRows(0), fetchType(0) { @@ -3596,11 +3791,17 @@ class TFetchResultsReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TFetchResultsReq& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TFetchResultsReq &a, TFetchResultsReq &b); +inline std::ostream& operator<<(std::ostream& out, const TFetchResultsReq& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TFetchResultsResp__isset { _TFetchResultsResp__isset() : hasMoreRows(false), results(false) {} bool hasMoreRows :1; @@ -3610,9 +3811,6 @@ typedef struct _TFetchResultsResp__isset { class TFetchResultsResp { public: - static const char* ascii_fingerprint; // = "FC43BC2D6F3B76D4DB0F34226A745C8E"; - static const uint8_t binary_fingerprint[16]; // = {0xFC,0x43,0xBC,0x2D,0x6F,0x3B,0x76,0xD4,0xDB,0x0F,0x34,0x22,0x6A,0x74,0x5C,0x8E}; - TFetchResultsResp(const TFetchResultsResp&); TFetchResultsResp& operator=(const TFetchResultsResp&); TFetchResultsResp() : hasMoreRows(0) { @@ -3654,18 +3852,21 @@ class TFetchResultsResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TFetchResultsResp& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TFetchResultsResp &a, TFetchResultsResp &b); +inline std::ostream& operator<<(std::ostream& out, const TFetchResultsResp& obj) +{ + obj.printTo(out); + return out; +} + class TGetDelegationTokenReq { public: - static const char* ascii_fingerprint; // = "07EA0311716A27924914E4354ED22D6C"; - static const uint8_t binary_fingerprint[16]; // = {0x07,0xEA,0x03,0x11,0x71,0x6A,0x27,0x92,0x49,0x14,0xE4,0x35,0x4E,0xD2,0x2D,0x6C}; - TGetDelegationTokenReq(const TGetDelegationTokenReq&); TGetDelegationTokenReq& operator=(const TGetDelegationTokenReq&); TGetDelegationTokenReq() : owner(), renewer() { @@ -3701,11 +3902,17 @@ class TGetDelegationTokenReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetDelegationTokenReq& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetDelegationTokenReq &a, TGetDelegationTokenReq &b); +inline std::ostream& operator<<(std::ostream& out, const TGetDelegationTokenReq& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _TGetDelegationTokenResp__isset { _TGetDelegationTokenResp__isset() : delegationToken(false) {} bool delegationToken :1; @@ -3714,9 +3921,6 @@ typedef struct _TGetDelegationTokenResp__isset { class TGetDelegationTokenResp { public: - static const char* ascii_fingerprint; // = "C0E132DC412CEA08D771EAC38CEA1DA6"; - static const uint8_t binary_fingerprint[16]; // = {0xC0,0xE1,0x32,0xDC,0x41,0x2C,0xEA,0x08,0xD7,0x71,0xEA,0xC3,0x8C,0xEA,0x1D,0xA6}; - TGetDelegationTokenResp(const TGetDelegationTokenResp&); TGetDelegationTokenResp& operator=(const TGetDelegationTokenResp&); TGetDelegationTokenResp() : delegationToken() { @@ -3751,18 +3955,21 @@ class TGetDelegationTokenResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TGetDelegationTokenResp& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TGetDelegationTokenResp &a, TGetDelegationTokenResp &b); +inline std::ostream& operator<<(std::ostream& out, const TGetDelegationTokenResp& obj) +{ + obj.printTo(out); + return out; +} + class TCancelDelegationTokenReq { public: - static const char* ascii_fingerprint; // = "1A3D66269336B7EC66998BFE1BECDE75"; - static const uint8_t binary_fingerprint[16]; // = {0x1A,0x3D,0x66,0x26,0x93,0x36,0xB7,0xEC,0x66,0x99,0x8B,0xFE,0x1B,0xEC,0xDE,0x75}; - TCancelDelegationTokenReq(const TCancelDelegationTokenReq&); TCancelDelegationTokenReq& operator=(const TCancelDelegationTokenReq&); TCancelDelegationTokenReq() : delegationToken() { @@ -3793,18 +4000,21 @@ class TCancelDelegationTokenReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCancelDelegationTokenReq& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TCancelDelegationTokenReq &a, TCancelDelegationTokenReq &b); +inline std::ostream& operator<<(std::ostream& out, const TCancelDelegationTokenReq& obj) +{ + obj.printTo(out); + return out; +} + class TCancelDelegationTokenResp { public: - static const char* ascii_fingerprint; // = "7142E89F09DC7C5F6FA916C7393F46C2"; - static const uint8_t binary_fingerprint[16]; // = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2}; - TCancelDelegationTokenResp(const TCancelDelegationTokenResp&); TCancelDelegationTokenResp& operator=(const TCancelDelegationTokenResp&); TCancelDelegationTokenResp() { @@ -3830,18 +4040,21 @@ class TCancelDelegationTokenResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TCancelDelegationTokenResp& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TCancelDelegationTokenResp &a, TCancelDelegationTokenResp &b); +inline std::ostream& operator<<(std::ostream& out, const TCancelDelegationTokenResp& obj) +{ + obj.printTo(out); + return out; +} + class TRenewDelegationTokenReq { public: - static const char* ascii_fingerprint; // = "1A3D66269336B7EC66998BFE1BECDE75"; - static const uint8_t binary_fingerprint[16]; // = {0x1A,0x3D,0x66,0x26,0x93,0x36,0xB7,0xEC,0x66,0x99,0x8B,0xFE,0x1B,0xEC,0xDE,0x75}; - TRenewDelegationTokenReq(const TRenewDelegationTokenReq&); TRenewDelegationTokenReq& operator=(const TRenewDelegationTokenReq&); TRenewDelegationTokenReq() : delegationToken() { @@ -3872,18 +4085,21 @@ class TRenewDelegationTokenReq { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TRenewDelegationTokenReq& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TRenewDelegationTokenReq &a, TRenewDelegationTokenReq &b); +inline std::ostream& operator<<(std::ostream& out, const TRenewDelegationTokenReq& obj) +{ + obj.printTo(out); + return out; +} + class TRenewDelegationTokenResp { public: - static const char* ascii_fingerprint; // = "7142E89F09DC7C5F6FA916C7393F46C2"; - static const uint8_t binary_fingerprint[16]; // = {0x71,0x42,0xE8,0x9F,0x09,0xDC,0x7C,0x5F,0x6F,0xA9,0x16,0xC7,0x39,0x3F,0x46,0xC2}; - TRenewDelegationTokenResp(const TRenewDelegationTokenResp&); TRenewDelegationTokenResp& operator=(const TRenewDelegationTokenResp&); TRenewDelegationTokenResp() { @@ -3909,11 +4125,17 @@ class TRenewDelegationTokenResp { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const TRenewDelegationTokenResp& obj); + virtual void printTo(std::ostream& out) const; }; void swap(TRenewDelegationTokenResp &a, TRenewDelegationTokenResp &b); +inline std::ostream& operator<<(std::ostream& out, const TRenewDelegationTokenResp& obj) +{ + obj.printTo(out); + return out; +} + }}}}} // namespace #endif diff --git service/src/gen/thrift/gen-cpp/ThriftHive.cpp service/src/gen/thrift/gen-cpp/ThriftHive.cpp index 8935c04..a5448f0 100644 --- service/src/gen/thrift/gen-cpp/ThriftHive.cpp +++ service/src/gen/thrift/gen-cpp/ThriftHive.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -15,6 +15,7 @@ ThriftHive_execute_args::~ThriftHive_execute_args() throw() { uint32_t ThriftHive_execute_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; @@ -55,7 +56,7 @@ uint32_t ThriftHive_execute_args::read(::apache::thrift::protocol::TProtocol* ip uint32_t ThriftHive_execute_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHive_execute_args"); xfer += oprot->writeFieldBegin("query", ::apache::thrift::protocol::T_STRING, 1); @@ -64,7 +65,6 @@ uint32_t ThriftHive_execute_args::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -75,7 +75,7 @@ ThriftHive_execute_pargs::~ThriftHive_execute_pargs() throw() { uint32_t ThriftHive_execute_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHive_execute_pargs"); xfer += oprot->writeFieldBegin("query", ::apache::thrift::protocol::T_STRING, 1); @@ -84,7 +84,6 @@ uint32_t ThriftHive_execute_pargs::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -95,6 +94,7 @@ ThriftHive_execute_result::~ThriftHive_execute_result() throw() { uint32_t ThriftHive_execute_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; @@ -156,6 +156,7 @@ ThriftHive_execute_presult::~ThriftHive_execute_presult() throw() { uint32_t ThriftHive_execute_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; @@ -201,6 +202,7 @@ ThriftHive_fetchOne_args::~ThriftHive_fetchOne_args() throw() { uint32_t ThriftHive_fetchOne_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; @@ -228,12 +230,11 @@ uint32_t ThriftHive_fetchOne_args::read(::apache::thrift::protocol::TProtocol* i uint32_t ThriftHive_fetchOne_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHive_fetchOne_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -244,12 +245,11 @@ ThriftHive_fetchOne_pargs::~ThriftHive_fetchOne_pargs() throw() { uint32_t ThriftHive_fetchOne_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHive_fetchOne_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -260,6 +260,7 @@ ThriftHive_fetchOne_result::~ThriftHive_fetchOne_result() throw() { uint32_t ThriftHive_fetchOne_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; @@ -333,6 +334,7 @@ ThriftHive_fetchOne_presult::~ThriftHive_fetchOne_presult() throw() { uint32_t ThriftHive_fetchOne_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; @@ -386,6 +388,7 @@ ThriftHive_fetchN_args::~ThriftHive_fetchN_args() throw() { uint32_t ThriftHive_fetchN_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; @@ -426,7 +429,7 @@ uint32_t ThriftHive_fetchN_args::read(::apache::thrift::protocol::TProtocol* ipr uint32_t ThriftHive_fetchN_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHive_fetchN_args"); xfer += oprot->writeFieldBegin("numRows", ::apache::thrift::protocol::T_I32, 1); @@ -435,7 +438,6 @@ uint32_t ThriftHive_fetchN_args::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -446,7 +448,7 @@ ThriftHive_fetchN_pargs::~ThriftHive_fetchN_pargs() throw() { uint32_t ThriftHive_fetchN_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHive_fetchN_pargs"); xfer += oprot->writeFieldBegin("numRows", ::apache::thrift::protocol::T_I32, 1); @@ -455,7 +457,6 @@ uint32_t ThriftHive_fetchN_pargs::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -466,6 +467,7 @@ ThriftHive_fetchN_result::~ThriftHive_fetchN_result() throw() { uint32_t ThriftHive_fetchN_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; @@ -559,6 +561,7 @@ ThriftHive_fetchN_presult::~ThriftHive_fetchN_presult() throw() { uint32_t ThriftHive_fetchN_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; @@ -624,6 +627,7 @@ ThriftHive_fetchAll_args::~ThriftHive_fetchAll_args() throw() { uint32_t ThriftHive_fetchAll_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; @@ -651,12 +655,11 @@ uint32_t ThriftHive_fetchAll_args::read(::apache::thrift::protocol::TProtocol* i uint32_t ThriftHive_fetchAll_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHive_fetchAll_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -667,12 +670,11 @@ ThriftHive_fetchAll_pargs::~ThriftHive_fetchAll_pargs() throw() { uint32_t ThriftHive_fetchAll_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHive_fetchAll_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -683,6 +685,7 @@ ThriftHive_fetchAll_result::~ThriftHive_fetchAll_result() throw() { uint32_t ThriftHive_fetchAll_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; @@ -776,6 +779,7 @@ ThriftHive_fetchAll_presult::~ThriftHive_fetchAll_presult() throw() { uint32_t ThriftHive_fetchAll_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; @@ -841,6 +845,7 @@ ThriftHive_getSchema_args::~ThriftHive_getSchema_args() throw() { uint32_t ThriftHive_getSchema_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; @@ -868,12 +873,11 @@ uint32_t ThriftHive_getSchema_args::read(::apache::thrift::protocol::TProtocol* uint32_t ThriftHive_getSchema_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHive_getSchema_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -884,12 +888,11 @@ ThriftHive_getSchema_pargs::~ThriftHive_getSchema_pargs() throw() { uint32_t ThriftHive_getSchema_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHive_getSchema_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -900,6 +903,7 @@ ThriftHive_getSchema_result::~ThriftHive_getSchema_result() throw() { uint32_t ThriftHive_getSchema_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; @@ -973,6 +977,7 @@ ThriftHive_getSchema_presult::~ThriftHive_getSchema_presult() throw() { uint32_t ThriftHive_getSchema_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; @@ -1026,6 +1031,7 @@ ThriftHive_getThriftSchema_args::~ThriftHive_getThriftSchema_args() throw() { uint32_t ThriftHive_getThriftSchema_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; @@ -1053,12 +1059,11 @@ uint32_t ThriftHive_getThriftSchema_args::read(::apache::thrift::protocol::TProt uint32_t ThriftHive_getThriftSchema_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHive_getThriftSchema_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1069,12 +1074,11 @@ ThriftHive_getThriftSchema_pargs::~ThriftHive_getThriftSchema_pargs() throw() { uint32_t ThriftHive_getThriftSchema_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHive_getThriftSchema_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1085,6 +1089,7 @@ ThriftHive_getThriftSchema_result::~ThriftHive_getThriftSchema_result() throw() uint32_t ThriftHive_getThriftSchema_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; @@ -1158,6 +1163,7 @@ ThriftHive_getThriftSchema_presult::~ThriftHive_getThriftSchema_presult() throw( uint32_t ThriftHive_getThriftSchema_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; @@ -1211,6 +1217,7 @@ ThriftHive_getClusterStatus_args::~ThriftHive_getClusterStatus_args() throw() { uint32_t ThriftHive_getClusterStatus_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; @@ -1238,12 +1245,11 @@ uint32_t ThriftHive_getClusterStatus_args::read(::apache::thrift::protocol::TPro uint32_t ThriftHive_getClusterStatus_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHive_getClusterStatus_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1254,12 +1260,11 @@ ThriftHive_getClusterStatus_pargs::~ThriftHive_getClusterStatus_pargs() throw() uint32_t ThriftHive_getClusterStatus_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHive_getClusterStatus_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1270,6 +1275,7 @@ ThriftHive_getClusterStatus_result::~ThriftHive_getClusterStatus_result() throw( uint32_t ThriftHive_getClusterStatus_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; @@ -1343,6 +1349,7 @@ ThriftHive_getClusterStatus_presult::~ThriftHive_getClusterStatus_presult() thro uint32_t ThriftHive_getClusterStatus_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; @@ -1396,6 +1403,7 @@ ThriftHive_getQueryPlan_args::~ThriftHive_getQueryPlan_args() throw() { uint32_t ThriftHive_getQueryPlan_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; @@ -1423,12 +1431,11 @@ uint32_t ThriftHive_getQueryPlan_args::read(::apache::thrift::protocol::TProtoco uint32_t ThriftHive_getQueryPlan_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHive_getQueryPlan_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1439,12 +1446,11 @@ ThriftHive_getQueryPlan_pargs::~ThriftHive_getQueryPlan_pargs() throw() { uint32_t ThriftHive_getQueryPlan_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHive_getQueryPlan_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1455,6 +1461,7 @@ ThriftHive_getQueryPlan_result::~ThriftHive_getQueryPlan_result() throw() { uint32_t ThriftHive_getQueryPlan_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; @@ -1528,6 +1535,7 @@ ThriftHive_getQueryPlan_presult::~ThriftHive_getQueryPlan_presult() throw() { uint32_t ThriftHive_getQueryPlan_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; @@ -1581,6 +1589,7 @@ ThriftHive_clean_args::~ThriftHive_clean_args() throw() { uint32_t ThriftHive_clean_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; @@ -1608,12 +1617,11 @@ uint32_t ThriftHive_clean_args::read(::apache::thrift::protocol::TProtocol* ipro uint32_t ThriftHive_clean_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHive_clean_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1624,12 +1632,11 @@ ThriftHive_clean_pargs::~ThriftHive_clean_pargs() throw() { uint32_t ThriftHive_clean_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("ThriftHive_clean_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -1640,6 +1647,7 @@ ThriftHive_clean_result::~ThriftHive_clean_result() throw() { uint32_t ThriftHive_clean_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; @@ -1683,6 +1691,7 @@ ThriftHive_clean_presult::~ThriftHive_clean_presult() throw() { uint32_t ThriftHive_clean_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; @@ -2761,5 +2770,775 @@ void ThriftHiveProcessor::process_clean(int32_t seqid, ::apache::thrift::protoco ::boost::shared_ptr< ::apache::thrift::TProcessor > processor(new ThriftHiveProcessor(handler)); return processor; } + +void ThriftHiveConcurrentClient::execute(const std::string& query) +{ + int32_t seqid = send_execute(query); + recv_execute(seqid); +} + +int32_t ThriftHiveConcurrentClient::send_execute(const std::string& query) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("execute", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHive_execute_pargs args; + args.query = &query; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveConcurrentClient::recv_execute(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("execute") != 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); + } + ThriftHive_execute_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.ex) { + sentry.commit(); + throw result.ex; + } + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveConcurrentClient::fetchOne(std::string& _return) +{ + int32_t seqid = send_fetchOne(); + recv_fetchOne(_return, seqid); +} + +int32_t ThriftHiveConcurrentClient::send_fetchOne() +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("fetchOne", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHive_fetchOne_pargs args; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveConcurrentClient::recv_fetchOne(std::string& _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("fetchOne") != 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); + } + ThriftHive_fetchOne_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.ex) { + sentry.commit(); + throw result.ex; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "fetchOne 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 ThriftHiveConcurrentClient::fetchN(std::vector & _return, const int32_t numRows) +{ + int32_t seqid = send_fetchN(numRows); + recv_fetchN(_return, seqid); +} + +int32_t ThriftHiveConcurrentClient::send_fetchN(const int32_t numRows) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("fetchN", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHive_fetchN_pargs args; + args.numRows = &numRows; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveConcurrentClient::recv_fetchN(std::vector & _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("fetchN") != 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); + } + ThriftHive_fetchN_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.ex) { + sentry.commit(); + throw result.ex; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "fetchN 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 ThriftHiveConcurrentClient::fetchAll(std::vector & _return) +{ + int32_t seqid = send_fetchAll(); + recv_fetchAll(_return, seqid); +} + +int32_t ThriftHiveConcurrentClient::send_fetchAll() +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("fetchAll", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHive_fetchAll_pargs args; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveConcurrentClient::recv_fetchAll(std::vector & _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("fetchAll") != 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); + } + ThriftHive_fetchAll_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.ex) { + sentry.commit(); + throw result.ex; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "fetchAll 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 ThriftHiveConcurrentClient::getSchema( ::Apache::Hadoop::Hive::Schema& _return) +{ + int32_t seqid = send_getSchema(); + recv_getSchema(_return, seqid); +} + +int32_t ThriftHiveConcurrentClient::send_getSchema() +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("getSchema", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHive_getSchema_pargs args; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveConcurrentClient::recv_getSchema( ::Apache::Hadoop::Hive::Schema& _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("getSchema") != 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); + } + ThriftHive_getSchema_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.ex) { + sentry.commit(); + throw result.ex; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "getSchema 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 ThriftHiveConcurrentClient::getThriftSchema( ::Apache::Hadoop::Hive::Schema& _return) +{ + int32_t seqid = send_getThriftSchema(); + recv_getThriftSchema(_return, seqid); +} + +int32_t ThriftHiveConcurrentClient::send_getThriftSchema() +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("getThriftSchema", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHive_getThriftSchema_pargs args; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveConcurrentClient::recv_getThriftSchema( ::Apache::Hadoop::Hive::Schema& _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("getThriftSchema") != 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); + } + ThriftHive_getThriftSchema_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.ex) { + sentry.commit(); + throw result.ex; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "getThriftSchema 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 ThriftHiveConcurrentClient::getClusterStatus(HiveClusterStatus& _return) +{ + int32_t seqid = send_getClusterStatus(); + recv_getClusterStatus(_return, seqid); +} + +int32_t ThriftHiveConcurrentClient::send_getClusterStatus() +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("getClusterStatus", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHive_getClusterStatus_pargs args; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveConcurrentClient::recv_getClusterStatus(HiveClusterStatus& _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("getClusterStatus") != 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); + } + ThriftHive_getClusterStatus_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.ex) { + sentry.commit(); + throw result.ex; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "getClusterStatus 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 ThriftHiveConcurrentClient::getQueryPlan( ::Apache::Hadoop::Hive::QueryPlan& _return) +{ + int32_t seqid = send_getQueryPlan(); + recv_getQueryPlan(_return, seqid); +} + +int32_t ThriftHiveConcurrentClient::send_getQueryPlan() +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("getQueryPlan", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHive_getQueryPlan_pargs args; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveConcurrentClient::recv_getQueryPlan( ::Apache::Hadoop::Hive::QueryPlan& _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("getQueryPlan") != 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); + } + ThriftHive_getQueryPlan_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.ex) { + sentry.commit(); + throw result.ex; + } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "getQueryPlan 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 ThriftHiveConcurrentClient::clean() +{ + int32_t seqid = send_clean(); + recv_clean(seqid); +} + +int32_t ThriftHiveConcurrentClient::send_clean() +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("clean", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHive_clean_pargs args; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveConcurrentClient::recv_clean(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("clean") != 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); + } + ThriftHive_clean_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + sentry.commit(); + return; + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + }}} // namespace diff --git service/src/gen/thrift/gen-cpp/ThriftHive.h service/src/gen/thrift/gen-cpp/ThriftHive.h index e610e50..902bd4b 100644 --- service/src/gen/thrift/gen-cpp/ThriftHive.h +++ service/src/gen/thrift/gen-cpp/ThriftHive.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -8,11 +8,17 @@ #define ThriftHive_H #include +#include #include "hive_service_types.h" #include "ThriftHiveMetastore.h" namespace Apache { namespace Hadoop { namespace Hive { +#ifdef _WIN32 + #pragma warning( push ) + #pragma warning (disable : 4250 ) //inheriting methods via dominance +#endif + class ThriftHiveIf : virtual public ::Apache::Hadoop::Hive::ThriftHiveMetastoreIf { public: virtual ~ThriftHiveIf() {} @@ -91,9 +97,6 @@ typedef struct _ThriftHive_execute_args__isset { class ThriftHive_execute_args { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - ThriftHive_execute_args(const ThriftHive_execute_args&); ThriftHive_execute_args& operator=(const ThriftHive_execute_args&); ThriftHive_execute_args() : query() { @@ -121,23 +124,18 @@ class ThriftHive_execute_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_execute_args& obj); }; class ThriftHive_execute_pargs { public: - static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1"; - static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; - virtual ~ThriftHive_execute_pargs() throw(); const std::string* query; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_execute_pargs& obj); }; typedef struct _ThriftHive_execute_result__isset { @@ -148,9 +146,6 @@ typedef struct _ThriftHive_execute_result__isset { class ThriftHive_execute_result { public: - static const char* ascii_fingerprint; // = "6AC6FD61CA5E3524E0174B0B96D6F9C0"; - static const uint8_t binary_fingerprint[16]; // = {0x6A,0xC6,0xFD,0x61,0xCA,0x5E,0x35,0x24,0xE0,0x17,0x4B,0x0B,0x96,0xD6,0xF9,0xC0}; - ThriftHive_execute_result(const ThriftHive_execute_result&); ThriftHive_execute_result& operator=(const ThriftHive_execute_result&); ThriftHive_execute_result() { @@ -178,7 +173,6 @@ class ThriftHive_execute_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_execute_result& obj); }; typedef struct _ThriftHive_execute_presult__isset { @@ -189,9 +183,6 @@ typedef struct _ThriftHive_execute_presult__isset { class ThriftHive_execute_presult { public: - static const char* ascii_fingerprint; // = "6AC6FD61CA5E3524E0174B0B96D6F9C0"; - static const uint8_t binary_fingerprint[16]; // = {0x6A,0xC6,0xFD,0x61,0xCA,0x5E,0x35,0x24,0xE0,0x17,0x4B,0x0B,0x96,0xD6,0xF9,0xC0}; - virtual ~ThriftHive_execute_presult() throw(); HiveServerException ex; @@ -200,16 +191,12 @@ class ThriftHive_execute_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_execute_presult& obj); }; class ThriftHive_fetchOne_args { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - ThriftHive_fetchOne_args(const ThriftHive_fetchOne_args&); ThriftHive_fetchOne_args& operator=(const ThriftHive_fetchOne_args&); ThriftHive_fetchOne_args() { @@ -230,22 +217,17 @@ class ThriftHive_fetchOne_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchOne_args& obj); }; class ThriftHive_fetchOne_pargs { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHive_fetchOne_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchOne_pargs& obj); }; typedef struct _ThriftHive_fetchOne_result__isset { @@ -257,9 +239,6 @@ typedef struct _ThriftHive_fetchOne_result__isset { class ThriftHive_fetchOne_result { public: - static const char* ascii_fingerprint; // = "BD5C3537D3AE5C0248BD3B45C053AE32"; - static const uint8_t binary_fingerprint[16]; // = {0xBD,0x5C,0x35,0x37,0xD3,0xAE,0x5C,0x02,0x48,0xBD,0x3B,0x45,0xC0,0x53,0xAE,0x32}; - ThriftHive_fetchOne_result(const ThriftHive_fetchOne_result&); ThriftHive_fetchOne_result& operator=(const ThriftHive_fetchOne_result&); ThriftHive_fetchOne_result() : success() { @@ -292,7 +271,6 @@ class ThriftHive_fetchOne_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchOne_result& obj); }; typedef struct _ThriftHive_fetchOne_presult__isset { @@ -304,9 +282,6 @@ typedef struct _ThriftHive_fetchOne_presult__isset { class ThriftHive_fetchOne_presult { public: - static const char* ascii_fingerprint; // = "BD5C3537D3AE5C0248BD3B45C053AE32"; - static const uint8_t binary_fingerprint[16]; // = {0xBD,0x5C,0x35,0x37,0xD3,0xAE,0x5C,0x02,0x48,0xBD,0x3B,0x45,0xC0,0x53,0xAE,0x32}; - virtual ~ThriftHive_fetchOne_presult() throw(); std::string* success; @@ -316,7 +291,6 @@ class ThriftHive_fetchOne_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchOne_presult& obj); }; typedef struct _ThriftHive_fetchN_args__isset { @@ -327,9 +301,6 @@ typedef struct _ThriftHive_fetchN_args__isset { class ThriftHive_fetchN_args { public: - static const char* ascii_fingerprint; // = "E86CACEB22240450EDCBEFC3A83970E4"; - static const uint8_t binary_fingerprint[16]; // = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4}; - ThriftHive_fetchN_args(const ThriftHive_fetchN_args&); ThriftHive_fetchN_args& operator=(const ThriftHive_fetchN_args&); ThriftHive_fetchN_args() : numRows(0) { @@ -357,23 +328,18 @@ class ThriftHive_fetchN_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchN_args& obj); }; class ThriftHive_fetchN_pargs { public: - static const char* ascii_fingerprint; // = "E86CACEB22240450EDCBEFC3A83970E4"; - static const uint8_t binary_fingerprint[16]; // = {0xE8,0x6C,0xAC,0xEB,0x22,0x24,0x04,0x50,0xED,0xCB,0xEF,0xC3,0xA8,0x39,0x70,0xE4}; - virtual ~ThriftHive_fetchN_pargs() throw(); const int32_t* numRows; uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchN_pargs& obj); }; typedef struct _ThriftHive_fetchN_result__isset { @@ -385,9 +351,6 @@ typedef struct _ThriftHive_fetchN_result__isset { class ThriftHive_fetchN_result { public: - static const char* ascii_fingerprint; // = "EB142A6BE66D8EE6065D07106EABD55D"; - static const uint8_t binary_fingerprint[16]; // = {0xEB,0x14,0x2A,0x6B,0xE6,0x6D,0x8E,0xE6,0x06,0x5D,0x07,0x10,0x6E,0xAB,0xD5,0x5D}; - ThriftHive_fetchN_result(const ThriftHive_fetchN_result&); ThriftHive_fetchN_result& operator=(const ThriftHive_fetchN_result&); ThriftHive_fetchN_result() { @@ -420,7 +383,6 @@ class ThriftHive_fetchN_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchN_result& obj); }; typedef struct _ThriftHive_fetchN_presult__isset { @@ -432,9 +394,6 @@ typedef struct _ThriftHive_fetchN_presult__isset { class ThriftHive_fetchN_presult { public: - static const char* ascii_fingerprint; // = "EB142A6BE66D8EE6065D07106EABD55D"; - static const uint8_t binary_fingerprint[16]; // = {0xEB,0x14,0x2A,0x6B,0xE6,0x6D,0x8E,0xE6,0x06,0x5D,0x07,0x10,0x6E,0xAB,0xD5,0x5D}; - virtual ~ThriftHive_fetchN_presult() throw(); std::vector * success; @@ -444,16 +403,12 @@ class ThriftHive_fetchN_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchN_presult& obj); }; class ThriftHive_fetchAll_args { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - ThriftHive_fetchAll_args(const ThriftHive_fetchAll_args&); ThriftHive_fetchAll_args& operator=(const ThriftHive_fetchAll_args&); ThriftHive_fetchAll_args() { @@ -474,22 +429,17 @@ class ThriftHive_fetchAll_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchAll_args& obj); }; class ThriftHive_fetchAll_pargs { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHive_fetchAll_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchAll_pargs& obj); }; typedef struct _ThriftHive_fetchAll_result__isset { @@ -501,9 +451,6 @@ typedef struct _ThriftHive_fetchAll_result__isset { class ThriftHive_fetchAll_result { public: - static const char* ascii_fingerprint; // = "EB142A6BE66D8EE6065D07106EABD55D"; - static const uint8_t binary_fingerprint[16]; // = {0xEB,0x14,0x2A,0x6B,0xE6,0x6D,0x8E,0xE6,0x06,0x5D,0x07,0x10,0x6E,0xAB,0xD5,0x5D}; - ThriftHive_fetchAll_result(const ThriftHive_fetchAll_result&); ThriftHive_fetchAll_result& operator=(const ThriftHive_fetchAll_result&); ThriftHive_fetchAll_result() { @@ -536,7 +483,6 @@ class ThriftHive_fetchAll_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchAll_result& obj); }; typedef struct _ThriftHive_fetchAll_presult__isset { @@ -548,9 +494,6 @@ typedef struct _ThriftHive_fetchAll_presult__isset { class ThriftHive_fetchAll_presult { public: - static const char* ascii_fingerprint; // = "EB142A6BE66D8EE6065D07106EABD55D"; - static const uint8_t binary_fingerprint[16]; // = {0xEB,0x14,0x2A,0x6B,0xE6,0x6D,0x8E,0xE6,0x06,0x5D,0x07,0x10,0x6E,0xAB,0xD5,0x5D}; - virtual ~ThriftHive_fetchAll_presult() throw(); std::vector * success; @@ -560,16 +503,12 @@ class ThriftHive_fetchAll_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_fetchAll_presult& obj); }; class ThriftHive_getSchema_args { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - ThriftHive_getSchema_args(const ThriftHive_getSchema_args&); ThriftHive_getSchema_args& operator=(const ThriftHive_getSchema_args&); ThriftHive_getSchema_args() { @@ -590,22 +529,17 @@ class ThriftHive_getSchema_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getSchema_args& obj); }; class ThriftHive_getSchema_pargs { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHive_getSchema_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getSchema_pargs& obj); }; typedef struct _ThriftHive_getSchema_result__isset { @@ -617,9 +551,6 @@ typedef struct _ThriftHive_getSchema_result__isset { class ThriftHive_getSchema_result { public: - static const char* ascii_fingerprint; // = "FCFAE75CC7093F1A3926C2AD58A6FFD1"; - static const uint8_t binary_fingerprint[16]; // = {0xFC,0xFA,0xE7,0x5C,0xC7,0x09,0x3F,0x1A,0x39,0x26,0xC2,0xAD,0x58,0xA6,0xFF,0xD1}; - ThriftHive_getSchema_result(const ThriftHive_getSchema_result&); ThriftHive_getSchema_result& operator=(const ThriftHive_getSchema_result&); ThriftHive_getSchema_result() { @@ -652,7 +583,6 @@ class ThriftHive_getSchema_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getSchema_result& obj); }; typedef struct _ThriftHive_getSchema_presult__isset { @@ -664,9 +594,6 @@ typedef struct _ThriftHive_getSchema_presult__isset { class ThriftHive_getSchema_presult { public: - static const char* ascii_fingerprint; // = "FCFAE75CC7093F1A3926C2AD58A6FFD1"; - static const uint8_t binary_fingerprint[16]; // = {0xFC,0xFA,0xE7,0x5C,0xC7,0x09,0x3F,0x1A,0x39,0x26,0xC2,0xAD,0x58,0xA6,0xFF,0xD1}; - virtual ~ThriftHive_getSchema_presult() throw(); ::Apache::Hadoop::Hive::Schema* success; @@ -676,16 +603,12 @@ class ThriftHive_getSchema_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getSchema_presult& obj); }; class ThriftHive_getThriftSchema_args { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - ThriftHive_getThriftSchema_args(const ThriftHive_getThriftSchema_args&); ThriftHive_getThriftSchema_args& operator=(const ThriftHive_getThriftSchema_args&); ThriftHive_getThriftSchema_args() { @@ -706,22 +629,17 @@ class ThriftHive_getThriftSchema_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getThriftSchema_args& obj); }; class ThriftHive_getThriftSchema_pargs { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHive_getThriftSchema_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getThriftSchema_pargs& obj); }; typedef struct _ThriftHive_getThriftSchema_result__isset { @@ -733,9 +651,6 @@ typedef struct _ThriftHive_getThriftSchema_result__isset { class ThriftHive_getThriftSchema_result { public: - static const char* ascii_fingerprint; // = "FCFAE75CC7093F1A3926C2AD58A6FFD1"; - static const uint8_t binary_fingerprint[16]; // = {0xFC,0xFA,0xE7,0x5C,0xC7,0x09,0x3F,0x1A,0x39,0x26,0xC2,0xAD,0x58,0xA6,0xFF,0xD1}; - ThriftHive_getThriftSchema_result(const ThriftHive_getThriftSchema_result&); ThriftHive_getThriftSchema_result& operator=(const ThriftHive_getThriftSchema_result&); ThriftHive_getThriftSchema_result() { @@ -768,7 +683,6 @@ class ThriftHive_getThriftSchema_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getThriftSchema_result& obj); }; typedef struct _ThriftHive_getThriftSchema_presult__isset { @@ -780,9 +694,6 @@ typedef struct _ThriftHive_getThriftSchema_presult__isset { class ThriftHive_getThriftSchema_presult { public: - static const char* ascii_fingerprint; // = "FCFAE75CC7093F1A3926C2AD58A6FFD1"; - static const uint8_t binary_fingerprint[16]; // = {0xFC,0xFA,0xE7,0x5C,0xC7,0x09,0x3F,0x1A,0x39,0x26,0xC2,0xAD,0x58,0xA6,0xFF,0xD1}; - virtual ~ThriftHive_getThriftSchema_presult() throw(); ::Apache::Hadoop::Hive::Schema* success; @@ -792,16 +703,12 @@ class ThriftHive_getThriftSchema_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getThriftSchema_presult& obj); }; class ThriftHive_getClusterStatus_args { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - ThriftHive_getClusterStatus_args(const ThriftHive_getClusterStatus_args&); ThriftHive_getClusterStatus_args& operator=(const ThriftHive_getClusterStatus_args&); ThriftHive_getClusterStatus_args() { @@ -822,22 +729,17 @@ class ThriftHive_getClusterStatus_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getClusterStatus_args& obj); }; class ThriftHive_getClusterStatus_pargs { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHive_getClusterStatus_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getClusterStatus_pargs& obj); }; typedef struct _ThriftHive_getClusterStatus_result__isset { @@ -849,9 +751,6 @@ typedef struct _ThriftHive_getClusterStatus_result__isset { class ThriftHive_getClusterStatus_result { public: - static const char* ascii_fingerprint; // = "F486E00F8F0F2B6A17A0371997BB7B87"; - static const uint8_t binary_fingerprint[16]; // = {0xF4,0x86,0xE0,0x0F,0x8F,0x0F,0x2B,0x6A,0x17,0xA0,0x37,0x19,0x97,0xBB,0x7B,0x87}; - ThriftHive_getClusterStatus_result(const ThriftHive_getClusterStatus_result&); ThriftHive_getClusterStatus_result& operator=(const ThriftHive_getClusterStatus_result&); ThriftHive_getClusterStatus_result() { @@ -884,7 +783,6 @@ class ThriftHive_getClusterStatus_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getClusterStatus_result& obj); }; typedef struct _ThriftHive_getClusterStatus_presult__isset { @@ -896,9 +794,6 @@ typedef struct _ThriftHive_getClusterStatus_presult__isset { class ThriftHive_getClusterStatus_presult { public: - static const char* ascii_fingerprint; // = "F486E00F8F0F2B6A17A0371997BB7B87"; - static const uint8_t binary_fingerprint[16]; // = {0xF4,0x86,0xE0,0x0F,0x8F,0x0F,0x2B,0x6A,0x17,0xA0,0x37,0x19,0x97,0xBB,0x7B,0x87}; - virtual ~ThriftHive_getClusterStatus_presult() throw(); HiveClusterStatus* success; @@ -908,16 +803,12 @@ class ThriftHive_getClusterStatus_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getClusterStatus_presult& obj); }; class ThriftHive_getQueryPlan_args { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - ThriftHive_getQueryPlan_args(const ThriftHive_getQueryPlan_args&); ThriftHive_getQueryPlan_args& operator=(const ThriftHive_getQueryPlan_args&); ThriftHive_getQueryPlan_args() { @@ -938,22 +829,17 @@ class ThriftHive_getQueryPlan_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getQueryPlan_args& obj); }; class ThriftHive_getQueryPlan_pargs { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHive_getQueryPlan_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getQueryPlan_pargs& obj); }; typedef struct _ThriftHive_getQueryPlan_result__isset { @@ -965,9 +851,6 @@ typedef struct _ThriftHive_getQueryPlan_result__isset { class ThriftHive_getQueryPlan_result { public: - static const char* ascii_fingerprint; // = "0263544CFF7194CEE7DC6128DD5941ED"; - static const uint8_t binary_fingerprint[16]; // = {0x02,0x63,0x54,0x4C,0xFF,0x71,0x94,0xCE,0xE7,0xDC,0x61,0x28,0xDD,0x59,0x41,0xED}; - ThriftHive_getQueryPlan_result(const ThriftHive_getQueryPlan_result&); ThriftHive_getQueryPlan_result& operator=(const ThriftHive_getQueryPlan_result&); ThriftHive_getQueryPlan_result() { @@ -1000,7 +883,6 @@ class ThriftHive_getQueryPlan_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getQueryPlan_result& obj); }; typedef struct _ThriftHive_getQueryPlan_presult__isset { @@ -1012,9 +894,6 @@ typedef struct _ThriftHive_getQueryPlan_presult__isset { class ThriftHive_getQueryPlan_presult { public: - static const char* ascii_fingerprint; // = "0263544CFF7194CEE7DC6128DD5941ED"; - static const uint8_t binary_fingerprint[16]; // = {0x02,0x63,0x54,0x4C,0xFF,0x71,0x94,0xCE,0xE7,0xDC,0x61,0x28,0xDD,0x59,0x41,0xED}; - virtual ~ThriftHive_getQueryPlan_presult() throw(); ::Apache::Hadoop::Hive::QueryPlan* success; @@ -1024,16 +903,12 @@ class ThriftHive_getQueryPlan_presult { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_getQueryPlan_presult& obj); }; class ThriftHive_clean_args { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - ThriftHive_clean_args(const ThriftHive_clean_args&); ThriftHive_clean_args& operator=(const ThriftHive_clean_args&); ThriftHive_clean_args() { @@ -1054,31 +929,23 @@ class ThriftHive_clean_args { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_clean_args& obj); }; class ThriftHive_clean_pargs { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHive_clean_pargs() throw(); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_clean_pargs& obj); }; class ThriftHive_clean_result { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - ThriftHive_clean_result(const ThriftHive_clean_result&); ThriftHive_clean_result& operator=(const ThriftHive_clean_result&); ThriftHive_clean_result() { @@ -1099,22 +966,17 @@ class ThriftHive_clean_result { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_clean_result& obj); }; class ThriftHive_clean_presult { public: - static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; - static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; - virtual ~ThriftHive_clean_presult() throw(); uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - friend std::ostream& operator<<(std::ostream& out, const ThriftHive_clean_presult& obj); }; class ThriftHiveClient : virtual public ThriftHiveIf, public ::Apache::Hadoop::Hive::ThriftHiveMetastoreClient { @@ -1310,6 +1172,53 @@ class ThriftHiveMultiface : virtual public ThriftHiveIf, public ::Apache::Hadoo }; +// The 'concurrent' client is a thread safe client that correctly handles +// out of order responses. It is slower than the regular client, so should +// only be used when you need to share a connection among multiple threads +class ThriftHiveConcurrentClient : virtual public ThriftHiveIf, public ::Apache::Hadoop::Hive::ThriftHiveMetastoreConcurrentClient { + public: + ThriftHiveConcurrentClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> prot) : + ::Apache::Hadoop::Hive::ThriftHiveMetastoreConcurrentClient(prot, prot) {} + ThriftHiveConcurrentClient(boost::shared_ptr< ::apache::thrift::protocol::TProtocol> iprot, boost::shared_ptr< ::apache::thrift::protocol::TProtocol> oprot) : ::Apache::Hadoop::Hive::ThriftHiveMetastoreConcurrentClient(iprot, oprot) {} + boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getInputProtocol() { + return piprot_; + } + boost::shared_ptr< ::apache::thrift::protocol::TProtocol> getOutputProtocol() { + return poprot_; + } + void execute(const std::string& query); + int32_t send_execute(const std::string& query); + void recv_execute(const int32_t seqid); + void fetchOne(std::string& _return); + int32_t send_fetchOne(); + void recv_fetchOne(std::string& _return, const int32_t seqid); + void fetchN(std::vector & _return, const int32_t numRows); + int32_t send_fetchN(const int32_t numRows); + void recv_fetchN(std::vector & _return, const int32_t seqid); + void fetchAll(std::vector & _return); + int32_t send_fetchAll(); + void recv_fetchAll(std::vector & _return, const int32_t seqid); + void getSchema( ::Apache::Hadoop::Hive::Schema& _return); + int32_t send_getSchema(); + void recv_getSchema( ::Apache::Hadoop::Hive::Schema& _return, const int32_t seqid); + void getThriftSchema( ::Apache::Hadoop::Hive::Schema& _return); + int32_t send_getThriftSchema(); + void recv_getThriftSchema( ::Apache::Hadoop::Hive::Schema& _return, const int32_t seqid); + void getClusterStatus(HiveClusterStatus& _return); + int32_t send_getClusterStatus(); + void recv_getClusterStatus(HiveClusterStatus& _return, const int32_t seqid); + void getQueryPlan( ::Apache::Hadoop::Hive::QueryPlan& _return); + int32_t send_getQueryPlan(); + void recv_getQueryPlan( ::Apache::Hadoop::Hive::QueryPlan& _return, const int32_t seqid); + void clean(); + int32_t send_clean(); + void recv_clean(const int32_t seqid); +}; + +#ifdef _WIN32 + #pragma warning( pop ) +#endif + }}} // namespace #endif diff --git service/src/gen/thrift/gen-cpp/hive_service_constants.cpp service/src/gen/thrift/gen-cpp/hive_service_constants.cpp index c3c8482..e2bbe71 100644 --- service/src/gen/thrift/gen-cpp/hive_service_constants.cpp +++ service/src/gen/thrift/gen-cpp/hive_service_constants.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git service/src/gen/thrift/gen-cpp/hive_service_constants.h service/src/gen/thrift/gen-cpp/hive_service_constants.h index 5878dbe..e0887f4 100644 --- service/src/gen/thrift/gen-cpp/hive_service_constants.h +++ service/src/gen/thrift/gen-cpp/hive_service_constants.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git service/src/gen/thrift/gen-cpp/hive_service_types.cpp service/src/gen/thrift/gen-cpp/hive_service_types.cpp index 4d6cf01..9ddf7c1 100644 --- service/src/gen/thrift/gen-cpp/hive_service_types.cpp +++ service/src/gen/thrift/gen-cpp/hive_service_types.cpp @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -52,11 +52,9 @@ void HiveClusterStatus::__set_state(const JobTrackerState::type val) { this->state = val; } -const char* HiveClusterStatus::ascii_fingerprint = "D514EDCFFC86F64A2E924DCD16D4FAD8"; -const uint8_t HiveClusterStatus::binary_fingerprint[16] = {0xD5,0x14,0xED,0xCF,0xFC,0x86,0xF6,0x4A,0x2E,0x92,0x4D,0xCD,0x16,0xD4,0xFA,0xD8}; - uint32_t HiveClusterStatus::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -139,7 +137,7 @@ uint32_t HiveClusterStatus::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t HiveClusterStatus::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("HiveClusterStatus"); xfer += oprot->writeFieldBegin("taskTrackers", ::apache::thrift::protocol::T_I32, 1); @@ -168,7 +166,6 @@ uint32_t HiveClusterStatus::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -202,17 +199,16 @@ HiveClusterStatus& HiveClusterStatus::operator=(const HiveClusterStatus& other2) __isset = other2.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const HiveClusterStatus& obj) { - using apache::thrift::to_string; +void HiveClusterStatus::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "HiveClusterStatus("; - out << "taskTrackers=" << to_string(obj.taskTrackers); - out << ", " << "mapTasks=" << to_string(obj.mapTasks); - out << ", " << "reduceTasks=" << to_string(obj.reduceTasks); - out << ", " << "maxMapTasks=" << to_string(obj.maxMapTasks); - out << ", " << "maxReduceTasks=" << to_string(obj.maxReduceTasks); - out << ", " << "state=" << to_string(obj.state); + out << "taskTrackers=" << to_string(taskTrackers); + out << ", " << "mapTasks=" << to_string(mapTasks); + out << ", " << "reduceTasks=" << to_string(reduceTasks); + out << ", " << "maxMapTasks=" << to_string(maxMapTasks); + out << ", " << "maxReduceTasks=" << to_string(maxReduceTasks); + out << ", " << "state=" << to_string(state); out << ")"; - return out; } @@ -232,11 +228,9 @@ void HiveServerException::__set_SQLState(const std::string& val) { this->SQLState = val; } -const char* HiveServerException::ascii_fingerprint = "70563A0628F75DF9555F4D24690B1E26"; -const uint8_t HiveServerException::binary_fingerprint[16] = {0x70,0x56,0x3A,0x06,0x28,0xF7,0x5D,0xF9,0x55,0x5F,0x4D,0x24,0x69,0x0B,0x1E,0x26}; - uint32_t HiveServerException::read(::apache::thrift::protocol::TProtocol* iprot) { + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; std::string fname; ::apache::thrift::protocol::TType ftype; @@ -293,7 +287,7 @@ uint32_t HiveServerException::read(::apache::thrift::protocol::TProtocol* iprot) uint32_t HiveServerException::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - oprot->incrementRecursionDepth(); + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); xfer += oprot->writeStructBegin("HiveServerException"); xfer += oprot->writeFieldBegin("message", ::apache::thrift::protocol::T_STRING, 1); @@ -310,7 +304,6 @@ uint32_t HiveServerException::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); - oprot->decrementRecursionDepth(); return xfer; } @@ -335,14 +328,24 @@ HiveServerException& HiveServerException::operator=(const HiveServerException& o __isset = other4.__isset; return *this; } -std::ostream& operator<<(std::ostream& out, const HiveServerException& obj) { - using apache::thrift::to_string; +void HiveServerException::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; out << "HiveServerException("; - out << "message=" << to_string(obj.message); - out << ", " << "errorCode=" << to_string(obj.errorCode); - out << ", " << "SQLState=" << to_string(obj.SQLState); + out << "message=" << to_string(message); + out << ", " << "errorCode=" << to_string(errorCode); + out << ", " << "SQLState=" << to_string(SQLState); out << ")"; - return out; +} + +const char* HiveServerException::what() const throw() { + try { + std::stringstream ss; + ss << "TException - service has thrown: " << *this; + this->thriftTExceptionMessageHolder_ = ss.str(); + return this->thriftTExceptionMessageHolder_.c_str(); + } catch (const std::exception&) { + return "TException - service has thrown: HiveServerException"; + } } }}} // namespace diff --git service/src/gen/thrift/gen-cpp/hive_service_types.h service/src/gen/thrift/gen-cpp/hive_service_types.h index 7fea88c..266f8ea 100644 --- service/src/gen/thrift/gen-cpp/hive_service_types.h +++ service/src/gen/thrift/gen-cpp/hive_service_types.h @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -48,9 +48,6 @@ typedef struct _HiveClusterStatus__isset { class HiveClusterStatus { public: - static const char* ascii_fingerprint; // = "D514EDCFFC86F64A2E924DCD16D4FAD8"; - static const uint8_t binary_fingerprint[16]; // = {0xD5,0x14,0xED,0xCF,0xFC,0x86,0xF6,0x4A,0x2E,0x92,0x4D,0xCD,0x16,0xD4,0xFA,0xD8}; - HiveClusterStatus(const HiveClusterStatus&); HiveClusterStatus& operator=(const HiveClusterStatus&); HiveClusterStatus() : taskTrackers(0), mapTasks(0), reduceTasks(0), maxMapTasks(0), maxReduceTasks(0), state((JobTrackerState::type)0) { @@ -103,11 +100,17 @@ class HiveClusterStatus { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const HiveClusterStatus& obj); + virtual void printTo(std::ostream& out) const; }; void swap(HiveClusterStatus &a, HiveClusterStatus &b); +inline std::ostream& operator<<(std::ostream& out, const HiveClusterStatus& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _HiveServerException__isset { _HiveServerException__isset() : message(false), errorCode(false), SQLState(false) {} bool message :1; @@ -118,9 +121,6 @@ typedef struct _HiveServerException__isset { class HiveServerException : public ::apache::thrift::TException { public: - static const char* ascii_fingerprint; // = "70563A0628F75DF9555F4D24690B1E26"; - static const uint8_t binary_fingerprint[16]; // = {0x70,0x56,0x3A,0x06,0x28,0xF7,0x5D,0xF9,0x55,0x5F,0x4D,0x24,0x69,0x0B,0x1E,0x26}; - HiveServerException(const HiveServerException&); HiveServerException& operator=(const HiveServerException&); HiveServerException() : message(), errorCode(0), SQLState() { @@ -158,11 +158,19 @@ class HiveServerException : public ::apache::thrift::TException { uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - friend std::ostream& operator<<(std::ostream& out, const HiveServerException& obj); + virtual void printTo(std::ostream& out) const; + mutable std::string thriftTExceptionMessageHolder_; + const char* what() const throw(); }; void swap(HiveServerException &a, HiveServerException &b); +inline std::ostream& operator<<(std::ostream& out, const HiveServerException& obj) +{ + obj.printTo(out); + return out; +} + }}} // namespace #endif diff --git service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java index d4b6972..e7651e0 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java +++ service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveClusterStatus.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class HiveClusterStatus 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("HiveClusterStatus"); @@ -417,19 +417,19 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case TASK_TRACKERS: - return Integer.valueOf(getTaskTrackers()); + return getTaskTrackers(); case MAP_TASKS: - return Integer.valueOf(getMapTasks()); + return getMapTasks(); case REDUCE_TASKS: - return Integer.valueOf(getReduceTasks()); + return getReduceTasks(); case MAX_MAP_TASKS: - return Integer.valueOf(getMaxMapTasks()); + return getMaxMapTasks(); case MAX_REDUCE_TASKS: - return Integer.valueOf(getMaxReduceTasks()); + return getMaxReduceTasks(); case STATE: return getState(); diff --git service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java index 760c81e..14becd1 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java +++ service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/HiveServerException.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class HiveServerException extends TException 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("HiveServerException"); @@ -276,7 +276,7 @@ public Object getFieldValue(_Fields field) { return getMessage(); case ERROR_CODE: - return Integer.valueOf(getErrorCode()); + return getErrorCode(); case SQLSTATE: return getSQLState(); diff --git service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java index ab48bf7..46c71ee 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java +++ service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/JobTrackerState.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java index df793b1..50daa97 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java +++ service/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class ThriftHive { public interface Iface extends org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.Iface { @@ -2951,7 +2951,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case NUM_ROWS: - return Integer.valueOf(getNumRows()); + return getNumRows(); } throw new IllegalStateException(); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TArrayTypeEntry.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TArrayTypeEntry.java index 5625516..9629501 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TArrayTypeEntry.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TArrayTypeEntry.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TArrayTypeEntry 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("TArrayTypeEntry"); @@ -185,7 +185,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case OBJECT_TYPE_PTR: - return Integer.valueOf(getObjectTypePtr()); + return getObjectTypePtr(); } throw new IllegalStateException(); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBinaryColumn.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBinaryColumn.java index 202399a..338f8fa 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBinaryColumn.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBinaryColumn.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TBinaryColumn 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("TBinaryColumn"); @@ -380,7 +380,7 @@ public String toString() { if (this.values == null) { sb.append("null"); } else { - sb.append(this.values); + org.apache.thrift.TBaseHelper.toString(this.values, sb); } first = false; if (!first) sb.append(", "); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java index 921e9de..ebd211e 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolColumn.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TBoolColumn 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("TBoolColumn"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java index 201c9fb..9f9584f 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TBoolValue.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TBoolValue 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("TBoolValue"); @@ -178,7 +178,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case VALUE: - return Boolean.valueOf(isValue()); + return isValue(); } throw new IllegalStateException(); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java index cd9b6da..460dc10 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteColumn.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TByteColumn 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("TByteColumn"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java index 42b5bd5..b0e6e95 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TByteValue.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TByteValue 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("TByteValue"); @@ -178,7 +178,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case VALUE: - return Byte.valueOf(getValue()); + return getValue(); } throw new IllegalStateException(); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIService.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIService.java index 6bdd53d..0bb45aa 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIService.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIService.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TCLIService { public interface Iface { diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java index 046eb15..3f46013 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java index 1097869..82b330b 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenReq.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TCancelDelegationTokenReq 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("TCancelDelegationTokenReq"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java index 5469108..c84ef97 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelDelegationTokenResp.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TCancelDelegationTokenResp 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("TCancelDelegationTokenResp"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java index 83d191e..ed5d556 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationReq.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TCancelOperationReq 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("TCancelOperationReq"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java index b8d96df..cd6600e 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCancelOperationResp.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TCancelOperationResp 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("TCancelOperationResp"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java index ca68866..15154b6 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationReq.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TCloseOperationReq 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("TCloseOperationReq"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java index 092e7e4..a5351c9 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseOperationResp.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TCloseOperationResp 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("TCloseOperationResp"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java index a5d910f..e69db6f 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionReq.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TCloseSessionReq 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("TCloseSessionReq"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java index ae4b554..aa44e87 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCloseSessionResp.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TCloseSessionResp 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("TCloseSessionResp"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java index 1bda69d..082b9b4 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumn.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java index e31aa81..471da2b 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnDesc.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TColumnDesc 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("TColumnDesc"); @@ -322,7 +322,7 @@ public Object getFieldValue(_Fields field) { return getTypeDesc(); case POSITION: - return Integer.valueOf(getPosition()); + return getPosition(); case COMMENT: return getComment(); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java index 61aee4d..2c2c6bb 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TColumnValue.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java index 7236d90..38178aa 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleColumn.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TDoubleColumn 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("TDoubleColumn"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java index 4b0811e..9946a99 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TDoubleValue.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TDoubleValue 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("TDoubleValue"); @@ -178,7 +178,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case VALUE: - return Double.valueOf(getValue()); + return getValue(); } throw new IllegalStateException(); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java index feaed34..a51140c 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementReq.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TExecuteStatementReq 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("TExecuteStatementReq"); @@ -338,7 +338,7 @@ public Object getFieldValue(_Fields field) { return getConfOverlay(); case RUN_ASYNC: - return Boolean.valueOf(isRunAsync()); + return isRunAsync(); } throw new IllegalStateException(); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java index daf7b5c..01cb91b 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TExecuteStatementResp.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TExecuteStatementResp 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("TExecuteStatementResp"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java index 64713e8..d3fd3f0 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchOrientation.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java index 47d9a0b..ae15e2c 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsReq.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TFetchResultsReq 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("TFetchResultsReq"); @@ -338,10 +338,10 @@ public Object getFieldValue(_Fields field) { return getOrientation(); case MAX_ROWS: - return Long.valueOf(getMaxRows()); + return getMaxRows(); case FETCH_TYPE: - return Short.valueOf(getFetchType()); + return getFetchType(); } throw new IllegalStateException(); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java index b9f3ef6..b376039 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TFetchResultsResp.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TFetchResultsResp 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("TFetchResultsResp"); @@ -272,7 +272,7 @@ public Object getFieldValue(_Fields field) { return getStatus(); case HAS_MORE_ROWS: - return Boolean.valueOf(isHasMoreRows()); + return isHasMoreRows(); case RESULTS: return getResults(); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java index 0e63b9a..3077550 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsReq.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TGetCatalogsReq 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("TGetCatalogsReq"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java index 7067ff7..789aef6 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetCatalogsResp.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TGetCatalogsResp 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("TGetCatalogsResp"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java index a153968..a1ac18e 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsReq.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TGetColumnsReq 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("TGetColumnsReq"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java index 49ecb98..7be88fc 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetColumnsResp.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TGetColumnsResp 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("TGetColumnsResp"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java index 2c2fa0f..1352c19 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenReq.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TGetDelegationTokenReq 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("TGetDelegationTokenReq"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java index 4222005..d752d79 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetDelegationTokenResp.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TGetDelegationTokenResp 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("TGetDelegationTokenResp"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java index 5bc0540..7890134 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsReq.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TGetFunctionsReq 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("TGetFunctionsReq"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java index a64c948..86b9fa9 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetFunctionsResp.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TGetFunctionsResp 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("TGetFunctionsResp"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java index 7dd6a14..ce7d2e8 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoReq.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TGetInfoReq 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("TGetInfoReq"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java index 3e16318..b218e60 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoResp.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TGetInfoResp 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("TGetInfoResp"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java index f4dc73d..72385a7 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java index af1224d..361e39f 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetInfoValue.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java index f4d5fae..0f2b1e0 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusReq.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TGetOperationStatusReq 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("TGetOperationStatusReq"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java index 897f7f5..318dd94 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetOperationStatusResp.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TGetOperationStatusResp 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("TGetOperationStatusResp"); @@ -374,7 +374,7 @@ public Object getFieldValue(_Fields field) { return getSqlState(); case ERROR_CODE: - return Integer.valueOf(getErrorCode()); + return getErrorCode(); case ERROR_MESSAGE: return getErrorMessage(); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java index 405ffc6..4268885 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataReq.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TGetResultSetMetadataReq 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("TGetResultSetMetadataReq"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java index 3735310..0f264ba 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetResultSetMetadataResp.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TGetResultSetMetadataResp 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("TGetResultSetMetadataResp"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java index 33088b4..258c3de 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasReq.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TGetSchemasReq 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("TGetSchemasReq"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java index ec598a3..8912d11 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetSchemasResp.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TGetSchemasResp 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("TGetSchemasResp"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java index 3e09a64..e7dea59 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesReq.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TGetTableTypesReq 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("TGetTableTypesReq"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java index cdba9b5..2fd56b1 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTableTypesResp.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TGetTableTypesResp 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("TGetTableTypesResp"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java index 805e69f..de9e026 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesReq.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TGetTablesReq 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("TGetTablesReq"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java index 0d03dd8..e988184 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTablesResp.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TGetTablesResp 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("TGetTablesResp"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java index 0628e21..edf795d 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoReq.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TGetTypeInfoReq 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("TGetTypeInfoReq"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java index 6058826..9a4b1c8 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TGetTypeInfoResp.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TGetTypeInfoResp 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("TGetTypeInfoResp"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java index f20c4d0..4717ac5 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/THandleIdentifier.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class THandleIdentifier 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("THandleIdentifier"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java index 267d109..f33c7c6 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Column.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TI16Column 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("TI16Column"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java index ddaf9ef..5c23f11 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI16Value.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TI16Value 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("TI16Value"); @@ -178,7 +178,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case VALUE: - return Short.valueOf(getValue()); + return getValue(); } throw new IllegalStateException(); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java index c79df4f..ac736a2 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Column.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TI32Column 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("TI32Column"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java index d521373..efb4e39 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI32Value.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TI32Value 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("TI32Value"); @@ -178,7 +178,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case VALUE: - return Integer.valueOf(getValue()); + return getValue(); } throw new IllegalStateException(); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java index 746ade2..54a1225 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Column.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TI64Column 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("TI64Column"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java index b419b80..8a319af 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TI64Value.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TI64Value 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("TI64Value"); @@ -178,7 +178,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case VALUE: - return Long.valueOf(getValue()); + return getValue(); } throw new IllegalStateException(); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java index 91a85ef..21f9c6f 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TMapTypeEntry.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TMapTypeEntry 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("TMapTypeEntry"); @@ -229,10 +229,10 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case KEY_TYPE_PTR: - return Integer.valueOf(getKeyTypePtr()); + return getKeyTypePtr(); case VALUE_TYPE_PTR: - return Integer.valueOf(getValueTypePtr()); + return getValueTypePtr(); } throw new IllegalStateException(); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java index 657f868..e36ea8a 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionReq.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TOpenSessionReq 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("TOpenSessionReq"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java index 48f4b45..77d5f1a 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOpenSessionResp.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TOpenSessionResp 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("TOpenSessionResp"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java index db41117..75ec0d4 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationHandle.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TOperationHandle 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("TOperationHandle"); @@ -333,10 +333,10 @@ public Object getFieldValue(_Fields field) { return getOperationType(); case HAS_RESULT_SET: - return Boolean.valueOf(isHasResultSet()); + return isHasResultSet(); case MODIFIED_ROW_COUNT: - return Double.valueOf(getModifiedRowCount()); + return getModifiedRowCount(); } throw new IllegalStateException(); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java index 2dfde1c..fe029ef 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationState.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java index 6927740..f105259 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TOperationType.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java index f1c8d58..00dc839 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TPrimitiveTypeEntry.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TPrimitiveTypeEntry 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("TPrimitiveTypeEntry"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java index 6e714c6..c936ada 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TProtocolVersion.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java index 91f8b00..2e9c731 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenReq.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TRenewDelegationTokenReq 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("TRenewDelegationTokenReq"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java index c01cc3f..677a9ff 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRenewDelegationTokenResp.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TRenewDelegationTokenResp 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("TRenewDelegationTokenResp"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java index 197bab6..bbee87e 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRow.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TRow 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("TRow"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java index cc1a148..a2f1ebd 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TRowSet.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TRowSet 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("TRowSet"); @@ -312,7 +312,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case START_ROW_OFFSET: - return Long.valueOf(getStartRowOffset()); + return getStartRowOffset(); case ROWS: return getRows(); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java index 264e155..ee1d260 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TSessionHandle.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TSessionHandle 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("TSessionHandle"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java index 1cd7980..91c4dc4 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatus.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TStatus 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("TStatus"); @@ -391,7 +391,7 @@ public Object getFieldValue(_Fields field) { return getSqlState(); case ERROR_CODE: - return Integer.valueOf(getErrorCode()); + return getErrorCode(); case ERROR_MESSAGE: return getErrorMessage(); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java index 91d1a97..8900d4c 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStatusCode.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java index d996529..c90dc9f 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringColumn.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TStringColumn 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("TStringColumn"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java index 9655f38..05b1323 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStringValue.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TStringValue 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("TStringValue"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java index d58184c..0d4434d 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TStructTypeEntry.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TStructTypeEntry 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("TStructTypeEntry"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java index 796b73b..80c372f 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTableSchema.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TTableSchema 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("TTableSchema"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java index 95b4466..bcd52c7 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeDesc.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TTypeDesc 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("TTypeDesc"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java index 203d3b9..a53eaa2 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeEntry.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java index e6f2336..379bc92 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java index 54df6dc..cc786b2 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifierValue.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java index 15ac5a9..391b2a0 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeQualifiers.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TTypeQualifiers 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("TTypeQualifiers"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java index eccf303..53a3fcf 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUnionTypeEntry.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TUnionTypeEntry 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("TUnionTypeEntry"); diff --git service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java index 21da61b..59453d1 100644 --- service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java +++ service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TUserDefinedTypeEntry.java @@ -1,5 +1,5 @@ /** - * Autogenerated by Thrift Compiler (0.9.2) + * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-8-3") +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-01-14") public class TUserDefinedTypeEntry 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("TUserDefinedTypeEntry"); diff --git service/src/gen/thrift/gen-php/TCLIService.php service/src/gen/thrift/gen-php/TCLIService.php index f5dd904..eba62f1 100644 --- service/src/gen/thrift/gen-php/TCLIService.php +++ service/src/gen/thrift/gen-php/TCLIService.php @@ -1,7 +1,6 @@