diff --git a/metastore/scripts/upgrade/derby/052-HIVE-18747.derby.sql b/metastore/scripts/upgrade/derby/052-HIVE-18747.derby.sql new file mode 100644 index 0000000..802a236 --- /dev/null +++ b/metastore/scripts/upgrade/derby/052-HIVE-18747.derby.sql @@ -0,0 +1,7 @@ +CREATE TABLE MIN_HISTORY_LEVEL ( + MHL_TXNID bigint NOT NULL, + MHL_MIN_UNCOMMITTED_TXNID bigint NOT NULL, + PRIMARY KEY(MHL_TXNID) +); + +CREATE INDEX MIN_HISTORY_LEVEL_IDX ON MIN_HISTORY_LEVEL (MHL_MIN_UNCOMMITTED_TXNID); diff --git a/metastore/scripts/upgrade/derby/hive-txn-schema-3.0.0.derby.sql b/metastore/scripts/upgrade/derby/hive-txn-schema-3.0.0.derby.sql index 99838b4..f0f315d 100644 --- a/metastore/scripts/upgrade/derby/hive-txn-schema-3.0.0.derby.sql +++ b/metastore/scripts/upgrade/derby/hive-txn-schema-3.0.0.derby.sql @@ -73,6 +73,14 @@ CREATE TABLE NEXT_WRITE_ID ( CREATE UNIQUE INDEX NEXT_WRITE_ID_IDX ON NEXT_WRITE_ID (NWI_DATABASE, NWI_TABLE); +CREATE TABLE MIN_HISTORY_LEVEL ( + MHL_TXNID bigint NOT NULL, + MHL_MIN_UNCOMMITTED_TXNID bigint NOT NULL, + PRIMARY KEY(MHL_TXNID) +); + +CREATE INDEX MIN_HISTORY_LEVEL_IDX ON MIN_HISTORY_LEVEL (MHL_MIN_UNCOMMITTED_TXNID); + CREATE TABLE HIVE_LOCKS ( HL_LOCK_EXT_ID bigint NOT NULL, HL_LOCK_INT_ID bigint NOT NULL, diff --git a/metastore/scripts/upgrade/derby/upgrade-2.3.0-to-3.0.0.derby.sql b/metastore/scripts/upgrade/derby/upgrade-2.3.0-to-3.0.0.derby.sql index c2dcb83..3c3bdb6 100644 --- a/metastore/scripts/upgrade/derby/upgrade-2.3.0-to-3.0.0.derby.sql +++ b/metastore/scripts/upgrade/derby/upgrade-2.3.0-to-3.0.0.derby.sql @@ -9,5 +9,6 @@ RUN '048-HIVE-14498.derby.sql'; RUN '049-HIVE-18489.derby.sql'; RUN '050-HIVE-18192.derby.sql'; RUN '051-HIVE-18675.derby.sql'; +RUN '052-HIVE-18747.derby.sql'; UPDATE "APP".VERSION SET SCHEMA_VERSION='3.0.0', VERSION_COMMENT='Hive release version 3.0.0' where VER_ID=1; diff --git a/ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Cleaner.java b/ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Cleaner.java index df9a5a0..4d51bbc 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Cleaner.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Cleaner.java @@ -263,15 +263,15 @@ private void clean(CompactionInfo ci) throws MetaException { * Between that check and removeFiles() a query starts (it will be reading D3) and another compaction * completes which creates D4. * Now removeFiles() (more specifically AcidUtils.getAcidState()) will declare D3 to be obsolete - * unless ValidTxnList is "capped" at highestWriteId. + * unless ValidWriteIdList is "capped" at highestWriteId. */ - final ValidWriteIdList txnList = (ci.highestWriteId > 0) + final ValidWriteIdList validWriteIdList = (ci.highestWriteId > 0) ? new ValidReaderWriteIdList(ci.getFullTableName(), new long[0], new BitSet(), ci.highestWriteId) : new ValidReaderWriteIdList(); if (runJobAsSelf(ci.runAs)) { - removeFiles(location, txnList); + removeFiles(location, validWriteIdList); } else { LOG.info("Cleaning as user " + ci.runAs + " for " + ci.getFullPartitionName()); UserGroupInformation ugi = UserGroupInformation.createProxyUser(ci.runAs, @@ -279,7 +279,7 @@ private void clean(CompactionInfo ci) throws MetaException { ugi.doAs(new PrivilegedExceptionAction() { @Override public Object run() throws Exception { - removeFiles(location, txnList); + removeFiles(location, validWriteIdList); return null; } }); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Initiator.java b/ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Initiator.java index a04ac3b..259a712 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Initiator.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Initiator.java @@ -171,7 +171,7 @@ public void run() { // Check for timed out remote workers. recoverFailedCompactions(true); - // Clean anything from the txns table that has no components left in txn_components. + // Clean anything from the txns/min_history_level table that has no components left in txn_components. txnHandler.cleanEmptyAbortedTxns(); } catch (Throwable t) { LOG.error("Initiator loop caught unexpected exception this time through the loop: " + diff --git a/ql/src/test/org/apache/hadoop/hive/ql/TestTxnCommands2.java b/ql/src/test/org/apache/hadoop/hive/ql/TestTxnCommands2.java index b832f71..2b94d7e 100644 --- a/ql/src/test/org/apache/hadoop/hive/ql/TestTxnCommands2.java +++ b/ql/src/test/org/apache/hadoop/hive/ql/TestTxnCommands2.java @@ -52,6 +52,8 @@ import org.apache.hadoop.hive.ql.io.AcidOutputFormat; import org.apache.hadoop.hive.ql.io.BucketCodec; import org.apache.hadoop.hive.ql.io.HiveInputFormat; +import org.apache.hadoop.hive.ql.lockmgr.HiveTxnManager; +import org.apache.hadoop.hive.ql.lockmgr.TxnManagerFactory; import org.apache.hadoop.hive.ql.processors.CommandProcessorResponse; import org.apache.hadoop.hive.ql.session.SessionState; import org.apache.hadoop.hive.metastore.txn.AcidOpenTxnsCounterService; @@ -2027,6 +2029,124 @@ public void testMmTableCompaction() throws Exception { verifyDirAndResult(2); } + /** + * Test cleaner for TXN_TO_WRITE_ID table + * @throws Exception + */ + @Test + public void testCleanerForTxnToWriteId() throws Exception { + int[][] tableData1 = {{1,2}}; + int[][] tableData2 = {{2,3}}; + int[][] tableData3 = {{3,4}}; + runStatementOnDriver("insert into " + Table.ACIDTBL + "(a,b) " + makeValuesClause(tableData1)); + runStatementOnDriver("insert into " + Table.ACIDTBL + "(a,b) " + makeValuesClause(tableData2)); + runStatementOnDriver("insert into " + Table.ACIDTBL + "(a,b) " + makeValuesClause(tableData3)); + runStatementOnDriver("insert into " + Table.ACIDTBLPART + " partition(p=1) (a,b) " + makeValuesClause(tableData1)); + runStatementOnDriver("insert into " + Table.ACIDTBLPART + " partition(p=2) (a,b) " + makeValuesClause(tableData2)); + + // All inserts are committed and hence would expect in TXN_TO_WRITE_ID, 3 entries for acidTbl + // and 2 entries for acidTblPart as each insert would have allocated a writeid. + // Also MIN_HISTORY_LEVEL won't have any entries as no reference for uncommitted txns. + String acidTblWhereClause = " where t2w_database = " + quoteString("default") + + " and t2w_table = " + quoteString(Table.ACIDTBL.name().toLowerCase()); + String acidTblPartWhereClause = " where t2w_database = " + quoteString("default") + + " and t2w_table = " + quoteString(Table.ACIDTBLPART.name().toLowerCase()); + Assert.assertEquals(TxnDbUtil.queryToString(hiveConf, "select * from MIN_HISTORY_LEVEL"), + 0, TxnDbUtil.countQueryAgent(hiveConf, "select count(*) from MIN_HISTORY_LEVEL")); + Assert.assertEquals(TxnDbUtil.queryToString(hiveConf, "select * from TXN_TO_WRITE_ID" + acidTblWhereClause), + 3, TxnDbUtil.countQueryAgent(hiveConf, "select count(*) from TXN_TO_WRITE_ID" + acidTblWhereClause)); + Assert.assertEquals(TxnDbUtil.queryToString(hiveConf, "select * from TXN_TO_WRITE_ID" + acidTblPartWhereClause), + 2, TxnDbUtil.countQueryAgent(hiveConf, "select count(*) from TXN_TO_WRITE_ID" + acidTblPartWhereClause)); + + TxnStore txnHandler = TxnUtils.getTxnStore(hiveConf); + txnHandler.compact(new CompactionRequest("default", Table.ACIDTBL.name().toLowerCase(), CompactionType.MAJOR)); + runWorker(hiveConf); + runCleaner(hiveConf); + + // After compaction/cleanup, there would be one entry in TXN_TO_WRITE_ID which is retained as Low-water-mark(LWM). + Assert.assertEquals(TxnDbUtil.queryToString(hiveConf, "select * from TXN_TO_WRITE_ID" + acidTblWhereClause), + 1, TxnDbUtil.countQueryAgent(hiveConf, "select count(*) from TXN_TO_WRITE_ID" + acidTblWhereClause)); + + // Following sequence of commit-abort-commit. + int[][] tableData4 = {{4,5}}; + int[][] tableData5 = {{5,6}}; + runStatementOnDriver("insert into " + Table.ACIDTBL + "(a,b) " + makeValuesClause(tableData4)); + + // Keep an open txn which refers to the aborted txn. + Context ctx = new Context(hiveConf); + HiveTxnManager txnMgr = TxnManagerFactory.getTxnManagerFactory().getTxnManager(hiveConf); + txnMgr.openTxn(ctx, "u1"); + txnMgr.getValidTxns(); + + // Start an INSERT statement transaction and roll back this transaction. + hiveConf.setBoolVar(HiveConf.ConfVars.HIVETESTMODEROLLBACKTXN, true); + runStatementOnDriver("insert into " + Table.ACIDTBL + "(a,b) " + makeValuesClause(tableData5)); + hiveConf.setBoolVar(HiveConf.ConfVars.HIVETESTMODEROLLBACKTXN, false); + + runStatementOnDriver("insert into " + Table.ACIDTBL + "(a,b) " + makeValuesClause(tableData5)); + + // We would expect additional 3 entries (along with one retained by prevous cleanup) in TXN_TO_WRITE_ID for the + // given table as each insert would have allocated a writeid including aborted one. + // Also MIN_HISTORY_LEVEL will have 2 entries as one txn is aborted and other one is open. + Assert.assertEquals(TxnDbUtil.queryToString(hiveConf, "select * from TXN_TO_WRITE_ID" + acidTblWhereClause), + 4, TxnDbUtil.countQueryAgent(hiveConf, "select count(*) from TXN_TO_WRITE_ID" + acidTblWhereClause)); + Assert.assertEquals(TxnDbUtil.queryToString(hiveConf, "select * from MIN_HISTORY_LEVEL"), + 2, TxnDbUtil.countQueryAgent(hiveConf, "select count(*) from MIN_HISTORY_LEVEL")); + + // Run compaction/cleaner, the entry relevant to aborted txn shouldn't be removed from TXN_TO_WRITE_ID as + // aborted txn would be removed from MIN_HISTORY_LEVEL only after the current compaction. + // As open txn doesn't allocate writeid, the one committed under this should be retained in TXN_TO_WRITE_ID along with + // 2 entries for aborted and committed. So, there should be 3 entries. + txnHandler.compact(new CompactionRequest("default", Table.ACIDTBL.name().toLowerCase(), CompactionType.MAJOR)); + runWorker(hiveConf); + runCleaner(hiveConf); + Assert.assertEquals(TxnDbUtil.queryToString(hiveConf, "select * from TXN_TO_WRITE_ID" + acidTblWhereClause), + 3, TxnDbUtil.countQueryAgent(hiveConf, "select count(*) from TXN_TO_WRITE_ID" + acidTblWhereClause)); + Assert.assertEquals(TxnDbUtil.queryToString(hiveConf, "select * from MIN_HISTORY_LEVEL"), + 2, TxnDbUtil.countQueryAgent(hiveConf, "select count(*) from MIN_HISTORY_LEVEL")); + + // After compaction/cleanup, there would still be 3 entries in TXN_TO_WRITE_ID as aborted txn couldn't be removed + // as the open txn < aborted txn. MIN_HISTORY_LEVEL will have 1 entry for the open txn as aborted txn is compacted already. + txnHandler.compact(new CompactionRequest("default", Table.ACIDTBL.name().toLowerCase(), CompactionType.MAJOR)); + txnHandler.cleanEmptyAbortedTxns(); + runWorker(hiveConf); + runCleaner(hiveConf); + + Assert.assertEquals(TxnDbUtil.queryToString(hiveConf, "select * from TXN_TO_WRITE_ID" + acidTblWhereClause), + 3, TxnDbUtil.countQueryAgent(hiveConf, "select count(*) from TXN_TO_WRITE_ID" + acidTblWhereClause)); + Assert.assertEquals(TxnDbUtil.queryToString(hiveConf, "select * from MIN_HISTORY_LEVEL"), + 1, TxnDbUtil.countQueryAgent(hiveConf, "select count(*) from MIN_HISTORY_LEVEL")); + + // Rollback the open txn, which lets the compactor to cleanup aborted txns data. First compaction would clean the aborted txns data. + // Second compaction would clean the entries from TXN_TO_WRITE_ID/MIN_HISTORY_LEVEL. + txnMgr.rollbackTxn(); + txnHandler.compact(new CompactionRequest("default", Table.ACIDTBL.name().toLowerCase(), CompactionType.MAJOR)); + runWorker(hiveConf); + runCleaner(hiveConf); + txnHandler.compact(new CompactionRequest("default", Table.ACIDTBL.name().toLowerCase(), CompactionType.MAJOR)); + txnHandler.cleanEmptyAbortedTxns(); + runWorker(hiveConf); + runCleaner(hiveConf); + + Assert.assertEquals(TxnDbUtil.queryToString(hiveConf, "select * from TXN_TO_WRITE_ID" + acidTblWhereClause), + 1, TxnDbUtil.countQueryAgent(hiveConf, "select count(*) from TXN_TO_WRITE_ID" + acidTblWhereClause)); + Assert.assertEquals(TxnDbUtil.queryToString(hiveConf, "select * from MIN_HISTORY_LEVEL"), + 0, TxnDbUtil.countQueryAgent(hiveConf, "select count(*) from MIN_HISTORY_LEVEL")); + + // The other table acidTablePart should be unaffected by above cleanups as they operate only on acidTbl. + Assert.assertEquals(TxnDbUtil.queryToString(hiveConf, "select * from TXN_TO_WRITE_ID" + acidTblPartWhereClause), + 2, TxnDbUtil.countQueryAgent(hiveConf, "select count(*) from TXN_TO_WRITE_ID" + acidTblPartWhereClause)); + + // Run compaction/cleaner on acidTblPart + CompactionRequest rqst = new CompactionRequest("default", Table.ACIDTBLPART.name().toLowerCase(), CompactionType.MAJOR); + rqst.setPartitionname("p=1"); + txnHandler.compact(rqst); + runWorker(hiveConf); + runCleaner(hiveConf); + Assert.assertEquals(TxnDbUtil.queryToString(hiveConf, "select * from TXN_TO_WRITE_ID" + acidTblPartWhereClause), + 1, TxnDbUtil.countQueryAgent(hiveConf, "select count(*) from TXN_TO_WRITE_ID" + acidTblPartWhereClause)); + } + private void verifyDirAndResult(int expectedDeltas) throws Exception { FileSystem fs = FileSystem.get(hiveConf); // Verify the content of subdirs @@ -2127,4 +2247,8 @@ final void assertUniqueID(Table table) throws Exception { List r = runStatementOnDriver(sb.toString()); Assert.assertTrue("Duplicate ROW__ID: " + r.toString(),r.size() == 0); } + + static String quoteString(String input) { + return "'" + input + "'"; + } } diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index b7a3b92..23aebe1 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp @@ -1240,14 +1240,14 @@ uint32_t ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1137; - ::apache::thrift::protocol::TType _etype1140; - xfer += iprot->readListBegin(_etype1140, _size1137); - this->success.resize(_size1137); - uint32_t _i1141; - for (_i1141 = 0; _i1141 < _size1137; ++_i1141) + uint32_t _size1147; + ::apache::thrift::protocol::TType _etype1150; + xfer += iprot->readListBegin(_etype1150, _size1147); + this->success.resize(_size1147); + uint32_t _i1151; + for (_i1151 = 0; _i1151 < _size1147; ++_i1151) { - xfer += iprot->readString(this->success[_i1141]); + xfer += iprot->readString(this->success[_i1151]); } xfer += iprot->readListEnd(); } @@ -1286,10 +1286,10 @@ uint32_t ThriftHiveMetastore_get_databases_result::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1142; - for (_iter1142 = this->success.begin(); _iter1142 != this->success.end(); ++_iter1142) + std::vector ::const_iterator _iter1152; + for (_iter1152 = this->success.begin(); _iter1152 != this->success.end(); ++_iter1152) { - xfer += oprot->writeString((*_iter1142)); + xfer += oprot->writeString((*_iter1152)); } xfer += oprot->writeListEnd(); } @@ -1334,14 +1334,14 @@ uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1143; - ::apache::thrift::protocol::TType _etype1146; - xfer += iprot->readListBegin(_etype1146, _size1143); - (*(this->success)).resize(_size1143); - uint32_t _i1147; - for (_i1147 = 0; _i1147 < _size1143; ++_i1147) + uint32_t _size1153; + ::apache::thrift::protocol::TType _etype1156; + xfer += iprot->readListBegin(_etype1156, _size1153); + (*(this->success)).resize(_size1153); + uint32_t _i1157; + for (_i1157 = 0; _i1157 < _size1153; ++_i1157) { - xfer += iprot->readString((*(this->success))[_i1147]); + xfer += iprot->readString((*(this->success))[_i1157]); } xfer += iprot->readListEnd(); } @@ -1458,14 +1458,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1148; - ::apache::thrift::protocol::TType _etype1151; - xfer += iprot->readListBegin(_etype1151, _size1148); - this->success.resize(_size1148); - uint32_t _i1152; - for (_i1152 = 0; _i1152 < _size1148; ++_i1152) + uint32_t _size1158; + ::apache::thrift::protocol::TType _etype1161; + xfer += iprot->readListBegin(_etype1161, _size1158); + this->success.resize(_size1158); + uint32_t _i1162; + for (_i1162 = 0; _i1162 < _size1158; ++_i1162) { - xfer += iprot->readString(this->success[_i1152]); + xfer += iprot->readString(this->success[_i1162]); } xfer += iprot->readListEnd(); } @@ -1504,10 +1504,10 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::write(::apache::thrift::p xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1153; - for (_iter1153 = this->success.begin(); _iter1153 != this->success.end(); ++_iter1153) + std::vector ::const_iterator _iter1163; + for (_iter1163 = this->success.begin(); _iter1163 != this->success.end(); ++_iter1163) { - xfer += oprot->writeString((*_iter1153)); + xfer += oprot->writeString((*_iter1163)); } xfer += oprot->writeListEnd(); } @@ -1552,14 +1552,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1154; - ::apache::thrift::protocol::TType _etype1157; - xfer += iprot->readListBegin(_etype1157, _size1154); - (*(this->success)).resize(_size1154); - uint32_t _i1158; - for (_i1158 = 0; _i1158 < _size1154; ++_i1158) + uint32_t _size1164; + ::apache::thrift::protocol::TType _etype1167; + xfer += iprot->readListBegin(_etype1167, _size1164); + (*(this->success)).resize(_size1164); + uint32_t _i1168; + for (_i1168 = 0; _i1168 < _size1164; ++_i1168) { - xfer += iprot->readString((*(this->success))[_i1158]); + xfer += iprot->readString((*(this->success))[_i1168]); } xfer += iprot->readListEnd(); } @@ -2621,17 +2621,17 @@ uint32_t ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1159; - ::apache::thrift::protocol::TType _ktype1160; - ::apache::thrift::protocol::TType _vtype1161; - xfer += iprot->readMapBegin(_ktype1160, _vtype1161, _size1159); - uint32_t _i1163; - for (_i1163 = 0; _i1163 < _size1159; ++_i1163) + uint32_t _size1169; + ::apache::thrift::protocol::TType _ktype1170; + ::apache::thrift::protocol::TType _vtype1171; + xfer += iprot->readMapBegin(_ktype1170, _vtype1171, _size1169); + uint32_t _i1173; + for (_i1173 = 0; _i1173 < _size1169; ++_i1173) { - std::string _key1164; - xfer += iprot->readString(_key1164); - Type& _val1165 = this->success[_key1164]; - xfer += _val1165.read(iprot); + std::string _key1174; + xfer += iprot->readString(_key1174); + Type& _val1175 = this->success[_key1174]; + xfer += _val1175.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2670,11 +2670,11 @@ uint32_t ThriftHiveMetastore_get_type_all_result::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::map ::const_iterator _iter1166; - for (_iter1166 = this->success.begin(); _iter1166 != this->success.end(); ++_iter1166) + std::map ::const_iterator _iter1176; + for (_iter1176 = this->success.begin(); _iter1176 != this->success.end(); ++_iter1176) { - xfer += oprot->writeString(_iter1166->first); - xfer += _iter1166->second.write(oprot); + xfer += oprot->writeString(_iter1176->first); + xfer += _iter1176->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -2719,17 +2719,17 @@ uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1167; - ::apache::thrift::protocol::TType _ktype1168; - ::apache::thrift::protocol::TType _vtype1169; - xfer += iprot->readMapBegin(_ktype1168, _vtype1169, _size1167); - uint32_t _i1171; - for (_i1171 = 0; _i1171 < _size1167; ++_i1171) + uint32_t _size1177; + ::apache::thrift::protocol::TType _ktype1178; + ::apache::thrift::protocol::TType _vtype1179; + xfer += iprot->readMapBegin(_ktype1178, _vtype1179, _size1177); + uint32_t _i1181; + for (_i1181 = 0; _i1181 < _size1177; ++_i1181) { - std::string _key1172; - xfer += iprot->readString(_key1172); - Type& _val1173 = (*(this->success))[_key1172]; - xfer += _val1173.read(iprot); + std::string _key1182; + xfer += iprot->readString(_key1182); + Type& _val1183 = (*(this->success))[_key1182]; + xfer += _val1183.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2883,14 +2883,14 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1174; - ::apache::thrift::protocol::TType _etype1177; - xfer += iprot->readListBegin(_etype1177, _size1174); - this->success.resize(_size1174); - uint32_t _i1178; - for (_i1178 = 0; _i1178 < _size1174; ++_i1178) + uint32_t _size1184; + ::apache::thrift::protocol::TType _etype1187; + xfer += iprot->readListBegin(_etype1187, _size1184); + this->success.resize(_size1184); + uint32_t _i1188; + for (_i1188 = 0; _i1188 < _size1184; ++_i1188) { - xfer += this->success[_i1178].read(iprot); + xfer += this->success[_i1188].read(iprot); } xfer += iprot->readListEnd(); } @@ -2945,10 +2945,10 @@ uint32_t ThriftHiveMetastore_get_fields_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1179; - for (_iter1179 = this->success.begin(); _iter1179 != this->success.end(); ++_iter1179) + std::vector ::const_iterator _iter1189; + for (_iter1189 = this->success.begin(); _iter1189 != this->success.end(); ++_iter1189) { - xfer += (*_iter1179).write(oprot); + xfer += (*_iter1189).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3001,14 +3001,14 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1180; - ::apache::thrift::protocol::TType _etype1183; - xfer += iprot->readListBegin(_etype1183, _size1180); - (*(this->success)).resize(_size1180); - uint32_t _i1184; - for (_i1184 = 0; _i1184 < _size1180; ++_i1184) + uint32_t _size1190; + ::apache::thrift::protocol::TType _etype1193; + xfer += iprot->readListBegin(_etype1193, _size1190); + (*(this->success)).resize(_size1190); + uint32_t _i1194; + for (_i1194 = 0; _i1194 < _size1190; ++_i1194) { - xfer += (*(this->success))[_i1184].read(iprot); + xfer += (*(this->success))[_i1194].read(iprot); } xfer += iprot->readListEnd(); } @@ -3194,14 +3194,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1185; - ::apache::thrift::protocol::TType _etype1188; - xfer += iprot->readListBegin(_etype1188, _size1185); - this->success.resize(_size1185); - uint32_t _i1189; - for (_i1189 = 0; _i1189 < _size1185; ++_i1189) + uint32_t _size1195; + ::apache::thrift::protocol::TType _etype1198; + xfer += iprot->readListBegin(_etype1198, _size1195); + this->success.resize(_size1195); + uint32_t _i1199; + for (_i1199 = 0; _i1199 < _size1195; ++_i1199) { - xfer += this->success[_i1189].read(iprot); + xfer += this->success[_i1199].read(iprot); } xfer += iprot->readListEnd(); } @@ -3256,10 +3256,10 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::write(: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1190; - for (_iter1190 = this->success.begin(); _iter1190 != this->success.end(); ++_iter1190) + std::vector ::const_iterator _iter1200; + for (_iter1200 = this->success.begin(); _iter1200 != this->success.end(); ++_iter1200) { - xfer += (*_iter1190).write(oprot); + xfer += (*_iter1200).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3312,14 +3312,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1191; - ::apache::thrift::protocol::TType _etype1194; - xfer += iprot->readListBegin(_etype1194, _size1191); - (*(this->success)).resize(_size1191); - uint32_t _i1195; - for (_i1195 = 0; _i1195 < _size1191; ++_i1195) + uint32_t _size1201; + ::apache::thrift::protocol::TType _etype1204; + xfer += iprot->readListBegin(_etype1204, _size1201); + (*(this->success)).resize(_size1201); + uint32_t _i1205; + for (_i1205 = 0; _i1205 < _size1201; ++_i1205) { - xfer += (*(this->success))[_i1195].read(iprot); + xfer += (*(this->success))[_i1205].read(iprot); } xfer += iprot->readListEnd(); } @@ -3489,14 +3489,14 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1196; - ::apache::thrift::protocol::TType _etype1199; - xfer += iprot->readListBegin(_etype1199, _size1196); - this->success.resize(_size1196); - uint32_t _i1200; - for (_i1200 = 0; _i1200 < _size1196; ++_i1200) + uint32_t _size1206; + ::apache::thrift::protocol::TType _etype1209; + xfer += iprot->readListBegin(_etype1209, _size1206); + this->success.resize(_size1206); + uint32_t _i1210; + for (_i1210 = 0; _i1210 < _size1206; ++_i1210) { - xfer += this->success[_i1200].read(iprot); + xfer += this->success[_i1210].read(iprot); } xfer += iprot->readListEnd(); } @@ -3551,10 +3551,10 @@ uint32_t ThriftHiveMetastore_get_schema_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1201; - for (_iter1201 = this->success.begin(); _iter1201 != this->success.end(); ++_iter1201) + std::vector ::const_iterator _iter1211; + for (_iter1211 = this->success.begin(); _iter1211 != this->success.end(); ++_iter1211) { - xfer += (*_iter1201).write(oprot); + xfer += (*_iter1211).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3607,14 +3607,14 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1202; - ::apache::thrift::protocol::TType _etype1205; - xfer += iprot->readListBegin(_etype1205, _size1202); - (*(this->success)).resize(_size1202); - uint32_t _i1206; - for (_i1206 = 0; _i1206 < _size1202; ++_i1206) + uint32_t _size1212; + ::apache::thrift::protocol::TType _etype1215; + xfer += iprot->readListBegin(_etype1215, _size1212); + (*(this->success)).resize(_size1212); + uint32_t _i1216; + for (_i1216 = 0; _i1216 < _size1212; ++_i1216) { - xfer += (*(this->success))[_i1206].read(iprot); + xfer += (*(this->success))[_i1216].read(iprot); } xfer += iprot->readListEnd(); } @@ -3800,14 +3800,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1207; - ::apache::thrift::protocol::TType _etype1210; - xfer += iprot->readListBegin(_etype1210, _size1207); - this->success.resize(_size1207); - uint32_t _i1211; - for (_i1211 = 0; _i1211 < _size1207; ++_i1211) + uint32_t _size1217; + ::apache::thrift::protocol::TType _etype1220; + xfer += iprot->readListBegin(_etype1220, _size1217); + this->success.resize(_size1217); + uint32_t _i1221; + for (_i1221 = 0; _i1221 < _size1217; ++_i1221) { - xfer += this->success[_i1211].read(iprot); + xfer += this->success[_i1221].read(iprot); } xfer += iprot->readListEnd(); } @@ -3862,10 +3862,10 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::write(: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1212; - for (_iter1212 = this->success.begin(); _iter1212 != this->success.end(); ++_iter1212) + std::vector ::const_iterator _iter1222; + for (_iter1222 = this->success.begin(); _iter1222 != this->success.end(); ++_iter1222) { - xfer += (*_iter1212).write(oprot); + xfer += (*_iter1222).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3918,14 +3918,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1213; - ::apache::thrift::protocol::TType _etype1216; - xfer += iprot->readListBegin(_etype1216, _size1213); - (*(this->success)).resize(_size1213); - uint32_t _i1217; - for (_i1217 = 0; _i1217 < _size1213; ++_i1217) + uint32_t _size1223; + ::apache::thrift::protocol::TType _etype1226; + xfer += iprot->readListBegin(_etype1226, _size1223); + (*(this->success)).resize(_size1223); + uint32_t _i1227; + for (_i1227 = 0; _i1227 < _size1223; ++_i1227) { - xfer += (*(this->success))[_i1217].read(iprot); + xfer += (*(this->success))[_i1227].read(iprot); } xfer += iprot->readListEnd(); } @@ -4518,14 +4518,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->primaryKeys.clear(); - uint32_t _size1218; - ::apache::thrift::protocol::TType _etype1221; - xfer += iprot->readListBegin(_etype1221, _size1218); - this->primaryKeys.resize(_size1218); - uint32_t _i1222; - for (_i1222 = 0; _i1222 < _size1218; ++_i1222) + uint32_t _size1228; + ::apache::thrift::protocol::TType _etype1231; + xfer += iprot->readListBegin(_etype1231, _size1228); + this->primaryKeys.resize(_size1228); + uint32_t _i1232; + for (_i1232 = 0; _i1232 < _size1228; ++_i1232) { - xfer += this->primaryKeys[_i1222].read(iprot); + xfer += this->primaryKeys[_i1232].read(iprot); } xfer += iprot->readListEnd(); } @@ -4538,14 +4538,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->foreignKeys.clear(); - uint32_t _size1223; - ::apache::thrift::protocol::TType _etype1226; - xfer += iprot->readListBegin(_etype1226, _size1223); - this->foreignKeys.resize(_size1223); - uint32_t _i1227; - for (_i1227 = 0; _i1227 < _size1223; ++_i1227) + uint32_t _size1233; + ::apache::thrift::protocol::TType _etype1236; + xfer += iprot->readListBegin(_etype1236, _size1233); + this->foreignKeys.resize(_size1233); + uint32_t _i1237; + for (_i1237 = 0; _i1237 < _size1233; ++_i1237) { - xfer += this->foreignKeys[_i1227].read(iprot); + xfer += this->foreignKeys[_i1237].read(iprot); } xfer += iprot->readListEnd(); } @@ -4558,14 +4558,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->uniqueConstraints.clear(); - uint32_t _size1228; - ::apache::thrift::protocol::TType _etype1231; - xfer += iprot->readListBegin(_etype1231, _size1228); - this->uniqueConstraints.resize(_size1228); - uint32_t _i1232; - for (_i1232 = 0; _i1232 < _size1228; ++_i1232) + uint32_t _size1238; + ::apache::thrift::protocol::TType _etype1241; + xfer += iprot->readListBegin(_etype1241, _size1238); + this->uniqueConstraints.resize(_size1238); + uint32_t _i1242; + for (_i1242 = 0; _i1242 < _size1238; ++_i1242) { - xfer += this->uniqueConstraints[_i1232].read(iprot); + xfer += this->uniqueConstraints[_i1242].read(iprot); } xfer += iprot->readListEnd(); } @@ -4578,14 +4578,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->notNullConstraints.clear(); - uint32_t _size1233; - ::apache::thrift::protocol::TType _etype1236; - xfer += iprot->readListBegin(_etype1236, _size1233); - this->notNullConstraints.resize(_size1233); - uint32_t _i1237; - for (_i1237 = 0; _i1237 < _size1233; ++_i1237) + uint32_t _size1243; + ::apache::thrift::protocol::TType _etype1246; + xfer += iprot->readListBegin(_etype1246, _size1243); + this->notNullConstraints.resize(_size1243); + uint32_t _i1247; + for (_i1247 = 0; _i1247 < _size1243; ++_i1247) { - xfer += this->notNullConstraints[_i1237].read(iprot); + xfer += this->notNullConstraints[_i1247].read(iprot); } xfer += iprot->readListEnd(); } @@ -4598,14 +4598,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->defaultConstraints.clear(); - uint32_t _size1238; - ::apache::thrift::protocol::TType _etype1241; - xfer += iprot->readListBegin(_etype1241, _size1238); - this->defaultConstraints.resize(_size1238); - uint32_t _i1242; - for (_i1242 = 0; _i1242 < _size1238; ++_i1242) + uint32_t _size1248; + ::apache::thrift::protocol::TType _etype1251; + xfer += iprot->readListBegin(_etype1251, _size1248); + this->defaultConstraints.resize(_size1248); + uint32_t _i1252; + for (_i1252 = 0; _i1252 < _size1248; ++_i1252) { - xfer += this->defaultConstraints[_i1242].read(iprot); + xfer += this->defaultConstraints[_i1252].read(iprot); } xfer += iprot->readListEnd(); } @@ -4638,10 +4638,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("primaryKeys", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->primaryKeys.size())); - std::vector ::const_iterator _iter1243; - for (_iter1243 = this->primaryKeys.begin(); _iter1243 != this->primaryKeys.end(); ++_iter1243) + std::vector ::const_iterator _iter1253; + for (_iter1253 = this->primaryKeys.begin(); _iter1253 != this->primaryKeys.end(); ++_iter1253) { - xfer += (*_iter1243).write(oprot); + xfer += (*_iter1253).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4650,10 +4650,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("foreignKeys", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->foreignKeys.size())); - std::vector ::const_iterator _iter1244; - for (_iter1244 = this->foreignKeys.begin(); _iter1244 != this->foreignKeys.end(); ++_iter1244) + std::vector ::const_iterator _iter1254; + for (_iter1254 = this->foreignKeys.begin(); _iter1254 != this->foreignKeys.end(); ++_iter1254) { - xfer += (*_iter1244).write(oprot); + xfer += (*_iter1254).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4662,10 +4662,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("uniqueConstraints", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->uniqueConstraints.size())); - std::vector ::const_iterator _iter1245; - for (_iter1245 = this->uniqueConstraints.begin(); _iter1245 != this->uniqueConstraints.end(); ++_iter1245) + std::vector ::const_iterator _iter1255; + for (_iter1255 = this->uniqueConstraints.begin(); _iter1255 != this->uniqueConstraints.end(); ++_iter1255) { - xfer += (*_iter1245).write(oprot); + xfer += (*_iter1255).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4674,10 +4674,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("notNullConstraints", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->notNullConstraints.size())); - std::vector ::const_iterator _iter1246; - for (_iter1246 = this->notNullConstraints.begin(); _iter1246 != this->notNullConstraints.end(); ++_iter1246) + std::vector ::const_iterator _iter1256; + for (_iter1256 = this->notNullConstraints.begin(); _iter1256 != this->notNullConstraints.end(); ++_iter1256) { - xfer += (*_iter1246).write(oprot); + xfer += (*_iter1256).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4686,10 +4686,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("defaultConstraints", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->defaultConstraints.size())); - std::vector ::const_iterator _iter1247; - for (_iter1247 = this->defaultConstraints.begin(); _iter1247 != this->defaultConstraints.end(); ++_iter1247) + std::vector ::const_iterator _iter1257; + for (_iter1257 = this->defaultConstraints.begin(); _iter1257 != this->defaultConstraints.end(); ++_iter1257) { - xfer += (*_iter1247).write(oprot); + xfer += (*_iter1257).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4717,10 +4717,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("primaryKeys", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->primaryKeys)).size())); - std::vector ::const_iterator _iter1248; - for (_iter1248 = (*(this->primaryKeys)).begin(); _iter1248 != (*(this->primaryKeys)).end(); ++_iter1248) + std::vector ::const_iterator _iter1258; + for (_iter1258 = (*(this->primaryKeys)).begin(); _iter1258 != (*(this->primaryKeys)).end(); ++_iter1258) { - xfer += (*_iter1248).write(oprot); + xfer += (*_iter1258).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4729,10 +4729,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("foreignKeys", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->foreignKeys)).size())); - std::vector ::const_iterator _iter1249; - for (_iter1249 = (*(this->foreignKeys)).begin(); _iter1249 != (*(this->foreignKeys)).end(); ++_iter1249) + std::vector ::const_iterator _iter1259; + for (_iter1259 = (*(this->foreignKeys)).begin(); _iter1259 != (*(this->foreignKeys)).end(); ++_iter1259) { - xfer += (*_iter1249).write(oprot); + xfer += (*_iter1259).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4741,10 +4741,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("uniqueConstraints", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->uniqueConstraints)).size())); - std::vector ::const_iterator _iter1250; - for (_iter1250 = (*(this->uniqueConstraints)).begin(); _iter1250 != (*(this->uniqueConstraints)).end(); ++_iter1250) + std::vector ::const_iterator _iter1260; + for (_iter1260 = (*(this->uniqueConstraints)).begin(); _iter1260 != (*(this->uniqueConstraints)).end(); ++_iter1260) { - xfer += (*_iter1250).write(oprot); + xfer += (*_iter1260).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4753,10 +4753,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("notNullConstraints", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->notNullConstraints)).size())); - std::vector ::const_iterator _iter1251; - for (_iter1251 = (*(this->notNullConstraints)).begin(); _iter1251 != (*(this->notNullConstraints)).end(); ++_iter1251) + std::vector ::const_iterator _iter1261; + for (_iter1261 = (*(this->notNullConstraints)).begin(); _iter1261 != (*(this->notNullConstraints)).end(); ++_iter1261) { - xfer += (*_iter1251).write(oprot); + xfer += (*_iter1261).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4765,10 +4765,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("defaultConstraints", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->defaultConstraints)).size())); - std::vector ::const_iterator _iter1252; - for (_iter1252 = (*(this->defaultConstraints)).begin(); _iter1252 != (*(this->defaultConstraints)).end(); ++_iter1252) + std::vector ::const_iterator _iter1262; + for (_iter1262 = (*(this->defaultConstraints)).begin(); _iter1262 != (*(this->defaultConstraints)).end(); ++_iter1262) { - xfer += (*_iter1252).write(oprot); + xfer += (*_iter1262).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6729,14 +6729,14 @@ uint32_t ThriftHiveMetastore_truncate_table_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partNames.clear(); - uint32_t _size1253; - ::apache::thrift::protocol::TType _etype1256; - xfer += iprot->readListBegin(_etype1256, _size1253); - this->partNames.resize(_size1253); - uint32_t _i1257; - for (_i1257 = 0; _i1257 < _size1253; ++_i1257) + uint32_t _size1263; + ::apache::thrift::protocol::TType _etype1266; + xfer += iprot->readListBegin(_etype1266, _size1263); + this->partNames.resize(_size1263); + uint32_t _i1267; + for (_i1267 = 0; _i1267 < _size1263; ++_i1267) { - xfer += iprot->readString(this->partNames[_i1257]); + xfer += iprot->readString(this->partNames[_i1267]); } xfer += iprot->readListEnd(); } @@ -6773,10 +6773,10 @@ uint32_t ThriftHiveMetastore_truncate_table_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partNames.size())); - std::vector ::const_iterator _iter1258; - for (_iter1258 = this->partNames.begin(); _iter1258 != this->partNames.end(); ++_iter1258) + std::vector ::const_iterator _iter1268; + for (_iter1268 = this->partNames.begin(); _iter1268 != this->partNames.end(); ++_iter1268) { - xfer += oprot->writeString((*_iter1258)); + xfer += oprot->writeString((*_iter1268)); } xfer += oprot->writeListEnd(); } @@ -6808,10 +6808,10 @@ uint32_t ThriftHiveMetastore_truncate_table_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->partNames)).size())); - std::vector ::const_iterator _iter1259; - for (_iter1259 = (*(this->partNames)).begin(); _iter1259 != (*(this->partNames)).end(); ++_iter1259) + std::vector ::const_iterator _iter1269; + for (_iter1269 = (*(this->partNames)).begin(); _iter1269 != (*(this->partNames)).end(); ++_iter1269) { - xfer += oprot->writeString((*_iter1259)); + xfer += oprot->writeString((*_iter1269)); } xfer += oprot->writeListEnd(); } @@ -7055,14 +7055,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1260; - ::apache::thrift::protocol::TType _etype1263; - xfer += iprot->readListBegin(_etype1263, _size1260); - this->success.resize(_size1260); - uint32_t _i1264; - for (_i1264 = 0; _i1264 < _size1260; ++_i1264) + uint32_t _size1270; + ::apache::thrift::protocol::TType _etype1273; + xfer += iprot->readListBegin(_etype1273, _size1270); + this->success.resize(_size1270); + uint32_t _i1274; + for (_i1274 = 0; _i1274 < _size1270; ++_i1274) { - xfer += iprot->readString(this->success[_i1264]); + xfer += iprot->readString(this->success[_i1274]); } xfer += iprot->readListEnd(); } @@ -7101,10 +7101,10 @@ uint32_t ThriftHiveMetastore_get_tables_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1265; - for (_iter1265 = this->success.begin(); _iter1265 != this->success.end(); ++_iter1265) + std::vector ::const_iterator _iter1275; + for (_iter1275 = this->success.begin(); _iter1275 != this->success.end(); ++_iter1275) { - xfer += oprot->writeString((*_iter1265)); + xfer += oprot->writeString((*_iter1275)); } xfer += oprot->writeListEnd(); } @@ -7149,14 +7149,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1266; - ::apache::thrift::protocol::TType _etype1269; - xfer += iprot->readListBegin(_etype1269, _size1266); - (*(this->success)).resize(_size1266); - uint32_t _i1270; - for (_i1270 = 0; _i1270 < _size1266; ++_i1270) + uint32_t _size1276; + ::apache::thrift::protocol::TType _etype1279; + xfer += iprot->readListBegin(_etype1279, _size1276); + (*(this->success)).resize(_size1276); + uint32_t _i1280; + for (_i1280 = 0; _i1280 < _size1276; ++_i1280) { - xfer += iprot->readString((*(this->success))[_i1270]); + xfer += iprot->readString((*(this->success))[_i1280]); } xfer += iprot->readListEnd(); } @@ -7326,14 +7326,14 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_result::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1271; - ::apache::thrift::protocol::TType _etype1274; - xfer += iprot->readListBegin(_etype1274, _size1271); - this->success.resize(_size1271); - uint32_t _i1275; - for (_i1275 = 0; _i1275 < _size1271; ++_i1275) + uint32_t _size1281; + ::apache::thrift::protocol::TType _etype1284; + xfer += iprot->readListBegin(_etype1284, _size1281); + this->success.resize(_size1281); + uint32_t _i1285; + for (_i1285 = 0; _i1285 < _size1281; ++_i1285) { - xfer += iprot->readString(this->success[_i1275]); + xfer += iprot->readString(this->success[_i1285]); } xfer += iprot->readListEnd(); } @@ -7372,10 +7372,10 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_result::write(::apache::thrift:: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1276; - for (_iter1276 = this->success.begin(); _iter1276 != this->success.end(); ++_iter1276) + std::vector ::const_iterator _iter1286; + for (_iter1286 = this->success.begin(); _iter1286 != this->success.end(); ++_iter1286) { - xfer += oprot->writeString((*_iter1276)); + xfer += oprot->writeString((*_iter1286)); } xfer += oprot->writeListEnd(); } @@ -7420,14 +7420,14 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_presult::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1277; - ::apache::thrift::protocol::TType _etype1280; - xfer += iprot->readListBegin(_etype1280, _size1277); - (*(this->success)).resize(_size1277); - uint32_t _i1281; - for (_i1281 = 0; _i1281 < _size1277; ++_i1281) + uint32_t _size1287; + ::apache::thrift::protocol::TType _etype1290; + xfer += iprot->readListBegin(_etype1290, _size1287); + (*(this->success)).resize(_size1287); + uint32_t _i1291; + for (_i1291 = 0; _i1291 < _size1287; ++_i1291) { - xfer += iprot->readString((*(this->success))[_i1281]); + xfer += iprot->readString((*(this->success))[_i1291]); } xfer += iprot->readListEnd(); } @@ -7565,14 +7565,14 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_result::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1282; - ::apache::thrift::protocol::TType _etype1285; - xfer += iprot->readListBegin(_etype1285, _size1282); - this->success.resize(_size1282); - uint32_t _i1286; - for (_i1286 = 0; _i1286 < _size1282; ++_i1286) + uint32_t _size1292; + ::apache::thrift::protocol::TType _etype1295; + xfer += iprot->readListBegin(_etype1295, _size1292); + this->success.resize(_size1292); + uint32_t _i1296; + for (_i1296 = 0; _i1296 < _size1292; ++_i1296) { - xfer += iprot->readString(this->success[_i1286]); + xfer += iprot->readString(this->success[_i1296]); } xfer += iprot->readListEnd(); } @@ -7611,10 +7611,10 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_result::write( xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1287; - for (_iter1287 = this->success.begin(); _iter1287 != this->success.end(); ++_iter1287) + std::vector ::const_iterator _iter1297; + for (_iter1297 = this->success.begin(); _iter1297 != this->success.end(); ++_iter1297) { - xfer += oprot->writeString((*_iter1287)); + xfer += oprot->writeString((*_iter1297)); } xfer += oprot->writeListEnd(); } @@ -7659,14 +7659,14 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_presult::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1288; - ::apache::thrift::protocol::TType _etype1291; - xfer += iprot->readListBegin(_etype1291, _size1288); - (*(this->success)).resize(_size1288); - uint32_t _i1292; - for (_i1292 = 0; _i1292 < _size1288; ++_i1292) + uint32_t _size1298; + ::apache::thrift::protocol::TType _etype1301; + xfer += iprot->readListBegin(_etype1301, _size1298); + (*(this->success)).resize(_size1298); + uint32_t _i1302; + for (_i1302 = 0; _i1302 < _size1298; ++_i1302) { - xfer += iprot->readString((*(this->success))[_i1292]); + xfer += iprot->readString((*(this->success))[_i1302]); } xfer += iprot->readListEnd(); } @@ -7741,14 +7741,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_types.clear(); - uint32_t _size1293; - ::apache::thrift::protocol::TType _etype1296; - xfer += iprot->readListBegin(_etype1296, _size1293); - this->tbl_types.resize(_size1293); - uint32_t _i1297; - for (_i1297 = 0; _i1297 < _size1293; ++_i1297) + uint32_t _size1303; + ::apache::thrift::protocol::TType _etype1306; + xfer += iprot->readListBegin(_etype1306, _size1303); + this->tbl_types.resize(_size1303); + uint32_t _i1307; + for (_i1307 = 0; _i1307 < _size1303; ++_i1307) { - xfer += iprot->readString(this->tbl_types[_i1297]); + xfer += iprot->readString(this->tbl_types[_i1307]); } xfer += iprot->readListEnd(); } @@ -7785,10 +7785,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("tbl_types", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tbl_types.size())); - std::vector ::const_iterator _iter1298; - for (_iter1298 = this->tbl_types.begin(); _iter1298 != this->tbl_types.end(); ++_iter1298) + std::vector ::const_iterator _iter1308; + for (_iter1308 = this->tbl_types.begin(); _iter1308 != this->tbl_types.end(); ++_iter1308) { - xfer += oprot->writeString((*_iter1298)); + xfer += oprot->writeString((*_iter1308)); } xfer += oprot->writeListEnd(); } @@ -7820,10 +7820,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("tbl_types", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->tbl_types)).size())); - std::vector ::const_iterator _iter1299; - for (_iter1299 = (*(this->tbl_types)).begin(); _iter1299 != (*(this->tbl_types)).end(); ++_iter1299) + std::vector ::const_iterator _iter1309; + for (_iter1309 = (*(this->tbl_types)).begin(); _iter1309 != (*(this->tbl_types)).end(); ++_iter1309) { - xfer += oprot->writeString((*_iter1299)); + xfer += oprot->writeString((*_iter1309)); } xfer += oprot->writeListEnd(); } @@ -7864,14 +7864,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1300; - ::apache::thrift::protocol::TType _etype1303; - xfer += iprot->readListBegin(_etype1303, _size1300); - this->success.resize(_size1300); - uint32_t _i1304; - for (_i1304 = 0; _i1304 < _size1300; ++_i1304) + uint32_t _size1310; + ::apache::thrift::protocol::TType _etype1313; + xfer += iprot->readListBegin(_etype1313, _size1310); + this->success.resize(_size1310); + uint32_t _i1314; + for (_i1314 = 0; _i1314 < _size1310; ++_i1314) { - xfer += this->success[_i1304].read(iprot); + xfer += this->success[_i1314].read(iprot); } xfer += iprot->readListEnd(); } @@ -7910,10 +7910,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1305; - for (_iter1305 = this->success.begin(); _iter1305 != this->success.end(); ++_iter1305) + std::vector ::const_iterator _iter1315; + for (_iter1315 = this->success.begin(); _iter1315 != this->success.end(); ++_iter1315) { - xfer += (*_iter1305).write(oprot); + xfer += (*_iter1315).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7958,14 +7958,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1306; - ::apache::thrift::protocol::TType _etype1309; - xfer += iprot->readListBegin(_etype1309, _size1306); - (*(this->success)).resize(_size1306); - uint32_t _i1310; - for (_i1310 = 0; _i1310 < _size1306; ++_i1310) + uint32_t _size1316; + ::apache::thrift::protocol::TType _etype1319; + xfer += iprot->readListBegin(_etype1319, _size1316); + (*(this->success)).resize(_size1316); + uint32_t _i1320; + for (_i1320 = 0; _i1320 < _size1316; ++_i1320) { - xfer += (*(this->success))[_i1310].read(iprot); + xfer += (*(this->success))[_i1320].read(iprot); } xfer += iprot->readListEnd(); } @@ -8103,14 +8103,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1311; - ::apache::thrift::protocol::TType _etype1314; - xfer += iprot->readListBegin(_etype1314, _size1311); - this->success.resize(_size1311); - uint32_t _i1315; - for (_i1315 = 0; _i1315 < _size1311; ++_i1315) + uint32_t _size1321; + ::apache::thrift::protocol::TType _etype1324; + xfer += iprot->readListBegin(_etype1324, _size1321); + this->success.resize(_size1321); + uint32_t _i1325; + for (_i1325 = 0; _i1325 < _size1321; ++_i1325) { - xfer += iprot->readString(this->success[_i1315]); + xfer += iprot->readString(this->success[_i1325]); } xfer += iprot->readListEnd(); } @@ -8149,10 +8149,10 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1316; - for (_iter1316 = this->success.begin(); _iter1316 != this->success.end(); ++_iter1316) + std::vector ::const_iterator _iter1326; + for (_iter1326 = this->success.begin(); _iter1326 != this->success.end(); ++_iter1326) { - xfer += oprot->writeString((*_iter1316)); + xfer += oprot->writeString((*_iter1326)); } xfer += oprot->writeListEnd(); } @@ -8197,14 +8197,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1317; - ::apache::thrift::protocol::TType _etype1320; - xfer += iprot->readListBegin(_etype1320, _size1317); - (*(this->success)).resize(_size1317); - uint32_t _i1321; - for (_i1321 = 0; _i1321 < _size1317; ++_i1321) + uint32_t _size1327; + ::apache::thrift::protocol::TType _etype1330; + xfer += iprot->readListBegin(_etype1330, _size1327); + (*(this->success)).resize(_size1327); + uint32_t _i1331; + for (_i1331 = 0; _i1331 < _size1327; ++_i1331) { - xfer += iprot->readString((*(this->success))[_i1321]); + xfer += iprot->readString((*(this->success))[_i1331]); } xfer += iprot->readListEnd(); } @@ -8514,14 +8514,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_names.clear(); - uint32_t _size1322; - ::apache::thrift::protocol::TType _etype1325; - xfer += iprot->readListBegin(_etype1325, _size1322); - this->tbl_names.resize(_size1322); - uint32_t _i1326; - for (_i1326 = 0; _i1326 < _size1322; ++_i1326) + uint32_t _size1332; + ::apache::thrift::protocol::TType _etype1335; + xfer += iprot->readListBegin(_etype1335, _size1332); + this->tbl_names.resize(_size1332); + uint32_t _i1336; + for (_i1336 = 0; _i1336 < _size1332; ++_i1336) { - xfer += iprot->readString(this->tbl_names[_i1326]); + xfer += iprot->readString(this->tbl_names[_i1336]); } xfer += iprot->readListEnd(); } @@ -8554,10 +8554,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::write(::apache::thr xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tbl_names.size())); - std::vector ::const_iterator _iter1327; - for (_iter1327 = this->tbl_names.begin(); _iter1327 != this->tbl_names.end(); ++_iter1327) + std::vector ::const_iterator _iter1337; + for (_iter1337 = this->tbl_names.begin(); _iter1337 != this->tbl_names.end(); ++_iter1337) { - xfer += oprot->writeString((*_iter1327)); + xfer += oprot->writeString((*_iter1337)); } xfer += oprot->writeListEnd(); } @@ -8585,10 +8585,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_pargs::write(::apache::th xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->tbl_names)).size())); - std::vector ::const_iterator _iter1328; - for (_iter1328 = (*(this->tbl_names)).begin(); _iter1328 != (*(this->tbl_names)).end(); ++_iter1328) + std::vector ::const_iterator _iter1338; + for (_iter1338 = (*(this->tbl_names)).begin(); _iter1338 != (*(this->tbl_names)).end(); ++_iter1338) { - xfer += oprot->writeString((*_iter1328)); + xfer += oprot->writeString((*_iter1338)); } xfer += oprot->writeListEnd(); } @@ -8629,14 +8629,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1329; - ::apache::thrift::protocol::TType _etype1332; - xfer += iprot->readListBegin(_etype1332, _size1329); - this->success.resize(_size1329); - uint32_t _i1333; - for (_i1333 = 0; _i1333 < _size1329; ++_i1333) + uint32_t _size1339; + ::apache::thrift::protocol::TType _etype1342; + xfer += iprot->readListBegin(_etype1342, _size1339); + this->success.resize(_size1339); + uint32_t _i1343; + for (_i1343 = 0; _i1343 < _size1339; ++_i1343) { - xfer += this->success[_i1333].read(iprot); + xfer += this->success[_i1343].read(iprot); } xfer += iprot->readListEnd(); } @@ -8667,10 +8667,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1334; - for (_iter1334 = this->success.begin(); _iter1334 != this->success.end(); ++_iter1334) + std::vector
::const_iterator _iter1344; + for (_iter1344 = this->success.begin(); _iter1344 != this->success.end(); ++_iter1344) { - xfer += (*_iter1334).write(oprot); + xfer += (*_iter1344).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8711,14 +8711,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1335; - ::apache::thrift::protocol::TType _etype1338; - xfer += iprot->readListBegin(_etype1338, _size1335); - (*(this->success)).resize(_size1335); - uint32_t _i1339; - for (_i1339 = 0; _i1339 < _size1335; ++_i1339) + uint32_t _size1345; + ::apache::thrift::protocol::TType _etype1348; + xfer += iprot->readListBegin(_etype1348, _size1345); + (*(this->success)).resize(_size1345); + uint32_t _i1349; + for (_i1349 = 0; _i1349 < _size1345; ++_i1349) { - xfer += (*(this->success))[_i1339].read(iprot); + xfer += (*(this->success))[_i1349].read(iprot); } xfer += iprot->readListEnd(); } @@ -9251,14 +9251,14 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_args::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_names.clear(); - uint32_t _size1340; - ::apache::thrift::protocol::TType _etype1343; - xfer += iprot->readListBegin(_etype1343, _size1340); - this->tbl_names.resize(_size1340); - uint32_t _i1344; - for (_i1344 = 0; _i1344 < _size1340; ++_i1344) + uint32_t _size1350; + ::apache::thrift::protocol::TType _etype1353; + xfer += iprot->readListBegin(_etype1353, _size1350); + this->tbl_names.resize(_size1350); + uint32_t _i1354; + for (_i1354 = 0; _i1354 < _size1350; ++_i1354) { - xfer += iprot->readString(this->tbl_names[_i1344]); + xfer += iprot->readString(this->tbl_names[_i1354]); } xfer += iprot->readListEnd(); } @@ -9291,10 +9291,10 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_args::write(: xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tbl_names.size())); - std::vector ::const_iterator _iter1345; - for (_iter1345 = this->tbl_names.begin(); _iter1345 != this->tbl_names.end(); ++_iter1345) + std::vector ::const_iterator _iter1355; + for (_iter1355 = this->tbl_names.begin(); _iter1355 != this->tbl_names.end(); ++_iter1355) { - xfer += oprot->writeString((*_iter1345)); + xfer += oprot->writeString((*_iter1355)); } xfer += oprot->writeListEnd(); } @@ -9322,10 +9322,10 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_pargs::write( xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->tbl_names)).size())); - std::vector ::const_iterator _iter1346; - for (_iter1346 = (*(this->tbl_names)).begin(); _iter1346 != (*(this->tbl_names)).end(); ++_iter1346) + std::vector ::const_iterator _iter1356; + for (_iter1356 = (*(this->tbl_names)).begin(); _iter1356 != (*(this->tbl_names)).end(); ++_iter1356) { - xfer += oprot->writeString((*_iter1346)); + xfer += oprot->writeString((*_iter1356)); } xfer += oprot->writeListEnd(); } @@ -9366,17 +9366,17 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_result::read( if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1347; - ::apache::thrift::protocol::TType _ktype1348; - ::apache::thrift::protocol::TType _vtype1349; - xfer += iprot->readMapBegin(_ktype1348, _vtype1349, _size1347); - uint32_t _i1351; - for (_i1351 = 0; _i1351 < _size1347; ++_i1351) + uint32_t _size1357; + ::apache::thrift::protocol::TType _ktype1358; + ::apache::thrift::protocol::TType _vtype1359; + xfer += iprot->readMapBegin(_ktype1358, _vtype1359, _size1357); + uint32_t _i1361; + for (_i1361 = 0; _i1361 < _size1357; ++_i1361) { - std::string _key1352; - xfer += iprot->readString(_key1352); - Materialization& _val1353 = this->success[_key1352]; - xfer += _val1353.read(iprot); + std::string _key1362; + xfer += iprot->readString(_key1362); + Materialization& _val1363 = this->success[_key1362]; + xfer += _val1363.read(iprot); } xfer += iprot->readMapEnd(); } @@ -9431,11 +9431,11 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_result::write xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::map ::const_iterator _iter1354; - for (_iter1354 = this->success.begin(); _iter1354 != this->success.end(); ++_iter1354) + std::map ::const_iterator _iter1364; + for (_iter1364 = this->success.begin(); _iter1364 != this->success.end(); ++_iter1364) { - xfer += oprot->writeString(_iter1354->first); - xfer += _iter1354->second.write(oprot); + xfer += oprot->writeString(_iter1364->first); + xfer += _iter1364->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -9488,17 +9488,17 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_presult::read if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1355; - ::apache::thrift::protocol::TType _ktype1356; - ::apache::thrift::protocol::TType _vtype1357; - xfer += iprot->readMapBegin(_ktype1356, _vtype1357, _size1355); - uint32_t _i1359; - for (_i1359 = 0; _i1359 < _size1355; ++_i1359) + uint32_t _size1365; + ::apache::thrift::protocol::TType _ktype1366; + ::apache::thrift::protocol::TType _vtype1367; + xfer += iprot->readMapBegin(_ktype1366, _vtype1367, _size1365); + uint32_t _i1369; + for (_i1369 = 0; _i1369 < _size1365; ++_i1369) { - std::string _key1360; - xfer += iprot->readString(_key1360); - Materialization& _val1361 = (*(this->success))[_key1360]; - xfer += _val1361.read(iprot); + std::string _key1370; + xfer += iprot->readString(_key1370); + Materialization& _val1371 = (*(this->success))[_key1370]; + xfer += _val1371.read(iprot); } xfer += iprot->readMapEnd(); } @@ -9943,14 +9943,14 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1362; - ::apache::thrift::protocol::TType _etype1365; - xfer += iprot->readListBegin(_etype1365, _size1362); - this->success.resize(_size1362); - uint32_t _i1366; - for (_i1366 = 0; _i1366 < _size1362; ++_i1366) + uint32_t _size1372; + ::apache::thrift::protocol::TType _etype1375; + xfer += iprot->readListBegin(_etype1375, _size1372); + this->success.resize(_size1372); + uint32_t _i1376; + for (_i1376 = 0; _i1376 < _size1372; ++_i1376) { - xfer += iprot->readString(this->success[_i1366]); + xfer += iprot->readString(this->success[_i1376]); } xfer += iprot->readListEnd(); } @@ -10005,10 +10005,10 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1367; - for (_iter1367 = this->success.begin(); _iter1367 != this->success.end(); ++_iter1367) + std::vector ::const_iterator _iter1377; + for (_iter1377 = this->success.begin(); _iter1377 != this->success.end(); ++_iter1377) { - xfer += oprot->writeString((*_iter1367)); + xfer += oprot->writeString((*_iter1377)); } xfer += oprot->writeListEnd(); } @@ -10061,14 +10061,14 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1368; - ::apache::thrift::protocol::TType _etype1371; - xfer += iprot->readListBegin(_etype1371, _size1368); - (*(this->success)).resize(_size1368); - uint32_t _i1372; - for (_i1372 = 0; _i1372 < _size1368; ++_i1372) + uint32_t _size1378; + ::apache::thrift::protocol::TType _etype1381; + xfer += iprot->readListBegin(_etype1381, _size1378); + (*(this->success)).resize(_size1378); + uint32_t _i1382; + for (_i1382 = 0; _i1382 < _size1378; ++_i1382) { - xfer += iprot->readString((*(this->success))[_i1372]); + xfer += iprot->readString((*(this->success))[_i1382]); } xfer += iprot->readListEnd(); } @@ -11402,14 +11402,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1373; - ::apache::thrift::protocol::TType _etype1376; - xfer += iprot->readListBegin(_etype1376, _size1373); - this->new_parts.resize(_size1373); - uint32_t _i1377; - for (_i1377 = 0; _i1377 < _size1373; ++_i1377) + uint32_t _size1383; + ::apache::thrift::protocol::TType _etype1386; + xfer += iprot->readListBegin(_etype1386, _size1383); + this->new_parts.resize(_size1383); + uint32_t _i1387; + for (_i1387 = 0; _i1387 < _size1383; ++_i1387) { - xfer += this->new_parts[_i1377].read(iprot); + xfer += this->new_parts[_i1387].read(iprot); } xfer += iprot->readListEnd(); } @@ -11438,10 +11438,10 @@ uint32_t ThriftHiveMetastore_add_partitions_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter1378; - for (_iter1378 = this->new_parts.begin(); _iter1378 != this->new_parts.end(); ++_iter1378) + std::vector ::const_iterator _iter1388; + for (_iter1388 = this->new_parts.begin(); _iter1388 != this->new_parts.end(); ++_iter1388) { - xfer += (*_iter1378).write(oprot); + xfer += (*_iter1388).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11465,10 +11465,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter1379; - for (_iter1379 = (*(this->new_parts)).begin(); _iter1379 != (*(this->new_parts)).end(); ++_iter1379) + std::vector ::const_iterator _iter1389; + for (_iter1389 = (*(this->new_parts)).begin(); _iter1389 != (*(this->new_parts)).end(); ++_iter1389) { - xfer += (*_iter1379).write(oprot); + xfer += (*_iter1389).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11677,14 +11677,14 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1380; - ::apache::thrift::protocol::TType _etype1383; - xfer += iprot->readListBegin(_etype1383, _size1380); - this->new_parts.resize(_size1380); - uint32_t _i1384; - for (_i1384 = 0; _i1384 < _size1380; ++_i1384) + uint32_t _size1390; + ::apache::thrift::protocol::TType _etype1393; + xfer += iprot->readListBegin(_etype1393, _size1390); + this->new_parts.resize(_size1390); + uint32_t _i1394; + for (_i1394 = 0; _i1394 < _size1390; ++_i1394) { - xfer += this->new_parts[_i1384].read(iprot); + xfer += this->new_parts[_i1394].read(iprot); } xfer += iprot->readListEnd(); } @@ -11713,10 +11713,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::write(::apache::thrift:: xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter1385; - for (_iter1385 = this->new_parts.begin(); _iter1385 != this->new_parts.end(); ++_iter1385) + std::vector ::const_iterator _iter1395; + for (_iter1395 = this->new_parts.begin(); _iter1395 != this->new_parts.end(); ++_iter1395) { - xfer += (*_iter1385).write(oprot); + xfer += (*_iter1395).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11740,10 +11740,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_pargs::write(::apache::thrift: xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter1386; - for (_iter1386 = (*(this->new_parts)).begin(); _iter1386 != (*(this->new_parts)).end(); ++_iter1386) + std::vector ::const_iterator _iter1396; + for (_iter1396 = (*(this->new_parts)).begin(); _iter1396 != (*(this->new_parts)).end(); ++_iter1396) { - xfer += (*_iter1386).write(oprot); + xfer += (*_iter1396).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11968,14 +11968,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1387; - ::apache::thrift::protocol::TType _etype1390; - xfer += iprot->readListBegin(_etype1390, _size1387); - this->part_vals.resize(_size1387); - uint32_t _i1391; - for (_i1391 = 0; _i1391 < _size1387; ++_i1391) + uint32_t _size1397; + ::apache::thrift::protocol::TType _etype1400; + xfer += iprot->readListBegin(_etype1400, _size1397); + this->part_vals.resize(_size1397); + uint32_t _i1401; + for (_i1401 = 0; _i1401 < _size1397; ++_i1401) { - xfer += iprot->readString(this->part_vals[_i1391]); + xfer += iprot->readString(this->part_vals[_i1401]); } xfer += iprot->readListEnd(); } @@ -12012,10 +12012,10 @@ uint32_t ThriftHiveMetastore_append_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1392; - for (_iter1392 = this->part_vals.begin(); _iter1392 != this->part_vals.end(); ++_iter1392) + std::vector ::const_iterator _iter1402; + for (_iter1402 = this->part_vals.begin(); _iter1402 != this->part_vals.end(); ++_iter1402) { - xfer += oprot->writeString((*_iter1392)); + xfer += oprot->writeString((*_iter1402)); } xfer += oprot->writeListEnd(); } @@ -12047,10 +12047,10 @@ uint32_t ThriftHiveMetastore_append_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1393; - for (_iter1393 = (*(this->part_vals)).begin(); _iter1393 != (*(this->part_vals)).end(); ++_iter1393) + std::vector ::const_iterator _iter1403; + for (_iter1403 = (*(this->part_vals)).begin(); _iter1403 != (*(this->part_vals)).end(); ++_iter1403) { - xfer += oprot->writeString((*_iter1393)); + xfer += oprot->writeString((*_iter1403)); } xfer += oprot->writeListEnd(); } @@ -12522,14 +12522,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1394; - ::apache::thrift::protocol::TType _etype1397; - xfer += iprot->readListBegin(_etype1397, _size1394); - this->part_vals.resize(_size1394); - uint32_t _i1398; - for (_i1398 = 0; _i1398 < _size1394; ++_i1398) + uint32_t _size1404; + ::apache::thrift::protocol::TType _etype1407; + xfer += iprot->readListBegin(_etype1407, _size1404); + this->part_vals.resize(_size1404); + uint32_t _i1408; + for (_i1408 = 0; _i1408 < _size1404; ++_i1408) { - xfer += iprot->readString(this->part_vals[_i1398]); + xfer += iprot->readString(this->part_vals[_i1408]); } xfer += iprot->readListEnd(); } @@ -12574,10 +12574,10 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::wri xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1399; - for (_iter1399 = this->part_vals.begin(); _iter1399 != this->part_vals.end(); ++_iter1399) + std::vector ::const_iterator _iter1409; + for (_iter1409 = this->part_vals.begin(); _iter1409 != this->part_vals.end(); ++_iter1409) { - xfer += oprot->writeString((*_iter1399)); + xfer += oprot->writeString((*_iter1409)); } xfer += oprot->writeListEnd(); } @@ -12613,10 +12613,10 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_pargs::wr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1400; - for (_iter1400 = (*(this->part_vals)).begin(); _iter1400 != (*(this->part_vals)).end(); ++_iter1400) + std::vector ::const_iterator _iter1410; + for (_iter1410 = (*(this->part_vals)).begin(); _iter1410 != (*(this->part_vals)).end(); ++_iter1410) { - xfer += oprot->writeString((*_iter1400)); + xfer += oprot->writeString((*_iter1410)); } xfer += oprot->writeListEnd(); } @@ -13419,14 +13419,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1401; - ::apache::thrift::protocol::TType _etype1404; - xfer += iprot->readListBegin(_etype1404, _size1401); - this->part_vals.resize(_size1401); - uint32_t _i1405; - for (_i1405 = 0; _i1405 < _size1401; ++_i1405) + uint32_t _size1411; + ::apache::thrift::protocol::TType _etype1414; + xfer += iprot->readListBegin(_etype1414, _size1411); + this->part_vals.resize(_size1411); + uint32_t _i1415; + for (_i1415 = 0; _i1415 < _size1411; ++_i1415) { - xfer += iprot->readString(this->part_vals[_i1405]); + xfer += iprot->readString(this->part_vals[_i1415]); } xfer += iprot->readListEnd(); } @@ -13471,10 +13471,10 @@ uint32_t ThriftHiveMetastore_drop_partition_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1406; - for (_iter1406 = this->part_vals.begin(); _iter1406 != this->part_vals.end(); ++_iter1406) + std::vector ::const_iterator _iter1416; + for (_iter1416 = this->part_vals.begin(); _iter1416 != this->part_vals.end(); ++_iter1416) { - xfer += oprot->writeString((*_iter1406)); + xfer += oprot->writeString((*_iter1416)); } xfer += oprot->writeListEnd(); } @@ -13510,10 +13510,10 @@ uint32_t ThriftHiveMetastore_drop_partition_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1407; - for (_iter1407 = (*(this->part_vals)).begin(); _iter1407 != (*(this->part_vals)).end(); ++_iter1407) + std::vector ::const_iterator _iter1417; + for (_iter1417 = (*(this->part_vals)).begin(); _iter1417 != (*(this->part_vals)).end(); ++_iter1417) { - xfer += oprot->writeString((*_iter1407)); + xfer += oprot->writeString((*_iter1417)); } xfer += oprot->writeListEnd(); } @@ -13722,14 +13722,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1408; - ::apache::thrift::protocol::TType _etype1411; - xfer += iprot->readListBegin(_etype1411, _size1408); - this->part_vals.resize(_size1408); - uint32_t _i1412; - for (_i1412 = 0; _i1412 < _size1408; ++_i1412) + uint32_t _size1418; + ::apache::thrift::protocol::TType _etype1421; + xfer += iprot->readListBegin(_etype1421, _size1418); + this->part_vals.resize(_size1418); + uint32_t _i1422; + for (_i1422 = 0; _i1422 < _size1418; ++_i1422) { - xfer += iprot->readString(this->part_vals[_i1412]); + xfer += iprot->readString(this->part_vals[_i1422]); } xfer += iprot->readListEnd(); } @@ -13782,10 +13782,10 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::write xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1413; - for (_iter1413 = this->part_vals.begin(); _iter1413 != this->part_vals.end(); ++_iter1413) + std::vector ::const_iterator _iter1423; + for (_iter1423 = this->part_vals.begin(); _iter1423 != this->part_vals.end(); ++_iter1423) { - xfer += oprot->writeString((*_iter1413)); + xfer += oprot->writeString((*_iter1423)); } xfer += oprot->writeListEnd(); } @@ -13825,10 +13825,10 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_pargs::writ xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1414; - for (_iter1414 = (*(this->part_vals)).begin(); _iter1414 != (*(this->part_vals)).end(); ++_iter1414) + std::vector ::const_iterator _iter1424; + for (_iter1424 = (*(this->part_vals)).begin(); _iter1424 != (*(this->part_vals)).end(); ++_iter1424) { - xfer += oprot->writeString((*_iter1414)); + xfer += oprot->writeString((*_iter1424)); } xfer += oprot->writeListEnd(); } @@ -14834,14 +14834,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1415; - ::apache::thrift::protocol::TType _etype1418; - xfer += iprot->readListBegin(_etype1418, _size1415); - this->part_vals.resize(_size1415); - uint32_t _i1419; - for (_i1419 = 0; _i1419 < _size1415; ++_i1419) + uint32_t _size1425; + ::apache::thrift::protocol::TType _etype1428; + xfer += iprot->readListBegin(_etype1428, _size1425); + this->part_vals.resize(_size1425); + uint32_t _i1429; + for (_i1429 = 0; _i1429 < _size1425; ++_i1429) { - xfer += iprot->readString(this->part_vals[_i1419]); + xfer += iprot->readString(this->part_vals[_i1429]); } xfer += iprot->readListEnd(); } @@ -14878,10 +14878,10 @@ uint32_t ThriftHiveMetastore_get_partition_args::write(::apache::thrift::protoco xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1420; - for (_iter1420 = this->part_vals.begin(); _iter1420 != this->part_vals.end(); ++_iter1420) + std::vector ::const_iterator _iter1430; + for (_iter1430 = this->part_vals.begin(); _iter1430 != this->part_vals.end(); ++_iter1430) { - xfer += oprot->writeString((*_iter1420)); + xfer += oprot->writeString((*_iter1430)); } xfer += oprot->writeListEnd(); } @@ -14913,10 +14913,10 @@ uint32_t ThriftHiveMetastore_get_partition_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1421; - for (_iter1421 = (*(this->part_vals)).begin(); _iter1421 != (*(this->part_vals)).end(); ++_iter1421) + std::vector ::const_iterator _iter1431; + for (_iter1431 = (*(this->part_vals)).begin(); _iter1431 != (*(this->part_vals)).end(); ++_iter1431) { - xfer += oprot->writeString((*_iter1421)); + xfer += oprot->writeString((*_iter1431)); } xfer += oprot->writeListEnd(); } @@ -15105,17 +15105,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1422; - ::apache::thrift::protocol::TType _ktype1423; - ::apache::thrift::protocol::TType _vtype1424; - xfer += iprot->readMapBegin(_ktype1423, _vtype1424, _size1422); - uint32_t _i1426; - for (_i1426 = 0; _i1426 < _size1422; ++_i1426) + uint32_t _size1432; + ::apache::thrift::protocol::TType _ktype1433; + ::apache::thrift::protocol::TType _vtype1434; + xfer += iprot->readMapBegin(_ktype1433, _vtype1434, _size1432); + uint32_t _i1436; + for (_i1436 = 0; _i1436 < _size1432; ++_i1436) { - std::string _key1427; - xfer += iprot->readString(_key1427); - std::string& _val1428 = this->partitionSpecs[_key1427]; - xfer += iprot->readString(_val1428); + std::string _key1437; + xfer += iprot->readString(_key1437); + std::string& _val1438 = this->partitionSpecs[_key1437]; + xfer += iprot->readString(_val1438); } xfer += iprot->readMapEnd(); } @@ -15176,11 +15176,11 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->partitionSpecs.size())); - std::map ::const_iterator _iter1429; - for (_iter1429 = this->partitionSpecs.begin(); _iter1429 != this->partitionSpecs.end(); ++_iter1429) + std::map ::const_iterator _iter1439; + for (_iter1439 = this->partitionSpecs.begin(); _iter1439 != this->partitionSpecs.end(); ++_iter1439) { - xfer += oprot->writeString(_iter1429->first); - xfer += oprot->writeString(_iter1429->second); + xfer += oprot->writeString(_iter1439->first); + xfer += oprot->writeString(_iter1439->second); } xfer += oprot->writeMapEnd(); } @@ -15220,11 +15220,11 @@ uint32_t ThriftHiveMetastore_exchange_partition_pargs::write(::apache::thrift::p xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->partitionSpecs)).size())); - std::map ::const_iterator _iter1430; - for (_iter1430 = (*(this->partitionSpecs)).begin(); _iter1430 != (*(this->partitionSpecs)).end(); ++_iter1430) + std::map ::const_iterator _iter1440; + for (_iter1440 = (*(this->partitionSpecs)).begin(); _iter1440 != (*(this->partitionSpecs)).end(); ++_iter1440) { - xfer += oprot->writeString(_iter1430->first); - xfer += oprot->writeString(_iter1430->second); + xfer += oprot->writeString(_iter1440->first); + xfer += oprot->writeString(_iter1440->second); } xfer += oprot->writeMapEnd(); } @@ -15469,17 +15469,17 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1431; - ::apache::thrift::protocol::TType _ktype1432; - ::apache::thrift::protocol::TType _vtype1433; - xfer += iprot->readMapBegin(_ktype1432, _vtype1433, _size1431); - uint32_t _i1435; - for (_i1435 = 0; _i1435 < _size1431; ++_i1435) + uint32_t _size1441; + ::apache::thrift::protocol::TType _ktype1442; + ::apache::thrift::protocol::TType _vtype1443; + xfer += iprot->readMapBegin(_ktype1442, _vtype1443, _size1441); + uint32_t _i1445; + for (_i1445 = 0; _i1445 < _size1441; ++_i1445) { - std::string _key1436; - xfer += iprot->readString(_key1436); - std::string& _val1437 = this->partitionSpecs[_key1436]; - xfer += iprot->readString(_val1437); + std::string _key1446; + xfer += iprot->readString(_key1446); + std::string& _val1447 = this->partitionSpecs[_key1446]; + xfer += iprot->readString(_val1447); } xfer += iprot->readMapEnd(); } @@ -15540,11 +15540,11 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::write(::apache::thrift::p xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->partitionSpecs.size())); - std::map ::const_iterator _iter1438; - for (_iter1438 = this->partitionSpecs.begin(); _iter1438 != this->partitionSpecs.end(); ++_iter1438) + std::map ::const_iterator _iter1448; + for (_iter1448 = this->partitionSpecs.begin(); _iter1448 != this->partitionSpecs.end(); ++_iter1448) { - xfer += oprot->writeString(_iter1438->first); - xfer += oprot->writeString(_iter1438->second); + xfer += oprot->writeString(_iter1448->first); + xfer += oprot->writeString(_iter1448->second); } xfer += oprot->writeMapEnd(); } @@ -15584,11 +15584,11 @@ uint32_t ThriftHiveMetastore_exchange_partitions_pargs::write(::apache::thrift:: xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->partitionSpecs)).size())); - std::map ::const_iterator _iter1439; - for (_iter1439 = (*(this->partitionSpecs)).begin(); _iter1439 != (*(this->partitionSpecs)).end(); ++_iter1439) + std::map ::const_iterator _iter1449; + for (_iter1449 = (*(this->partitionSpecs)).begin(); _iter1449 != (*(this->partitionSpecs)).end(); ++_iter1449) { - xfer += oprot->writeString(_iter1439->first); - xfer += oprot->writeString(_iter1439->second); + xfer += oprot->writeString(_iter1449->first); + xfer += oprot->writeString(_iter1449->second); } xfer += oprot->writeMapEnd(); } @@ -15645,14 +15645,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1440; - ::apache::thrift::protocol::TType _etype1443; - xfer += iprot->readListBegin(_etype1443, _size1440); - this->success.resize(_size1440); - uint32_t _i1444; - for (_i1444 = 0; _i1444 < _size1440; ++_i1444) + uint32_t _size1450; + ::apache::thrift::protocol::TType _etype1453; + xfer += iprot->readListBegin(_etype1453, _size1450); + this->success.resize(_size1450); + uint32_t _i1454; + for (_i1454 = 0; _i1454 < _size1450; ++_i1454) { - xfer += this->success[_i1444].read(iprot); + xfer += this->success[_i1454].read(iprot); } xfer += iprot->readListEnd(); } @@ -15715,10 +15715,10 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::write(::apache::thrift: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1445; - for (_iter1445 = this->success.begin(); _iter1445 != this->success.end(); ++_iter1445) + std::vector ::const_iterator _iter1455; + for (_iter1455 = this->success.begin(); _iter1455 != this->success.end(); ++_iter1455) { - xfer += (*_iter1445).write(oprot); + xfer += (*_iter1455).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15775,14 +15775,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1446; - ::apache::thrift::protocol::TType _etype1449; - xfer += iprot->readListBegin(_etype1449, _size1446); - (*(this->success)).resize(_size1446); - uint32_t _i1450; - for (_i1450 = 0; _i1450 < _size1446; ++_i1450) + uint32_t _size1456; + ::apache::thrift::protocol::TType _etype1459; + xfer += iprot->readListBegin(_etype1459, _size1456); + (*(this->success)).resize(_size1456); + uint32_t _i1460; + for (_i1460 = 0; _i1460 < _size1456; ++_i1460) { - xfer += (*(this->success))[_i1450].read(iprot); + xfer += (*(this->success))[_i1460].read(iprot); } xfer += iprot->readListEnd(); } @@ -15881,14 +15881,14 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1451; - ::apache::thrift::protocol::TType _etype1454; - xfer += iprot->readListBegin(_etype1454, _size1451); - this->part_vals.resize(_size1451); - uint32_t _i1455; - for (_i1455 = 0; _i1455 < _size1451; ++_i1455) + uint32_t _size1461; + ::apache::thrift::protocol::TType _etype1464; + xfer += iprot->readListBegin(_etype1464, _size1461); + this->part_vals.resize(_size1461); + uint32_t _i1465; + for (_i1465 = 0; _i1465 < _size1461; ++_i1465) { - xfer += iprot->readString(this->part_vals[_i1455]); + xfer += iprot->readString(this->part_vals[_i1465]); } xfer += iprot->readListEnd(); } @@ -15909,14 +15909,14 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1456; - ::apache::thrift::protocol::TType _etype1459; - xfer += iprot->readListBegin(_etype1459, _size1456); - this->group_names.resize(_size1456); - uint32_t _i1460; - for (_i1460 = 0; _i1460 < _size1456; ++_i1460) + uint32_t _size1466; + ::apache::thrift::protocol::TType _etype1469; + xfer += iprot->readListBegin(_etype1469, _size1466); + this->group_names.resize(_size1466); + uint32_t _i1470; + for (_i1470 = 0; _i1470 < _size1466; ++_i1470) { - xfer += iprot->readString(this->group_names[_i1460]); + xfer += iprot->readString(this->group_names[_i1470]); } xfer += iprot->readListEnd(); } @@ -15953,10 +15953,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1461; - for (_iter1461 = this->part_vals.begin(); _iter1461 != this->part_vals.end(); ++_iter1461) + std::vector ::const_iterator _iter1471; + for (_iter1471 = this->part_vals.begin(); _iter1471 != this->part_vals.end(); ++_iter1471) { - xfer += oprot->writeString((*_iter1461)); + xfer += oprot->writeString((*_iter1471)); } xfer += oprot->writeListEnd(); } @@ -15969,10 +15969,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1462; - for (_iter1462 = this->group_names.begin(); _iter1462 != this->group_names.end(); ++_iter1462) + std::vector ::const_iterator _iter1472; + for (_iter1472 = this->group_names.begin(); _iter1472 != this->group_names.end(); ++_iter1472) { - xfer += oprot->writeString((*_iter1462)); + xfer += oprot->writeString((*_iter1472)); } xfer += oprot->writeListEnd(); } @@ -16004,10 +16004,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1463; - for (_iter1463 = (*(this->part_vals)).begin(); _iter1463 != (*(this->part_vals)).end(); ++_iter1463) + std::vector ::const_iterator _iter1473; + for (_iter1473 = (*(this->part_vals)).begin(); _iter1473 != (*(this->part_vals)).end(); ++_iter1473) { - xfer += oprot->writeString((*_iter1463)); + xfer += oprot->writeString((*_iter1473)); } xfer += oprot->writeListEnd(); } @@ -16020,10 +16020,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1464; - for (_iter1464 = (*(this->group_names)).begin(); _iter1464 != (*(this->group_names)).end(); ++_iter1464) + std::vector ::const_iterator _iter1474; + for (_iter1474 = (*(this->group_names)).begin(); _iter1474 != (*(this->group_names)).end(); ++_iter1474) { - xfer += oprot->writeString((*_iter1464)); + xfer += oprot->writeString((*_iter1474)); } xfer += oprot->writeListEnd(); } @@ -16582,14 +16582,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1465; - ::apache::thrift::protocol::TType _etype1468; - xfer += iprot->readListBegin(_etype1468, _size1465); - this->success.resize(_size1465); - uint32_t _i1469; - for (_i1469 = 0; _i1469 < _size1465; ++_i1469) + uint32_t _size1475; + ::apache::thrift::protocol::TType _etype1478; + xfer += iprot->readListBegin(_etype1478, _size1475); + this->success.resize(_size1475); + uint32_t _i1479; + for (_i1479 = 0; _i1479 < _size1475; ++_i1479) { - xfer += this->success[_i1469].read(iprot); + xfer += this->success[_i1479].read(iprot); } xfer += iprot->readListEnd(); } @@ -16636,10 +16636,10 @@ uint32_t ThriftHiveMetastore_get_partitions_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1470; - for (_iter1470 = this->success.begin(); _iter1470 != this->success.end(); ++_iter1470) + std::vector ::const_iterator _iter1480; + for (_iter1480 = this->success.begin(); _iter1480 != this->success.end(); ++_iter1480) { - xfer += (*_iter1470).write(oprot); + xfer += (*_iter1480).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16688,14 +16688,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1471; - ::apache::thrift::protocol::TType _etype1474; - xfer += iprot->readListBegin(_etype1474, _size1471); - (*(this->success)).resize(_size1471); - uint32_t _i1475; - for (_i1475 = 0; _i1475 < _size1471; ++_i1475) + uint32_t _size1481; + ::apache::thrift::protocol::TType _etype1484; + xfer += iprot->readListBegin(_etype1484, _size1481); + (*(this->success)).resize(_size1481); + uint32_t _i1485; + for (_i1485 = 0; _i1485 < _size1481; ++_i1485) { - xfer += (*(this->success))[_i1475].read(iprot); + xfer += (*(this->success))[_i1485].read(iprot); } xfer += iprot->readListEnd(); } @@ -16794,14 +16794,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1476; - ::apache::thrift::protocol::TType _etype1479; - xfer += iprot->readListBegin(_etype1479, _size1476); - this->group_names.resize(_size1476); - uint32_t _i1480; - for (_i1480 = 0; _i1480 < _size1476; ++_i1480) + uint32_t _size1486; + ::apache::thrift::protocol::TType _etype1489; + xfer += iprot->readListBegin(_etype1489, _size1486); + this->group_names.resize(_size1486); + uint32_t _i1490; + for (_i1490 = 0; _i1490 < _size1486; ++_i1490) { - xfer += iprot->readString(this->group_names[_i1480]); + xfer += iprot->readString(this->group_names[_i1490]); } xfer += iprot->readListEnd(); } @@ -16846,10 +16846,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::write(::apache::thri xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1481; - for (_iter1481 = this->group_names.begin(); _iter1481 != this->group_names.end(); ++_iter1481) + std::vector ::const_iterator _iter1491; + for (_iter1491 = this->group_names.begin(); _iter1491 != this->group_names.end(); ++_iter1491) { - xfer += oprot->writeString((*_iter1481)); + xfer += oprot->writeString((*_iter1491)); } xfer += oprot->writeListEnd(); } @@ -16889,10 +16889,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_pargs::write(::apache::thr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1482; - for (_iter1482 = (*(this->group_names)).begin(); _iter1482 != (*(this->group_names)).end(); ++_iter1482) + std::vector ::const_iterator _iter1492; + for (_iter1492 = (*(this->group_names)).begin(); _iter1492 != (*(this->group_names)).end(); ++_iter1492) { - xfer += oprot->writeString((*_iter1482)); + xfer += oprot->writeString((*_iter1492)); } xfer += oprot->writeListEnd(); } @@ -16933,14 +16933,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1483; - ::apache::thrift::protocol::TType _etype1486; - xfer += iprot->readListBegin(_etype1486, _size1483); - this->success.resize(_size1483); - uint32_t _i1487; - for (_i1487 = 0; _i1487 < _size1483; ++_i1487) + uint32_t _size1493; + ::apache::thrift::protocol::TType _etype1496; + xfer += iprot->readListBegin(_etype1496, _size1493); + this->success.resize(_size1493); + uint32_t _i1497; + for (_i1497 = 0; _i1497 < _size1493; ++_i1497) { - xfer += this->success[_i1487].read(iprot); + xfer += this->success[_i1497].read(iprot); } xfer += iprot->readListEnd(); } @@ -16987,10 +16987,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1488; - for (_iter1488 = this->success.begin(); _iter1488 != this->success.end(); ++_iter1488) + std::vector ::const_iterator _iter1498; + for (_iter1498 = this->success.begin(); _iter1498 != this->success.end(); ++_iter1498) { - xfer += (*_iter1488).write(oprot); + xfer += (*_iter1498).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17039,14 +17039,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1489; - ::apache::thrift::protocol::TType _etype1492; - xfer += iprot->readListBegin(_etype1492, _size1489); - (*(this->success)).resize(_size1489); - uint32_t _i1493; - for (_i1493 = 0; _i1493 < _size1489; ++_i1493) + uint32_t _size1499; + ::apache::thrift::protocol::TType _etype1502; + xfer += iprot->readListBegin(_etype1502, _size1499); + (*(this->success)).resize(_size1499); + uint32_t _i1503; + for (_i1503 = 0; _i1503 < _size1499; ++_i1503) { - xfer += (*(this->success))[_i1493].read(iprot); + xfer += (*(this->success))[_i1503].read(iprot); } xfer += iprot->readListEnd(); } @@ -17224,14 +17224,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1494; - ::apache::thrift::protocol::TType _etype1497; - xfer += iprot->readListBegin(_etype1497, _size1494); - this->success.resize(_size1494); - uint32_t _i1498; - for (_i1498 = 0; _i1498 < _size1494; ++_i1498) + uint32_t _size1504; + ::apache::thrift::protocol::TType _etype1507; + xfer += iprot->readListBegin(_etype1507, _size1504); + this->success.resize(_size1504); + uint32_t _i1508; + for (_i1508 = 0; _i1508 < _size1504; ++_i1508) { - xfer += this->success[_i1498].read(iprot); + xfer += this->success[_i1508].read(iprot); } xfer += iprot->readListEnd(); } @@ -17278,10 +17278,10 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::write(::apache::thrift xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1499; - for (_iter1499 = this->success.begin(); _iter1499 != this->success.end(); ++_iter1499) + std::vector ::const_iterator _iter1509; + for (_iter1509 = this->success.begin(); _iter1509 != this->success.end(); ++_iter1509) { - xfer += (*_iter1499).write(oprot); + xfer += (*_iter1509).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17330,14 +17330,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1500; - ::apache::thrift::protocol::TType _etype1503; - xfer += iprot->readListBegin(_etype1503, _size1500); - (*(this->success)).resize(_size1500); - uint32_t _i1504; - for (_i1504 = 0; _i1504 < _size1500; ++_i1504) + uint32_t _size1510; + ::apache::thrift::protocol::TType _etype1513; + xfer += iprot->readListBegin(_etype1513, _size1510); + (*(this->success)).resize(_size1510); + uint32_t _i1514; + for (_i1514 = 0; _i1514 < _size1510; ++_i1514) { - xfer += (*(this->success))[_i1504].read(iprot); + xfer += (*(this->success))[_i1514].read(iprot); } xfer += iprot->readListEnd(); } @@ -17515,14 +17515,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1505; - ::apache::thrift::protocol::TType _etype1508; - xfer += iprot->readListBegin(_etype1508, _size1505); - this->success.resize(_size1505); - uint32_t _i1509; - for (_i1509 = 0; _i1509 < _size1505; ++_i1509) + uint32_t _size1515; + ::apache::thrift::protocol::TType _etype1518; + xfer += iprot->readListBegin(_etype1518, _size1515); + this->success.resize(_size1515); + uint32_t _i1519; + for (_i1519 = 0; _i1519 < _size1515; ++_i1519) { - xfer += iprot->readString(this->success[_i1509]); + xfer += iprot->readString(this->success[_i1519]); } xfer += iprot->readListEnd(); } @@ -17569,10 +17569,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::write(::apache::thrift: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1510; - for (_iter1510 = this->success.begin(); _iter1510 != this->success.end(); ++_iter1510) + std::vector ::const_iterator _iter1520; + for (_iter1520 = this->success.begin(); _iter1520 != this->success.end(); ++_iter1520) { - xfer += oprot->writeString((*_iter1510)); + xfer += oprot->writeString((*_iter1520)); } xfer += oprot->writeListEnd(); } @@ -17621,14 +17621,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1511; - ::apache::thrift::protocol::TType _etype1514; - xfer += iprot->readListBegin(_etype1514, _size1511); - (*(this->success)).resize(_size1511); - uint32_t _i1515; - for (_i1515 = 0; _i1515 < _size1511; ++_i1515) + uint32_t _size1521; + ::apache::thrift::protocol::TType _etype1524; + xfer += iprot->readListBegin(_etype1524, _size1521); + (*(this->success)).resize(_size1521); + uint32_t _i1525; + for (_i1525 = 0; _i1525 < _size1521; ++_i1525) { - xfer += iprot->readString((*(this->success))[_i1515]); + xfer += iprot->readString((*(this->success))[_i1525]); } xfer += iprot->readListEnd(); } @@ -17938,14 +17938,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1516; - ::apache::thrift::protocol::TType _etype1519; - xfer += iprot->readListBegin(_etype1519, _size1516); - this->part_vals.resize(_size1516); - uint32_t _i1520; - for (_i1520 = 0; _i1520 < _size1516; ++_i1520) + uint32_t _size1526; + ::apache::thrift::protocol::TType _etype1529; + xfer += iprot->readListBegin(_etype1529, _size1526); + this->part_vals.resize(_size1526); + uint32_t _i1530; + for (_i1530 = 0; _i1530 < _size1526; ++_i1530) { - xfer += iprot->readString(this->part_vals[_i1520]); + xfer += iprot->readString(this->part_vals[_i1530]); } xfer += iprot->readListEnd(); } @@ -17990,10 +17990,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1521; - for (_iter1521 = this->part_vals.begin(); _iter1521 != this->part_vals.end(); ++_iter1521) + std::vector ::const_iterator _iter1531; + for (_iter1531 = this->part_vals.begin(); _iter1531 != this->part_vals.end(); ++_iter1531) { - xfer += oprot->writeString((*_iter1521)); + xfer += oprot->writeString((*_iter1531)); } xfer += oprot->writeListEnd(); } @@ -18029,10 +18029,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1522; - for (_iter1522 = (*(this->part_vals)).begin(); _iter1522 != (*(this->part_vals)).end(); ++_iter1522) + std::vector ::const_iterator _iter1532; + for (_iter1532 = (*(this->part_vals)).begin(); _iter1532 != (*(this->part_vals)).end(); ++_iter1532) { - xfer += oprot->writeString((*_iter1522)); + xfer += oprot->writeString((*_iter1532)); } xfer += oprot->writeListEnd(); } @@ -18077,14 +18077,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1523; - ::apache::thrift::protocol::TType _etype1526; - xfer += iprot->readListBegin(_etype1526, _size1523); - this->success.resize(_size1523); - uint32_t _i1527; - for (_i1527 = 0; _i1527 < _size1523; ++_i1527) + uint32_t _size1533; + ::apache::thrift::protocol::TType _etype1536; + xfer += iprot->readListBegin(_etype1536, _size1533); + this->success.resize(_size1533); + uint32_t _i1537; + for (_i1537 = 0; _i1537 < _size1533; ++_i1537) { - xfer += this->success[_i1527].read(iprot); + xfer += this->success[_i1537].read(iprot); } xfer += iprot->readListEnd(); } @@ -18131,10 +18131,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::write(::apache::thrift::p xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1528; - for (_iter1528 = this->success.begin(); _iter1528 != this->success.end(); ++_iter1528) + std::vector ::const_iterator _iter1538; + for (_iter1538 = this->success.begin(); _iter1538 != this->success.end(); ++_iter1538) { - xfer += (*_iter1528).write(oprot); + xfer += (*_iter1538).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18183,14 +18183,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1529; - ::apache::thrift::protocol::TType _etype1532; - xfer += iprot->readListBegin(_etype1532, _size1529); - (*(this->success)).resize(_size1529); - uint32_t _i1533; - for (_i1533 = 0; _i1533 < _size1529; ++_i1533) + uint32_t _size1539; + ::apache::thrift::protocol::TType _etype1542; + xfer += iprot->readListBegin(_etype1542, _size1539); + (*(this->success)).resize(_size1539); + uint32_t _i1543; + for (_i1543 = 0; _i1543 < _size1539; ++_i1543) { - xfer += (*(this->success))[_i1533].read(iprot); + xfer += (*(this->success))[_i1543].read(iprot); } xfer += iprot->readListEnd(); } @@ -18273,14 +18273,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1534; - ::apache::thrift::protocol::TType _etype1537; - xfer += iprot->readListBegin(_etype1537, _size1534); - this->part_vals.resize(_size1534); - uint32_t _i1538; - for (_i1538 = 0; _i1538 < _size1534; ++_i1538) + uint32_t _size1544; + ::apache::thrift::protocol::TType _etype1547; + xfer += iprot->readListBegin(_etype1547, _size1544); + this->part_vals.resize(_size1544); + uint32_t _i1548; + for (_i1548 = 0; _i1548 < _size1544; ++_i1548) { - xfer += iprot->readString(this->part_vals[_i1538]); + xfer += iprot->readString(this->part_vals[_i1548]); } xfer += iprot->readListEnd(); } @@ -18309,14 +18309,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1539; - ::apache::thrift::protocol::TType _etype1542; - xfer += iprot->readListBegin(_etype1542, _size1539); - this->group_names.resize(_size1539); - uint32_t _i1543; - for (_i1543 = 0; _i1543 < _size1539; ++_i1543) + uint32_t _size1549; + ::apache::thrift::protocol::TType _etype1552; + xfer += iprot->readListBegin(_etype1552, _size1549); + this->group_names.resize(_size1549); + uint32_t _i1553; + for (_i1553 = 0; _i1553 < _size1549; ++_i1553) { - xfer += iprot->readString(this->group_names[_i1543]); + xfer += iprot->readString(this->group_names[_i1553]); } xfer += iprot->readListEnd(); } @@ -18353,10 +18353,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1544; - for (_iter1544 = this->part_vals.begin(); _iter1544 != this->part_vals.end(); ++_iter1544) + std::vector ::const_iterator _iter1554; + for (_iter1554 = this->part_vals.begin(); _iter1554 != this->part_vals.end(); ++_iter1554) { - xfer += oprot->writeString((*_iter1544)); + xfer += oprot->writeString((*_iter1554)); } xfer += oprot->writeListEnd(); } @@ -18373,10 +18373,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1545; - for (_iter1545 = this->group_names.begin(); _iter1545 != this->group_names.end(); ++_iter1545) + std::vector ::const_iterator _iter1555; + for (_iter1555 = this->group_names.begin(); _iter1555 != this->group_names.end(); ++_iter1555) { - xfer += oprot->writeString((*_iter1545)); + xfer += oprot->writeString((*_iter1555)); } xfer += oprot->writeListEnd(); } @@ -18408,10 +18408,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache:: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1546; - for (_iter1546 = (*(this->part_vals)).begin(); _iter1546 != (*(this->part_vals)).end(); ++_iter1546) + std::vector ::const_iterator _iter1556; + for (_iter1556 = (*(this->part_vals)).begin(); _iter1556 != (*(this->part_vals)).end(); ++_iter1556) { - xfer += oprot->writeString((*_iter1546)); + xfer += oprot->writeString((*_iter1556)); } xfer += oprot->writeListEnd(); } @@ -18428,10 +18428,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache:: xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1547; - for (_iter1547 = (*(this->group_names)).begin(); _iter1547 != (*(this->group_names)).end(); ++_iter1547) + std::vector ::const_iterator _iter1557; + for (_iter1557 = (*(this->group_names)).begin(); _iter1557 != (*(this->group_names)).end(); ++_iter1557) { - xfer += oprot->writeString((*_iter1547)); + xfer += oprot->writeString((*_iter1557)); } xfer += oprot->writeListEnd(); } @@ -18472,14 +18472,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1548; - ::apache::thrift::protocol::TType _etype1551; - xfer += iprot->readListBegin(_etype1551, _size1548); - this->success.resize(_size1548); - uint32_t _i1552; - for (_i1552 = 0; _i1552 < _size1548; ++_i1552) + uint32_t _size1558; + ::apache::thrift::protocol::TType _etype1561; + xfer += iprot->readListBegin(_etype1561, _size1558); + this->success.resize(_size1558); + uint32_t _i1562; + for (_i1562 = 0; _i1562 < _size1558; ++_i1562) { - xfer += this->success[_i1552].read(iprot); + xfer += this->success[_i1562].read(iprot); } xfer += iprot->readListEnd(); } @@ -18526,10 +18526,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::write(::apache: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1553; - for (_iter1553 = this->success.begin(); _iter1553 != this->success.end(); ++_iter1553) + std::vector ::const_iterator _iter1563; + for (_iter1563 = this->success.begin(); _iter1563 != this->success.end(); ++_iter1563) { - xfer += (*_iter1553).write(oprot); + xfer += (*_iter1563).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18578,14 +18578,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1554; - ::apache::thrift::protocol::TType _etype1557; - xfer += iprot->readListBegin(_etype1557, _size1554); - (*(this->success)).resize(_size1554); - uint32_t _i1558; - for (_i1558 = 0; _i1558 < _size1554; ++_i1558) + uint32_t _size1564; + ::apache::thrift::protocol::TType _etype1567; + xfer += iprot->readListBegin(_etype1567, _size1564); + (*(this->success)).resize(_size1564); + uint32_t _i1568; + for (_i1568 = 0; _i1568 < _size1564; ++_i1568) { - xfer += (*(this->success))[_i1558].read(iprot); + xfer += (*(this->success))[_i1568].read(iprot); } xfer += iprot->readListEnd(); } @@ -18668,14 +18668,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1559; - ::apache::thrift::protocol::TType _etype1562; - xfer += iprot->readListBegin(_etype1562, _size1559); - this->part_vals.resize(_size1559); - uint32_t _i1563; - for (_i1563 = 0; _i1563 < _size1559; ++_i1563) + uint32_t _size1569; + ::apache::thrift::protocol::TType _etype1572; + xfer += iprot->readListBegin(_etype1572, _size1569); + this->part_vals.resize(_size1569); + uint32_t _i1573; + for (_i1573 = 0; _i1573 < _size1569; ++_i1573) { - xfer += iprot->readString(this->part_vals[_i1563]); + xfer += iprot->readString(this->part_vals[_i1573]); } xfer += iprot->readListEnd(); } @@ -18720,10 +18720,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::write(::apache::thrift xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1564; - for (_iter1564 = this->part_vals.begin(); _iter1564 != this->part_vals.end(); ++_iter1564) + std::vector ::const_iterator _iter1574; + for (_iter1574 = this->part_vals.begin(); _iter1574 != this->part_vals.end(); ++_iter1574) { - xfer += oprot->writeString((*_iter1564)); + xfer += oprot->writeString((*_iter1574)); } xfer += oprot->writeListEnd(); } @@ -18759,10 +18759,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_pargs::write(::apache::thrif xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1565; - for (_iter1565 = (*(this->part_vals)).begin(); _iter1565 != (*(this->part_vals)).end(); ++_iter1565) + std::vector ::const_iterator _iter1575; + for (_iter1575 = (*(this->part_vals)).begin(); _iter1575 != (*(this->part_vals)).end(); ++_iter1575) { - xfer += oprot->writeString((*_iter1565)); + xfer += oprot->writeString((*_iter1575)); } xfer += oprot->writeListEnd(); } @@ -18807,14 +18807,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1566; - ::apache::thrift::protocol::TType _etype1569; - xfer += iprot->readListBegin(_etype1569, _size1566); - this->success.resize(_size1566); - uint32_t _i1570; - for (_i1570 = 0; _i1570 < _size1566; ++_i1570) + uint32_t _size1576; + ::apache::thrift::protocol::TType _etype1579; + xfer += iprot->readListBegin(_etype1579, _size1576); + this->success.resize(_size1576); + uint32_t _i1580; + for (_i1580 = 0; _i1580 < _size1576; ++_i1580) { - xfer += iprot->readString(this->success[_i1570]); + xfer += iprot->readString(this->success[_i1580]); } xfer += iprot->readListEnd(); } @@ -18861,10 +18861,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1571; - for (_iter1571 = this->success.begin(); _iter1571 != this->success.end(); ++_iter1571) + std::vector ::const_iterator _iter1581; + for (_iter1581 = this->success.begin(); _iter1581 != this->success.end(); ++_iter1581) { - xfer += oprot->writeString((*_iter1571)); + xfer += oprot->writeString((*_iter1581)); } xfer += oprot->writeListEnd(); } @@ -18913,14 +18913,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1572; - ::apache::thrift::protocol::TType _etype1575; - xfer += iprot->readListBegin(_etype1575, _size1572); - (*(this->success)).resize(_size1572); - uint32_t _i1576; - for (_i1576 = 0; _i1576 < _size1572; ++_i1576) + uint32_t _size1582; + ::apache::thrift::protocol::TType _etype1585; + xfer += iprot->readListBegin(_etype1585, _size1582); + (*(this->success)).resize(_size1582); + uint32_t _i1586; + for (_i1586 = 0; _i1586 < _size1582; ++_i1586) { - xfer += iprot->readString((*(this->success))[_i1576]); + xfer += iprot->readString((*(this->success))[_i1586]); } xfer += iprot->readListEnd(); } @@ -19114,14 +19114,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1577; - ::apache::thrift::protocol::TType _etype1580; - xfer += iprot->readListBegin(_etype1580, _size1577); - this->success.resize(_size1577); - uint32_t _i1581; - for (_i1581 = 0; _i1581 < _size1577; ++_i1581) + uint32_t _size1587; + ::apache::thrift::protocol::TType _etype1590; + xfer += iprot->readListBegin(_etype1590, _size1587); + this->success.resize(_size1587); + uint32_t _i1591; + for (_i1591 = 0; _i1591 < _size1587; ++_i1591) { - xfer += this->success[_i1581].read(iprot); + xfer += this->success[_i1591].read(iprot); } xfer += iprot->readListEnd(); } @@ -19168,10 +19168,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1582; - for (_iter1582 = this->success.begin(); _iter1582 != this->success.end(); ++_iter1582) + std::vector ::const_iterator _iter1592; + for (_iter1592 = this->success.begin(); _iter1592 != this->success.end(); ++_iter1592) { - xfer += (*_iter1582).write(oprot); + xfer += (*_iter1592).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19220,14 +19220,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1583; - ::apache::thrift::protocol::TType _etype1586; - xfer += iprot->readListBegin(_etype1586, _size1583); - (*(this->success)).resize(_size1583); - uint32_t _i1587; - for (_i1587 = 0; _i1587 < _size1583; ++_i1587) + uint32_t _size1593; + ::apache::thrift::protocol::TType _etype1596; + xfer += iprot->readListBegin(_etype1596, _size1593); + (*(this->success)).resize(_size1593); + uint32_t _i1597; + for (_i1597 = 0; _i1597 < _size1593; ++_i1597) { - xfer += (*(this->success))[_i1587].read(iprot); + xfer += (*(this->success))[_i1597].read(iprot); } xfer += iprot->readListEnd(); } @@ -19421,14 +19421,14 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1588; - ::apache::thrift::protocol::TType _etype1591; - xfer += iprot->readListBegin(_etype1591, _size1588); - this->success.resize(_size1588); - uint32_t _i1592; - for (_i1592 = 0; _i1592 < _size1588; ++_i1592) + uint32_t _size1598; + ::apache::thrift::protocol::TType _etype1601; + xfer += iprot->readListBegin(_etype1601, _size1598); + this->success.resize(_size1598); + uint32_t _i1602; + for (_i1602 = 0; _i1602 < _size1598; ++_i1602) { - xfer += this->success[_i1592].read(iprot); + xfer += this->success[_i1602].read(iprot); } xfer += iprot->readListEnd(); } @@ -19475,10 +19475,10 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1593; - for (_iter1593 = this->success.begin(); _iter1593 != this->success.end(); ++_iter1593) + std::vector ::const_iterator _iter1603; + for (_iter1603 = this->success.begin(); _iter1603 != this->success.end(); ++_iter1603) { - xfer += (*_iter1593).write(oprot); + xfer += (*_iter1603).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19527,14 +19527,14 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1594; - ::apache::thrift::protocol::TType _etype1597; - xfer += iprot->readListBegin(_etype1597, _size1594); - (*(this->success)).resize(_size1594); - uint32_t _i1598; - for (_i1598 = 0; _i1598 < _size1594; ++_i1598) + uint32_t _size1604; + ::apache::thrift::protocol::TType _etype1607; + xfer += iprot->readListBegin(_etype1607, _size1604); + (*(this->success)).resize(_size1604); + uint32_t _i1608; + for (_i1608 = 0; _i1608 < _size1604; ++_i1608) { - xfer += (*(this->success))[_i1598].read(iprot); + xfer += (*(this->success))[_i1608].read(iprot); } xfer += iprot->readListEnd(); } @@ -20103,14 +20103,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size1599; - ::apache::thrift::protocol::TType _etype1602; - xfer += iprot->readListBegin(_etype1602, _size1599); - this->names.resize(_size1599); - uint32_t _i1603; - for (_i1603 = 0; _i1603 < _size1599; ++_i1603) + uint32_t _size1609; + ::apache::thrift::protocol::TType _etype1612; + xfer += iprot->readListBegin(_etype1612, _size1609); + this->names.resize(_size1609); + uint32_t _i1613; + for (_i1613 = 0; _i1613 < _size1609; ++_i1613) { - xfer += iprot->readString(this->names[_i1603]); + xfer += iprot->readString(this->names[_i1613]); } xfer += iprot->readListEnd(); } @@ -20147,10 +20147,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::write(::apache::thrif xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->names.size())); - std::vector ::const_iterator _iter1604; - for (_iter1604 = this->names.begin(); _iter1604 != this->names.end(); ++_iter1604) + std::vector ::const_iterator _iter1614; + for (_iter1614 = this->names.begin(); _iter1614 != this->names.end(); ++_iter1614) { - xfer += oprot->writeString((*_iter1604)); + xfer += oprot->writeString((*_iter1614)); } xfer += oprot->writeListEnd(); } @@ -20182,10 +20182,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->names)).size())); - std::vector ::const_iterator _iter1605; - for (_iter1605 = (*(this->names)).begin(); _iter1605 != (*(this->names)).end(); ++_iter1605) + std::vector ::const_iterator _iter1615; + for (_iter1615 = (*(this->names)).begin(); _iter1615 != (*(this->names)).end(); ++_iter1615) { - xfer += oprot->writeString((*_iter1605)); + xfer += oprot->writeString((*_iter1615)); } xfer += oprot->writeListEnd(); } @@ -20226,14 +20226,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1606; - ::apache::thrift::protocol::TType _etype1609; - xfer += iprot->readListBegin(_etype1609, _size1606); - this->success.resize(_size1606); - uint32_t _i1610; - for (_i1610 = 0; _i1610 < _size1606; ++_i1610) + uint32_t _size1616; + ::apache::thrift::protocol::TType _etype1619; + xfer += iprot->readListBegin(_etype1619, _size1616); + this->success.resize(_size1616); + uint32_t _i1620; + for (_i1620 = 0; _i1620 < _size1616; ++_i1620) { - xfer += this->success[_i1610].read(iprot); + xfer += this->success[_i1620].read(iprot); } xfer += iprot->readListEnd(); } @@ -20280,10 +20280,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::write(::apache::thr xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1611; - for (_iter1611 = this->success.begin(); _iter1611 != this->success.end(); ++_iter1611) + std::vector ::const_iterator _iter1621; + for (_iter1621 = this->success.begin(); _iter1621 != this->success.end(); ++_iter1621) { - xfer += (*_iter1611).write(oprot); + xfer += (*_iter1621).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20332,14 +20332,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1612; - ::apache::thrift::protocol::TType _etype1615; - xfer += iprot->readListBegin(_etype1615, _size1612); - (*(this->success)).resize(_size1612); - uint32_t _i1616; - for (_i1616 = 0; _i1616 < _size1612; ++_i1616) + uint32_t _size1622; + ::apache::thrift::protocol::TType _etype1625; + xfer += iprot->readListBegin(_etype1625, _size1622); + (*(this->success)).resize(_size1622); + uint32_t _i1626; + for (_i1626 = 0; _i1626 < _size1622; ++_i1626) { - xfer += (*(this->success))[_i1616].read(iprot); + xfer += (*(this->success))[_i1626].read(iprot); } xfer += iprot->readListEnd(); } @@ -20661,14 +20661,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1617; - ::apache::thrift::protocol::TType _etype1620; - xfer += iprot->readListBegin(_etype1620, _size1617); - this->new_parts.resize(_size1617); - uint32_t _i1621; - for (_i1621 = 0; _i1621 < _size1617; ++_i1621) + uint32_t _size1627; + ::apache::thrift::protocol::TType _etype1630; + xfer += iprot->readListBegin(_etype1630, _size1627); + this->new_parts.resize(_size1627); + uint32_t _i1631; + for (_i1631 = 0; _i1631 < _size1627; ++_i1631) { - xfer += this->new_parts[_i1621].read(iprot); + xfer += this->new_parts[_i1631].read(iprot); } xfer += iprot->readListEnd(); } @@ -20705,10 +20705,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter1622; - for (_iter1622 = this->new_parts.begin(); _iter1622 != this->new_parts.end(); ++_iter1622) + std::vector ::const_iterator _iter1632; + for (_iter1632 = this->new_parts.begin(); _iter1632 != this->new_parts.end(); ++_iter1632) { - xfer += (*_iter1622).write(oprot); + xfer += (*_iter1632).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20740,10 +20740,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter1623; - for (_iter1623 = (*(this->new_parts)).begin(); _iter1623 != (*(this->new_parts)).end(); ++_iter1623) + std::vector ::const_iterator _iter1633; + for (_iter1633 = (*(this->new_parts)).begin(); _iter1633 != (*(this->new_parts)).end(); ++_iter1633) { - xfer += (*_iter1623).write(oprot); + xfer += (*_iter1633).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20928,14 +20928,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1624; - ::apache::thrift::protocol::TType _etype1627; - xfer += iprot->readListBegin(_etype1627, _size1624); - this->new_parts.resize(_size1624); - uint32_t _i1628; - for (_i1628 = 0; _i1628 < _size1624; ++_i1628) + uint32_t _size1634; + ::apache::thrift::protocol::TType _etype1637; + xfer += iprot->readListBegin(_etype1637, _size1634); + this->new_parts.resize(_size1634); + uint32_t _i1638; + for (_i1638 = 0; _i1638 < _size1634; ++_i1638) { - xfer += this->new_parts[_i1628].read(iprot); + xfer += this->new_parts[_i1638].read(iprot); } xfer += iprot->readListEnd(); } @@ -20980,10 +20980,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::wri xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter1629; - for (_iter1629 = this->new_parts.begin(); _iter1629 != this->new_parts.end(); ++_iter1629) + std::vector ::const_iterator _iter1639; + for (_iter1639 = this->new_parts.begin(); _iter1639 != this->new_parts.end(); ++_iter1639) { - xfer += (*_iter1629).write(oprot); + xfer += (*_iter1639).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21019,10 +21019,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_pargs::wr xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter1630; - for (_iter1630 = (*(this->new_parts)).begin(); _iter1630 != (*(this->new_parts)).end(); ++_iter1630) + std::vector ::const_iterator _iter1640; + for (_iter1640 = (*(this->new_parts)).begin(); _iter1640 != (*(this->new_parts)).end(); ++_iter1640) { - xfer += (*_iter1630).write(oprot); + xfer += (*_iter1640).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21466,14 +21466,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1631; - ::apache::thrift::protocol::TType _etype1634; - xfer += iprot->readListBegin(_etype1634, _size1631); - this->part_vals.resize(_size1631); - uint32_t _i1635; - for (_i1635 = 0; _i1635 < _size1631; ++_i1635) + uint32_t _size1641; + ::apache::thrift::protocol::TType _etype1644; + xfer += iprot->readListBegin(_etype1644, _size1641); + this->part_vals.resize(_size1641); + uint32_t _i1645; + for (_i1645 = 0; _i1645 < _size1641; ++_i1645) { - xfer += iprot->readString(this->part_vals[_i1635]); + xfer += iprot->readString(this->part_vals[_i1645]); } xfer += iprot->readListEnd(); } @@ -21518,10 +21518,10 @@ uint32_t ThriftHiveMetastore_rename_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1636; - for (_iter1636 = this->part_vals.begin(); _iter1636 != this->part_vals.end(); ++_iter1636) + std::vector ::const_iterator _iter1646; + for (_iter1646 = this->part_vals.begin(); _iter1646 != this->part_vals.end(); ++_iter1646) { - xfer += oprot->writeString((*_iter1636)); + xfer += oprot->writeString((*_iter1646)); } xfer += oprot->writeListEnd(); } @@ -21557,10 +21557,10 @@ uint32_t ThriftHiveMetastore_rename_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1637; - for (_iter1637 = (*(this->part_vals)).begin(); _iter1637 != (*(this->part_vals)).end(); ++_iter1637) + std::vector ::const_iterator _iter1647; + for (_iter1647 = (*(this->part_vals)).begin(); _iter1647 != (*(this->part_vals)).end(); ++_iter1647) { - xfer += oprot->writeString((*_iter1637)); + xfer += oprot->writeString((*_iter1647)); } xfer += oprot->writeListEnd(); } @@ -21733,14 +21733,14 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::read(::ap if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1638; - ::apache::thrift::protocol::TType _etype1641; - xfer += iprot->readListBegin(_etype1641, _size1638); - this->part_vals.resize(_size1638); - uint32_t _i1642; - for (_i1642 = 0; _i1642 < _size1638; ++_i1642) + uint32_t _size1648; + ::apache::thrift::protocol::TType _etype1651; + xfer += iprot->readListBegin(_etype1651, _size1648); + this->part_vals.resize(_size1648); + uint32_t _i1652; + for (_i1652 = 0; _i1652 < _size1648; ++_i1652) { - xfer += iprot->readString(this->part_vals[_i1642]); + xfer += iprot->readString(this->part_vals[_i1652]); } xfer += iprot->readListEnd(); } @@ -21777,10 +21777,10 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::write(::a xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1643; - for (_iter1643 = this->part_vals.begin(); _iter1643 != this->part_vals.end(); ++_iter1643) + std::vector ::const_iterator _iter1653; + for (_iter1653 = this->part_vals.begin(); _iter1653 != this->part_vals.end(); ++_iter1653) { - xfer += oprot->writeString((*_iter1643)); + xfer += oprot->writeString((*_iter1653)); } xfer += oprot->writeListEnd(); } @@ -21808,10 +21808,10 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_pargs::write(:: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1644; - for (_iter1644 = (*(this->part_vals)).begin(); _iter1644 != (*(this->part_vals)).end(); ++_iter1644) + std::vector ::const_iterator _iter1654; + for (_iter1654 = (*(this->part_vals)).begin(); _iter1654 != (*(this->part_vals)).end(); ++_iter1654) { - xfer += oprot->writeString((*_iter1644)); + xfer += oprot->writeString((*_iter1654)); } xfer += oprot->writeListEnd(); } @@ -22286,14 +22286,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1645; - ::apache::thrift::protocol::TType _etype1648; - xfer += iprot->readListBegin(_etype1648, _size1645); - this->success.resize(_size1645); - uint32_t _i1649; - for (_i1649 = 0; _i1649 < _size1645; ++_i1649) + uint32_t _size1655; + ::apache::thrift::protocol::TType _etype1658; + xfer += iprot->readListBegin(_etype1658, _size1655); + this->success.resize(_size1655); + uint32_t _i1659; + for (_i1659 = 0; _i1659 < _size1655; ++_i1659) { - xfer += iprot->readString(this->success[_i1649]); + xfer += iprot->readString(this->success[_i1659]); } xfer += iprot->readListEnd(); } @@ -22332,10 +22332,10 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1650; - for (_iter1650 = this->success.begin(); _iter1650 != this->success.end(); ++_iter1650) + std::vector ::const_iterator _iter1660; + for (_iter1660 = this->success.begin(); _iter1660 != this->success.end(); ++_iter1660) { - xfer += oprot->writeString((*_iter1650)); + xfer += oprot->writeString((*_iter1660)); } xfer += oprot->writeListEnd(); } @@ -22380,14 +22380,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1651; - ::apache::thrift::protocol::TType _etype1654; - xfer += iprot->readListBegin(_etype1654, _size1651); - (*(this->success)).resize(_size1651); - uint32_t _i1655; - for (_i1655 = 0; _i1655 < _size1651; ++_i1655) + uint32_t _size1661; + ::apache::thrift::protocol::TType _etype1664; + xfer += iprot->readListBegin(_etype1664, _size1661); + (*(this->success)).resize(_size1661); + uint32_t _i1665; + for (_i1665 = 0; _i1665 < _size1661; ++_i1665) { - xfer += iprot->readString((*(this->success))[_i1655]); + xfer += iprot->readString((*(this->success))[_i1665]); } xfer += iprot->readListEnd(); } @@ -22525,17 +22525,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1656; - ::apache::thrift::protocol::TType _ktype1657; - ::apache::thrift::protocol::TType _vtype1658; - xfer += iprot->readMapBegin(_ktype1657, _vtype1658, _size1656); - uint32_t _i1660; - for (_i1660 = 0; _i1660 < _size1656; ++_i1660) + uint32_t _size1666; + ::apache::thrift::protocol::TType _ktype1667; + ::apache::thrift::protocol::TType _vtype1668; + xfer += iprot->readMapBegin(_ktype1667, _vtype1668, _size1666); + uint32_t _i1670; + for (_i1670 = 0; _i1670 < _size1666; ++_i1670) { - std::string _key1661; - xfer += iprot->readString(_key1661); - std::string& _val1662 = this->success[_key1661]; - xfer += iprot->readString(_val1662); + std::string _key1671; + xfer += iprot->readString(_key1671); + std::string& _val1672 = this->success[_key1671]; + xfer += iprot->readString(_val1672); } xfer += iprot->readMapEnd(); } @@ -22574,11 +22574,11 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::map ::const_iterator _iter1663; - for (_iter1663 = this->success.begin(); _iter1663 != this->success.end(); ++_iter1663) + std::map ::const_iterator _iter1673; + for (_iter1673 = this->success.begin(); _iter1673 != this->success.end(); ++_iter1673) { - xfer += oprot->writeString(_iter1663->first); - xfer += oprot->writeString(_iter1663->second); + xfer += oprot->writeString(_iter1673->first); + xfer += oprot->writeString(_iter1673->second); } xfer += oprot->writeMapEnd(); } @@ -22623,17 +22623,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1664; - ::apache::thrift::protocol::TType _ktype1665; - ::apache::thrift::protocol::TType _vtype1666; - xfer += iprot->readMapBegin(_ktype1665, _vtype1666, _size1664); - uint32_t _i1668; - for (_i1668 = 0; _i1668 < _size1664; ++_i1668) + uint32_t _size1674; + ::apache::thrift::protocol::TType _ktype1675; + ::apache::thrift::protocol::TType _vtype1676; + xfer += iprot->readMapBegin(_ktype1675, _vtype1676, _size1674); + uint32_t _i1678; + for (_i1678 = 0; _i1678 < _size1674; ++_i1678) { - std::string _key1669; - xfer += iprot->readString(_key1669); - std::string& _val1670 = (*(this->success))[_key1669]; - xfer += iprot->readString(_val1670); + std::string _key1679; + xfer += iprot->readString(_key1679); + std::string& _val1680 = (*(this->success))[_key1679]; + xfer += iprot->readString(_val1680); } xfer += iprot->readMapEnd(); } @@ -22708,17 +22708,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1671; - ::apache::thrift::protocol::TType _ktype1672; - ::apache::thrift::protocol::TType _vtype1673; - xfer += iprot->readMapBegin(_ktype1672, _vtype1673, _size1671); - uint32_t _i1675; - for (_i1675 = 0; _i1675 < _size1671; ++_i1675) + uint32_t _size1681; + ::apache::thrift::protocol::TType _ktype1682; + ::apache::thrift::protocol::TType _vtype1683; + xfer += iprot->readMapBegin(_ktype1682, _vtype1683, _size1681); + uint32_t _i1685; + for (_i1685 = 0; _i1685 < _size1681; ++_i1685) { - std::string _key1676; - xfer += iprot->readString(_key1676); - std::string& _val1677 = this->part_vals[_key1676]; - xfer += iprot->readString(_val1677); + std::string _key1686; + xfer += iprot->readString(_key1686); + std::string& _val1687 = this->part_vals[_key1686]; + xfer += iprot->readString(_val1687); } xfer += iprot->readMapEnd(); } @@ -22729,9 +22729,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1678; - xfer += iprot->readI32(ecast1678); - this->eventType = (PartitionEventType::type)ecast1678; + int32_t ecast1688; + xfer += iprot->readI32(ecast1688); + this->eventType = (PartitionEventType::type)ecast1688; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -22765,11 +22765,11 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::write(::apache::thrift: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::map ::const_iterator _iter1679; - for (_iter1679 = this->part_vals.begin(); _iter1679 != this->part_vals.end(); ++_iter1679) + std::map ::const_iterator _iter1689; + for (_iter1689 = this->part_vals.begin(); _iter1689 != this->part_vals.end(); ++_iter1689) { - xfer += oprot->writeString(_iter1679->first); - xfer += oprot->writeString(_iter1679->second); + xfer += oprot->writeString(_iter1689->first); + xfer += oprot->writeString(_iter1689->second); } xfer += oprot->writeMapEnd(); } @@ -22805,11 +22805,11 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_pargs::write(::apache::thrift xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::map ::const_iterator _iter1680; - for (_iter1680 = (*(this->part_vals)).begin(); _iter1680 != (*(this->part_vals)).end(); ++_iter1680) + std::map ::const_iterator _iter1690; + for (_iter1690 = (*(this->part_vals)).begin(); _iter1690 != (*(this->part_vals)).end(); ++_iter1690) { - xfer += oprot->writeString(_iter1680->first); - xfer += oprot->writeString(_iter1680->second); + xfer += oprot->writeString(_iter1690->first); + xfer += oprot->writeString(_iter1690->second); } xfer += oprot->writeMapEnd(); } @@ -23078,17 +23078,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1681; - ::apache::thrift::protocol::TType _ktype1682; - ::apache::thrift::protocol::TType _vtype1683; - xfer += iprot->readMapBegin(_ktype1682, _vtype1683, _size1681); - uint32_t _i1685; - for (_i1685 = 0; _i1685 < _size1681; ++_i1685) + uint32_t _size1691; + ::apache::thrift::protocol::TType _ktype1692; + ::apache::thrift::protocol::TType _vtype1693; + xfer += iprot->readMapBegin(_ktype1692, _vtype1693, _size1691); + uint32_t _i1695; + for (_i1695 = 0; _i1695 < _size1691; ++_i1695) { - std::string _key1686; - xfer += iprot->readString(_key1686); - std::string& _val1687 = this->part_vals[_key1686]; - xfer += iprot->readString(_val1687); + std::string _key1696; + xfer += iprot->readString(_key1696); + std::string& _val1697 = this->part_vals[_key1696]; + xfer += iprot->readString(_val1697); } xfer += iprot->readMapEnd(); } @@ -23099,9 +23099,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1688; - xfer += iprot->readI32(ecast1688); - this->eventType = (PartitionEventType::type)ecast1688; + int32_t ecast1698; + xfer += iprot->readI32(ecast1698); + this->eventType = (PartitionEventType::type)ecast1698; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -23135,11 +23135,11 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::write(::apache::thr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::map ::const_iterator _iter1689; - for (_iter1689 = this->part_vals.begin(); _iter1689 != this->part_vals.end(); ++_iter1689) + std::map ::const_iterator _iter1699; + for (_iter1699 = this->part_vals.begin(); _iter1699 != this->part_vals.end(); ++_iter1699) { - xfer += oprot->writeString(_iter1689->first); - xfer += oprot->writeString(_iter1689->second); + xfer += oprot->writeString(_iter1699->first); + xfer += oprot->writeString(_iter1699->second); } xfer += oprot->writeMapEnd(); } @@ -23175,11 +23175,11 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_pargs::write(::apache::th xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::map ::const_iterator _iter1690; - for (_iter1690 = (*(this->part_vals)).begin(); _iter1690 != (*(this->part_vals)).end(); ++_iter1690) + std::map ::const_iterator _iter1700; + for (_iter1700 = (*(this->part_vals)).begin(); _iter1700 != (*(this->part_vals)).end(); ++_iter1700) { - xfer += oprot->writeString(_iter1690->first); - xfer += oprot->writeString(_iter1690->second); + xfer += oprot->writeString(_iter1700->first); + xfer += oprot->writeString(_iter1700->second); } xfer += oprot->writeMapEnd(); } @@ -28101,14 +28101,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1691; - ::apache::thrift::protocol::TType _etype1694; - xfer += iprot->readListBegin(_etype1694, _size1691); - this->success.resize(_size1691); - uint32_t _i1695; - for (_i1695 = 0; _i1695 < _size1691; ++_i1695) + uint32_t _size1701; + ::apache::thrift::protocol::TType _etype1704; + xfer += iprot->readListBegin(_etype1704, _size1701); + this->success.resize(_size1701); + uint32_t _i1705; + for (_i1705 = 0; _i1705 < _size1701; ++_i1705) { - xfer += iprot->readString(this->success[_i1695]); + xfer += iprot->readString(this->success[_i1705]); } xfer += iprot->readListEnd(); } @@ -28147,10 +28147,10 @@ uint32_t ThriftHiveMetastore_get_functions_result::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1696; - for (_iter1696 = this->success.begin(); _iter1696 != this->success.end(); ++_iter1696) + std::vector ::const_iterator _iter1706; + for (_iter1706 = this->success.begin(); _iter1706 != this->success.end(); ++_iter1706) { - xfer += oprot->writeString((*_iter1696)); + xfer += oprot->writeString((*_iter1706)); } xfer += oprot->writeListEnd(); } @@ -28195,14 +28195,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1697; - ::apache::thrift::protocol::TType _etype1700; - xfer += iprot->readListBegin(_etype1700, _size1697); - (*(this->success)).resize(_size1697); - uint32_t _i1701; - for (_i1701 = 0; _i1701 < _size1697; ++_i1701) + uint32_t _size1707; + ::apache::thrift::protocol::TType _etype1710; + xfer += iprot->readListBegin(_etype1710, _size1707); + (*(this->success)).resize(_size1707); + uint32_t _i1711; + for (_i1711 = 0; _i1711 < _size1707; ++_i1711) { - xfer += iprot->readString((*(this->success))[_i1701]); + xfer += iprot->readString((*(this->success))[_i1711]); } xfer += iprot->readListEnd(); } @@ -29162,14 +29162,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1702; - ::apache::thrift::protocol::TType _etype1705; - xfer += iprot->readListBegin(_etype1705, _size1702); - this->success.resize(_size1702); - uint32_t _i1706; - for (_i1706 = 0; _i1706 < _size1702; ++_i1706) + uint32_t _size1712; + ::apache::thrift::protocol::TType _etype1715; + xfer += iprot->readListBegin(_etype1715, _size1712); + this->success.resize(_size1712); + uint32_t _i1716; + for (_i1716 = 0; _i1716 < _size1712; ++_i1716) { - xfer += iprot->readString(this->success[_i1706]); + xfer += iprot->readString(this->success[_i1716]); } xfer += iprot->readListEnd(); } @@ -29208,10 +29208,10 @@ uint32_t ThriftHiveMetastore_get_role_names_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1707; - for (_iter1707 = this->success.begin(); _iter1707 != this->success.end(); ++_iter1707) + std::vector ::const_iterator _iter1717; + for (_iter1717 = this->success.begin(); _iter1717 != this->success.end(); ++_iter1717) { - xfer += oprot->writeString((*_iter1707)); + xfer += oprot->writeString((*_iter1717)); } xfer += oprot->writeListEnd(); } @@ -29256,14 +29256,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1708; - ::apache::thrift::protocol::TType _etype1711; - xfer += iprot->readListBegin(_etype1711, _size1708); - (*(this->success)).resize(_size1708); - uint32_t _i1712; - for (_i1712 = 0; _i1712 < _size1708; ++_i1712) + uint32_t _size1718; + ::apache::thrift::protocol::TType _etype1721; + xfer += iprot->readListBegin(_etype1721, _size1718); + (*(this->success)).resize(_size1718); + uint32_t _i1722; + for (_i1722 = 0; _i1722 < _size1718; ++_i1722) { - xfer += iprot->readString((*(this->success))[_i1712]); + xfer += iprot->readString((*(this->success))[_i1722]); } xfer += iprot->readListEnd(); } @@ -29336,9 +29336,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1713; - xfer += iprot->readI32(ecast1713); - this->principal_type = (PrincipalType::type)ecast1713; + int32_t ecast1723; + xfer += iprot->readI32(ecast1723); + this->principal_type = (PrincipalType::type)ecast1723; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -29354,9 +29354,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1714; - xfer += iprot->readI32(ecast1714); - this->grantorType = (PrincipalType::type)ecast1714; + int32_t ecast1724; + xfer += iprot->readI32(ecast1724); + this->grantorType = (PrincipalType::type)ecast1724; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -29627,9 +29627,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1715; - xfer += iprot->readI32(ecast1715); - this->principal_type = (PrincipalType::type)ecast1715; + int32_t ecast1725; + xfer += iprot->readI32(ecast1725); + this->principal_type = (PrincipalType::type)ecast1725; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -29860,9 +29860,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1716; - xfer += iprot->readI32(ecast1716); - this->principal_type = (PrincipalType::type)ecast1716; + int32_t ecast1726; + xfer += iprot->readI32(ecast1726); + this->principal_type = (PrincipalType::type)ecast1726; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -29951,14 +29951,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1717; - ::apache::thrift::protocol::TType _etype1720; - xfer += iprot->readListBegin(_etype1720, _size1717); - this->success.resize(_size1717); - uint32_t _i1721; - for (_i1721 = 0; _i1721 < _size1717; ++_i1721) + uint32_t _size1727; + ::apache::thrift::protocol::TType _etype1730; + xfer += iprot->readListBegin(_etype1730, _size1727); + this->success.resize(_size1727); + uint32_t _i1731; + for (_i1731 = 0; _i1731 < _size1727; ++_i1731) { - xfer += this->success[_i1721].read(iprot); + xfer += this->success[_i1731].read(iprot); } xfer += iprot->readListEnd(); } @@ -29997,10 +29997,10 @@ uint32_t ThriftHiveMetastore_list_roles_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1722; - for (_iter1722 = this->success.begin(); _iter1722 != this->success.end(); ++_iter1722) + std::vector ::const_iterator _iter1732; + for (_iter1732 = this->success.begin(); _iter1732 != this->success.end(); ++_iter1732) { - xfer += (*_iter1722).write(oprot); + xfer += (*_iter1732).write(oprot); } xfer += oprot->writeListEnd(); } @@ -30045,14 +30045,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1723; - ::apache::thrift::protocol::TType _etype1726; - xfer += iprot->readListBegin(_etype1726, _size1723); - (*(this->success)).resize(_size1723); - uint32_t _i1727; - for (_i1727 = 0; _i1727 < _size1723; ++_i1727) + uint32_t _size1733; + ::apache::thrift::protocol::TType _etype1736; + xfer += iprot->readListBegin(_etype1736, _size1733); + (*(this->success)).resize(_size1733); + uint32_t _i1737; + for (_i1737 = 0; _i1737 < _size1733; ++_i1737) { - xfer += (*(this->success))[_i1727].read(iprot); + xfer += (*(this->success))[_i1737].read(iprot); } xfer += iprot->readListEnd(); } @@ -30748,14 +30748,14 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1728; - ::apache::thrift::protocol::TType _etype1731; - xfer += iprot->readListBegin(_etype1731, _size1728); - this->group_names.resize(_size1728); - uint32_t _i1732; - for (_i1732 = 0; _i1732 < _size1728; ++_i1732) + uint32_t _size1738; + ::apache::thrift::protocol::TType _etype1741; + xfer += iprot->readListBegin(_etype1741, _size1738); + this->group_names.resize(_size1738); + uint32_t _i1742; + for (_i1742 = 0; _i1742 < _size1738; ++_i1742) { - xfer += iprot->readString(this->group_names[_i1732]); + xfer += iprot->readString(this->group_names[_i1742]); } xfer += iprot->readListEnd(); } @@ -30792,10 +30792,10 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1733; - for (_iter1733 = this->group_names.begin(); _iter1733 != this->group_names.end(); ++_iter1733) + std::vector ::const_iterator _iter1743; + for (_iter1743 = this->group_names.begin(); _iter1743 != this->group_names.end(); ++_iter1743) { - xfer += oprot->writeString((*_iter1733)); + xfer += oprot->writeString((*_iter1743)); } xfer += oprot->writeListEnd(); } @@ -30827,10 +30827,10 @@ uint32_t ThriftHiveMetastore_get_privilege_set_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1734; - for (_iter1734 = (*(this->group_names)).begin(); _iter1734 != (*(this->group_names)).end(); ++_iter1734) + std::vector ::const_iterator _iter1744; + for (_iter1744 = (*(this->group_names)).begin(); _iter1744 != (*(this->group_names)).end(); ++_iter1744) { - xfer += oprot->writeString((*_iter1734)); + xfer += oprot->writeString((*_iter1744)); } xfer += oprot->writeListEnd(); } @@ -31005,9 +31005,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1735; - xfer += iprot->readI32(ecast1735); - this->principal_type = (PrincipalType::type)ecast1735; + int32_t ecast1745; + xfer += iprot->readI32(ecast1745); + this->principal_type = (PrincipalType::type)ecast1745; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -31112,14 +31112,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1736; - ::apache::thrift::protocol::TType _etype1739; - xfer += iprot->readListBegin(_etype1739, _size1736); - this->success.resize(_size1736); - uint32_t _i1740; - for (_i1740 = 0; _i1740 < _size1736; ++_i1740) + uint32_t _size1746; + ::apache::thrift::protocol::TType _etype1749; + xfer += iprot->readListBegin(_etype1749, _size1746); + this->success.resize(_size1746); + uint32_t _i1750; + for (_i1750 = 0; _i1750 < _size1746; ++_i1750) { - xfer += this->success[_i1740].read(iprot); + xfer += this->success[_i1750].read(iprot); } xfer += iprot->readListEnd(); } @@ -31158,10 +31158,10 @@ uint32_t ThriftHiveMetastore_list_privileges_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1741; - for (_iter1741 = this->success.begin(); _iter1741 != this->success.end(); ++_iter1741) + std::vector ::const_iterator _iter1751; + for (_iter1751 = this->success.begin(); _iter1751 != this->success.end(); ++_iter1751) { - xfer += (*_iter1741).write(oprot); + xfer += (*_iter1751).write(oprot); } xfer += oprot->writeListEnd(); } @@ -31206,14 +31206,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1742; - ::apache::thrift::protocol::TType _etype1745; - xfer += iprot->readListBegin(_etype1745, _size1742); - (*(this->success)).resize(_size1742); - uint32_t _i1746; - for (_i1746 = 0; _i1746 < _size1742; ++_i1746) + uint32_t _size1752; + ::apache::thrift::protocol::TType _etype1755; + xfer += iprot->readListBegin(_etype1755, _size1752); + (*(this->success)).resize(_size1752); + uint32_t _i1756; + for (_i1756 = 0; _i1756 < _size1752; ++_i1756) { - xfer += (*(this->success))[_i1746].read(iprot); + xfer += (*(this->success))[_i1756].read(iprot); } xfer += iprot->readListEnd(); } @@ -31901,14 +31901,14 @@ uint32_t ThriftHiveMetastore_set_ugi_args::read(::apache::thrift::protocol::TPro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1747; - ::apache::thrift::protocol::TType _etype1750; - xfer += iprot->readListBegin(_etype1750, _size1747); - this->group_names.resize(_size1747); - uint32_t _i1751; - for (_i1751 = 0; _i1751 < _size1747; ++_i1751) + uint32_t _size1757; + ::apache::thrift::protocol::TType _etype1760; + xfer += iprot->readListBegin(_etype1760, _size1757); + this->group_names.resize(_size1757); + uint32_t _i1761; + for (_i1761 = 0; _i1761 < _size1757; ++_i1761) { - xfer += iprot->readString(this->group_names[_i1751]); + xfer += iprot->readString(this->group_names[_i1761]); } xfer += iprot->readListEnd(); } @@ -31941,10 +31941,10 @@ uint32_t ThriftHiveMetastore_set_ugi_args::write(::apache::thrift::protocol::TPr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1752; - for (_iter1752 = this->group_names.begin(); _iter1752 != this->group_names.end(); ++_iter1752) + std::vector ::const_iterator _iter1762; + for (_iter1762 = this->group_names.begin(); _iter1762 != this->group_names.end(); ++_iter1762) { - xfer += oprot->writeString((*_iter1752)); + xfer += oprot->writeString((*_iter1762)); } xfer += oprot->writeListEnd(); } @@ -31972,10 +31972,10 @@ uint32_t ThriftHiveMetastore_set_ugi_pargs::write(::apache::thrift::protocol::TP xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1753; - for (_iter1753 = (*(this->group_names)).begin(); _iter1753 != (*(this->group_names)).end(); ++_iter1753) + std::vector ::const_iterator _iter1763; + for (_iter1763 = (*(this->group_names)).begin(); _iter1763 != (*(this->group_names)).end(); ++_iter1763) { - xfer += oprot->writeString((*_iter1753)); + xfer += oprot->writeString((*_iter1763)); } xfer += oprot->writeListEnd(); } @@ -32016,14 +32016,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1754; - ::apache::thrift::protocol::TType _etype1757; - xfer += iprot->readListBegin(_etype1757, _size1754); - this->success.resize(_size1754); - uint32_t _i1758; - for (_i1758 = 0; _i1758 < _size1754; ++_i1758) + uint32_t _size1764; + ::apache::thrift::protocol::TType _etype1767; + xfer += iprot->readListBegin(_etype1767, _size1764); + this->success.resize(_size1764); + uint32_t _i1768; + for (_i1768 = 0; _i1768 < _size1764; ++_i1768) { - xfer += iprot->readString(this->success[_i1758]); + xfer += iprot->readString(this->success[_i1768]); } xfer += iprot->readListEnd(); } @@ -32062,10 +32062,10 @@ uint32_t ThriftHiveMetastore_set_ugi_result::write(::apache::thrift::protocol::T xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1759; - for (_iter1759 = this->success.begin(); _iter1759 != this->success.end(); ++_iter1759) + std::vector ::const_iterator _iter1769; + for (_iter1769 = this->success.begin(); _iter1769 != this->success.end(); ++_iter1769) { - xfer += oprot->writeString((*_iter1759)); + xfer += oprot->writeString((*_iter1769)); } xfer += oprot->writeListEnd(); } @@ -32110,14 +32110,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1760; - ::apache::thrift::protocol::TType _etype1763; - xfer += iprot->readListBegin(_etype1763, _size1760); - (*(this->success)).resize(_size1760); - uint32_t _i1764; - for (_i1764 = 0; _i1764 < _size1760; ++_i1764) + uint32_t _size1770; + ::apache::thrift::protocol::TType _etype1773; + xfer += iprot->readListBegin(_etype1773, _size1770); + (*(this->success)).resize(_size1770); + uint32_t _i1774; + for (_i1774 = 0; _i1774 < _size1770; ++_i1774) { - xfer += iprot->readString((*(this->success))[_i1764]); + xfer += iprot->readString((*(this->success))[_i1774]); } xfer += iprot->readListEnd(); } @@ -33428,14 +33428,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1765; - ::apache::thrift::protocol::TType _etype1768; - xfer += iprot->readListBegin(_etype1768, _size1765); - this->success.resize(_size1765); - uint32_t _i1769; - for (_i1769 = 0; _i1769 < _size1765; ++_i1769) + uint32_t _size1775; + ::apache::thrift::protocol::TType _etype1778; + xfer += iprot->readListBegin(_etype1778, _size1775); + this->success.resize(_size1775); + uint32_t _i1779; + for (_i1779 = 0; _i1779 < _size1775; ++_i1779) { - xfer += iprot->readString(this->success[_i1769]); + xfer += iprot->readString(this->success[_i1779]); } xfer += iprot->readListEnd(); } @@ -33466,10 +33466,10 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1770; - for (_iter1770 = this->success.begin(); _iter1770 != this->success.end(); ++_iter1770) + std::vector ::const_iterator _iter1780; + for (_iter1780 = this->success.begin(); _iter1780 != this->success.end(); ++_iter1780) { - xfer += oprot->writeString((*_iter1770)); + xfer += oprot->writeString((*_iter1780)); } xfer += oprot->writeListEnd(); } @@ -33510,14 +33510,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1771; - ::apache::thrift::protocol::TType _etype1774; - xfer += iprot->readListBegin(_etype1774, _size1771); - (*(this->success)).resize(_size1771); - uint32_t _i1775; - for (_i1775 = 0; _i1775 < _size1771; ++_i1775) + uint32_t _size1781; + ::apache::thrift::protocol::TType _etype1784; + xfer += iprot->readListBegin(_etype1784, _size1781); + (*(this->success)).resize(_size1781); + uint32_t _i1785; + for (_i1785 = 0; _i1785 < _size1781; ++_i1785) { - xfer += iprot->readString((*(this->success))[_i1775]); + xfer += iprot->readString((*(this->success))[_i1785]); } xfer += iprot->readListEnd(); } @@ -34243,14 +34243,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1776; - ::apache::thrift::protocol::TType _etype1779; - xfer += iprot->readListBegin(_etype1779, _size1776); - this->success.resize(_size1776); - uint32_t _i1780; - for (_i1780 = 0; _i1780 < _size1776; ++_i1780) + uint32_t _size1786; + ::apache::thrift::protocol::TType _etype1789; + xfer += iprot->readListBegin(_etype1789, _size1786); + this->success.resize(_size1786); + uint32_t _i1790; + for (_i1790 = 0; _i1790 < _size1786; ++_i1790) { - xfer += iprot->readString(this->success[_i1780]); + xfer += iprot->readString(this->success[_i1790]); } xfer += iprot->readListEnd(); } @@ -34281,10 +34281,10 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1781; - for (_iter1781 = this->success.begin(); _iter1781 != this->success.end(); ++_iter1781) + std::vector ::const_iterator _iter1791; + for (_iter1791 = this->success.begin(); _iter1791 != this->success.end(); ++_iter1791) { - xfer += oprot->writeString((*_iter1781)); + xfer += oprot->writeString((*_iter1791)); } xfer += oprot->writeListEnd(); } @@ -34325,14 +34325,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1782; - ::apache::thrift::protocol::TType _etype1785; - xfer += iprot->readListBegin(_etype1785, _size1782); - (*(this->success)).resize(_size1782); - uint32_t _i1786; - for (_i1786 = 0; _i1786 < _size1782; ++_i1786) + uint32_t _size1792; + ::apache::thrift::protocol::TType _etype1795; + xfer += iprot->readListBegin(_etype1795, _size1792); + (*(this->success)).resize(_size1792); + uint32_t _i1796; + for (_i1796 = 0; _i1796 < _size1792; ++_i1796) { - xfer += iprot->readString((*(this->success))[_i1786]); + xfer += iprot->readString((*(this->success))[_i1796]); } xfer += iprot->readListEnd(); } @@ -35454,6 +35454,233 @@ uint32_t ThriftHiveMetastore_commit_txn_presult::read(::apache::thrift::protocol } +ThriftHiveMetastore_get_valid_txns_args::~ThriftHiveMetastore_get_valid_txns_args() throw() { +} + + +uint32_t ThriftHiveMetastore_get_valid_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; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->rqst.read(iprot); + this->__isset.rqst = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ThriftHiveMetastore_get_valid_txns_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_valid_txns_args"); + + xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->rqst.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_get_valid_txns_pargs::~ThriftHiveMetastore_get_valid_txns_pargs() throw() { +} + + +uint32_t ThriftHiveMetastore_get_valid_txns_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_valid_txns_pargs"); + + xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += (*(this->rqst)).write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_get_valid_txns_result::~ThriftHiveMetastore_get_valid_txns_result() throw() { +} + + +uint32_t ThriftHiveMetastore_get_valid_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; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->success.read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o1.read(iprot); + this->__isset.o1 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o2.read(iprot); + this->__isset.o2 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ThriftHiveMetastore_get_valid_txns_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_valid_txns_result"); + + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); + xfer += this->success.write(oprot); + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.o1) { + xfer += oprot->writeFieldBegin("o1", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->o1.write(oprot); + xfer += oprot->writeFieldEnd(); + } else if (this->__isset.o2) { + xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2); + xfer += this->o2.write(oprot); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_get_valid_txns_presult::~ThriftHiveMetastore_get_valid_txns_presult() throw() { +} + + +uint32_t ThriftHiveMetastore_get_valid_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; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 0: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += (*(this->success)).read(iprot); + this->__isset.success = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 1: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o1.read(iprot); + this->__isset.o1 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o2.read(iprot); + this->__isset.o2 = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + + ThriftHiveMetastore_get_valid_write_ids_args::~ThriftHiveMetastore_get_valid_write_ids_args() throw() { } @@ -45973,14 +46200,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1787; - ::apache::thrift::protocol::TType _etype1790; - xfer += iprot->readListBegin(_etype1790, _size1787); - this->success.resize(_size1787); - uint32_t _i1791; - for (_i1791 = 0; _i1791 < _size1787; ++_i1791) + uint32_t _size1797; + ::apache::thrift::protocol::TType _etype1800; + xfer += iprot->readListBegin(_etype1800, _size1797); + this->success.resize(_size1797); + uint32_t _i1801; + for (_i1801 = 0; _i1801 < _size1797; ++_i1801) { - xfer += this->success[_i1791].read(iprot); + xfer += this->success[_i1801].read(iprot); } xfer += iprot->readListEnd(); } @@ -46027,10 +46254,10 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_result::write(::apache::thr xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1792; - for (_iter1792 = this->success.begin(); _iter1792 != this->success.end(); ++_iter1792) + std::vector ::const_iterator _iter1802; + for (_iter1802 = this->success.begin(); _iter1802 != this->success.end(); ++_iter1802) { - xfer += (*_iter1792).write(oprot); + xfer += (*_iter1802).write(oprot); } xfer += oprot->writeListEnd(); } @@ -46079,14 +46306,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1793; - ::apache::thrift::protocol::TType _etype1796; - xfer += iprot->readListBegin(_etype1796, _size1793); - (*(this->success)).resize(_size1793); - uint32_t _i1797; - for (_i1797 = 0; _i1797 < _size1793; ++_i1797) + uint32_t _size1803; + ::apache::thrift::protocol::TType _etype1806; + xfer += iprot->readListBegin(_etype1806, _size1803); + (*(this->success)).resize(_size1803); + uint32_t _i1807; + for (_i1807 = 0; _i1807 < _size1803; ++_i1807) { - xfer += (*(this->success))[_i1797].read(iprot); + xfer += (*(this->success))[_i1807].read(iprot); } xfer += iprot->readListEnd(); } @@ -56279,6 +56506,70 @@ void ThriftHiveMetastoreClient::recv_commit_txn() return; } +void ThriftHiveMetastoreClient::get_valid_txns(GetValidTxnsResponse& _return, const GetValidTxnsRequest& rqst) +{ + send_get_valid_txns(rqst); + recv_get_valid_txns(_return); +} + +void ThriftHiveMetastoreClient::send_get_valid_txns(const GetValidTxnsRequest& rqst) +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("get_valid_txns", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_valid_txns_pargs args; + args.rqst = &rqst; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void ThriftHiveMetastoreClient::recv_get_valid_txns(GetValidTxnsResponse& _return) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + iprot_->readMessageBegin(fname, mtype, rseqid); + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("get_valid_txns") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + ThriftHiveMetastore_get_valid_txns_presult result; + result.success = &_return; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.success) { + // _return pointer has now been filled + return; + } + if (result.__isset.o1) { + throw result.o1; + } + if (result.__isset.o2) { + throw result.o2; + } + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_valid_txns failed: unknown result"); +} + void ThriftHiveMetastoreClient::get_valid_write_ids(GetValidWriteIdsResponse& _return, const GetValidWriteIdsRequest& rqst) { send_get_valid_write_ids(rqst); @@ -68002,6 +68293,66 @@ void ThriftHiveMetastoreProcessor::process_commit_txn(int32_t seqid, ::apache::t } } +void ThriftHiveMetastoreProcessor::process_get_valid_txns(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) +{ + void* ctx = NULL; + if (this->eventHandler_.get() != NULL) { + ctx = this->eventHandler_->getContext("ThriftHiveMetastore.get_valid_txns", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "ThriftHiveMetastore.get_valid_txns"); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_valid_txns"); + } + + ThriftHiveMetastore_get_valid_txns_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_valid_txns", bytes); + } + + ThriftHiveMetastore_get_valid_txns_result result; + try { + iface_->get_valid_txns(result.success, args.rqst); + result.__isset.success = true; + } catch (NoSuchTxnException &o1) { + result.o1 = o1; + result.__isset.o1 = true; + } catch (MetaException &o2) { + result.o2 = o2; + result.__isset.o2 = true; + } catch (const std::exception& e) { + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_valid_txns"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("get_valid_txns", ::apache::thrift::protocol::T_EXCEPTION, seqid); + x.write(oprot); + oprot->writeMessageEnd(); + oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + return; + } + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_valid_txns"); + } + + oprot->writeMessageBegin("get_valid_txns", ::apache::thrift::protocol::T_REPLY, seqid); + result.write(oprot); + oprot->writeMessageEnd(); + bytes = oprot->getTransport()->writeEnd(); + oprot->getTransport()->flush(); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_valid_txns", bytes); + } +} + void ThriftHiveMetastoreProcessor::process_get_valid_write_ids(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) { void* ctx = NULL; @@ -83991,6 +84342,98 @@ void ThriftHiveMetastoreConcurrentClient::recv_commit_txn(const int32_t seqid) } // end while(true) } +void ThriftHiveMetastoreConcurrentClient::get_valid_txns(GetValidTxnsResponse& _return, const GetValidTxnsRequest& rqst) +{ + int32_t seqid = send_get_valid_txns(rqst); + recv_get_valid_txns(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_get_valid_txns(const GetValidTxnsRequest& rqst) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("get_valid_txns", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_get_valid_txns_pargs args; + args.rqst = &rqst; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_get_valid_txns(GetValidTxnsResponse& _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_valid_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_valid_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; + } + 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_valid_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_valid_write_ids(GetValidWriteIdsResponse& _return, const GetValidWriteIdsRequest& rqst) { int32_t seqid = send_get_valid_write_ids(rqst); diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h index 7206e29..5ae4cb3 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h +++ b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h @@ -161,6 +161,7 @@ class ThriftHiveMetastoreIf : virtual public ::facebook::fb303::FacebookService virtual void abort_txn(const AbortTxnRequest& rqst) = 0; virtual void abort_txns(const AbortTxnsRequest& rqst) = 0; virtual void commit_txn(const CommitTxnRequest& rqst) = 0; + virtual void get_valid_txns(GetValidTxnsResponse& _return, const GetValidTxnsRequest& rqst) = 0; virtual void get_valid_write_ids(GetValidWriteIdsResponse& _return, const GetValidWriteIdsRequest& rqst) = 0; virtual void allocate_table_write_ids(AllocateTableWriteIdsResponse& _return, const AllocateTableWriteIdsRequest& rqst) = 0; virtual void lock(LockResponse& _return, const LockRequest& rqst) = 0; @@ -689,6 +690,9 @@ class ThriftHiveMetastoreNull : virtual public ThriftHiveMetastoreIf , virtual p void commit_txn(const CommitTxnRequest& /* rqst */) { return; } + void get_valid_txns(GetValidTxnsResponse& /* _return */, const GetValidTxnsRequest& /* rqst */) { + return; + } void get_valid_write_ids(GetValidWriteIdsResponse& /* _return */, const GetValidWriteIdsRequest& /* rqst */) { return; } @@ -18317,6 +18321,126 @@ class ThriftHiveMetastore_commit_txn_presult { }; +typedef struct _ThriftHiveMetastore_get_valid_txns_args__isset { + _ThriftHiveMetastore_get_valid_txns_args__isset() : rqst(false) {} + bool rqst :1; +} _ThriftHiveMetastore_get_valid_txns_args__isset; + +class ThriftHiveMetastore_get_valid_txns_args { + public: + + ThriftHiveMetastore_get_valid_txns_args(const ThriftHiveMetastore_get_valid_txns_args&); + ThriftHiveMetastore_get_valid_txns_args& operator=(const ThriftHiveMetastore_get_valid_txns_args&); + ThriftHiveMetastore_get_valid_txns_args() { + } + + virtual ~ThriftHiveMetastore_get_valid_txns_args() throw(); + GetValidTxnsRequest rqst; + + _ThriftHiveMetastore_get_valid_txns_args__isset __isset; + + void __set_rqst(const GetValidTxnsRequest& val); + + bool operator == (const ThriftHiveMetastore_get_valid_txns_args & rhs) const + { + if (!(rqst == rhs.rqst)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_get_valid_txns_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_get_valid_txns_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class ThriftHiveMetastore_get_valid_txns_pargs { + public: + + + virtual ~ThriftHiveMetastore_get_valid_txns_pargs() throw(); + const GetValidTxnsRequest* rqst; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_get_valid_txns_result__isset { + _ThriftHiveMetastore_get_valid_txns_result__isset() : success(false), o1(false), o2(false) {} + bool success :1; + bool o1 :1; + bool o2 :1; +} _ThriftHiveMetastore_get_valid_txns_result__isset; + +class ThriftHiveMetastore_get_valid_txns_result { + public: + + ThriftHiveMetastore_get_valid_txns_result(const ThriftHiveMetastore_get_valid_txns_result&); + ThriftHiveMetastore_get_valid_txns_result& operator=(const ThriftHiveMetastore_get_valid_txns_result&); + ThriftHiveMetastore_get_valid_txns_result() { + } + + virtual ~ThriftHiveMetastore_get_valid_txns_result() throw(); + GetValidTxnsResponse success; + NoSuchTxnException o1; + MetaException o2; + + _ThriftHiveMetastore_get_valid_txns_result__isset __isset; + + void __set_success(const GetValidTxnsResponse& val); + + void __set_o1(const NoSuchTxnException& val); + + void __set_o2(const MetaException& val); + + bool operator == (const ThriftHiveMetastore_get_valid_txns_result & rhs) const + { + if (!(success == rhs.success)) + return false; + if (!(o1 == rhs.o1)) + return false; + if (!(o2 == rhs.o2)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_get_valid_txns_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_get_valid_txns_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_get_valid_txns_presult__isset { + _ThriftHiveMetastore_get_valid_txns_presult__isset() : success(false), o1(false), o2(false) {} + bool success :1; + bool o1 :1; + bool o2 :1; +} _ThriftHiveMetastore_get_valid_txns_presult__isset; + +class ThriftHiveMetastore_get_valid_txns_presult { + public: + + + virtual ~ThriftHiveMetastore_get_valid_txns_presult() throw(); + GetValidTxnsResponse* success; + NoSuchTxnException o1; + MetaException o2; + + _ThriftHiveMetastore_get_valid_txns_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + typedef struct _ThriftHiveMetastore_get_valid_write_ids_args__isset { _ThriftHiveMetastore_get_valid_write_ids_args__isset() : rqst(false) {} bool rqst :1; @@ -25097,6 +25221,9 @@ class ThriftHiveMetastoreClient : virtual public ThriftHiveMetastoreIf, public void commit_txn(const CommitTxnRequest& rqst); void send_commit_txn(const CommitTxnRequest& rqst); void recv_commit_txn(); + void get_valid_txns(GetValidTxnsResponse& _return, const GetValidTxnsRequest& rqst); + void send_get_valid_txns(const GetValidTxnsRequest& rqst); + void recv_get_valid_txns(GetValidTxnsResponse& _return); void get_valid_write_ids(GetValidWriteIdsResponse& _return, const GetValidWriteIdsRequest& rqst); void send_get_valid_write_ids(const GetValidWriteIdsRequest& rqst); void recv_get_valid_write_ids(GetValidWriteIdsResponse& _return); @@ -25411,6 +25538,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP void process_abort_txn(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_abort_txns(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_commit_txn(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); + void process_get_valid_txns(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_valid_write_ids(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_allocate_table_write_ids(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_lock(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); @@ -25609,6 +25737,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP processMap_["abort_txn"] = &ThriftHiveMetastoreProcessor::process_abort_txn; processMap_["abort_txns"] = &ThriftHiveMetastoreProcessor::process_abort_txns; processMap_["commit_txn"] = &ThriftHiveMetastoreProcessor::process_commit_txn; + processMap_["get_valid_txns"] = &ThriftHiveMetastoreProcessor::process_get_valid_txns; processMap_["get_valid_write_ids"] = &ThriftHiveMetastoreProcessor::process_get_valid_write_ids; processMap_["allocate_table_write_ids"] = &ThriftHiveMetastoreProcessor::process_allocate_table_write_ids; processMap_["lock"] = &ThriftHiveMetastoreProcessor::process_lock; @@ -27026,6 +27155,16 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi ifaces_[i]->commit_txn(rqst); } + void get_valid_txns(GetValidTxnsResponse& _return, const GetValidTxnsRequest& rqst) { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->get_valid_txns(_return, rqst); + } + ifaces_[i]->get_valid_txns(_return, rqst); + return; + } + void get_valid_write_ids(GetValidWriteIdsResponse& _return, const GetValidWriteIdsRequest& rqst) { size_t sz = ifaces_.size(); size_t i = 0; @@ -27996,6 +28135,9 @@ class ThriftHiveMetastoreConcurrentClient : virtual public ThriftHiveMetastoreIf void commit_txn(const CommitTxnRequest& rqst); int32_t send_commit_txn(const CommitTxnRequest& rqst); void recv_commit_txn(const int32_t seqid); + void get_valid_txns(GetValidTxnsResponse& _return, const GetValidTxnsRequest& rqst); + int32_t send_get_valid_txns(const GetValidTxnsRequest& rqst); + void recv_get_valid_txns(GetValidTxnsResponse& _return, const int32_t seqid); void get_valid_write_ids(GetValidWriteIdsResponse& _return, const GetValidWriteIdsRequest& rqst); int32_t send_get_valid_write_ids(const GetValidWriteIdsRequest& rqst); void recv_get_valid_write_ids(GetValidWriteIdsResponse& _return, const int32_t seqid); diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp index 8d9ad25..300624b 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp +++ b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp @@ -717,6 +717,11 @@ class ThriftHiveMetastoreHandler : virtual public ThriftHiveMetastoreIf { printf("commit_txn\n"); } + void get_valid_txns(GetValidTxnsResponse& _return, const GetValidTxnsRequest& rqst) { + // Your implementation goes here + printf("get_valid_txns\n"); + } + void get_valid_write_ids(GetValidWriteIdsResponse& _return, const GetValidWriteIdsRequest& rqst) { // Your implementation goes here printf("get_valid_write_ids\n"); diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp index 620d6ef..ee44ea1 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp +++ b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp @@ -14721,6 +14721,292 @@ void CommitTxnRequest::printTo(std::ostream& out) const { } +GetValidTxnsRequest::~GetValidTxnsRequest() throw() { +} + + +void GetValidTxnsRequest::__set_currentTxnId(const int64_t val) { + this->currentTxnId = val; +} + +uint32_t GetValidTxnsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { + + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + bool isset_currentTxnId = false; + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->currentTxnId); + isset_currentTxnId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_currentTxnId) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t GetValidTxnsRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("GetValidTxnsRequest"); + + xfer += oprot->writeFieldBegin("currentTxnId", ::apache::thrift::protocol::T_I64, 1); + xfer += oprot->writeI64(this->currentTxnId); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(GetValidTxnsRequest &a, GetValidTxnsRequest &b) { + using ::std::swap; + swap(a.currentTxnId, b.currentTxnId); +} + +GetValidTxnsRequest::GetValidTxnsRequest(const GetValidTxnsRequest& other628) { + currentTxnId = other628.currentTxnId; +} +GetValidTxnsRequest& GetValidTxnsRequest::operator=(const GetValidTxnsRequest& other629) { + currentTxnId = other629.currentTxnId; + return *this; +} +void GetValidTxnsRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "GetValidTxnsRequest("; + out << "currentTxnId=" << to_string(currentTxnId); + out << ")"; +} + + +GetValidTxnsResponse::~GetValidTxnsResponse() throw() { +} + + +void GetValidTxnsResponse::__set_currentTxnId(const int64_t val) { + this->currentTxnId = val; +} + +void GetValidTxnsResponse::__set_txnHighWaterMark(const int64_t val) { + this->txnHighWaterMark = val; +} + +void GetValidTxnsResponse::__set_invalidTxns(const std::vector & val) { + this->invalidTxns = val; +} + +void GetValidTxnsResponse::__set_minOpenTxnId(const int64_t val) { + this->minOpenTxnId = val; +__isset.minOpenTxnId = true; +} + +void GetValidTxnsResponse::__set_abortedBits(const std::string& val) { + this->abortedBits = val; +} + +uint32_t GetValidTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) { + + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + bool isset_currentTxnId = false; + bool isset_txnHighWaterMark = false; + bool isset_invalidTxns = false; + bool isset_abortedBits = false; + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->currentTxnId); + isset_currentTxnId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->txnHighWaterMark); + isset_txnHighWaterMark = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->invalidTxns.clear(); + uint32_t _size630; + ::apache::thrift::protocol::TType _etype633; + xfer += iprot->readListBegin(_etype633, _size630); + this->invalidTxns.resize(_size630); + uint32_t _i634; + for (_i634 = 0; _i634 < _size630; ++_i634) + { + xfer += iprot->readI64(this->invalidTxns[_i634]); + } + xfer += iprot->readListEnd(); + } + isset_invalidTxns = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_I64) { + xfer += iprot->readI64(this->minOpenTxnId); + this->__isset.minOpenTxnId = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readBinary(this->abortedBits); + isset_abortedBits = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_currentTxnId) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_txnHighWaterMark) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_invalidTxns) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_abortedBits) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t GetValidTxnsResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("GetValidTxnsResponse"); + + xfer += oprot->writeFieldBegin("currentTxnId", ::apache::thrift::protocol::T_I64, 1); + xfer += oprot->writeI64(this->currentTxnId); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("txnHighWaterMark", ::apache::thrift::protocol::T_I64, 2); + xfer += oprot->writeI64(this->txnHighWaterMark); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("invalidTxns", ::apache::thrift::protocol::T_LIST, 3); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->invalidTxns.size())); + std::vector ::const_iterator _iter635; + for (_iter635 = this->invalidTxns.begin(); _iter635 != this->invalidTxns.end(); ++_iter635) + { + xfer += oprot->writeI64((*_iter635)); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + if (this->__isset.minOpenTxnId) { + xfer += oprot->writeFieldBegin("minOpenTxnId", ::apache::thrift::protocol::T_I64, 4); + xfer += oprot->writeI64(this->minOpenTxnId); + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldBegin("abortedBits", ::apache::thrift::protocol::T_STRING, 5); + xfer += oprot->writeBinary(this->abortedBits); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(GetValidTxnsResponse &a, GetValidTxnsResponse &b) { + using ::std::swap; + swap(a.currentTxnId, b.currentTxnId); + swap(a.txnHighWaterMark, b.txnHighWaterMark); + swap(a.invalidTxns, b.invalidTxns); + swap(a.minOpenTxnId, b.minOpenTxnId); + swap(a.abortedBits, b.abortedBits); + swap(a.__isset, b.__isset); +} + +GetValidTxnsResponse::GetValidTxnsResponse(const GetValidTxnsResponse& other636) { + currentTxnId = other636.currentTxnId; + txnHighWaterMark = other636.txnHighWaterMark; + invalidTxns = other636.invalidTxns; + minOpenTxnId = other636.minOpenTxnId; + abortedBits = other636.abortedBits; + __isset = other636.__isset; +} +GetValidTxnsResponse& GetValidTxnsResponse::operator=(const GetValidTxnsResponse& other637) { + currentTxnId = other637.currentTxnId; + txnHighWaterMark = other637.txnHighWaterMark; + invalidTxns = other637.invalidTxns; + minOpenTxnId = other637.minOpenTxnId; + abortedBits = other637.abortedBits; + __isset = other637.__isset; + return *this; +} +void GetValidTxnsResponse::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "GetValidTxnsResponse("; + out << "currentTxnId=" << to_string(currentTxnId); + out << ", " << "txnHighWaterMark=" << to_string(txnHighWaterMark); + out << ", " << "invalidTxns=" << to_string(invalidTxns); + out << ", " << "minOpenTxnId="; (__isset.minOpenTxnId ? (out << to_string(minOpenTxnId)) : (out << "")); + out << ", " << "abortedBits=" << to_string(abortedBits); + out << ")"; +} + + GetValidWriteIdsRequest::~GetValidWriteIdsRequest() throw() { } @@ -14760,14 +15046,14 @@ uint32_t GetValidWriteIdsRequest::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fullTableNames.clear(); - uint32_t _size628; - ::apache::thrift::protocol::TType _etype631; - xfer += iprot->readListBegin(_etype631, _size628); - this->fullTableNames.resize(_size628); - uint32_t _i632; - for (_i632 = 0; _i632 < _size628; ++_i632) + uint32_t _size638; + ::apache::thrift::protocol::TType _etype641; + xfer += iprot->readListBegin(_etype641, _size638); + this->fullTableNames.resize(_size638); + uint32_t _i642; + for (_i642 = 0; _i642 < _size638; ++_i642) { - xfer += iprot->readString(this->fullTableNames[_i632]); + xfer += iprot->readString(this->fullTableNames[_i642]); } xfer += iprot->readListEnd(); } @@ -14808,10 +15094,10 @@ uint32_t GetValidWriteIdsRequest::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldBegin("fullTableNames", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->fullTableNames.size())); - std::vector ::const_iterator _iter633; - for (_iter633 = this->fullTableNames.begin(); _iter633 != this->fullTableNames.end(); ++_iter633) + std::vector ::const_iterator _iter643; + for (_iter643 = this->fullTableNames.begin(); _iter643 != this->fullTableNames.end(); ++_iter643) { - xfer += oprot->writeString((*_iter633)); + xfer += oprot->writeString((*_iter643)); } xfer += oprot->writeListEnd(); } @@ -14832,13 +15118,13 @@ void swap(GetValidWriteIdsRequest &a, GetValidWriteIdsRequest &b) { swap(a.validTxnList, b.validTxnList); } -GetValidWriteIdsRequest::GetValidWriteIdsRequest(const GetValidWriteIdsRequest& other634) { - fullTableNames = other634.fullTableNames; - validTxnList = other634.validTxnList; +GetValidWriteIdsRequest::GetValidWriteIdsRequest(const GetValidWriteIdsRequest& other644) { + fullTableNames = other644.fullTableNames; + validTxnList = other644.validTxnList; } -GetValidWriteIdsRequest& GetValidWriteIdsRequest::operator=(const GetValidWriteIdsRequest& other635) { - fullTableNames = other635.fullTableNames; - validTxnList = other635.validTxnList; +GetValidWriteIdsRequest& GetValidWriteIdsRequest::operator=(const GetValidWriteIdsRequest& other645) { + fullTableNames = other645.fullTableNames; + validTxnList = other645.validTxnList; return *this; } void GetValidWriteIdsRequest::printTo(std::ostream& out) const { @@ -14920,14 +15206,14 @@ uint32_t TableValidWriteIds::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->invalidWriteIds.clear(); - uint32_t _size636; - ::apache::thrift::protocol::TType _etype639; - xfer += iprot->readListBegin(_etype639, _size636); - this->invalidWriteIds.resize(_size636); - uint32_t _i640; - for (_i640 = 0; _i640 < _size636; ++_i640) + uint32_t _size646; + ::apache::thrift::protocol::TType _etype649; + xfer += iprot->readListBegin(_etype649, _size646); + this->invalidWriteIds.resize(_size646); + uint32_t _i650; + for (_i650 = 0; _i650 < _size646; ++_i650) { - xfer += iprot->readI64(this->invalidWriteIds[_i640]); + xfer += iprot->readI64(this->invalidWriteIds[_i650]); } xfer += iprot->readListEnd(); } @@ -14988,10 +15274,10 @@ uint32_t TableValidWriteIds::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("invalidWriteIds", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->invalidWriteIds.size())); - std::vector ::const_iterator _iter641; - for (_iter641 = this->invalidWriteIds.begin(); _iter641 != this->invalidWriteIds.end(); ++_iter641) + std::vector ::const_iterator _iter651; + for (_iter651 = this->invalidWriteIds.begin(); _iter651 != this->invalidWriteIds.end(); ++_iter651) { - xfer += oprot->writeI64((*_iter641)); + xfer += oprot->writeI64((*_iter651)); } xfer += oprot->writeListEnd(); } @@ -15021,21 +15307,21 @@ void swap(TableValidWriteIds &a, TableValidWriteIds &b) { swap(a.__isset, b.__isset); } -TableValidWriteIds::TableValidWriteIds(const TableValidWriteIds& other642) { - fullTableName = other642.fullTableName; - writeIdHighWaterMark = other642.writeIdHighWaterMark; - invalidWriteIds = other642.invalidWriteIds; - minOpenWriteId = other642.minOpenWriteId; - abortedBits = other642.abortedBits; - __isset = other642.__isset; -} -TableValidWriteIds& TableValidWriteIds::operator=(const TableValidWriteIds& other643) { - fullTableName = other643.fullTableName; - writeIdHighWaterMark = other643.writeIdHighWaterMark; - invalidWriteIds = other643.invalidWriteIds; - minOpenWriteId = other643.minOpenWriteId; - abortedBits = other643.abortedBits; - __isset = other643.__isset; +TableValidWriteIds::TableValidWriteIds(const TableValidWriteIds& other652) { + fullTableName = other652.fullTableName; + writeIdHighWaterMark = other652.writeIdHighWaterMark; + invalidWriteIds = other652.invalidWriteIds; + minOpenWriteId = other652.minOpenWriteId; + abortedBits = other652.abortedBits; + __isset = other652.__isset; +} +TableValidWriteIds& TableValidWriteIds::operator=(const TableValidWriteIds& other653) { + fullTableName = other653.fullTableName; + writeIdHighWaterMark = other653.writeIdHighWaterMark; + invalidWriteIds = other653.invalidWriteIds; + minOpenWriteId = other653.minOpenWriteId; + abortedBits = other653.abortedBits; + __isset = other653.__isset; return *this; } void TableValidWriteIds::printTo(std::ostream& out) const { @@ -15084,14 +15370,14 @@ uint32_t GetValidWriteIdsResponse::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tblValidWriteIds.clear(); - uint32_t _size644; - ::apache::thrift::protocol::TType _etype647; - xfer += iprot->readListBegin(_etype647, _size644); - this->tblValidWriteIds.resize(_size644); - uint32_t _i648; - for (_i648 = 0; _i648 < _size644; ++_i648) + uint32_t _size654; + ::apache::thrift::protocol::TType _etype657; + xfer += iprot->readListBegin(_etype657, _size654); + this->tblValidWriteIds.resize(_size654); + uint32_t _i658; + for (_i658 = 0; _i658 < _size654; ++_i658) { - xfer += this->tblValidWriteIds[_i648].read(iprot); + xfer += this->tblValidWriteIds[_i658].read(iprot); } xfer += iprot->readListEnd(); } @@ -15122,10 +15408,10 @@ uint32_t GetValidWriteIdsResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("tblValidWriteIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->tblValidWriteIds.size())); - std::vector ::const_iterator _iter649; - for (_iter649 = this->tblValidWriteIds.begin(); _iter649 != this->tblValidWriteIds.end(); ++_iter649) + std::vector ::const_iterator _iter659; + for (_iter659 = this->tblValidWriteIds.begin(); _iter659 != this->tblValidWriteIds.end(); ++_iter659) { - xfer += (*_iter649).write(oprot); + xfer += (*_iter659).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15141,11 +15427,11 @@ void swap(GetValidWriteIdsResponse &a, GetValidWriteIdsResponse &b) { swap(a.tblValidWriteIds, b.tblValidWriteIds); } -GetValidWriteIdsResponse::GetValidWriteIdsResponse(const GetValidWriteIdsResponse& other650) { - tblValidWriteIds = other650.tblValidWriteIds; +GetValidWriteIdsResponse::GetValidWriteIdsResponse(const GetValidWriteIdsResponse& other660) { + tblValidWriteIds = other660.tblValidWriteIds; } -GetValidWriteIdsResponse& GetValidWriteIdsResponse::operator=(const GetValidWriteIdsResponse& other651) { - tblValidWriteIds = other651.tblValidWriteIds; +GetValidWriteIdsResponse& GetValidWriteIdsResponse::operator=(const GetValidWriteIdsResponse& other661) { + tblValidWriteIds = other661.tblValidWriteIds; return *this; } void GetValidWriteIdsResponse::printTo(std::ostream& out) const { @@ -15200,14 +15486,14 @@ uint32_t AllocateTableWriteIdsRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txnIds.clear(); - uint32_t _size652; - ::apache::thrift::protocol::TType _etype655; - xfer += iprot->readListBegin(_etype655, _size652); - this->txnIds.resize(_size652); - uint32_t _i656; - for (_i656 = 0; _i656 < _size652; ++_i656) + uint32_t _size662; + ::apache::thrift::protocol::TType _etype665; + xfer += iprot->readListBegin(_etype665, _size662); + this->txnIds.resize(_size662); + uint32_t _i666; + for (_i666 = 0; _i666 < _size662; ++_i666) { - xfer += iprot->readI64(this->txnIds[_i656]); + xfer += iprot->readI64(this->txnIds[_i666]); } xfer += iprot->readListEnd(); } @@ -15258,10 +15544,10 @@ uint32_t AllocateTableWriteIdsRequest::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldBegin("txnIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->txnIds.size())); - std::vector ::const_iterator _iter657; - for (_iter657 = this->txnIds.begin(); _iter657 != this->txnIds.end(); ++_iter657) + std::vector ::const_iterator _iter667; + for (_iter667 = this->txnIds.begin(); _iter667 != this->txnIds.end(); ++_iter667) { - xfer += oprot->writeI64((*_iter657)); + xfer += oprot->writeI64((*_iter667)); } xfer += oprot->writeListEnd(); } @@ -15287,15 +15573,15 @@ void swap(AllocateTableWriteIdsRequest &a, AllocateTableWriteIdsRequest &b) { swap(a.tableName, b.tableName); } -AllocateTableWriteIdsRequest::AllocateTableWriteIdsRequest(const AllocateTableWriteIdsRequest& other658) { - txnIds = other658.txnIds; - dbName = other658.dbName; - tableName = other658.tableName; +AllocateTableWriteIdsRequest::AllocateTableWriteIdsRequest(const AllocateTableWriteIdsRequest& other668) { + txnIds = other668.txnIds; + dbName = other668.dbName; + tableName = other668.tableName; } -AllocateTableWriteIdsRequest& AllocateTableWriteIdsRequest::operator=(const AllocateTableWriteIdsRequest& other659) { - txnIds = other659.txnIds; - dbName = other659.dbName; - tableName = other659.tableName; +AllocateTableWriteIdsRequest& AllocateTableWriteIdsRequest::operator=(const AllocateTableWriteIdsRequest& other669) { + txnIds = other669.txnIds; + dbName = other669.dbName; + tableName = other669.tableName; return *this; } void AllocateTableWriteIdsRequest::printTo(std::ostream& out) const { @@ -15399,13 +15685,13 @@ void swap(TxnToWriteId &a, TxnToWriteId &b) { swap(a.writeId, b.writeId); } -TxnToWriteId::TxnToWriteId(const TxnToWriteId& other660) { - txnId = other660.txnId; - writeId = other660.writeId; +TxnToWriteId::TxnToWriteId(const TxnToWriteId& other670) { + txnId = other670.txnId; + writeId = other670.writeId; } -TxnToWriteId& TxnToWriteId::operator=(const TxnToWriteId& other661) { - txnId = other661.txnId; - writeId = other661.writeId; +TxnToWriteId& TxnToWriteId::operator=(const TxnToWriteId& other671) { + txnId = other671.txnId; + writeId = other671.writeId; return *this; } void TxnToWriteId::printTo(std::ostream& out) const { @@ -15451,14 +15737,14 @@ uint32_t AllocateTableWriteIdsResponse::read(::apache::thrift::protocol::TProtoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txnToWriteIds.clear(); - uint32_t _size662; - ::apache::thrift::protocol::TType _etype665; - xfer += iprot->readListBegin(_etype665, _size662); - this->txnToWriteIds.resize(_size662); - uint32_t _i666; - for (_i666 = 0; _i666 < _size662; ++_i666) + uint32_t _size672; + ::apache::thrift::protocol::TType _etype675; + xfer += iprot->readListBegin(_etype675, _size672); + this->txnToWriteIds.resize(_size672); + uint32_t _i676; + for (_i676 = 0; _i676 < _size672; ++_i676) { - xfer += this->txnToWriteIds[_i666].read(iprot); + xfer += this->txnToWriteIds[_i676].read(iprot); } xfer += iprot->readListEnd(); } @@ -15489,10 +15775,10 @@ uint32_t AllocateTableWriteIdsResponse::write(::apache::thrift::protocol::TProto xfer += oprot->writeFieldBegin("txnToWriteIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->txnToWriteIds.size())); - std::vector ::const_iterator _iter667; - for (_iter667 = this->txnToWriteIds.begin(); _iter667 != this->txnToWriteIds.end(); ++_iter667) + std::vector ::const_iterator _iter677; + for (_iter677 = this->txnToWriteIds.begin(); _iter677 != this->txnToWriteIds.end(); ++_iter677) { - xfer += (*_iter667).write(oprot); + xfer += (*_iter677).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15508,11 +15794,11 @@ void swap(AllocateTableWriteIdsResponse &a, AllocateTableWriteIdsResponse &b) { swap(a.txnToWriteIds, b.txnToWriteIds); } -AllocateTableWriteIdsResponse::AllocateTableWriteIdsResponse(const AllocateTableWriteIdsResponse& other668) { - txnToWriteIds = other668.txnToWriteIds; +AllocateTableWriteIdsResponse::AllocateTableWriteIdsResponse(const AllocateTableWriteIdsResponse& other678) { + txnToWriteIds = other678.txnToWriteIds; } -AllocateTableWriteIdsResponse& AllocateTableWriteIdsResponse::operator=(const AllocateTableWriteIdsResponse& other669) { - txnToWriteIds = other669.txnToWriteIds; +AllocateTableWriteIdsResponse& AllocateTableWriteIdsResponse::operator=(const AllocateTableWriteIdsResponse& other679) { + txnToWriteIds = other679.txnToWriteIds; return *this; } void AllocateTableWriteIdsResponse::printTo(std::ostream& out) const { @@ -15590,9 +15876,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast670; - xfer += iprot->readI32(ecast670); - this->type = (LockType::type)ecast670; + int32_t ecast680; + xfer += iprot->readI32(ecast680); + this->type = (LockType::type)ecast680; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -15600,9 +15886,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast671; - xfer += iprot->readI32(ecast671); - this->level = (LockLevel::type)ecast671; + int32_t ecast681; + xfer += iprot->readI32(ecast681); + this->level = (LockLevel::type)ecast681; isset_level = true; } else { xfer += iprot->skip(ftype); @@ -15634,9 +15920,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast672; - xfer += iprot->readI32(ecast672); - this->operationType = (DataOperationType::type)ecast672; + int32_t ecast682; + xfer += iprot->readI32(ecast682); + this->operationType = (DataOperationType::type)ecast682; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -15736,27 +16022,27 @@ void swap(LockComponent &a, LockComponent &b) { swap(a.__isset, b.__isset); } -LockComponent::LockComponent(const LockComponent& other673) { - type = other673.type; - level = other673.level; - dbname = other673.dbname; - tablename = other673.tablename; - partitionname = other673.partitionname; - operationType = other673.operationType; - isTransactional = other673.isTransactional; - isDynamicPartitionWrite = other673.isDynamicPartitionWrite; - __isset = other673.__isset; -} -LockComponent& LockComponent::operator=(const LockComponent& other674) { - type = other674.type; - level = other674.level; - dbname = other674.dbname; - tablename = other674.tablename; - partitionname = other674.partitionname; - operationType = other674.operationType; - isTransactional = other674.isTransactional; - isDynamicPartitionWrite = other674.isDynamicPartitionWrite; - __isset = other674.__isset; +LockComponent::LockComponent(const LockComponent& other683) { + type = other683.type; + level = other683.level; + dbname = other683.dbname; + tablename = other683.tablename; + partitionname = other683.partitionname; + operationType = other683.operationType; + isTransactional = other683.isTransactional; + isDynamicPartitionWrite = other683.isDynamicPartitionWrite; + __isset = other683.__isset; +} +LockComponent& LockComponent::operator=(const LockComponent& other684) { + type = other684.type; + level = other684.level; + dbname = other684.dbname; + tablename = other684.tablename; + partitionname = other684.partitionname; + operationType = other684.operationType; + isTransactional = other684.isTransactional; + isDynamicPartitionWrite = other684.isDynamicPartitionWrite; + __isset = other684.__isset; return *this; } void LockComponent::printTo(std::ostream& out) const { @@ -15828,14 +16114,14 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->component.clear(); - uint32_t _size675; - ::apache::thrift::protocol::TType _etype678; - xfer += iprot->readListBegin(_etype678, _size675); - this->component.resize(_size675); - uint32_t _i679; - for (_i679 = 0; _i679 < _size675; ++_i679) + uint32_t _size685; + ::apache::thrift::protocol::TType _etype688; + xfer += iprot->readListBegin(_etype688, _size685); + this->component.resize(_size685); + uint32_t _i689; + for (_i689 = 0; _i689 < _size685; ++_i689) { - xfer += this->component[_i679].read(iprot); + xfer += this->component[_i689].read(iprot); } xfer += iprot->readListEnd(); } @@ -15902,10 +16188,10 @@ uint32_t LockRequest::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldBegin("component", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->component.size())); - std::vector ::const_iterator _iter680; - for (_iter680 = this->component.begin(); _iter680 != this->component.end(); ++_iter680) + std::vector ::const_iterator _iter690; + for (_iter690 = this->component.begin(); _iter690 != this->component.end(); ++_iter690) { - xfer += (*_iter680).write(oprot); + xfer += (*_iter690).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15944,21 +16230,21 @@ void swap(LockRequest &a, LockRequest &b) { swap(a.__isset, b.__isset); } -LockRequest::LockRequest(const LockRequest& other681) { - component = other681.component; - txnid = other681.txnid; - user = other681.user; - hostname = other681.hostname; - agentInfo = other681.agentInfo; - __isset = other681.__isset; -} -LockRequest& LockRequest::operator=(const LockRequest& other682) { - component = other682.component; - txnid = other682.txnid; - user = other682.user; - hostname = other682.hostname; - agentInfo = other682.agentInfo; - __isset = other682.__isset; +LockRequest::LockRequest(const LockRequest& other691) { + component = other691.component; + txnid = other691.txnid; + user = other691.user; + hostname = other691.hostname; + agentInfo = other691.agentInfo; + __isset = other691.__isset; +} +LockRequest& LockRequest::operator=(const LockRequest& other692) { + component = other692.component; + txnid = other692.txnid; + user = other692.user; + hostname = other692.hostname; + agentInfo = other692.agentInfo; + __isset = other692.__isset; return *this; } void LockRequest::printTo(std::ostream& out) const { @@ -16018,9 +16304,9 @@ uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast683; - xfer += iprot->readI32(ecast683); - this->state = (LockState::type)ecast683; + int32_t ecast693; + xfer += iprot->readI32(ecast693); + this->state = (LockState::type)ecast693; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -16066,13 +16352,13 @@ void swap(LockResponse &a, LockResponse &b) { swap(a.state, b.state); } -LockResponse::LockResponse(const LockResponse& other684) { - lockid = other684.lockid; - state = other684.state; +LockResponse::LockResponse(const LockResponse& other694) { + lockid = other694.lockid; + state = other694.state; } -LockResponse& LockResponse::operator=(const LockResponse& other685) { - lockid = other685.lockid; - state = other685.state; +LockResponse& LockResponse::operator=(const LockResponse& other695) { + lockid = other695.lockid; + state = other695.state; return *this; } void LockResponse::printTo(std::ostream& out) const { @@ -16194,17 +16480,17 @@ void swap(CheckLockRequest &a, CheckLockRequest &b) { swap(a.__isset, b.__isset); } -CheckLockRequest::CheckLockRequest(const CheckLockRequest& other686) { - lockid = other686.lockid; - txnid = other686.txnid; - elapsed_ms = other686.elapsed_ms; - __isset = other686.__isset; +CheckLockRequest::CheckLockRequest(const CheckLockRequest& other696) { + lockid = other696.lockid; + txnid = other696.txnid; + elapsed_ms = other696.elapsed_ms; + __isset = other696.__isset; } -CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other687) { - lockid = other687.lockid; - txnid = other687.txnid; - elapsed_ms = other687.elapsed_ms; - __isset = other687.__isset; +CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other697) { + lockid = other697.lockid; + txnid = other697.txnid; + elapsed_ms = other697.elapsed_ms; + __isset = other697.__isset; return *this; } void CheckLockRequest::printTo(std::ostream& out) const { @@ -16288,11 +16574,11 @@ void swap(UnlockRequest &a, UnlockRequest &b) { swap(a.lockid, b.lockid); } -UnlockRequest::UnlockRequest(const UnlockRequest& other688) { - lockid = other688.lockid; +UnlockRequest::UnlockRequest(const UnlockRequest& other698) { + lockid = other698.lockid; } -UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other689) { - lockid = other689.lockid; +UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other699) { + lockid = other699.lockid; return *this; } void UnlockRequest::printTo(std::ostream& out) const { @@ -16431,19 +16717,19 @@ void swap(ShowLocksRequest &a, ShowLocksRequest &b) { swap(a.__isset, b.__isset); } -ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other690) { - dbname = other690.dbname; - tablename = other690.tablename; - partname = other690.partname; - isExtended = other690.isExtended; - __isset = other690.__isset; +ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other700) { + dbname = other700.dbname; + tablename = other700.tablename; + partname = other700.partname; + isExtended = other700.isExtended; + __isset = other700.__isset; } -ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other691) { - dbname = other691.dbname; - tablename = other691.tablename; - partname = other691.partname; - isExtended = other691.isExtended; - __isset = other691.__isset; +ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other701) { + dbname = other701.dbname; + tablename = other701.tablename; + partname = other701.partname; + isExtended = other701.isExtended; + __isset = other701.__isset; return *this; } void ShowLocksRequest::printTo(std::ostream& out) const { @@ -16596,9 +16882,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast692; - xfer += iprot->readI32(ecast692); - this->state = (LockState::type)ecast692; + int32_t ecast702; + xfer += iprot->readI32(ecast702); + this->state = (LockState::type)ecast702; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -16606,9 +16892,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast693; - xfer += iprot->readI32(ecast693); - this->type = (LockType::type)ecast693; + int32_t ecast703; + xfer += iprot->readI32(ecast703); + this->type = (LockType::type)ecast703; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -16824,43 +17110,43 @@ void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b) { swap(a.__isset, b.__isset); } -ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other694) { - lockid = other694.lockid; - dbname = other694.dbname; - tablename = other694.tablename; - partname = other694.partname; - state = other694.state; - type = other694.type; - txnid = other694.txnid; - lastheartbeat = other694.lastheartbeat; - acquiredat = other694.acquiredat; - user = other694.user; - hostname = other694.hostname; - heartbeatCount = other694.heartbeatCount; - agentInfo = other694.agentInfo; - blockedByExtId = other694.blockedByExtId; - blockedByIntId = other694.blockedByIntId; - lockIdInternal = other694.lockIdInternal; - __isset = other694.__isset; -} -ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other695) { - lockid = other695.lockid; - dbname = other695.dbname; - tablename = other695.tablename; - partname = other695.partname; - state = other695.state; - type = other695.type; - txnid = other695.txnid; - lastheartbeat = other695.lastheartbeat; - acquiredat = other695.acquiredat; - user = other695.user; - hostname = other695.hostname; - heartbeatCount = other695.heartbeatCount; - agentInfo = other695.agentInfo; - blockedByExtId = other695.blockedByExtId; - blockedByIntId = other695.blockedByIntId; - lockIdInternal = other695.lockIdInternal; - __isset = other695.__isset; +ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other704) { + lockid = other704.lockid; + dbname = other704.dbname; + tablename = other704.tablename; + partname = other704.partname; + state = other704.state; + type = other704.type; + txnid = other704.txnid; + lastheartbeat = other704.lastheartbeat; + acquiredat = other704.acquiredat; + user = other704.user; + hostname = other704.hostname; + heartbeatCount = other704.heartbeatCount; + agentInfo = other704.agentInfo; + blockedByExtId = other704.blockedByExtId; + blockedByIntId = other704.blockedByIntId; + lockIdInternal = other704.lockIdInternal; + __isset = other704.__isset; +} +ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other705) { + lockid = other705.lockid; + dbname = other705.dbname; + tablename = other705.tablename; + partname = other705.partname; + state = other705.state; + type = other705.type; + txnid = other705.txnid; + lastheartbeat = other705.lastheartbeat; + acquiredat = other705.acquiredat; + user = other705.user; + hostname = other705.hostname; + heartbeatCount = other705.heartbeatCount; + agentInfo = other705.agentInfo; + blockedByExtId = other705.blockedByExtId; + blockedByIntId = other705.blockedByIntId; + lockIdInternal = other705.lockIdInternal; + __isset = other705.__isset; return *this; } void ShowLocksResponseElement::printTo(std::ostream& out) const { @@ -16919,14 +17205,14 @@ uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->locks.clear(); - uint32_t _size696; - ::apache::thrift::protocol::TType _etype699; - xfer += iprot->readListBegin(_etype699, _size696); - this->locks.resize(_size696); - uint32_t _i700; - for (_i700 = 0; _i700 < _size696; ++_i700) + uint32_t _size706; + ::apache::thrift::protocol::TType _etype709; + xfer += iprot->readListBegin(_etype709, _size706); + this->locks.resize(_size706); + uint32_t _i710; + for (_i710 = 0; _i710 < _size706; ++_i710) { - xfer += this->locks[_i700].read(iprot); + xfer += this->locks[_i710].read(iprot); } xfer += iprot->readListEnd(); } @@ -16955,10 +17241,10 @@ uint32_t ShowLocksResponse::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("locks", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->locks.size())); - std::vector ::const_iterator _iter701; - for (_iter701 = this->locks.begin(); _iter701 != this->locks.end(); ++_iter701) + std::vector ::const_iterator _iter711; + for (_iter711 = this->locks.begin(); _iter711 != this->locks.end(); ++_iter711) { - xfer += (*_iter701).write(oprot); + xfer += (*_iter711).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16975,13 +17261,13 @@ void swap(ShowLocksResponse &a, ShowLocksResponse &b) { swap(a.__isset, b.__isset); } -ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other702) { - locks = other702.locks; - __isset = other702.__isset; +ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other712) { + locks = other712.locks; + __isset = other712.__isset; } -ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other703) { - locks = other703.locks; - __isset = other703.__isset; +ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other713) { + locks = other713.locks; + __isset = other713.__isset; return *this; } void ShowLocksResponse::printTo(std::ostream& out) const { @@ -17082,15 +17368,15 @@ void swap(HeartbeatRequest &a, HeartbeatRequest &b) { swap(a.__isset, b.__isset); } -HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other704) { - lockid = other704.lockid; - txnid = other704.txnid; - __isset = other704.__isset; +HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other714) { + lockid = other714.lockid; + txnid = other714.txnid; + __isset = other714.__isset; } -HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other705) { - lockid = other705.lockid; - txnid = other705.txnid; - __isset = other705.__isset; +HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other715) { + lockid = other715.lockid; + txnid = other715.txnid; + __isset = other715.__isset; return *this; } void HeartbeatRequest::printTo(std::ostream& out) const { @@ -17193,13 +17479,13 @@ void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b) { swap(a.max, b.max); } -HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other706) { - min = other706.min; - max = other706.max; +HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other716) { + min = other716.min; + max = other716.max; } -HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other707) { - min = other707.min; - max = other707.max; +HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other717) { + min = other717.min; + max = other717.max; return *this; } void HeartbeatTxnRangeRequest::printTo(std::ostream& out) const { @@ -17250,15 +17536,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->aborted.clear(); - uint32_t _size708; - ::apache::thrift::protocol::TType _etype711; - xfer += iprot->readSetBegin(_etype711, _size708); - uint32_t _i712; - for (_i712 = 0; _i712 < _size708; ++_i712) + uint32_t _size718; + ::apache::thrift::protocol::TType _etype721; + xfer += iprot->readSetBegin(_etype721, _size718); + uint32_t _i722; + for (_i722 = 0; _i722 < _size718; ++_i722) { - int64_t _elem713; - xfer += iprot->readI64(_elem713); - this->aborted.insert(_elem713); + int64_t _elem723; + xfer += iprot->readI64(_elem723); + this->aborted.insert(_elem723); } xfer += iprot->readSetEnd(); } @@ -17271,15 +17557,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->nosuch.clear(); - uint32_t _size714; - ::apache::thrift::protocol::TType _etype717; - xfer += iprot->readSetBegin(_etype717, _size714); - uint32_t _i718; - for (_i718 = 0; _i718 < _size714; ++_i718) + uint32_t _size724; + ::apache::thrift::protocol::TType _etype727; + xfer += iprot->readSetBegin(_etype727, _size724); + uint32_t _i728; + for (_i728 = 0; _i728 < _size724; ++_i728) { - int64_t _elem719; - xfer += iprot->readI64(_elem719); - this->nosuch.insert(_elem719); + int64_t _elem729; + xfer += iprot->readI64(_elem729); + this->nosuch.insert(_elem729); } xfer += iprot->readSetEnd(); } @@ -17312,10 +17598,10 @@ uint32_t HeartbeatTxnRangeResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("aborted", ::apache::thrift::protocol::T_SET, 1); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I64, static_cast(this->aborted.size())); - std::set ::const_iterator _iter720; - for (_iter720 = this->aborted.begin(); _iter720 != this->aborted.end(); ++_iter720) + std::set ::const_iterator _iter730; + for (_iter730 = this->aborted.begin(); _iter730 != this->aborted.end(); ++_iter730) { - xfer += oprot->writeI64((*_iter720)); + xfer += oprot->writeI64((*_iter730)); } xfer += oprot->writeSetEnd(); } @@ -17324,10 +17610,10 @@ uint32_t HeartbeatTxnRangeResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("nosuch", ::apache::thrift::protocol::T_SET, 2); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I64, static_cast(this->nosuch.size())); - std::set ::const_iterator _iter721; - for (_iter721 = this->nosuch.begin(); _iter721 != this->nosuch.end(); ++_iter721) + std::set ::const_iterator _iter731; + for (_iter731 = this->nosuch.begin(); _iter731 != this->nosuch.end(); ++_iter731) { - xfer += oprot->writeI64((*_iter721)); + xfer += oprot->writeI64((*_iter731)); } xfer += oprot->writeSetEnd(); } @@ -17344,13 +17630,13 @@ void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b) { swap(a.nosuch, b.nosuch); } -HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other722) { - aborted = other722.aborted; - nosuch = other722.nosuch; +HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other732) { + aborted = other732.aborted; + nosuch = other732.nosuch; } -HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other723) { - aborted = other723.aborted; - nosuch = other723.nosuch; +HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other733) { + aborted = other733.aborted; + nosuch = other733.nosuch; return *this; } void HeartbeatTxnRangeResponse::printTo(std::ostream& out) const { @@ -17443,9 +17729,9 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast724; - xfer += iprot->readI32(ecast724); - this->type = (CompactionType::type)ecast724; + int32_t ecast734; + xfer += iprot->readI32(ecast734); + this->type = (CompactionType::type)ecast734; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -17463,17 +17749,17 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size725; - ::apache::thrift::protocol::TType _ktype726; - ::apache::thrift::protocol::TType _vtype727; - xfer += iprot->readMapBegin(_ktype726, _vtype727, _size725); - uint32_t _i729; - for (_i729 = 0; _i729 < _size725; ++_i729) + uint32_t _size735; + ::apache::thrift::protocol::TType _ktype736; + ::apache::thrift::protocol::TType _vtype737; + xfer += iprot->readMapBegin(_ktype736, _vtype737, _size735); + uint32_t _i739; + for (_i739 = 0; _i739 < _size735; ++_i739) { - std::string _key730; - xfer += iprot->readString(_key730); - std::string& _val731 = this->properties[_key730]; - xfer += iprot->readString(_val731); + std::string _key740; + xfer += iprot->readString(_key740); + std::string& _val741 = this->properties[_key740]; + xfer += iprot->readString(_val741); } xfer += iprot->readMapEnd(); } @@ -17531,11 +17817,11 @@ uint32_t CompactionRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("properties", ::apache::thrift::protocol::T_MAP, 6); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->properties.size())); - std::map ::const_iterator _iter732; - for (_iter732 = this->properties.begin(); _iter732 != this->properties.end(); ++_iter732) + std::map ::const_iterator _iter742; + for (_iter742 = this->properties.begin(); _iter742 != this->properties.end(); ++_iter742) { - xfer += oprot->writeString(_iter732->first); - xfer += oprot->writeString(_iter732->second); + xfer += oprot->writeString(_iter742->first); + xfer += oprot->writeString(_iter742->second); } xfer += oprot->writeMapEnd(); } @@ -17557,23 +17843,23 @@ void swap(CompactionRequest &a, CompactionRequest &b) { swap(a.__isset, b.__isset); } -CompactionRequest::CompactionRequest(const CompactionRequest& other733) { - dbname = other733.dbname; - tablename = other733.tablename; - partitionname = other733.partitionname; - type = other733.type; - runas = other733.runas; - properties = other733.properties; - __isset = other733.__isset; -} -CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other734) { - dbname = other734.dbname; - tablename = other734.tablename; - partitionname = other734.partitionname; - type = other734.type; - runas = other734.runas; - properties = other734.properties; - __isset = other734.__isset; +CompactionRequest::CompactionRequest(const CompactionRequest& other743) { + dbname = other743.dbname; + tablename = other743.tablename; + partitionname = other743.partitionname; + type = other743.type; + runas = other743.runas; + properties = other743.properties; + __isset = other743.__isset; +} +CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other744) { + dbname = other744.dbname; + tablename = other744.tablename; + partitionname = other744.partitionname; + type = other744.type; + runas = other744.runas; + properties = other744.properties; + __isset = other744.__isset; return *this; } void CompactionRequest::printTo(std::ostream& out) const { @@ -17700,15 +17986,15 @@ void swap(CompactionResponse &a, CompactionResponse &b) { swap(a.accepted, b.accepted); } -CompactionResponse::CompactionResponse(const CompactionResponse& other735) { - id = other735.id; - state = other735.state; - accepted = other735.accepted; +CompactionResponse::CompactionResponse(const CompactionResponse& other745) { + id = other745.id; + state = other745.state; + accepted = other745.accepted; } -CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other736) { - id = other736.id; - state = other736.state; - accepted = other736.accepted; +CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other746) { + id = other746.id; + state = other746.state; + accepted = other746.accepted; return *this; } void CompactionResponse::printTo(std::ostream& out) const { @@ -17769,11 +18055,11 @@ void swap(ShowCompactRequest &a, ShowCompactRequest &b) { (void) b; } -ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other737) { - (void) other737; +ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other747) { + (void) other747; } -ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other738) { - (void) other738; +ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other748) { + (void) other748; return *this; } void ShowCompactRequest::printTo(std::ostream& out) const { @@ -17899,9 +18185,9 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast739; - xfer += iprot->readI32(ecast739); - this->type = (CompactionType::type)ecast739; + int32_t ecast749; + xfer += iprot->readI32(ecast749); + this->type = (CompactionType::type)ecast749; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -18088,37 +18374,37 @@ void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b) { swap(a.__isset, b.__isset); } -ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other740) { - dbname = other740.dbname; - tablename = other740.tablename; - partitionname = other740.partitionname; - type = other740.type; - state = other740.state; - workerid = other740.workerid; - start = other740.start; - runAs = other740.runAs; - hightestTxnId = other740.hightestTxnId; - metaInfo = other740.metaInfo; - endTime = other740.endTime; - hadoopJobId = other740.hadoopJobId; - id = other740.id; - __isset = other740.__isset; -} -ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other741) { - dbname = other741.dbname; - tablename = other741.tablename; - partitionname = other741.partitionname; - type = other741.type; - state = other741.state; - workerid = other741.workerid; - start = other741.start; - runAs = other741.runAs; - hightestTxnId = other741.hightestTxnId; - metaInfo = other741.metaInfo; - endTime = other741.endTime; - hadoopJobId = other741.hadoopJobId; - id = other741.id; - __isset = other741.__isset; +ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other750) { + dbname = other750.dbname; + tablename = other750.tablename; + partitionname = other750.partitionname; + type = other750.type; + state = other750.state; + workerid = other750.workerid; + start = other750.start; + runAs = other750.runAs; + hightestTxnId = other750.hightestTxnId; + metaInfo = other750.metaInfo; + endTime = other750.endTime; + hadoopJobId = other750.hadoopJobId; + id = other750.id; + __isset = other750.__isset; +} +ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other751) { + dbname = other751.dbname; + tablename = other751.tablename; + partitionname = other751.partitionname; + type = other751.type; + state = other751.state; + workerid = other751.workerid; + start = other751.start; + runAs = other751.runAs; + hightestTxnId = other751.hightestTxnId; + metaInfo = other751.metaInfo; + endTime = other751.endTime; + hadoopJobId = other751.hadoopJobId; + id = other751.id; + __isset = other751.__isset; return *this; } void ShowCompactResponseElement::printTo(std::ostream& out) const { @@ -18175,14 +18461,14 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compacts.clear(); - uint32_t _size742; - ::apache::thrift::protocol::TType _etype745; - xfer += iprot->readListBegin(_etype745, _size742); - this->compacts.resize(_size742); - uint32_t _i746; - for (_i746 = 0; _i746 < _size742; ++_i746) + uint32_t _size752; + ::apache::thrift::protocol::TType _etype755; + xfer += iprot->readListBegin(_etype755, _size752); + this->compacts.resize(_size752); + uint32_t _i756; + for (_i756 = 0; _i756 < _size752; ++_i756) { - xfer += this->compacts[_i746].read(iprot); + xfer += this->compacts[_i756].read(iprot); } xfer += iprot->readListEnd(); } @@ -18213,10 +18499,10 @@ uint32_t ShowCompactResponse::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldBegin("compacts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->compacts.size())); - std::vector ::const_iterator _iter747; - for (_iter747 = this->compacts.begin(); _iter747 != this->compacts.end(); ++_iter747) + std::vector ::const_iterator _iter757; + for (_iter757 = this->compacts.begin(); _iter757 != this->compacts.end(); ++_iter757) { - xfer += (*_iter747).write(oprot); + xfer += (*_iter757).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18232,11 +18518,11 @@ void swap(ShowCompactResponse &a, ShowCompactResponse &b) { swap(a.compacts, b.compacts); } -ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other748) { - compacts = other748.compacts; +ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other758) { + compacts = other758.compacts; } -ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other749) { - compacts = other749.compacts; +ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other759) { + compacts = other759.compacts; return *this; } void ShowCompactResponse::printTo(std::ostream& out) const { @@ -18338,14 +18624,14 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionnames.clear(); - uint32_t _size750; - ::apache::thrift::protocol::TType _etype753; - xfer += iprot->readListBegin(_etype753, _size750); - this->partitionnames.resize(_size750); - uint32_t _i754; - for (_i754 = 0; _i754 < _size750; ++_i754) + uint32_t _size760; + ::apache::thrift::protocol::TType _etype763; + xfer += iprot->readListBegin(_etype763, _size760); + this->partitionnames.resize(_size760); + uint32_t _i764; + for (_i764 = 0; _i764 < _size760; ++_i764) { - xfer += iprot->readString(this->partitionnames[_i754]); + xfer += iprot->readString(this->partitionnames[_i764]); } xfer += iprot->readListEnd(); } @@ -18356,9 +18642,9 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast755; - xfer += iprot->readI32(ecast755); - this->operationType = (DataOperationType::type)ecast755; + int32_t ecast765; + xfer += iprot->readI32(ecast765); + this->operationType = (DataOperationType::type)ecast765; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -18410,10 +18696,10 @@ uint32_t AddDynamicPartitions::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("partitionnames", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionnames.size())); - std::vector ::const_iterator _iter756; - for (_iter756 = this->partitionnames.begin(); _iter756 != this->partitionnames.end(); ++_iter756) + std::vector ::const_iterator _iter766; + for (_iter766 = this->partitionnames.begin(); _iter766 != this->partitionnames.end(); ++_iter766) { - xfer += oprot->writeString((*_iter756)); + xfer += oprot->writeString((*_iter766)); } xfer += oprot->writeListEnd(); } @@ -18440,23 +18726,23 @@ void swap(AddDynamicPartitions &a, AddDynamicPartitions &b) { swap(a.__isset, b.__isset); } -AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other757) { - txnid = other757.txnid; - writeid = other757.writeid; - dbname = other757.dbname; - tablename = other757.tablename; - partitionnames = other757.partitionnames; - operationType = other757.operationType; - __isset = other757.__isset; -} -AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other758) { - txnid = other758.txnid; - writeid = other758.writeid; - dbname = other758.dbname; - tablename = other758.tablename; - partitionnames = other758.partitionnames; - operationType = other758.operationType; - __isset = other758.__isset; +AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other767) { + txnid = other767.txnid; + writeid = other767.writeid; + dbname = other767.dbname; + tablename = other767.tablename; + partitionnames = other767.partitionnames; + operationType = other767.operationType; + __isset = other767.__isset; +} +AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other768) { + txnid = other768.txnid; + writeid = other768.writeid; + dbname = other768.dbname; + tablename = other768.tablename; + partitionnames = other768.partitionnames; + operationType = other768.operationType; + __isset = other768.__isset; return *this; } void AddDynamicPartitions::printTo(std::ostream& out) const { @@ -18639,23 +18925,23 @@ void swap(BasicTxnInfo &a, BasicTxnInfo &b) { swap(a.__isset, b.__isset); } -BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other759) { - isnull = other759.isnull; - time = other759.time; - txnid = other759.txnid; - dbname = other759.dbname; - tablename = other759.tablename; - partitionname = other759.partitionname; - __isset = other759.__isset; -} -BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other760) { - isnull = other760.isnull; - time = other760.time; - txnid = other760.txnid; - dbname = other760.dbname; - tablename = other760.tablename; - partitionname = other760.partitionname; - __isset = other760.__isset; +BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other769) { + isnull = other769.isnull; + time = other769.time; + txnid = other769.txnid; + dbname = other769.dbname; + tablename = other769.tablename; + partitionname = other769.partitionname; + __isset = other769.__isset; +} +BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other770) { + isnull = other770.isnull; + time = other770.time; + txnid = other770.txnid; + dbname = other770.dbname; + tablename = other770.tablename; + partitionname = other770.partitionname; + __isset = other770.__isset; return *this; } void BasicTxnInfo::printTo(std::ostream& out) const { @@ -18736,15 +19022,15 @@ uint32_t CreationMetadata::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->tablesUsed.clear(); - uint32_t _size761; - ::apache::thrift::protocol::TType _etype764; - xfer += iprot->readSetBegin(_etype764, _size761); - uint32_t _i765; - for (_i765 = 0; _i765 < _size761; ++_i765) + uint32_t _size771; + ::apache::thrift::protocol::TType _etype774; + xfer += iprot->readSetBegin(_etype774, _size771); + uint32_t _i775; + for (_i775 = 0; _i775 < _size771; ++_i775) { - std::string _elem766; - xfer += iprot->readString(_elem766); - this->tablesUsed.insert(_elem766); + std::string _elem776; + xfer += iprot->readString(_elem776); + this->tablesUsed.insert(_elem776); } xfer += iprot->readSetEnd(); } @@ -18795,10 +19081,10 @@ uint32_t CreationMetadata::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("tablesUsed", ::apache::thrift::protocol::T_SET, 3); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tablesUsed.size())); - std::set ::const_iterator _iter767; - for (_iter767 = this->tablesUsed.begin(); _iter767 != this->tablesUsed.end(); ++_iter767) + std::set ::const_iterator _iter777; + for (_iter777 = this->tablesUsed.begin(); _iter777 != this->tablesUsed.end(); ++_iter777) { - xfer += oprot->writeString((*_iter767)); + xfer += oprot->writeString((*_iter777)); } xfer += oprot->writeSetEnd(); } @@ -18823,19 +19109,19 @@ void swap(CreationMetadata &a, CreationMetadata &b) { swap(a.__isset, b.__isset); } -CreationMetadata::CreationMetadata(const CreationMetadata& other768) { - dbName = other768.dbName; - tblName = other768.tblName; - tablesUsed = other768.tablesUsed; - validTxnList = other768.validTxnList; - __isset = other768.__isset; +CreationMetadata::CreationMetadata(const CreationMetadata& other778) { + dbName = other778.dbName; + tblName = other778.tblName; + tablesUsed = other778.tablesUsed; + validTxnList = other778.validTxnList; + __isset = other778.__isset; } -CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other769) { - dbName = other769.dbName; - tblName = other769.tblName; - tablesUsed = other769.tablesUsed; - validTxnList = other769.validTxnList; - __isset = other769.__isset; +CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other779) { + dbName = other779.dbName; + tblName = other779.tblName; + tablesUsed = other779.tablesUsed; + validTxnList = other779.validTxnList; + __isset = other779.__isset; return *this; } void CreationMetadata::printTo(std::ostream& out) const { @@ -18940,15 +19226,15 @@ void swap(NotificationEventRequest &a, NotificationEventRequest &b) { swap(a.__isset, b.__isset); } -NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other770) { - lastEvent = other770.lastEvent; - maxEvents = other770.maxEvents; - __isset = other770.__isset; +NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other780) { + lastEvent = other780.lastEvent; + maxEvents = other780.maxEvents; + __isset = other780.__isset; } -NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other771) { - lastEvent = other771.lastEvent; - maxEvents = other771.maxEvents; - __isset = other771.__isset; +NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other781) { + lastEvent = other781.lastEvent; + maxEvents = other781.maxEvents; + __isset = other781.__isset; return *this; } void NotificationEventRequest::printTo(std::ostream& out) const { @@ -19149,25 +19435,25 @@ void swap(NotificationEvent &a, NotificationEvent &b) { swap(a.__isset, b.__isset); } -NotificationEvent::NotificationEvent(const NotificationEvent& other772) { - eventId = other772.eventId; - eventTime = other772.eventTime; - eventType = other772.eventType; - dbName = other772.dbName; - tableName = other772.tableName; - message = other772.message; - messageFormat = other772.messageFormat; - __isset = other772.__isset; -} -NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other773) { - eventId = other773.eventId; - eventTime = other773.eventTime; - eventType = other773.eventType; - dbName = other773.dbName; - tableName = other773.tableName; - message = other773.message; - messageFormat = other773.messageFormat; - __isset = other773.__isset; +NotificationEvent::NotificationEvent(const NotificationEvent& other782) { + eventId = other782.eventId; + eventTime = other782.eventTime; + eventType = other782.eventType; + dbName = other782.dbName; + tableName = other782.tableName; + message = other782.message; + messageFormat = other782.messageFormat; + __isset = other782.__isset; +} +NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other783) { + eventId = other783.eventId; + eventTime = other783.eventTime; + eventType = other783.eventType; + dbName = other783.dbName; + tableName = other783.tableName; + message = other783.message; + messageFormat = other783.messageFormat; + __isset = other783.__isset; return *this; } void NotificationEvent::printTo(std::ostream& out) const { @@ -19218,14 +19504,14 @@ uint32_t NotificationEventResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->events.clear(); - uint32_t _size774; - ::apache::thrift::protocol::TType _etype777; - xfer += iprot->readListBegin(_etype777, _size774); - this->events.resize(_size774); - uint32_t _i778; - for (_i778 = 0; _i778 < _size774; ++_i778) + uint32_t _size784; + ::apache::thrift::protocol::TType _etype787; + xfer += iprot->readListBegin(_etype787, _size784); + this->events.resize(_size784); + uint32_t _i788; + for (_i788 = 0; _i788 < _size784; ++_i788) { - xfer += this->events[_i778].read(iprot); + xfer += this->events[_i788].read(iprot); } xfer += iprot->readListEnd(); } @@ -19256,10 +19542,10 @@ uint32_t NotificationEventResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("events", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->events.size())); - std::vector ::const_iterator _iter779; - for (_iter779 = this->events.begin(); _iter779 != this->events.end(); ++_iter779) + std::vector ::const_iterator _iter789; + for (_iter789 = this->events.begin(); _iter789 != this->events.end(); ++_iter789) { - xfer += (*_iter779).write(oprot); + xfer += (*_iter789).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19275,11 +19561,11 @@ void swap(NotificationEventResponse &a, NotificationEventResponse &b) { swap(a.events, b.events); } -NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other780) { - events = other780.events; +NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other790) { + events = other790.events; } -NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other781) { - events = other781.events; +NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other791) { + events = other791.events; return *this; } void NotificationEventResponse::printTo(std::ostream& out) const { @@ -19361,11 +19647,11 @@ void swap(CurrentNotificationEventId &a, CurrentNotificationEventId &b) { swap(a.eventId, b.eventId); } -CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other782) { - eventId = other782.eventId; +CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other792) { + eventId = other792.eventId; } -CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other783) { - eventId = other783.eventId; +CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other793) { + eventId = other793.eventId; return *this; } void CurrentNotificationEventId::printTo(std::ostream& out) const { @@ -19467,13 +19753,13 @@ void swap(NotificationEventsCountRequest &a, NotificationEventsCountRequest &b) swap(a.dbName, b.dbName); } -NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other784) { - fromEventId = other784.fromEventId; - dbName = other784.dbName; +NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other794) { + fromEventId = other794.fromEventId; + dbName = other794.dbName; } -NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other785) { - fromEventId = other785.fromEventId; - dbName = other785.dbName; +NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other795) { + fromEventId = other795.fromEventId; + dbName = other795.dbName; return *this; } void NotificationEventsCountRequest::printTo(std::ostream& out) const { @@ -19556,11 +19842,11 @@ void swap(NotificationEventsCountResponse &a, NotificationEventsCountResponse &b swap(a.eventsCount, b.eventsCount); } -NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other786) { - eventsCount = other786.eventsCount; +NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other796) { + eventsCount = other796.eventsCount; } -NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other787) { - eventsCount = other787.eventsCount; +NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other797) { + eventsCount = other797.eventsCount; return *this; } void NotificationEventsCountResponse::printTo(std::ostream& out) const { @@ -19623,14 +19909,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAdded.clear(); - uint32_t _size788; - ::apache::thrift::protocol::TType _etype791; - xfer += iprot->readListBegin(_etype791, _size788); - this->filesAdded.resize(_size788); - uint32_t _i792; - for (_i792 = 0; _i792 < _size788; ++_i792) + uint32_t _size798; + ::apache::thrift::protocol::TType _etype801; + xfer += iprot->readListBegin(_etype801, _size798); + this->filesAdded.resize(_size798); + uint32_t _i802; + for (_i802 = 0; _i802 < _size798; ++_i802) { - xfer += iprot->readString(this->filesAdded[_i792]); + xfer += iprot->readString(this->filesAdded[_i802]); } xfer += iprot->readListEnd(); } @@ -19643,14 +19929,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAddedChecksum.clear(); - uint32_t _size793; - ::apache::thrift::protocol::TType _etype796; - xfer += iprot->readListBegin(_etype796, _size793); - this->filesAddedChecksum.resize(_size793); - uint32_t _i797; - for (_i797 = 0; _i797 < _size793; ++_i797) + uint32_t _size803; + ::apache::thrift::protocol::TType _etype806; + xfer += iprot->readListBegin(_etype806, _size803); + this->filesAddedChecksum.resize(_size803); + uint32_t _i807; + for (_i807 = 0; _i807 < _size803; ++_i807) { - xfer += iprot->readString(this->filesAddedChecksum[_i797]); + xfer += iprot->readString(this->filesAddedChecksum[_i807]); } xfer += iprot->readListEnd(); } @@ -19686,10 +19972,10 @@ uint32_t InsertEventRequestData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("filesAdded", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->filesAdded.size())); - std::vector ::const_iterator _iter798; - for (_iter798 = this->filesAdded.begin(); _iter798 != this->filesAdded.end(); ++_iter798) + std::vector ::const_iterator _iter808; + for (_iter808 = this->filesAdded.begin(); _iter808 != this->filesAdded.end(); ++_iter808) { - xfer += oprot->writeString((*_iter798)); + xfer += oprot->writeString((*_iter808)); } xfer += oprot->writeListEnd(); } @@ -19699,10 +19985,10 @@ uint32_t InsertEventRequestData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("filesAddedChecksum", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->filesAddedChecksum.size())); - std::vector ::const_iterator _iter799; - for (_iter799 = this->filesAddedChecksum.begin(); _iter799 != this->filesAddedChecksum.end(); ++_iter799) + std::vector ::const_iterator _iter809; + for (_iter809 = this->filesAddedChecksum.begin(); _iter809 != this->filesAddedChecksum.end(); ++_iter809) { - xfer += oprot->writeString((*_iter799)); + xfer += oprot->writeString((*_iter809)); } xfer += oprot->writeListEnd(); } @@ -19721,17 +20007,17 @@ void swap(InsertEventRequestData &a, InsertEventRequestData &b) { swap(a.__isset, b.__isset); } -InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other800) { - replace = other800.replace; - filesAdded = other800.filesAdded; - filesAddedChecksum = other800.filesAddedChecksum; - __isset = other800.__isset; +InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other810) { + replace = other810.replace; + filesAdded = other810.filesAdded; + filesAddedChecksum = other810.filesAddedChecksum; + __isset = other810.__isset; } -InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other801) { - replace = other801.replace; - filesAdded = other801.filesAdded; - filesAddedChecksum = other801.filesAddedChecksum; - __isset = other801.__isset; +InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other811) { + replace = other811.replace; + filesAdded = other811.filesAdded; + filesAddedChecksum = other811.filesAddedChecksum; + __isset = other811.__isset; return *this; } void InsertEventRequestData::printTo(std::ostream& out) const { @@ -19813,13 +20099,13 @@ void swap(FireEventRequestData &a, FireEventRequestData &b) { swap(a.__isset, b.__isset); } -FireEventRequestData::FireEventRequestData(const FireEventRequestData& other802) { - insertData = other802.insertData; - __isset = other802.__isset; +FireEventRequestData::FireEventRequestData(const FireEventRequestData& other812) { + insertData = other812.insertData; + __isset = other812.__isset; } -FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other803) { - insertData = other803.insertData; - __isset = other803.__isset; +FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other813) { + insertData = other813.insertData; + __isset = other813.__isset; return *this; } void FireEventRequestData::printTo(std::ostream& out) const { @@ -19916,14 +20202,14 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionVals.clear(); - uint32_t _size804; - ::apache::thrift::protocol::TType _etype807; - xfer += iprot->readListBegin(_etype807, _size804); - this->partitionVals.resize(_size804); - uint32_t _i808; - for (_i808 = 0; _i808 < _size804; ++_i808) + uint32_t _size814; + ::apache::thrift::protocol::TType _etype817; + xfer += iprot->readListBegin(_etype817, _size814); + this->partitionVals.resize(_size814); + uint32_t _i818; + for (_i818 = 0; _i818 < _size814; ++_i818) { - xfer += iprot->readString(this->partitionVals[_i808]); + xfer += iprot->readString(this->partitionVals[_i818]); } xfer += iprot->readListEnd(); } @@ -19975,10 +20261,10 @@ uint32_t FireEventRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("partitionVals", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionVals.size())); - std::vector ::const_iterator _iter809; - for (_iter809 = this->partitionVals.begin(); _iter809 != this->partitionVals.end(); ++_iter809) + std::vector ::const_iterator _iter819; + for (_iter819 = this->partitionVals.begin(); _iter819 != this->partitionVals.end(); ++_iter819) { - xfer += oprot->writeString((*_iter809)); + xfer += oprot->writeString((*_iter819)); } xfer += oprot->writeListEnd(); } @@ -19999,21 +20285,21 @@ void swap(FireEventRequest &a, FireEventRequest &b) { swap(a.__isset, b.__isset); } -FireEventRequest::FireEventRequest(const FireEventRequest& other810) { - successful = other810.successful; - data = other810.data; - dbName = other810.dbName; - tableName = other810.tableName; - partitionVals = other810.partitionVals; - __isset = other810.__isset; -} -FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other811) { - successful = other811.successful; - data = other811.data; - dbName = other811.dbName; - tableName = other811.tableName; - partitionVals = other811.partitionVals; - __isset = other811.__isset; +FireEventRequest::FireEventRequest(const FireEventRequest& other820) { + successful = other820.successful; + data = other820.data; + dbName = other820.dbName; + tableName = other820.tableName; + partitionVals = other820.partitionVals; + __isset = other820.__isset; +} +FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other821) { + successful = other821.successful; + data = other821.data; + dbName = other821.dbName; + tableName = other821.tableName; + partitionVals = other821.partitionVals; + __isset = other821.__isset; return *this; } void FireEventRequest::printTo(std::ostream& out) const { @@ -20076,11 +20362,11 @@ void swap(FireEventResponse &a, FireEventResponse &b) { (void) b; } -FireEventResponse::FireEventResponse(const FireEventResponse& other812) { - (void) other812; +FireEventResponse::FireEventResponse(const FireEventResponse& other822) { + (void) other822; } -FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other813) { - (void) other813; +FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other823) { + (void) other823; return *this; } void FireEventResponse::printTo(std::ostream& out) const { @@ -20180,15 +20466,15 @@ void swap(MetadataPpdResult &a, MetadataPpdResult &b) { swap(a.__isset, b.__isset); } -MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other814) { - metadata = other814.metadata; - includeBitset = other814.includeBitset; - __isset = other814.__isset; +MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other824) { + metadata = other824.metadata; + includeBitset = other824.includeBitset; + __isset = other824.__isset; } -MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other815) { - metadata = other815.metadata; - includeBitset = other815.includeBitset; - __isset = other815.__isset; +MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other825) { + metadata = other825.metadata; + includeBitset = other825.includeBitset; + __isset = other825.__isset; return *this; } void MetadataPpdResult::printTo(std::ostream& out) const { @@ -20239,17 +20525,17 @@ uint32_t GetFileMetadataByExprResult::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size816; - ::apache::thrift::protocol::TType _ktype817; - ::apache::thrift::protocol::TType _vtype818; - xfer += iprot->readMapBegin(_ktype817, _vtype818, _size816); - uint32_t _i820; - for (_i820 = 0; _i820 < _size816; ++_i820) + uint32_t _size826; + ::apache::thrift::protocol::TType _ktype827; + ::apache::thrift::protocol::TType _vtype828; + xfer += iprot->readMapBegin(_ktype827, _vtype828, _size826); + uint32_t _i830; + for (_i830 = 0; _i830 < _size826; ++_i830) { - int64_t _key821; - xfer += iprot->readI64(_key821); - MetadataPpdResult& _val822 = this->metadata[_key821]; - xfer += _val822.read(iprot); + int64_t _key831; + xfer += iprot->readI64(_key831); + MetadataPpdResult& _val832 = this->metadata[_key831]; + xfer += _val832.read(iprot); } xfer += iprot->readMapEnd(); } @@ -20290,11 +20576,11 @@ uint32_t GetFileMetadataByExprResult::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldBegin("metadata", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I64, ::apache::thrift::protocol::T_STRUCT, static_cast(this->metadata.size())); - std::map ::const_iterator _iter823; - for (_iter823 = this->metadata.begin(); _iter823 != this->metadata.end(); ++_iter823) + std::map ::const_iterator _iter833; + for (_iter833 = this->metadata.begin(); _iter833 != this->metadata.end(); ++_iter833) { - xfer += oprot->writeI64(_iter823->first); - xfer += _iter823->second.write(oprot); + xfer += oprot->writeI64(_iter833->first); + xfer += _iter833->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -20315,13 +20601,13 @@ void swap(GetFileMetadataByExprResult &a, GetFileMetadataByExprResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other824) { - metadata = other824.metadata; - isSupported = other824.isSupported; +GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other834) { + metadata = other834.metadata; + isSupported = other834.isSupported; } -GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other825) { - metadata = other825.metadata; - isSupported = other825.isSupported; +GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other835) { + metadata = other835.metadata; + isSupported = other835.isSupported; return *this; } void GetFileMetadataByExprResult::printTo(std::ostream& out) const { @@ -20382,14 +20668,14 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size826; - ::apache::thrift::protocol::TType _etype829; - xfer += iprot->readListBegin(_etype829, _size826); - this->fileIds.resize(_size826); - uint32_t _i830; - for (_i830 = 0; _i830 < _size826; ++_i830) + uint32_t _size836; + ::apache::thrift::protocol::TType _etype839; + xfer += iprot->readListBegin(_etype839, _size836); + this->fileIds.resize(_size836); + uint32_t _i840; + for (_i840 = 0; _i840 < _size836; ++_i840) { - xfer += iprot->readI64(this->fileIds[_i830]); + xfer += iprot->readI64(this->fileIds[_i840]); } xfer += iprot->readListEnd(); } @@ -20416,9 +20702,9 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast831; - xfer += iprot->readI32(ecast831); - this->type = (FileMetadataExprType::type)ecast831; + int32_t ecast841; + xfer += iprot->readI32(ecast841); + this->type = (FileMetadataExprType::type)ecast841; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -20448,10 +20734,10 @@ uint32_t GetFileMetadataByExprRequest::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter832; - for (_iter832 = this->fileIds.begin(); _iter832 != this->fileIds.end(); ++_iter832) + std::vector ::const_iterator _iter842; + for (_iter842 = this->fileIds.begin(); _iter842 != this->fileIds.end(); ++_iter842) { - xfer += oprot->writeI64((*_iter832)); + xfer += oprot->writeI64((*_iter842)); } xfer += oprot->writeListEnd(); } @@ -20485,19 +20771,19 @@ void swap(GetFileMetadataByExprRequest &a, GetFileMetadataByExprRequest &b) { swap(a.__isset, b.__isset); } -GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other833) { - fileIds = other833.fileIds; - expr = other833.expr; - doGetFooters = other833.doGetFooters; - type = other833.type; - __isset = other833.__isset; +GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other843) { + fileIds = other843.fileIds; + expr = other843.expr; + doGetFooters = other843.doGetFooters; + type = other843.type; + __isset = other843.__isset; } -GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other834) { - fileIds = other834.fileIds; - expr = other834.expr; - doGetFooters = other834.doGetFooters; - type = other834.type; - __isset = other834.__isset; +GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other844) { + fileIds = other844.fileIds; + expr = other844.expr; + doGetFooters = other844.doGetFooters; + type = other844.type; + __isset = other844.__isset; return *this; } void GetFileMetadataByExprRequest::printTo(std::ostream& out) const { @@ -20550,17 +20836,17 @@ uint32_t GetFileMetadataResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size835; - ::apache::thrift::protocol::TType _ktype836; - ::apache::thrift::protocol::TType _vtype837; - xfer += iprot->readMapBegin(_ktype836, _vtype837, _size835); - uint32_t _i839; - for (_i839 = 0; _i839 < _size835; ++_i839) + uint32_t _size845; + ::apache::thrift::protocol::TType _ktype846; + ::apache::thrift::protocol::TType _vtype847; + xfer += iprot->readMapBegin(_ktype846, _vtype847, _size845); + uint32_t _i849; + for (_i849 = 0; _i849 < _size845; ++_i849) { - int64_t _key840; - xfer += iprot->readI64(_key840); - std::string& _val841 = this->metadata[_key840]; - xfer += iprot->readBinary(_val841); + int64_t _key850; + xfer += iprot->readI64(_key850); + std::string& _val851 = this->metadata[_key850]; + xfer += iprot->readBinary(_val851); } xfer += iprot->readMapEnd(); } @@ -20601,11 +20887,11 @@ uint32_t GetFileMetadataResult::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("metadata", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I64, ::apache::thrift::protocol::T_STRING, static_cast(this->metadata.size())); - std::map ::const_iterator _iter842; - for (_iter842 = this->metadata.begin(); _iter842 != this->metadata.end(); ++_iter842) + std::map ::const_iterator _iter852; + for (_iter852 = this->metadata.begin(); _iter852 != this->metadata.end(); ++_iter852) { - xfer += oprot->writeI64(_iter842->first); - xfer += oprot->writeBinary(_iter842->second); + xfer += oprot->writeI64(_iter852->first); + xfer += oprot->writeBinary(_iter852->second); } xfer += oprot->writeMapEnd(); } @@ -20626,13 +20912,13 @@ void swap(GetFileMetadataResult &a, GetFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other843) { - metadata = other843.metadata; - isSupported = other843.isSupported; +GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other853) { + metadata = other853.metadata; + isSupported = other853.isSupported; } -GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other844) { - metadata = other844.metadata; - isSupported = other844.isSupported; +GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other854) { + metadata = other854.metadata; + isSupported = other854.isSupported; return *this; } void GetFileMetadataResult::printTo(std::ostream& out) const { @@ -20678,14 +20964,14 @@ uint32_t GetFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size845; - ::apache::thrift::protocol::TType _etype848; - xfer += iprot->readListBegin(_etype848, _size845); - this->fileIds.resize(_size845); - uint32_t _i849; - for (_i849 = 0; _i849 < _size845; ++_i849) + uint32_t _size855; + ::apache::thrift::protocol::TType _etype858; + xfer += iprot->readListBegin(_etype858, _size855); + this->fileIds.resize(_size855); + uint32_t _i859; + for (_i859 = 0; _i859 < _size855; ++_i859) { - xfer += iprot->readI64(this->fileIds[_i849]); + xfer += iprot->readI64(this->fileIds[_i859]); } xfer += iprot->readListEnd(); } @@ -20716,10 +21002,10 @@ uint32_t GetFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter850; - for (_iter850 = this->fileIds.begin(); _iter850 != this->fileIds.end(); ++_iter850) + std::vector ::const_iterator _iter860; + for (_iter860 = this->fileIds.begin(); _iter860 != this->fileIds.end(); ++_iter860) { - xfer += oprot->writeI64((*_iter850)); + xfer += oprot->writeI64((*_iter860)); } xfer += oprot->writeListEnd(); } @@ -20735,11 +21021,11 @@ void swap(GetFileMetadataRequest &a, GetFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other851) { - fileIds = other851.fileIds; +GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other861) { + fileIds = other861.fileIds; } -GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other852) { - fileIds = other852.fileIds; +GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other862) { + fileIds = other862.fileIds; return *this; } void GetFileMetadataRequest::printTo(std::ostream& out) const { @@ -20798,11 +21084,11 @@ void swap(PutFileMetadataResult &a, PutFileMetadataResult &b) { (void) b; } -PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other853) { - (void) other853; +PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other863) { + (void) other863; } -PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other854) { - (void) other854; +PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other864) { + (void) other864; return *this; } void PutFileMetadataResult::printTo(std::ostream& out) const { @@ -20856,14 +21142,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size855; - ::apache::thrift::protocol::TType _etype858; - xfer += iprot->readListBegin(_etype858, _size855); - this->fileIds.resize(_size855); - uint32_t _i859; - for (_i859 = 0; _i859 < _size855; ++_i859) + uint32_t _size865; + ::apache::thrift::protocol::TType _etype868; + xfer += iprot->readListBegin(_etype868, _size865); + this->fileIds.resize(_size865); + uint32_t _i869; + for (_i869 = 0; _i869 < _size865; ++_i869) { - xfer += iprot->readI64(this->fileIds[_i859]); + xfer += iprot->readI64(this->fileIds[_i869]); } xfer += iprot->readListEnd(); } @@ -20876,14 +21162,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->metadata.clear(); - uint32_t _size860; - ::apache::thrift::protocol::TType _etype863; - xfer += iprot->readListBegin(_etype863, _size860); - this->metadata.resize(_size860); - uint32_t _i864; - for (_i864 = 0; _i864 < _size860; ++_i864) + uint32_t _size870; + ::apache::thrift::protocol::TType _etype873; + xfer += iprot->readListBegin(_etype873, _size870); + this->metadata.resize(_size870); + uint32_t _i874; + for (_i874 = 0; _i874 < _size870; ++_i874) { - xfer += iprot->readBinary(this->metadata[_i864]); + xfer += iprot->readBinary(this->metadata[_i874]); } xfer += iprot->readListEnd(); } @@ -20894,9 +21180,9 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast865; - xfer += iprot->readI32(ecast865); - this->type = (FileMetadataExprType::type)ecast865; + int32_t ecast875; + xfer += iprot->readI32(ecast875); + this->type = (FileMetadataExprType::type)ecast875; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -20926,10 +21212,10 @@ uint32_t PutFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter866; - for (_iter866 = this->fileIds.begin(); _iter866 != this->fileIds.end(); ++_iter866) + std::vector ::const_iterator _iter876; + for (_iter876 = this->fileIds.begin(); _iter876 != this->fileIds.end(); ++_iter876) { - xfer += oprot->writeI64((*_iter866)); + xfer += oprot->writeI64((*_iter876)); } xfer += oprot->writeListEnd(); } @@ -20938,10 +21224,10 @@ uint32_t PutFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("metadata", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->metadata.size())); - std::vector ::const_iterator _iter867; - for (_iter867 = this->metadata.begin(); _iter867 != this->metadata.end(); ++_iter867) + std::vector ::const_iterator _iter877; + for (_iter877 = this->metadata.begin(); _iter877 != this->metadata.end(); ++_iter877) { - xfer += oprot->writeBinary((*_iter867)); + xfer += oprot->writeBinary((*_iter877)); } xfer += oprot->writeListEnd(); } @@ -20965,17 +21251,17 @@ void swap(PutFileMetadataRequest &a, PutFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other868) { - fileIds = other868.fileIds; - metadata = other868.metadata; - type = other868.type; - __isset = other868.__isset; +PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other878) { + fileIds = other878.fileIds; + metadata = other878.metadata; + type = other878.type; + __isset = other878.__isset; } -PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other869) { - fileIds = other869.fileIds; - metadata = other869.metadata; - type = other869.type; - __isset = other869.__isset; +PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other879) { + fileIds = other879.fileIds; + metadata = other879.metadata; + type = other879.type; + __isset = other879.__isset; return *this; } void PutFileMetadataRequest::printTo(std::ostream& out) const { @@ -21036,11 +21322,11 @@ void swap(ClearFileMetadataResult &a, ClearFileMetadataResult &b) { (void) b; } -ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other870) { - (void) other870; +ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other880) { + (void) other880; } -ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other871) { - (void) other871; +ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other881) { + (void) other881; return *this; } void ClearFileMetadataResult::printTo(std::ostream& out) const { @@ -21084,14 +21370,14 @@ uint32_t ClearFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size872; - ::apache::thrift::protocol::TType _etype875; - xfer += iprot->readListBegin(_etype875, _size872); - this->fileIds.resize(_size872); - uint32_t _i876; - for (_i876 = 0; _i876 < _size872; ++_i876) + uint32_t _size882; + ::apache::thrift::protocol::TType _etype885; + xfer += iprot->readListBegin(_etype885, _size882); + this->fileIds.resize(_size882); + uint32_t _i886; + for (_i886 = 0; _i886 < _size882; ++_i886) { - xfer += iprot->readI64(this->fileIds[_i876]); + xfer += iprot->readI64(this->fileIds[_i886]); } xfer += iprot->readListEnd(); } @@ -21122,10 +21408,10 @@ uint32_t ClearFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter877; - for (_iter877 = this->fileIds.begin(); _iter877 != this->fileIds.end(); ++_iter877) + std::vector ::const_iterator _iter887; + for (_iter887 = this->fileIds.begin(); _iter887 != this->fileIds.end(); ++_iter887) { - xfer += oprot->writeI64((*_iter877)); + xfer += oprot->writeI64((*_iter887)); } xfer += oprot->writeListEnd(); } @@ -21141,11 +21427,11 @@ void swap(ClearFileMetadataRequest &a, ClearFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other878) { - fileIds = other878.fileIds; +ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other888) { + fileIds = other888.fileIds; } -ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other879) { - fileIds = other879.fileIds; +ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other889) { + fileIds = other889.fileIds; return *this; } void ClearFileMetadataRequest::printTo(std::ostream& out) const { @@ -21227,11 +21513,11 @@ void swap(CacheFileMetadataResult &a, CacheFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other880) { - isSupported = other880.isSupported; +CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other890) { + isSupported = other890.isSupported; } -CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other881) { - isSupported = other881.isSupported; +CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other891) { + isSupported = other891.isSupported; return *this; } void CacheFileMetadataResult::printTo(std::ostream& out) const { @@ -21372,19 +21658,19 @@ void swap(CacheFileMetadataRequest &a, CacheFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other882) { - dbName = other882.dbName; - tblName = other882.tblName; - partName = other882.partName; - isAllParts = other882.isAllParts; - __isset = other882.__isset; +CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other892) { + dbName = other892.dbName; + tblName = other892.tblName; + partName = other892.partName; + isAllParts = other892.isAllParts; + __isset = other892.__isset; } -CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other883) { - dbName = other883.dbName; - tblName = other883.tblName; - partName = other883.partName; - isAllParts = other883.isAllParts; - __isset = other883.__isset; +CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other893) { + dbName = other893.dbName; + tblName = other893.tblName; + partName = other893.partName; + isAllParts = other893.isAllParts; + __isset = other893.__isset; return *this; } void CacheFileMetadataRequest::printTo(std::ostream& out) const { @@ -21432,14 +21718,14 @@ uint32_t GetAllFunctionsResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->functions.clear(); - uint32_t _size884; - ::apache::thrift::protocol::TType _etype887; - xfer += iprot->readListBegin(_etype887, _size884); - this->functions.resize(_size884); - uint32_t _i888; - for (_i888 = 0; _i888 < _size884; ++_i888) + uint32_t _size894; + ::apache::thrift::protocol::TType _etype897; + xfer += iprot->readListBegin(_etype897, _size894); + this->functions.resize(_size894); + uint32_t _i898; + for (_i898 = 0; _i898 < _size894; ++_i898) { - xfer += this->functions[_i888].read(iprot); + xfer += this->functions[_i898].read(iprot); } xfer += iprot->readListEnd(); } @@ -21469,10 +21755,10 @@ uint32_t GetAllFunctionsResponse::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldBegin("functions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->functions.size())); - std::vector ::const_iterator _iter889; - for (_iter889 = this->functions.begin(); _iter889 != this->functions.end(); ++_iter889) + std::vector ::const_iterator _iter899; + for (_iter899 = this->functions.begin(); _iter899 != this->functions.end(); ++_iter899) { - xfer += (*_iter889).write(oprot); + xfer += (*_iter899).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21489,13 +21775,13 @@ void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b) { swap(a.__isset, b.__isset); } -GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other890) { - functions = other890.functions; - __isset = other890.__isset; +GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other900) { + functions = other900.functions; + __isset = other900.__isset; } -GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other891) { - functions = other891.functions; - __isset = other891.__isset; +GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other901) { + functions = other901.functions; + __isset = other901.__isset; return *this; } void GetAllFunctionsResponse::printTo(std::ostream& out) const { @@ -21540,16 +21826,16 @@ uint32_t ClientCapabilities::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size892; - ::apache::thrift::protocol::TType _etype895; - xfer += iprot->readListBegin(_etype895, _size892); - this->values.resize(_size892); - uint32_t _i896; - for (_i896 = 0; _i896 < _size892; ++_i896) + uint32_t _size902; + ::apache::thrift::protocol::TType _etype905; + xfer += iprot->readListBegin(_etype905, _size902); + this->values.resize(_size902); + uint32_t _i906; + for (_i906 = 0; _i906 < _size902; ++_i906) { - int32_t ecast897; - xfer += iprot->readI32(ecast897); - this->values[_i896] = (ClientCapability::type)ecast897; + int32_t ecast907; + xfer += iprot->readI32(ecast907); + this->values[_i906] = (ClientCapability::type)ecast907; } xfer += iprot->readListEnd(); } @@ -21580,10 +21866,10 @@ uint32_t ClientCapabilities::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I32, static_cast(this->values.size())); - std::vector ::const_iterator _iter898; - for (_iter898 = this->values.begin(); _iter898 != this->values.end(); ++_iter898) + std::vector ::const_iterator _iter908; + for (_iter908 = this->values.begin(); _iter908 != this->values.end(); ++_iter908) { - xfer += oprot->writeI32((int32_t)(*_iter898)); + xfer += oprot->writeI32((int32_t)(*_iter908)); } xfer += oprot->writeListEnd(); } @@ -21599,11 +21885,11 @@ void swap(ClientCapabilities &a, ClientCapabilities &b) { swap(a.values, b.values); } -ClientCapabilities::ClientCapabilities(const ClientCapabilities& other899) { - values = other899.values; +ClientCapabilities::ClientCapabilities(const ClientCapabilities& other909) { + values = other909.values; } -ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other900) { - values = other900.values; +ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other910) { + values = other910.values; return *this; } void ClientCapabilities::printTo(std::ostream& out) const { @@ -21725,17 +22011,17 @@ void swap(GetTableRequest &a, GetTableRequest &b) { swap(a.__isset, b.__isset); } -GetTableRequest::GetTableRequest(const GetTableRequest& other901) { - dbName = other901.dbName; - tblName = other901.tblName; - capabilities = other901.capabilities; - __isset = other901.__isset; +GetTableRequest::GetTableRequest(const GetTableRequest& other911) { + dbName = other911.dbName; + tblName = other911.tblName; + capabilities = other911.capabilities; + __isset = other911.__isset; } -GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other902) { - dbName = other902.dbName; - tblName = other902.tblName; - capabilities = other902.capabilities; - __isset = other902.__isset; +GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other912) { + dbName = other912.dbName; + tblName = other912.tblName; + capabilities = other912.capabilities; + __isset = other912.__isset; return *this; } void GetTableRequest::printTo(std::ostream& out) const { @@ -21819,11 +22105,11 @@ void swap(GetTableResult &a, GetTableResult &b) { swap(a.table, b.table); } -GetTableResult::GetTableResult(const GetTableResult& other903) { - table = other903.table; +GetTableResult::GetTableResult(const GetTableResult& other913) { + table = other913.table; } -GetTableResult& GetTableResult::operator=(const GetTableResult& other904) { - table = other904.table; +GetTableResult& GetTableResult::operator=(const GetTableResult& other914) { + table = other914.table; return *this; } void GetTableResult::printTo(std::ostream& out) const { @@ -21886,14 +22172,14 @@ uint32_t GetTablesRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tblNames.clear(); - uint32_t _size905; - ::apache::thrift::protocol::TType _etype908; - xfer += iprot->readListBegin(_etype908, _size905); - this->tblNames.resize(_size905); - uint32_t _i909; - for (_i909 = 0; _i909 < _size905; ++_i909) + uint32_t _size915; + ::apache::thrift::protocol::TType _etype918; + xfer += iprot->readListBegin(_etype918, _size915); + this->tblNames.resize(_size915); + uint32_t _i919; + for (_i919 = 0; _i919 < _size915; ++_i919) { - xfer += iprot->readString(this->tblNames[_i909]); + xfer += iprot->readString(this->tblNames[_i919]); } xfer += iprot->readListEnd(); } @@ -21937,10 +22223,10 @@ uint32_t GetTablesRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("tblNames", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tblNames.size())); - std::vector ::const_iterator _iter910; - for (_iter910 = this->tblNames.begin(); _iter910 != this->tblNames.end(); ++_iter910) + std::vector ::const_iterator _iter920; + for (_iter920 = this->tblNames.begin(); _iter920 != this->tblNames.end(); ++_iter920) { - xfer += oprot->writeString((*_iter910)); + xfer += oprot->writeString((*_iter920)); } xfer += oprot->writeListEnd(); } @@ -21964,17 +22250,17 @@ void swap(GetTablesRequest &a, GetTablesRequest &b) { swap(a.__isset, b.__isset); } -GetTablesRequest::GetTablesRequest(const GetTablesRequest& other911) { - dbName = other911.dbName; - tblNames = other911.tblNames; - capabilities = other911.capabilities; - __isset = other911.__isset; +GetTablesRequest::GetTablesRequest(const GetTablesRequest& other921) { + dbName = other921.dbName; + tblNames = other921.tblNames; + capabilities = other921.capabilities; + __isset = other921.__isset; } -GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other912) { - dbName = other912.dbName; - tblNames = other912.tblNames; - capabilities = other912.capabilities; - __isset = other912.__isset; +GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other922) { + dbName = other922.dbName; + tblNames = other922.tblNames; + capabilities = other922.capabilities; + __isset = other922.__isset; return *this; } void GetTablesRequest::printTo(std::ostream& out) const { @@ -22021,14 +22307,14 @@ uint32_t GetTablesResult::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tables.clear(); - uint32_t _size913; - ::apache::thrift::protocol::TType _etype916; - xfer += iprot->readListBegin(_etype916, _size913); - this->tables.resize(_size913); - uint32_t _i917; - for (_i917 = 0; _i917 < _size913; ++_i917) + uint32_t _size923; + ::apache::thrift::protocol::TType _etype926; + xfer += iprot->readListBegin(_etype926, _size923); + this->tables.resize(_size923); + uint32_t _i927; + for (_i927 = 0; _i927 < _size923; ++_i927) { - xfer += this->tables[_i917].read(iprot); + xfer += this->tables[_i927].read(iprot); } xfer += iprot->readListEnd(); } @@ -22059,10 +22345,10 @@ uint32_t GetTablesResult::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldBegin("tables", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->tables.size())); - std::vector
::const_iterator _iter918; - for (_iter918 = this->tables.begin(); _iter918 != this->tables.end(); ++_iter918) + std::vector
::const_iterator _iter928; + for (_iter928 = this->tables.begin(); _iter928 != this->tables.end(); ++_iter928) { - xfer += (*_iter918).write(oprot); + xfer += (*_iter928).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22078,11 +22364,11 @@ void swap(GetTablesResult &a, GetTablesResult &b) { swap(a.tables, b.tables); } -GetTablesResult::GetTablesResult(const GetTablesResult& other919) { - tables = other919.tables; +GetTablesResult::GetTablesResult(const GetTablesResult& other929) { + tables = other929.tables; } -GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other920) { - tables = other920.tables; +GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other930) { + tables = other930.tables; return *this; } void GetTablesResult::printTo(std::ostream& out) const { @@ -22184,13 +22470,13 @@ void swap(CmRecycleRequest &a, CmRecycleRequest &b) { swap(a.purge, b.purge); } -CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other921) { - dataPath = other921.dataPath; - purge = other921.purge; +CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other931) { + dataPath = other931.dataPath; + purge = other931.purge; } -CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other922) { - dataPath = other922.dataPath; - purge = other922.purge; +CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other932) { + dataPath = other932.dataPath; + purge = other932.purge; return *this; } void CmRecycleRequest::printTo(std::ostream& out) const { @@ -22250,11 +22536,11 @@ void swap(CmRecycleResponse &a, CmRecycleResponse &b) { (void) b; } -CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other923) { - (void) other923; +CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other933) { + (void) other933; } -CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other924) { - (void) other924; +CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other934) { + (void) other934; return *this; } void CmRecycleResponse::printTo(std::ostream& out) const { @@ -22395,19 +22681,19 @@ void swap(TableMeta &a, TableMeta &b) { swap(a.__isset, b.__isset); } -TableMeta::TableMeta(const TableMeta& other925) { - dbName = other925.dbName; - tableName = other925.tableName; - tableType = other925.tableType; - comments = other925.comments; - __isset = other925.__isset; +TableMeta::TableMeta(const TableMeta& other935) { + dbName = other935.dbName; + tableName = other935.tableName; + tableType = other935.tableType; + comments = other935.comments; + __isset = other935.__isset; } -TableMeta& TableMeta::operator=(const TableMeta& other926) { - dbName = other926.dbName; - tableName = other926.tableName; - tableType = other926.tableType; - comments = other926.comments; - __isset = other926.__isset; +TableMeta& TableMeta::operator=(const TableMeta& other936) { + dbName = other936.dbName; + tableName = other936.tableName; + tableType = other936.tableType; + comments = other936.comments; + __isset = other936.__isset; return *this; } void TableMeta::printTo(std::ostream& out) const { @@ -22465,15 +22751,15 @@ uint32_t Materialization::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->tablesUsed.clear(); - uint32_t _size927; - ::apache::thrift::protocol::TType _etype930; - xfer += iprot->readSetBegin(_etype930, _size927); - uint32_t _i931; - for (_i931 = 0; _i931 < _size927; ++_i931) + uint32_t _size937; + ::apache::thrift::protocol::TType _etype940; + xfer += iprot->readSetBegin(_etype940, _size937); + uint32_t _i941; + for (_i941 = 0; _i941 < _size937; ++_i941) { - std::string _elem932; - xfer += iprot->readString(_elem932); - this->tablesUsed.insert(_elem932); + std::string _elem942; + xfer += iprot->readString(_elem942); + this->tablesUsed.insert(_elem942); } xfer += iprot->readSetEnd(); } @@ -22522,10 +22808,10 @@ uint32_t Materialization::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldBegin("tablesUsed", ::apache::thrift::protocol::T_SET, 1); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tablesUsed.size())); - std::set ::const_iterator _iter933; - for (_iter933 = this->tablesUsed.begin(); _iter933 != this->tablesUsed.end(); ++_iter933) + std::set ::const_iterator _iter943; + for (_iter943 = this->tablesUsed.begin(); _iter943 != this->tablesUsed.end(); ++_iter943) { - xfer += oprot->writeString((*_iter933)); + xfer += oprot->writeString((*_iter943)); } xfer += oprot->writeSetEnd(); } @@ -22553,17 +22839,17 @@ void swap(Materialization &a, Materialization &b) { swap(a.__isset, b.__isset); } -Materialization::Materialization(const Materialization& other934) { - tablesUsed = other934.tablesUsed; - validTxnList = other934.validTxnList; - invalidationTime = other934.invalidationTime; - __isset = other934.__isset; +Materialization::Materialization(const Materialization& other944) { + tablesUsed = other944.tablesUsed; + validTxnList = other944.validTxnList; + invalidationTime = other944.invalidationTime; + __isset = other944.__isset; } -Materialization& Materialization::operator=(const Materialization& other935) { - tablesUsed = other935.tablesUsed; - validTxnList = other935.validTxnList; - invalidationTime = other935.invalidationTime; - __isset = other935.__isset; +Materialization& Materialization::operator=(const Materialization& other945) { + tablesUsed = other945.tablesUsed; + validTxnList = other945.validTxnList; + invalidationTime = other945.invalidationTime; + __isset = other945.__isset; return *this; } void Materialization::printTo(std::ostream& out) const { @@ -22631,9 +22917,9 @@ uint32_t WMResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast936; - xfer += iprot->readI32(ecast936); - this->status = (WMResourcePlanStatus::type)ecast936; + int32_t ecast946; + xfer += iprot->readI32(ecast946); + this->status = (WMResourcePlanStatus::type)ecast946; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -22707,19 +22993,19 @@ void swap(WMResourcePlan &a, WMResourcePlan &b) { swap(a.__isset, b.__isset); } -WMResourcePlan::WMResourcePlan(const WMResourcePlan& other937) { - name = other937.name; - status = other937.status; - queryParallelism = other937.queryParallelism; - defaultPoolPath = other937.defaultPoolPath; - __isset = other937.__isset; +WMResourcePlan::WMResourcePlan(const WMResourcePlan& other947) { + name = other947.name; + status = other947.status; + queryParallelism = other947.queryParallelism; + defaultPoolPath = other947.defaultPoolPath; + __isset = other947.__isset; } -WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other938) { - name = other938.name; - status = other938.status; - queryParallelism = other938.queryParallelism; - defaultPoolPath = other938.defaultPoolPath; - __isset = other938.__isset; +WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other948) { + name = other948.name; + status = other948.status; + queryParallelism = other948.queryParallelism; + defaultPoolPath = other948.defaultPoolPath; + __isset = other948.__isset; return *this; } void WMResourcePlan::printTo(std::ostream& out) const { @@ -22798,9 +23084,9 @@ uint32_t WMNullableResourcePlan::read(::apache::thrift::protocol::TProtocol* ipr break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast939; - xfer += iprot->readI32(ecast939); - this->status = (WMResourcePlanStatus::type)ecast939; + int32_t ecast949; + xfer += iprot->readI32(ecast949); + this->status = (WMResourcePlanStatus::type)ecast949; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -22902,23 +23188,23 @@ void swap(WMNullableResourcePlan &a, WMNullableResourcePlan &b) { swap(a.__isset, b.__isset); } -WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other940) { - name = other940.name; - status = other940.status; - queryParallelism = other940.queryParallelism; - isSetQueryParallelism = other940.isSetQueryParallelism; - defaultPoolPath = other940.defaultPoolPath; - isSetDefaultPoolPath = other940.isSetDefaultPoolPath; - __isset = other940.__isset; -} -WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other941) { - name = other941.name; - status = other941.status; - queryParallelism = other941.queryParallelism; - isSetQueryParallelism = other941.isSetQueryParallelism; - defaultPoolPath = other941.defaultPoolPath; - isSetDefaultPoolPath = other941.isSetDefaultPoolPath; - __isset = other941.__isset; +WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other950) { + name = other950.name; + status = other950.status; + queryParallelism = other950.queryParallelism; + isSetQueryParallelism = other950.isSetQueryParallelism; + defaultPoolPath = other950.defaultPoolPath; + isSetDefaultPoolPath = other950.isSetDefaultPoolPath; + __isset = other950.__isset; +} +WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other951) { + name = other951.name; + status = other951.status; + queryParallelism = other951.queryParallelism; + isSetQueryParallelism = other951.isSetQueryParallelism; + defaultPoolPath = other951.defaultPoolPath; + isSetDefaultPoolPath = other951.isSetDefaultPoolPath; + __isset = other951.__isset; return *this; } void WMNullableResourcePlan::printTo(std::ostream& out) const { @@ -23083,21 +23369,21 @@ void swap(WMPool &a, WMPool &b) { swap(a.__isset, b.__isset); } -WMPool::WMPool(const WMPool& other942) { - resourcePlanName = other942.resourcePlanName; - poolPath = other942.poolPath; - allocFraction = other942.allocFraction; - queryParallelism = other942.queryParallelism; - schedulingPolicy = other942.schedulingPolicy; - __isset = other942.__isset; -} -WMPool& WMPool::operator=(const WMPool& other943) { - resourcePlanName = other943.resourcePlanName; - poolPath = other943.poolPath; - allocFraction = other943.allocFraction; - queryParallelism = other943.queryParallelism; - schedulingPolicy = other943.schedulingPolicy; - __isset = other943.__isset; +WMPool::WMPool(const WMPool& other952) { + resourcePlanName = other952.resourcePlanName; + poolPath = other952.poolPath; + allocFraction = other952.allocFraction; + queryParallelism = other952.queryParallelism; + schedulingPolicy = other952.schedulingPolicy; + __isset = other952.__isset; +} +WMPool& WMPool::operator=(const WMPool& other953) { + resourcePlanName = other953.resourcePlanName; + poolPath = other953.poolPath; + allocFraction = other953.allocFraction; + queryParallelism = other953.queryParallelism; + schedulingPolicy = other953.schedulingPolicy; + __isset = other953.__isset; return *this; } void WMPool::printTo(std::ostream& out) const { @@ -23280,23 +23566,23 @@ void swap(WMNullablePool &a, WMNullablePool &b) { swap(a.__isset, b.__isset); } -WMNullablePool::WMNullablePool(const WMNullablePool& other944) { - resourcePlanName = other944.resourcePlanName; - poolPath = other944.poolPath; - allocFraction = other944.allocFraction; - queryParallelism = other944.queryParallelism; - schedulingPolicy = other944.schedulingPolicy; - isSetSchedulingPolicy = other944.isSetSchedulingPolicy; - __isset = other944.__isset; -} -WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other945) { - resourcePlanName = other945.resourcePlanName; - poolPath = other945.poolPath; - allocFraction = other945.allocFraction; - queryParallelism = other945.queryParallelism; - schedulingPolicy = other945.schedulingPolicy; - isSetSchedulingPolicy = other945.isSetSchedulingPolicy; - __isset = other945.__isset; +WMNullablePool::WMNullablePool(const WMNullablePool& other954) { + resourcePlanName = other954.resourcePlanName; + poolPath = other954.poolPath; + allocFraction = other954.allocFraction; + queryParallelism = other954.queryParallelism; + schedulingPolicy = other954.schedulingPolicy; + isSetSchedulingPolicy = other954.isSetSchedulingPolicy; + __isset = other954.__isset; +} +WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other955) { + resourcePlanName = other955.resourcePlanName; + poolPath = other955.poolPath; + allocFraction = other955.allocFraction; + queryParallelism = other955.queryParallelism; + schedulingPolicy = other955.schedulingPolicy; + isSetSchedulingPolicy = other955.isSetSchedulingPolicy; + __isset = other955.__isset; return *this; } void WMNullablePool::printTo(std::ostream& out) const { @@ -23461,21 +23747,21 @@ void swap(WMTrigger &a, WMTrigger &b) { swap(a.__isset, b.__isset); } -WMTrigger::WMTrigger(const WMTrigger& other946) { - resourcePlanName = other946.resourcePlanName; - triggerName = other946.triggerName; - triggerExpression = other946.triggerExpression; - actionExpression = other946.actionExpression; - isInUnmanaged = other946.isInUnmanaged; - __isset = other946.__isset; -} -WMTrigger& WMTrigger::operator=(const WMTrigger& other947) { - resourcePlanName = other947.resourcePlanName; - triggerName = other947.triggerName; - triggerExpression = other947.triggerExpression; - actionExpression = other947.actionExpression; - isInUnmanaged = other947.isInUnmanaged; - __isset = other947.__isset; +WMTrigger::WMTrigger(const WMTrigger& other956) { + resourcePlanName = other956.resourcePlanName; + triggerName = other956.triggerName; + triggerExpression = other956.triggerExpression; + actionExpression = other956.actionExpression; + isInUnmanaged = other956.isInUnmanaged; + __isset = other956.__isset; +} +WMTrigger& WMTrigger::operator=(const WMTrigger& other957) { + resourcePlanName = other957.resourcePlanName; + triggerName = other957.triggerName; + triggerExpression = other957.triggerExpression; + actionExpression = other957.actionExpression; + isInUnmanaged = other957.isInUnmanaged; + __isset = other957.__isset; return *this; } void WMTrigger::printTo(std::ostream& out) const { @@ -23640,21 +23926,21 @@ void swap(WMMapping &a, WMMapping &b) { swap(a.__isset, b.__isset); } -WMMapping::WMMapping(const WMMapping& other948) { - resourcePlanName = other948.resourcePlanName; - entityType = other948.entityType; - entityName = other948.entityName; - poolPath = other948.poolPath; - ordering = other948.ordering; - __isset = other948.__isset; -} -WMMapping& WMMapping::operator=(const WMMapping& other949) { - resourcePlanName = other949.resourcePlanName; - entityType = other949.entityType; - entityName = other949.entityName; - poolPath = other949.poolPath; - ordering = other949.ordering; - __isset = other949.__isset; +WMMapping::WMMapping(const WMMapping& other958) { + resourcePlanName = other958.resourcePlanName; + entityType = other958.entityType; + entityName = other958.entityName; + poolPath = other958.poolPath; + ordering = other958.ordering; + __isset = other958.__isset; +} +WMMapping& WMMapping::operator=(const WMMapping& other959) { + resourcePlanName = other959.resourcePlanName; + entityType = other959.entityType; + entityName = other959.entityName; + poolPath = other959.poolPath; + ordering = other959.ordering; + __isset = other959.__isset; return *this; } void WMMapping::printTo(std::ostream& out) const { @@ -23760,13 +24046,13 @@ void swap(WMPoolTrigger &a, WMPoolTrigger &b) { swap(a.trigger, b.trigger); } -WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other950) { - pool = other950.pool; - trigger = other950.trigger; +WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other960) { + pool = other960.pool; + trigger = other960.trigger; } -WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other951) { - pool = other951.pool; - trigger = other951.trigger; +WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other961) { + pool = other961.pool; + trigger = other961.trigger; return *this; } void WMPoolTrigger::printTo(std::ostream& out) const { @@ -23840,14 +24126,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->pools.clear(); - uint32_t _size952; - ::apache::thrift::protocol::TType _etype955; - xfer += iprot->readListBegin(_etype955, _size952); - this->pools.resize(_size952); - uint32_t _i956; - for (_i956 = 0; _i956 < _size952; ++_i956) + uint32_t _size962; + ::apache::thrift::protocol::TType _etype965; + xfer += iprot->readListBegin(_etype965, _size962); + this->pools.resize(_size962); + uint32_t _i966; + for (_i966 = 0; _i966 < _size962; ++_i966) { - xfer += this->pools[_i956].read(iprot); + xfer += this->pools[_i966].read(iprot); } xfer += iprot->readListEnd(); } @@ -23860,14 +24146,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->mappings.clear(); - uint32_t _size957; - ::apache::thrift::protocol::TType _etype960; - xfer += iprot->readListBegin(_etype960, _size957); - this->mappings.resize(_size957); - uint32_t _i961; - for (_i961 = 0; _i961 < _size957; ++_i961) + uint32_t _size967; + ::apache::thrift::protocol::TType _etype970; + xfer += iprot->readListBegin(_etype970, _size967); + this->mappings.resize(_size967); + uint32_t _i971; + for (_i971 = 0; _i971 < _size967; ++_i971) { - xfer += this->mappings[_i961].read(iprot); + xfer += this->mappings[_i971].read(iprot); } xfer += iprot->readListEnd(); } @@ -23880,14 +24166,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size962; - ::apache::thrift::protocol::TType _etype965; - xfer += iprot->readListBegin(_etype965, _size962); - this->triggers.resize(_size962); - uint32_t _i966; - for (_i966 = 0; _i966 < _size962; ++_i966) + uint32_t _size972; + ::apache::thrift::protocol::TType _etype975; + xfer += iprot->readListBegin(_etype975, _size972); + this->triggers.resize(_size972); + uint32_t _i976; + for (_i976 = 0; _i976 < _size972; ++_i976) { - xfer += this->triggers[_i966].read(iprot); + xfer += this->triggers[_i976].read(iprot); } xfer += iprot->readListEnd(); } @@ -23900,14 +24186,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->poolTriggers.clear(); - uint32_t _size967; - ::apache::thrift::protocol::TType _etype970; - xfer += iprot->readListBegin(_etype970, _size967); - this->poolTriggers.resize(_size967); - uint32_t _i971; - for (_i971 = 0; _i971 < _size967; ++_i971) + uint32_t _size977; + ::apache::thrift::protocol::TType _etype980; + xfer += iprot->readListBegin(_etype980, _size977); + this->poolTriggers.resize(_size977); + uint32_t _i981; + for (_i981 = 0; _i981 < _size977; ++_i981) { - xfer += this->poolTriggers[_i971].read(iprot); + xfer += this->poolTriggers[_i981].read(iprot); } xfer += iprot->readListEnd(); } @@ -23944,10 +24230,10 @@ uint32_t WMFullResourcePlan::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("pools", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->pools.size())); - std::vector ::const_iterator _iter972; - for (_iter972 = this->pools.begin(); _iter972 != this->pools.end(); ++_iter972) + std::vector ::const_iterator _iter982; + for (_iter982 = this->pools.begin(); _iter982 != this->pools.end(); ++_iter982) { - xfer += (*_iter972).write(oprot); + xfer += (*_iter982).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23957,10 +24243,10 @@ uint32_t WMFullResourcePlan::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("mappings", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->mappings.size())); - std::vector ::const_iterator _iter973; - for (_iter973 = this->mappings.begin(); _iter973 != this->mappings.end(); ++_iter973) + std::vector ::const_iterator _iter983; + for (_iter983 = this->mappings.begin(); _iter983 != this->mappings.end(); ++_iter983) { - xfer += (*_iter973).write(oprot); + xfer += (*_iter983).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23970,10 +24256,10 @@ uint32_t WMFullResourcePlan::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("triggers", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->triggers.size())); - std::vector ::const_iterator _iter974; - for (_iter974 = this->triggers.begin(); _iter974 != this->triggers.end(); ++_iter974) + std::vector ::const_iterator _iter984; + for (_iter984 = this->triggers.begin(); _iter984 != this->triggers.end(); ++_iter984) { - xfer += (*_iter974).write(oprot); + xfer += (*_iter984).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23983,10 +24269,10 @@ uint32_t WMFullResourcePlan::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("poolTriggers", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->poolTriggers.size())); - std::vector ::const_iterator _iter975; - for (_iter975 = this->poolTriggers.begin(); _iter975 != this->poolTriggers.end(); ++_iter975) + std::vector ::const_iterator _iter985; + for (_iter985 = this->poolTriggers.begin(); _iter985 != this->poolTriggers.end(); ++_iter985) { - xfer += (*_iter975).write(oprot); + xfer += (*_iter985).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24007,21 +24293,21 @@ void swap(WMFullResourcePlan &a, WMFullResourcePlan &b) { swap(a.__isset, b.__isset); } -WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other976) { - plan = other976.plan; - pools = other976.pools; - mappings = other976.mappings; - triggers = other976.triggers; - poolTriggers = other976.poolTriggers; - __isset = other976.__isset; -} -WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other977) { - plan = other977.plan; - pools = other977.pools; - mappings = other977.mappings; - triggers = other977.triggers; - poolTriggers = other977.poolTriggers; - __isset = other977.__isset; +WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other986) { + plan = other986.plan; + pools = other986.pools; + mappings = other986.mappings; + triggers = other986.triggers; + poolTriggers = other986.poolTriggers; + __isset = other986.__isset; +} +WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other987) { + plan = other987.plan; + pools = other987.pools; + mappings = other987.mappings; + triggers = other987.triggers; + poolTriggers = other987.poolTriggers; + __isset = other987.__isset; return *this; } void WMFullResourcePlan::printTo(std::ostream& out) const { @@ -24126,15 +24412,15 @@ void swap(WMCreateResourcePlanRequest &a, WMCreateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other978) { - resourcePlan = other978.resourcePlan; - copyFrom = other978.copyFrom; - __isset = other978.__isset; +WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other988) { + resourcePlan = other988.resourcePlan; + copyFrom = other988.copyFrom; + __isset = other988.__isset; } -WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other979) { - resourcePlan = other979.resourcePlan; - copyFrom = other979.copyFrom; - __isset = other979.__isset; +WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other989) { + resourcePlan = other989.resourcePlan; + copyFrom = other989.copyFrom; + __isset = other989.__isset; return *this; } void WMCreateResourcePlanRequest::printTo(std::ostream& out) const { @@ -24194,11 +24480,11 @@ void swap(WMCreateResourcePlanResponse &a, WMCreateResourcePlanResponse &b) { (void) b; } -WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other980) { - (void) other980; +WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other990) { + (void) other990; } -WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other981) { - (void) other981; +WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other991) { + (void) other991; return *this; } void WMCreateResourcePlanResponse::printTo(std::ostream& out) const { @@ -24256,11 +24542,11 @@ void swap(WMGetActiveResourcePlanRequest &a, WMGetActiveResourcePlanRequest &b) (void) b; } -WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other982) { - (void) other982; +WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other992) { + (void) other992; } -WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other983) { - (void) other983; +WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other993) { + (void) other993; return *this; } void WMGetActiveResourcePlanRequest::printTo(std::ostream& out) const { @@ -24341,13 +24627,13 @@ void swap(WMGetActiveResourcePlanResponse &a, WMGetActiveResourcePlanResponse &b swap(a.__isset, b.__isset); } -WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other984) { - resourcePlan = other984.resourcePlan; - __isset = other984.__isset; +WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other994) { + resourcePlan = other994.resourcePlan; + __isset = other994.__isset; } -WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other985) { - resourcePlan = other985.resourcePlan; - __isset = other985.__isset; +WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other995) { + resourcePlan = other995.resourcePlan; + __isset = other995.__isset; return *this; } void WMGetActiveResourcePlanResponse::printTo(std::ostream& out) const { @@ -24429,13 +24715,13 @@ void swap(WMGetResourcePlanRequest &a, WMGetResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other986) { - resourcePlanName = other986.resourcePlanName; - __isset = other986.__isset; +WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other996) { + resourcePlanName = other996.resourcePlanName; + __isset = other996.__isset; } -WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other987) { - resourcePlanName = other987.resourcePlanName; - __isset = other987.__isset; +WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other997) { + resourcePlanName = other997.resourcePlanName; + __isset = other997.__isset; return *this; } void WMGetResourcePlanRequest::printTo(std::ostream& out) const { @@ -24517,13 +24803,13 @@ void swap(WMGetResourcePlanResponse &a, WMGetResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other988) { - resourcePlan = other988.resourcePlan; - __isset = other988.__isset; +WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other998) { + resourcePlan = other998.resourcePlan; + __isset = other998.__isset; } -WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other989) { - resourcePlan = other989.resourcePlan; - __isset = other989.__isset; +WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other999) { + resourcePlan = other999.resourcePlan; + __isset = other999.__isset; return *this; } void WMGetResourcePlanResponse::printTo(std::ostream& out) const { @@ -24582,11 +24868,11 @@ void swap(WMGetAllResourcePlanRequest &a, WMGetAllResourcePlanRequest &b) { (void) b; } -WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other990) { - (void) other990; +WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other1000) { + (void) other1000; } -WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other991) { - (void) other991; +WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other1001) { + (void) other1001; return *this; } void WMGetAllResourcePlanRequest::printTo(std::ostream& out) const { @@ -24630,14 +24916,14 @@ uint32_t WMGetAllResourcePlanResponse::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->resourcePlans.clear(); - uint32_t _size992; - ::apache::thrift::protocol::TType _etype995; - xfer += iprot->readListBegin(_etype995, _size992); - this->resourcePlans.resize(_size992); - uint32_t _i996; - for (_i996 = 0; _i996 < _size992; ++_i996) + uint32_t _size1002; + ::apache::thrift::protocol::TType _etype1005; + xfer += iprot->readListBegin(_etype1005, _size1002); + this->resourcePlans.resize(_size1002); + uint32_t _i1006; + for (_i1006 = 0; _i1006 < _size1002; ++_i1006) { - xfer += this->resourcePlans[_i996].read(iprot); + xfer += this->resourcePlans[_i1006].read(iprot); } xfer += iprot->readListEnd(); } @@ -24667,10 +24953,10 @@ uint32_t WMGetAllResourcePlanResponse::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldBegin("resourcePlans", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->resourcePlans.size())); - std::vector ::const_iterator _iter997; - for (_iter997 = this->resourcePlans.begin(); _iter997 != this->resourcePlans.end(); ++_iter997) + std::vector ::const_iterator _iter1007; + for (_iter1007 = this->resourcePlans.begin(); _iter1007 != this->resourcePlans.end(); ++_iter1007) { - xfer += (*_iter997).write(oprot); + xfer += (*_iter1007).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24687,13 +24973,13 @@ void swap(WMGetAllResourcePlanResponse &a, WMGetAllResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other998) { - resourcePlans = other998.resourcePlans; - __isset = other998.__isset; +WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other1008) { + resourcePlans = other1008.resourcePlans; + __isset = other1008.__isset; } -WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other999) { - resourcePlans = other999.resourcePlans; - __isset = other999.__isset; +WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other1009) { + resourcePlans = other1009.resourcePlans; + __isset = other1009.__isset; return *this; } void WMGetAllResourcePlanResponse::printTo(std::ostream& out) const { @@ -24851,21 +25137,21 @@ void swap(WMAlterResourcePlanRequest &a, WMAlterResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1000) { - resourcePlanName = other1000.resourcePlanName; - resourcePlan = other1000.resourcePlan; - isEnableAndActivate = other1000.isEnableAndActivate; - isForceDeactivate = other1000.isForceDeactivate; - isReplace = other1000.isReplace; - __isset = other1000.__isset; -} -WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1001) { - resourcePlanName = other1001.resourcePlanName; - resourcePlan = other1001.resourcePlan; - isEnableAndActivate = other1001.isEnableAndActivate; - isForceDeactivate = other1001.isForceDeactivate; - isReplace = other1001.isReplace; - __isset = other1001.__isset; +WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1010) { + resourcePlanName = other1010.resourcePlanName; + resourcePlan = other1010.resourcePlan; + isEnableAndActivate = other1010.isEnableAndActivate; + isForceDeactivate = other1010.isForceDeactivate; + isReplace = other1010.isReplace; + __isset = other1010.__isset; +} +WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1011) { + resourcePlanName = other1011.resourcePlanName; + resourcePlan = other1011.resourcePlan; + isEnableAndActivate = other1011.isEnableAndActivate; + isForceDeactivate = other1011.isForceDeactivate; + isReplace = other1011.isReplace; + __isset = other1011.__isset; return *this; } void WMAlterResourcePlanRequest::printTo(std::ostream& out) const { @@ -24951,13 +25237,13 @@ void swap(WMAlterResourcePlanResponse &a, WMAlterResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1002) { - fullResourcePlan = other1002.fullResourcePlan; - __isset = other1002.__isset; +WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1012) { + fullResourcePlan = other1012.fullResourcePlan; + __isset = other1012.__isset; } -WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1003) { - fullResourcePlan = other1003.fullResourcePlan; - __isset = other1003.__isset; +WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1013) { + fullResourcePlan = other1013.fullResourcePlan; + __isset = other1013.__isset; return *this; } void WMAlterResourcePlanResponse::printTo(std::ostream& out) const { @@ -25039,13 +25325,13 @@ void swap(WMValidateResourcePlanRequest &a, WMValidateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1004) { - resourcePlanName = other1004.resourcePlanName; - __isset = other1004.__isset; +WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1014) { + resourcePlanName = other1014.resourcePlanName; + __isset = other1014.__isset; } -WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1005) { - resourcePlanName = other1005.resourcePlanName; - __isset = other1005.__isset; +WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1015) { + resourcePlanName = other1015.resourcePlanName; + __isset = other1015.__isset; return *this; } void WMValidateResourcePlanRequest::printTo(std::ostream& out) const { @@ -25095,14 +25381,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->errors.clear(); - uint32_t _size1006; - ::apache::thrift::protocol::TType _etype1009; - xfer += iprot->readListBegin(_etype1009, _size1006); - this->errors.resize(_size1006); - uint32_t _i1010; - for (_i1010 = 0; _i1010 < _size1006; ++_i1010) + uint32_t _size1016; + ::apache::thrift::protocol::TType _etype1019; + xfer += iprot->readListBegin(_etype1019, _size1016); + this->errors.resize(_size1016); + uint32_t _i1020; + for (_i1020 = 0; _i1020 < _size1016; ++_i1020) { - xfer += iprot->readString(this->errors[_i1010]); + xfer += iprot->readString(this->errors[_i1020]); } xfer += iprot->readListEnd(); } @@ -25115,14 +25401,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->warnings.clear(); - uint32_t _size1011; - ::apache::thrift::protocol::TType _etype1014; - xfer += iprot->readListBegin(_etype1014, _size1011); - this->warnings.resize(_size1011); - uint32_t _i1015; - for (_i1015 = 0; _i1015 < _size1011; ++_i1015) + uint32_t _size1021; + ::apache::thrift::protocol::TType _etype1024; + xfer += iprot->readListBegin(_etype1024, _size1021); + this->warnings.resize(_size1021); + uint32_t _i1025; + for (_i1025 = 0; _i1025 < _size1021; ++_i1025) { - xfer += iprot->readString(this->warnings[_i1015]); + xfer += iprot->readString(this->warnings[_i1025]); } xfer += iprot->readListEnd(); } @@ -25152,10 +25438,10 @@ uint32_t WMValidateResourcePlanResponse::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldBegin("errors", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->errors.size())); - std::vector ::const_iterator _iter1016; - for (_iter1016 = this->errors.begin(); _iter1016 != this->errors.end(); ++_iter1016) + std::vector ::const_iterator _iter1026; + for (_iter1026 = this->errors.begin(); _iter1026 != this->errors.end(); ++_iter1026) { - xfer += oprot->writeString((*_iter1016)); + xfer += oprot->writeString((*_iter1026)); } xfer += oprot->writeListEnd(); } @@ -25165,10 +25451,10 @@ uint32_t WMValidateResourcePlanResponse::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldBegin("warnings", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->warnings.size())); - std::vector ::const_iterator _iter1017; - for (_iter1017 = this->warnings.begin(); _iter1017 != this->warnings.end(); ++_iter1017) + std::vector ::const_iterator _iter1027; + for (_iter1027 = this->warnings.begin(); _iter1027 != this->warnings.end(); ++_iter1027) { - xfer += oprot->writeString((*_iter1017)); + xfer += oprot->writeString((*_iter1027)); } xfer += oprot->writeListEnd(); } @@ -25186,15 +25472,15 @@ void swap(WMValidateResourcePlanResponse &a, WMValidateResourcePlanResponse &b) swap(a.__isset, b.__isset); } -WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1018) { - errors = other1018.errors; - warnings = other1018.warnings; - __isset = other1018.__isset; +WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1028) { + errors = other1028.errors; + warnings = other1028.warnings; + __isset = other1028.__isset; } -WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1019) { - errors = other1019.errors; - warnings = other1019.warnings; - __isset = other1019.__isset; +WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1029) { + errors = other1029.errors; + warnings = other1029.warnings; + __isset = other1029.__isset; return *this; } void WMValidateResourcePlanResponse::printTo(std::ostream& out) const { @@ -25277,13 +25563,13 @@ void swap(WMDropResourcePlanRequest &a, WMDropResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1020) { - resourcePlanName = other1020.resourcePlanName; - __isset = other1020.__isset; +WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1030) { + resourcePlanName = other1030.resourcePlanName; + __isset = other1030.__isset; } -WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1021) { - resourcePlanName = other1021.resourcePlanName; - __isset = other1021.__isset; +WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1031) { + resourcePlanName = other1031.resourcePlanName; + __isset = other1031.__isset; return *this; } void WMDropResourcePlanRequest::printTo(std::ostream& out) const { @@ -25342,11 +25628,11 @@ void swap(WMDropResourcePlanResponse &a, WMDropResourcePlanResponse &b) { (void) b; } -WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1022) { - (void) other1022; +WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1032) { + (void) other1032; } -WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1023) { - (void) other1023; +WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1033) { + (void) other1033; return *this; } void WMDropResourcePlanResponse::printTo(std::ostream& out) const { @@ -25427,13 +25713,13 @@ void swap(WMCreateTriggerRequest &a, WMCreateTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1024) { - trigger = other1024.trigger; - __isset = other1024.__isset; +WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1034) { + trigger = other1034.trigger; + __isset = other1034.__isset; } -WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1025) { - trigger = other1025.trigger; - __isset = other1025.__isset; +WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1035) { + trigger = other1035.trigger; + __isset = other1035.__isset; return *this; } void WMCreateTriggerRequest::printTo(std::ostream& out) const { @@ -25492,11 +25778,11 @@ void swap(WMCreateTriggerResponse &a, WMCreateTriggerResponse &b) { (void) b; } -WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1026) { - (void) other1026; +WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1036) { + (void) other1036; } -WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1027) { - (void) other1027; +WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1037) { + (void) other1037; return *this; } void WMCreateTriggerResponse::printTo(std::ostream& out) const { @@ -25577,13 +25863,13 @@ void swap(WMAlterTriggerRequest &a, WMAlterTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1028) { - trigger = other1028.trigger; - __isset = other1028.__isset; +WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1038) { + trigger = other1038.trigger; + __isset = other1038.__isset; } -WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1029) { - trigger = other1029.trigger; - __isset = other1029.__isset; +WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1039) { + trigger = other1039.trigger; + __isset = other1039.__isset; return *this; } void WMAlterTriggerRequest::printTo(std::ostream& out) const { @@ -25642,11 +25928,11 @@ void swap(WMAlterTriggerResponse &a, WMAlterTriggerResponse &b) { (void) b; } -WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1030) { - (void) other1030; +WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1040) { + (void) other1040; } -WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1031) { - (void) other1031; +WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1041) { + (void) other1041; return *this; } void WMAlterTriggerResponse::printTo(std::ostream& out) const { @@ -25746,15 +26032,15 @@ void swap(WMDropTriggerRequest &a, WMDropTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1032) { - resourcePlanName = other1032.resourcePlanName; - triggerName = other1032.triggerName; - __isset = other1032.__isset; +WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1042) { + resourcePlanName = other1042.resourcePlanName; + triggerName = other1042.triggerName; + __isset = other1042.__isset; } -WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1033) { - resourcePlanName = other1033.resourcePlanName; - triggerName = other1033.triggerName; - __isset = other1033.__isset; +WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1043) { + resourcePlanName = other1043.resourcePlanName; + triggerName = other1043.triggerName; + __isset = other1043.__isset; return *this; } void WMDropTriggerRequest::printTo(std::ostream& out) const { @@ -25814,11 +26100,11 @@ void swap(WMDropTriggerResponse &a, WMDropTriggerResponse &b) { (void) b; } -WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1034) { - (void) other1034; +WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1044) { + (void) other1044; } -WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1035) { - (void) other1035; +WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1045) { + (void) other1045; return *this; } void WMDropTriggerResponse::printTo(std::ostream& out) const { @@ -25899,13 +26185,13 @@ void swap(WMGetTriggersForResourePlanRequest &a, WMGetTriggersForResourePlanRequ swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1036) { - resourcePlanName = other1036.resourcePlanName; - __isset = other1036.__isset; +WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1046) { + resourcePlanName = other1046.resourcePlanName; + __isset = other1046.__isset; } -WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1037) { - resourcePlanName = other1037.resourcePlanName; - __isset = other1037.__isset; +WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1047) { + resourcePlanName = other1047.resourcePlanName; + __isset = other1047.__isset; return *this; } void WMGetTriggersForResourePlanRequest::printTo(std::ostream& out) const { @@ -25950,14 +26236,14 @@ uint32_t WMGetTriggersForResourePlanResponse::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size1038; - ::apache::thrift::protocol::TType _etype1041; - xfer += iprot->readListBegin(_etype1041, _size1038); - this->triggers.resize(_size1038); - uint32_t _i1042; - for (_i1042 = 0; _i1042 < _size1038; ++_i1042) + uint32_t _size1048; + ::apache::thrift::protocol::TType _etype1051; + xfer += iprot->readListBegin(_etype1051, _size1048); + this->triggers.resize(_size1048); + uint32_t _i1052; + for (_i1052 = 0; _i1052 < _size1048; ++_i1052) { - xfer += this->triggers[_i1042].read(iprot); + xfer += this->triggers[_i1052].read(iprot); } xfer += iprot->readListEnd(); } @@ -25987,10 +26273,10 @@ uint32_t WMGetTriggersForResourePlanResponse::write(::apache::thrift::protocol:: xfer += oprot->writeFieldBegin("triggers", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->triggers.size())); - std::vector ::const_iterator _iter1043; - for (_iter1043 = this->triggers.begin(); _iter1043 != this->triggers.end(); ++_iter1043) + std::vector ::const_iterator _iter1053; + for (_iter1053 = this->triggers.begin(); _iter1053 != this->triggers.end(); ++_iter1053) { - xfer += (*_iter1043).write(oprot); + xfer += (*_iter1053).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26007,13 +26293,13 @@ void swap(WMGetTriggersForResourePlanResponse &a, WMGetTriggersForResourePlanRes swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1044) { - triggers = other1044.triggers; - __isset = other1044.__isset; +WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1054) { + triggers = other1054.triggers; + __isset = other1054.__isset; } -WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1045) { - triggers = other1045.triggers; - __isset = other1045.__isset; +WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1055) { + triggers = other1055.triggers; + __isset = other1055.__isset; return *this; } void WMGetTriggersForResourePlanResponse::printTo(std::ostream& out) const { @@ -26095,13 +26381,13 @@ void swap(WMCreatePoolRequest &a, WMCreatePoolRequest &b) { swap(a.__isset, b.__isset); } -WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1046) { - pool = other1046.pool; - __isset = other1046.__isset; +WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1056) { + pool = other1056.pool; + __isset = other1056.__isset; } -WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1047) { - pool = other1047.pool; - __isset = other1047.__isset; +WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1057) { + pool = other1057.pool; + __isset = other1057.__isset; return *this; } void WMCreatePoolRequest::printTo(std::ostream& out) const { @@ -26160,11 +26446,11 @@ void swap(WMCreatePoolResponse &a, WMCreatePoolResponse &b) { (void) b; } -WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1048) { - (void) other1048; +WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1058) { + (void) other1058; } -WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1049) { - (void) other1049; +WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1059) { + (void) other1059; return *this; } void WMCreatePoolResponse::printTo(std::ostream& out) const { @@ -26264,15 +26550,15 @@ void swap(WMAlterPoolRequest &a, WMAlterPoolRequest &b) { swap(a.__isset, b.__isset); } -WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1050) { - pool = other1050.pool; - poolPath = other1050.poolPath; - __isset = other1050.__isset; +WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1060) { + pool = other1060.pool; + poolPath = other1060.poolPath; + __isset = other1060.__isset; } -WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1051) { - pool = other1051.pool; - poolPath = other1051.poolPath; - __isset = other1051.__isset; +WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1061) { + pool = other1061.pool; + poolPath = other1061.poolPath; + __isset = other1061.__isset; return *this; } void WMAlterPoolRequest::printTo(std::ostream& out) const { @@ -26332,11 +26618,11 @@ void swap(WMAlterPoolResponse &a, WMAlterPoolResponse &b) { (void) b; } -WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1052) { - (void) other1052; +WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1062) { + (void) other1062; } -WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1053) { - (void) other1053; +WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1063) { + (void) other1063; return *this; } void WMAlterPoolResponse::printTo(std::ostream& out) const { @@ -26436,15 +26722,15 @@ void swap(WMDropPoolRequest &a, WMDropPoolRequest &b) { swap(a.__isset, b.__isset); } -WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1054) { - resourcePlanName = other1054.resourcePlanName; - poolPath = other1054.poolPath; - __isset = other1054.__isset; +WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1064) { + resourcePlanName = other1064.resourcePlanName; + poolPath = other1064.poolPath; + __isset = other1064.__isset; } -WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1055) { - resourcePlanName = other1055.resourcePlanName; - poolPath = other1055.poolPath; - __isset = other1055.__isset; +WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1065) { + resourcePlanName = other1065.resourcePlanName; + poolPath = other1065.poolPath; + __isset = other1065.__isset; return *this; } void WMDropPoolRequest::printTo(std::ostream& out) const { @@ -26504,11 +26790,11 @@ void swap(WMDropPoolResponse &a, WMDropPoolResponse &b) { (void) b; } -WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1056) { - (void) other1056; +WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1066) { + (void) other1066; } -WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1057) { - (void) other1057; +WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1067) { + (void) other1067; return *this; } void WMDropPoolResponse::printTo(std::ostream& out) const { @@ -26608,15 +26894,15 @@ void swap(WMCreateOrUpdateMappingRequest &a, WMCreateOrUpdateMappingRequest &b) swap(a.__isset, b.__isset); } -WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1058) { - mapping = other1058.mapping; - update = other1058.update; - __isset = other1058.__isset; +WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1068) { + mapping = other1068.mapping; + update = other1068.update; + __isset = other1068.__isset; } -WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1059) { - mapping = other1059.mapping; - update = other1059.update; - __isset = other1059.__isset; +WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1069) { + mapping = other1069.mapping; + update = other1069.update; + __isset = other1069.__isset; return *this; } void WMCreateOrUpdateMappingRequest::printTo(std::ostream& out) const { @@ -26676,11 +26962,11 @@ void swap(WMCreateOrUpdateMappingResponse &a, WMCreateOrUpdateMappingResponse &b (void) b; } -WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1060) { - (void) other1060; +WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1070) { + (void) other1070; } -WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1061) { - (void) other1061; +WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1071) { + (void) other1071; return *this; } void WMCreateOrUpdateMappingResponse::printTo(std::ostream& out) const { @@ -26761,13 +27047,13 @@ void swap(WMDropMappingRequest &a, WMDropMappingRequest &b) { swap(a.__isset, b.__isset); } -WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1062) { - mapping = other1062.mapping; - __isset = other1062.__isset; +WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1072) { + mapping = other1072.mapping; + __isset = other1072.__isset; } -WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1063) { - mapping = other1063.mapping; - __isset = other1063.__isset; +WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1073) { + mapping = other1073.mapping; + __isset = other1073.__isset; return *this; } void WMDropMappingRequest::printTo(std::ostream& out) const { @@ -26826,11 +27112,11 @@ void swap(WMDropMappingResponse &a, WMDropMappingResponse &b) { (void) b; } -WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1064) { - (void) other1064; +WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1074) { + (void) other1074; } -WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1065) { - (void) other1065; +WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1075) { + (void) other1075; return *this; } void WMDropMappingResponse::printTo(std::ostream& out) const { @@ -26968,19 +27254,19 @@ void swap(WMCreateOrDropTriggerToPoolMappingRequest &a, WMCreateOrDropTriggerToP swap(a.__isset, b.__isset); } -WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1066) { - resourcePlanName = other1066.resourcePlanName; - triggerName = other1066.triggerName; - poolPath = other1066.poolPath; - drop = other1066.drop; - __isset = other1066.__isset; +WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1076) { + resourcePlanName = other1076.resourcePlanName; + triggerName = other1076.triggerName; + poolPath = other1076.poolPath; + drop = other1076.drop; + __isset = other1076.__isset; } -WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1067) { - resourcePlanName = other1067.resourcePlanName; - triggerName = other1067.triggerName; - poolPath = other1067.poolPath; - drop = other1067.drop; - __isset = other1067.__isset; +WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1077) { + resourcePlanName = other1077.resourcePlanName; + triggerName = other1077.triggerName; + poolPath = other1077.poolPath; + drop = other1077.drop; + __isset = other1077.__isset; return *this; } void WMCreateOrDropTriggerToPoolMappingRequest::printTo(std::ostream& out) const { @@ -27042,11 +27328,11 @@ void swap(WMCreateOrDropTriggerToPoolMappingResponse &a, WMCreateOrDropTriggerTo (void) b; } -WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1068) { - (void) other1068; +WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1078) { + (void) other1078; } -WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1069) { - (void) other1069; +WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1079) { + (void) other1079; return *this; } void WMCreateOrDropTriggerToPoolMappingResponse::printTo(std::ostream& out) const { @@ -27117,9 +27403,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1070; - xfer += iprot->readI32(ecast1070); - this->schemaType = (SchemaType::type)ecast1070; + int32_t ecast1080; + xfer += iprot->readI32(ecast1080); + this->schemaType = (SchemaType::type)ecast1080; this->__isset.schemaType = true; } else { xfer += iprot->skip(ftype); @@ -27143,9 +27429,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1071; - xfer += iprot->readI32(ecast1071); - this->compatibility = (SchemaCompatibility::type)ecast1071; + int32_t ecast1081; + xfer += iprot->readI32(ecast1081); + this->compatibility = (SchemaCompatibility::type)ecast1081; this->__isset.compatibility = true; } else { xfer += iprot->skip(ftype); @@ -27153,9 +27439,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1072; - xfer += iprot->readI32(ecast1072); - this->validationLevel = (SchemaValidation::type)ecast1072; + int32_t ecast1082; + xfer += iprot->readI32(ecast1082); + this->validationLevel = (SchemaValidation::type)ecast1082; this->__isset.validationLevel = true; } else { xfer += iprot->skip(ftype); @@ -27254,27 +27540,27 @@ void swap(ISchema &a, ISchema &b) { swap(a.__isset, b.__isset); } -ISchema::ISchema(const ISchema& other1073) { - schemaType = other1073.schemaType; - name = other1073.name; - dbName = other1073.dbName; - compatibility = other1073.compatibility; - validationLevel = other1073.validationLevel; - canEvolve = other1073.canEvolve; - schemaGroup = other1073.schemaGroup; - description = other1073.description; - __isset = other1073.__isset; -} -ISchema& ISchema::operator=(const ISchema& other1074) { - schemaType = other1074.schemaType; - name = other1074.name; - dbName = other1074.dbName; - compatibility = other1074.compatibility; - validationLevel = other1074.validationLevel; - canEvolve = other1074.canEvolve; - schemaGroup = other1074.schemaGroup; - description = other1074.description; - __isset = other1074.__isset; +ISchema::ISchema(const ISchema& other1083) { + schemaType = other1083.schemaType; + name = other1083.name; + dbName = other1083.dbName; + compatibility = other1083.compatibility; + validationLevel = other1083.validationLevel; + canEvolve = other1083.canEvolve; + schemaGroup = other1083.schemaGroup; + description = other1083.description; + __isset = other1083.__isset; +} +ISchema& ISchema::operator=(const ISchema& other1084) { + schemaType = other1084.schemaType; + name = other1084.name; + dbName = other1084.dbName; + compatibility = other1084.compatibility; + validationLevel = other1084.validationLevel; + canEvolve = other1084.canEvolve; + schemaGroup = other1084.schemaGroup; + description = other1084.description; + __isset = other1084.__isset; return *this; } void ISchema::printTo(std::ostream& out) const { @@ -27378,15 +27664,15 @@ void swap(ISchemaName &a, ISchemaName &b) { swap(a.__isset, b.__isset); } -ISchemaName::ISchemaName(const ISchemaName& other1075) { - dbName = other1075.dbName; - schemaName = other1075.schemaName; - __isset = other1075.__isset; +ISchemaName::ISchemaName(const ISchemaName& other1085) { + dbName = other1085.dbName; + schemaName = other1085.schemaName; + __isset = other1085.__isset; } -ISchemaName& ISchemaName::operator=(const ISchemaName& other1076) { - dbName = other1076.dbName; - schemaName = other1076.schemaName; - __isset = other1076.__isset; +ISchemaName& ISchemaName::operator=(const ISchemaName& other1086) { + dbName = other1086.dbName; + schemaName = other1086.schemaName; + __isset = other1086.__isset; return *this; } void ISchemaName::printTo(std::ostream& out) const { @@ -27484,15 +27770,15 @@ void swap(AlterISchemaRequest &a, AlterISchemaRequest &b) { swap(a.__isset, b.__isset); } -AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1077) { - name = other1077.name; - newSchema = other1077.newSchema; - __isset = other1077.__isset; +AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1087) { + name = other1087.name; + newSchema = other1087.newSchema; + __isset = other1087.__isset; } -AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1078) { - name = other1078.name; - newSchema = other1078.newSchema; - __isset = other1078.__isset; +AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1088) { + name = other1088.name; + newSchema = other1088.newSchema; + __isset = other1088.__isset; return *this; } void AlterISchemaRequest::printTo(std::ostream& out) const { @@ -27603,14 +27889,14 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->cols.clear(); - uint32_t _size1079; - ::apache::thrift::protocol::TType _etype1082; - xfer += iprot->readListBegin(_etype1082, _size1079); - this->cols.resize(_size1079); - uint32_t _i1083; - for (_i1083 = 0; _i1083 < _size1079; ++_i1083) + uint32_t _size1089; + ::apache::thrift::protocol::TType _etype1092; + xfer += iprot->readListBegin(_etype1092, _size1089); + this->cols.resize(_size1089); + uint32_t _i1093; + for (_i1093 = 0; _i1093 < _size1089; ++_i1093) { - xfer += this->cols[_i1083].read(iprot); + xfer += this->cols[_i1093].read(iprot); } xfer += iprot->readListEnd(); } @@ -27621,9 +27907,9 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1084; - xfer += iprot->readI32(ecast1084); - this->state = (SchemaVersionState::type)ecast1084; + int32_t ecast1094; + xfer += iprot->readI32(ecast1094); + this->state = (SchemaVersionState::type)ecast1094; this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -27701,10 +27987,10 @@ uint32_t SchemaVersion::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldBegin("cols", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->cols.size())); - std::vector ::const_iterator _iter1085; - for (_iter1085 = this->cols.begin(); _iter1085 != this->cols.end(); ++_iter1085) + std::vector ::const_iterator _iter1095; + for (_iter1095 = this->cols.begin(); _iter1095 != this->cols.end(); ++_iter1095) { - xfer += (*_iter1085).write(oprot); + xfer += (*_iter1095).write(oprot); } xfer += oprot->writeListEnd(); } @@ -27760,31 +28046,31 @@ void swap(SchemaVersion &a, SchemaVersion &b) { swap(a.__isset, b.__isset); } -SchemaVersion::SchemaVersion(const SchemaVersion& other1086) { - schema = other1086.schema; - version = other1086.version; - createdAt = other1086.createdAt; - cols = other1086.cols; - state = other1086.state; - description = other1086.description; - schemaText = other1086.schemaText; - fingerprint = other1086.fingerprint; - name = other1086.name; - serDe = other1086.serDe; - __isset = other1086.__isset; -} -SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1087) { - schema = other1087.schema; - version = other1087.version; - createdAt = other1087.createdAt; - cols = other1087.cols; - state = other1087.state; - description = other1087.description; - schemaText = other1087.schemaText; - fingerprint = other1087.fingerprint; - name = other1087.name; - serDe = other1087.serDe; - __isset = other1087.__isset; +SchemaVersion::SchemaVersion(const SchemaVersion& other1096) { + schema = other1096.schema; + version = other1096.version; + createdAt = other1096.createdAt; + cols = other1096.cols; + state = other1096.state; + description = other1096.description; + schemaText = other1096.schemaText; + fingerprint = other1096.fingerprint; + name = other1096.name; + serDe = other1096.serDe; + __isset = other1096.__isset; +} +SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1097) { + schema = other1097.schema; + version = other1097.version; + createdAt = other1097.createdAt; + cols = other1097.cols; + state = other1097.state; + description = other1097.description; + schemaText = other1097.schemaText; + fingerprint = other1097.fingerprint; + name = other1097.name; + serDe = other1097.serDe; + __isset = other1097.__isset; return *this; } void SchemaVersion::printTo(std::ostream& out) const { @@ -27890,15 +28176,15 @@ void swap(SchemaVersionDescriptor &a, SchemaVersionDescriptor &b) { swap(a.__isset, b.__isset); } -SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1088) { - schema = other1088.schema; - version = other1088.version; - __isset = other1088.__isset; +SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1098) { + schema = other1098.schema; + version = other1098.version; + __isset = other1098.__isset; } -SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1089) { - schema = other1089.schema; - version = other1089.version; - __isset = other1089.__isset; +SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1099) { + schema = other1099.schema; + version = other1099.version; + __isset = other1099.__isset; return *this; } void SchemaVersionDescriptor::printTo(std::ostream& out) const { @@ -28019,17 +28305,17 @@ void swap(FindSchemasByColsRqst &a, FindSchemasByColsRqst &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1090) { - colName = other1090.colName; - colNamespace = other1090.colNamespace; - type = other1090.type; - __isset = other1090.__isset; +FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1100) { + colName = other1100.colName; + colNamespace = other1100.colNamespace; + type = other1100.type; + __isset = other1100.__isset; } -FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1091) { - colName = other1091.colName; - colNamespace = other1091.colNamespace; - type = other1091.type; - __isset = other1091.__isset; +FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1101) { + colName = other1101.colName; + colNamespace = other1101.colNamespace; + type = other1101.type; + __isset = other1101.__isset; return *this; } void FindSchemasByColsRqst::printTo(std::ostream& out) const { @@ -28075,14 +28361,14 @@ uint32_t FindSchemasByColsResp::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->schemaVersions.clear(); - uint32_t _size1092; - ::apache::thrift::protocol::TType _etype1095; - xfer += iprot->readListBegin(_etype1095, _size1092); - this->schemaVersions.resize(_size1092); - uint32_t _i1096; - for (_i1096 = 0; _i1096 < _size1092; ++_i1096) + uint32_t _size1102; + ::apache::thrift::protocol::TType _etype1105; + xfer += iprot->readListBegin(_etype1105, _size1102); + this->schemaVersions.resize(_size1102); + uint32_t _i1106; + for (_i1106 = 0; _i1106 < _size1102; ++_i1106) { - xfer += this->schemaVersions[_i1096].read(iprot); + xfer += this->schemaVersions[_i1106].read(iprot); } xfer += iprot->readListEnd(); } @@ -28111,10 +28397,10 @@ uint32_t FindSchemasByColsResp::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("schemaVersions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->schemaVersions.size())); - std::vector ::const_iterator _iter1097; - for (_iter1097 = this->schemaVersions.begin(); _iter1097 != this->schemaVersions.end(); ++_iter1097) + std::vector ::const_iterator _iter1107; + for (_iter1107 = this->schemaVersions.begin(); _iter1107 != this->schemaVersions.end(); ++_iter1107) { - xfer += (*_iter1097).write(oprot); + xfer += (*_iter1107).write(oprot); } xfer += oprot->writeListEnd(); } @@ -28131,13 +28417,13 @@ void swap(FindSchemasByColsResp &a, FindSchemasByColsResp &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1098) { - schemaVersions = other1098.schemaVersions; - __isset = other1098.__isset; +FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1108) { + schemaVersions = other1108.schemaVersions; + __isset = other1108.__isset; } -FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1099) { - schemaVersions = other1099.schemaVersions; - __isset = other1099.__isset; +FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1109) { + schemaVersions = other1109.schemaVersions; + __isset = other1109.__isset; return *this; } void FindSchemasByColsResp::printTo(std::ostream& out) const { @@ -28234,15 +28520,15 @@ void swap(MapSchemaVersionToSerdeRequest &a, MapSchemaVersionToSerdeRequest &b) swap(a.__isset, b.__isset); } -MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1100) { - schemaVersion = other1100.schemaVersion; - serdeName = other1100.serdeName; - __isset = other1100.__isset; +MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1110) { + schemaVersion = other1110.schemaVersion; + serdeName = other1110.serdeName; + __isset = other1110.__isset; } -MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1101) { - schemaVersion = other1101.schemaVersion; - serdeName = other1101.serdeName; - __isset = other1101.__isset; +MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1111) { + schemaVersion = other1111.schemaVersion; + serdeName = other1111.serdeName; + __isset = other1111.__isset; return *this; } void MapSchemaVersionToSerdeRequest::printTo(std::ostream& out) const { @@ -28297,9 +28583,9 @@ uint32_t SetSchemaVersionStateRequest::read(::apache::thrift::protocol::TProtoco break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1102; - xfer += iprot->readI32(ecast1102); - this->state = (SchemaVersionState::type)ecast1102; + int32_t ecast1112; + xfer += iprot->readI32(ecast1112); + this->state = (SchemaVersionState::type)ecast1112; this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -28342,15 +28628,15 @@ void swap(SetSchemaVersionStateRequest &a, SetSchemaVersionStateRequest &b) { swap(a.__isset, b.__isset); } -SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1103) { - schemaVersion = other1103.schemaVersion; - state = other1103.state; - __isset = other1103.__isset; +SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1113) { + schemaVersion = other1113.schemaVersion; + state = other1113.state; + __isset = other1113.__isset; } -SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1104) { - schemaVersion = other1104.schemaVersion; - state = other1104.state; - __isset = other1104.__isset; +SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1114) { + schemaVersion = other1114.schemaVersion; + state = other1114.state; + __isset = other1114.__isset; return *this; } void SetSchemaVersionStateRequest::printTo(std::ostream& out) const { @@ -28431,13 +28717,13 @@ void swap(GetSerdeRequest &a, GetSerdeRequest &b) { swap(a.__isset, b.__isset); } -GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1105) { - serdeName = other1105.serdeName; - __isset = other1105.__isset; +GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1115) { + serdeName = other1115.serdeName; + __isset = other1115.__isset; } -GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1106) { - serdeName = other1106.serdeName; - __isset = other1106.__isset; +GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1116) { + serdeName = other1116.serdeName; + __isset = other1116.__isset; return *this; } void GetSerdeRequest::printTo(std::ostream& out) const { @@ -28517,13 +28803,13 @@ void swap(MetaException &a, MetaException &b) { swap(a.__isset, b.__isset); } -MetaException::MetaException(const MetaException& other1107) : TException() { - message = other1107.message; - __isset = other1107.__isset; +MetaException::MetaException(const MetaException& other1117) : TException() { + message = other1117.message; + __isset = other1117.__isset; } -MetaException& MetaException::operator=(const MetaException& other1108) { - message = other1108.message; - __isset = other1108.__isset; +MetaException& MetaException::operator=(const MetaException& other1118) { + message = other1118.message; + __isset = other1118.__isset; return *this; } void MetaException::printTo(std::ostream& out) const { @@ -28614,13 +28900,13 @@ void swap(UnknownTableException &a, UnknownTableException &b) { swap(a.__isset, b.__isset); } -UnknownTableException::UnknownTableException(const UnknownTableException& other1109) : TException() { - message = other1109.message; - __isset = other1109.__isset; +UnknownTableException::UnknownTableException(const UnknownTableException& other1119) : TException() { + message = other1119.message; + __isset = other1119.__isset; } -UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1110) { - message = other1110.message; - __isset = other1110.__isset; +UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1120) { + message = other1120.message; + __isset = other1120.__isset; return *this; } void UnknownTableException::printTo(std::ostream& out) const { @@ -28711,13 +28997,13 @@ void swap(UnknownDBException &a, UnknownDBException &b) { swap(a.__isset, b.__isset); } -UnknownDBException::UnknownDBException(const UnknownDBException& other1111) : TException() { - message = other1111.message; - __isset = other1111.__isset; +UnknownDBException::UnknownDBException(const UnknownDBException& other1121) : TException() { + message = other1121.message; + __isset = other1121.__isset; } -UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1112) { - message = other1112.message; - __isset = other1112.__isset; +UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1122) { + message = other1122.message; + __isset = other1122.__isset; return *this; } void UnknownDBException::printTo(std::ostream& out) const { @@ -28808,13 +29094,13 @@ void swap(AlreadyExistsException &a, AlreadyExistsException &b) { swap(a.__isset, b.__isset); } -AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1113) : TException() { - message = other1113.message; - __isset = other1113.__isset; +AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1123) : TException() { + message = other1123.message; + __isset = other1123.__isset; } -AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1114) { - message = other1114.message; - __isset = other1114.__isset; +AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1124) { + message = other1124.message; + __isset = other1124.__isset; return *this; } void AlreadyExistsException::printTo(std::ostream& out) const { @@ -28905,13 +29191,13 @@ void swap(InvalidPartitionException &a, InvalidPartitionException &b) { swap(a.__isset, b.__isset); } -InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1115) : TException() { - message = other1115.message; - __isset = other1115.__isset; +InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1125) : TException() { + message = other1125.message; + __isset = other1125.__isset; } -InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1116) { - message = other1116.message; - __isset = other1116.__isset; +InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1126) { + message = other1126.message; + __isset = other1126.__isset; return *this; } void InvalidPartitionException::printTo(std::ostream& out) const { @@ -29002,13 +29288,13 @@ void swap(UnknownPartitionException &a, UnknownPartitionException &b) { swap(a.__isset, b.__isset); } -UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1117) : TException() { - message = other1117.message; - __isset = other1117.__isset; +UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1127) : TException() { + message = other1127.message; + __isset = other1127.__isset; } -UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1118) { - message = other1118.message; - __isset = other1118.__isset; +UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1128) { + message = other1128.message; + __isset = other1128.__isset; return *this; } void UnknownPartitionException::printTo(std::ostream& out) const { @@ -29099,13 +29385,13 @@ void swap(InvalidObjectException &a, InvalidObjectException &b) { swap(a.__isset, b.__isset); } -InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1119) : TException() { - message = other1119.message; - __isset = other1119.__isset; +InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1129) : TException() { + message = other1129.message; + __isset = other1129.__isset; } -InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1120) { - message = other1120.message; - __isset = other1120.__isset; +InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1130) { + message = other1130.message; + __isset = other1130.__isset; return *this; } void InvalidObjectException::printTo(std::ostream& out) const { @@ -29196,13 +29482,13 @@ void swap(NoSuchObjectException &a, NoSuchObjectException &b) { swap(a.__isset, b.__isset); } -NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1121) : TException() { - message = other1121.message; - __isset = other1121.__isset; +NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1131) : TException() { + message = other1131.message; + __isset = other1131.__isset; } -NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1122) { - message = other1122.message; - __isset = other1122.__isset; +NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1132) { + message = other1132.message; + __isset = other1132.__isset; return *this; } void NoSuchObjectException::printTo(std::ostream& out) const { @@ -29293,13 +29579,13 @@ void swap(InvalidOperationException &a, InvalidOperationException &b) { swap(a.__isset, b.__isset); } -InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1123) : TException() { - message = other1123.message; - __isset = other1123.__isset; +InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1133) : TException() { + message = other1133.message; + __isset = other1133.__isset; } -InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1124) { - message = other1124.message; - __isset = other1124.__isset; +InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1134) { + message = other1134.message; + __isset = other1134.__isset; return *this; } void InvalidOperationException::printTo(std::ostream& out) const { @@ -29390,13 +29676,13 @@ void swap(ConfigValSecurityException &a, ConfigValSecurityException &b) { swap(a.__isset, b.__isset); } -ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1125) : TException() { - message = other1125.message; - __isset = other1125.__isset; +ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1135) : TException() { + message = other1135.message; + __isset = other1135.__isset; } -ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1126) { - message = other1126.message; - __isset = other1126.__isset; +ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1136) { + message = other1136.message; + __isset = other1136.__isset; return *this; } void ConfigValSecurityException::printTo(std::ostream& out) const { @@ -29487,13 +29773,13 @@ void swap(InvalidInputException &a, InvalidInputException &b) { swap(a.__isset, b.__isset); } -InvalidInputException::InvalidInputException(const InvalidInputException& other1127) : TException() { - message = other1127.message; - __isset = other1127.__isset; +InvalidInputException::InvalidInputException(const InvalidInputException& other1137) : TException() { + message = other1137.message; + __isset = other1137.__isset; } -InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1128) { - message = other1128.message; - __isset = other1128.__isset; +InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1138) { + message = other1138.message; + __isset = other1138.__isset; return *this; } void InvalidInputException::printTo(std::ostream& out) const { @@ -29584,13 +29870,13 @@ void swap(NoSuchTxnException &a, NoSuchTxnException &b) { swap(a.__isset, b.__isset); } -NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1129) : TException() { - message = other1129.message; - __isset = other1129.__isset; +NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1139) : TException() { + message = other1139.message; + __isset = other1139.__isset; } -NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1130) { - message = other1130.message; - __isset = other1130.__isset; +NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1140) { + message = other1140.message; + __isset = other1140.__isset; return *this; } void NoSuchTxnException::printTo(std::ostream& out) const { @@ -29681,13 +29967,13 @@ void swap(TxnAbortedException &a, TxnAbortedException &b) { swap(a.__isset, b.__isset); } -TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1131) : TException() { - message = other1131.message; - __isset = other1131.__isset; +TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1141) : TException() { + message = other1141.message; + __isset = other1141.__isset; } -TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1132) { - message = other1132.message; - __isset = other1132.__isset; +TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1142) { + message = other1142.message; + __isset = other1142.__isset; return *this; } void TxnAbortedException::printTo(std::ostream& out) const { @@ -29778,13 +30064,13 @@ void swap(TxnOpenException &a, TxnOpenException &b) { swap(a.__isset, b.__isset); } -TxnOpenException::TxnOpenException(const TxnOpenException& other1133) : TException() { - message = other1133.message; - __isset = other1133.__isset; +TxnOpenException::TxnOpenException(const TxnOpenException& other1143) : TException() { + message = other1143.message; + __isset = other1143.__isset; } -TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1134) { - message = other1134.message; - __isset = other1134.__isset; +TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1144) { + message = other1144.message; + __isset = other1144.__isset; return *this; } void TxnOpenException::printTo(std::ostream& out) const { @@ -29875,13 +30161,13 @@ void swap(NoSuchLockException &a, NoSuchLockException &b) { swap(a.__isset, b.__isset); } -NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1135) : TException() { - message = other1135.message; - __isset = other1135.__isset; +NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1145) : TException() { + message = other1145.message; + __isset = other1145.__isset; } -NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1136) { - message = other1136.message; - __isset = other1136.__isset; +NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1146) { + message = other1146.message; + __isset = other1146.__isset; return *this; } void NoSuchLockException::printTo(std::ostream& out) const { diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h index 05a7a29..87a5257 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h +++ b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h @@ -423,6 +423,10 @@ class AbortTxnsRequest; class CommitTxnRequest; +class GetValidTxnsRequest; + +class GetValidTxnsResponse; + class GetValidWriteIdsRequest; class TableValidWriteIds; @@ -6189,6 +6193,114 @@ inline std::ostream& operator<<(std::ostream& out, const CommitTxnRequest& obj) } +class GetValidTxnsRequest { + public: + + GetValidTxnsRequest(const GetValidTxnsRequest&); + GetValidTxnsRequest& operator=(const GetValidTxnsRequest&); + GetValidTxnsRequest() : currentTxnId(0) { + } + + virtual ~GetValidTxnsRequest() throw(); + int64_t currentTxnId; + + void __set_currentTxnId(const int64_t val); + + bool operator == (const GetValidTxnsRequest & rhs) const + { + if (!(currentTxnId == rhs.currentTxnId)) + return false; + return true; + } + bool operator != (const GetValidTxnsRequest &rhs) const { + return !(*this == rhs); + } + + bool operator < (const GetValidTxnsRequest & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(GetValidTxnsRequest &a, GetValidTxnsRequest &b); + +inline std::ostream& operator<<(std::ostream& out, const GetValidTxnsRequest& obj) +{ + obj.printTo(out); + return out; +} + +typedef struct _GetValidTxnsResponse__isset { + _GetValidTxnsResponse__isset() : minOpenTxnId(false) {} + bool minOpenTxnId :1; +} _GetValidTxnsResponse__isset; + +class GetValidTxnsResponse { + public: + + GetValidTxnsResponse(const GetValidTxnsResponse&); + GetValidTxnsResponse& operator=(const GetValidTxnsResponse&); + GetValidTxnsResponse() : currentTxnId(0), txnHighWaterMark(0), minOpenTxnId(0), abortedBits() { + } + + virtual ~GetValidTxnsResponse() throw(); + int64_t currentTxnId; + int64_t txnHighWaterMark; + std::vector invalidTxns; + int64_t minOpenTxnId; + std::string abortedBits; + + _GetValidTxnsResponse__isset __isset; + + void __set_currentTxnId(const int64_t val); + + void __set_txnHighWaterMark(const int64_t val); + + void __set_invalidTxns(const std::vector & val); + + void __set_minOpenTxnId(const int64_t val); + + void __set_abortedBits(const std::string& val); + + bool operator == (const GetValidTxnsResponse & rhs) const + { + if (!(currentTxnId == rhs.currentTxnId)) + return false; + if (!(txnHighWaterMark == rhs.txnHighWaterMark)) + return false; + if (!(invalidTxns == rhs.invalidTxns)) + return false; + if (__isset.minOpenTxnId != rhs.__isset.minOpenTxnId) + return false; + else if (__isset.minOpenTxnId && !(minOpenTxnId == rhs.minOpenTxnId)) + return false; + if (!(abortedBits == rhs.abortedBits)) + return false; + return true; + } + bool operator != (const GetValidTxnsResponse &rhs) const { + return !(*this == rhs); + } + + bool operator < (const GetValidTxnsResponse & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(GetValidTxnsResponse &a, GetValidTxnsResponse &b); + +inline std::ostream& operator<<(std::ostream& out, const GetValidTxnsResponse& obj) +{ + obj.printTo(out); + return out; +} + + class GetValidWriteIdsRequest { public: diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java index 2144dc0..156316b 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java @@ -816,13 +816,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddDynamicPartition case 5: // PARTITIONNAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list652 = iprot.readListBegin(); - struct.partitionnames = new ArrayList(_list652.size); - String _elem653; - for (int _i654 = 0; _i654 < _list652.size; ++_i654) + org.apache.thrift.protocol.TList _list660 = iprot.readListBegin(); + struct.partitionnames = new ArrayList(_list660.size); + String _elem661; + for (int _i662 = 0; _i662 < _list660.size; ++_i662) { - _elem653 = iprot.readString(); - struct.partitionnames.add(_elem653); + _elem661 = iprot.readString(); + struct.partitionnames.add(_elem661); } iprot.readListEnd(); } @@ -872,9 +872,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddDynamicPartitio oprot.writeFieldBegin(PARTITIONNAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionnames.size())); - for (String _iter655 : struct.partitionnames) + for (String _iter663 : struct.partitionnames) { - oprot.writeString(_iter655); + oprot.writeString(_iter663); } oprot.writeListEnd(); } @@ -910,9 +910,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartition oprot.writeString(struct.tablename); { oprot.writeI32(struct.partitionnames.size()); - for (String _iter656 : struct.partitionnames) + for (String _iter664 : struct.partitionnames) { - oprot.writeString(_iter656); + oprot.writeString(_iter664); } } BitSet optionals = new BitSet(); @@ -937,13 +937,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartitions struct.tablename = iprot.readString(); struct.setTablenameIsSet(true); { - org.apache.thrift.protocol.TList _list657 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionnames = new ArrayList(_list657.size); - String _elem658; - for (int _i659 = 0; _i659 < _list657.size; ++_i659) + org.apache.thrift.protocol.TList _list665 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionnames = new ArrayList(_list665.size); + String _elem666; + for (int _i667 = 0; _i667 < _list665.size; ++_i667) { - _elem658 = iprot.readString(); - struct.partitionnames.add(_elem658); + _elem666 = iprot.readString(); + struct.partitionnames.add(_elem666); } } struct.setPartitionnamesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java index b143812..ab415ea 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java @@ -521,13 +521,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AllocateTableWriteI case 1: // TXN_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list586 = iprot.readListBegin(); - struct.txnIds = new ArrayList(_list586.size); - long _elem587; - for (int _i588 = 0; _i588 < _list586.size; ++_i588) + org.apache.thrift.protocol.TList _list594 = iprot.readListBegin(); + struct.txnIds = new ArrayList(_list594.size); + long _elem595; + for (int _i596 = 0; _i596 < _list594.size; ++_i596) { - _elem587 = iprot.readI64(); - struct.txnIds.add(_elem587); + _elem595 = iprot.readI64(); + struct.txnIds.add(_elem595); } iprot.readListEnd(); } @@ -569,9 +569,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AllocateTableWrite oprot.writeFieldBegin(TXN_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.txnIds.size())); - for (long _iter589 : struct.txnIds) + for (long _iter597 : struct.txnIds) { - oprot.writeI64(_iter589); + oprot.writeI64(_iter597); } oprot.writeListEnd(); } @@ -606,9 +606,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.txnIds.size()); - for (long _iter590 : struct.txnIds) + for (long _iter598 : struct.txnIds) { - oprot.writeI64(_iter590); + oprot.writeI64(_iter598); } } oprot.writeString(struct.dbName); @@ -619,13 +619,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI public void read(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteIdsRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list591 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txnIds = new ArrayList(_list591.size); - long _elem592; - for (int _i593 = 0; _i593 < _list591.size; ++_i593) + org.apache.thrift.protocol.TList _list599 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txnIds = new ArrayList(_list599.size); + long _elem600; + for (int _i601 = 0; _i601 < _list599.size; ++_i601) { - _elem592 = iprot.readI64(); - struct.txnIds.add(_elem592); + _elem600 = iprot.readI64(); + struct.txnIds.add(_elem600); } } struct.setTxnIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsResponse.java index d9ed20d..c022d6d 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AllocateTableWriteI case 1: // TXN_TO_WRITE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list594 = iprot.readListBegin(); - struct.txnToWriteIds = new ArrayList(_list594.size); - TxnToWriteId _elem595; - for (int _i596 = 0; _i596 < _list594.size; ++_i596) + org.apache.thrift.protocol.TList _list602 = iprot.readListBegin(); + struct.txnToWriteIds = new ArrayList(_list602.size); + TxnToWriteId _elem603; + for (int _i604 = 0; _i604 < _list602.size; ++_i604) { - _elem595 = new TxnToWriteId(); - _elem595.read(iprot); - struct.txnToWriteIds.add(_elem595); + _elem603 = new TxnToWriteId(); + _elem603.read(iprot); + struct.txnToWriteIds.add(_elem603); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AllocateTableWrite oprot.writeFieldBegin(TXN_TO_WRITE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.txnToWriteIds.size())); - for (TxnToWriteId _iter597 : struct.txnToWriteIds) + for (TxnToWriteId _iter605 : struct.txnToWriteIds) { - _iter597.write(oprot); + _iter605.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.txnToWriteIds.size()); - for (TxnToWriteId _iter598 : struct.txnToWriteIds) + for (TxnToWriteId _iter606 : struct.txnToWriteIds) { - _iter598.write(oprot); + _iter606.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI public void read(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteIdsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list599 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.txnToWriteIds = new ArrayList(_list599.size); - TxnToWriteId _elem600; - for (int _i601 = 0; _i601 < _list599.size; ++_i601) + org.apache.thrift.protocol.TList _list607 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.txnToWriteIds = new ArrayList(_list607.size); + TxnToWriteId _elem608; + for (int _i609 = 0; _i609 < _list607.size; ++_i609) { - _elem600 = new TxnToWriteId(); - _elem600.read(iprot); - struct.txnToWriteIds.add(_elem600); + _elem608 = new TxnToWriteId(); + _elem608.read(iprot); + struct.txnToWriteIds.add(_elem608); } } struct.setTxnToWriteIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java index 78d9255..dadb12c 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ClearFileMetadataRe case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list752 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list752.size); - long _elem753; - for (int _i754 = 0; _i754 < _list752.size; ++_i754) + org.apache.thrift.protocol.TList _list760 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list760.size); + long _elem761; + for (int _i762 = 0; _i762 < _list760.size; ++_i762) { - _elem753 = iprot.readI64(); - struct.fileIds.add(_elem753); + _elem761 = iprot.readI64(); + struct.fileIds.add(_elem761); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ClearFileMetadataR oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter755 : struct.fileIds) + for (long _iter763 : struct.fileIds) { - oprot.writeI64(_iter755); + oprot.writeI64(_iter763); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter756 : struct.fileIds) + for (long _iter764 : struct.fileIds) { - oprot.writeI64(_iter756); + oprot.writeI64(_iter764); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRe public void read(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list757 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list757.size); - long _elem758; - for (int _i759 = 0; _i759 < _list757.size; ++_i759) + org.apache.thrift.protocol.TList _list765 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list765.size); + long _elem766; + for (int _i767 = 0; _i767 < _list765.size; ++_i767) { - _elem758 = iprot.readI64(); - struct.fileIds.add(_elem758); + _elem766 = iprot.readI64(); + struct.fileIds.add(_elem766); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java index c27792f..3acdd9d 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java @@ -354,13 +354,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ClientCapabilities case 1: // VALUES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list768 = iprot.readListBegin(); - struct.values = new ArrayList(_list768.size); - ClientCapability _elem769; - for (int _i770 = 0; _i770 < _list768.size; ++_i770) + org.apache.thrift.protocol.TList _list776 = iprot.readListBegin(); + struct.values = new ArrayList(_list776.size); + ClientCapability _elem777; + for (int _i778 = 0; _i778 < _list776.size; ++_i778) { - _elem769 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem769); + _elem777 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem777); } iprot.readListEnd(); } @@ -386,9 +386,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ClientCapabilities oprot.writeFieldBegin(VALUES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, struct.values.size())); - for (ClientCapability _iter771 : struct.values) + for (ClientCapability _iter779 : struct.values) { - oprot.writeI32(_iter771.getValue()); + oprot.writeI32(_iter779.getValue()); } oprot.writeListEnd(); } @@ -413,9 +413,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClientCapabilities TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.values.size()); - for (ClientCapability _iter772 : struct.values) + for (ClientCapability _iter780 : struct.values) { - oprot.writeI32(_iter772.getValue()); + oprot.writeI32(_iter780.getValue()); } } } @@ -424,13 +424,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClientCapabilities public void read(org.apache.thrift.protocol.TProtocol prot, ClientCapabilities struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list773 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); - struct.values = new ArrayList(_list773.size); - ClientCapability _elem774; - for (int _i775 = 0; _i775 < _list773.size; ++_i775) + org.apache.thrift.protocol.TList _list781 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); + struct.values = new ArrayList(_list781.size); + ClientCapability _elem782; + for (int _i783 = 0; _i783 < _list781.size; ++_i783) { - _elem774 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem774); + _elem782 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem782); } } struct.setValuesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java index 18581f3..a56150e 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java @@ -814,15 +814,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CompactionRequest s case 6: // PROPERTIES if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map634 = iprot.readMapBegin(); - struct.properties = new HashMap(2*_map634.size); - String _key635; - String _val636; - for (int _i637 = 0; _i637 < _map634.size; ++_i637) + org.apache.thrift.protocol.TMap _map642 = iprot.readMapBegin(); + struct.properties = new HashMap(2*_map642.size); + String _key643; + String _val644; + for (int _i645 = 0; _i645 < _map642.size; ++_i645) { - _key635 = iprot.readString(); - _val636 = iprot.readString(); - struct.properties.put(_key635, _val636); + _key643 = iprot.readString(); + _val644 = iprot.readString(); + struct.properties.put(_key643, _val644); } iprot.readMapEnd(); } @@ -878,10 +878,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CompactionRequest oprot.writeFieldBegin(PROPERTIES_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.properties.size())); - for (Map.Entry _iter638 : struct.properties.entrySet()) + for (Map.Entry _iter646 : struct.properties.entrySet()) { - oprot.writeString(_iter638.getKey()); - oprot.writeString(_iter638.getValue()); + oprot.writeString(_iter646.getKey()); + oprot.writeString(_iter646.getValue()); } oprot.writeMapEnd(); } @@ -928,10 +928,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CompactionRequest s if (struct.isSetProperties()) { { oprot.writeI32(struct.properties.size()); - for (Map.Entry _iter639 : struct.properties.entrySet()) + for (Map.Entry _iter647 : struct.properties.entrySet()) { - oprot.writeString(_iter639.getKey()); - oprot.writeString(_iter639.getValue()); + oprot.writeString(_iter647.getKey()); + oprot.writeString(_iter647.getValue()); } } } @@ -957,15 +957,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CompactionRequest st } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map640 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.properties = new HashMap(2*_map640.size); - String _key641; - String _val642; - for (int _i643 = 0; _i643 < _map640.size; ++_i643) + org.apache.thrift.protocol.TMap _map648 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.properties = new HashMap(2*_map648.size); + String _key649; + String _val650; + for (int _i651 = 0; _i651 < _map648.size; ++_i651) { - _key641 = iprot.readString(); - _val642 = iprot.readString(); - struct.properties.put(_key641, _val642); + _key649 = iprot.readString(); + _val650 = iprot.readString(); + struct.properties.put(_key649, _val650); } } struct.setPropertiesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java index ed89b2e..62fe7a4 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java @@ -619,13 +619,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreationMetadata st case 3: // TABLES_USED if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set660 = iprot.readSetBegin(); - struct.tablesUsed = new HashSet(2*_set660.size); - String _elem661; - for (int _i662 = 0; _i662 < _set660.size; ++_i662) + org.apache.thrift.protocol.TSet _set668 = iprot.readSetBegin(); + struct.tablesUsed = new HashSet(2*_set668.size); + String _elem669; + for (int _i670 = 0; _i670 < _set668.size; ++_i670) { - _elem661 = iprot.readString(); - struct.tablesUsed.add(_elem661); + _elem669 = iprot.readString(); + struct.tablesUsed.add(_elem669); } iprot.readSetEnd(); } @@ -669,9 +669,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CreationMetadata s oprot.writeFieldBegin(TABLES_USED_FIELD_DESC); { oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, struct.tablesUsed.size())); - for (String _iter663 : struct.tablesUsed) + for (String _iter671 : struct.tablesUsed) { - oprot.writeString(_iter663); + oprot.writeString(_iter671); } oprot.writeSetEnd(); } @@ -705,9 +705,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CreationMetadata st oprot.writeString(struct.tblName); { oprot.writeI32(struct.tablesUsed.size()); - for (String _iter664 : struct.tablesUsed) + for (String _iter672 : struct.tablesUsed) { - oprot.writeString(_iter664); + oprot.writeString(_iter672); } } BitSet optionals = new BitSet(); @@ -728,13 +728,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CreationMetadata str struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TSet _set665 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tablesUsed = new HashSet(2*_set665.size); - String _elem666; - for (int _i667 = 0; _i667 < _set665.size; ++_i667) + org.apache.thrift.protocol.TSet _set673 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tablesUsed = new HashSet(2*_set673.size); + String _elem674; + for (int _i675 = 0; _i675 < _set673.size; ++_i675) { - _elem666 = iprot.readString(); - struct.tablesUsed.add(_elem666); + _elem674 = iprot.readString(); + struct.tablesUsed.add(_elem674); } } struct.setTablesUsedIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java index 01bc32d..20d1e42 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java @@ -350,14 +350,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FindSchemasByColsRe case 1: // SCHEMA_VERSIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list872 = iprot.readListBegin(); - struct.schemaVersions = new ArrayList(_list872.size); - SchemaVersionDescriptor _elem873; - for (int _i874 = 0; _i874 < _list872.size; ++_i874) + org.apache.thrift.protocol.TList _list880 = iprot.readListBegin(); + struct.schemaVersions = new ArrayList(_list880.size); + SchemaVersionDescriptor _elem881; + for (int _i882 = 0; _i882 < _list880.size; ++_i882) { - _elem873 = new SchemaVersionDescriptor(); - _elem873.read(iprot); - struct.schemaVersions.add(_elem873); + _elem881 = new SchemaVersionDescriptor(); + _elem881.read(iprot); + struct.schemaVersions.add(_elem881); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FindSchemasByColsR oprot.writeFieldBegin(SCHEMA_VERSIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.schemaVersions.size())); - for (SchemaVersionDescriptor _iter875 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter883 : struct.schemaVersions) { - _iter875.write(oprot); + _iter883.write(oprot); } oprot.writeListEnd(); } @@ -416,9 +416,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FindSchemasByColsRe if (struct.isSetSchemaVersions()) { { oprot.writeI32(struct.schemaVersions.size()); - for (SchemaVersionDescriptor _iter876 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter884 : struct.schemaVersions) { - _iter876.write(oprot); + _iter884.write(oprot); } } } @@ -430,14 +430,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FindSchemasByColsRes BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list877 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.schemaVersions = new ArrayList(_list877.size); - SchemaVersionDescriptor _elem878; - for (int _i879 = 0; _i879 < _list877.size; ++_i879) + org.apache.thrift.protocol.TList _list885 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.schemaVersions = new ArrayList(_list885.size); + SchemaVersionDescriptor _elem886; + for (int _i887 = 0; _i887 < _list885.size; ++_i887) { - _elem878 = new SchemaVersionDescriptor(); - _elem878.read(iprot); - struct.schemaVersions.add(_elem878); + _elem886 = new SchemaVersionDescriptor(); + _elem886.read(iprot); + struct.schemaVersions.add(_elem886); } } struct.setSchemaVersionsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java index 6433590..963b048 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java @@ -713,13 +713,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventRequest st case 5: // PARTITION_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list692 = iprot.readListBegin(); - struct.partitionVals = new ArrayList(_list692.size); - String _elem693; - for (int _i694 = 0; _i694 < _list692.size; ++_i694) + org.apache.thrift.protocol.TList _list700 = iprot.readListBegin(); + struct.partitionVals = new ArrayList(_list700.size); + String _elem701; + for (int _i702 = 0; _i702 < _list700.size; ++_i702) { - _elem693 = iprot.readString(); - struct.partitionVals.add(_elem693); + _elem701 = iprot.readString(); + struct.partitionVals.add(_elem701); } iprot.readListEnd(); } @@ -768,9 +768,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FireEventRequest s oprot.writeFieldBegin(PARTITION_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionVals.size())); - for (String _iter695 : struct.partitionVals) + for (String _iter703 : struct.partitionVals) { - oprot.writeString(_iter695); + oprot.writeString(_iter703); } oprot.writeListEnd(); } @@ -816,9 +816,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FireEventRequest st if (struct.isSetPartitionVals()) { { oprot.writeI32(struct.partitionVals.size()); - for (String _iter696 : struct.partitionVals) + for (String _iter704 : struct.partitionVals) { - oprot.writeString(_iter696); + oprot.writeString(_iter704); } } } @@ -843,13 +843,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest str } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list697 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionVals = new ArrayList(_list697.size); - String _elem698; - for (int _i699 = 0; _i699 < _list697.size; ++_i699) + org.apache.thrift.protocol.TList _list705 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionVals = new ArrayList(_list705.size); + String _elem706; + for (int _i707 = 0; _i707 < _list705.size; ++_i707) { - _elem698 = iprot.readString(); - struct.partitionVals.add(_elem698); + _elem706 = iprot.readString(); + struct.partitionVals.add(_elem706); } } struct.setPartitionValsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java index ce90d65..c10f48b 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetAllFunctionsResp case 1: // FUNCTIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list760 = iprot.readListBegin(); - struct.functions = new ArrayList(_list760.size); - Function _elem761; - for (int _i762 = 0; _i762 < _list760.size; ++_i762) + org.apache.thrift.protocol.TList _list768 = iprot.readListBegin(); + struct.functions = new ArrayList(_list768.size); + Function _elem769; + for (int _i770 = 0; _i770 < _list768.size; ++_i770) { - _elem761 = new Function(); - _elem761.read(iprot); - struct.functions.add(_elem761); + _elem769 = new Function(); + _elem769.read(iprot); + struct.functions.add(_elem769); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetAllFunctionsRes oprot.writeFieldBegin(FUNCTIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.functions.size())); - for (Function _iter763 : struct.functions) + for (Function _iter771 : struct.functions) { - _iter763.write(oprot); + _iter771.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetAllFunctionsResp if (struct.isSetFunctions()) { { oprot.writeI32(struct.functions.size()); - for (Function _iter764 : struct.functions) + for (Function _iter772 : struct.functions) { - _iter764.write(oprot); + _iter772.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetAllFunctionsRespo BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list765 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.functions = new ArrayList(_list765.size); - Function _elem766; - for (int _i767 = 0; _i767 < _list765.size; ++_i767) + org.apache.thrift.protocol.TList _list773 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.functions = new ArrayList(_list773.size); + Function _elem774; + for (int _i775 = 0; _i775 < _list773.size; ++_i775) { - _elem766 = new Function(); - _elem766.read(iprot); - struct.functions.add(_elem766); + _elem774 = new Function(); + _elem774.read(iprot); + struct.functions.add(_elem774); } } struct.setFunctionsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java index 025a04a..5fb5fd1 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java @@ -619,13 +619,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataByEx case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list710 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list710.size); - long _elem711; - for (int _i712 = 0; _i712 < _list710.size; ++_i712) + org.apache.thrift.protocol.TList _list718 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list718.size); + long _elem719; + for (int _i720 = 0; _i720 < _list718.size; ++_i720) { - _elem711 = iprot.readI64(); - struct.fileIds.add(_elem711); + _elem719 = iprot.readI64(); + struct.fileIds.add(_elem719); } iprot.readListEnd(); } @@ -675,9 +675,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataByE oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter713 : struct.fileIds) + for (long _iter721 : struct.fileIds) { - oprot.writeI64(_iter713); + oprot.writeI64(_iter721); } oprot.writeListEnd(); } @@ -719,9 +719,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter714 : struct.fileIds) + for (long _iter722 : struct.fileIds) { - oprot.writeI64(_iter714); + oprot.writeI64(_iter722); } } oprot.writeBinary(struct.expr); @@ -745,13 +745,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByExprRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list715 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list715.size); - long _elem716; - for (int _i717 = 0; _i717 < _list715.size; ++_i717) + org.apache.thrift.protocol.TList _list723 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list723.size); + long _elem724; + for (int _i725 = 0; _i725 < _list723.size; ++_i725) { - _elem716 = iprot.readI64(); - struct.fileIds.add(_elem716); + _elem724 = iprot.readI64(); + struct.fileIds.add(_elem724); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java index 2ba496f..7b48fd4 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java @@ -444,16 +444,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataByEx case 1: // METADATA if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map700 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map700.size); - long _key701; - MetadataPpdResult _val702; - for (int _i703 = 0; _i703 < _map700.size; ++_i703) + org.apache.thrift.protocol.TMap _map708 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map708.size); + long _key709; + MetadataPpdResult _val710; + for (int _i711 = 0; _i711 < _map708.size; ++_i711) { - _key701 = iprot.readI64(); - _val702 = new MetadataPpdResult(); - _val702.read(iprot); - struct.metadata.put(_key701, _val702); + _key709 = iprot.readI64(); + _val710 = new MetadataPpdResult(); + _val710.read(iprot); + struct.metadata.put(_key709, _val710); } iprot.readMapEnd(); } @@ -487,10 +487,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataByE oprot.writeFieldBegin(METADATA_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, struct.metadata.size())); - for (Map.Entry _iter704 : struct.metadata.entrySet()) + for (Map.Entry _iter712 : struct.metadata.entrySet()) { - oprot.writeI64(_iter704.getKey()); - _iter704.getValue().write(oprot); + oprot.writeI64(_iter712.getKey()); + _iter712.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -518,10 +518,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.metadata.size()); - for (Map.Entry _iter705 : struct.metadata.entrySet()) + for (Map.Entry _iter713 : struct.metadata.entrySet()) { - oprot.writeI64(_iter705.getKey()); - _iter705.getValue().write(oprot); + oprot.writeI64(_iter713.getKey()); + _iter713.getValue().write(oprot); } } oprot.writeBool(struct.isSupported); @@ -531,16 +531,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByEx public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataByExprResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TMap _map706 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.metadata = new HashMap(2*_map706.size); - long _key707; - MetadataPpdResult _val708; - for (int _i709 = 0; _i709 < _map706.size; ++_i709) + org.apache.thrift.protocol.TMap _map714 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.metadata = new HashMap(2*_map714.size); + long _key715; + MetadataPpdResult _val716; + for (int _i717 = 0; _i717 < _map714.size; ++_i717) { - _key707 = iprot.readI64(); - _val708 = new MetadataPpdResult(); - _val708.read(iprot); - struct.metadata.put(_key707, _val708); + _key715 = iprot.readI64(); + _val716 = new MetadataPpdResult(); + _val716.read(iprot); + struct.metadata.put(_key715, _val716); } } struct.setMetadataIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java index e12211f..43233cc 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataRequ case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list728 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list728.size); - long _elem729; - for (int _i730 = 0; _i730 < _list728.size; ++_i730) + org.apache.thrift.protocol.TList _list736 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list736.size); + long _elem737; + for (int _i738 = 0; _i738 < _list736.size; ++_i738) { - _elem729 = iprot.readI64(); - struct.fileIds.add(_elem729); + _elem737 = iprot.readI64(); + struct.fileIds.add(_elem737); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataReq oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter731 : struct.fileIds) + for (long _iter739 : struct.fileIds) { - oprot.writeI64(_iter731); + oprot.writeI64(_iter739); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequ TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter732 : struct.fileIds) + for (long _iter740 : struct.fileIds) { - oprot.writeI64(_iter732); + oprot.writeI64(_iter740); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequ public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list733 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list733.size); - long _elem734; - for (int _i735 = 0; _i735 < _list733.size; ++_i735) + org.apache.thrift.protocol.TList _list741 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list741.size); + long _elem742; + for (int _i743 = 0; _i743 < _list741.size; ++_i743) { - _elem734 = iprot.readI64(); - struct.fileIds.add(_elem734); + _elem742 = iprot.readI64(); + struct.fileIds.add(_elem742); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java index a375723..0a10447 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java @@ -433,15 +433,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetFileMetadataResu case 1: // METADATA if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map718 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map718.size); - long _key719; - ByteBuffer _val720; - for (int _i721 = 0; _i721 < _map718.size; ++_i721) + org.apache.thrift.protocol.TMap _map726 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map726.size); + long _key727; + ByteBuffer _val728; + for (int _i729 = 0; _i729 < _map726.size; ++_i729) { - _key719 = iprot.readI64(); - _val720 = iprot.readBinary(); - struct.metadata.put(_key719, _val720); + _key727 = iprot.readI64(); + _val728 = iprot.readBinary(); + struct.metadata.put(_key727, _val728); } iprot.readMapEnd(); } @@ -475,10 +475,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetFileMetadataRes oprot.writeFieldBegin(METADATA_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, struct.metadata.size())); - for (Map.Entry _iter722 : struct.metadata.entrySet()) + for (Map.Entry _iter730 : struct.metadata.entrySet()) { - oprot.writeI64(_iter722.getKey()); - oprot.writeBinary(_iter722.getValue()); + oprot.writeI64(_iter730.getKey()); + oprot.writeBinary(_iter730.getValue()); } oprot.writeMapEnd(); } @@ -506,10 +506,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResu TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.metadata.size()); - for (Map.Entry _iter723 : struct.metadata.entrySet()) + for (Map.Entry _iter731 : struct.metadata.entrySet()) { - oprot.writeI64(_iter723.getKey()); - oprot.writeBinary(_iter723.getValue()); + oprot.writeI64(_iter731.getKey()); + oprot.writeBinary(_iter731.getValue()); } } oprot.writeBool(struct.isSupported); @@ -519,15 +519,15 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResu public void read(org.apache.thrift.protocol.TProtocol prot, GetFileMetadataResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TMap _map724 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new HashMap(2*_map724.size); - long _key725; - ByteBuffer _val726; - for (int _i727 = 0; _i727 < _map724.size; ++_i727) + org.apache.thrift.protocol.TMap _map732 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.metadata = new HashMap(2*_map732.size); + long _key733; + ByteBuffer _val734; + for (int _i735 = 0; _i735 < _map732.size; ++_i735) { - _key725 = iprot.readI64(); - _val726 = iprot.readBinary(); - struct.metadata.put(_key725, _val726); + _key733 = iprot.readI64(); + _val734 = iprot.readBinary(); + struct.metadata.put(_key733, _val734); } } struct.setMetadataIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java index 8d8ce6d..290609d 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java @@ -525,13 +525,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTablesRequest st case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list776 = iprot.readListBegin(); - struct.tblNames = new ArrayList(_list776.size); - String _elem777; - for (int _i778 = 0; _i778 < _list776.size; ++_i778) + org.apache.thrift.protocol.TList _list784 = iprot.readListBegin(); + struct.tblNames = new ArrayList(_list784.size); + String _elem785; + for (int _i786 = 0; _i786 < _list784.size; ++_i786) { - _elem777 = iprot.readString(); - struct.tblNames.add(_elem777); + _elem785 = iprot.readString(); + struct.tblNames.add(_elem785); } iprot.readListEnd(); } @@ -572,9 +572,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTablesRequest s oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tblNames.size())); - for (String _iter779 : struct.tblNames) + for (String _iter787 : struct.tblNames) { - oprot.writeString(_iter779); + oprot.writeString(_iter787); } oprot.writeListEnd(); } @@ -617,9 +617,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest st if (struct.isSetTblNames()) { { oprot.writeI32(struct.tblNames.size()); - for (String _iter780 : struct.tblNames) + for (String _iter788 : struct.tblNames) { - oprot.writeString(_iter780); + oprot.writeString(_iter788); } } } @@ -636,13 +636,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest str BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list781 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tblNames = new ArrayList(_list781.size); - String _elem782; - for (int _i783 = 0; _i783 < _list781.size; ++_i783) + org.apache.thrift.protocol.TList _list789 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tblNames = new ArrayList(_list789.size); + String _elem790; + for (int _i791 = 0; _i791 < _list789.size; ++_i791) { - _elem782 = iprot.readString(); - struct.tblNames.add(_elem782); + _elem790 = iprot.readString(); + struct.tblNames.add(_elem790); } } struct.setTblNamesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java index 10b1d41..6056a77 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTablesResult str case 1: // TABLES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list784 = iprot.readListBegin(); - struct.tables = new ArrayList
(_list784.size); - Table _elem785; - for (int _i786 = 0; _i786 < _list784.size; ++_i786) + org.apache.thrift.protocol.TList _list792 = iprot.readListBegin(); + struct.tables = new ArrayList
(_list792.size); + Table _elem793; + for (int _i794 = 0; _i794 < _list792.size; ++_i794) { - _elem785 = new Table(); - _elem785.read(iprot); - struct.tables.add(_elem785); + _elem793 = new Table(); + _elem793.read(iprot); + struct.tables.add(_elem793); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTablesResult st oprot.writeFieldBegin(TABLES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tables.size())); - for (Table _iter787 : struct.tables) + for (Table _iter795 : struct.tables) { - _iter787.write(oprot); + _iter795.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesResult str TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.tables.size()); - for (Table _iter788 : struct.tables) + for (Table _iter796 : struct.tables) { - _iter788.write(oprot); + _iter796.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesResult str public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list789 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tables = new ArrayList
(_list789.size); - Table _elem790; - for (int _i791 = 0; _i791 < _list789.size; ++_i791) + org.apache.thrift.protocol.TList _list797 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tables = new ArrayList
(_list797.size); + Table _elem798; + for (int _i799 = 0; _i799 < _list797.size; ++_i799) { - _elem790 = new Table(); - _elem790.read(iprot); - struct.tables.add(_elem790); + _elem798 = new Table(); + _elem798.read(iprot); + struct.tables.add(_elem798); } } struct.setTablesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidTxnsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidTxnsRequest.java new file mode 100644 index 0000000..0dc510f --- /dev/null +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidTxnsRequest.java @@ -0,0 +1,387 @@ +/** + * Autogenerated by Thrift Compiler (0.9.3) + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package org.apache.hadoop.hive.metastore.api; + +import org.apache.thrift.scheme.IScheme; +import org.apache.thrift.scheme.SchemeFactory; +import org.apache.thrift.scheme.StandardScheme; + +import org.apache.thrift.scheme.TupleScheme; +import org.apache.thrift.protocol.TTupleProtocol; +import org.apache.thrift.protocol.TProtocolException; +import org.apache.thrift.EncodingUtils; +import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.EnumMap; +import java.util.Set; +import java.util.HashSet; +import java.util.EnumSet; +import java.util.Collections; +import java.util.BitSet; +import java.nio.ByteBuffer; +import java.util.Arrays; +import javax.annotation.Generated; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)") +@org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public class GetValidTxnsRequest 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("GetValidTxnsRequest"); + + private static final org.apache.thrift.protocol.TField CURRENT_TXN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("currentTxnId", org.apache.thrift.protocol.TType.I64, (short)1); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new GetValidTxnsRequestStandardSchemeFactory()); + schemes.put(TupleScheme.class, new GetValidTxnsRequestTupleSchemeFactory()); + } + + private long currentTxnId; // required + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + CURRENT_TXN_ID((short)1, "currentTxnId"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 1: // CURRENT_TXN_ID + return CURRENT_TXN_ID; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __CURRENTTXNID_ISSET_ID = 0; + private byte __isset_bitfield = 0; + 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.CURRENT_TXN_ID, new org.apache.thrift.meta_data.FieldMetaData("currentTxnId", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(GetValidTxnsRequest.class, metaDataMap); + } + + public GetValidTxnsRequest() { + } + + public GetValidTxnsRequest( + long currentTxnId) + { + this(); + this.currentTxnId = currentTxnId; + setCurrentTxnIdIsSet(true); + } + + /** + * Performs a deep copy on other. + */ + public GetValidTxnsRequest(GetValidTxnsRequest other) { + __isset_bitfield = other.__isset_bitfield; + this.currentTxnId = other.currentTxnId; + } + + public GetValidTxnsRequest deepCopy() { + return new GetValidTxnsRequest(this); + } + + @Override + public void clear() { + setCurrentTxnIdIsSet(false); + this.currentTxnId = 0; + } + + public long getCurrentTxnId() { + return this.currentTxnId; + } + + public void setCurrentTxnId(long currentTxnId) { + this.currentTxnId = currentTxnId; + setCurrentTxnIdIsSet(true); + } + + public void unsetCurrentTxnId() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __CURRENTTXNID_ISSET_ID); + } + + /** Returns true if field currentTxnId is set (has been assigned a value) and false otherwise */ + public boolean isSetCurrentTxnId() { + return EncodingUtils.testBit(__isset_bitfield, __CURRENTTXNID_ISSET_ID); + } + + public void setCurrentTxnIdIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CURRENTTXNID_ISSET_ID, value); + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case CURRENT_TXN_ID: + if (value == null) { + unsetCurrentTxnId(); + } else { + setCurrentTxnId((Long)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case CURRENT_TXN_ID: + return getCurrentTxnId(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case CURRENT_TXN_ID: + return isSetCurrentTxnId(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof GetValidTxnsRequest) + return this.equals((GetValidTxnsRequest)that); + return false; + } + + public boolean equals(GetValidTxnsRequest that) { + if (that == null) + return false; + + boolean this_present_currentTxnId = true; + boolean that_present_currentTxnId = true; + if (this_present_currentTxnId || that_present_currentTxnId) { + if (!(this_present_currentTxnId && that_present_currentTxnId)) + return false; + if (this.currentTxnId != that.currentTxnId) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_currentTxnId = true; + list.add(present_currentTxnId); + if (present_currentTxnId) + list.add(currentTxnId); + + return list.hashCode(); + } + + @Override + public int compareTo(GetValidTxnsRequest other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetCurrentTxnId()).compareTo(other.isSetCurrentTxnId()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetCurrentTxnId()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.currentTxnId, other.currentTxnId); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("GetValidTxnsRequest("); + boolean first = true; + + sb.append("currentTxnId:"); + sb.append(this.currentTxnId); + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + if (!isSetCurrentTxnId()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'currentTxnId' is unset! Struct:" + toString()); + } + + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class GetValidTxnsRequestStandardSchemeFactory implements SchemeFactory { + public GetValidTxnsRequestStandardScheme getScheme() { + return new GetValidTxnsRequestStandardScheme(); + } + } + + private static class GetValidTxnsRequestStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, GetValidTxnsRequest struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // CURRENT_TXN_ID + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.currentTxnId = iprot.readI64(); + struct.setCurrentTxnIdIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, GetValidTxnsRequest struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(CURRENT_TXN_ID_FIELD_DESC); + oprot.writeI64(struct.currentTxnId); + oprot.writeFieldEnd(); + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class GetValidTxnsRequestTupleSchemeFactory implements SchemeFactory { + public GetValidTxnsRequestTupleScheme getScheme() { + return new GetValidTxnsRequestTupleScheme(); + } + } + + private static class GetValidTxnsRequestTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, GetValidTxnsRequest struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + oprot.writeI64(struct.currentTxnId); + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, GetValidTxnsRequest struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + struct.currentTxnId = iprot.readI64(); + struct.setCurrentTxnIdIsSet(true); + } + } + +} + diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidTxnsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidTxnsResponse.java new file mode 100644 index 0000000..a8b29cf --- /dev/null +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidTxnsResponse.java @@ -0,0 +1,845 @@ +/** + * Autogenerated by Thrift Compiler (0.9.3) + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package org.apache.hadoop.hive.metastore.api; + +import org.apache.thrift.scheme.IScheme; +import org.apache.thrift.scheme.SchemeFactory; +import org.apache.thrift.scheme.StandardScheme; + +import org.apache.thrift.scheme.TupleScheme; +import org.apache.thrift.protocol.TTupleProtocol; +import org.apache.thrift.protocol.TProtocolException; +import org.apache.thrift.EncodingUtils; +import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.EnumMap; +import java.util.Set; +import java.util.HashSet; +import java.util.EnumSet; +import java.util.Collections; +import java.util.BitSet; +import java.nio.ByteBuffer; +import java.util.Arrays; +import javax.annotation.Generated; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)") +@org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public class GetValidTxnsResponse 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("GetValidTxnsResponse"); + + private static final org.apache.thrift.protocol.TField CURRENT_TXN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("currentTxnId", org.apache.thrift.protocol.TType.I64, (short)1); + private static final org.apache.thrift.protocol.TField TXN_HIGH_WATER_MARK_FIELD_DESC = new org.apache.thrift.protocol.TField("txnHighWaterMark", org.apache.thrift.protocol.TType.I64, (short)2); + private static final org.apache.thrift.protocol.TField INVALID_TXNS_FIELD_DESC = new org.apache.thrift.protocol.TField("invalidTxns", org.apache.thrift.protocol.TType.LIST, (short)3); + private static final org.apache.thrift.protocol.TField MIN_OPEN_TXN_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("minOpenTxnId", org.apache.thrift.protocol.TType.I64, (short)4); + private static final org.apache.thrift.protocol.TField ABORTED_BITS_FIELD_DESC = new org.apache.thrift.protocol.TField("abortedBits", org.apache.thrift.protocol.TType.STRING, (short)5); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new GetValidTxnsResponseStandardSchemeFactory()); + schemes.put(TupleScheme.class, new GetValidTxnsResponseTupleSchemeFactory()); + } + + private long currentTxnId; // required + private long txnHighWaterMark; // required + private List invalidTxns; // required + private long minOpenTxnId; // optional + private ByteBuffer abortedBits; // required + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + CURRENT_TXN_ID((short)1, "currentTxnId"), + TXN_HIGH_WATER_MARK((short)2, "txnHighWaterMark"), + INVALID_TXNS((short)3, "invalidTxns"), + MIN_OPEN_TXN_ID((short)4, "minOpenTxnId"), + ABORTED_BITS((short)5, "abortedBits"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 1: // CURRENT_TXN_ID + return CURRENT_TXN_ID; + case 2: // TXN_HIGH_WATER_MARK + return TXN_HIGH_WATER_MARK; + case 3: // INVALID_TXNS + return INVALID_TXNS; + case 4: // MIN_OPEN_TXN_ID + return MIN_OPEN_TXN_ID; + case 5: // ABORTED_BITS + return ABORTED_BITS; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __CURRENTTXNID_ISSET_ID = 0; + private static final int __TXNHIGHWATERMARK_ISSET_ID = 1; + private static final int __MINOPENTXNID_ISSET_ID = 2; + private byte __isset_bitfield = 0; + private static final _Fields optionals[] = {_Fields.MIN_OPEN_TXN_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); + tmpMap.put(_Fields.CURRENT_TXN_ID, new org.apache.thrift.meta_data.FieldMetaData("currentTxnId", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.TXN_HIGH_WATER_MARK, new org.apache.thrift.meta_data.FieldMetaData("txnHighWaterMark", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.INVALID_TXNS, new org.apache.thrift.meta_data.FieldMetaData("invalidTxns", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)))); + tmpMap.put(_Fields.MIN_OPEN_TXN_ID, new org.apache.thrift.meta_data.FieldMetaData("minOpenTxnId", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.ABORTED_BITS, new org.apache.thrift.meta_data.FieldMetaData("abortedBits", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING , true))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(GetValidTxnsResponse.class, metaDataMap); + } + + public GetValidTxnsResponse() { + } + + public GetValidTxnsResponse( + long currentTxnId, + long txnHighWaterMark, + List invalidTxns, + ByteBuffer abortedBits) + { + this(); + this.currentTxnId = currentTxnId; + setCurrentTxnIdIsSet(true); + this.txnHighWaterMark = txnHighWaterMark; + setTxnHighWaterMarkIsSet(true); + this.invalidTxns = invalidTxns; + this.abortedBits = org.apache.thrift.TBaseHelper.copyBinary(abortedBits); + } + + /** + * Performs a deep copy on other. + */ + public GetValidTxnsResponse(GetValidTxnsResponse other) { + __isset_bitfield = other.__isset_bitfield; + this.currentTxnId = other.currentTxnId; + this.txnHighWaterMark = other.txnHighWaterMark; + if (other.isSetInvalidTxns()) { + List __this__invalidTxns = new ArrayList(other.invalidTxns); + this.invalidTxns = __this__invalidTxns; + } + this.minOpenTxnId = other.minOpenTxnId; + if (other.isSetAbortedBits()) { + this.abortedBits = org.apache.thrift.TBaseHelper.copyBinary(other.abortedBits); + } + } + + public GetValidTxnsResponse deepCopy() { + return new GetValidTxnsResponse(this); + } + + @Override + public void clear() { + setCurrentTxnIdIsSet(false); + this.currentTxnId = 0; + setTxnHighWaterMarkIsSet(false); + this.txnHighWaterMark = 0; + this.invalidTxns = null; + setMinOpenTxnIdIsSet(false); + this.minOpenTxnId = 0; + this.abortedBits = null; + } + + public long getCurrentTxnId() { + return this.currentTxnId; + } + + public void setCurrentTxnId(long currentTxnId) { + this.currentTxnId = currentTxnId; + setCurrentTxnIdIsSet(true); + } + + public void unsetCurrentTxnId() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __CURRENTTXNID_ISSET_ID); + } + + /** Returns true if field currentTxnId is set (has been assigned a value) and false otherwise */ + public boolean isSetCurrentTxnId() { + return EncodingUtils.testBit(__isset_bitfield, __CURRENTTXNID_ISSET_ID); + } + + public void setCurrentTxnIdIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __CURRENTTXNID_ISSET_ID, value); + } + + public long getTxnHighWaterMark() { + return this.txnHighWaterMark; + } + + public void setTxnHighWaterMark(long txnHighWaterMark) { + this.txnHighWaterMark = txnHighWaterMark; + setTxnHighWaterMarkIsSet(true); + } + + public void unsetTxnHighWaterMark() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TXNHIGHWATERMARK_ISSET_ID); + } + + /** Returns true if field txnHighWaterMark is set (has been assigned a value) and false otherwise */ + public boolean isSetTxnHighWaterMark() { + return EncodingUtils.testBit(__isset_bitfield, __TXNHIGHWATERMARK_ISSET_ID); + } + + public void setTxnHighWaterMarkIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TXNHIGHWATERMARK_ISSET_ID, value); + } + + public int getInvalidTxnsSize() { + return (this.invalidTxns == null) ? 0 : this.invalidTxns.size(); + } + + public java.util.Iterator getInvalidTxnsIterator() { + return (this.invalidTxns == null) ? null : this.invalidTxns.iterator(); + } + + public void addToInvalidTxns(long elem) { + if (this.invalidTxns == null) { + this.invalidTxns = new ArrayList(); + } + this.invalidTxns.add(elem); + } + + public List getInvalidTxns() { + return this.invalidTxns; + } + + public void setInvalidTxns(List invalidTxns) { + this.invalidTxns = invalidTxns; + } + + public void unsetInvalidTxns() { + this.invalidTxns = null; + } + + /** Returns true if field invalidTxns is set (has been assigned a value) and false otherwise */ + public boolean isSetInvalidTxns() { + return this.invalidTxns != null; + } + + public void setInvalidTxnsIsSet(boolean value) { + if (!value) { + this.invalidTxns = null; + } + } + + public long getMinOpenTxnId() { + return this.minOpenTxnId; + } + + public void setMinOpenTxnId(long minOpenTxnId) { + this.minOpenTxnId = minOpenTxnId; + setMinOpenTxnIdIsSet(true); + } + + public void unsetMinOpenTxnId() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __MINOPENTXNID_ISSET_ID); + } + + /** Returns true if field minOpenTxnId is set (has been assigned a value) and false otherwise */ + public boolean isSetMinOpenTxnId() { + return EncodingUtils.testBit(__isset_bitfield, __MINOPENTXNID_ISSET_ID); + } + + public void setMinOpenTxnIdIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MINOPENTXNID_ISSET_ID, value); + } + + public byte[] getAbortedBits() { + setAbortedBits(org.apache.thrift.TBaseHelper.rightSize(abortedBits)); + return abortedBits == null ? null : abortedBits.array(); + } + + public ByteBuffer bufferForAbortedBits() { + return org.apache.thrift.TBaseHelper.copyBinary(abortedBits); + } + + public void setAbortedBits(byte[] abortedBits) { + this.abortedBits = abortedBits == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(abortedBits, abortedBits.length)); + } + + public void setAbortedBits(ByteBuffer abortedBits) { + this.abortedBits = org.apache.thrift.TBaseHelper.copyBinary(abortedBits); + } + + public void unsetAbortedBits() { + this.abortedBits = null; + } + + /** Returns true if field abortedBits is set (has been assigned a value) and false otherwise */ + public boolean isSetAbortedBits() { + return this.abortedBits != null; + } + + public void setAbortedBitsIsSet(boolean value) { + if (!value) { + this.abortedBits = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case CURRENT_TXN_ID: + if (value == null) { + unsetCurrentTxnId(); + } else { + setCurrentTxnId((Long)value); + } + break; + + case TXN_HIGH_WATER_MARK: + if (value == null) { + unsetTxnHighWaterMark(); + } else { + setTxnHighWaterMark((Long)value); + } + break; + + case INVALID_TXNS: + if (value == null) { + unsetInvalidTxns(); + } else { + setInvalidTxns((List)value); + } + break; + + case MIN_OPEN_TXN_ID: + if (value == null) { + unsetMinOpenTxnId(); + } else { + setMinOpenTxnId((Long)value); + } + break; + + case ABORTED_BITS: + if (value == null) { + unsetAbortedBits(); + } else { + setAbortedBits((ByteBuffer)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case CURRENT_TXN_ID: + return getCurrentTxnId(); + + case TXN_HIGH_WATER_MARK: + return getTxnHighWaterMark(); + + case INVALID_TXNS: + return getInvalidTxns(); + + case MIN_OPEN_TXN_ID: + return getMinOpenTxnId(); + + case ABORTED_BITS: + return getAbortedBits(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case CURRENT_TXN_ID: + return isSetCurrentTxnId(); + case TXN_HIGH_WATER_MARK: + return isSetTxnHighWaterMark(); + case INVALID_TXNS: + return isSetInvalidTxns(); + case MIN_OPEN_TXN_ID: + return isSetMinOpenTxnId(); + case ABORTED_BITS: + return isSetAbortedBits(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof GetValidTxnsResponse) + return this.equals((GetValidTxnsResponse)that); + return false; + } + + public boolean equals(GetValidTxnsResponse that) { + if (that == null) + return false; + + boolean this_present_currentTxnId = true; + boolean that_present_currentTxnId = true; + if (this_present_currentTxnId || that_present_currentTxnId) { + if (!(this_present_currentTxnId && that_present_currentTxnId)) + return false; + if (this.currentTxnId != that.currentTxnId) + return false; + } + + boolean this_present_txnHighWaterMark = true; + boolean that_present_txnHighWaterMark = true; + if (this_present_txnHighWaterMark || that_present_txnHighWaterMark) { + if (!(this_present_txnHighWaterMark && that_present_txnHighWaterMark)) + return false; + if (this.txnHighWaterMark != that.txnHighWaterMark) + return false; + } + + boolean this_present_invalidTxns = true && this.isSetInvalidTxns(); + boolean that_present_invalidTxns = true && that.isSetInvalidTxns(); + if (this_present_invalidTxns || that_present_invalidTxns) { + if (!(this_present_invalidTxns && that_present_invalidTxns)) + return false; + if (!this.invalidTxns.equals(that.invalidTxns)) + return false; + } + + boolean this_present_minOpenTxnId = true && this.isSetMinOpenTxnId(); + boolean that_present_minOpenTxnId = true && that.isSetMinOpenTxnId(); + if (this_present_minOpenTxnId || that_present_minOpenTxnId) { + if (!(this_present_minOpenTxnId && that_present_minOpenTxnId)) + return false; + if (this.minOpenTxnId != that.minOpenTxnId) + return false; + } + + boolean this_present_abortedBits = true && this.isSetAbortedBits(); + boolean that_present_abortedBits = true && that.isSetAbortedBits(); + if (this_present_abortedBits || that_present_abortedBits) { + if (!(this_present_abortedBits && that_present_abortedBits)) + return false; + if (!this.abortedBits.equals(that.abortedBits)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_currentTxnId = true; + list.add(present_currentTxnId); + if (present_currentTxnId) + list.add(currentTxnId); + + boolean present_txnHighWaterMark = true; + list.add(present_txnHighWaterMark); + if (present_txnHighWaterMark) + list.add(txnHighWaterMark); + + boolean present_invalidTxns = true && (isSetInvalidTxns()); + list.add(present_invalidTxns); + if (present_invalidTxns) + list.add(invalidTxns); + + boolean present_minOpenTxnId = true && (isSetMinOpenTxnId()); + list.add(present_minOpenTxnId); + if (present_minOpenTxnId) + list.add(minOpenTxnId); + + boolean present_abortedBits = true && (isSetAbortedBits()); + list.add(present_abortedBits); + if (present_abortedBits) + list.add(abortedBits); + + return list.hashCode(); + } + + @Override + public int compareTo(GetValidTxnsResponse other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetCurrentTxnId()).compareTo(other.isSetCurrentTxnId()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetCurrentTxnId()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.currentTxnId, other.currentTxnId); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTxnHighWaterMark()).compareTo(other.isSetTxnHighWaterMark()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTxnHighWaterMark()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txnHighWaterMark, other.txnHighWaterMark); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetInvalidTxns()).compareTo(other.isSetInvalidTxns()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetInvalidTxns()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.invalidTxns, other.invalidTxns); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetMinOpenTxnId()).compareTo(other.isSetMinOpenTxnId()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetMinOpenTxnId()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.minOpenTxnId, other.minOpenTxnId); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetAbortedBits()).compareTo(other.isSetAbortedBits()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetAbortedBits()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.abortedBits, other.abortedBits); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("GetValidTxnsResponse("); + boolean first = true; + + sb.append("currentTxnId:"); + sb.append(this.currentTxnId); + first = false; + if (!first) sb.append(", "); + sb.append("txnHighWaterMark:"); + sb.append(this.txnHighWaterMark); + first = false; + if (!first) sb.append(", "); + sb.append("invalidTxns:"); + if (this.invalidTxns == null) { + sb.append("null"); + } else { + sb.append(this.invalidTxns); + } + first = false; + if (isSetMinOpenTxnId()) { + if (!first) sb.append(", "); + sb.append("minOpenTxnId:"); + sb.append(this.minOpenTxnId); + first = false; + } + if (!first) sb.append(", "); + sb.append("abortedBits:"); + if (this.abortedBits == null) { + sb.append("null"); + } else { + org.apache.thrift.TBaseHelper.toString(this.abortedBits, sb); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + if (!isSetCurrentTxnId()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'currentTxnId' is unset! Struct:" + toString()); + } + + if (!isSetTxnHighWaterMark()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'txnHighWaterMark' is unset! Struct:" + toString()); + } + + if (!isSetInvalidTxns()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'invalidTxns' is unset! Struct:" + toString()); + } + + if (!isSetAbortedBits()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'abortedBits' is unset! Struct:" + toString()); + } + + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class GetValidTxnsResponseStandardSchemeFactory implements SchemeFactory { + public GetValidTxnsResponseStandardScheme getScheme() { + return new GetValidTxnsResponseStandardScheme(); + } + } + + private static class GetValidTxnsResponseStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, GetValidTxnsResponse struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // CURRENT_TXN_ID + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.currentTxnId = iprot.readI64(); + struct.setCurrentTxnIdIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TXN_HIGH_WATER_MARK + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.txnHighWaterMark = iprot.readI64(); + struct.setTxnHighWaterMarkIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // INVALID_TXNS + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list562 = iprot.readListBegin(); + struct.invalidTxns = new ArrayList(_list562.size); + long _elem563; + for (int _i564 = 0; _i564 < _list562.size; ++_i564) + { + _elem563 = iprot.readI64(); + struct.invalidTxns.add(_elem563); + } + iprot.readListEnd(); + } + struct.setInvalidTxnsIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // MIN_OPEN_TXN_ID + if (schemeField.type == org.apache.thrift.protocol.TType.I64) { + struct.minOpenTxnId = iprot.readI64(); + struct.setMinOpenTxnIdIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 5: // ABORTED_BITS + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.abortedBits = iprot.readBinary(); + struct.setAbortedBitsIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, GetValidTxnsResponse struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(CURRENT_TXN_ID_FIELD_DESC); + oprot.writeI64(struct.currentTxnId); + oprot.writeFieldEnd(); + oprot.writeFieldBegin(TXN_HIGH_WATER_MARK_FIELD_DESC); + oprot.writeI64(struct.txnHighWaterMark); + oprot.writeFieldEnd(); + if (struct.invalidTxns != null) { + oprot.writeFieldBegin(INVALID_TXNS_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.invalidTxns.size())); + for (long _iter565 : struct.invalidTxns) + { + oprot.writeI64(_iter565); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if (struct.isSetMinOpenTxnId()) { + oprot.writeFieldBegin(MIN_OPEN_TXN_ID_FIELD_DESC); + oprot.writeI64(struct.minOpenTxnId); + oprot.writeFieldEnd(); + } + if (struct.abortedBits != null) { + oprot.writeFieldBegin(ABORTED_BITS_FIELD_DESC); + oprot.writeBinary(struct.abortedBits); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class GetValidTxnsResponseTupleSchemeFactory implements SchemeFactory { + public GetValidTxnsResponseTupleScheme getScheme() { + return new GetValidTxnsResponseTupleScheme(); + } + } + + private static class GetValidTxnsResponseTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, GetValidTxnsResponse struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + oprot.writeI64(struct.currentTxnId); + oprot.writeI64(struct.txnHighWaterMark); + { + oprot.writeI32(struct.invalidTxns.size()); + for (long _iter566 : struct.invalidTxns) + { + oprot.writeI64(_iter566); + } + } + oprot.writeBinary(struct.abortedBits); + BitSet optionals = new BitSet(); + if (struct.isSetMinOpenTxnId()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetMinOpenTxnId()) { + oprot.writeI64(struct.minOpenTxnId); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, GetValidTxnsResponse struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + struct.currentTxnId = iprot.readI64(); + struct.setCurrentTxnIdIsSet(true); + struct.txnHighWaterMark = iprot.readI64(); + struct.setTxnHighWaterMarkIsSet(true); + { + org.apache.thrift.protocol.TList _list567 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.invalidTxns = new ArrayList(_list567.size); + long _elem568; + for (int _i569 = 0; _i569 < _list567.size; ++_i569) + { + _elem568 = iprot.readI64(); + struct.invalidTxns.add(_elem568); + } + } + struct.setInvalidTxnsIsSet(true); + struct.abortedBits = iprot.readBinary(); + struct.setAbortedBitsIsSet(true); + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.minOpenTxnId = iprot.readI64(); + struct.setMinOpenTxnIdIsSet(true); + } + } + } + +} + diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsRequest.java index c22778d..6cad1e5 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsRequest.java @@ -436,13 +436,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetValidWriteIdsReq case 1: // FULL_TABLE_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list562 = iprot.readListBegin(); - struct.fullTableNames = new ArrayList(_list562.size); - String _elem563; - for (int _i564 = 0; _i564 < _list562.size; ++_i564) + org.apache.thrift.protocol.TList _list570 = iprot.readListBegin(); + struct.fullTableNames = new ArrayList(_list570.size); + String _elem571; + for (int _i572 = 0; _i572 < _list570.size; ++_i572) { - _elem563 = iprot.readString(); - struct.fullTableNames.add(_elem563); + _elem571 = iprot.readString(); + struct.fullTableNames.add(_elem571); } iprot.readListEnd(); } @@ -476,9 +476,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetValidWriteIdsRe oprot.writeFieldBegin(FULL_TABLE_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.fullTableNames.size())); - for (String _iter565 : struct.fullTableNames) + for (String _iter573 : struct.fullTableNames) { - oprot.writeString(_iter565); + oprot.writeString(_iter573); } oprot.writeListEnd(); } @@ -508,9 +508,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsReq TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fullTableNames.size()); - for (String _iter566 : struct.fullTableNames) + for (String _iter574 : struct.fullTableNames) { - oprot.writeString(_iter566); + oprot.writeString(_iter574); } } oprot.writeString(struct.validTxnList); @@ -520,13 +520,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsReq public void read(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list567 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.fullTableNames = new ArrayList(_list567.size); - String _elem568; - for (int _i569 = 0; _i569 < _list567.size; ++_i569) + org.apache.thrift.protocol.TList _list575 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.fullTableNames = new ArrayList(_list575.size); + String _elem576; + for (int _i577 = 0; _i577 < _list575.size; ++_i577) { - _elem568 = iprot.readString(); - struct.fullTableNames.add(_elem568); + _elem576 = iprot.readString(); + struct.fullTableNames.add(_elem576); } } struct.setFullTableNamesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsResponse.java index 90d0b9d..c67a970 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetValidWriteIdsRes case 1: // TBL_VALID_WRITE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list578 = iprot.readListBegin(); - struct.tblValidWriteIds = new ArrayList(_list578.size); - TableValidWriteIds _elem579; - for (int _i580 = 0; _i580 < _list578.size; ++_i580) + org.apache.thrift.protocol.TList _list586 = iprot.readListBegin(); + struct.tblValidWriteIds = new ArrayList(_list586.size); + TableValidWriteIds _elem587; + for (int _i588 = 0; _i588 < _list586.size; ++_i588) { - _elem579 = new TableValidWriteIds(); - _elem579.read(iprot); - struct.tblValidWriteIds.add(_elem579); + _elem587 = new TableValidWriteIds(); + _elem587.read(iprot); + struct.tblValidWriteIds.add(_elem587); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetValidWriteIdsRe oprot.writeFieldBegin(TBL_VALID_WRITE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tblValidWriteIds.size())); - for (TableValidWriteIds _iter581 : struct.tblValidWriteIds) + for (TableValidWriteIds _iter589 : struct.tblValidWriteIds) { - _iter581.write(oprot); + _iter589.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsRes TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.tblValidWriteIds.size()); - for (TableValidWriteIds _iter582 : struct.tblValidWriteIds) + for (TableValidWriteIds _iter590 : struct.tblValidWriteIds) { - _iter582.write(oprot); + _iter590.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsRes public void read(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list583 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tblValidWriteIds = new ArrayList(_list583.size); - TableValidWriteIds _elem584; - for (int _i585 = 0; _i585 < _list583.size; ++_i585) + org.apache.thrift.protocol.TList _list591 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tblValidWriteIds = new ArrayList(_list591.size); + TableValidWriteIds _elem592; + for (int _i593 = 0; _i593 < _list591.size; ++_i593) { - _elem584 = new TableValidWriteIds(); - _elem584.read(iprot); - struct.tblValidWriteIds.add(_elem584); + _elem592 = new TableValidWriteIds(); + _elem592.read(iprot); + struct.tblValidWriteIds.add(_elem592); } } struct.setTblValidWriteIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java index e069524..890218e 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java @@ -453,13 +453,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HeartbeatTxnRangeRe case 1: // ABORTED if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set618 = iprot.readSetBegin(); - struct.aborted = new HashSet(2*_set618.size); - long _elem619; - for (int _i620 = 0; _i620 < _set618.size; ++_i620) + org.apache.thrift.protocol.TSet _set626 = iprot.readSetBegin(); + struct.aborted = new HashSet(2*_set626.size); + long _elem627; + for (int _i628 = 0; _i628 < _set626.size; ++_i628) { - _elem619 = iprot.readI64(); - struct.aborted.add(_elem619); + _elem627 = iprot.readI64(); + struct.aborted.add(_elem627); } iprot.readSetEnd(); } @@ -471,13 +471,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HeartbeatTxnRangeRe case 2: // NOSUCH if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set621 = iprot.readSetBegin(); - struct.nosuch = new HashSet(2*_set621.size); - long _elem622; - for (int _i623 = 0; _i623 < _set621.size; ++_i623) + org.apache.thrift.protocol.TSet _set629 = iprot.readSetBegin(); + struct.nosuch = new HashSet(2*_set629.size); + long _elem630; + for (int _i631 = 0; _i631 < _set629.size; ++_i631) { - _elem622 = iprot.readI64(); - struct.nosuch.add(_elem622); + _elem630 = iprot.readI64(); + struct.nosuch.add(_elem630); } iprot.readSetEnd(); } @@ -503,9 +503,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, HeartbeatTxnRangeR oprot.writeFieldBegin(ABORTED_FIELD_DESC); { oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.aborted.size())); - for (long _iter624 : struct.aborted) + for (long _iter632 : struct.aborted) { - oprot.writeI64(_iter624); + oprot.writeI64(_iter632); } oprot.writeSetEnd(); } @@ -515,9 +515,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, HeartbeatTxnRangeR oprot.writeFieldBegin(NOSUCH_FIELD_DESC); { oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.nosuch.size())); - for (long _iter625 : struct.nosuch) + for (long _iter633 : struct.nosuch) { - oprot.writeI64(_iter625); + oprot.writeI64(_iter633); } oprot.writeSetEnd(); } @@ -542,16 +542,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.aborted.size()); - for (long _iter626 : struct.aborted) + for (long _iter634 : struct.aborted) { - oprot.writeI64(_iter626); + oprot.writeI64(_iter634); } } { oprot.writeI32(struct.nosuch.size()); - for (long _iter627 : struct.nosuch) + for (long _iter635 : struct.nosuch) { - oprot.writeI64(_iter627); + oprot.writeI64(_iter635); } } } @@ -560,24 +560,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeRe public void read(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TSet _set628 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.aborted = new HashSet(2*_set628.size); - long _elem629; - for (int _i630 = 0; _i630 < _set628.size; ++_i630) + org.apache.thrift.protocol.TSet _set636 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.aborted = new HashSet(2*_set636.size); + long _elem637; + for (int _i638 = 0; _i638 < _set636.size; ++_i638) { - _elem629 = iprot.readI64(); - struct.aborted.add(_elem629); + _elem637 = iprot.readI64(); + struct.aborted.add(_elem637); } } struct.setAbortedIsSet(true); { - org.apache.thrift.protocol.TSet _set631 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.nosuch = new HashSet(2*_set631.size); - long _elem632; - for (int _i633 = 0; _i633 < _set631.size; ++_i633) + org.apache.thrift.protocol.TSet _set639 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.nosuch = new HashSet(2*_set639.size); + long _elem640; + for (int _i641 = 0; _i641 < _set639.size; ++_i641) { - _elem632 = iprot.readI64(); - struct.nosuch.add(_elem632); + _elem640 = iprot.readI64(); + struct.nosuch.add(_elem640); } } struct.setNosuchIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java index 2b823a0..685a017 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java @@ -538,13 +538,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 2: // FILES_ADDED if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list676 = iprot.readListBegin(); - struct.filesAdded = new ArrayList(_list676.size); - String _elem677; - for (int _i678 = 0; _i678 < _list676.size; ++_i678) + org.apache.thrift.protocol.TList _list684 = iprot.readListBegin(); + struct.filesAdded = new ArrayList(_list684.size); + String _elem685; + for (int _i686 = 0; _i686 < _list684.size; ++_i686) { - _elem677 = iprot.readString(); - struct.filesAdded.add(_elem677); + _elem685 = iprot.readString(); + struct.filesAdded.add(_elem685); } iprot.readListEnd(); } @@ -556,13 +556,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 3: // FILES_ADDED_CHECKSUM if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list679 = iprot.readListBegin(); - struct.filesAddedChecksum = new ArrayList(_list679.size); - String _elem680; - for (int _i681 = 0; _i681 < _list679.size; ++_i681) + org.apache.thrift.protocol.TList _list687 = iprot.readListBegin(); + struct.filesAddedChecksum = new ArrayList(_list687.size); + String _elem688; + for (int _i689 = 0; _i689 < _list687.size; ++_i689) { - _elem680 = iprot.readString(); - struct.filesAddedChecksum.add(_elem680); + _elem688 = iprot.readString(); + struct.filesAddedChecksum.add(_elem688); } iprot.readListEnd(); } @@ -593,9 +593,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, InsertEventRequest oprot.writeFieldBegin(FILES_ADDED_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.filesAdded.size())); - for (String _iter682 : struct.filesAdded) + for (String _iter690 : struct.filesAdded) { - oprot.writeString(_iter682); + oprot.writeString(_iter690); } oprot.writeListEnd(); } @@ -606,9 +606,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, InsertEventRequest oprot.writeFieldBegin(FILES_ADDED_CHECKSUM_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.filesAddedChecksum.size())); - for (String _iter683 : struct.filesAddedChecksum) + for (String _iter691 : struct.filesAddedChecksum) { - oprot.writeString(_iter683); + oprot.writeString(_iter691); } oprot.writeListEnd(); } @@ -634,9 +634,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.filesAdded.size()); - for (String _iter684 : struct.filesAdded) + for (String _iter692 : struct.filesAdded) { - oprot.writeString(_iter684); + oprot.writeString(_iter692); } } BitSet optionals = new BitSet(); @@ -653,9 +653,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD if (struct.isSetFilesAddedChecksum()) { { oprot.writeI32(struct.filesAddedChecksum.size()); - for (String _iter685 : struct.filesAddedChecksum) + for (String _iter693 : struct.filesAddedChecksum) { - oprot.writeString(_iter685); + oprot.writeString(_iter693); } } } @@ -665,13 +665,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD public void read(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestData struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list686 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAdded = new ArrayList(_list686.size); - String _elem687; - for (int _i688 = 0; _i688 < _list686.size; ++_i688) + org.apache.thrift.protocol.TList _list694 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAdded = new ArrayList(_list694.size); + String _elem695; + for (int _i696 = 0; _i696 < _list694.size; ++_i696) { - _elem687 = iprot.readString(); - struct.filesAdded.add(_elem687); + _elem695 = iprot.readString(); + struct.filesAdded.add(_elem695); } } struct.setFilesAddedIsSet(true); @@ -682,13 +682,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestDa } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list689 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAddedChecksum = new ArrayList(_list689.size); - String _elem690; - for (int _i691 = 0; _i691 < _list689.size; ++_i691) + org.apache.thrift.protocol.TList _list697 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAddedChecksum = new ArrayList(_list697.size); + String _elem698; + for (int _i699 = 0; _i699 < _list697.size; ++_i699) { - _elem690 = iprot.readString(); - struct.filesAddedChecksum.add(_elem690); + _elem698 = iprot.readString(); + struct.filesAddedChecksum.add(_elem698); } } struct.setFilesAddedChecksumIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java index 5a9a0e8..1a17689 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java @@ -689,14 +689,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, LockRequest struct) case 1: // COMPONENT if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list602 = iprot.readListBegin(); - struct.component = new ArrayList(_list602.size); - LockComponent _elem603; - for (int _i604 = 0; _i604 < _list602.size; ++_i604) + org.apache.thrift.protocol.TList _list610 = iprot.readListBegin(); + struct.component = new ArrayList(_list610.size); + LockComponent _elem611; + for (int _i612 = 0; _i612 < _list610.size; ++_i612) { - _elem603 = new LockComponent(); - _elem603.read(iprot); - struct.component.add(_elem603); + _elem611 = new LockComponent(); + _elem611.read(iprot); + struct.component.add(_elem611); } iprot.readListEnd(); } @@ -754,9 +754,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, LockRequest struct oprot.writeFieldBegin(COMPONENT_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.component.size())); - for (LockComponent _iter605 : struct.component) + for (LockComponent _iter613 : struct.component) { - _iter605.write(oprot); + _iter613.write(oprot); } oprot.writeListEnd(); } @@ -803,9 +803,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.component.size()); - for (LockComponent _iter606 : struct.component) + for (LockComponent _iter614 : struct.component) { - _iter606.write(oprot); + _iter614.write(oprot); } } oprot.writeString(struct.user); @@ -830,14 +830,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) public void read(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list607 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.component = new ArrayList(_list607.size); - LockComponent _elem608; - for (int _i609 = 0; _i609 < _list607.size; ++_i609) + org.apache.thrift.protocol.TList _list615 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.component = new ArrayList(_list615.size); + LockComponent _elem616; + for (int _i617 = 0; _i617 < _list615.size; ++_i617) { - _elem608 = new LockComponent(); - _elem608.read(iprot); - struct.component.add(_elem608); + _elem616 = new LockComponent(); + _elem616.read(iprot); + struct.component.add(_elem616); } } struct.setComponentIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Materialization.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Materialization.java index dc6dc0d..ad40625 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Materialization.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Materialization.java @@ -518,13 +518,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Materialization str case 1: // TABLES_USED if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set792 = iprot.readSetBegin(); - struct.tablesUsed = new HashSet(2*_set792.size); - String _elem793; - for (int _i794 = 0; _i794 < _set792.size; ++_i794) + org.apache.thrift.protocol.TSet _set800 = iprot.readSetBegin(); + struct.tablesUsed = new HashSet(2*_set800.size); + String _elem801; + for (int _i802 = 0; _i802 < _set800.size; ++_i802) { - _elem793 = iprot.readString(); - struct.tablesUsed.add(_elem793); + _elem801 = iprot.readString(); + struct.tablesUsed.add(_elem801); } iprot.readSetEnd(); } @@ -566,9 +566,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Materialization st oprot.writeFieldBegin(TABLES_USED_FIELD_DESC); { oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, struct.tablesUsed.size())); - for (String _iter795 : struct.tablesUsed) + for (String _iter803 : struct.tablesUsed) { - oprot.writeString(_iter795); + oprot.writeString(_iter803); } oprot.writeSetEnd(); } @@ -603,9 +603,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Materialization str TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.tablesUsed.size()); - for (String _iter796 : struct.tablesUsed) + for (String _iter804 : struct.tablesUsed) { - oprot.writeString(_iter796); + oprot.writeString(_iter804); } } oprot.writeI64(struct.invalidationTime); @@ -623,13 +623,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Materialization str public void read(org.apache.thrift.protocol.TProtocol prot, Materialization struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TSet _set797 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tablesUsed = new HashSet(2*_set797.size); - String _elem798; - for (int _i799 = 0; _i799 < _set797.size; ++_i799) + org.apache.thrift.protocol.TSet _set805 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tablesUsed = new HashSet(2*_set805.size); + String _elem806; + for (int _i807 = 0; _i807 < _set805.size; ++_i807) { - _elem798 = iprot.readString(); - struct.tablesUsed.add(_elem798); + _elem806 = iprot.readString(); + struct.tablesUsed.add(_elem806); } } struct.setTablesUsedIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java index 2037590..c705f18 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, NotificationEventRe case 1: // EVENTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list668 = iprot.readListBegin(); - struct.events = new ArrayList(_list668.size); - NotificationEvent _elem669; - for (int _i670 = 0; _i670 < _list668.size; ++_i670) + org.apache.thrift.protocol.TList _list676 = iprot.readListBegin(); + struct.events = new ArrayList(_list676.size); + NotificationEvent _elem677; + for (int _i678 = 0; _i678 < _list676.size; ++_i678) { - _elem669 = new NotificationEvent(); - _elem669.read(iprot); - struct.events.add(_elem669); + _elem677 = new NotificationEvent(); + _elem677.read(iprot); + struct.events.add(_elem677); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, NotificationEventR oprot.writeFieldBegin(EVENTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.events.size())); - for (NotificationEvent _iter671 : struct.events) + for (NotificationEvent _iter679 : struct.events) { - _iter671.write(oprot); + _iter679.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotificationEventRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.events.size()); - for (NotificationEvent _iter672 : struct.events) + for (NotificationEvent _iter680 : struct.events) { - _iter672.write(oprot); + _iter680.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotificationEventRe public void read(org.apache.thrift.protocol.TProtocol prot, NotificationEventResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list673 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.events = new ArrayList(_list673.size); - NotificationEvent _elem674; - for (int _i675 = 0; _i675 < _list673.size; ++_i675) + org.apache.thrift.protocol.TList _list681 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.events = new ArrayList(_list681.size); + NotificationEvent _elem682; + for (int _i683 = 0; _i683 < _list681.size; ++_i683) { - _elem674 = new NotificationEvent(); - _elem674.read(iprot); - struct.events.add(_elem674); + _elem682 = new NotificationEvent(); + _elem682.read(iprot); + struct.events.add(_elem682); } } struct.setEventsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java index 0b0da14..04a0532 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java @@ -547,13 +547,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PutFileMetadataRequ case 1: // FILE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list736 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list736.size); - long _elem737; - for (int _i738 = 0; _i738 < _list736.size; ++_i738) + org.apache.thrift.protocol.TList _list744 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list744.size); + long _elem745; + for (int _i746 = 0; _i746 < _list744.size; ++_i746) { - _elem737 = iprot.readI64(); - struct.fileIds.add(_elem737); + _elem745 = iprot.readI64(); + struct.fileIds.add(_elem745); } iprot.readListEnd(); } @@ -565,13 +565,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PutFileMetadataRequ case 2: // METADATA if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list739 = iprot.readListBegin(); - struct.metadata = new ArrayList(_list739.size); - ByteBuffer _elem740; - for (int _i741 = 0; _i741 < _list739.size; ++_i741) + org.apache.thrift.protocol.TList _list747 = iprot.readListBegin(); + struct.metadata = new ArrayList(_list747.size); + ByteBuffer _elem748; + for (int _i749 = 0; _i749 < _list747.size; ++_i749) { - _elem740 = iprot.readBinary(); - struct.metadata.add(_elem740); + _elem748 = iprot.readBinary(); + struct.metadata.add(_elem748); } iprot.readListEnd(); } @@ -605,9 +605,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PutFileMetadataReq oprot.writeFieldBegin(FILE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.fileIds.size())); - for (long _iter742 : struct.fileIds) + for (long _iter750 : struct.fileIds) { - oprot.writeI64(_iter742); + oprot.writeI64(_iter750); } oprot.writeListEnd(); } @@ -617,9 +617,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PutFileMetadataReq oprot.writeFieldBegin(METADATA_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.metadata.size())); - for (ByteBuffer _iter743 : struct.metadata) + for (ByteBuffer _iter751 : struct.metadata) { - oprot.writeBinary(_iter743); + oprot.writeBinary(_iter751); } oprot.writeListEnd(); } @@ -651,16 +651,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PutFileMetadataRequ TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter744 : struct.fileIds) + for (long _iter752 : struct.fileIds) { - oprot.writeI64(_iter744); + oprot.writeI64(_iter752); } } { oprot.writeI32(struct.metadata.size()); - for (ByteBuffer _iter745 : struct.metadata) + for (ByteBuffer _iter753 : struct.metadata) { - oprot.writeBinary(_iter745); + oprot.writeBinary(_iter753); } } BitSet optionals = new BitSet(); @@ -677,24 +677,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PutFileMetadataRequ public void read(org.apache.thrift.protocol.TProtocol prot, PutFileMetadataRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list746 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list746.size); - long _elem747; - for (int _i748 = 0; _i748 < _list746.size; ++_i748) + org.apache.thrift.protocol.TList _list754 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list754.size); + long _elem755; + for (int _i756 = 0; _i756 < _list754.size; ++_i756) { - _elem747 = iprot.readI64(); - struct.fileIds.add(_elem747); + _elem755 = iprot.readI64(); + struct.fileIds.add(_elem755); } } struct.setFileIdsIsSet(true); { - org.apache.thrift.protocol.TList _list749 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new ArrayList(_list749.size); - ByteBuffer _elem750; - for (int _i751 = 0; _i751 < _list749.size; ++_i751) + org.apache.thrift.protocol.TList _list757 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.metadata = new ArrayList(_list757.size); + ByteBuffer _elem758; + for (int _i759 = 0; _i759 < _list757.size; ++_i759) { - _elem750 = iprot.readBinary(); - struct.metadata.add(_elem750); + _elem758 = iprot.readBinary(); + struct.metadata.add(_elem758); } } struct.setMetadataIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java index fb0be40..6b278e3 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java @@ -1119,14 +1119,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SchemaVersion struc case 4: // COLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list864 = iprot.readListBegin(); - struct.cols = new ArrayList(_list864.size); - FieldSchema _elem865; - for (int _i866 = 0; _i866 < _list864.size; ++_i866) + org.apache.thrift.protocol.TList _list872 = iprot.readListBegin(); + struct.cols = new ArrayList(_list872.size); + FieldSchema _elem873; + for (int _i874 = 0; _i874 < _list872.size; ++_i874) { - _elem865 = new FieldSchema(); - _elem865.read(iprot); - struct.cols.add(_elem865); + _elem873 = new FieldSchema(); + _elem873.read(iprot); + struct.cols.add(_elem873); } iprot.readListEnd(); } @@ -1212,9 +1212,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, SchemaVersion stru oprot.writeFieldBegin(COLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.cols.size())); - for (FieldSchema _iter867 : struct.cols) + for (FieldSchema _iter875 : struct.cols) { - _iter867.write(oprot); + _iter875.write(oprot); } oprot.writeListEnd(); } @@ -1323,9 +1323,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, SchemaVersion struc if (struct.isSetCols()) { { oprot.writeI32(struct.cols.size()); - for (FieldSchema _iter868 : struct.cols) + for (FieldSchema _iter876 : struct.cols) { - _iter868.write(oprot); + _iter876.write(oprot); } } } @@ -1368,14 +1368,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SchemaVersion struct } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list869 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.cols = new ArrayList(_list869.size); - FieldSchema _elem870; - for (int _i871 = 0; _i871 < _list869.size; ++_i871) + org.apache.thrift.protocol.TList _list877 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.cols = new ArrayList(_list877.size); + FieldSchema _elem878; + for (int _i879 = 0; _i879 < _list877.size; ++_i879) { - _elem870 = new FieldSchema(); - _elem870.read(iprot); - struct.cols.add(_elem870); + _elem878 = new FieldSchema(); + _elem878.read(iprot); + struct.cols.add(_elem878); } } struct.setColsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java index a189d0a..d3a4394 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowCompactResponse case 1: // COMPACTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list644 = iprot.readListBegin(); - struct.compacts = new ArrayList(_list644.size); - ShowCompactResponseElement _elem645; - for (int _i646 = 0; _i646 < _list644.size; ++_i646) + org.apache.thrift.protocol.TList _list652 = iprot.readListBegin(); + struct.compacts = new ArrayList(_list652.size); + ShowCompactResponseElement _elem653; + for (int _i654 = 0; _i654 < _list652.size; ++_i654) { - _elem645 = new ShowCompactResponseElement(); - _elem645.read(iprot); - struct.compacts.add(_elem645); + _elem653 = new ShowCompactResponseElement(); + _elem653.read(iprot); + struct.compacts.add(_elem653); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ShowCompactRespons oprot.writeFieldBegin(COMPACTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.compacts.size())); - for (ShowCompactResponseElement _iter647 : struct.compacts) + for (ShowCompactResponseElement _iter655 : struct.compacts) { - _iter647.write(oprot); + _iter655.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.compacts.size()); - for (ShowCompactResponseElement _iter648 : struct.compacts) + for (ShowCompactResponseElement _iter656 : struct.compacts) { - _iter648.write(oprot); + _iter656.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse public void read(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list649 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.compacts = new ArrayList(_list649.size); - ShowCompactResponseElement _elem650; - for (int _i651 = 0; _i651 < _list649.size; ++_i651) + org.apache.thrift.protocol.TList _list657 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.compacts = new ArrayList(_list657.size); + ShowCompactResponseElement _elem658; + for (int _i659 = 0; _i659 < _list657.size; ++_i659) { - _elem650 = new ShowCompactResponseElement(); - _elem650.read(iprot); - struct.compacts.add(_elem650); + _elem658 = new ShowCompactResponseElement(); + _elem658.read(iprot); + struct.compacts.add(_elem658); } } struct.setCompactsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java index 3715509..b717bd9 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java @@ -350,14 +350,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowLocksResponse s case 1: // LOCKS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list610 = iprot.readListBegin(); - struct.locks = new ArrayList(_list610.size); - ShowLocksResponseElement _elem611; - for (int _i612 = 0; _i612 < _list610.size; ++_i612) + org.apache.thrift.protocol.TList _list618 = iprot.readListBegin(); + struct.locks = new ArrayList(_list618.size); + ShowLocksResponseElement _elem619; + for (int _i620 = 0; _i620 < _list618.size; ++_i620) { - _elem611 = new ShowLocksResponseElement(); - _elem611.read(iprot); - struct.locks.add(_elem611); + _elem619 = new ShowLocksResponseElement(); + _elem619.read(iprot); + struct.locks.add(_elem619); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ShowLocksResponse oprot.writeFieldBegin(LOCKS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.locks.size())); - for (ShowLocksResponseElement _iter613 : struct.locks) + for (ShowLocksResponseElement _iter621 : struct.locks) { - _iter613.write(oprot); + _iter621.write(oprot); } oprot.writeListEnd(); } @@ -416,9 +416,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponse s if (struct.isSetLocks()) { { oprot.writeI32(struct.locks.size()); - for (ShowLocksResponseElement _iter614 : struct.locks) + for (ShowLocksResponseElement _iter622 : struct.locks) { - _iter614.write(oprot); + _iter622.write(oprot); } } } @@ -430,14 +430,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponse st BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list615 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.locks = new ArrayList(_list615.size); - ShowLocksResponseElement _elem616; - for (int _i617 = 0; _i617 < _list615.size; ++_i617) + org.apache.thrift.protocol.TList _list623 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.locks = new ArrayList(_list623.size); + ShowLocksResponseElement _elem624; + for (int _i625 = 0; _i625 < _list623.size; ++_i625) { - _elem616 = new ShowLocksResponseElement(); - _elem616.read(iprot); - struct.locks.add(_elem616); + _elem624 = new ShowLocksResponseElement(); + _elem624.read(iprot); + struct.locks.add(_elem624); } } struct.setLocksIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableValidWriteIds.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableValidWriteIds.java index aab0aa3..498ebbc 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableValidWriteIds.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableValidWriteIds.java @@ -708,13 +708,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TableValidWriteIds case 3: // INVALID_WRITE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list570 = iprot.readListBegin(); - struct.invalidWriteIds = new ArrayList(_list570.size); - long _elem571; - for (int _i572 = 0; _i572 < _list570.size; ++_i572) + org.apache.thrift.protocol.TList _list578 = iprot.readListBegin(); + struct.invalidWriteIds = new ArrayList(_list578.size); + long _elem579; + for (int _i580 = 0; _i580 < _list578.size; ++_i580) { - _elem571 = iprot.readI64(); - struct.invalidWriteIds.add(_elem571); + _elem579 = iprot.readI64(); + struct.invalidWriteIds.add(_elem579); } iprot.readListEnd(); } @@ -764,9 +764,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TableValidWriteIds oprot.writeFieldBegin(INVALID_WRITE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.invalidWriteIds.size())); - for (long _iter573 : struct.invalidWriteIds) + for (long _iter581 : struct.invalidWriteIds) { - oprot.writeI64(_iter573); + oprot.writeI64(_iter581); } oprot.writeListEnd(); } @@ -803,9 +803,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TableValidWriteIds oprot.writeI64(struct.writeIdHighWaterMark); { oprot.writeI32(struct.invalidWriteIds.size()); - for (long _iter574 : struct.invalidWriteIds) + for (long _iter582 : struct.invalidWriteIds) { - oprot.writeI64(_iter574); + oprot.writeI64(_iter582); } } oprot.writeBinary(struct.abortedBits); @@ -827,13 +827,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TableValidWriteIds s struct.writeIdHighWaterMark = iprot.readI64(); struct.setWriteIdHighWaterMarkIsSet(true); { - org.apache.thrift.protocol.TList _list575 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.invalidWriteIds = new ArrayList(_list575.size); - long _elem576; - for (int _i577 = 0; _i577 < _list575.size; ++_i577) + org.apache.thrift.protocol.TList _list583 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.invalidWriteIds = new ArrayList(_list583.size); + long _elem584; + for (int _i585 = 0; _i585 < _list583.size; ++_i585) { - _elem576 = iprot.readI64(); - struct.invalidWriteIds.add(_elem576); + _elem584 = iprot.readI64(); + struct.invalidWriteIds.add(_elem584); } } struct.setInvalidWriteIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index 8c5ceaf..b4c9251 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -320,6 +320,8 @@ public void commit_txn(CommitTxnRequest rqst) throws NoSuchTxnException, TxnAbortedException, org.apache.thrift.TException; + public GetValidTxnsResponse get_valid_txns(GetValidTxnsRequest rqst) throws NoSuchTxnException, MetaException, org.apache.thrift.TException; + public GetValidWriteIdsResponse get_valid_write_ids(GetValidWriteIdsRequest rqst) throws NoSuchTxnException, MetaException, org.apache.thrift.TException; public AllocateTableWriteIdsResponse allocate_table_write_ids(AllocateTableWriteIdsRequest rqst) throws NoSuchTxnException, TxnAbortedException, MetaException, org.apache.thrift.TException; @@ -712,6 +714,8 @@ public void commit_txn(CommitTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_valid_txns(GetValidTxnsRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_valid_write_ids(GetValidWriteIdsRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; public void allocate_table_write_ids(AllocateTableWriteIdsRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; @@ -4921,6 +4925,35 @@ public void recv_commit_txn() throws NoSuchTxnException, TxnAbortedException, or return; } + public GetValidTxnsResponse get_valid_txns(GetValidTxnsRequest rqst) throws NoSuchTxnException, MetaException, org.apache.thrift.TException + { + send_get_valid_txns(rqst); + return recv_get_valid_txns(); + } + + public void send_get_valid_txns(GetValidTxnsRequest rqst) throws org.apache.thrift.TException + { + get_valid_txns_args args = new get_valid_txns_args(); + args.setRqst(rqst); + sendBase("get_valid_txns", args); + } + + public GetValidTxnsResponse recv_get_valid_txns() throws NoSuchTxnException, MetaException, org.apache.thrift.TException + { + get_valid_txns_result result = new get_valid_txns_result(); + receiveBase(result, "get_valid_txns"); + if (result.isSetSuccess()) { + return result.success; + } + if (result.o1 != null) { + throw result.o1; + } + if (result.o2 != null) { + throw result.o2; + } + throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_valid_txns failed: unknown result"); + } + public GetValidWriteIdsResponse get_valid_write_ids(GetValidWriteIdsRequest rqst) throws NoSuchTxnException, MetaException, org.apache.thrift.TException { send_get_valid_write_ids(rqst); @@ -11387,6 +11420,38 @@ public void getResult() throws NoSuchTxnException, TxnAbortedException, org.apac } } + public void get_valid_txns(GetValidTxnsRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + checkReady(); + get_valid_txns_call method_call = new get_valid_txns_call(rqst, resultHandler, this, ___protocolFactory, ___transport); + this.___currentMethod = method_call; + ___manager.call(method_call); + } + + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_valid_txns_call extends org.apache.thrift.async.TAsyncMethodCall { + private GetValidTxnsRequest rqst; + public get_valid_txns_call(GetValidTxnsRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { + super(client, protocolFactory, transport, resultHandler, false); + this.rqst = rqst; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get_valid_txns", org.apache.thrift.protocol.TMessageType.CALL, 0)); + get_valid_txns_args args = new get_valid_txns_args(); + args.setRqst(rqst); + args.write(prot); + prot.writeMessageEnd(); + } + + public GetValidTxnsResponse getResult() throws NoSuchTxnException, MetaException, org.apache.thrift.TException { + if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { + throw new IllegalStateException("Method call not finished!"); + } + org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); + org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); + return (new Client(prot)).recv_get_valid_txns(); + } + } + public void get_valid_write_ids(GetValidWriteIdsRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_valid_write_ids_call method_call = new get_valid_write_ids_call(rqst, resultHandler, this, ___protocolFactory, ___transport); @@ -13290,6 +13355,7 @@ protected Processor(I iface, Map extends org.apache.thrift.ProcessFunction { + public get_valid_txns() { + super("get_valid_txns"); + } + + public get_valid_txns_args getEmptyArgsInstance() { + return new get_valid_txns_args(); + } + + protected boolean isOneway() { + return false; + } + + public get_valid_txns_result getResult(I iface, get_valid_txns_args args) throws org.apache.thrift.TException { + get_valid_txns_result result = new get_valid_txns_result(); + try { + result.success = iface.get_valid_txns(args.rqst); + } catch (NoSuchTxnException o1) { + result.o1 = o1; + } catch (MetaException o2) { + result.o2 = o2; + } + return result; + } + } + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_valid_write_ids extends org.apache.thrift.ProcessFunction { public get_valid_write_ids() { super("get_valid_write_ids"); @@ -18491,6 +18583,7 @@ protected AsyncProcessor(I iface, Map extends org.apache.thrift.AsyncProcessFunction { + public get_valid_txns() { + super("get_valid_txns"); + } + + public get_valid_txns_args getEmptyArgsInstance() { + return new get_valid_txns_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(GetValidTxnsResponse o) { + get_valid_txns_result result = new get_valid_txns_result(); + result.success = o; + try { + fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); + return; + } catch (Exception e) { + LOGGER.error("Exception writing to internal frame buffer", e); + } + fb.close(); + } + public void onError(Exception e) { + byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; + org.apache.thrift.TBase msg; + get_valid_txns_result result = new get_valid_txns_result(); + if (e instanceof NoSuchTxnException) { + result.o1 = (NoSuchTxnException) e; + result.setO1IsSet(true); + msg = result; + } + else if (e instanceof MetaException) { + result.o2 = (MetaException) e; + result.setO2IsSet(true); + msg = result; + } + else + { + msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; + msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); + } + try { + fcall.sendResponse(fb,msg,msgType,seqid); + return; + } catch (Exception ex) { + LOGGER.error("Exception writing to internal frame buffer", ex); + } + fb.close(); + } + }; + } + + protected boolean isOneway() { + return false; + } + + public void start(I iface, get_valid_txns_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.get_valid_txns(args.rqst,resultHandler); + } + } + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_valid_write_ids extends org.apache.thrift.AsyncProcessFunction { public get_valid_write_ids() { super("get_valid_write_ids"); @@ -35852,13 +36007,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_databases_resul case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list880 = iprot.readListBegin(); - struct.success = new ArrayList(_list880.size); - String _elem881; - for (int _i882 = 0; _i882 < _list880.size; ++_i882) + org.apache.thrift.protocol.TList _list888 = iprot.readListBegin(); + struct.success = new ArrayList(_list888.size); + String _elem889; + for (int _i890 = 0; _i890 < _list888.size; ++_i890) { - _elem881 = iprot.readString(); - struct.success.add(_elem881); + _elem889 = iprot.readString(); + struct.success.add(_elem889); } iprot.readListEnd(); } @@ -35893,9 +36048,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_databases_resu oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter883 : struct.success) + for (String _iter891 : struct.success) { - oprot.writeString(_iter883); + oprot.writeString(_iter891); } oprot.writeListEnd(); } @@ -35934,9 +36089,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter884 : struct.success) + for (String _iter892 : struct.success) { - oprot.writeString(_iter884); + oprot.writeString(_iter892); } } } @@ -35951,13 +36106,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_databases_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list885 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list885.size); - String _elem886; - for (int _i887 = 0; _i887 < _list885.size; ++_i887) + org.apache.thrift.protocol.TList _list893 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list893.size); + String _elem894; + for (int _i895 = 0; _i895 < _list893.size; ++_i895) { - _elem886 = iprot.readString(); - struct.success.add(_elem886); + _elem894 = iprot.readString(); + struct.success.add(_elem894); } } struct.setSuccessIsSet(true); @@ -36611,13 +36766,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_databases_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list888 = iprot.readListBegin(); - struct.success = new ArrayList(_list888.size); - String _elem889; - for (int _i890 = 0; _i890 < _list888.size; ++_i890) + org.apache.thrift.protocol.TList _list896 = iprot.readListBegin(); + struct.success = new ArrayList(_list896.size); + String _elem897; + for (int _i898 = 0; _i898 < _list896.size; ++_i898) { - _elem889 = iprot.readString(); - struct.success.add(_elem889); + _elem897 = iprot.readString(); + struct.success.add(_elem897); } iprot.readListEnd(); } @@ -36652,9 +36807,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_databases_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter891 : struct.success) + for (String _iter899 : struct.success) { - oprot.writeString(_iter891); + oprot.writeString(_iter899); } oprot.writeListEnd(); } @@ -36693,9 +36848,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter892 : struct.success) + for (String _iter900 : struct.success) { - oprot.writeString(_iter892); + oprot.writeString(_iter900); } } } @@ -36710,13 +36865,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_databases_re BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list893 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list893.size); - String _elem894; - for (int _i895 = 0; _i895 < _list893.size; ++_i895) + org.apache.thrift.protocol.TList _list901 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list901.size); + String _elem902; + for (int _i903 = 0; _i903 < _list901.size; ++_i903) { - _elem894 = iprot.readString(); - struct.success.add(_elem894); + _elem902 = iprot.readString(); + struct.success.add(_elem902); } } struct.setSuccessIsSet(true); @@ -41323,16 +41478,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_type_all_result case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map896 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map896.size); - String _key897; - Type _val898; - for (int _i899 = 0; _i899 < _map896.size; ++_i899) + org.apache.thrift.protocol.TMap _map904 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map904.size); + String _key905; + Type _val906; + for (int _i907 = 0; _i907 < _map904.size; ++_i907) { - _key897 = iprot.readString(); - _val898 = new Type(); - _val898.read(iprot); - struct.success.put(_key897, _val898); + _key905 = iprot.readString(); + _val906 = new Type(); + _val906.read(iprot); + struct.success.put(_key905, _val906); } iprot.readMapEnd(); } @@ -41367,10 +41522,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_type_all_resul oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry _iter900 : struct.success.entrySet()) + for (Map.Entry _iter908 : struct.success.entrySet()) { - oprot.writeString(_iter900.getKey()); - _iter900.getValue().write(oprot); + oprot.writeString(_iter908.getKey()); + _iter908.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -41409,10 +41564,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_type_all_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter901 : struct.success.entrySet()) + for (Map.Entry _iter909 : struct.success.entrySet()) { - oprot.writeString(_iter901.getKey()); - _iter901.getValue().write(oprot); + oprot.writeString(_iter909.getKey()); + _iter909.getValue().write(oprot); } } } @@ -41427,16 +41582,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_type_all_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map902 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new HashMap(2*_map902.size); - String _key903; - Type _val904; - for (int _i905 = 0; _i905 < _map902.size; ++_i905) + org.apache.thrift.protocol.TMap _map910 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new HashMap(2*_map910.size); + String _key911; + Type _val912; + for (int _i913 = 0; _i913 < _map910.size; ++_i913) { - _key903 = iprot.readString(); - _val904 = new Type(); - _val904.read(iprot); - struct.success.put(_key903, _val904); + _key911 = iprot.readString(); + _val912 = new Type(); + _val912.read(iprot); + struct.success.put(_key911, _val912); } } struct.setSuccessIsSet(true); @@ -42471,14 +42626,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_fields_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list906 = iprot.readListBegin(); - struct.success = new ArrayList(_list906.size); - FieldSchema _elem907; - for (int _i908 = 0; _i908 < _list906.size; ++_i908) + org.apache.thrift.protocol.TList _list914 = iprot.readListBegin(); + struct.success = new ArrayList(_list914.size); + FieldSchema _elem915; + for (int _i916 = 0; _i916 < _list914.size; ++_i916) { - _elem907 = new FieldSchema(); - _elem907.read(iprot); - struct.success.add(_elem907); + _elem915 = new FieldSchema(); + _elem915.read(iprot); + struct.success.add(_elem915); } iprot.readListEnd(); } @@ -42531,9 +42686,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_fields_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter909 : struct.success) + for (FieldSchema _iter917 : struct.success) { - _iter909.write(oprot); + _iter917.write(oprot); } oprot.writeListEnd(); } @@ -42588,9 +42743,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter910 : struct.success) + for (FieldSchema _iter918 : struct.success) { - _iter910.write(oprot); + _iter918.write(oprot); } } } @@ -42611,14 +42766,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_fields_result st BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list911 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list911.size); - FieldSchema _elem912; - for (int _i913 = 0; _i913 < _list911.size; ++_i913) + org.apache.thrift.protocol.TList _list919 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list919.size); + FieldSchema _elem920; + for (int _i921 = 0; _i921 < _list919.size; ++_i921) { - _elem912 = new FieldSchema(); - _elem912.read(iprot); - struct.success.add(_elem912); + _elem920 = new FieldSchema(); + _elem920.read(iprot); + struct.success.add(_elem920); } } struct.setSuccessIsSet(true); @@ -43772,14 +43927,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_fields_with_env case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list914 = iprot.readListBegin(); - struct.success = new ArrayList(_list914.size); - FieldSchema _elem915; - for (int _i916 = 0; _i916 < _list914.size; ++_i916) + org.apache.thrift.protocol.TList _list922 = iprot.readListBegin(); + struct.success = new ArrayList(_list922.size); + FieldSchema _elem923; + for (int _i924 = 0; _i924 < _list922.size; ++_i924) { - _elem915 = new FieldSchema(); - _elem915.read(iprot); - struct.success.add(_elem915); + _elem923 = new FieldSchema(); + _elem923.read(iprot); + struct.success.add(_elem923); } iprot.readListEnd(); } @@ -43832,9 +43987,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_fields_with_en oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter917 : struct.success) + for (FieldSchema _iter925 : struct.success) { - _iter917.write(oprot); + _iter925.write(oprot); } oprot.writeListEnd(); } @@ -43889,9 +44044,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter918 : struct.success) + for (FieldSchema _iter926 : struct.success) { - _iter918.write(oprot); + _iter926.write(oprot); } } } @@ -43912,14 +44067,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_fields_with_envi BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list919 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list919.size); - FieldSchema _elem920; - for (int _i921 = 0; _i921 < _list919.size; ++_i921) + org.apache.thrift.protocol.TList _list927 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list927.size); + FieldSchema _elem928; + for (int _i929 = 0; _i929 < _list927.size; ++_i929) { - _elem920 = new FieldSchema(); - _elem920.read(iprot); - struct.success.add(_elem920); + _elem928 = new FieldSchema(); + _elem928.read(iprot); + struct.success.add(_elem928); } } struct.setSuccessIsSet(true); @@ -44964,14 +45119,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list922 = iprot.readListBegin(); - struct.success = new ArrayList(_list922.size); - FieldSchema _elem923; - for (int _i924 = 0; _i924 < _list922.size; ++_i924) + org.apache.thrift.protocol.TList _list930 = iprot.readListBegin(); + struct.success = new ArrayList(_list930.size); + FieldSchema _elem931; + for (int _i932 = 0; _i932 < _list930.size; ++_i932) { - _elem923 = new FieldSchema(); - _elem923.read(iprot); - struct.success.add(_elem923); + _elem931 = new FieldSchema(); + _elem931.read(iprot); + struct.success.add(_elem931); } iprot.readListEnd(); } @@ -45024,9 +45179,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter925 : struct.success) + for (FieldSchema _iter933 : struct.success) { - _iter925.write(oprot); + _iter933.write(oprot); } oprot.writeListEnd(); } @@ -45081,9 +45236,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter926 : struct.success) + for (FieldSchema _iter934 : struct.success) { - _iter926.write(oprot); + _iter934.write(oprot); } } } @@ -45104,14 +45259,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_result st BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list927 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list927.size); - FieldSchema _elem928; - for (int _i929 = 0; _i929 < _list927.size; ++_i929) + org.apache.thrift.protocol.TList _list935 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list935.size); + FieldSchema _elem936; + for (int _i937 = 0; _i937 < _list935.size; ++_i937) { - _elem928 = new FieldSchema(); - _elem928.read(iprot); - struct.success.add(_elem928); + _elem936 = new FieldSchema(); + _elem936.read(iprot); + struct.success.add(_elem936); } } struct.setSuccessIsSet(true); @@ -46265,14 +46420,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_with_env case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list930 = iprot.readListBegin(); - struct.success = new ArrayList(_list930.size); - FieldSchema _elem931; - for (int _i932 = 0; _i932 < _list930.size; ++_i932) + org.apache.thrift.protocol.TList _list938 = iprot.readListBegin(); + struct.success = new ArrayList(_list938.size); + FieldSchema _elem939; + for (int _i940 = 0; _i940 < _list938.size; ++_i940) { - _elem931 = new FieldSchema(); - _elem931.read(iprot); - struct.success.add(_elem931); + _elem939 = new FieldSchema(); + _elem939.read(iprot); + struct.success.add(_elem939); } iprot.readListEnd(); } @@ -46325,9 +46480,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_with_en oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter933 : struct.success) + for (FieldSchema _iter941 : struct.success) { - _iter933.write(oprot); + _iter941.write(oprot); } oprot.writeListEnd(); } @@ -46382,9 +46537,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter934 : struct.success) + for (FieldSchema _iter942 : struct.success) { - _iter934.write(oprot); + _iter942.write(oprot); } } } @@ -46405,14 +46560,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_with_envi BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list935 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list935.size); - FieldSchema _elem936; - for (int _i937 = 0; _i937 < _list935.size; ++_i937) + org.apache.thrift.protocol.TList _list943 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list943.size); + FieldSchema _elem944; + for (int _i945 = 0; _i945 < _list943.size; ++_i945) { - _elem936 = new FieldSchema(); - _elem936.read(iprot); - struct.success.add(_elem936); + _elem944 = new FieldSchema(); + _elem944.read(iprot); + struct.success.add(_elem944); } } struct.setSuccessIsSet(true); @@ -49440,14 +49595,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 2: // PRIMARY_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list938 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list938.size); - SQLPrimaryKey _elem939; - for (int _i940 = 0; _i940 < _list938.size; ++_i940) + org.apache.thrift.protocol.TList _list946 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list946.size); + SQLPrimaryKey _elem947; + for (int _i948 = 0; _i948 < _list946.size; ++_i948) { - _elem939 = new SQLPrimaryKey(); - _elem939.read(iprot); - struct.primaryKeys.add(_elem939); + _elem947 = new SQLPrimaryKey(); + _elem947.read(iprot); + struct.primaryKeys.add(_elem947); } iprot.readListEnd(); } @@ -49459,14 +49614,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 3: // FOREIGN_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list941 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list941.size); - SQLForeignKey _elem942; - for (int _i943 = 0; _i943 < _list941.size; ++_i943) + org.apache.thrift.protocol.TList _list949 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list949.size); + SQLForeignKey _elem950; + for (int _i951 = 0; _i951 < _list949.size; ++_i951) { - _elem942 = new SQLForeignKey(); - _elem942.read(iprot); - struct.foreignKeys.add(_elem942); + _elem950 = new SQLForeignKey(); + _elem950.read(iprot); + struct.foreignKeys.add(_elem950); } iprot.readListEnd(); } @@ -49478,14 +49633,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 4: // UNIQUE_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list944 = iprot.readListBegin(); - struct.uniqueConstraints = new ArrayList(_list944.size); - SQLUniqueConstraint _elem945; - for (int _i946 = 0; _i946 < _list944.size; ++_i946) + org.apache.thrift.protocol.TList _list952 = iprot.readListBegin(); + struct.uniqueConstraints = new ArrayList(_list952.size); + SQLUniqueConstraint _elem953; + for (int _i954 = 0; _i954 < _list952.size; ++_i954) { - _elem945 = new SQLUniqueConstraint(); - _elem945.read(iprot); - struct.uniqueConstraints.add(_elem945); + _elem953 = new SQLUniqueConstraint(); + _elem953.read(iprot); + struct.uniqueConstraints.add(_elem953); } iprot.readListEnd(); } @@ -49497,14 +49652,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 5: // NOT_NULL_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list947 = iprot.readListBegin(); - struct.notNullConstraints = new ArrayList(_list947.size); - SQLNotNullConstraint _elem948; - for (int _i949 = 0; _i949 < _list947.size; ++_i949) + org.apache.thrift.protocol.TList _list955 = iprot.readListBegin(); + struct.notNullConstraints = new ArrayList(_list955.size); + SQLNotNullConstraint _elem956; + for (int _i957 = 0; _i957 < _list955.size; ++_i957) { - _elem948 = new SQLNotNullConstraint(); - _elem948.read(iprot); - struct.notNullConstraints.add(_elem948); + _elem956 = new SQLNotNullConstraint(); + _elem956.read(iprot); + struct.notNullConstraints.add(_elem956); } iprot.readListEnd(); } @@ -49516,14 +49671,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 6: // DEFAULT_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list950 = iprot.readListBegin(); - struct.defaultConstraints = new ArrayList(_list950.size); - SQLDefaultConstraint _elem951; - for (int _i952 = 0; _i952 < _list950.size; ++_i952) + org.apache.thrift.protocol.TList _list958 = iprot.readListBegin(); + struct.defaultConstraints = new ArrayList(_list958.size); + SQLDefaultConstraint _elem959; + for (int _i960 = 0; _i960 < _list958.size; ++_i960) { - _elem951 = new SQLDefaultConstraint(); - _elem951.read(iprot); - struct.defaultConstraints.add(_elem951); + _elem959 = new SQLDefaultConstraint(); + _elem959.read(iprot); + struct.defaultConstraints.add(_elem959); } iprot.readListEnd(); } @@ -49554,9 +49709,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(PRIMARY_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.primaryKeys.size())); - for (SQLPrimaryKey _iter953 : struct.primaryKeys) + for (SQLPrimaryKey _iter961 : struct.primaryKeys) { - _iter953.write(oprot); + _iter961.write(oprot); } oprot.writeListEnd(); } @@ -49566,9 +49721,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(FOREIGN_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.foreignKeys.size())); - for (SQLForeignKey _iter954 : struct.foreignKeys) + for (SQLForeignKey _iter962 : struct.foreignKeys) { - _iter954.write(oprot); + _iter962.write(oprot); } oprot.writeListEnd(); } @@ -49578,9 +49733,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(UNIQUE_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.uniqueConstraints.size())); - for (SQLUniqueConstraint _iter955 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter963 : struct.uniqueConstraints) { - _iter955.write(oprot); + _iter963.write(oprot); } oprot.writeListEnd(); } @@ -49590,9 +49745,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(NOT_NULL_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.notNullConstraints.size())); - for (SQLNotNullConstraint _iter956 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter964 : struct.notNullConstraints) { - _iter956.write(oprot); + _iter964.write(oprot); } oprot.writeListEnd(); } @@ -49602,9 +49757,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(DEFAULT_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.defaultConstraints.size())); - for (SQLDefaultConstraint _iter957 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter965 : struct.defaultConstraints) { - _iter957.write(oprot); + _iter965.write(oprot); } oprot.writeListEnd(); } @@ -49653,45 +49808,45 @@ public void write(org.apache.thrift.protocol.TProtocol prot, create_table_with_c if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter958 : struct.primaryKeys) + for (SQLPrimaryKey _iter966 : struct.primaryKeys) { - _iter958.write(oprot); + _iter966.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter959 : struct.foreignKeys) + for (SQLForeignKey _iter967 : struct.foreignKeys) { - _iter959.write(oprot); + _iter967.write(oprot); } } } if (struct.isSetUniqueConstraints()) { { oprot.writeI32(struct.uniqueConstraints.size()); - for (SQLUniqueConstraint _iter960 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter968 : struct.uniqueConstraints) { - _iter960.write(oprot); + _iter968.write(oprot); } } } if (struct.isSetNotNullConstraints()) { { oprot.writeI32(struct.notNullConstraints.size()); - for (SQLNotNullConstraint _iter961 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter969 : struct.notNullConstraints) { - _iter961.write(oprot); + _iter969.write(oprot); } } } if (struct.isSetDefaultConstraints()) { { oprot.writeI32(struct.defaultConstraints.size()); - for (SQLDefaultConstraint _iter962 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter970 : struct.defaultConstraints) { - _iter962.write(oprot); + _iter970.write(oprot); } } } @@ -49708,70 +49863,70 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_with_co } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list963 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list963.size); - SQLPrimaryKey _elem964; - for (int _i965 = 0; _i965 < _list963.size; ++_i965) + org.apache.thrift.protocol.TList _list971 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeys = new ArrayList(_list971.size); + SQLPrimaryKey _elem972; + for (int _i973 = 0; _i973 < _list971.size; ++_i973) { - _elem964 = new SQLPrimaryKey(); - _elem964.read(iprot); - struct.primaryKeys.add(_elem964); + _elem972 = new SQLPrimaryKey(); + _elem972.read(iprot); + struct.primaryKeys.add(_elem972); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list966 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list966.size); - SQLForeignKey _elem967; - for (int _i968 = 0; _i968 < _list966.size; ++_i968) + org.apache.thrift.protocol.TList _list974 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.foreignKeys = new ArrayList(_list974.size); + SQLForeignKey _elem975; + for (int _i976 = 0; _i976 < _list974.size; ++_i976) { - _elem967 = new SQLForeignKey(); - _elem967.read(iprot); - struct.foreignKeys.add(_elem967); + _elem975 = new SQLForeignKey(); + _elem975.read(iprot); + struct.foreignKeys.add(_elem975); } } struct.setForeignKeysIsSet(true); } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list969 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.uniqueConstraints = new ArrayList(_list969.size); - SQLUniqueConstraint _elem970; - for (int _i971 = 0; _i971 < _list969.size; ++_i971) + org.apache.thrift.protocol.TList _list977 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.uniqueConstraints = new ArrayList(_list977.size); + SQLUniqueConstraint _elem978; + for (int _i979 = 0; _i979 < _list977.size; ++_i979) { - _elem970 = new SQLUniqueConstraint(); - _elem970.read(iprot); - struct.uniqueConstraints.add(_elem970); + _elem978 = new SQLUniqueConstraint(); + _elem978.read(iprot); + struct.uniqueConstraints.add(_elem978); } } struct.setUniqueConstraintsIsSet(true); } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list972 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.notNullConstraints = new ArrayList(_list972.size); - SQLNotNullConstraint _elem973; - for (int _i974 = 0; _i974 < _list972.size; ++_i974) + org.apache.thrift.protocol.TList _list980 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.notNullConstraints = new ArrayList(_list980.size); + SQLNotNullConstraint _elem981; + for (int _i982 = 0; _i982 < _list980.size; ++_i982) { - _elem973 = new SQLNotNullConstraint(); - _elem973.read(iprot); - struct.notNullConstraints.add(_elem973); + _elem981 = new SQLNotNullConstraint(); + _elem981.read(iprot); + struct.notNullConstraints.add(_elem981); } } struct.setNotNullConstraintsIsSet(true); } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list975 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.defaultConstraints = new ArrayList(_list975.size); - SQLDefaultConstraint _elem976; - for (int _i977 = 0; _i977 < _list975.size; ++_i977) + org.apache.thrift.protocol.TList _list983 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.defaultConstraints = new ArrayList(_list983.size); + SQLDefaultConstraint _elem984; + for (int _i985 = 0; _i985 < _list983.size; ++_i985) { - _elem976 = new SQLDefaultConstraint(); - _elem976.read(iprot); - struct.defaultConstraints.add(_elem976); + _elem984 = new SQLDefaultConstraint(); + _elem984.read(iprot); + struct.defaultConstraints.add(_elem984); } } struct.setDefaultConstraintsIsSet(true); @@ -58092,13 +58247,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, truncate_table_args case 3: // PART_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list978 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list978.size); - String _elem979; - for (int _i980 = 0; _i980 < _list978.size; ++_i980) + org.apache.thrift.protocol.TList _list986 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list986.size); + String _elem987; + for (int _i988 = 0; _i988 < _list986.size; ++_i988) { - _elem979 = iprot.readString(); - struct.partNames.add(_elem979); + _elem987 = iprot.readString(); + struct.partNames.add(_elem987); } iprot.readListEnd(); } @@ -58134,9 +58289,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, truncate_table_arg oprot.writeFieldBegin(PART_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partNames.size())); - for (String _iter981 : struct.partNames) + for (String _iter989 : struct.partNames) { - oprot.writeString(_iter981); + oprot.writeString(_iter989); } oprot.writeListEnd(); } @@ -58179,9 +58334,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, truncate_table_args if (struct.isSetPartNames()) { { oprot.writeI32(struct.partNames.size()); - for (String _iter982 : struct.partNames) + for (String _iter990 : struct.partNames) { - oprot.writeString(_iter982); + oprot.writeString(_iter990); } } } @@ -58201,13 +58356,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, truncate_table_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list983 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = new ArrayList(_list983.size); - String _elem984; - for (int _i985 = 0; _i985 < _list983.size; ++_i985) + org.apache.thrift.protocol.TList _list991 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list991.size); + String _elem992; + for (int _i993 = 0; _i993 < _list991.size; ++_i993) { - _elem984 = iprot.readString(); - struct.partNames.add(_elem984); + _elem992 = iprot.readString(); + struct.partNames.add(_elem992); } } struct.setPartNamesIsSet(true); @@ -59432,13 +59587,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list986 = iprot.readListBegin(); - struct.success = new ArrayList(_list986.size); - String _elem987; - for (int _i988 = 0; _i988 < _list986.size; ++_i988) + org.apache.thrift.protocol.TList _list994 = iprot.readListBegin(); + struct.success = new ArrayList(_list994.size); + String _elem995; + for (int _i996 = 0; _i996 < _list994.size; ++_i996) { - _elem987 = iprot.readString(); - struct.success.add(_elem987); + _elem995 = iprot.readString(); + struct.success.add(_elem995); } iprot.readListEnd(); } @@ -59473,9 +59628,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter989 : struct.success) + for (String _iter997 : struct.success) { - oprot.writeString(_iter989); + oprot.writeString(_iter997); } oprot.writeListEnd(); } @@ -59514,9 +59669,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter990 : struct.success) + for (String _iter998 : struct.success) { - oprot.writeString(_iter990); + oprot.writeString(_iter998); } } } @@ -59531,13 +59686,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_result st BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list991 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list991.size); - String _elem992; - for (int _i993 = 0; _i993 < _list991.size; ++_i993) + org.apache.thrift.protocol.TList _list999 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list999.size); + String _elem1000; + for (int _i1001 = 0; _i1001 < _list999.size; ++_i1001) { - _elem992 = iprot.readString(); - struct.success.add(_elem992); + _elem1000 = iprot.readString(); + struct.success.add(_elem1000); } } struct.setSuccessIsSet(true); @@ -60511,13 +60666,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_by_type_ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list994 = iprot.readListBegin(); - struct.success = new ArrayList(_list994.size); - String _elem995; - for (int _i996 = 0; _i996 < _list994.size; ++_i996) + org.apache.thrift.protocol.TList _list1002 = iprot.readListBegin(); + struct.success = new ArrayList(_list1002.size); + String _elem1003; + for (int _i1004 = 0; _i1004 < _list1002.size; ++_i1004) { - _elem995 = iprot.readString(); - struct.success.add(_elem995); + _elem1003 = iprot.readString(); + struct.success.add(_elem1003); } iprot.readListEnd(); } @@ -60552,9 +60707,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_by_type oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter997 : struct.success) + for (String _iter1005 : struct.success) { - oprot.writeString(_iter997); + oprot.writeString(_iter1005); } oprot.writeListEnd(); } @@ -60593,9 +60748,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter998 : struct.success) + for (String _iter1006 : struct.success) { - oprot.writeString(_iter998); + oprot.writeString(_iter1006); } } } @@ -60610,13 +60765,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_r BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list999 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list999.size); - String _elem1000; - for (int _i1001 = 0; _i1001 < _list999.size; ++_i1001) + org.apache.thrift.protocol.TList _list1007 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1007.size); + String _elem1008; + for (int _i1009 = 0; _i1009 < _list1007.size; ++_i1009) { - _elem1000 = iprot.readString(); - struct.success.add(_elem1000); + _elem1008 = iprot.readString(); + struct.success.add(_elem1008); } } struct.setSuccessIsSet(true); @@ -61382,13 +61537,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialized_vi case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1002 = iprot.readListBegin(); - struct.success = new ArrayList(_list1002.size); - String _elem1003; - for (int _i1004 = 0; _i1004 < _list1002.size; ++_i1004) + org.apache.thrift.protocol.TList _list1010 = iprot.readListBegin(); + struct.success = new ArrayList(_list1010.size); + String _elem1011; + for (int _i1012 = 0; _i1012 < _list1010.size; ++_i1012) { - _elem1003 = iprot.readString(); - struct.success.add(_elem1003); + _elem1011 = iprot.readString(); + struct.success.add(_elem1011); } iprot.readListEnd(); } @@ -61423,9 +61578,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_materialized_v oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1005 : struct.success) + for (String _iter1013 : struct.success) { - oprot.writeString(_iter1005); + oprot.writeString(_iter1013); } oprot.writeListEnd(); } @@ -61464,9 +61619,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_vi if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1006 : struct.success) + for (String _iter1014 : struct.success) { - oprot.writeString(_iter1006); + oprot.writeString(_iter1014); } } } @@ -61481,13 +61636,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialized_vie BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1007 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1007.size); - String _elem1008; - for (int _i1009 = 0; _i1009 < _list1007.size; ++_i1009) + org.apache.thrift.protocol.TList _list1015 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1015.size); + String _elem1016; + for (int _i1017 = 0; _i1017 < _list1015.size; ++_i1017) { - _elem1008 = iprot.readString(); - struct.success.add(_elem1008); + _elem1016 = iprot.readString(); + struct.success.add(_elem1016); } } struct.setSuccessIsSet(true); @@ -61992,13 +62147,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_meta_args case 3: // TBL_TYPES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1010 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list1010.size); - String _elem1011; - for (int _i1012 = 0; _i1012 < _list1010.size; ++_i1012) + org.apache.thrift.protocol.TList _list1018 = iprot.readListBegin(); + struct.tbl_types = new ArrayList(_list1018.size); + String _elem1019; + for (int _i1020 = 0; _i1020 < _list1018.size; ++_i1020) { - _elem1011 = iprot.readString(); - struct.tbl_types.add(_elem1011); + _elem1019 = iprot.readString(); + struct.tbl_types.add(_elem1019); } iprot.readListEnd(); } @@ -62034,9 +62189,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_meta_arg oprot.writeFieldBegin(TBL_TYPES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_types.size())); - for (String _iter1013 : struct.tbl_types) + for (String _iter1021 : struct.tbl_types) { - oprot.writeString(_iter1013); + oprot.writeString(_iter1021); } oprot.writeListEnd(); } @@ -62079,9 +62234,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args if (struct.isSetTbl_types()) { { oprot.writeI32(struct.tbl_types.size()); - for (String _iter1014 : struct.tbl_types) + for (String _iter1022 : struct.tbl_types) { - oprot.writeString(_iter1014); + oprot.writeString(_iter1022); } } } @@ -62101,13 +62256,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1015 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = new ArrayList(_list1015.size); - String _elem1016; - for (int _i1017 = 0; _i1017 < _list1015.size; ++_i1017) + org.apache.thrift.protocol.TList _list1023 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_types = new ArrayList(_list1023.size); + String _elem1024; + for (int _i1025 = 0; _i1025 < _list1023.size; ++_i1025) { - _elem1016 = iprot.readString(); - struct.tbl_types.add(_elem1016); + _elem1024 = iprot.readString(); + struct.tbl_types.add(_elem1024); } } struct.setTbl_typesIsSet(true); @@ -62513,14 +62668,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_meta_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1018 = iprot.readListBegin(); - struct.success = new ArrayList(_list1018.size); - TableMeta _elem1019; - for (int _i1020 = 0; _i1020 < _list1018.size; ++_i1020) + org.apache.thrift.protocol.TList _list1026 = iprot.readListBegin(); + struct.success = new ArrayList(_list1026.size); + TableMeta _elem1027; + for (int _i1028 = 0; _i1028 < _list1026.size; ++_i1028) { - _elem1019 = new TableMeta(); - _elem1019.read(iprot); - struct.success.add(_elem1019); + _elem1027 = new TableMeta(); + _elem1027.read(iprot); + struct.success.add(_elem1027); } iprot.readListEnd(); } @@ -62555,9 +62710,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_meta_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (TableMeta _iter1021 : struct.success) + for (TableMeta _iter1029 : struct.success) { - _iter1021.write(oprot); + _iter1029.write(oprot); } oprot.writeListEnd(); } @@ -62596,9 +62751,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter1022 : struct.success) + for (TableMeta _iter1030 : struct.success) { - _iter1022.write(oprot); + _iter1030.write(oprot); } } } @@ -62613,14 +62768,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1023 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1023.size); - TableMeta _elem1024; - for (int _i1025 = 0; _i1025 < _list1023.size; ++_i1025) + org.apache.thrift.protocol.TList _list1031 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1031.size); + TableMeta _elem1032; + for (int _i1033 = 0; _i1033 < _list1031.size; ++_i1033) { - _elem1024 = new TableMeta(); - _elem1024.read(iprot); - struct.success.add(_elem1024); + _elem1032 = new TableMeta(); + _elem1032.read(iprot); + struct.success.add(_elem1032); } } struct.setSuccessIsSet(true); @@ -63386,13 +63541,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_tables_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1026 = iprot.readListBegin(); - struct.success = new ArrayList(_list1026.size); - String _elem1027; - for (int _i1028 = 0; _i1028 < _list1026.size; ++_i1028) + org.apache.thrift.protocol.TList _list1034 = iprot.readListBegin(); + struct.success = new ArrayList(_list1034.size); + String _elem1035; + for (int _i1036 = 0; _i1036 < _list1034.size; ++_i1036) { - _elem1027 = iprot.readString(); - struct.success.add(_elem1027); + _elem1035 = iprot.readString(); + struct.success.add(_elem1035); } iprot.readListEnd(); } @@ -63427,9 +63582,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_tables_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1029 : struct.success) + for (String _iter1037 : struct.success) { - oprot.writeString(_iter1029); + oprot.writeString(_iter1037); } oprot.writeListEnd(); } @@ -63468,9 +63623,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1030 : struct.success) + for (String _iter1038 : struct.success) { - oprot.writeString(_iter1030); + oprot.writeString(_iter1038); } } } @@ -63485,13 +63640,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1031 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1031.size); - String _elem1032; - for (int _i1033 = 0; _i1033 < _list1031.size; ++_i1033) + org.apache.thrift.protocol.TList _list1039 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1039.size); + String _elem1040; + for (int _i1041 = 0; _i1041 < _list1039.size; ++_i1041) { - _elem1032 = iprot.readString(); - struct.success.add(_elem1032); + _elem1040 = iprot.readString(); + struct.success.add(_elem1040); } } struct.setSuccessIsSet(true); @@ -64944,13 +65099,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1034 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1034.size); - String _elem1035; - for (int _i1036 = 0; _i1036 < _list1034.size; ++_i1036) + org.apache.thrift.protocol.TList _list1042 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list1042.size); + String _elem1043; + for (int _i1044 = 0; _i1044 < _list1042.size; ++_i1044) { - _elem1035 = iprot.readString(); - struct.tbl_names.add(_elem1035); + _elem1043 = iprot.readString(); + struct.tbl_names.add(_elem1043); } iprot.readListEnd(); } @@ -64981,9 +65136,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_ oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_names.size())); - for (String _iter1037 : struct.tbl_names) + for (String _iter1045 : struct.tbl_names) { - oprot.writeString(_iter1037); + oprot.writeString(_iter1045); } oprot.writeListEnd(); } @@ -65020,9 +65175,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetTbl_names()) { { oprot.writeI32(struct.tbl_names.size()); - for (String _iter1038 : struct.tbl_names) + for (String _iter1046 : struct.tbl_names) { - oprot.writeString(_iter1038); + oprot.writeString(_iter1046); } } } @@ -65038,13 +65193,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1039 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1039.size); - String _elem1040; - for (int _i1041 = 0; _i1041 < _list1039.size; ++_i1041) + org.apache.thrift.protocol.TList _list1047 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list1047.size); + String _elem1048; + for (int _i1049 = 0; _i1049 < _list1047.size; ++_i1049) { - _elem1040 = iprot.readString(); - struct.tbl_names.add(_elem1040); + _elem1048 = iprot.readString(); + struct.tbl_names.add(_elem1048); } } struct.setTbl_namesIsSet(true); @@ -65369,14 +65524,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_objects_b case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1042 = iprot.readListBegin(); - struct.success = new ArrayList
(_list1042.size); - Table _elem1043; - for (int _i1044 = 0; _i1044 < _list1042.size; ++_i1044) + org.apache.thrift.protocol.TList _list1050 = iprot.readListBegin(); + struct.success = new ArrayList
(_list1050.size); + Table _elem1051; + for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) { - _elem1043 = new Table(); - _elem1043.read(iprot); - struct.success.add(_elem1043); + _elem1051 = new Table(); + _elem1051.read(iprot); + struct.success.add(_elem1051); } iprot.readListEnd(); } @@ -65402,9 +65557,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_objects_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Table _iter1045 : struct.success) + for (Table _iter1053 : struct.success) { - _iter1045.write(oprot); + _iter1053.write(oprot); } oprot.writeListEnd(); } @@ -65435,9 +65590,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter1046 : struct.success) + for (Table _iter1054 : struct.success) { - _iter1046.write(oprot); + _iter1054.write(oprot); } } } @@ -65449,14 +65604,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1047 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list1047.size); - Table _elem1048; - for (int _i1049 = 0; _i1049 < _list1047.size; ++_i1049) + org.apache.thrift.protocol.TList _list1055 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list1055.size); + Table _elem1056; + for (int _i1057 = 0; _i1057 < _list1055.size; ++_i1057) { - _elem1048 = new Table(); - _elem1048.read(iprot); - struct.success.add(_elem1048); + _elem1056 = new Table(); + _elem1056.read(iprot); + struct.success.add(_elem1056); } } struct.setSuccessIsSet(true); @@ -67849,13 +68004,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialization case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1050 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1050.size); - String _elem1051; - for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) + org.apache.thrift.protocol.TList _list1058 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list1058.size); + String _elem1059; + for (int _i1060 = 0; _i1060 < _list1058.size; ++_i1060) { - _elem1051 = iprot.readString(); - struct.tbl_names.add(_elem1051); + _elem1059 = iprot.readString(); + struct.tbl_names.add(_elem1059); } iprot.readListEnd(); } @@ -67886,9 +68041,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_materializatio oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_names.size())); - for (String _iter1053 : struct.tbl_names) + for (String _iter1061 : struct.tbl_names) { - oprot.writeString(_iter1053); + oprot.writeString(_iter1061); } oprot.writeListEnd(); } @@ -67925,9 +68080,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization if (struct.isSetTbl_names()) { { oprot.writeI32(struct.tbl_names.size()); - for (String _iter1054 : struct.tbl_names) + for (String _iter1062 : struct.tbl_names) { - oprot.writeString(_iter1054); + oprot.writeString(_iter1062); } } } @@ -67943,13 +68098,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialization_ } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1055 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1055.size); - String _elem1056; - for (int _i1057 = 0; _i1057 < _list1055.size; ++_i1057) + org.apache.thrift.protocol.TList _list1063 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list1063.size); + String _elem1064; + for (int _i1065 = 0; _i1065 < _list1063.size; ++_i1065) { - _elem1056 = iprot.readString(); - struct.tbl_names.add(_elem1056); + _elem1064 = iprot.readString(); + struct.tbl_names.add(_elem1064); } } struct.setTbl_namesIsSet(true); @@ -68522,16 +68677,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialization case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1058 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1058.size); - String _key1059; - Materialization _val1060; - for (int _i1061 = 0; _i1061 < _map1058.size; ++_i1061) + org.apache.thrift.protocol.TMap _map1066 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1066.size); + String _key1067; + Materialization _val1068; + for (int _i1069 = 0; _i1069 < _map1066.size; ++_i1069) { - _key1059 = iprot.readString(); - _val1060 = new Materialization(); - _val1060.read(iprot); - struct.success.put(_key1059, _val1060); + _key1067 = iprot.readString(); + _val1068 = new Materialization(); + _val1068.read(iprot); + struct.success.put(_key1067, _val1068); } iprot.readMapEnd(); } @@ -68584,10 +68739,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_materializatio oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Map.Entry _iter1062 : struct.success.entrySet()) + for (Map.Entry _iter1070 : struct.success.entrySet()) { - oprot.writeString(_iter1062.getKey()); - _iter1062.getValue().write(oprot); + oprot.writeString(_iter1070.getKey()); + _iter1070.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -68642,10 +68797,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter1063 : struct.success.entrySet()) + for (Map.Entry _iter1071 : struct.success.entrySet()) { - oprot.writeString(_iter1063.getKey()); - _iter1063.getValue().write(oprot); + oprot.writeString(_iter1071.getKey()); + _iter1071.getValue().write(oprot); } } } @@ -68666,16 +68821,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialization_ BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1064 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new HashMap(2*_map1064.size); - String _key1065; - Materialization _val1066; - for (int _i1067 = 0; _i1067 < _map1064.size; ++_i1067) + org.apache.thrift.protocol.TMap _map1072 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new HashMap(2*_map1072.size); + String _key1073; + Materialization _val1074; + for (int _i1075 = 0; _i1075 < _map1072.size; ++_i1075) { - _key1065 = iprot.readString(); - _val1066 = new Materialization(); - _val1066.read(iprot); - struct.success.put(_key1065, _val1066); + _key1073 = iprot.readString(); + _val1074 = new Materialization(); + _val1074.read(iprot); + struct.success.put(_key1073, _val1074); } } struct.setSuccessIsSet(true); @@ -70964,13 +71119,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_names_by_ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1068 = iprot.readListBegin(); - struct.success = new ArrayList(_list1068.size); - String _elem1069; - for (int _i1070 = 0; _i1070 < _list1068.size; ++_i1070) + org.apache.thrift.protocol.TList _list1076 = iprot.readListBegin(); + struct.success = new ArrayList(_list1076.size); + String _elem1077; + for (int _i1078 = 0; _i1078 < _list1076.size; ++_i1078) { - _elem1069 = iprot.readString(); - struct.success.add(_elem1069); + _elem1077 = iprot.readString(); + struct.success.add(_elem1077); } iprot.readListEnd(); } @@ -71023,9 +71178,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_names_by oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1071 : struct.success) + for (String _iter1079 : struct.success) { - oprot.writeString(_iter1071); + oprot.writeString(_iter1079); } oprot.writeListEnd(); } @@ -71080,9 +71235,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1072 : struct.success) + for (String _iter1080 : struct.success) { - oprot.writeString(_iter1072); + oprot.writeString(_iter1080); } } } @@ -71103,13 +71258,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_f BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1073 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1073.size); - String _elem1074; - for (int _i1075 = 0; _i1075 < _list1073.size; ++_i1075) + org.apache.thrift.protocol.TList _list1081 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1081.size); + String _elem1082; + for (int _i1083 = 0; _i1083 < _list1081.size; ++_i1083) { - _elem1074 = iprot.readString(); - struct.success.add(_elem1074); + _elem1082 = iprot.readString(); + struct.success.add(_elem1082); } } struct.setSuccessIsSet(true); @@ -76968,14 +77123,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_partitions_args case 1: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1076 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1076.size); - Partition _elem1077; - for (int _i1078 = 0; _i1078 < _list1076.size; ++_i1078) + org.apache.thrift.protocol.TList _list1084 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1084.size); + Partition _elem1085; + for (int _i1086 = 0; _i1086 < _list1084.size; ++_i1086) { - _elem1077 = new Partition(); - _elem1077.read(iprot); - struct.new_parts.add(_elem1077); + _elem1085 = new Partition(); + _elem1085.read(iprot); + struct.new_parts.add(_elem1085); } iprot.readListEnd(); } @@ -77001,9 +77156,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, add_partitions_arg oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter1079 : struct.new_parts) + for (Partition _iter1087 : struct.new_parts) { - _iter1079.write(oprot); + _iter1087.write(oprot); } oprot.writeListEnd(); } @@ -77034,9 +77189,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, add_partitions_args if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter1080 : struct.new_parts) + for (Partition _iter1088 : struct.new_parts) { - _iter1080.write(oprot); + _iter1088.write(oprot); } } } @@ -77048,14 +77203,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_args BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1081 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1081.size); - Partition _elem1082; - for (int _i1083 = 0; _i1083 < _list1081.size; ++_i1083) + org.apache.thrift.protocol.TList _list1089 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1089.size); + Partition _elem1090; + for (int _i1091 = 0; _i1091 < _list1089.size; ++_i1091) { - _elem1082 = new Partition(); - _elem1082.read(iprot); - struct.new_parts.add(_elem1082); + _elem1090 = new Partition(); + _elem1090.read(iprot); + struct.new_parts.add(_elem1090); } } struct.setNew_partsIsSet(true); @@ -78056,14 +78211,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, add_partitions_pspe case 1: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1084 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1084.size); - PartitionSpec _elem1085; - for (int _i1086 = 0; _i1086 < _list1084.size; ++_i1086) + org.apache.thrift.protocol.TList _list1092 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1092.size); + PartitionSpec _elem1093; + for (int _i1094 = 0; _i1094 < _list1092.size; ++_i1094) { - _elem1085 = new PartitionSpec(); - _elem1085.read(iprot); - struct.new_parts.add(_elem1085); + _elem1093 = new PartitionSpec(); + _elem1093.read(iprot); + struct.new_parts.add(_elem1093); } iprot.readListEnd(); } @@ -78089,9 +78244,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, add_partitions_psp oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (PartitionSpec _iter1087 : struct.new_parts) + for (PartitionSpec _iter1095 : struct.new_parts) { - _iter1087.write(oprot); + _iter1095.write(oprot); } oprot.writeListEnd(); } @@ -78122,9 +78277,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, add_partitions_pspe if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (PartitionSpec _iter1088 : struct.new_parts) + for (PartitionSpec _iter1096 : struct.new_parts) { - _iter1088.write(oprot); + _iter1096.write(oprot); } } } @@ -78136,14 +78291,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_partitions_pspec BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1089 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1089.size); - PartitionSpec _elem1090; - for (int _i1091 = 0; _i1091 < _list1089.size; ++_i1091) + org.apache.thrift.protocol.TList _list1097 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1097.size); + PartitionSpec _elem1098; + for (int _i1099 = 0; _i1099 < _list1097.size; ++_i1099) { - _elem1090 = new PartitionSpec(); - _elem1090.read(iprot); - struct.new_parts.add(_elem1090); + _elem1098 = new PartitionSpec(); + _elem1098.read(iprot); + struct.new_parts.add(_elem1098); } } struct.setNew_partsIsSet(true); @@ -79319,13 +79474,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, append_partition_ar case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1092 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1092.size); - String _elem1093; - for (int _i1094 = 0; _i1094 < _list1092.size; ++_i1094) + org.apache.thrift.protocol.TList _list1100 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1100.size); + String _elem1101; + for (int _i1102 = 0; _i1102 < _list1100.size; ++_i1102) { - _elem1093 = iprot.readString(); - struct.part_vals.add(_elem1093); + _elem1101 = iprot.readString(); + struct.part_vals.add(_elem1101); } iprot.readListEnd(); } @@ -79361,9 +79516,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_partition_a oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1095 : struct.part_vals) + for (String _iter1103 : struct.part_vals) { - oprot.writeString(_iter1095); + oprot.writeString(_iter1103); } oprot.writeListEnd(); } @@ -79406,9 +79561,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_partition_ar if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1096 : struct.part_vals) + for (String _iter1104 : struct.part_vals) { - oprot.writeString(_iter1096); + oprot.writeString(_iter1104); } } } @@ -79428,13 +79583,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1097 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1097.size); - String _elem1098; - for (int _i1099 = 0; _i1099 < _list1097.size; ++_i1099) + org.apache.thrift.protocol.TList _list1105 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1105.size); + String _elem1106; + for (int _i1107 = 0; _i1107 < _list1105.size; ++_i1107) { - _elem1098 = iprot.readString(); - struct.part_vals.add(_elem1098); + _elem1106 = iprot.readString(); + struct.part_vals.add(_elem1106); } } struct.setPart_valsIsSet(true); @@ -81743,13 +81898,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, append_partition_wi case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1100 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1100.size); - String _elem1101; - for (int _i1102 = 0; _i1102 < _list1100.size; ++_i1102) + org.apache.thrift.protocol.TList _list1108 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1108.size); + String _elem1109; + for (int _i1110 = 0; _i1110 < _list1108.size; ++_i1110) { - _elem1101 = iprot.readString(); - struct.part_vals.add(_elem1101); + _elem1109 = iprot.readString(); + struct.part_vals.add(_elem1109); } iprot.readListEnd(); } @@ -81794,9 +81949,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, append_partition_w oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1103 : struct.part_vals) + for (String _iter1111 : struct.part_vals) { - oprot.writeString(_iter1103); + oprot.writeString(_iter1111); } oprot.writeListEnd(); } @@ -81847,9 +82002,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, append_partition_wi if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1104 : struct.part_vals) + for (String _iter1112 : struct.part_vals) { - oprot.writeString(_iter1104); + oprot.writeString(_iter1112); } } } @@ -81872,13 +82027,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1105 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1105.size); - String _elem1106; - for (int _i1107 = 0; _i1107 < _list1105.size; ++_i1107) + org.apache.thrift.protocol.TList _list1113 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1113.size); + String _elem1114; + for (int _i1115 = 0; _i1115 < _list1113.size; ++_i1115) { - _elem1106 = iprot.readString(); - struct.part_vals.add(_elem1106); + _elem1114 = iprot.readString(); + struct.part_vals.add(_elem1114); } } struct.setPart_valsIsSet(true); @@ -85748,13 +85903,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_partition_args case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1108 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1108.size); - String _elem1109; - for (int _i1110 = 0; _i1110 < _list1108.size; ++_i1110) + org.apache.thrift.protocol.TList _list1116 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1116.size); + String _elem1117; + for (int _i1118 = 0; _i1118 < _list1116.size; ++_i1118) { - _elem1109 = iprot.readString(); - struct.part_vals.add(_elem1109); + _elem1117 = iprot.readString(); + struct.part_vals.add(_elem1117); } iprot.readListEnd(); } @@ -85798,9 +85953,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_partition_arg oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1111 : struct.part_vals) + for (String _iter1119 : struct.part_vals) { - oprot.writeString(_iter1111); + oprot.writeString(_iter1119); } oprot.writeListEnd(); } @@ -85849,9 +86004,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_partition_args if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1112 : struct.part_vals) + for (String _iter1120 : struct.part_vals) { - oprot.writeString(_iter1112); + oprot.writeString(_iter1120); } } } @@ -85874,13 +86029,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1113 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1113.size); - String _elem1114; - for (int _i1115 = 0; _i1115 < _list1113.size; ++_i1115) + org.apache.thrift.protocol.TList _list1121 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1121.size); + String _elem1122; + for (int _i1123 = 0; _i1123 < _list1121.size; ++_i1123) { - _elem1114 = iprot.readString(); - struct.part_vals.add(_elem1114); + _elem1122 = iprot.readString(); + struct.part_vals.add(_elem1122); } } struct.setPart_valsIsSet(true); @@ -87119,13 +87274,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, drop_partition_with case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1116 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1116.size); - String _elem1117; - for (int _i1118 = 0; _i1118 < _list1116.size; ++_i1118) + org.apache.thrift.protocol.TList _list1124 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1124.size); + String _elem1125; + for (int _i1126 = 0; _i1126 < _list1124.size; ++_i1126) { - _elem1117 = iprot.readString(); - struct.part_vals.add(_elem1117); + _elem1125 = iprot.readString(); + struct.part_vals.add(_elem1125); } iprot.readListEnd(); } @@ -87178,9 +87333,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, drop_partition_wit oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1119 : struct.part_vals) + for (String _iter1127 : struct.part_vals) { - oprot.writeString(_iter1119); + oprot.writeString(_iter1127); } oprot.writeListEnd(); } @@ -87237,9 +87392,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, drop_partition_with if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1120 : struct.part_vals) + for (String _iter1128 : struct.part_vals) { - oprot.writeString(_iter1120); + oprot.writeString(_iter1128); } } } @@ -87265,13 +87420,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1121 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1121.size); - String _elem1122; - for (int _i1123 = 0; _i1123 < _list1121.size; ++_i1123) + org.apache.thrift.protocol.TList _list1129 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1129.size); + String _elem1130; + for (int _i1131 = 0; _i1131 < _list1129.size; ++_i1131) { - _elem1122 = iprot.readString(); - struct.part_vals.add(_elem1122); + _elem1130 = iprot.readString(); + struct.part_vals.add(_elem1130); } } struct.setPart_valsIsSet(true); @@ -91873,13 +92028,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_args case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1124 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1124.size); - String _elem1125; - for (int _i1126 = 0; _i1126 < _list1124.size; ++_i1126) + org.apache.thrift.protocol.TList _list1132 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1132.size); + String _elem1133; + for (int _i1134 = 0; _i1134 < _list1132.size; ++_i1134) { - _elem1125 = iprot.readString(); - struct.part_vals.add(_elem1125); + _elem1133 = iprot.readString(); + struct.part_vals.add(_elem1133); } iprot.readListEnd(); } @@ -91915,9 +92070,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_args oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1127 : struct.part_vals) + for (String _iter1135 : struct.part_vals) { - oprot.writeString(_iter1127); + oprot.writeString(_iter1135); } oprot.writeListEnd(); } @@ -91960,9 +92115,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_args if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1128 : struct.part_vals) + for (String _iter1136 : struct.part_vals) { - oprot.writeString(_iter1128); + oprot.writeString(_iter1136); } } } @@ -91982,13 +92137,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1129 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1129.size); - String _elem1130; - for (int _i1131 = 0; _i1131 < _list1129.size; ++_i1131) + org.apache.thrift.protocol.TList _list1137 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1137.size); + String _elem1138; + for (int _i1139 = 0; _i1139 < _list1137.size; ++_i1139) { - _elem1130 = iprot.readString(); - struct.part_vals.add(_elem1130); + _elem1138 = iprot.readString(); + struct.part_vals.add(_elem1138); } } struct.setPart_valsIsSet(true); @@ -93206,15 +93361,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partition_ case 1: // PARTITION_SPECS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1132 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1132.size); - String _key1133; - String _val1134; - for (int _i1135 = 0; _i1135 < _map1132.size; ++_i1135) + org.apache.thrift.protocol.TMap _map1140 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1140.size); + String _key1141; + String _val1142; + for (int _i1143 = 0; _i1143 < _map1140.size; ++_i1143) { - _key1133 = iprot.readString(); - _val1134 = iprot.readString(); - struct.partitionSpecs.put(_key1133, _val1134); + _key1141 = iprot.readString(); + _val1142 = iprot.readString(); + struct.partitionSpecs.put(_key1141, _val1142); } iprot.readMapEnd(); } @@ -93272,10 +93427,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(PARTITION_SPECS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.partitionSpecs.size())); - for (Map.Entry _iter1136 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1144 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1136.getKey()); - oprot.writeString(_iter1136.getValue()); + oprot.writeString(_iter1144.getKey()); + oprot.writeString(_iter1144.getValue()); } oprot.writeMapEnd(); } @@ -93338,10 +93493,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1137 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1145 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1137.getKey()); - oprot.writeString(_iter1137.getValue()); + oprot.writeString(_iter1145.getKey()); + oprot.writeString(_iter1145.getValue()); } } } @@ -93365,15 +93520,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partition_a BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1138 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionSpecs = new HashMap(2*_map1138.size); - String _key1139; - String _val1140; - for (int _i1141 = 0; _i1141 < _map1138.size; ++_i1141) + org.apache.thrift.protocol.TMap _map1146 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionSpecs = new HashMap(2*_map1146.size); + String _key1147; + String _val1148; + for (int _i1149 = 0; _i1149 < _map1146.size; ++_i1149) { - _key1139 = iprot.readString(); - _val1140 = iprot.readString(); - struct.partitionSpecs.put(_key1139, _val1140); + _key1147 = iprot.readString(); + _val1148 = iprot.readString(); + struct.partitionSpecs.put(_key1147, _val1148); } } struct.setPartitionSpecsIsSet(true); @@ -94819,15 +94974,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partitions case 1: // PARTITION_SPECS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1142 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1142.size); - String _key1143; - String _val1144; - for (int _i1145 = 0; _i1145 < _map1142.size; ++_i1145) + org.apache.thrift.protocol.TMap _map1150 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1150.size); + String _key1151; + String _val1152; + for (int _i1153 = 0; _i1153 < _map1150.size; ++_i1153) { - _key1143 = iprot.readString(); - _val1144 = iprot.readString(); - struct.partitionSpecs.put(_key1143, _val1144); + _key1151 = iprot.readString(); + _val1152 = iprot.readString(); + struct.partitionSpecs.put(_key1151, _val1152); } iprot.readMapEnd(); } @@ -94885,10 +95040,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(PARTITION_SPECS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.partitionSpecs.size())); - for (Map.Entry _iter1146 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1154 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1146.getKey()); - oprot.writeString(_iter1146.getValue()); + oprot.writeString(_iter1154.getKey()); + oprot.writeString(_iter1154.getValue()); } oprot.writeMapEnd(); } @@ -94951,10 +95106,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1147 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1155 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1147.getKey()); - oprot.writeString(_iter1147.getValue()); + oprot.writeString(_iter1155.getKey()); + oprot.writeString(_iter1155.getValue()); } } } @@ -94978,15 +95133,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partitions_ BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1148 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionSpecs = new HashMap(2*_map1148.size); - String _key1149; - String _val1150; - for (int _i1151 = 0; _i1151 < _map1148.size; ++_i1151) + org.apache.thrift.protocol.TMap _map1156 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionSpecs = new HashMap(2*_map1156.size); + String _key1157; + String _val1158; + for (int _i1159 = 0; _i1159 < _map1156.size; ++_i1159) { - _key1149 = iprot.readString(); - _val1150 = iprot.readString(); - struct.partitionSpecs.put(_key1149, _val1150); + _key1157 = iprot.readString(); + _val1158 = iprot.readString(); + struct.partitionSpecs.put(_key1157, _val1158); } } struct.setPartitionSpecsIsSet(true); @@ -95651,14 +95806,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partitions case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1152 = iprot.readListBegin(); - struct.success = new ArrayList(_list1152.size); - Partition _elem1153; - for (int _i1154 = 0; _i1154 < _list1152.size; ++_i1154) + org.apache.thrift.protocol.TList _list1160 = iprot.readListBegin(); + struct.success = new ArrayList(_list1160.size); + Partition _elem1161; + for (int _i1162 = 0; _i1162 < _list1160.size; ++_i1162) { - _elem1153 = new Partition(); - _elem1153.read(iprot); - struct.success.add(_elem1153); + _elem1161 = new Partition(); + _elem1161.read(iprot); + struct.success.add(_elem1161); } iprot.readListEnd(); } @@ -95720,9 +95875,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1155 : struct.success) + for (Partition _iter1163 : struct.success) { - _iter1155.write(oprot); + _iter1163.write(oprot); } oprot.writeListEnd(); } @@ -95785,9 +95940,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1156 : struct.success) + for (Partition _iter1164 : struct.success) { - _iter1156.write(oprot); + _iter1164.write(oprot); } } } @@ -95811,14 +95966,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partitions_ BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1157 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1157.size); - Partition _elem1158; - for (int _i1159 = 0; _i1159 < _list1157.size; ++_i1159) + org.apache.thrift.protocol.TList _list1165 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1165.size); + Partition _elem1166; + for (int _i1167 = 0; _i1167 < _list1165.size; ++_i1167) { - _elem1158 = new Partition(); - _elem1158.read(iprot); - struct.success.add(_elem1158); + _elem1166 = new Partition(); + _elem1166.read(iprot); + struct.success.add(_elem1166); } } struct.setSuccessIsSet(true); @@ -96517,13 +96672,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1160 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1160.size); - String _elem1161; - for (int _i1162 = 0; _i1162 < _list1160.size; ++_i1162) + org.apache.thrift.protocol.TList _list1168 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1168.size); + String _elem1169; + for (int _i1170 = 0; _i1170 < _list1168.size; ++_i1170) { - _elem1161 = iprot.readString(); - struct.part_vals.add(_elem1161); + _elem1169 = iprot.readString(); + struct.part_vals.add(_elem1169); } iprot.readListEnd(); } @@ -96543,13 +96698,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_with_ case 5: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1163 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1163.size); - String _elem1164; - for (int _i1165 = 0; _i1165 < _list1163.size; ++_i1165) + org.apache.thrift.protocol.TList _list1171 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1171.size); + String _elem1172; + for (int _i1173 = 0; _i1173 < _list1171.size; ++_i1173) { - _elem1164 = iprot.readString(); - struct.group_names.add(_elem1164); + _elem1172 = iprot.readString(); + struct.group_names.add(_elem1172); } iprot.readListEnd(); } @@ -96585,9 +96740,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1166 : struct.part_vals) + for (String _iter1174 : struct.part_vals) { - oprot.writeString(_iter1166); + oprot.writeString(_iter1174); } oprot.writeListEnd(); } @@ -96602,9 +96757,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_with oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1167 : struct.group_names) + for (String _iter1175 : struct.group_names) { - oprot.writeString(_iter1167); + oprot.writeString(_iter1175); } oprot.writeListEnd(); } @@ -96653,9 +96808,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1168 : struct.part_vals) + for (String _iter1176 : struct.part_vals) { - oprot.writeString(_iter1168); + oprot.writeString(_iter1176); } } } @@ -96665,9 +96820,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_with_ if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1169 : struct.group_names) + for (String _iter1177 : struct.group_names) { - oprot.writeString(_iter1169); + oprot.writeString(_iter1177); } } } @@ -96687,13 +96842,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1170 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1170.size); - String _elem1171; - for (int _i1172 = 0; _i1172 < _list1170.size; ++_i1172) + org.apache.thrift.protocol.TList _list1178 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1178.size); + String _elem1179; + for (int _i1180 = 0; _i1180 < _list1178.size; ++_i1180) { - _elem1171 = iprot.readString(); - struct.part_vals.add(_elem1171); + _elem1179 = iprot.readString(); + struct.part_vals.add(_elem1179); } } struct.setPart_valsIsSet(true); @@ -96704,13 +96859,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1173 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1173.size); - String _elem1174; - for (int _i1175 = 0; _i1175 < _list1173.size; ++_i1175) + org.apache.thrift.protocol.TList _list1181 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1181.size); + String _elem1182; + for (int _i1183 = 0; _i1183 < _list1181.size; ++_i1183) { - _elem1174 = iprot.readString(); - struct.group_names.add(_elem1174); + _elem1182 = iprot.readString(); + struct.group_names.add(_elem1182); } } struct.setGroup_namesIsSet(true); @@ -99479,14 +99634,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1176 = iprot.readListBegin(); - struct.success = new ArrayList(_list1176.size); - Partition _elem1177; - for (int _i1178 = 0; _i1178 < _list1176.size; ++_i1178) + org.apache.thrift.protocol.TList _list1184 = iprot.readListBegin(); + struct.success = new ArrayList(_list1184.size); + Partition _elem1185; + for (int _i1186 = 0; _i1186 < _list1184.size; ++_i1186) { - _elem1177 = new Partition(); - _elem1177.read(iprot); - struct.success.add(_elem1177); + _elem1185 = new Partition(); + _elem1185.read(iprot); + struct.success.add(_elem1185); } iprot.readListEnd(); } @@ -99530,9 +99685,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1179 : struct.success) + for (Partition _iter1187 : struct.success) { - _iter1179.write(oprot); + _iter1187.write(oprot); } oprot.writeListEnd(); } @@ -99579,9 +99734,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1180 : struct.success) + for (Partition _iter1188 : struct.success) { - _iter1180.write(oprot); + _iter1188.write(oprot); } } } @@ -99599,14 +99754,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_resul BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1181 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1181.size); - Partition _elem1182; - for (int _i1183 = 0; _i1183 < _list1181.size; ++_i1183) + org.apache.thrift.protocol.TList _list1189 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1189.size); + Partition _elem1190; + for (int _i1191 = 0; _i1191 < _list1189.size; ++_i1191) { - _elem1182 = new Partition(); - _elem1182.read(iprot); - struct.success.add(_elem1182); + _elem1190 = new Partition(); + _elem1190.read(iprot); + struct.success.add(_elem1190); } } struct.setSuccessIsSet(true); @@ -100296,13 +100451,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with case 5: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1184 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1184.size); - String _elem1185; - for (int _i1186 = 0; _i1186 < _list1184.size; ++_i1186) + org.apache.thrift.protocol.TList _list1192 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1192.size); + String _elem1193; + for (int _i1194 = 0; _i1194 < _list1192.size; ++_i1194) { - _elem1185 = iprot.readString(); - struct.group_names.add(_elem1185); + _elem1193 = iprot.readString(); + struct.group_names.add(_elem1193); } iprot.readListEnd(); } @@ -100346,9 +100501,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1187 : struct.group_names) + for (String _iter1195 : struct.group_names) { - oprot.writeString(_iter1187); + oprot.writeString(_iter1195); } oprot.writeListEnd(); } @@ -100403,9 +100558,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1188 : struct.group_names) + for (String _iter1196 : struct.group_names) { - oprot.writeString(_iter1188); + oprot.writeString(_iter1196); } } } @@ -100433,13 +100588,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1189 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1189.size); - String _elem1190; - for (int _i1191 = 0; _i1191 < _list1189.size; ++_i1191) + org.apache.thrift.protocol.TList _list1197 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1197.size); + String _elem1198; + for (int _i1199 = 0; _i1199 < _list1197.size; ++_i1199) { - _elem1190 = iprot.readString(); - struct.group_names.add(_elem1190); + _elem1198 = iprot.readString(); + struct.group_names.add(_elem1198); } } struct.setGroup_namesIsSet(true); @@ -100926,14 +101081,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_with case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1192 = iprot.readListBegin(); - struct.success = new ArrayList(_list1192.size); - Partition _elem1193; - for (int _i1194 = 0; _i1194 < _list1192.size; ++_i1194) + org.apache.thrift.protocol.TList _list1200 = iprot.readListBegin(); + struct.success = new ArrayList(_list1200.size); + Partition _elem1201; + for (int _i1202 = 0; _i1202 < _list1200.size; ++_i1202) { - _elem1193 = new Partition(); - _elem1193.read(iprot); - struct.success.add(_elem1193); + _elem1201 = new Partition(); + _elem1201.read(iprot); + struct.success.add(_elem1201); } iprot.readListEnd(); } @@ -100977,9 +101132,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_wit oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1195 : struct.success) + for (Partition _iter1203 : struct.success) { - _iter1195.write(oprot); + _iter1203.write(oprot); } oprot.writeListEnd(); } @@ -101026,9 +101181,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1196 : struct.success) + for (Partition _iter1204 : struct.success) { - _iter1196.write(oprot); + _iter1204.write(oprot); } } } @@ -101046,14 +101201,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1197 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1197.size); - Partition _elem1198; - for (int _i1199 = 0; _i1199 < _list1197.size; ++_i1199) + org.apache.thrift.protocol.TList _list1205 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1205.size); + Partition _elem1206; + for (int _i1207 = 0; _i1207 < _list1205.size; ++_i1207) { - _elem1198 = new Partition(); - _elem1198.read(iprot); - struct.success.add(_elem1198); + _elem1206 = new Partition(); + _elem1206.read(iprot); + struct.success.add(_elem1206); } } struct.setSuccessIsSet(true); @@ -102116,14 +102271,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_pspe case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1200 = iprot.readListBegin(); - struct.success = new ArrayList(_list1200.size); - PartitionSpec _elem1201; - for (int _i1202 = 0; _i1202 < _list1200.size; ++_i1202) + org.apache.thrift.protocol.TList _list1208 = iprot.readListBegin(); + struct.success = new ArrayList(_list1208.size); + PartitionSpec _elem1209; + for (int _i1210 = 0; _i1210 < _list1208.size; ++_i1210) { - _elem1201 = new PartitionSpec(); - _elem1201.read(iprot); - struct.success.add(_elem1201); + _elem1209 = new PartitionSpec(); + _elem1209.read(iprot); + struct.success.add(_elem1209); } iprot.readListEnd(); } @@ -102167,9 +102322,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_psp oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (PartitionSpec _iter1203 : struct.success) + for (PartitionSpec _iter1211 : struct.success) { - _iter1203.write(oprot); + _iter1211.write(oprot); } oprot.writeListEnd(); } @@ -102216,9 +102371,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1204 : struct.success) + for (PartitionSpec _iter1212 : struct.success) { - _iter1204.write(oprot); + _iter1212.write(oprot); } } } @@ -102236,14 +102391,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspec BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1205 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1205.size); - PartitionSpec _elem1206; - for (int _i1207 = 0; _i1207 < _list1205.size; ++_i1207) + org.apache.thrift.protocol.TList _list1213 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1213.size); + PartitionSpec _elem1214; + for (int _i1215 = 0; _i1215 < _list1213.size; ++_i1215) { - _elem1206 = new PartitionSpec(); - _elem1206.read(iprot); - struct.success.add(_elem1206); + _elem1214 = new PartitionSpec(); + _elem1214.read(iprot); + struct.success.add(_elem1214); } } struct.setSuccessIsSet(true); @@ -103303,13 +103458,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1208 = iprot.readListBegin(); - struct.success = new ArrayList(_list1208.size); - String _elem1209; - for (int _i1210 = 0; _i1210 < _list1208.size; ++_i1210) + org.apache.thrift.protocol.TList _list1216 = iprot.readListBegin(); + struct.success = new ArrayList(_list1216.size); + String _elem1217; + for (int _i1218 = 0; _i1218 < _list1216.size; ++_i1218) { - _elem1209 = iprot.readString(); - struct.success.add(_elem1209); + _elem1217 = iprot.readString(); + struct.success.add(_elem1217); } iprot.readListEnd(); } @@ -103353,9 +103508,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1211 : struct.success) + for (String _iter1219 : struct.success) { - oprot.writeString(_iter1211); + oprot.writeString(_iter1219); } oprot.writeListEnd(); } @@ -103402,9 +103557,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1212 : struct.success) + for (String _iter1220 : struct.success) { - oprot.writeString(_iter1212); + oprot.writeString(_iter1220); } } } @@ -103422,13 +103577,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1213 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1213.size); - String _elem1214; - for (int _i1215 = 0; _i1215 < _list1213.size; ++_i1215) + org.apache.thrift.protocol.TList _list1221 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1221.size); + String _elem1222; + for (int _i1223 = 0; _i1223 < _list1221.size; ++_i1223) { - _elem1214 = iprot.readString(); - struct.success.add(_elem1214); + _elem1222 = iprot.readString(); + struct.success.add(_elem1222); } } struct.setSuccessIsSet(true); @@ -104959,13 +105114,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_a case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1216 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1216.size); - String _elem1217; - for (int _i1218 = 0; _i1218 < _list1216.size; ++_i1218) + org.apache.thrift.protocol.TList _list1224 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1224.size); + String _elem1225; + for (int _i1226 = 0; _i1226 < _list1224.size; ++_i1226) { - _elem1217 = iprot.readString(); - struct.part_vals.add(_elem1217); + _elem1225 = iprot.readString(); + struct.part_vals.add(_elem1225); } iprot.readListEnd(); } @@ -105009,9 +105164,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1219 : struct.part_vals) + for (String _iter1227 : struct.part_vals) { - oprot.writeString(_iter1219); + oprot.writeString(_iter1227); } oprot.writeListEnd(); } @@ -105060,9 +105215,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_a if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1220 : struct.part_vals) + for (String _iter1228 : struct.part_vals) { - oprot.writeString(_iter1220); + oprot.writeString(_iter1228); } } } @@ -105085,13 +105240,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1221 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1221.size); - String _elem1222; - for (int _i1223 = 0; _i1223 < _list1221.size; ++_i1223) + org.apache.thrift.protocol.TList _list1229 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1229.size); + String _elem1230; + for (int _i1231 = 0; _i1231 < _list1229.size; ++_i1231) { - _elem1222 = iprot.readString(); - struct.part_vals.add(_elem1222); + _elem1230 = iprot.readString(); + struct.part_vals.add(_elem1230); } } struct.setPart_valsIsSet(true); @@ -105582,14 +105737,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1224 = iprot.readListBegin(); - struct.success = new ArrayList(_list1224.size); - Partition _elem1225; - for (int _i1226 = 0; _i1226 < _list1224.size; ++_i1226) + org.apache.thrift.protocol.TList _list1232 = iprot.readListBegin(); + struct.success = new ArrayList(_list1232.size); + Partition _elem1233; + for (int _i1234 = 0; _i1234 < _list1232.size; ++_i1234) { - _elem1225 = new Partition(); - _elem1225.read(iprot); - struct.success.add(_elem1225); + _elem1233 = new Partition(); + _elem1233.read(iprot); + struct.success.add(_elem1233); } iprot.readListEnd(); } @@ -105633,9 +105788,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1227 : struct.success) + for (Partition _iter1235 : struct.success) { - _iter1227.write(oprot); + _iter1235.write(oprot); } oprot.writeListEnd(); } @@ -105682,9 +105837,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1228 : struct.success) + for (Partition _iter1236 : struct.success) { - _iter1228.write(oprot); + _iter1236.write(oprot); } } } @@ -105702,14 +105857,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_re BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1229 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1229.size); - Partition _elem1230; - for (int _i1231 = 0; _i1231 < _list1229.size; ++_i1231) + org.apache.thrift.protocol.TList _list1237 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1237.size); + Partition _elem1238; + for (int _i1239 = 0; _i1239 < _list1237.size; ++_i1239) { - _elem1230 = new Partition(); - _elem1230.read(iprot); - struct.success.add(_elem1230); + _elem1238 = new Partition(); + _elem1238.read(iprot); + struct.success.add(_elem1238); } } struct.setSuccessIsSet(true); @@ -106481,13 +106636,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1232 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1232.size); - String _elem1233; - for (int _i1234 = 0; _i1234 < _list1232.size; ++_i1234) + org.apache.thrift.protocol.TList _list1240 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1240.size); + String _elem1241; + for (int _i1242 = 0; _i1242 < _list1240.size; ++_i1242) { - _elem1233 = iprot.readString(); - struct.part_vals.add(_elem1233); + _elem1241 = iprot.readString(); + struct.part_vals.add(_elem1241); } iprot.readListEnd(); } @@ -106515,13 +106670,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 6: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1235 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1235.size); - String _elem1236; - for (int _i1237 = 0; _i1237 < _list1235.size; ++_i1237) + org.apache.thrift.protocol.TList _list1243 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1243.size); + String _elem1244; + for (int _i1245 = 0; _i1245 < _list1243.size; ++_i1245) { - _elem1236 = iprot.readString(); - struct.group_names.add(_elem1236); + _elem1244 = iprot.readString(); + struct.group_names.add(_elem1244); } iprot.readListEnd(); } @@ -106557,9 +106712,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1238 : struct.part_vals) + for (String _iter1246 : struct.part_vals) { - oprot.writeString(_iter1238); + oprot.writeString(_iter1246); } oprot.writeListEnd(); } @@ -106577,9 +106732,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1239 : struct.group_names) + for (String _iter1247 : struct.group_names) { - oprot.writeString(_iter1239); + oprot.writeString(_iter1247); } oprot.writeListEnd(); } @@ -106631,9 +106786,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1240 : struct.part_vals) + for (String _iter1248 : struct.part_vals) { - oprot.writeString(_iter1240); + oprot.writeString(_iter1248); } } } @@ -106646,9 +106801,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1241 : struct.group_names) + for (String _iter1249 : struct.group_names) { - oprot.writeString(_iter1241); + oprot.writeString(_iter1249); } } } @@ -106668,13 +106823,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1242 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1242.size); - String _elem1243; - for (int _i1244 = 0; _i1244 < _list1242.size; ++_i1244) + org.apache.thrift.protocol.TList _list1250 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1250.size); + String _elem1251; + for (int _i1252 = 0; _i1252 < _list1250.size; ++_i1252) { - _elem1243 = iprot.readString(); - struct.part_vals.add(_elem1243); + _elem1251 = iprot.readString(); + struct.part_vals.add(_elem1251); } } struct.setPart_valsIsSet(true); @@ -106689,13 +106844,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1245 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1245.size); - String _elem1246; - for (int _i1247 = 0; _i1247 < _list1245.size; ++_i1247) + org.apache.thrift.protocol.TList _list1253 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1253.size); + String _elem1254; + for (int _i1255 = 0; _i1255 < _list1253.size; ++_i1255) { - _elem1246 = iprot.readString(); - struct.group_names.add(_elem1246); + _elem1254 = iprot.readString(); + struct.group_names.add(_elem1254); } } struct.setGroup_namesIsSet(true); @@ -107182,14 +107337,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_ps_w case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1248 = iprot.readListBegin(); - struct.success = new ArrayList(_list1248.size); - Partition _elem1249; - for (int _i1250 = 0; _i1250 < _list1248.size; ++_i1250) + org.apache.thrift.protocol.TList _list1256 = iprot.readListBegin(); + struct.success = new ArrayList(_list1256.size); + Partition _elem1257; + for (int _i1258 = 0; _i1258 < _list1256.size; ++_i1258) { - _elem1249 = new Partition(); - _elem1249.read(iprot); - struct.success.add(_elem1249); + _elem1257 = new Partition(); + _elem1257.read(iprot); + struct.success.add(_elem1257); } iprot.readListEnd(); } @@ -107233,9 +107388,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1251 : struct.success) + for (Partition _iter1259 : struct.success) { - _iter1251.write(oprot); + _iter1259.write(oprot); } oprot.writeListEnd(); } @@ -107282,9 +107437,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1252 : struct.success) + for (Partition _iter1260 : struct.success) { - _iter1252.write(oprot); + _iter1260.write(oprot); } } } @@ -107302,14 +107457,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1253 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1253.size); - Partition _elem1254; - for (int _i1255 = 0; _i1255 < _list1253.size; ++_i1255) + org.apache.thrift.protocol.TList _list1261 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1261.size); + Partition _elem1262; + for (int _i1263 = 0; _i1263 < _list1261.size; ++_i1263) { - _elem1254 = new Partition(); - _elem1254.read(iprot); - struct.success.add(_elem1254); + _elem1262 = new Partition(); + _elem1262.read(iprot); + struct.success.add(_elem1262); } } struct.setSuccessIsSet(true); @@ -107902,13 +108057,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1256 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1256.size); - String _elem1257; - for (int _i1258 = 0; _i1258 < _list1256.size; ++_i1258) + org.apache.thrift.protocol.TList _list1264 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1264.size); + String _elem1265; + for (int _i1266 = 0; _i1266 < _list1264.size; ++_i1266) { - _elem1257 = iprot.readString(); - struct.part_vals.add(_elem1257); + _elem1265 = iprot.readString(); + struct.part_vals.add(_elem1265); } iprot.readListEnd(); } @@ -107952,9 +108107,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1259 : struct.part_vals) + for (String _iter1267 : struct.part_vals) { - oprot.writeString(_iter1259); + oprot.writeString(_iter1267); } oprot.writeListEnd(); } @@ -108003,9 +108158,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1260 : struct.part_vals) + for (String _iter1268 : struct.part_vals) { - oprot.writeString(_iter1260); + oprot.writeString(_iter1268); } } } @@ -108028,13 +108183,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1261 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1261.size); - String _elem1262; - for (int _i1263 = 0; _i1263 < _list1261.size; ++_i1263) + org.apache.thrift.protocol.TList _list1269 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1269.size); + String _elem1270; + for (int _i1271 = 0; _i1271 < _list1269.size; ++_i1271) { - _elem1262 = iprot.readString(); - struct.part_vals.add(_elem1262); + _elem1270 = iprot.readString(); + struct.part_vals.add(_elem1270); } } struct.setPart_valsIsSet(true); @@ -108522,13 +108677,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partition_names case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1264 = iprot.readListBegin(); - struct.success = new ArrayList(_list1264.size); - String _elem1265; - for (int _i1266 = 0; _i1266 < _list1264.size; ++_i1266) + org.apache.thrift.protocol.TList _list1272 = iprot.readListBegin(); + struct.success = new ArrayList(_list1272.size); + String _elem1273; + for (int _i1274 = 0; _i1274 < _list1272.size; ++_i1274) { - _elem1265 = iprot.readString(); - struct.success.add(_elem1265); + _elem1273 = iprot.readString(); + struct.success.add(_elem1273); } iprot.readListEnd(); } @@ -108572,9 +108727,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partition_name oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1267 : struct.success) + for (String _iter1275 : struct.success) { - oprot.writeString(_iter1267); + oprot.writeString(_iter1275); } oprot.writeListEnd(); } @@ -108621,9 +108776,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1268 : struct.success) + for (String _iter1276 : struct.success) { - oprot.writeString(_iter1268); + oprot.writeString(_iter1276); } } } @@ -108641,13 +108796,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1269 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1269.size); - String _elem1270; - for (int _i1271 = 0; _i1271 < _list1269.size; ++_i1271) + org.apache.thrift.protocol.TList _list1277 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1277.size); + String _elem1278; + for (int _i1279 = 0; _i1279 < _list1277.size; ++_i1279) { - _elem1270 = iprot.readString(); - struct.success.add(_elem1270); + _elem1278 = iprot.readString(); + struct.success.add(_elem1278); } } struct.setSuccessIsSet(true); @@ -109814,14 +109969,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_f case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1272 = iprot.readListBegin(); - struct.success = new ArrayList(_list1272.size); - Partition _elem1273; - for (int _i1274 = 0; _i1274 < _list1272.size; ++_i1274) + org.apache.thrift.protocol.TList _list1280 = iprot.readListBegin(); + struct.success = new ArrayList(_list1280.size); + Partition _elem1281; + for (int _i1282 = 0; _i1282 < _list1280.size; ++_i1282) { - _elem1273 = new Partition(); - _elem1273.read(iprot); - struct.success.add(_elem1273); + _elem1281 = new Partition(); + _elem1281.read(iprot); + struct.success.add(_elem1281); } iprot.readListEnd(); } @@ -109865,9 +110020,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1275 : struct.success) + for (Partition _iter1283 : struct.success) { - _iter1275.write(oprot); + _iter1283.write(oprot); } oprot.writeListEnd(); } @@ -109914,9 +110069,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1276 : struct.success) + for (Partition _iter1284 : struct.success) { - _iter1276.write(oprot); + _iter1284.write(oprot); } } } @@ -109934,14 +110089,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_fi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1277 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1277.size); - Partition _elem1278; - for (int _i1279 = 0; _i1279 < _list1277.size; ++_i1279) + org.apache.thrift.protocol.TList _list1285 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1285.size); + Partition _elem1286; + for (int _i1287 = 0; _i1287 < _list1285.size; ++_i1287) { - _elem1278 = new Partition(); - _elem1278.read(iprot); - struct.success.add(_elem1278); + _elem1286 = new Partition(); + _elem1286.read(iprot); + struct.success.add(_elem1286); } } struct.setSuccessIsSet(true); @@ -111108,14 +111263,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_part_specs_by_f case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1280 = iprot.readListBegin(); - struct.success = new ArrayList(_list1280.size); - PartitionSpec _elem1281; - for (int _i1282 = 0; _i1282 < _list1280.size; ++_i1282) + org.apache.thrift.protocol.TList _list1288 = iprot.readListBegin(); + struct.success = new ArrayList(_list1288.size); + PartitionSpec _elem1289; + for (int _i1290 = 0; _i1290 < _list1288.size; ++_i1290) { - _elem1281 = new PartitionSpec(); - _elem1281.read(iprot); - struct.success.add(_elem1281); + _elem1289 = new PartitionSpec(); + _elem1289.read(iprot); + struct.success.add(_elem1289); } iprot.readListEnd(); } @@ -111159,9 +111314,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_part_specs_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (PartitionSpec _iter1283 : struct.success) + for (PartitionSpec _iter1291 : struct.success) { - _iter1283.write(oprot); + _iter1291.write(oprot); } oprot.writeListEnd(); } @@ -111208,9 +111363,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1284 : struct.success) + for (PartitionSpec _iter1292 : struct.success) { - _iter1284.write(oprot); + _iter1292.write(oprot); } } } @@ -111228,14 +111383,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_part_specs_by_fi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1285 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1285.size); - PartitionSpec _elem1286; - for (int _i1287 = 0; _i1287 < _list1285.size; ++_i1287) + org.apache.thrift.protocol.TList _list1293 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1293.size); + PartitionSpec _elem1294; + for (int _i1295 = 0; _i1295 < _list1293.size; ++_i1295) { - _elem1286 = new PartitionSpec(); - _elem1286.read(iprot); - struct.success.add(_elem1286); + _elem1294 = new PartitionSpec(); + _elem1294.read(iprot); + struct.success.add(_elem1294); } } struct.setSuccessIsSet(true); @@ -113819,13 +113974,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_n case 3: // NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1288 = iprot.readListBegin(); - struct.names = new ArrayList(_list1288.size); - String _elem1289; - for (int _i1290 = 0; _i1290 < _list1288.size; ++_i1290) + org.apache.thrift.protocol.TList _list1296 = iprot.readListBegin(); + struct.names = new ArrayList(_list1296.size); + String _elem1297; + for (int _i1298 = 0; _i1298 < _list1296.size; ++_i1298) { - _elem1289 = iprot.readString(); - struct.names.add(_elem1289); + _elem1297 = iprot.readString(); + struct.names.add(_elem1297); } iprot.readListEnd(); } @@ -113861,9 +114016,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.names.size())); - for (String _iter1291 : struct.names) + for (String _iter1299 : struct.names) { - oprot.writeString(_iter1291); + oprot.writeString(_iter1299); } oprot.writeListEnd(); } @@ -113906,9 +114061,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter1292 : struct.names) + for (String _iter1300 : struct.names) { - oprot.writeString(_iter1292); + oprot.writeString(_iter1300); } } } @@ -113928,13 +114083,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1293 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list1293.size); - String _elem1294; - for (int _i1295 = 0; _i1295 < _list1293.size; ++_i1295) + org.apache.thrift.protocol.TList _list1301 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list1301.size); + String _elem1302; + for (int _i1303 = 0; _i1303 < _list1301.size; ++_i1303) { - _elem1294 = iprot.readString(); - struct.names.add(_elem1294); + _elem1302 = iprot.readString(); + struct.names.add(_elem1302); } } struct.setNamesIsSet(true); @@ -114421,14 +114576,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_partitions_by_n case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1296 = iprot.readListBegin(); - struct.success = new ArrayList(_list1296.size); - Partition _elem1297; - for (int _i1298 = 0; _i1298 < _list1296.size; ++_i1298) + org.apache.thrift.protocol.TList _list1304 = iprot.readListBegin(); + struct.success = new ArrayList(_list1304.size); + Partition _elem1305; + for (int _i1306 = 0; _i1306 < _list1304.size; ++_i1306) { - _elem1297 = new Partition(); - _elem1297.read(iprot); - struct.success.add(_elem1297); + _elem1305 = new Partition(); + _elem1305.read(iprot); + struct.success.add(_elem1305); } iprot.readListEnd(); } @@ -114472,9 +114627,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1299 : struct.success) + for (Partition _iter1307 : struct.success) { - _iter1299.write(oprot); + _iter1307.write(oprot); } oprot.writeListEnd(); } @@ -114521,9 +114676,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1300 : struct.success) + for (Partition _iter1308 : struct.success) { - _iter1300.write(oprot); + _iter1308.write(oprot); } } } @@ -114541,14 +114696,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1301 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1301.size); - Partition _elem1302; - for (int _i1303 = 0; _i1303 < _list1301.size; ++_i1303) + org.apache.thrift.protocol.TList _list1309 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1309.size); + Partition _elem1310; + for (int _i1311 = 0; _i1311 < _list1309.size; ++_i1311) { - _elem1302 = new Partition(); - _elem1302.read(iprot); - struct.success.add(_elem1302); + _elem1310 = new Partition(); + _elem1310.read(iprot); + struct.success.add(_elem1310); } } struct.setSuccessIsSet(true); @@ -116098,14 +116253,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_partitions_ar case 3: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1304 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1304.size); - Partition _elem1305; - for (int _i1306 = 0; _i1306 < _list1304.size; ++_i1306) + org.apache.thrift.protocol.TList _list1312 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1312.size); + Partition _elem1313; + for (int _i1314 = 0; _i1314 < _list1312.size; ++_i1314) { - _elem1305 = new Partition(); - _elem1305.read(iprot); - struct.new_parts.add(_elem1305); + _elem1313 = new Partition(); + _elem1313.read(iprot); + struct.new_parts.add(_elem1313); } iprot.readListEnd(); } @@ -116141,9 +116296,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, alter_partitions_a oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter1307 : struct.new_parts) + for (Partition _iter1315 : struct.new_parts) { - _iter1307.write(oprot); + _iter1315.write(oprot); } oprot.writeListEnd(); } @@ -116186,9 +116341,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, alter_partitions_ar if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter1308 : struct.new_parts) + for (Partition _iter1316 : struct.new_parts) { - _iter1308.write(oprot); + _iter1316.write(oprot); } } } @@ -116208,14 +116363,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1309 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1309.size); - Partition _elem1310; - for (int _i1311 = 0; _i1311 < _list1309.size; ++_i1311) + org.apache.thrift.protocol.TList _list1317 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1317.size); + Partition _elem1318; + for (int _i1319 = 0; _i1319 < _list1317.size; ++_i1319) { - _elem1310 = new Partition(); - _elem1310.read(iprot); - struct.new_parts.add(_elem1310); + _elem1318 = new Partition(); + _elem1318.read(iprot); + struct.new_parts.add(_elem1318); } } struct.setNew_partsIsSet(true); @@ -117268,14 +117423,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_partitions_wi case 3: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1312 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1312.size); - Partition _elem1313; - for (int _i1314 = 0; _i1314 < _list1312.size; ++_i1314) + org.apache.thrift.protocol.TList _list1320 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1320.size); + Partition _elem1321; + for (int _i1322 = 0; _i1322 < _list1320.size; ++_i1322) { - _elem1313 = new Partition(); - _elem1313.read(iprot); - struct.new_parts.add(_elem1313); + _elem1321 = new Partition(); + _elem1321.read(iprot); + struct.new_parts.add(_elem1321); } iprot.readListEnd(); } @@ -117320,9 +117475,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, alter_partitions_w oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter1315 : struct.new_parts) + for (Partition _iter1323 : struct.new_parts) { - _iter1315.write(oprot); + _iter1323.write(oprot); } oprot.writeListEnd(); } @@ -117373,9 +117528,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wi if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter1316 : struct.new_parts) + for (Partition _iter1324 : struct.new_parts) { - _iter1316.write(oprot); + _iter1324.write(oprot); } } } @@ -117398,14 +117553,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1317 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1317.size); - Partition _elem1318; - for (int _i1319 = 0; _i1319 < _list1317.size; ++_i1319) + org.apache.thrift.protocol.TList _list1325 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1325.size); + Partition _elem1326; + for (int _i1327 = 0; _i1327 < _list1325.size; ++_i1327) { - _elem1318 = new Partition(); - _elem1318.read(iprot); - struct.new_parts.add(_elem1318); + _elem1326 = new Partition(); + _elem1326.read(iprot); + struct.new_parts.add(_elem1326); } } struct.setNew_partsIsSet(true); @@ -119606,13 +119761,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, rename_partition_ar case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1320 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1320.size); - String _elem1321; - for (int _i1322 = 0; _i1322 < _list1320.size; ++_i1322) + org.apache.thrift.protocol.TList _list1328 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1328.size); + String _elem1329; + for (int _i1330 = 0; _i1330 < _list1328.size; ++_i1330) { - _elem1321 = iprot.readString(); - struct.part_vals.add(_elem1321); + _elem1329 = iprot.readString(); + struct.part_vals.add(_elem1329); } iprot.readListEnd(); } @@ -119657,9 +119812,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, rename_partition_a oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1323 : struct.part_vals) + for (String _iter1331 : struct.part_vals) { - oprot.writeString(_iter1323); + oprot.writeString(_iter1331); } oprot.writeListEnd(); } @@ -119710,9 +119865,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, rename_partition_ar if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1324 : struct.part_vals) + for (String _iter1332 : struct.part_vals) { - oprot.writeString(_iter1324); + oprot.writeString(_iter1332); } } } @@ -119735,13 +119890,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1325 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1325.size); - String _elem1326; - for (int _i1327 = 0; _i1327 < _list1325.size; ++_i1327) + org.apache.thrift.protocol.TList _list1333 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1333.size); + String _elem1334; + for (int _i1335 = 0; _i1335 < _list1333.size; ++_i1335) { - _elem1326 = iprot.readString(); - struct.part_vals.add(_elem1326); + _elem1334 = iprot.readString(); + struct.part_vals.add(_elem1334); } } struct.setPart_valsIsSet(true); @@ -120615,13 +120770,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_has_ case 1: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1328 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1328.size); - String _elem1329; - for (int _i1330 = 0; _i1330 < _list1328.size; ++_i1330) + org.apache.thrift.protocol.TList _list1336 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1336.size); + String _elem1337; + for (int _i1338 = 0; _i1338 < _list1336.size; ++_i1338) { - _elem1329 = iprot.readString(); - struct.part_vals.add(_elem1329); + _elem1337 = iprot.readString(); + struct.part_vals.add(_elem1337); } iprot.readListEnd(); } @@ -120655,9 +120810,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_has oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (String _iter1331 : struct.part_vals) + for (String _iter1339 : struct.part_vals) { - oprot.writeString(_iter1331); + oprot.writeString(_iter1339); } oprot.writeListEnd(); } @@ -120694,9 +120849,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_has_ if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (String _iter1332 : struct.part_vals) + for (String _iter1340 : struct.part_vals) { - oprot.writeString(_iter1332); + oprot.writeString(_iter1340); } } } @@ -120711,13 +120866,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_has_v BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1333 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1333.size); - String _elem1334; - for (int _i1335 = 0; _i1335 < _list1333.size; ++_i1335) + org.apache.thrift.protocol.TList _list1341 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1341.size); + String _elem1342; + for (int _i1343 = 0; _i1343 < _list1341.size; ++_i1343) { - _elem1334 = iprot.readString(); - struct.part_vals.add(_elem1334); + _elem1342 = iprot.readString(); + struct.part_vals.add(_elem1342); } } struct.setPart_valsIsSet(true); @@ -122872,13 +123027,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_v case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1336 = iprot.readListBegin(); - struct.success = new ArrayList(_list1336.size); - String _elem1337; - for (int _i1338 = 0; _i1338 < _list1336.size; ++_i1338) + org.apache.thrift.protocol.TList _list1344 = iprot.readListBegin(); + struct.success = new ArrayList(_list1344.size); + String _elem1345; + for (int _i1346 = 0; _i1346 < _list1344.size; ++_i1346) { - _elem1337 = iprot.readString(); - struct.success.add(_elem1337); + _elem1345 = iprot.readString(); + struct.success.add(_elem1345); } iprot.readListEnd(); } @@ -122913,9 +123068,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1339 : struct.success) + for (String _iter1347 : struct.success) { - oprot.writeString(_iter1339); + oprot.writeString(_iter1347); } oprot.writeListEnd(); } @@ -122954,9 +123109,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1340 : struct.success) + for (String _iter1348 : struct.success) { - oprot.writeString(_iter1340); + oprot.writeString(_iter1348); } } } @@ -122971,13 +123126,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_va BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1341 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1341.size); - String _elem1342; - for (int _i1343 = 0; _i1343 < _list1341.size; ++_i1343) + org.apache.thrift.protocol.TList _list1349 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1349.size); + String _elem1350; + for (int _i1351 = 0; _i1351 < _list1349.size; ++_i1351) { - _elem1342 = iprot.readString(); - struct.success.add(_elem1342); + _elem1350 = iprot.readString(); + struct.success.add(_elem1350); } } struct.setSuccessIsSet(true); @@ -123740,15 +123895,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, partition_name_to_s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1344 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1344.size); - String _key1345; - String _val1346; - for (int _i1347 = 0; _i1347 < _map1344.size; ++_i1347) + org.apache.thrift.protocol.TMap _map1352 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1352.size); + String _key1353; + String _val1354; + for (int _i1355 = 0; _i1355 < _map1352.size; ++_i1355) { - _key1345 = iprot.readString(); - _val1346 = iprot.readString(); - struct.success.put(_key1345, _val1346); + _key1353 = iprot.readString(); + _val1354 = iprot.readString(); + struct.success.put(_key1353, _val1354); } iprot.readMapEnd(); } @@ -123783,10 +123938,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, partition_name_to_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (Map.Entry _iter1348 : struct.success.entrySet()) + for (Map.Entry _iter1356 : struct.success.entrySet()) { - oprot.writeString(_iter1348.getKey()); - oprot.writeString(_iter1348.getValue()); + oprot.writeString(_iter1356.getKey()); + oprot.writeString(_iter1356.getValue()); } oprot.writeMapEnd(); } @@ -123825,10 +123980,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter1349 : struct.success.entrySet()) + for (Map.Entry _iter1357 : struct.success.entrySet()) { - oprot.writeString(_iter1349.getKey()); - oprot.writeString(_iter1349.getValue()); + oprot.writeString(_iter1357.getKey()); + oprot.writeString(_iter1357.getValue()); } } } @@ -123843,15 +123998,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, partition_name_to_sp BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1350 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new HashMap(2*_map1350.size); - String _key1351; - String _val1352; - for (int _i1353 = 0; _i1353 < _map1350.size; ++_i1353) + org.apache.thrift.protocol.TMap _map1358 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new HashMap(2*_map1358.size); + String _key1359; + String _val1360; + for (int _i1361 = 0; _i1361 < _map1358.size; ++_i1361) { - _key1351 = iprot.readString(); - _val1352 = iprot.readString(); - struct.success.put(_key1351, _val1352); + _key1359 = iprot.readString(); + _val1360 = iprot.readString(); + struct.success.put(_key1359, _val1360); } } struct.setSuccessIsSet(true); @@ -124446,15 +124601,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, markPartitionForEve case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1354 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1354.size); - String _key1355; - String _val1356; - for (int _i1357 = 0; _i1357 < _map1354.size; ++_i1357) + org.apache.thrift.protocol.TMap _map1362 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1362.size); + String _key1363; + String _val1364; + for (int _i1365 = 0; _i1365 < _map1362.size; ++_i1365) { - _key1355 = iprot.readString(); - _val1356 = iprot.readString(); - struct.part_vals.put(_key1355, _val1356); + _key1363 = iprot.readString(); + _val1364 = iprot.readString(); + struct.part_vals.put(_key1363, _val1364); } iprot.readMapEnd(); } @@ -124498,10 +124653,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, markPartitionForEv oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (Map.Entry _iter1358 : struct.part_vals.entrySet()) + for (Map.Entry _iter1366 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1358.getKey()); - oprot.writeString(_iter1358.getValue()); + oprot.writeString(_iter1366.getKey()); + oprot.writeString(_iter1366.getValue()); } oprot.writeMapEnd(); } @@ -124552,10 +124707,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1359 : struct.part_vals.entrySet()) + for (Map.Entry _iter1367 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1359.getKey()); - oprot.writeString(_iter1359.getValue()); + oprot.writeString(_iter1367.getKey()); + oprot.writeString(_iter1367.getValue()); } } } @@ -124578,15 +124733,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1360 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new HashMap(2*_map1360.size); - String _key1361; - String _val1362; - for (int _i1363 = 0; _i1363 < _map1360.size; ++_i1363) + org.apache.thrift.protocol.TMap _map1368 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new HashMap(2*_map1368.size); + String _key1369; + String _val1370; + for (int _i1371 = 0; _i1371 < _map1368.size; ++_i1371) { - _key1361 = iprot.readString(); - _val1362 = iprot.readString(); - struct.part_vals.put(_key1361, _val1362); + _key1369 = iprot.readString(); + _val1370 = iprot.readString(); + struct.part_vals.put(_key1369, _val1370); } } struct.setPart_valsIsSet(true); @@ -126070,15 +126225,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, isPartitionMarkedFo case 3: // PART_VALS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1364 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1364.size); - String _key1365; - String _val1366; - for (int _i1367 = 0; _i1367 < _map1364.size; ++_i1367) + org.apache.thrift.protocol.TMap _map1372 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1372.size); + String _key1373; + String _val1374; + for (int _i1375 = 0; _i1375 < _map1372.size; ++_i1375) { - _key1365 = iprot.readString(); - _val1366 = iprot.readString(); - struct.part_vals.put(_key1365, _val1366); + _key1373 = iprot.readString(); + _val1374 = iprot.readString(); + struct.part_vals.put(_key1373, _val1374); } iprot.readMapEnd(); } @@ -126122,10 +126277,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, isPartitionMarkedF oprot.writeFieldBegin(PART_VALS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.part_vals.size())); - for (Map.Entry _iter1368 : struct.part_vals.entrySet()) + for (Map.Entry _iter1376 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1368.getKey()); - oprot.writeString(_iter1368.getValue()); + oprot.writeString(_iter1376.getKey()); + oprot.writeString(_iter1376.getValue()); } oprot.writeMapEnd(); } @@ -126176,10 +126331,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1369 : struct.part_vals.entrySet()) + for (Map.Entry _iter1377 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1369.getKey()); - oprot.writeString(_iter1369.getValue()); + oprot.writeString(_iter1377.getKey()); + oprot.writeString(_iter1377.getValue()); } } } @@ -126202,15 +126357,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1370 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new HashMap(2*_map1370.size); - String _key1371; - String _val1372; - for (int _i1373 = 0; _i1373 < _map1370.size; ++_i1373) + org.apache.thrift.protocol.TMap _map1378 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new HashMap(2*_map1378.size); + String _key1379; + String _val1380; + for (int _i1381 = 0; _i1381 < _map1378.size; ++_i1381) { - _key1371 = iprot.readString(); - _val1372 = iprot.readString(); - struct.part_vals.put(_key1371, _val1372); + _key1379 = iprot.readString(); + _val1380 = iprot.readString(); + struct.part_vals.put(_key1379, _val1380); } } struct.setPart_valsIsSet(true); @@ -147628,13 +147783,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_functions_resul case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1374 = iprot.readListBegin(); - struct.success = new ArrayList(_list1374.size); - String _elem1375; - for (int _i1376 = 0; _i1376 < _list1374.size; ++_i1376) + org.apache.thrift.protocol.TList _list1382 = iprot.readListBegin(); + struct.success = new ArrayList(_list1382.size); + String _elem1383; + for (int _i1384 = 0; _i1384 < _list1382.size; ++_i1384) { - _elem1375 = iprot.readString(); - struct.success.add(_elem1375); + _elem1383 = iprot.readString(); + struct.success.add(_elem1383); } iprot.readListEnd(); } @@ -147669,9 +147824,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_functions_resu oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1377 : struct.success) + for (String _iter1385 : struct.success) { - oprot.writeString(_iter1377); + oprot.writeString(_iter1385); } oprot.writeListEnd(); } @@ -147710,9 +147865,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1378 : struct.success) + for (String _iter1386 : struct.success) { - oprot.writeString(_iter1378); + oprot.writeString(_iter1386); } } } @@ -147727,13 +147882,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_functions_result BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1379 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1379.size); - String _elem1380; - for (int _i1381 = 0; _i1381 < _list1379.size; ++_i1381) + org.apache.thrift.protocol.TList _list1387 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1387.size); + String _elem1388; + for (int _i1389 = 0; _i1389 < _list1387.size; ++_i1389) { - _elem1380 = iprot.readString(); - struct.success.add(_elem1380); + _elem1388 = iprot.readString(); + struct.success.add(_elem1388); } } struct.setSuccessIsSet(true); @@ -151788,13 +151943,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_role_names_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1382 = iprot.readListBegin(); - struct.success = new ArrayList(_list1382.size); - String _elem1383; - for (int _i1384 = 0; _i1384 < _list1382.size; ++_i1384) + org.apache.thrift.protocol.TList _list1390 = iprot.readListBegin(); + struct.success = new ArrayList(_list1390.size); + String _elem1391; + for (int _i1392 = 0; _i1392 < _list1390.size; ++_i1392) { - _elem1383 = iprot.readString(); - struct.success.add(_elem1383); + _elem1391 = iprot.readString(); + struct.success.add(_elem1391); } iprot.readListEnd(); } @@ -151829,9 +151984,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_role_names_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1385 : struct.success) + for (String _iter1393 : struct.success) { - oprot.writeString(_iter1385); + oprot.writeString(_iter1393); } oprot.writeListEnd(); } @@ -151870,9 +152025,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1386 : struct.success) + for (String _iter1394 : struct.success) { - oprot.writeString(_iter1386); + oprot.writeString(_iter1394); } } } @@ -151887,13 +152042,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_role_names_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1387 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1387.size); - String _elem1388; - for (int _i1389 = 0; _i1389 < _list1387.size; ++_i1389) + org.apache.thrift.protocol.TList _list1395 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1395.size); + String _elem1396; + for (int _i1397 = 0; _i1397 < _list1395.size; ++_i1397) { - _elem1388 = iprot.readString(); - struct.success.add(_elem1388); + _elem1396 = iprot.readString(); + struct.success.add(_elem1396); } } struct.setSuccessIsSet(true); @@ -155184,14 +155339,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, list_roles_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1390 = iprot.readListBegin(); - struct.success = new ArrayList(_list1390.size); - Role _elem1391; - for (int _i1392 = 0; _i1392 < _list1390.size; ++_i1392) + org.apache.thrift.protocol.TList _list1398 = iprot.readListBegin(); + struct.success = new ArrayList(_list1398.size); + Role _elem1399; + for (int _i1400 = 0; _i1400 < _list1398.size; ++_i1400) { - _elem1391 = new Role(); - _elem1391.read(iprot); - struct.success.add(_elem1391); + _elem1399 = new Role(); + _elem1399.read(iprot); + struct.success.add(_elem1399); } iprot.readListEnd(); } @@ -155226,9 +155381,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, list_roles_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Role _iter1393 : struct.success) + for (Role _iter1401 : struct.success) { - _iter1393.write(oprot); + _iter1401.write(oprot); } oprot.writeListEnd(); } @@ -155267,9 +155422,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1394 : struct.success) + for (Role _iter1402 : struct.success) { - _iter1394.write(oprot); + _iter1402.write(oprot); } } } @@ -155284,14 +155439,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_roles_result st BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1395 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1395.size); - Role _elem1396; - for (int _i1397 = 0; _i1397 < _list1395.size; ++_i1397) + org.apache.thrift.protocol.TList _list1403 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1403.size); + Role _elem1404; + for (int _i1405 = 0; _i1405 < _list1403.size; ++_i1405) { - _elem1396 = new Role(); - _elem1396.read(iprot); - struct.success.add(_elem1396); + _elem1404 = new Role(); + _elem1404.read(iprot); + struct.success.add(_elem1404); } } struct.setSuccessIsSet(true); @@ -158296,13 +158451,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_privilege_set_a case 3: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1398 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1398.size); - String _elem1399; - for (int _i1400 = 0; _i1400 < _list1398.size; ++_i1400) + org.apache.thrift.protocol.TList _list1406 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1406.size); + String _elem1407; + for (int _i1408 = 0; _i1408 < _list1406.size; ++_i1408) { - _elem1399 = iprot.readString(); - struct.group_names.add(_elem1399); + _elem1407 = iprot.readString(); + struct.group_names.add(_elem1407); } iprot.readListEnd(); } @@ -158338,9 +158493,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_privilege_set_ oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1401 : struct.group_names) + for (String _iter1409 : struct.group_names) { - oprot.writeString(_iter1401); + oprot.writeString(_iter1409); } oprot.writeListEnd(); } @@ -158383,9 +158538,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_a if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1402 : struct.group_names) + for (String _iter1410 : struct.group_names) { - oprot.writeString(_iter1402); + oprot.writeString(_iter1410); } } } @@ -158406,13 +158561,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1403 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1403.size); - String _elem1404; - for (int _i1405 = 0; _i1405 < _list1403.size; ++_i1405) + org.apache.thrift.protocol.TList _list1411 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1411.size); + String _elem1412; + for (int _i1413 = 0; _i1413 < _list1411.size; ++_i1413) { - _elem1404 = iprot.readString(); - struct.group_names.add(_elem1404); + _elem1412 = iprot.readString(); + struct.group_names.add(_elem1412); } } struct.setGroup_namesIsSet(true); @@ -159870,14 +160025,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, list_privileges_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1406 = iprot.readListBegin(); - struct.success = new ArrayList(_list1406.size); - HiveObjectPrivilege _elem1407; - for (int _i1408 = 0; _i1408 < _list1406.size; ++_i1408) + org.apache.thrift.protocol.TList _list1414 = iprot.readListBegin(); + struct.success = new ArrayList(_list1414.size); + HiveObjectPrivilege _elem1415; + for (int _i1416 = 0; _i1416 < _list1414.size; ++_i1416) { - _elem1407 = new HiveObjectPrivilege(); - _elem1407.read(iprot); - struct.success.add(_elem1407); + _elem1415 = new HiveObjectPrivilege(); + _elem1415.read(iprot); + struct.success.add(_elem1415); } iprot.readListEnd(); } @@ -159912,9 +160067,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, list_privileges_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (HiveObjectPrivilege _iter1409 : struct.success) + for (HiveObjectPrivilege _iter1417 : struct.success) { - _iter1409.write(oprot); + _iter1417.write(oprot); } oprot.writeListEnd(); } @@ -159953,9 +160108,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1410 : struct.success) + for (HiveObjectPrivilege _iter1418 : struct.success) { - _iter1410.write(oprot); + _iter1418.write(oprot); } } } @@ -159970,14 +160125,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, list_privileges_resu BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1411 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1411.size); - HiveObjectPrivilege _elem1412; - for (int _i1413 = 0; _i1413 < _list1411.size; ++_i1413) + org.apache.thrift.protocol.TList _list1419 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1419.size); + HiveObjectPrivilege _elem1420; + for (int _i1421 = 0; _i1421 < _list1419.size; ++_i1421) { - _elem1412 = new HiveObjectPrivilege(); - _elem1412.read(iprot); - struct.success.add(_elem1412); + _elem1420 = new HiveObjectPrivilege(); + _elem1420.read(iprot); + struct.success.add(_elem1420); } } struct.setSuccessIsSet(true); @@ -162879,13 +163034,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, set_ugi_args struct case 2: // GROUP_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1414 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1414.size); - String _elem1415; - for (int _i1416 = 0; _i1416 < _list1414.size; ++_i1416) + org.apache.thrift.protocol.TList _list1422 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1422.size); + String _elem1423; + for (int _i1424 = 0; _i1424 < _list1422.size; ++_i1424) { - _elem1415 = iprot.readString(); - struct.group_names.add(_elem1415); + _elem1423 = iprot.readString(); + struct.group_names.add(_elem1423); } iprot.readListEnd(); } @@ -162916,9 +163071,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, set_ugi_args struc oprot.writeFieldBegin(GROUP_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.group_names.size())); - for (String _iter1417 : struct.group_names) + for (String _iter1425 : struct.group_names) { - oprot.writeString(_iter1417); + oprot.writeString(_iter1425); } oprot.writeListEnd(); } @@ -162955,9 +163110,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct if (struct.isSetGroup_names()) { { oprot.writeI32(struct.group_names.size()); - for (String _iter1418 : struct.group_names) + for (String _iter1426 : struct.group_names) { - oprot.writeString(_iter1418); + oprot.writeString(_iter1426); } } } @@ -162973,13 +163128,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1419 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1419.size); - String _elem1420; - for (int _i1421 = 0; _i1421 < _list1419.size; ++_i1421) + org.apache.thrift.protocol.TList _list1427 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1427.size); + String _elem1428; + for (int _i1429 = 0; _i1429 < _list1427.size; ++_i1429) { - _elem1420 = iprot.readString(); - struct.group_names.add(_elem1420); + _elem1428 = iprot.readString(); + struct.group_names.add(_elem1428); } } struct.setGroup_namesIsSet(true); @@ -163382,13 +163537,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, set_ugi_result stru case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1422 = iprot.readListBegin(); - struct.success = new ArrayList(_list1422.size); - String _elem1423; - for (int _i1424 = 0; _i1424 < _list1422.size; ++_i1424) + org.apache.thrift.protocol.TList _list1430 = iprot.readListBegin(); + struct.success = new ArrayList(_list1430.size); + String _elem1431; + for (int _i1432 = 0; _i1432 < _list1430.size; ++_i1432) { - _elem1423 = iprot.readString(); - struct.success.add(_elem1423); + _elem1431 = iprot.readString(); + struct.success.add(_elem1431); } iprot.readListEnd(); } @@ -163423,9 +163578,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, set_ugi_result str oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1425 : struct.success) + for (String _iter1433 : struct.success) { - oprot.writeString(_iter1425); + oprot.writeString(_iter1433); } oprot.writeListEnd(); } @@ -163464,9 +163619,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1426 : struct.success) + for (String _iter1434 : struct.success) { - oprot.writeString(_iter1426); + oprot.writeString(_iter1434); } } } @@ -163481,13 +163636,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_result struc BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1427 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1427.size); - String _elem1428; - for (int _i1429 = 0; _i1429 < _list1427.size; ++_i1429) + org.apache.thrift.protocol.TList _list1435 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1435.size); + String _elem1436; + for (int _i1437 = 0; _i1437 < _list1435.size; ++_i1437) { - _elem1428 = iprot.readString(); - struct.success.add(_elem1428); + _elem1436 = iprot.readString(); + struct.success.add(_elem1436); } } struct.setSuccessIsSet(true); @@ -168778,13 +168933,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_token_ident case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1430 = iprot.readListBegin(); - struct.success = new ArrayList(_list1430.size); - String _elem1431; - for (int _i1432 = 0; _i1432 < _list1430.size; ++_i1432) + org.apache.thrift.protocol.TList _list1438 = iprot.readListBegin(); + struct.success = new ArrayList(_list1438.size); + String _elem1439; + for (int _i1440 = 0; _i1440 < _list1438.size; ++_i1440) { - _elem1431 = iprot.readString(); - struct.success.add(_elem1431); + _elem1439 = iprot.readString(); + struct.success.add(_elem1439); } iprot.readListEnd(); } @@ -168810,9 +168965,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_token_iden oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1433 : struct.success) + for (String _iter1441 : struct.success) { - oprot.writeString(_iter1433); + oprot.writeString(_iter1441); } oprot.writeListEnd(); } @@ -168843,9 +168998,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1434 : struct.success) + for (String _iter1442 : struct.success) { - oprot.writeString(_iter1434); + oprot.writeString(_iter1442); } } } @@ -168857,13 +169012,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_token_identi BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1435 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1435.size); - String _elem1436; - for (int _i1437 = 0; _i1437 < _list1435.size; ++_i1437) + org.apache.thrift.protocol.TList _list1443 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1443.size); + String _elem1444; + for (int _i1445 = 0; _i1445 < _list1443.size; ++_i1445) { - _elem1436 = iprot.readString(); - struct.success.add(_elem1436); + _elem1444 = iprot.readString(); + struct.success.add(_elem1444); } } struct.setSuccessIsSet(true); @@ -170691,88 +170846,747 @@ public String getFieldName() { return _fieldName; } } - - // isset id assignments - private static final int __KEY_SEQ_ISSET_ID = 0; - private byte __isset_bitfield = 0; + + // isset id assignments + private static final int __KEY_SEQ_ISSET_ID = 0; + private byte __isset_bitfield = 0; + 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.KEY_SEQ, new org.apache.thrift.meta_data.FieldMetaData("key_seq", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(remove_master_key_args.class, metaDataMap); + } + + public remove_master_key_args() { + } + + public remove_master_key_args( + int key_seq) + { + this(); + this.key_seq = key_seq; + setKey_seqIsSet(true); + } + + /** + * Performs a deep copy on other. + */ + public remove_master_key_args(remove_master_key_args other) { + __isset_bitfield = other.__isset_bitfield; + this.key_seq = other.key_seq; + } + + public remove_master_key_args deepCopy() { + return new remove_master_key_args(this); + } + + @Override + public void clear() { + setKey_seqIsSet(false); + this.key_seq = 0; + } + + public int getKey_seq() { + return this.key_seq; + } + + public void setKey_seq(int key_seq) { + this.key_seq = key_seq; + setKey_seqIsSet(true); + } + + public void unsetKey_seq() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __KEY_SEQ_ISSET_ID); + } + + /** Returns true if field key_seq is set (has been assigned a value) and false otherwise */ + public boolean isSetKey_seq() { + return EncodingUtils.testBit(__isset_bitfield, __KEY_SEQ_ISSET_ID); + } + + public void setKey_seqIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __KEY_SEQ_ISSET_ID, value); + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY_SEQ: + if (value == null) { + unsetKey_seq(); + } else { + setKey_seq((Integer)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY_SEQ: + return getKey_seq(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case KEY_SEQ: + return isSetKey_seq(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof remove_master_key_args) + return this.equals((remove_master_key_args)that); + return false; + } + + public boolean equals(remove_master_key_args that) { + if (that == null) + return false; + + boolean this_present_key_seq = true; + boolean that_present_key_seq = true; + if (this_present_key_seq || that_present_key_seq) { + if (!(this_present_key_seq && that_present_key_seq)) + return false; + if (this.key_seq != that.key_seq) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key_seq = true; + list.add(present_key_seq); + if (present_key_seq) + list.add(key_seq); + + return list.hashCode(); + } + + @Override + public int compareTo(remove_master_key_args other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey_seq()).compareTo(other.isSetKey_seq()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetKey_seq()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.key_seq, other.key_seq); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("remove_master_key_args("); + boolean first = true; + + sb.append("key_seq:"); + sb.append(this.key_seq); + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class remove_master_key_argsStandardSchemeFactory implements SchemeFactory { + public remove_master_key_argsStandardScheme getScheme() { + return new remove_master_key_argsStandardScheme(); + } + } + + private static class remove_master_key_argsStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_args struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // KEY_SEQ + if (schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.key_seq = iprot.readI32(); + struct.setKey_seqIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, remove_master_key_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(KEY_SEQ_FIELD_DESC); + oprot.writeI32(struct.key_seq); + oprot.writeFieldEnd(); + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class remove_master_key_argsTupleSchemeFactory implements SchemeFactory { + public remove_master_key_argsTupleScheme getScheme() { + return new remove_master_key_argsTupleScheme(); + } + } + + private static class remove_master_key_argsTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, remove_master_key_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetKey_seq()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetKey_seq()) { + oprot.writeI32(struct.key_seq); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, remove_master_key_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.key_seq = iprot.readI32(); + struct.setKey_seqIsSet(true); + } + } + } + + } + + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class remove_master_key_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("remove_master_key_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new remove_master_key_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new remove_master_key_resultTupleSchemeFactory()); + } + + private boolean success; // required + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short)0, "success"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 0: // SUCCESS + return SUCCESS; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final int __SUCCESS_ISSET_ID = 0; + private byte __isset_bitfield = 0; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(remove_master_key_result.class, metaDataMap); + } + + public remove_master_key_result() { + } + + public remove_master_key_result( + boolean success) + { + this(); + this.success = success; + setSuccessIsSet(true); + } + + /** + * Performs a deep copy on other. + */ + public remove_master_key_result(remove_master_key_result other) { + __isset_bitfield = other.__isset_bitfield; + this.success = other.success; + } + + public remove_master_key_result deepCopy() { + return new remove_master_key_result(this); + } + + @Override + public void clear() { + setSuccessIsSet(false); + this.success = false; + } + + public boolean isSuccess() { + return this.success; + } + + public void setSuccess(boolean success) { + this.success = success; + setSuccessIsSet(true); + } + + public void unsetSuccess() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + } + + /** Returns true if field success is set (has been assigned a value) and false otherwise */ + public boolean isSetSuccess() { + return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + } + + public void setSuccessIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((Boolean)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return isSuccess(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case SUCCESS: + return isSetSuccess(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof remove_master_key_result) + return this.equals((remove_master_key_result)that); + return false; + } + + public boolean equals(remove_master_key_result that) { + if (that == null) + return false; + + boolean this_present_success = true; + boolean that_present_success = true; + if (this_present_success || that_present_success) { + if (!(this_present_success && that_present_success)) + return false; + if (this.success != that.success) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true; + list.add(present_success); + if (present_success) + list.add(success); + + return list.hashCode(); + } + + @Override + public int compareTo(remove_master_key_result other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("remove_master_key_result("); + boolean first = true; + + sb.append("success:"); + sb.append(this.success); + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. + __isset_bitfield = 0; + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class remove_master_key_resultStandardSchemeFactory implements SchemeFactory { + public remove_master_key_resultStandardScheme getScheme() { + return new remove_master_key_resultStandardScheme(); + } + } + + private static class remove_master_key_resultStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_result struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, remove_master_key_result struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.isSetSuccess()) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + oprot.writeBool(struct.success); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class remove_master_key_resultTupleSchemeFactory implements SchemeFactory { + public remove_master_key_resultTupleScheme getScheme() { + return new remove_master_key_resultTupleScheme(); + } + } + + private static class remove_master_key_resultTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, remove_master_key_result struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetSuccess()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetSuccess()) { + oprot.writeBool(struct.success); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, remove_master_key_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + } + } + + } + + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_master_keys_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_master_keys_args"); + + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new get_master_keys_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_master_keys_argsTupleSchemeFactory()); + } + + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { +; + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } 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.KEY_SEQ, new org.apache.thrift.meta_data.FieldMetaData("key_seq", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(remove_master_key_args.class, metaDataMap); - } - - public remove_master_key_args() { + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_master_keys_args.class, metaDataMap); } - public remove_master_key_args( - int key_seq) - { - this(); - this.key_seq = key_seq; - setKey_seqIsSet(true); + public get_master_keys_args() { } /** * Performs a deep copy on other. */ - public remove_master_key_args(remove_master_key_args other) { - __isset_bitfield = other.__isset_bitfield; - this.key_seq = other.key_seq; + public get_master_keys_args(get_master_keys_args other) { } - public remove_master_key_args deepCopy() { - return new remove_master_key_args(this); + public get_master_keys_args deepCopy() { + return new get_master_keys_args(this); } @Override public void clear() { - setKey_seqIsSet(false); - this.key_seq = 0; - } - - public int getKey_seq() { - return this.key_seq; - } - - public void setKey_seq(int key_seq) { - this.key_seq = key_seq; - setKey_seqIsSet(true); - } - - public void unsetKey_seq() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __KEY_SEQ_ISSET_ID); - } - - /** Returns true if field key_seq is set (has been assigned a value) and false otherwise */ - public boolean isSetKey_seq() { - return EncodingUtils.testBit(__isset_bitfield, __KEY_SEQ_ISSET_ID); - } - - public void setKey_seqIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __KEY_SEQ_ISSET_ID, value); } public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY_SEQ: - if (value == null) { - unsetKey_seq(); - } else { - setKey_seq((Integer)value); - } - break; - } } public Object getFieldValue(_Fields field) { switch (field) { - case KEY_SEQ: - return getKey_seq(); - } throw new IllegalStateException(); } @@ -170784,8 +171598,6 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY_SEQ: - return isSetKey_seq(); } throw new IllegalStateException(); } @@ -170794,24 +171606,15 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof remove_master_key_args) - return this.equals((remove_master_key_args)that); + if (that instanceof get_master_keys_args) + return this.equals((get_master_keys_args)that); return false; } - public boolean equals(remove_master_key_args that) { + public boolean equals(get_master_keys_args that) { if (that == null) return false; - boolean this_present_key_seq = true; - boolean that_present_key_seq = true; - if (this_present_key_seq || that_present_key_seq) { - if (!(this_present_key_seq && that_present_key_seq)) - return false; - if (this.key_seq != that.key_seq) - return false; - } - return true; } @@ -170819,32 +171622,17 @@ public boolean equals(remove_master_key_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key_seq = true; - list.add(present_key_seq); - if (present_key_seq) - list.add(key_seq); - return list.hashCode(); } @Override - public int compareTo(remove_master_key_args other) { + public int compareTo(get_master_keys_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey_seq()).compareTo(other.isSetKey_seq()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetKey_seq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.key_seq, other.key_seq); - if (lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -170862,12 +171650,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("remove_master_key_args("); + StringBuilder sb = new StringBuilder("get_master_keys_args("); boolean first = true; - sb.append("key_seq:"); - sb.append(this.key_seq); - first = false; sb.append(")"); return sb.toString(); } @@ -170887,23 +171672,21 @@ 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); } } - private static class remove_master_key_argsStandardSchemeFactory implements SchemeFactory { - public remove_master_key_argsStandardScheme getScheme() { - return new remove_master_key_argsStandardScheme(); + private static class get_master_keys_argsStandardSchemeFactory implements SchemeFactory { + public get_master_keys_argsStandardScheme getScheme() { + return new get_master_keys_argsStandardScheme(); } } - private static class remove_master_key_argsStandardScheme extends StandardScheme { + private static class get_master_keys_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -170913,14 +171696,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_a break; } switch (schemeField.id) { - case 1: // KEY_SEQ - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.key_seq = iprot.readI32(); - struct.setKey_seqIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -170930,65 +171705,49 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_a struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, remove_master_key_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - oprot.writeFieldBegin(KEY_SEQ_FIELD_DESC); - oprot.writeI32(struct.key_seq); - oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class remove_master_key_argsTupleSchemeFactory implements SchemeFactory { - public remove_master_key_argsTupleScheme getScheme() { - return new remove_master_key_argsTupleScheme(); + private static class get_master_keys_argsTupleSchemeFactory implements SchemeFactory { + public get_master_keys_argsTupleScheme getScheme() { + return new get_master_keys_argsTupleScheme(); } } - private static class remove_master_key_argsTupleScheme extends TupleScheme { + private static class get_master_keys_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, remove_master_key_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; - BitSet optionals = new BitSet(); - if (struct.isSetKey_seq()) { - optionals.set(0); - } - oprot.writeBitSet(optionals, 1); - if (struct.isSetKey_seq()) { - oprot.writeI32(struct.key_seq); - } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, remove_master_key_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.key_seq = iprot.readI32(); - struct.setKey_seqIsSet(true); - } } } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class remove_master_key_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("remove_master_key_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_master_keys_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_master_keys_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new remove_master_key_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new remove_master_key_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_master_keys_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_master_keys_resultTupleSchemeFactory()); } - private boolean success; // required + private List success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { @@ -171049,66 +171808,81 @@ public String getFieldName() { } // isset id assignments - private static final int __SUCCESS_ISSET_ID = 0; - private byte __isset_bitfield = 0; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(remove_master_key_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_master_keys_result.class, metaDataMap); } - public remove_master_key_result() { + public get_master_keys_result() { } - public remove_master_key_result( - boolean success) + public get_master_keys_result( + List success) { this(); this.success = success; - setSuccessIsSet(true); } /** * Performs a deep copy on other. */ - public remove_master_key_result(remove_master_key_result other) { - __isset_bitfield = other.__isset_bitfield; - this.success = other.success; + public get_master_keys_result(get_master_keys_result other) { + if (other.isSetSuccess()) { + List __this__success = new ArrayList(other.success); + this.success = __this__success; + } } - public remove_master_key_result deepCopy() { - return new remove_master_key_result(this); + public get_master_keys_result deepCopy() { + return new get_master_keys_result(this); } @Override public void clear() { - setSuccessIsSet(false); - this.success = false; + this.success = null; } - public boolean isSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(String elem) { + if (this.success == null) { + this.success = new ArrayList(); + } + this.success.add(elem); + } + + public List getSuccess() { return this.success; } - public void setSuccess(boolean success) { + public void setSuccess(List success) { this.success = success; - setSuccessIsSet(true); } public void unsetSuccess() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + this.success = null; } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return this.success != null; } public void setSuccessIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + if (!value) { + this.success = null; + } } public void setFieldValue(_Fields field, Object value) { @@ -171117,7 +171891,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((Boolean)value); + setSuccess((List)value); } break; @@ -171127,7 +171901,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return isSuccess(); + return getSuccess(); } throw new IllegalStateException(); @@ -171150,21 +171924,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof remove_master_key_result) - return this.equals((remove_master_key_result)that); + if (that instanceof get_master_keys_result) + return this.equals((get_master_keys_result)that); return false; } - public boolean equals(remove_master_key_result that) { + public boolean equals(get_master_keys_result that) { if (that == null) return false; - boolean this_present_success = true; - boolean that_present_success = true; + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); if (this_present_success || that_present_success) { if (!(this_present_success && that_present_success)) return false; - if (this.success != that.success) + if (!this.success.equals(that.success)) return false; } @@ -171175,7 +171949,7 @@ public boolean equals(remove_master_key_result that) { public int hashCode() { List list = new ArrayList(); - boolean present_success = true; + boolean present_success = true && (isSetSuccess()); list.add(present_success); if (present_success) list.add(success); @@ -171184,7 +171958,7 @@ public int hashCode() { } @Override - public int compareTo(remove_master_key_result other) { + public int compareTo(get_master_keys_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -171218,11 +171992,15 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("remove_master_key_result("); + StringBuilder sb = new StringBuilder("get_master_keys_result("); boolean first = true; sb.append("success:"); - sb.append(this.success); + if (this.success == null) { + sb.append("null"); + } else { + sb.append(this.success); + } first = false; sb.append(")"); return sb.toString(); @@ -171243,23 +172021,21 @@ 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); } } - private static class remove_master_key_resultStandardSchemeFactory implements SchemeFactory { - public remove_master_key_resultStandardScheme getScheme() { - return new remove_master_key_resultStandardScheme(); + private static class get_master_keys_resultStandardSchemeFactory implements SchemeFactory { + public get_master_keys_resultStandardScheme getScheme() { + return new get_master_keys_resultStandardScheme(); } } - private static class remove_master_key_resultStandardScheme extends StandardScheme { + private static class get_master_keys_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -171270,8 +172046,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_r } switch (schemeField.id) { case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1446 = iprot.readListBegin(); + struct.success = new ArrayList(_list1446.size); + String _elem1447; + for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) + { + _elem1447 = iprot.readString(); + struct.success.add(_elem1447); + } + iprot.readListEnd(); + } struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -171286,13 +172072,20 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_r struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, remove_master_key_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.isSetSuccess()) { + if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - oprot.writeBool(struct.success); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); + for (String _iter1449 : struct.success) + { + oprot.writeString(_iter1449); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -171301,16 +172094,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, remove_master_key_ } - private static class remove_master_key_resultTupleSchemeFactory implements SchemeFactory { - public remove_master_key_resultTupleScheme getScheme() { - return new remove_master_key_resultTupleScheme(); + private static class get_master_keys_resultTupleSchemeFactory implements SchemeFactory { + public get_master_keys_resultTupleScheme getScheme() { + return new get_master_keys_resultTupleScheme(); } } - private static class remove_master_key_resultTupleScheme extends TupleScheme { + private static class get_master_keys_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, remove_master_key_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -171318,16 +172111,31 @@ public void write(org.apache.thrift.protocol.TProtocol prot, remove_master_key_r } oprot.writeBitSet(optionals, 1); if (struct.isSetSuccess()) { - oprot.writeBool(struct.success); + { + oprot.writeI32(struct.success.size()); + for (String _iter1450 : struct.success) + { + oprot.writeString(_iter1450); + } + } } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, remove_master_key_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.success = iprot.readBool(); + { + org.apache.thrift.protocol.TList _list1451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1451.size); + String _elem1452; + for (int _i1453 = 0; _i1453 < _list1451.size; ++_i1453) + { + _elem1452 = iprot.readString(); + struct.success.add(_elem1452); + } + } struct.setSuccessIsSet(true); } } @@ -171335,14 +172143,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, remove_master_key_re } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_master_keys_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_master_keys_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_open_txns_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_open_txns_args"); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_master_keys_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_master_keys_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_open_txns_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_open_txns_argsTupleSchemeFactory()); } @@ -171405,20 +172213,20 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_master_keys_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_args.class, metaDataMap); } - public get_master_keys_args() { + public get_open_txns_args() { } /** * Performs a deep copy on other. */ - public get_master_keys_args(get_master_keys_args other) { + public get_open_txns_args(get_open_txns_args other) { } - public get_master_keys_args deepCopy() { - return new get_master_keys_args(this); + public get_open_txns_args deepCopy() { + return new get_open_txns_args(this); } @Override @@ -171451,12 +172259,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_master_keys_args) - return this.equals((get_master_keys_args)that); + if (that instanceof get_open_txns_args) + return this.equals((get_open_txns_args)that); return false; } - public boolean equals(get_master_keys_args that) { + public boolean equals(get_open_txns_args that) { if (that == null) return false; @@ -171471,7 +172279,7 @@ public int hashCode() { } @Override - public int compareTo(get_master_keys_args other) { + public int compareTo(get_open_txns_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -171495,7 +172303,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_master_keys_args("); + StringBuilder sb = new StringBuilder("get_open_txns_args("); boolean first = true; sb.append(")"); @@ -171523,15 +172331,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_master_keys_argsStandardSchemeFactory implements SchemeFactory { - public get_master_keys_argsStandardScheme getScheme() { - return new get_master_keys_argsStandardScheme(); + private static class get_open_txns_argsStandardSchemeFactory implements SchemeFactory { + public get_open_txns_argsStandardScheme getScheme() { + return new get_open_txns_argsStandardScheme(); } } - private static class get_master_keys_argsStandardScheme extends StandardScheme { + private static class get_open_txns_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -171550,7 +172358,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_arg struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -171560,39 +172368,39 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_ar } - private static class get_master_keys_argsTupleSchemeFactory implements SchemeFactory { - public get_master_keys_argsTupleScheme getScheme() { - return new get_master_keys_argsTupleScheme(); + private static class get_open_txns_argsTupleSchemeFactory implements SchemeFactory { + public get_open_txns_argsTupleScheme getScheme() { + return new get_open_txns_argsTupleScheme(); } } - private static class get_master_keys_argsTupleScheme extends TupleScheme { + private static class get_open_txns_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; } } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_master_keys_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_master_keys_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_open_txns_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_open_txns_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_master_keys_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_master_keys_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_open_txns_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_open_txns_resultTupleSchemeFactory()); } - private List success; // required + private GetOpenTxnsResponse success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { @@ -171657,17 +172465,16 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetOpenTxnsResponse.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_master_keys_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_result.class, metaDataMap); } - public get_master_keys_result() { + public get_open_txns_result() { } - public get_master_keys_result( - List success) + public get_open_txns_result( + GetOpenTxnsResponse success) { this(); this.success = success; @@ -171676,15 +172483,14 @@ public get_master_keys_result( /** * Performs a deep copy on other. */ - public get_master_keys_result(get_master_keys_result other) { + public get_open_txns_result(get_open_txns_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(other.success); - this.success = __this__success; + this.success = new GetOpenTxnsResponse(other.success); } } - public get_master_keys_result deepCopy() { - return new get_master_keys_result(this); + public get_open_txns_result deepCopy() { + return new get_open_txns_result(this); } @Override @@ -171692,26 +172498,11 @@ public void clear() { this.success = null; } - public int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); - } - - public java.util.Iterator getSuccessIterator() { - return (this.success == null) ? null : this.success.iterator(); - } - - public void addToSuccess(String elem) { - if (this.success == null) { - this.success = new ArrayList(); - } - this.success.add(elem); - } - - public List getSuccess() { + public GetOpenTxnsResponse getSuccess() { return this.success; } - public void setSuccess(List success) { + public void setSuccess(GetOpenTxnsResponse success) { this.success = success; } @@ -171736,7 +172527,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((List)value); + setSuccess((GetOpenTxnsResponse)value); } break; @@ -171769,12 +172560,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_master_keys_result) - return this.equals((get_master_keys_result)that); + if (that instanceof get_open_txns_result) + return this.equals((get_open_txns_result)that); return false; } - public boolean equals(get_master_keys_result that) { + public boolean equals(get_open_txns_result that) { if (that == null) return false; @@ -171803,7 +172594,7 @@ public int hashCode() { } @Override - public int compareTo(get_master_keys_result other) { + public int compareTo(get_open_txns_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -171837,7 +172628,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_master_keys_result("); + StringBuilder sb = new StringBuilder("get_open_txns_result("); boolean first = true; sb.append("success:"); @@ -171854,6 +172645,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if (success != null) { + success.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -171872,15 +172666,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_master_keys_resultStandardSchemeFactory implements SchemeFactory { - public get_master_keys_resultStandardScheme getScheme() { - return new get_master_keys_resultStandardScheme(); + private static class get_open_txns_resultStandardSchemeFactory implements SchemeFactory { + public get_open_txns_resultStandardScheme getScheme() { + return new get_open_txns_resultStandardScheme(); } } - private static class get_master_keys_resultStandardScheme extends StandardScheme { + private static class get_open_txns_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -171891,18 +172685,9 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_res } switch (schemeField.id) { case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1438 = iprot.readListBegin(); - struct.success = new ArrayList(_list1438.size); - String _elem1439; - for (int _i1440 = 0; _i1440 < _list1438.size; ++_i1440) - { - _elem1439 = iprot.readString(); - struct.success.add(_elem1439); - } - iprot.readListEnd(); - } + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new GetOpenTxnsResponse(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -171917,20 +172702,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_res struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1441 : struct.success) - { - oprot.writeString(_iter1441); - } - oprot.writeListEnd(); - } + struct.success.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -171939,16 +172717,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_re } - private static class get_master_keys_resultTupleSchemeFactory implements SchemeFactory { - public get_master_keys_resultTupleScheme getScheme() { - return new get_master_keys_resultTupleScheme(); + private static class get_open_txns_resultTupleSchemeFactory implements SchemeFactory { + public get_open_txns_resultTupleScheme getScheme() { + return new get_open_txns_resultTupleScheme(); } } - private static class get_master_keys_resultTupleScheme extends TupleScheme { + private static class get_open_txns_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -171956,31 +172734,17 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_res } oprot.writeBitSet(optionals, 1); if (struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (String _iter1442 : struct.success) - { - oprot.writeString(_iter1442); - } - } + struct.success.write(oprot); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list1443 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1443.size); - String _elem1444; - for (int _i1445 = 0; _i1445 < _list1443.size; ++_i1445) - { - _elem1444 = iprot.readString(); - struct.success.add(_elem1444); - } - } + struct.success = new GetOpenTxnsResponse(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } } @@ -171988,14 +172752,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_resu } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_open_txns_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_open_txns_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_open_txns_info_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_open_txns_info_args"); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_open_txns_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_open_txns_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_open_txns_info_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_open_txns_info_argsTupleSchemeFactory()); } @@ -172058,20 +172822,20 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_info_args.class, metaDataMap); } - public get_open_txns_args() { + public get_open_txns_info_args() { } /** * Performs a deep copy on other. */ - public get_open_txns_args(get_open_txns_args other) { + public get_open_txns_info_args(get_open_txns_info_args other) { } - public get_open_txns_args deepCopy() { - return new get_open_txns_args(this); + public get_open_txns_info_args deepCopy() { + return new get_open_txns_info_args(this); } @Override @@ -172104,12 +172868,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_open_txns_args) - return this.equals((get_open_txns_args)that); + if (that instanceof get_open_txns_info_args) + return this.equals((get_open_txns_info_args)that); return false; } - public boolean equals(get_open_txns_args that) { + public boolean equals(get_open_txns_info_args that) { if (that == null) return false; @@ -172124,7 +172888,7 @@ public int hashCode() { } @Override - public int compareTo(get_open_txns_args other) { + public int compareTo(get_open_txns_info_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -172148,7 +172912,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_open_txns_args("); + StringBuilder sb = new StringBuilder("get_open_txns_info_args("); boolean first = true; sb.append(")"); @@ -172176,15 +172940,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_open_txns_argsStandardSchemeFactory implements SchemeFactory { - public get_open_txns_argsStandardScheme getScheme() { - return new get_open_txns_argsStandardScheme(); + private static class get_open_txns_info_argsStandardSchemeFactory implements SchemeFactory { + public get_open_txns_info_argsStandardScheme getScheme() { + return new get_open_txns_info_argsStandardScheme(); } } - private static class get_open_txns_argsStandardScheme extends StandardScheme { + private static class get_open_txns_info_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -172203,7 +172967,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_args struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_info_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -172213,39 +172977,39 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_args } - private static class get_open_txns_argsTupleSchemeFactory implements SchemeFactory { - public get_open_txns_argsTupleScheme getScheme() { - return new get_open_txns_argsTupleScheme(); + private static class get_open_txns_info_argsTupleSchemeFactory implements SchemeFactory { + public get_open_txns_info_argsTupleScheme getScheme() { + return new get_open_txns_info_argsTupleScheme(); } } - private static class get_open_txns_argsTupleScheme extends TupleScheme { + private static class get_open_txns_info_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; } } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_open_txns_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_open_txns_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_open_txns_info_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_open_txns_info_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_open_txns_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_open_txns_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_open_txns_info_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_open_txns_info_resultTupleSchemeFactory()); } - private GetOpenTxnsResponse success; // required + private GetOpenTxnsInfoResponse success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { @@ -172310,16 +173074,16 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetOpenTxnsResponse.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetOpenTxnsInfoResponse.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_info_result.class, metaDataMap); } - public get_open_txns_result() { + public get_open_txns_info_result() { } - public get_open_txns_result( - GetOpenTxnsResponse success) + public get_open_txns_info_result( + GetOpenTxnsInfoResponse success) { this(); this.success = success; @@ -172328,14 +173092,14 @@ public get_open_txns_result( /** * Performs a deep copy on other. */ - public get_open_txns_result(get_open_txns_result other) { + public get_open_txns_info_result(get_open_txns_info_result other) { if (other.isSetSuccess()) { - this.success = new GetOpenTxnsResponse(other.success); + this.success = new GetOpenTxnsInfoResponse(other.success); } } - public get_open_txns_result deepCopy() { - return new get_open_txns_result(this); + public get_open_txns_info_result deepCopy() { + return new get_open_txns_info_result(this); } @Override @@ -172343,11 +173107,11 @@ public void clear() { this.success = null; } - public GetOpenTxnsResponse getSuccess() { + public GetOpenTxnsInfoResponse getSuccess() { return this.success; } - public void setSuccess(GetOpenTxnsResponse success) { + public void setSuccess(GetOpenTxnsInfoResponse success) { this.success = success; } @@ -172372,7 +173136,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((GetOpenTxnsResponse)value); + setSuccess((GetOpenTxnsInfoResponse)value); } break; @@ -172405,12 +173169,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_open_txns_result) - return this.equals((get_open_txns_result)that); + if (that instanceof get_open_txns_info_result) + return this.equals((get_open_txns_info_result)that); return false; } - public boolean equals(get_open_txns_result that) { + public boolean equals(get_open_txns_info_result that) { if (that == null) return false; @@ -172439,7 +173203,7 @@ public int hashCode() { } @Override - public int compareTo(get_open_txns_result other) { + public int compareTo(get_open_txns_info_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -172473,7 +173237,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_open_txns_result("); + StringBuilder sb = new StringBuilder("get_open_txns_info_result("); boolean first = true; sb.append("success:"); @@ -172511,15 +173275,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_open_txns_resultStandardSchemeFactory implements SchemeFactory { - public get_open_txns_resultStandardScheme getScheme() { - return new get_open_txns_resultStandardScheme(); + private static class get_open_txns_info_resultStandardSchemeFactory implements SchemeFactory { + public get_open_txns_info_resultStandardScheme getScheme() { + return new get_open_txns_info_resultStandardScheme(); } } - private static class get_open_txns_resultStandardScheme extends StandardScheme { + private static class get_open_txns_info_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -172531,7 +173295,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_resul switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new GetOpenTxnsResponse(); + struct.success = new GetOpenTxnsInfoResponse(); struct.success.read(iprot); struct.setSuccessIsSet(true); } else { @@ -172547,7 +173311,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_resul struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_info_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -172562,16 +173326,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_resu } - private static class get_open_txns_resultTupleSchemeFactory implements SchemeFactory { - public get_open_txns_resultTupleScheme getScheme() { - return new get_open_txns_resultTupleScheme(); + private static class get_open_txns_info_resultTupleSchemeFactory implements SchemeFactory { + public get_open_txns_info_resultTupleScheme getScheme() { + return new get_open_txns_info_resultTupleScheme(); } } - private static class get_open_txns_resultTupleScheme extends TupleScheme { + private static class get_open_txns_info_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -172584,11 +173348,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_resul } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.success = new GetOpenTxnsResponse(); + struct.success = new GetOpenTxnsInfoResponse(); struct.success.read(iprot); struct.setSuccessIsSet(true); } @@ -172597,20 +173361,22 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_result } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_open_txns_info_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_open_txns_info_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class open_txns_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("open_txns_args"); + private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_open_txns_info_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_open_txns_info_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new open_txns_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new open_txns_argsTupleSchemeFactory()); } + private OpenTxnRequest rqst; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { -; + RQST((short)1, "rqst"); private static final Map byName = new HashMap(); @@ -172625,6 +173391,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_result */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { + case 1: // RQST + return RQST; default: return null; } @@ -172663,37 +173431,86 @@ public String getFieldName() { return _fieldName; } } + + // isset id assignments public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.RQST, new org.apache.thrift.meta_data.FieldMetaData("rqst", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, OpenTxnRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_info_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(open_txns_args.class, metaDataMap); } - public get_open_txns_info_args() { + public open_txns_args() { + } + + public open_txns_args( + OpenTxnRequest rqst) + { + this(); + this.rqst = rqst; } /** * Performs a deep copy on other. */ - public get_open_txns_info_args(get_open_txns_info_args other) { + public open_txns_args(open_txns_args other) { + if (other.isSetRqst()) { + this.rqst = new OpenTxnRequest(other.rqst); + } } - public get_open_txns_info_args deepCopy() { - return new get_open_txns_info_args(this); + public open_txns_args deepCopy() { + return new open_txns_args(this); } @Override public void clear() { + this.rqst = null; + } + + public OpenTxnRequest getRqst() { + return this.rqst; + } + + public void setRqst(OpenTxnRequest rqst) { + this.rqst = rqst; + } + + public void unsetRqst() { + this.rqst = null; + } + + /** Returns true if field rqst is set (has been assigned a value) and false otherwise */ + public boolean isSetRqst() { + return this.rqst != null; + } + + public void setRqstIsSet(boolean value) { + if (!value) { + this.rqst = null; + } } public void setFieldValue(_Fields field, Object value) { switch (field) { + case RQST: + if (value == null) { + unsetRqst(); + } else { + setRqst((OpenTxnRequest)value); + } + break; + } } public Object getFieldValue(_Fields field) { switch (field) { + case RQST: + return getRqst(); + } throw new IllegalStateException(); } @@ -172705,6 +173522,8 @@ public boolean isSet(_Fields field) { } switch (field) { + case RQST: + return isSetRqst(); } throw new IllegalStateException(); } @@ -172713,15 +173532,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_open_txns_info_args) - return this.equals((get_open_txns_info_args)that); + if (that instanceof open_txns_args) + return this.equals((open_txns_args)that); return false; } - public boolean equals(get_open_txns_info_args that) { + public boolean equals(open_txns_args that) { if (that == null) return false; + boolean this_present_rqst = true && this.isSetRqst(); + boolean that_present_rqst = true && that.isSetRqst(); + if (this_present_rqst || that_present_rqst) { + if (!(this_present_rqst && that_present_rqst)) + return false; + if (!this.rqst.equals(that.rqst)) + return false; + } + return true; } @@ -172729,17 +173557,32 @@ public boolean equals(get_open_txns_info_args that) { public int hashCode() { List list = new ArrayList(); + boolean present_rqst = true && (isSetRqst()); + list.add(present_rqst); + if (present_rqst) + list.add(rqst); + return list.hashCode(); } @Override - public int compareTo(get_open_txns_info_args other) { + public int compareTo(open_txns_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetRqst()).compareTo(other.isSetRqst()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetRqst()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, other.rqst); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -172757,9 +173600,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_open_txns_info_args("); + StringBuilder sb = new StringBuilder("open_txns_args("); boolean first = true; + sb.append("rqst:"); + if (this.rqst == null) { + sb.append("null"); + } else { + sb.append(this.rqst); + } + first = false; sb.append(")"); return sb.toString(); } @@ -172767,6 +173617,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if (rqst != null) { + rqst.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -172785,15 +173638,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_open_txns_info_argsStandardSchemeFactory implements SchemeFactory { - public get_open_txns_info_argsStandardScheme getScheme() { - return new get_open_txns_info_argsStandardScheme(); + private static class open_txns_argsStandardSchemeFactory implements SchemeFactory { + public open_txns_argsStandardScheme getScheme() { + return new open_txns_argsStandardScheme(); } } - private static class get_open_txns_info_argsStandardScheme extends StandardScheme { + private static class open_txns_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -172803,6 +173656,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_ break; } switch (schemeField.id) { + case 1: // RQST + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.rqst = new OpenTxnRequest(); + struct.rqst.read(iprot); + struct.setRqstIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -172812,49 +173674,68 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_ struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_info_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, open_txns_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if (struct.rqst != null) { + oprot.writeFieldBegin(RQST_FIELD_DESC); + struct.rqst.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_open_txns_info_argsTupleSchemeFactory implements SchemeFactory { - public get_open_txns_info_argsTupleScheme getScheme() { - return new get_open_txns_info_argsTupleScheme(); + private static class open_txns_argsTupleSchemeFactory implements SchemeFactory { + public open_txns_argsTupleScheme getScheme() { + return new open_txns_argsTupleScheme(); } } - private static class get_open_txns_info_argsTupleScheme extends TupleScheme { + private static class open_txns_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, open_txns_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetRqst()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetRqst()) { + struct.rqst.write(oprot); + } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, open_txns_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.rqst = new OpenTxnRequest(); + struct.rqst.read(iprot); + struct.setRqstIsSet(true); + } } } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_open_txns_info_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_open_txns_info_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class open_txns_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("open_txns_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_open_txns_info_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_open_txns_info_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new open_txns_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new open_txns_resultTupleSchemeFactory()); } - private GetOpenTxnsInfoResponse success; // required + private OpenTxnsResponse success; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { @@ -172919,16 +173800,16 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetOpenTxnsInfoResponse.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, OpenTxnsResponse.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_info_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(open_txns_result.class, metaDataMap); } - public get_open_txns_info_result() { + public open_txns_result() { } - public get_open_txns_info_result( - GetOpenTxnsInfoResponse success) + public open_txns_result( + OpenTxnsResponse success) { this(); this.success = success; @@ -172937,14 +173818,14 @@ public get_open_txns_info_result( /** * Performs a deep copy on other. */ - public get_open_txns_info_result(get_open_txns_info_result other) { + public open_txns_result(open_txns_result other) { if (other.isSetSuccess()) { - this.success = new GetOpenTxnsInfoResponse(other.success); + this.success = new OpenTxnsResponse(other.success); } } - public get_open_txns_info_result deepCopy() { - return new get_open_txns_info_result(this); + public open_txns_result deepCopy() { + return new open_txns_result(this); } @Override @@ -172952,11 +173833,11 @@ public void clear() { this.success = null; } - public GetOpenTxnsInfoResponse getSuccess() { + public OpenTxnsResponse getSuccess() { return this.success; } - public void setSuccess(GetOpenTxnsInfoResponse success) { + public void setSuccess(OpenTxnsResponse success) { this.success = success; } @@ -172981,7 +173862,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((GetOpenTxnsInfoResponse)value); + setSuccess((OpenTxnsResponse)value); } break; @@ -173014,12 +173895,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_open_txns_info_result) - return this.equals((get_open_txns_info_result)that); + if (that instanceof open_txns_result) + return this.equals((open_txns_result)that); return false; } - public boolean equals(get_open_txns_info_result that) { + public boolean equals(open_txns_result that) { if (that == null) return false; @@ -173048,7 +173929,7 @@ public int hashCode() { } @Override - public int compareTo(get_open_txns_info_result other) { + public int compareTo(open_txns_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -173082,7 +173963,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_open_txns_info_result("); + StringBuilder sb = new StringBuilder("open_txns_result("); boolean first = true; sb.append("success:"); @@ -173120,15 +174001,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_open_txns_info_resultStandardSchemeFactory implements SchemeFactory { - public get_open_txns_info_resultStandardScheme getScheme() { - return new get_open_txns_info_resultStandardScheme(); + private static class open_txns_resultStandardSchemeFactory implements SchemeFactory { + public open_txns_resultStandardScheme getScheme() { + return new open_txns_resultStandardScheme(); } } - private static class get_open_txns_info_resultStandardScheme extends StandardScheme { + private static class open_txns_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -173140,7 +174021,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_ switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new GetOpenTxnsInfoResponse(); + struct.success = new OpenTxnsResponse(); struct.success.read(iprot); struct.setSuccessIsSet(true); } else { @@ -173156,7 +174037,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_ struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_info_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, open_txns_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -173171,16 +174052,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_info } - private static class get_open_txns_info_resultTupleSchemeFactory implements SchemeFactory { - public get_open_txns_info_resultTupleScheme getScheme() { - return new get_open_txns_info_resultTupleScheme(); + private static class open_txns_resultTupleSchemeFactory implements SchemeFactory { + public open_txns_resultTupleScheme getScheme() { + return new open_txns_resultTupleScheme(); } } - private static class get_open_txns_info_resultTupleScheme extends TupleScheme { + private static class open_txns_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, open_txns_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -173193,11 +174074,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_ } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, open_txns_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.success = new GetOpenTxnsInfoResponse(); + struct.success = new OpenTxnsResponse(); struct.success.read(iprot); struct.setSuccessIsSet(true); } @@ -173206,18 +174087,18 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_r } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class open_txns_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("open_txns_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class abort_txn_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("abort_txn_args"); private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new open_txns_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new open_txns_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new abort_txn_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new abort_txn_argsTupleSchemeFactory()); } - private OpenTxnRequest rqst; // required + private AbortTxnRequest rqst; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { @@ -173282,16 +174163,16 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.RQST, new org.apache.thrift.meta_data.FieldMetaData("rqst", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, OpenTxnRequest.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AbortTxnRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(open_txns_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(abort_txn_args.class, metaDataMap); } - public open_txns_args() { + public abort_txn_args() { } - public open_txns_args( - OpenTxnRequest rqst) + public abort_txn_args( + AbortTxnRequest rqst) { this(); this.rqst = rqst; @@ -173300,14 +174181,14 @@ public open_txns_args( /** * Performs a deep copy on other. */ - public open_txns_args(open_txns_args other) { + public abort_txn_args(abort_txn_args other) { if (other.isSetRqst()) { - this.rqst = new OpenTxnRequest(other.rqst); + this.rqst = new AbortTxnRequest(other.rqst); } } - public open_txns_args deepCopy() { - return new open_txns_args(this); + public abort_txn_args deepCopy() { + return new abort_txn_args(this); } @Override @@ -173315,11 +174196,11 @@ public void clear() { this.rqst = null; } - public OpenTxnRequest getRqst() { + public AbortTxnRequest getRqst() { return this.rqst; } - public void setRqst(OpenTxnRequest rqst) { + public void setRqst(AbortTxnRequest rqst) { this.rqst = rqst; } @@ -173344,7 +174225,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((OpenTxnRequest)value); + setRqst((AbortTxnRequest)value); } break; @@ -173377,12 +174258,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof open_txns_args) - return this.equals((open_txns_args)that); + if (that instanceof abort_txn_args) + return this.equals((abort_txn_args)that); return false; } - public boolean equals(open_txns_args that) { + public boolean equals(abort_txn_args that) { if (that == null) return false; @@ -173411,7 +174292,7 @@ public int hashCode() { } @Override - public int compareTo(open_txns_args other) { + public int compareTo(abort_txn_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -173445,7 +174326,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("open_txns_args("); + StringBuilder sb = new StringBuilder("abort_txn_args("); boolean first = true; sb.append("rqst:"); @@ -173483,15 +174364,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class open_txns_argsStandardSchemeFactory implements SchemeFactory { - public open_txns_argsStandardScheme getScheme() { - return new open_txns_argsStandardScheme(); + private static class abort_txn_argsStandardSchemeFactory implements SchemeFactory { + public abort_txn_argsStandardScheme getScheme() { + return new abort_txn_argsStandardScheme(); } } - private static class open_txns_argsStandardScheme extends StandardScheme { + private static class abort_txn_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txn_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -173503,7 +174384,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_args stru switch (schemeField.id) { case 1: // RQST if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.rqst = new OpenTxnRequest(); + struct.rqst = new AbortTxnRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } else { @@ -173519,7 +174400,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_args stru struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, open_txns_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txn_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -173534,16 +174415,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, open_txns_args str } - private static class open_txns_argsTupleSchemeFactory implements SchemeFactory { - public open_txns_argsTupleScheme getScheme() { - return new open_txns_argsTupleScheme(); + private static class abort_txn_argsTupleSchemeFactory implements SchemeFactory { + public abort_txn_argsTupleScheme getScheme() { + return new abort_txn_argsTupleScheme(); } } - private static class open_txns_argsTupleScheme extends TupleScheme { + private static class abort_txn_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, open_txns_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, abort_txn_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetRqst()) { @@ -173556,11 +174437,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, open_txns_args stru } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, open_txns_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, abort_txn_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.rqst = new OpenTxnRequest(); + struct.rqst = new AbortTxnRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } @@ -173569,22 +174450,22 @@ public void read(org.apache.thrift.protocol.TProtocol prot, open_txns_args struc } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class open_txns_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("open_txns_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class abort_txn_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("abort_txn_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); + private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new open_txns_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new open_txns_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new abort_txn_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new abort_txn_resultTupleSchemeFactory()); } - private OpenTxnsResponse success; // required + private NoSuchTxnException o1; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - SUCCESS((short)0, "success"); + O1((short)1, "o1"); private static final Map byName = new HashMap(); @@ -173599,8 +174480,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, open_txns_args struc */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 0: // SUCCESS - return SUCCESS; + case 1: // O1 + return O1; default: return null; } @@ -173644,70 +174525,70 @@ public String getFieldName() { public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, OpenTxnsResponse.class))); + tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(open_txns_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(abort_txn_result.class, metaDataMap); } - public open_txns_result() { + public abort_txn_result() { } - public open_txns_result( - OpenTxnsResponse success) + public abort_txn_result( + NoSuchTxnException o1) { this(); - this.success = success; + this.o1 = o1; } /** * Performs a deep copy on other. */ - public open_txns_result(open_txns_result other) { - if (other.isSetSuccess()) { - this.success = new OpenTxnsResponse(other.success); + public abort_txn_result(abort_txn_result other) { + if (other.isSetO1()) { + this.o1 = new NoSuchTxnException(other.o1); } } - public open_txns_result deepCopy() { - return new open_txns_result(this); + public abort_txn_result deepCopy() { + return new abort_txn_result(this); } @Override public void clear() { - this.success = null; + this.o1 = null; } - public OpenTxnsResponse getSuccess() { - return this.success; + public NoSuchTxnException getO1() { + return this.o1; } - public void setSuccess(OpenTxnsResponse success) { - this.success = success; + public void setO1(NoSuchTxnException o1) { + this.o1 = o1; } - public void unsetSuccess() { - this.success = null; + public void unsetO1() { + this.o1 = null; } - /** Returns true if field success is set (has been assigned a value) and false otherwise */ - public boolean isSetSuccess() { - return this.success != null; + /** Returns true if field o1 is set (has been assigned a value) and false otherwise */ + public boolean isSetO1() { + return this.o1 != null; } - public void setSuccessIsSet(boolean value) { + public void setO1IsSet(boolean value) { if (!value) { - this.success = null; + this.o1 = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { - case SUCCESS: + case O1: if (value == null) { - unsetSuccess(); + unsetO1(); } else { - setSuccess((OpenTxnsResponse)value); + setO1((NoSuchTxnException)value); } break; @@ -173716,8 +174597,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case SUCCESS: - return getSuccess(); + case O1: + return getO1(); } throw new IllegalStateException(); @@ -173730,8 +174611,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case SUCCESS: - return isSetSuccess(); + case O1: + return isSetO1(); } throw new IllegalStateException(); } @@ -173740,21 +174621,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof open_txns_result) - return this.equals((open_txns_result)that); + if (that instanceof abort_txn_result) + return this.equals((abort_txn_result)that); return false; } - public boolean equals(open_txns_result that) { + public boolean equals(abort_txn_result that) { if (that == null) return false; - boolean this_present_success = true && this.isSetSuccess(); - boolean that_present_success = true && that.isSetSuccess(); - if (this_present_success || that_present_success) { - if (!(this_present_success && that_present_success)) + boolean this_present_o1 = true && this.isSetO1(); + boolean that_present_o1 = true && that.isSetO1(); + if (this_present_o1 || that_present_o1) { + if (!(this_present_o1 && that_present_o1)) return false; - if (!this.success.equals(that.success)) + if (!this.o1.equals(that.o1)) return false; } @@ -173765,28 +174646,28 @@ public boolean equals(open_txns_result that) { public int hashCode() { List list = new ArrayList(); - boolean present_success = true && (isSetSuccess()); - list.add(present_success); - if (present_success) - list.add(success); + boolean present_o1 = true && (isSetO1()); + list.add(present_o1); + if (present_o1) + list.add(o1); return list.hashCode(); } @Override - public int compareTo(open_txns_result other) { + public int compareTo(abort_txn_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } - if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + if (isSetO1()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -173808,14 +174689,14 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("open_txns_result("); + StringBuilder sb = new StringBuilder("abort_txn_result("); boolean first = true; - sb.append("success:"); - if (this.success == null) { + sb.append("o1:"); + if (this.o1 == null) { sb.append("null"); } else { - sb.append(this.success); + sb.append(this.o1); } first = false; sb.append(")"); @@ -173825,9 +174706,6 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity - if (success != null) { - success.validate(); - } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -173846,15 +174724,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class open_txns_resultStandardSchemeFactory implements SchemeFactory { - public open_txns_resultStandardScheme getScheme() { - return new open_txns_resultStandardScheme(); + private static class abort_txn_resultStandardSchemeFactory implements SchemeFactory { + public abort_txn_resultStandardScheme getScheme() { + return new abort_txn_resultStandardScheme(); } } - private static class open_txns_resultStandardScheme extends StandardScheme { + private static class abort_txn_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txn_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -173864,11 +174742,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_result st break; } switch (schemeField.id) { - case 0: // SUCCESS + case 1: // O1 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new OpenTxnsResponse(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); + struct.o1 = new NoSuchTxnException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -173882,13 +174760,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_result st struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, open_txns_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txn_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.success != null) { - oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - struct.success.write(oprot); + if (struct.o1 != null) { + oprot.writeFieldBegin(O1_FIELD_DESC); + struct.o1.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -173897,53 +174775,53 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, open_txns_result s } - private static class open_txns_resultTupleSchemeFactory implements SchemeFactory { - public open_txns_resultTupleScheme getScheme() { - return new open_txns_resultTupleScheme(); + private static class abort_txn_resultTupleSchemeFactory implements SchemeFactory { + public abort_txn_resultTupleScheme getScheme() { + return new abort_txn_resultTupleScheme(); } } - private static class open_txns_resultTupleScheme extends TupleScheme { + private static class abort_txn_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, open_txns_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, abort_txn_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetSuccess()) { + if (struct.isSetO1()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); - if (struct.isSetSuccess()) { - struct.success.write(oprot); + if (struct.isSetO1()) { + struct.o1.write(oprot); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, open_txns_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, abort_txn_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.success = new OpenTxnsResponse(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); + struct.o1 = new NoSuchTxnException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); } } } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class abort_txn_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("abort_txn_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class abort_txns_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("abort_txns_args"); private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new abort_txn_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new abort_txn_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new abort_txns_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new abort_txns_argsTupleSchemeFactory()); } - private AbortTxnRequest rqst; // required + private AbortTxnsRequest rqst; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { @@ -174008,16 +174886,16 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.RQST, new org.apache.thrift.meta_data.FieldMetaData("rqst", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AbortTxnRequest.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AbortTxnsRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(abort_txn_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(abort_txns_args.class, metaDataMap); } - public abort_txn_args() { + public abort_txns_args() { } - public abort_txn_args( - AbortTxnRequest rqst) + public abort_txns_args( + AbortTxnsRequest rqst) { this(); this.rqst = rqst; @@ -174026,14 +174904,14 @@ public abort_txn_args( /** * Performs a deep copy on other. */ - public abort_txn_args(abort_txn_args other) { + public abort_txns_args(abort_txns_args other) { if (other.isSetRqst()) { - this.rqst = new AbortTxnRequest(other.rqst); + this.rqst = new AbortTxnsRequest(other.rqst); } } - public abort_txn_args deepCopy() { - return new abort_txn_args(this); + public abort_txns_args deepCopy() { + return new abort_txns_args(this); } @Override @@ -174041,11 +174919,11 @@ public void clear() { this.rqst = null; } - public AbortTxnRequest getRqst() { + public AbortTxnsRequest getRqst() { return this.rqst; } - public void setRqst(AbortTxnRequest rqst) { + public void setRqst(AbortTxnsRequest rqst) { this.rqst = rqst; } @@ -174070,7 +174948,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((AbortTxnRequest)value); + setRqst((AbortTxnsRequest)value); } break; @@ -174103,12 +174981,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof abort_txn_args) - return this.equals((abort_txn_args)that); + if (that instanceof abort_txns_args) + return this.equals((abort_txns_args)that); return false; } - public boolean equals(abort_txn_args that) { + public boolean equals(abort_txns_args that) { if (that == null) return false; @@ -174137,7 +175015,7 @@ public int hashCode() { } @Override - public int compareTo(abort_txn_args other) { + public int compareTo(abort_txns_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -174171,7 +175049,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("abort_txn_args("); + StringBuilder sb = new StringBuilder("abort_txns_args("); boolean first = true; sb.append("rqst:"); @@ -174209,15 +175087,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class abort_txn_argsStandardSchemeFactory implements SchemeFactory { - public abort_txn_argsStandardScheme getScheme() { - return new abort_txn_argsStandardScheme(); + private static class abort_txns_argsStandardSchemeFactory implements SchemeFactory { + public abort_txns_argsStandardScheme getScheme() { + return new abort_txns_argsStandardScheme(); } } - private static class abort_txn_argsStandardScheme extends StandardScheme { + private static class abort_txns_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txn_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txns_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -174229,7 +175107,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txn_args stru switch (schemeField.id) { case 1: // RQST if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.rqst = new AbortTxnRequest(); + struct.rqst = new AbortTxnsRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } else { @@ -174245,7 +175123,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txn_args stru struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txn_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txns_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -174260,16 +175138,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txn_args str } - private static class abort_txn_argsTupleSchemeFactory implements SchemeFactory { - public abort_txn_argsTupleScheme getScheme() { - return new abort_txn_argsTupleScheme(); + private static class abort_txns_argsTupleSchemeFactory implements SchemeFactory { + public abort_txns_argsTupleScheme getScheme() { + return new abort_txns_argsTupleScheme(); } } - private static class abort_txn_argsTupleScheme extends TupleScheme { + private static class abort_txns_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, abort_txn_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, abort_txns_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetRqst()) { @@ -174282,11 +175160,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, abort_txn_args stru } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, abort_txn_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, abort_txns_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.rqst = new AbortTxnRequest(); + struct.rqst = new AbortTxnsRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } @@ -174295,15 +175173,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, abort_txn_args struc } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class abort_txn_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("abort_txn_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class abort_txns_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("abort_txns_result"); private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new abort_txn_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new abort_txn_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new abort_txns_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new abort_txns_resultTupleSchemeFactory()); } private NoSuchTxnException o1; // required @@ -174373,13 +175251,13 @@ public String getFieldName() { tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(abort_txn_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(abort_txns_result.class, metaDataMap); } - public abort_txn_result() { + public abort_txns_result() { } - public abort_txn_result( + public abort_txns_result( NoSuchTxnException o1) { this(); @@ -174389,14 +175267,14 @@ public abort_txn_result( /** * Performs a deep copy on other. */ - public abort_txn_result(abort_txn_result other) { + public abort_txns_result(abort_txns_result other) { if (other.isSetO1()) { this.o1 = new NoSuchTxnException(other.o1); } } - public abort_txn_result deepCopy() { - return new abort_txn_result(this); + public abort_txns_result deepCopy() { + return new abort_txns_result(this); } @Override @@ -174466,12 +175344,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof abort_txn_result) - return this.equals((abort_txn_result)that); + if (that instanceof abort_txns_result) + return this.equals((abort_txns_result)that); return false; } - public boolean equals(abort_txn_result that) { + public boolean equals(abort_txns_result that) { if (that == null) return false; @@ -174500,7 +175378,7 @@ public int hashCode() { } @Override - public int compareTo(abort_txn_result other) { + public int compareTo(abort_txns_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -174534,7 +175412,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("abort_txn_result("); + StringBuilder sb = new StringBuilder("abort_txns_result("); boolean first = true; sb.append("o1:"); @@ -174569,15 +175447,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class abort_txn_resultStandardSchemeFactory implements SchemeFactory { - public abort_txn_resultStandardScheme getScheme() { - return new abort_txn_resultStandardScheme(); + private static class abort_txns_resultStandardSchemeFactory implements SchemeFactory { + public abort_txns_resultStandardScheme getScheme() { + return new abort_txns_resultStandardScheme(); } } - private static class abort_txn_resultStandardScheme extends StandardScheme { + private static class abort_txns_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txn_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txns_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -174605,7 +175483,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txn_result st struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txn_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txns_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -174620,16 +175498,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txn_result s } - private static class abort_txn_resultTupleSchemeFactory implements SchemeFactory { - public abort_txn_resultTupleScheme getScheme() { - return new abort_txn_resultTupleScheme(); + private static class abort_txns_resultTupleSchemeFactory implements SchemeFactory { + public abort_txns_resultTupleScheme getScheme() { + return new abort_txns_resultTupleScheme(); } } - private static class abort_txn_resultTupleScheme extends TupleScheme { + private static class abort_txns_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, abort_txn_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, abort_txns_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetO1()) { @@ -174642,7 +175520,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, abort_txn_result st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, abort_txn_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, abort_txns_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { @@ -174655,18 +175533,18 @@ public void read(org.apache.thrift.protocol.TProtocol prot, abort_txn_result str } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class abort_txns_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("abort_txns_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class commit_txn_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("commit_txn_args"); private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new abort_txns_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new abort_txns_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new commit_txn_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new commit_txn_argsTupleSchemeFactory()); } - private AbortTxnsRequest rqst; // required + private CommitTxnRequest rqst; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { @@ -174731,16 +175609,16 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.RQST, new org.apache.thrift.meta_data.FieldMetaData("rqst", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AbortTxnsRequest.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, CommitTxnRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(abort_txns_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(commit_txn_args.class, metaDataMap); } - public abort_txns_args() { + public commit_txn_args() { } - public abort_txns_args( - AbortTxnsRequest rqst) + public commit_txn_args( + CommitTxnRequest rqst) { this(); this.rqst = rqst; @@ -174749,14 +175627,14 @@ public abort_txns_args( /** * Performs a deep copy on other. */ - public abort_txns_args(abort_txns_args other) { + public commit_txn_args(commit_txn_args other) { if (other.isSetRqst()) { - this.rqst = new AbortTxnsRequest(other.rqst); + this.rqst = new CommitTxnRequest(other.rqst); } } - public abort_txns_args deepCopy() { - return new abort_txns_args(this); + public commit_txn_args deepCopy() { + return new commit_txn_args(this); } @Override @@ -174764,11 +175642,11 @@ public void clear() { this.rqst = null; } - public AbortTxnsRequest getRqst() { + public CommitTxnRequest getRqst() { return this.rqst; } - public void setRqst(AbortTxnsRequest rqst) { + public void setRqst(CommitTxnRequest rqst) { this.rqst = rqst; } @@ -174793,7 +175671,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((AbortTxnsRequest)value); + setRqst((CommitTxnRequest)value); } break; @@ -174826,12 +175704,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof abort_txns_args) - return this.equals((abort_txns_args)that); + if (that instanceof commit_txn_args) + return this.equals((commit_txn_args)that); return false; } - public boolean equals(abort_txns_args that) { + public boolean equals(commit_txn_args that) { if (that == null) return false; @@ -174860,7 +175738,7 @@ public int hashCode() { } @Override - public int compareTo(abort_txns_args other) { + public int compareTo(commit_txn_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -174894,7 +175772,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("abort_txns_args("); + StringBuilder sb = new StringBuilder("commit_txn_args("); boolean first = true; sb.append("rqst:"); @@ -174932,15 +175810,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class abort_txns_argsStandardSchemeFactory implements SchemeFactory { - public abort_txns_argsStandardScheme getScheme() { - return new abort_txns_argsStandardScheme(); + private static class commit_txn_argsStandardSchemeFactory implements SchemeFactory { + public commit_txn_argsStandardScheme getScheme() { + return new commit_txn_argsStandardScheme(); } } - private static class abort_txns_argsStandardScheme extends StandardScheme { + private static class commit_txn_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txns_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, commit_txn_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -174952,7 +175830,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txns_args str switch (schemeField.id) { case 1: // RQST if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.rqst = new AbortTxnsRequest(); + struct.rqst = new CommitTxnRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } else { @@ -174968,7 +175846,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txns_args str struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txns_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, commit_txn_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -174983,16 +175861,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txns_args st } - private static class abort_txns_argsTupleSchemeFactory implements SchemeFactory { - public abort_txns_argsTupleScheme getScheme() { - return new abort_txns_argsTupleScheme(); + private static class commit_txn_argsTupleSchemeFactory implements SchemeFactory { + public commit_txn_argsTupleScheme getScheme() { + return new commit_txn_argsTupleScheme(); } } - private static class abort_txns_argsTupleScheme extends TupleScheme { + private static class commit_txn_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, abort_txns_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, commit_txn_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetRqst()) { @@ -175005,11 +175883,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, abort_txns_args str } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, abort_txns_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, commit_txn_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.rqst = new AbortTxnsRequest(); + struct.rqst = new CommitTxnRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } @@ -175018,22 +175896,25 @@ public void read(org.apache.thrift.protocol.TProtocol prot, abort_txns_args stru } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class abort_txns_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("abort_txns_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class commit_txn_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("commit_txn_result"); private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new abort_txns_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new abort_txns_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new commit_txn_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new commit_txn_resultTupleSchemeFactory()); } private NoSuchTxnException o1; // required + private TxnAbortedException o2; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - O1((short)1, "o1"); + O1((short)1, "o1"), + O2((short)2, "o2"); private static final Map byName = new HashMap(); @@ -175050,6 +175931,8 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // O1 return O1; + case 2: // O2 + return O2; default: return null; } @@ -175095,36 +175978,44 @@ public String getFieldName() { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(abort_txns_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(commit_txn_result.class, metaDataMap); } - public abort_txns_result() { + public commit_txn_result() { } - public abort_txns_result( - NoSuchTxnException o1) + public commit_txn_result( + NoSuchTxnException o1, + TxnAbortedException o2) { this(); this.o1 = o1; + this.o2 = o2; } /** * Performs a deep copy on other. */ - public abort_txns_result(abort_txns_result other) { + public commit_txn_result(commit_txn_result other) { if (other.isSetO1()) { this.o1 = new NoSuchTxnException(other.o1); } + if (other.isSetO2()) { + this.o2 = new TxnAbortedException(other.o2); + } } - public abort_txns_result deepCopy() { - return new abort_txns_result(this); + public commit_txn_result deepCopy() { + return new commit_txn_result(this); } @Override public void clear() { this.o1 = null; + this.o2 = null; } public NoSuchTxnException getO1() { @@ -175150,6 +176041,29 @@ public void setO1IsSet(boolean value) { } } + public TxnAbortedException getO2() { + return this.o2; + } + + public void setO2(TxnAbortedException o2) { + this.o2 = o2; + } + + public void unsetO2() { + this.o2 = null; + } + + /** Returns true if field o2 is set (has been assigned a value) and false otherwise */ + public boolean isSetO2() { + return this.o2 != null; + } + + public void setO2IsSet(boolean value) { + if (!value) { + this.o2 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case O1: @@ -175160,6 +176074,14 @@ public void setFieldValue(_Fields field, Object value) { } break; + case O2: + if (value == null) { + unsetO2(); + } else { + setO2((TxnAbortedException)value); + } + break; + } } @@ -175168,6 +176090,9 @@ public Object getFieldValue(_Fields field) { case O1: return getO1(); + case O2: + return getO2(); + } throw new IllegalStateException(); } @@ -175181,6 +176106,8 @@ public boolean isSet(_Fields field) { switch (field) { case O1: return isSetO1(); + case O2: + return isSetO2(); } throw new IllegalStateException(); } @@ -175189,12 +176116,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof abort_txns_result) - return this.equals((abort_txns_result)that); + if (that instanceof commit_txn_result) + return this.equals((commit_txn_result)that); return false; } - public boolean equals(abort_txns_result that) { + public boolean equals(commit_txn_result that) { if (that == null) return false; @@ -175207,6 +176134,15 @@ public boolean equals(abort_txns_result that) { return false; } + boolean this_present_o2 = true && this.isSetO2(); + boolean that_present_o2 = true && that.isSetO2(); + if (this_present_o2 || that_present_o2) { + if (!(this_present_o2 && that_present_o2)) + return false; + if (!this.o2.equals(that.o2)) + return false; + } + return true; } @@ -175219,11 +176155,16 @@ public int hashCode() { if (present_o1) list.add(o1); + boolean present_o2 = true && (isSetO2()); + list.add(present_o2); + if (present_o2) + list.add(o2); + return list.hashCode(); } @Override - public int compareTo(abort_txns_result other) { + public int compareTo(commit_txn_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -175240,6 +176181,16 @@ public int compareTo(abort_txns_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO2()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -175257,7 +176208,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("abort_txns_result("); + StringBuilder sb = new StringBuilder("commit_txn_result("); boolean first = true; sb.append("o1:"); @@ -175267,6 +176218,14 @@ public String toString() { sb.append(this.o1); } first = false; + if (!first) sb.append(", "); + sb.append("o2:"); + if (this.o2 == null) { + sb.append("null"); + } else { + sb.append(this.o2); + } + first = false; sb.append(")"); return sb.toString(); } @@ -175292,15 +176251,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class abort_txns_resultStandardSchemeFactory implements SchemeFactory { - public abort_txns_resultStandardScheme getScheme() { - return new abort_txns_resultStandardScheme(); + private static class commit_txn_resultStandardSchemeFactory implements SchemeFactory { + public commit_txn_resultStandardScheme getScheme() { + return new commit_txn_resultStandardScheme(); } } - private static class abort_txns_resultStandardScheme extends StandardScheme { + private static class commit_txn_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txns_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, commit_txn_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -175319,6 +176278,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txns_result s org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 2: // O2 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o2 = new TxnAbortedException(); + struct.o2.read(iprot); + struct.setO2IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -175328,7 +176296,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txns_result s struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txns_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, commit_txn_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -175337,59 +176305,75 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txns_result struct.o1.write(oprot); oprot.writeFieldEnd(); } + if (struct.o2 != null) { + oprot.writeFieldBegin(O2_FIELD_DESC); + struct.o2.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class abort_txns_resultTupleSchemeFactory implements SchemeFactory { - public abort_txns_resultTupleScheme getScheme() { - return new abort_txns_resultTupleScheme(); + private static class commit_txn_resultTupleSchemeFactory implements SchemeFactory { + public commit_txn_resultTupleScheme getScheme() { + return new commit_txn_resultTupleScheme(); } } - private static class abort_txns_resultTupleScheme extends TupleScheme { + private static class commit_txn_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, abort_txns_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, commit_txn_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetO1()) { optionals.set(0); } - oprot.writeBitSet(optionals, 1); + if (struct.isSetO2()) { + optionals.set(1); + } + oprot.writeBitSet(optionals, 2); if (struct.isSetO1()) { struct.o1.write(oprot); } + if (struct.isSetO2()) { + struct.o2.write(oprot); + } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, abort_txns_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, commit_txn_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(1); + BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.o1 = new NoSuchTxnException(); struct.o1.read(iprot); struct.setO1IsSet(true); } + if (incoming.get(1)) { + struct.o2 = new TxnAbortedException(); + struct.o2.read(iprot); + struct.setO2IsSet(true); + } } } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class commit_txn_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("commit_txn_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_valid_txns_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_valid_txns_args"); private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new commit_txn_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new commit_txn_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_valid_txns_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_valid_txns_argsTupleSchemeFactory()); } - private CommitTxnRequest rqst; // required + private GetValidTxnsRequest rqst; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { @@ -175454,16 +176438,16 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.RQST, new org.apache.thrift.meta_data.FieldMetaData("rqst", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, CommitTxnRequest.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetValidTxnsRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(commit_txn_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_valid_txns_args.class, metaDataMap); } - public commit_txn_args() { + public get_valid_txns_args() { } - public commit_txn_args( - CommitTxnRequest rqst) + public get_valid_txns_args( + GetValidTxnsRequest rqst) { this(); this.rqst = rqst; @@ -175472,14 +176456,14 @@ public commit_txn_args( /** * Performs a deep copy on other. */ - public commit_txn_args(commit_txn_args other) { + public get_valid_txns_args(get_valid_txns_args other) { if (other.isSetRqst()) { - this.rqst = new CommitTxnRequest(other.rqst); + this.rqst = new GetValidTxnsRequest(other.rqst); } } - public commit_txn_args deepCopy() { - return new commit_txn_args(this); + public get_valid_txns_args deepCopy() { + return new get_valid_txns_args(this); } @Override @@ -175487,11 +176471,11 @@ public void clear() { this.rqst = null; } - public CommitTxnRequest getRqst() { + public GetValidTxnsRequest getRqst() { return this.rqst; } - public void setRqst(CommitTxnRequest rqst) { + public void setRqst(GetValidTxnsRequest rqst) { this.rqst = rqst; } @@ -175516,7 +176500,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((CommitTxnRequest)value); + setRqst((GetValidTxnsRequest)value); } break; @@ -175549,12 +176533,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof commit_txn_args) - return this.equals((commit_txn_args)that); + if (that instanceof get_valid_txns_args) + return this.equals((get_valid_txns_args)that); return false; } - public boolean equals(commit_txn_args that) { + public boolean equals(get_valid_txns_args that) { if (that == null) return false; @@ -175583,7 +176567,7 @@ public int hashCode() { } @Override - public int compareTo(commit_txn_args other) { + public int compareTo(get_valid_txns_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -175617,7 +176601,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("commit_txn_args("); + StringBuilder sb = new StringBuilder("get_valid_txns_args("); boolean first = true; sb.append("rqst:"); @@ -175655,15 +176639,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class commit_txn_argsStandardSchemeFactory implements SchemeFactory { - public commit_txn_argsStandardScheme getScheme() { - return new commit_txn_argsStandardScheme(); + private static class get_valid_txns_argsStandardSchemeFactory implements SchemeFactory { + public get_valid_txns_argsStandardScheme getScheme() { + return new get_valid_txns_argsStandardScheme(); } } - private static class commit_txn_argsStandardScheme extends StandardScheme { + private static class get_valid_txns_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, commit_txn_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_valid_txns_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -175675,7 +176659,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, commit_txn_args str switch (schemeField.id) { case 1: // RQST if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.rqst = new CommitTxnRequest(); + struct.rqst = new GetValidTxnsRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } else { @@ -175691,7 +176675,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, commit_txn_args str struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, commit_txn_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_valid_txns_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -175706,16 +176690,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, commit_txn_args st } - private static class commit_txn_argsTupleSchemeFactory implements SchemeFactory { - public commit_txn_argsTupleScheme getScheme() { - return new commit_txn_argsTupleScheme(); + private static class get_valid_txns_argsTupleSchemeFactory implements SchemeFactory { + public get_valid_txns_argsTupleScheme getScheme() { + return new get_valid_txns_argsTupleScheme(); } } - private static class commit_txn_argsTupleScheme extends TupleScheme { + private static class get_valid_txns_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, commit_txn_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_valid_txns_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetRqst()) { @@ -175728,11 +176712,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, commit_txn_args str } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, commit_txn_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_valid_txns_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.rqst = new CommitTxnRequest(); + struct.rqst = new GetValidTxnsRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } @@ -175741,23 +176725,26 @@ public void read(org.apache.thrift.protocol.TProtocol prot, commit_txn_args stru } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class commit_txn_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("commit_txn_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_valid_txns_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_valid_txns_result"); + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new commit_txn_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new commit_txn_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_valid_txns_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_valid_txns_resultTupleSchemeFactory()); } + private GetValidTxnsResponse success; // required private NoSuchTxnException o1; // required - private TxnAbortedException o2; // required + private MetaException o2; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { + SUCCESS((short)0, "success"), O1((short)1, "o1"), O2((short)2, "o2"); @@ -175774,6 +176761,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, commit_txn_args stru */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { + case 0: // SUCCESS + return SUCCESS; case 1: // O1 return O1; case 2: // O2 @@ -175821,22 +176810,26 @@ public String getFieldName() { public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetValidTxnsResponse.class))); tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(commit_txn_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_valid_txns_result.class, metaDataMap); } - public commit_txn_result() { + public get_valid_txns_result() { } - public commit_txn_result( + public get_valid_txns_result( + GetValidTxnsResponse success, NoSuchTxnException o1, - TxnAbortedException o2) + MetaException o2) { this(); + this.success = success; this.o1 = o1; this.o2 = o2; } @@ -175844,25 +176837,52 @@ public commit_txn_result( /** * Performs a deep copy on other. */ - public commit_txn_result(commit_txn_result other) { + public get_valid_txns_result(get_valid_txns_result other) { + if (other.isSetSuccess()) { + this.success = new GetValidTxnsResponse(other.success); + } if (other.isSetO1()) { this.o1 = new NoSuchTxnException(other.o1); } if (other.isSetO2()) { - this.o2 = new TxnAbortedException(other.o2); + this.o2 = new MetaException(other.o2); } } - public commit_txn_result deepCopy() { - return new commit_txn_result(this); + public get_valid_txns_result deepCopy() { + return new get_valid_txns_result(this); } @Override public void clear() { + this.success = null; this.o1 = null; this.o2 = null; } + public GetValidTxnsResponse getSuccess() { + return this.success; + } + + public void setSuccess(GetValidTxnsResponse success) { + this.success = success; + } + + public void unsetSuccess() { + this.success = null; + } + + /** Returns true if field success is set (has been assigned a value) and false otherwise */ + public boolean isSetSuccess() { + return this.success != null; + } + + public void setSuccessIsSet(boolean value) { + if (!value) { + this.success = null; + } + } + public NoSuchTxnException getO1() { return this.o1; } @@ -175886,11 +176906,11 @@ public void setO1IsSet(boolean value) { } } - public TxnAbortedException getO2() { + public MetaException getO2() { return this.o2; } - public void setO2(TxnAbortedException o2) { + public void setO2(MetaException o2) { this.o2 = o2; } @@ -175911,6 +176931,14 @@ public void setO2IsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { + case SUCCESS: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((GetValidTxnsResponse)value); + } + break; + case O1: if (value == null) { unsetO1(); @@ -175923,7 +176951,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO2(); } else { - setO2((TxnAbortedException)value); + setO2((MetaException)value); } break; @@ -175932,6 +176960,9 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case SUCCESS: + return getSuccess(); + case O1: return getO1(); @@ -175949,6 +176980,8 @@ public boolean isSet(_Fields field) { } switch (field) { + case SUCCESS: + return isSetSuccess(); case O1: return isSetO1(); case O2: @@ -175961,15 +176994,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof commit_txn_result) - return this.equals((commit_txn_result)that); + if (that instanceof get_valid_txns_result) + return this.equals((get_valid_txns_result)that); return false; } - public boolean equals(commit_txn_result that) { + public boolean equals(get_valid_txns_result that) { if (that == null) return false; + boolean this_present_success = true && this.isSetSuccess(); + boolean that_present_success = true && that.isSetSuccess(); + if (this_present_success || that_present_success) { + if (!(this_present_success && that_present_success)) + return false; + if (!this.success.equals(that.success)) + return false; + } + boolean this_present_o1 = true && this.isSetO1(); boolean that_present_o1 = true && that.isSetO1(); if (this_present_o1 || that_present_o1) { @@ -175995,6 +177037,11 @@ public boolean equals(commit_txn_result that) { public int hashCode() { List list = new ArrayList(); + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + boolean present_o1 = true && (isSetO1()); list.add(present_o1); if (present_o1) @@ -176009,13 +177056,23 @@ public int hashCode() { } @Override - public int compareTo(commit_txn_result other) { + public int compareTo(get_valid_txns_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + if (lastComparison != 0) { + return lastComparison; + } + } lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; @@ -176053,9 +177110,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("commit_txn_result("); + StringBuilder sb = new StringBuilder("get_valid_txns_result("); boolean first = true; + sb.append("success:"); + if (this.success == null) { + sb.append("null"); + } else { + sb.append(this.success); + } + first = false; + if (!first) sb.append(", "); sb.append("o1:"); if (this.o1 == null) { sb.append("null"); @@ -176078,6 +177143,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if (success != null) { + success.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -176096,15 +177164,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class commit_txn_resultStandardSchemeFactory implements SchemeFactory { - public commit_txn_resultStandardScheme getScheme() { - return new commit_txn_resultStandardScheme(); + private static class get_valid_txns_resultStandardSchemeFactory implements SchemeFactory { + public get_valid_txns_resultStandardScheme getScheme() { + return new get_valid_txns_resultStandardScheme(); } } - private static class commit_txn_resultStandardScheme extends StandardScheme { + private static class get_valid_txns_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, commit_txn_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_valid_txns_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -176114,6 +177182,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, commit_txn_result s break; } switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new GetValidTxnsResponse(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; case 1: // O1 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.o1 = new NoSuchTxnException(); @@ -176125,7 +177202,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, commit_txn_result s break; case 2: // O2 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o2 = new TxnAbortedException(); + struct.o2 = new MetaException(); struct.o2.read(iprot); struct.setO2IsSet(true); } else { @@ -176141,10 +177218,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, commit_txn_result s struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, commit_txn_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_valid_txns_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if (struct.success != null) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + struct.success.write(oprot); + oprot.writeFieldEnd(); + } if (struct.o1 != null) { oprot.writeFieldBegin(O1_FIELD_DESC); struct.o1.write(oprot); @@ -176161,25 +177243,31 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, commit_txn_result } - private static class commit_txn_resultTupleSchemeFactory implements SchemeFactory { - public commit_txn_resultTupleScheme getScheme() { - return new commit_txn_resultTupleScheme(); + private static class get_valid_txns_resultTupleSchemeFactory implements SchemeFactory { + public get_valid_txns_resultTupleScheme getScheme() { + return new get_valid_txns_resultTupleScheme(); } } - private static class commit_txn_resultTupleScheme extends TupleScheme { + private static class get_valid_txns_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, commit_txn_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_valid_txns_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetO1()) { + if (struct.isSetSuccess()) { optionals.set(0); } - if (struct.isSetO2()) { + if (struct.isSetO1()) { optionals.set(1); } - oprot.writeBitSet(optionals, 2); + if (struct.isSetO2()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); + if (struct.isSetSuccess()) { + struct.success.write(oprot); + } if (struct.isSetO1()) { struct.o1.write(oprot); } @@ -176189,16 +177277,21 @@ public void write(org.apache.thrift.protocol.TProtocol prot, commit_txn_result s } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, commit_txn_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_valid_txns_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(2); + BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { + struct.success = new GetValidTxnsResponse(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } + if (incoming.get(1)) { struct.o1 = new NoSuchTxnException(); struct.o1.read(iprot); struct.setO1IsSet(true); } - if (incoming.get(1)) { - struct.o2 = new TxnAbortedException(); + if (incoming.get(2)) { + struct.o2 = new MetaException(); struct.o2.read(iprot); struct.setO2IsSet(true); } @@ -219552,14 +220645,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_all_vers case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1446 = iprot.readListBegin(); - struct.success = new ArrayList(_list1446.size); - SchemaVersion _elem1447; - for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) + org.apache.thrift.protocol.TList _list1454 = iprot.readListBegin(); + struct.success = new ArrayList(_list1454.size); + SchemaVersion _elem1455; + for (int _i1456 = 0; _i1456 < _list1454.size; ++_i1456) { - _elem1447 = new SchemaVersion(); - _elem1447.read(iprot); - struct.success.add(_elem1447); + _elem1455 = new SchemaVersion(); + _elem1455.read(iprot); + struct.success.add(_elem1455); } iprot.readListEnd(); } @@ -219603,9 +220696,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_all_ver oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (SchemaVersion _iter1449 : struct.success) + for (SchemaVersion _iter1457 : struct.success) { - _iter1449.write(oprot); + _iter1457.write(oprot); } oprot.writeListEnd(); } @@ -219652,9 +220745,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_all_vers if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (SchemaVersion _iter1450 : struct.success) + for (SchemaVersion _iter1458 : struct.success) { - _iter1450.write(oprot); + _iter1458.write(oprot); } } } @@ -219672,14 +220765,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_all_versi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1451.size); - SchemaVersion _elem1452; - for (int _i1453 = 0; _i1453 < _list1451.size; ++_i1453) + org.apache.thrift.protocol.TList _list1459 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1459.size); + SchemaVersion _elem1460; + for (int _i1461 = 0; _i1461 < _list1459.size; ++_i1461) { - _elem1452 = new SchemaVersion(); - _elem1452.read(iprot); - struct.success.add(_elem1452); + _elem1460 = new SchemaVersion(); + _elem1460.read(iprot); + struct.success.add(_elem1460); } } struct.setSuccessIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java index 2fc0e00..4b23420 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java @@ -755,14 +755,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 2: // POOLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list800 = iprot.readListBegin(); - struct.pools = new ArrayList(_list800.size); - WMPool _elem801; - for (int _i802 = 0; _i802 < _list800.size; ++_i802) + org.apache.thrift.protocol.TList _list808 = iprot.readListBegin(); + struct.pools = new ArrayList(_list808.size); + WMPool _elem809; + for (int _i810 = 0; _i810 < _list808.size; ++_i810) { - _elem801 = new WMPool(); - _elem801.read(iprot); - struct.pools.add(_elem801); + _elem809 = new WMPool(); + _elem809.read(iprot); + struct.pools.add(_elem809); } iprot.readListEnd(); } @@ -774,14 +774,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 3: // MAPPINGS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list803 = iprot.readListBegin(); - struct.mappings = new ArrayList(_list803.size); - WMMapping _elem804; - for (int _i805 = 0; _i805 < _list803.size; ++_i805) + org.apache.thrift.protocol.TList _list811 = iprot.readListBegin(); + struct.mappings = new ArrayList(_list811.size); + WMMapping _elem812; + for (int _i813 = 0; _i813 < _list811.size; ++_i813) { - _elem804 = new WMMapping(); - _elem804.read(iprot); - struct.mappings.add(_elem804); + _elem812 = new WMMapping(); + _elem812.read(iprot); + struct.mappings.add(_elem812); } iprot.readListEnd(); } @@ -793,14 +793,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 4: // TRIGGERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list806 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list806.size); - WMTrigger _elem807; - for (int _i808 = 0; _i808 < _list806.size; ++_i808) + org.apache.thrift.protocol.TList _list814 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list814.size); + WMTrigger _elem815; + for (int _i816 = 0; _i816 < _list814.size; ++_i816) { - _elem807 = new WMTrigger(); - _elem807.read(iprot); - struct.triggers.add(_elem807); + _elem815 = new WMTrigger(); + _elem815.read(iprot); + struct.triggers.add(_elem815); } iprot.readListEnd(); } @@ -812,14 +812,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 5: // POOL_TRIGGERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list809 = iprot.readListBegin(); - struct.poolTriggers = new ArrayList(_list809.size); - WMPoolTrigger _elem810; - for (int _i811 = 0; _i811 < _list809.size; ++_i811) + org.apache.thrift.protocol.TList _list817 = iprot.readListBegin(); + struct.poolTriggers = new ArrayList(_list817.size); + WMPoolTrigger _elem818; + for (int _i819 = 0; _i819 < _list817.size; ++_i819) { - _elem810 = new WMPoolTrigger(); - _elem810.read(iprot); - struct.poolTriggers.add(_elem810); + _elem818 = new WMPoolTrigger(); + _elem818.read(iprot); + struct.poolTriggers.add(_elem818); } iprot.readListEnd(); } @@ -850,9 +850,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(POOLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.pools.size())); - for (WMPool _iter812 : struct.pools) + for (WMPool _iter820 : struct.pools) { - _iter812.write(oprot); + _iter820.write(oprot); } oprot.writeListEnd(); } @@ -863,9 +863,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(MAPPINGS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.mappings.size())); - for (WMMapping _iter813 : struct.mappings) + for (WMMapping _iter821 : struct.mappings) { - _iter813.write(oprot); + _iter821.write(oprot); } oprot.writeListEnd(); } @@ -877,9 +877,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(TRIGGERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.triggers.size())); - for (WMTrigger _iter814 : struct.triggers) + for (WMTrigger _iter822 : struct.triggers) { - _iter814.write(oprot); + _iter822.write(oprot); } oprot.writeListEnd(); } @@ -891,9 +891,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(POOL_TRIGGERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.poolTriggers.size())); - for (WMPoolTrigger _iter815 : struct.poolTriggers) + for (WMPoolTrigger _iter823 : struct.poolTriggers) { - _iter815.write(oprot); + _iter823.write(oprot); } oprot.writeListEnd(); } @@ -920,9 +920,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMFullResourcePlan struct.plan.write(oprot); { oprot.writeI32(struct.pools.size()); - for (WMPool _iter816 : struct.pools) + for (WMPool _iter824 : struct.pools) { - _iter816.write(oprot); + _iter824.write(oprot); } } BitSet optionals = new BitSet(); @@ -939,27 +939,27 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMFullResourcePlan if (struct.isSetMappings()) { { oprot.writeI32(struct.mappings.size()); - for (WMMapping _iter817 : struct.mappings) + for (WMMapping _iter825 : struct.mappings) { - _iter817.write(oprot); + _iter825.write(oprot); } } } if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter818 : struct.triggers) + for (WMTrigger _iter826 : struct.triggers) { - _iter818.write(oprot); + _iter826.write(oprot); } } } if (struct.isSetPoolTriggers()) { { oprot.writeI32(struct.poolTriggers.size()); - for (WMPoolTrigger _iter819 : struct.poolTriggers) + for (WMPoolTrigger _iter827 : struct.poolTriggers) { - _iter819.write(oprot); + _iter827.write(oprot); } } } @@ -972,56 +972,56 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMFullResourcePlan s struct.plan.read(iprot); struct.setPlanIsSet(true); { - org.apache.thrift.protocol.TList _list820 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.pools = new ArrayList(_list820.size); - WMPool _elem821; - for (int _i822 = 0; _i822 < _list820.size; ++_i822) + org.apache.thrift.protocol.TList _list828 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.pools = new ArrayList(_list828.size); + WMPool _elem829; + for (int _i830 = 0; _i830 < _list828.size; ++_i830) { - _elem821 = new WMPool(); - _elem821.read(iprot); - struct.pools.add(_elem821); + _elem829 = new WMPool(); + _elem829.read(iprot); + struct.pools.add(_elem829); } } struct.setPoolsIsSet(true); BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list823 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.mappings = new ArrayList(_list823.size); - WMMapping _elem824; - for (int _i825 = 0; _i825 < _list823.size; ++_i825) + org.apache.thrift.protocol.TList _list831 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.mappings = new ArrayList(_list831.size); + WMMapping _elem832; + for (int _i833 = 0; _i833 < _list831.size; ++_i833) { - _elem824 = new WMMapping(); - _elem824.read(iprot); - struct.mappings.add(_elem824); + _elem832 = new WMMapping(); + _elem832.read(iprot); + struct.mappings.add(_elem832); } } struct.setMappingsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list826 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list826.size); - WMTrigger _elem827; - for (int _i828 = 0; _i828 < _list826.size; ++_i828) + org.apache.thrift.protocol.TList _list834 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list834.size); + WMTrigger _elem835; + for (int _i836 = 0; _i836 < _list834.size; ++_i836) { - _elem827 = new WMTrigger(); - _elem827.read(iprot); - struct.triggers.add(_elem827); + _elem835 = new WMTrigger(); + _elem835.read(iprot); + struct.triggers.add(_elem835); } } struct.setTriggersIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list829 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.poolTriggers = new ArrayList(_list829.size); - WMPoolTrigger _elem830; - for (int _i831 = 0; _i831 < _list829.size; ++_i831) + org.apache.thrift.protocol.TList _list837 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.poolTriggers = new ArrayList(_list837.size); + WMPoolTrigger _elem838; + for (int _i839 = 0; _i839 < _list837.size; ++_i839) { - _elem830 = new WMPoolTrigger(); - _elem830.read(iprot); - struct.poolTriggers.add(_elem830); + _elem838 = new WMPoolTrigger(); + _elem838.read(iprot); + struct.poolTriggers.add(_elem838); } } struct.setPoolTriggersIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java index 0ddb2b2..0a759f0 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMGetAllResourcePla case 1: // RESOURCE_PLANS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list832 = iprot.readListBegin(); - struct.resourcePlans = new ArrayList(_list832.size); - WMResourcePlan _elem833; - for (int _i834 = 0; _i834 < _list832.size; ++_i834) + org.apache.thrift.protocol.TList _list840 = iprot.readListBegin(); + struct.resourcePlans = new ArrayList(_list840.size); + WMResourcePlan _elem841; + for (int _i842 = 0; _i842 < _list840.size; ++_i842) { - _elem833 = new WMResourcePlan(); - _elem833.read(iprot); - struct.resourcePlans.add(_elem833); + _elem841 = new WMResourcePlan(); + _elem841.read(iprot); + struct.resourcePlans.add(_elem841); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMGetAllResourcePl oprot.writeFieldBegin(RESOURCE_PLANS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.resourcePlans.size())); - for (WMResourcePlan _iter835 : struct.resourcePlans) + for (WMResourcePlan _iter843 : struct.resourcePlans) { - _iter835.write(oprot); + _iter843.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMGetAllResourcePla if (struct.isSetResourcePlans()) { { oprot.writeI32(struct.resourcePlans.size()); - for (WMResourcePlan _iter836 : struct.resourcePlans) + for (WMResourcePlan _iter844 : struct.resourcePlans) { - _iter836.write(oprot); + _iter844.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMGetAllResourcePlan BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list837 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.resourcePlans = new ArrayList(_list837.size); - WMResourcePlan _elem838; - for (int _i839 = 0; _i839 < _list837.size; ++_i839) + org.apache.thrift.protocol.TList _list845 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.resourcePlans = new ArrayList(_list845.size); + WMResourcePlan _elem846; + for (int _i847 = 0; _i847 < _list845.size; ++_i847) { - _elem838 = new WMResourcePlan(); - _elem838.read(iprot); - struct.resourcePlans.add(_elem838); + _elem846 = new WMResourcePlan(); + _elem846.read(iprot); + struct.resourcePlans.add(_elem846); } } struct.setResourcePlansIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java index 93fa2b7..5628621 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMGetTriggersForRes case 1: // TRIGGERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list856 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list856.size); - WMTrigger _elem857; - for (int _i858 = 0; _i858 < _list856.size; ++_i858) + org.apache.thrift.protocol.TList _list864 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list864.size); + WMTrigger _elem865; + for (int _i866 = 0; _i866 < _list864.size; ++_i866) { - _elem857 = new WMTrigger(); - _elem857.read(iprot); - struct.triggers.add(_elem857); + _elem865 = new WMTrigger(); + _elem865.read(iprot); + struct.triggers.add(_elem865); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMGetTriggersForRe oprot.writeFieldBegin(TRIGGERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.triggers.size())); - for (WMTrigger _iter859 : struct.triggers) + for (WMTrigger _iter867 : struct.triggers) { - _iter859.write(oprot); + _iter867.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMGetTriggersForRes if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter860 : struct.triggers) + for (WMTrigger _iter868 : struct.triggers) { - _iter860.write(oprot); + _iter868.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMGetTriggersForReso BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list861 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list861.size); - WMTrigger _elem862; - for (int _i863 = 0; _i863 < _list861.size; ++_i863) + org.apache.thrift.protocol.TList _list869 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list869.size); + WMTrigger _elem870; + for (int _i871 = 0; _i871 < _list869.size; ++_i871) { - _elem862 = new WMTrigger(); - _elem862.read(iprot); - struct.triggers.add(_elem862); + _elem870 = new WMTrigger(); + _elem870.read(iprot); + struct.triggers.add(_elem870); } } struct.setTriggersIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java index 97d33c1..3dc92f6 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java @@ -441,13 +441,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMValidateResourceP case 1: // ERRORS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list840 = iprot.readListBegin(); - struct.errors = new ArrayList(_list840.size); - String _elem841; - for (int _i842 = 0; _i842 < _list840.size; ++_i842) + org.apache.thrift.protocol.TList _list848 = iprot.readListBegin(); + struct.errors = new ArrayList(_list848.size); + String _elem849; + for (int _i850 = 0; _i850 < _list848.size; ++_i850) { - _elem841 = iprot.readString(); - struct.errors.add(_elem841); + _elem849 = iprot.readString(); + struct.errors.add(_elem849); } iprot.readListEnd(); } @@ -459,13 +459,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMValidateResourceP case 2: // WARNINGS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list843 = iprot.readListBegin(); - struct.warnings = new ArrayList(_list843.size); - String _elem844; - for (int _i845 = 0; _i845 < _list843.size; ++_i845) + org.apache.thrift.protocol.TList _list851 = iprot.readListBegin(); + struct.warnings = new ArrayList(_list851.size); + String _elem852; + for (int _i853 = 0; _i853 < _list851.size; ++_i853) { - _elem844 = iprot.readString(); - struct.warnings.add(_elem844); + _elem852 = iprot.readString(); + struct.warnings.add(_elem852); } iprot.readListEnd(); } @@ -492,9 +492,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMValidateResource oprot.writeFieldBegin(ERRORS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.errors.size())); - for (String _iter846 : struct.errors) + for (String _iter854 : struct.errors) { - oprot.writeString(_iter846); + oprot.writeString(_iter854); } oprot.writeListEnd(); } @@ -506,9 +506,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMValidateResource oprot.writeFieldBegin(WARNINGS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.warnings.size())); - for (String _iter847 : struct.warnings) + for (String _iter855 : struct.warnings) { - oprot.writeString(_iter847); + oprot.writeString(_iter855); } oprot.writeListEnd(); } @@ -543,18 +543,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMValidateResourceP if (struct.isSetErrors()) { { oprot.writeI32(struct.errors.size()); - for (String _iter848 : struct.errors) + for (String _iter856 : struct.errors) { - oprot.writeString(_iter848); + oprot.writeString(_iter856); } } } if (struct.isSetWarnings()) { { oprot.writeI32(struct.warnings.size()); - for (String _iter849 : struct.warnings) + for (String _iter857 : struct.warnings) { - oprot.writeString(_iter849); + oprot.writeString(_iter857); } } } @@ -566,26 +566,26 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMValidateResourcePl BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list850 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.errors = new ArrayList(_list850.size); - String _elem851; - for (int _i852 = 0; _i852 < _list850.size; ++_i852) + org.apache.thrift.protocol.TList _list858 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.errors = new ArrayList(_list858.size); + String _elem859; + for (int _i860 = 0; _i860 < _list858.size; ++_i860) { - _elem851 = iprot.readString(); - struct.errors.add(_elem851); + _elem859 = iprot.readString(); + struct.errors.add(_elem859); } } struct.setErrorsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list853 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.warnings = new ArrayList(_list853.size); - String _elem854; - for (int _i855 = 0; _i855 < _list853.size; ++_i855) + org.apache.thrift.protocol.TList _list861 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.warnings = new ArrayList(_list861.size); + String _elem862; + for (int _i863 = 0; _i863 < _list861.size; ++_i863) { - _elem854 = iprot.readString(); - struct.warnings.add(_elem854); + _elem862 = iprot.readString(); + struct.warnings.add(_elem862); } } struct.setWarningsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php b/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php index efe693a..5fa8e3e 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -1116,6 +1116,13 @@ interface ThriftHiveMetastoreIf extends \FacebookServiceIf { */ public function commit_txn(\metastore\CommitTxnRequest $rqst); /** + * @param \metastore\GetValidTxnsRequest $rqst + * @return \metastore\GetValidTxnsResponse + * @throws \metastore\NoSuchTxnException + * @throws \metastore\MetaException + */ + public function get_valid_txns(\metastore\GetValidTxnsRequest $rqst); + /** * @param \metastore\GetValidWriteIdsRequest $rqst * @return \metastore\GetValidWriteIdsResponse * @throws \metastore\NoSuchTxnException @@ -9449,6 +9456,63 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas return; } + public function get_valid_txns(\metastore\GetValidTxnsRequest $rqst) + { + $this->send_get_valid_txns($rqst); + return $this->recv_get_valid_txns(); + } + + public function send_get_valid_txns(\metastore\GetValidTxnsRequest $rqst) + { + $args = new \metastore\ThriftHiveMetastore_get_valid_txns_args(); + $args->rqst = $rqst; + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); + if ($bin_accel) + { + thrift_protocol_write_binary($this->output_, 'get_valid_txns', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); + } + else + { + $this->output_->writeMessageBegin('get_valid_txns', TMessageType::CALL, $this->seqid_); + $args->write($this->output_); + $this->output_->writeMessageEnd(); + $this->output_->getTransport()->flush(); + } + } + + public function recv_get_valid_txns() + { + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); + if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_valid_txns_result', $this->input_->isStrictRead()); + else + { + $rseqid = 0; + $fname = null; + $mtype = 0; + + $this->input_->readMessageBegin($fname, $mtype, $rseqid); + if ($mtype == TMessageType::EXCEPTION) { + $x = new TApplicationException(); + $x->read($this->input_); + $this->input_->readMessageEnd(); + throw $x; + } + $result = new \metastore\ThriftHiveMetastore_get_valid_txns_result(); + $result->read($this->input_); + $this->input_->readMessageEnd(); + } + if ($result->success !== null) { + return $result->success; + } + if ($result->o1 !== null) { + throw $result->o1; + } + if ($result->o2 !== null) { + throw $result->o2; + } + throw new \Exception("get_valid_txns failed: unknown result"); + } + public function get_valid_write_ids(\metastore\GetValidWriteIdsRequest $rqst) { $this->send_get_valid_write_ids($rqst); @@ -13660,14 +13724,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size778 = 0; - $_etype781 = 0; - $xfer += $input->readListBegin($_etype781, $_size778); - for ($_i782 = 0; $_i782 < $_size778; ++$_i782) + $_size785 = 0; + $_etype788 = 0; + $xfer += $input->readListBegin($_etype788, $_size785); + for ($_i789 = 0; $_i789 < $_size785; ++$_i789) { - $elem783 = null; - $xfer += $input->readString($elem783); - $this->success []= $elem783; + $elem790 = null; + $xfer += $input->readString($elem790); + $this->success []= $elem790; } $xfer += $input->readListEnd(); } else { @@ -13703,9 +13767,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter784) + foreach ($this->success as $iter791) { - $xfer += $output->writeString($iter784); + $xfer += $output->writeString($iter791); } } $output->writeListEnd(); @@ -13836,14 +13900,14 @@ class ThriftHiveMetastore_get_all_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size785 = 0; - $_etype788 = 0; - $xfer += $input->readListBegin($_etype788, $_size785); - for ($_i789 = 0; $_i789 < $_size785; ++$_i789) + $_size792 = 0; + $_etype795 = 0; + $xfer += $input->readListBegin($_etype795, $_size792); + for ($_i796 = 0; $_i796 < $_size792; ++$_i796) { - $elem790 = null; - $xfer += $input->readString($elem790); - $this->success []= $elem790; + $elem797 = null; + $xfer += $input->readString($elem797); + $this->success []= $elem797; } $xfer += $input->readListEnd(); } else { @@ -13879,9 +13943,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter791) + foreach ($this->success as $iter798) { - $xfer += $output->writeString($iter791); + $xfer += $output->writeString($iter798); } } $output->writeListEnd(); @@ -14882,18 +14946,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size792 = 0; - $_ktype793 = 0; - $_vtype794 = 0; - $xfer += $input->readMapBegin($_ktype793, $_vtype794, $_size792); - for ($_i796 = 0; $_i796 < $_size792; ++$_i796) + $_size799 = 0; + $_ktype800 = 0; + $_vtype801 = 0; + $xfer += $input->readMapBegin($_ktype800, $_vtype801, $_size799); + for ($_i803 = 0; $_i803 < $_size799; ++$_i803) { - $key797 = ''; - $val798 = new \metastore\Type(); - $xfer += $input->readString($key797); - $val798 = new \metastore\Type(); - $xfer += $val798->read($input); - $this->success[$key797] = $val798; + $key804 = ''; + $val805 = new \metastore\Type(); + $xfer += $input->readString($key804); + $val805 = new \metastore\Type(); + $xfer += $val805->read($input); + $this->success[$key804] = $val805; } $xfer += $input->readMapEnd(); } else { @@ -14929,10 +14993,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter799 => $viter800) + foreach ($this->success as $kiter806 => $viter807) { - $xfer += $output->writeString($kiter799); - $xfer += $viter800->write($output); + $xfer += $output->writeString($kiter806); + $xfer += $viter807->write($output); } } $output->writeMapEnd(); @@ -15136,15 +15200,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size801 = 0; - $_etype804 = 0; - $xfer += $input->readListBegin($_etype804, $_size801); - for ($_i805 = 0; $_i805 < $_size801; ++$_i805) + $_size808 = 0; + $_etype811 = 0; + $xfer += $input->readListBegin($_etype811, $_size808); + for ($_i812 = 0; $_i812 < $_size808; ++$_i812) { - $elem806 = null; - $elem806 = new \metastore\FieldSchema(); - $xfer += $elem806->read($input); - $this->success []= $elem806; + $elem813 = null; + $elem813 = new \metastore\FieldSchema(); + $xfer += $elem813->read($input); + $this->success []= $elem813; } $xfer += $input->readListEnd(); } else { @@ -15196,9 +15260,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter807) + foreach ($this->success as $iter814) { - $xfer += $iter807->write($output); + $xfer += $iter814->write($output); } } $output->writeListEnd(); @@ -15440,15 +15504,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size808 = 0; - $_etype811 = 0; - $xfer += $input->readListBegin($_etype811, $_size808); - for ($_i812 = 0; $_i812 < $_size808; ++$_i812) + $_size815 = 0; + $_etype818 = 0; + $xfer += $input->readListBegin($_etype818, $_size815); + for ($_i819 = 0; $_i819 < $_size815; ++$_i819) { - $elem813 = null; - $elem813 = new \metastore\FieldSchema(); - $xfer += $elem813->read($input); - $this->success []= $elem813; + $elem820 = null; + $elem820 = new \metastore\FieldSchema(); + $xfer += $elem820->read($input); + $this->success []= $elem820; } $xfer += $input->readListEnd(); } else { @@ -15500,9 +15564,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter814) + foreach ($this->success as $iter821) { - $xfer += $iter814->write($output); + $xfer += $iter821->write($output); } } $output->writeListEnd(); @@ -15716,15 +15780,15 @@ class ThriftHiveMetastore_get_schema_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size815 = 0; - $_etype818 = 0; - $xfer += $input->readListBegin($_etype818, $_size815); - for ($_i819 = 0; $_i819 < $_size815; ++$_i819) + $_size822 = 0; + $_etype825 = 0; + $xfer += $input->readListBegin($_etype825, $_size822); + for ($_i826 = 0; $_i826 < $_size822; ++$_i826) { - $elem820 = null; - $elem820 = new \metastore\FieldSchema(); - $xfer += $elem820->read($input); - $this->success []= $elem820; + $elem827 = null; + $elem827 = new \metastore\FieldSchema(); + $xfer += $elem827->read($input); + $this->success []= $elem827; } $xfer += $input->readListEnd(); } else { @@ -15776,9 +15840,9 @@ class ThriftHiveMetastore_get_schema_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter821) + foreach ($this->success as $iter828) { - $xfer += $iter821->write($output); + $xfer += $iter828->write($output); } } $output->writeListEnd(); @@ -16020,15 +16084,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size822 = 0; - $_etype825 = 0; - $xfer += $input->readListBegin($_etype825, $_size822); - for ($_i826 = 0; $_i826 < $_size822; ++$_i826) + $_size829 = 0; + $_etype832 = 0; + $xfer += $input->readListBegin($_etype832, $_size829); + for ($_i833 = 0; $_i833 < $_size829; ++$_i833) { - $elem827 = null; - $elem827 = new \metastore\FieldSchema(); - $xfer += $elem827->read($input); - $this->success []= $elem827; + $elem834 = null; + $elem834 = new \metastore\FieldSchema(); + $xfer += $elem834->read($input); + $this->success []= $elem834; } $xfer += $input->readListEnd(); } else { @@ -16080,9 +16144,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter828) + foreach ($this->success as $iter835) { - $xfer += $iter828->write($output); + $xfer += $iter835->write($output); } } $output->writeListEnd(); @@ -16738,15 +16802,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 2: if ($ftype == TType::LST) { $this->primaryKeys = array(); - $_size829 = 0; - $_etype832 = 0; - $xfer += $input->readListBegin($_etype832, $_size829); - for ($_i833 = 0; $_i833 < $_size829; ++$_i833) + $_size836 = 0; + $_etype839 = 0; + $xfer += $input->readListBegin($_etype839, $_size836); + for ($_i840 = 0; $_i840 < $_size836; ++$_i840) { - $elem834 = null; - $elem834 = new \metastore\SQLPrimaryKey(); - $xfer += $elem834->read($input); - $this->primaryKeys []= $elem834; + $elem841 = null; + $elem841 = new \metastore\SQLPrimaryKey(); + $xfer += $elem841->read($input); + $this->primaryKeys []= $elem841; } $xfer += $input->readListEnd(); } else { @@ -16756,15 +16820,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 3: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size835 = 0; - $_etype838 = 0; - $xfer += $input->readListBegin($_etype838, $_size835); - for ($_i839 = 0; $_i839 < $_size835; ++$_i839) + $_size842 = 0; + $_etype845 = 0; + $xfer += $input->readListBegin($_etype845, $_size842); + for ($_i846 = 0; $_i846 < $_size842; ++$_i846) { - $elem840 = null; - $elem840 = new \metastore\SQLForeignKey(); - $xfer += $elem840->read($input); - $this->foreignKeys []= $elem840; + $elem847 = null; + $elem847 = new \metastore\SQLForeignKey(); + $xfer += $elem847->read($input); + $this->foreignKeys []= $elem847; } $xfer += $input->readListEnd(); } else { @@ -16774,15 +16838,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 4: if ($ftype == TType::LST) { $this->uniqueConstraints = array(); - $_size841 = 0; - $_etype844 = 0; - $xfer += $input->readListBegin($_etype844, $_size841); - for ($_i845 = 0; $_i845 < $_size841; ++$_i845) + $_size848 = 0; + $_etype851 = 0; + $xfer += $input->readListBegin($_etype851, $_size848); + for ($_i852 = 0; $_i852 < $_size848; ++$_i852) { - $elem846 = null; - $elem846 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem846->read($input); - $this->uniqueConstraints []= $elem846; + $elem853 = null; + $elem853 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem853->read($input); + $this->uniqueConstraints []= $elem853; } $xfer += $input->readListEnd(); } else { @@ -16792,15 +16856,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 5: if ($ftype == TType::LST) { $this->notNullConstraints = array(); - $_size847 = 0; - $_etype850 = 0; - $xfer += $input->readListBegin($_etype850, $_size847); - for ($_i851 = 0; $_i851 < $_size847; ++$_i851) + $_size854 = 0; + $_etype857 = 0; + $xfer += $input->readListBegin($_etype857, $_size854); + for ($_i858 = 0; $_i858 < $_size854; ++$_i858) { - $elem852 = null; - $elem852 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem852->read($input); - $this->notNullConstraints []= $elem852; + $elem859 = null; + $elem859 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem859->read($input); + $this->notNullConstraints []= $elem859; } $xfer += $input->readListEnd(); } else { @@ -16810,15 +16874,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 6: if ($ftype == TType::LST) { $this->defaultConstraints = array(); - $_size853 = 0; - $_etype856 = 0; - $xfer += $input->readListBegin($_etype856, $_size853); - for ($_i857 = 0; $_i857 < $_size853; ++$_i857) + $_size860 = 0; + $_etype863 = 0; + $xfer += $input->readListBegin($_etype863, $_size860); + for ($_i864 = 0; $_i864 < $_size860; ++$_i864) { - $elem858 = null; - $elem858 = new \metastore\SQLDefaultConstraint(); - $xfer += $elem858->read($input); - $this->defaultConstraints []= $elem858; + $elem865 = null; + $elem865 = new \metastore\SQLDefaultConstraint(); + $xfer += $elem865->read($input); + $this->defaultConstraints []= $elem865; } $xfer += $input->readListEnd(); } else { @@ -16854,9 +16918,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); { - foreach ($this->primaryKeys as $iter859) + foreach ($this->primaryKeys as $iter866) { - $xfer += $iter859->write($output); + $xfer += $iter866->write($output); } } $output->writeListEnd(); @@ -16871,9 +16935,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); { - foreach ($this->foreignKeys as $iter860) + foreach ($this->foreignKeys as $iter867) { - $xfer += $iter860->write($output); + $xfer += $iter867->write($output); } } $output->writeListEnd(); @@ -16888,9 +16952,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints)); { - foreach ($this->uniqueConstraints as $iter861) + foreach ($this->uniqueConstraints as $iter868) { - $xfer += $iter861->write($output); + $xfer += $iter868->write($output); } } $output->writeListEnd(); @@ -16905,9 +16969,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->notNullConstraints)); { - foreach ($this->notNullConstraints as $iter862) + foreach ($this->notNullConstraints as $iter869) { - $xfer += $iter862->write($output); + $xfer += $iter869->write($output); } } $output->writeListEnd(); @@ -16922,9 +16986,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->defaultConstraints)); { - foreach ($this->defaultConstraints as $iter863) + foreach ($this->defaultConstraints as $iter870) { - $xfer += $iter863->write($output); + $xfer += $iter870->write($output); } } $output->writeListEnd(); @@ -18742,14 +18806,14 @@ class ThriftHiveMetastore_truncate_table_args { case 3: if ($ftype == TType::LST) { $this->partNames = array(); - $_size864 = 0; - $_etype867 = 0; - $xfer += $input->readListBegin($_etype867, $_size864); - for ($_i868 = 0; $_i868 < $_size864; ++$_i868) + $_size871 = 0; + $_etype874 = 0; + $xfer += $input->readListBegin($_etype874, $_size871); + for ($_i875 = 0; $_i875 < $_size871; ++$_i875) { - $elem869 = null; - $xfer += $input->readString($elem869); - $this->partNames []= $elem869; + $elem876 = null; + $xfer += $input->readString($elem876); + $this->partNames []= $elem876; } $xfer += $input->readListEnd(); } else { @@ -18787,9 +18851,9 @@ class ThriftHiveMetastore_truncate_table_args { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter870) + foreach ($this->partNames as $iter877) { - $xfer += $output->writeString($iter870); + $xfer += $output->writeString($iter877); } } $output->writeListEnd(); @@ -19040,14 +19104,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size871 = 0; - $_etype874 = 0; - $xfer += $input->readListBegin($_etype874, $_size871); - for ($_i875 = 0; $_i875 < $_size871; ++$_i875) + $_size878 = 0; + $_etype881 = 0; + $xfer += $input->readListBegin($_etype881, $_size878); + for ($_i882 = 0; $_i882 < $_size878; ++$_i882) { - $elem876 = null; - $xfer += $input->readString($elem876); - $this->success []= $elem876; + $elem883 = null; + $xfer += $input->readString($elem883); + $this->success []= $elem883; } $xfer += $input->readListEnd(); } else { @@ -19083,9 +19147,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter877) + foreach ($this->success as $iter884) { - $xfer += $output->writeString($iter877); + $xfer += $output->writeString($iter884); } } $output->writeListEnd(); @@ -19287,14 +19351,14 @@ class ThriftHiveMetastore_get_tables_by_type_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size878 = 0; - $_etype881 = 0; - $xfer += $input->readListBegin($_etype881, $_size878); - for ($_i882 = 0; $_i882 < $_size878; ++$_i882) + $_size885 = 0; + $_etype888 = 0; + $xfer += $input->readListBegin($_etype888, $_size885); + for ($_i889 = 0; $_i889 < $_size885; ++$_i889) { - $elem883 = null; - $xfer += $input->readString($elem883); - $this->success []= $elem883; + $elem890 = null; + $xfer += $input->readString($elem890); + $this->success []= $elem890; } $xfer += $input->readListEnd(); } else { @@ -19330,9 +19394,9 @@ class ThriftHiveMetastore_get_tables_by_type_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter884) + foreach ($this->success as $iter891) { - $xfer += $output->writeString($iter884); + $xfer += $output->writeString($iter891); } } $output->writeListEnd(); @@ -19488,14 +19552,14 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size885 = 0; - $_etype888 = 0; - $xfer += $input->readListBegin($_etype888, $_size885); - for ($_i889 = 0; $_i889 < $_size885; ++$_i889) + $_size892 = 0; + $_etype895 = 0; + $xfer += $input->readListBegin($_etype895, $_size892); + for ($_i896 = 0; $_i896 < $_size892; ++$_i896) { - $elem890 = null; - $xfer += $input->readString($elem890); - $this->success []= $elem890; + $elem897 = null; + $xfer += $input->readString($elem897); + $this->success []= $elem897; } $xfer += $input->readListEnd(); } else { @@ -19531,9 +19595,9 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter891) + foreach ($this->success as $iter898) { - $xfer += $output->writeString($iter891); + $xfer += $output->writeString($iter898); } } $output->writeListEnd(); @@ -19638,14 +19702,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = array(); - $_size892 = 0; - $_etype895 = 0; - $xfer += $input->readListBegin($_etype895, $_size892); - for ($_i896 = 0; $_i896 < $_size892; ++$_i896) + $_size899 = 0; + $_etype902 = 0; + $xfer += $input->readListBegin($_etype902, $_size899); + for ($_i903 = 0; $_i903 < $_size899; ++$_i903) { - $elem897 = null; - $xfer += $input->readString($elem897); - $this->tbl_types []= $elem897; + $elem904 = null; + $xfer += $input->readString($elem904); + $this->tbl_types []= $elem904; } $xfer += $input->readListEnd(); } else { @@ -19683,9 +19747,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter898) + foreach ($this->tbl_types as $iter905) { - $xfer += $output->writeString($iter898); + $xfer += $output->writeString($iter905); } } $output->writeListEnd(); @@ -19762,15 +19826,15 @@ class ThriftHiveMetastore_get_table_meta_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size899 = 0; - $_etype902 = 0; - $xfer += $input->readListBegin($_etype902, $_size899); - for ($_i903 = 0; $_i903 < $_size899; ++$_i903) + $_size906 = 0; + $_etype909 = 0; + $xfer += $input->readListBegin($_etype909, $_size906); + for ($_i910 = 0; $_i910 < $_size906; ++$_i910) { - $elem904 = null; - $elem904 = new \metastore\TableMeta(); - $xfer += $elem904->read($input); - $this->success []= $elem904; + $elem911 = null; + $elem911 = new \metastore\TableMeta(); + $xfer += $elem911->read($input); + $this->success []= $elem911; } $xfer += $input->readListEnd(); } else { @@ -19806,9 +19870,9 @@ class ThriftHiveMetastore_get_table_meta_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter905) + foreach ($this->success as $iter912) { - $xfer += $iter905->write($output); + $xfer += $iter912->write($output); } } $output->writeListEnd(); @@ -19964,14 +20028,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size906 = 0; - $_etype909 = 0; - $xfer += $input->readListBegin($_etype909, $_size906); - for ($_i910 = 0; $_i910 < $_size906; ++$_i910) + $_size913 = 0; + $_etype916 = 0; + $xfer += $input->readListBegin($_etype916, $_size913); + for ($_i917 = 0; $_i917 < $_size913; ++$_i917) { - $elem911 = null; - $xfer += $input->readString($elem911); - $this->success []= $elem911; + $elem918 = null; + $xfer += $input->readString($elem918); + $this->success []= $elem918; } $xfer += $input->readListEnd(); } else { @@ -20007,9 +20071,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter912) + foreach ($this->success as $iter919) { - $xfer += $output->writeString($iter912); + $xfer += $output->writeString($iter919); } } $output->writeListEnd(); @@ -20324,14 +20388,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size913 = 0; - $_etype916 = 0; - $xfer += $input->readListBegin($_etype916, $_size913); - for ($_i917 = 0; $_i917 < $_size913; ++$_i917) + $_size920 = 0; + $_etype923 = 0; + $xfer += $input->readListBegin($_etype923, $_size920); + for ($_i924 = 0; $_i924 < $_size920; ++$_i924) { - $elem918 = null; - $xfer += $input->readString($elem918); - $this->tbl_names []= $elem918; + $elem925 = null; + $xfer += $input->readString($elem925); + $this->tbl_names []= $elem925; } $xfer += $input->readListEnd(); } else { @@ -20364,9 +20428,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter919) + foreach ($this->tbl_names as $iter926) { - $xfer += $output->writeString($iter919); + $xfer += $output->writeString($iter926); } } $output->writeListEnd(); @@ -20431,15 +20495,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size920 = 0; - $_etype923 = 0; - $xfer += $input->readListBegin($_etype923, $_size920); - for ($_i924 = 0; $_i924 < $_size920; ++$_i924) + $_size927 = 0; + $_etype930 = 0; + $xfer += $input->readListBegin($_etype930, $_size927); + for ($_i931 = 0; $_i931 < $_size927; ++$_i931) { - $elem925 = null; - $elem925 = new \metastore\Table(); - $xfer += $elem925->read($input); - $this->success []= $elem925; + $elem932 = null; + $elem932 = new \metastore\Table(); + $xfer += $elem932->read($input); + $this->success []= $elem932; } $xfer += $input->readListEnd(); } else { @@ -20467,9 +20531,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter926) + foreach ($this->success as $iter933) { - $xfer += $iter926->write($output); + $xfer += $iter933->write($output); } } $output->writeListEnd(); @@ -20996,14 +21060,14 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size927 = 0; - $_etype930 = 0; - $xfer += $input->readListBegin($_etype930, $_size927); - for ($_i931 = 0; $_i931 < $_size927; ++$_i931) + $_size934 = 0; + $_etype937 = 0; + $xfer += $input->readListBegin($_etype937, $_size934); + for ($_i938 = 0; $_i938 < $_size934; ++$_i938) { - $elem932 = null; - $xfer += $input->readString($elem932); - $this->tbl_names []= $elem932; + $elem939 = null; + $xfer += $input->readString($elem939); + $this->tbl_names []= $elem939; } $xfer += $input->readListEnd(); } else { @@ -21036,9 +21100,9 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter933) + foreach ($this->tbl_names as $iter940) { - $xfer += $output->writeString($iter933); + $xfer += $output->writeString($iter940); } } $output->writeListEnd(); @@ -21143,18 +21207,18 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size934 = 0; - $_ktype935 = 0; - $_vtype936 = 0; - $xfer += $input->readMapBegin($_ktype935, $_vtype936, $_size934); - for ($_i938 = 0; $_i938 < $_size934; ++$_i938) + $_size941 = 0; + $_ktype942 = 0; + $_vtype943 = 0; + $xfer += $input->readMapBegin($_ktype942, $_vtype943, $_size941); + for ($_i945 = 0; $_i945 < $_size941; ++$_i945) { - $key939 = ''; - $val940 = new \metastore\Materialization(); - $xfer += $input->readString($key939); - $val940 = new \metastore\Materialization(); - $xfer += $val940->read($input); - $this->success[$key939] = $val940; + $key946 = ''; + $val947 = new \metastore\Materialization(); + $xfer += $input->readString($key946); + $val947 = new \metastore\Materialization(); + $xfer += $val947->read($input); + $this->success[$key946] = $val947; } $xfer += $input->readMapEnd(); } else { @@ -21206,10 +21270,10 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter941 => $viter942) + foreach ($this->success as $kiter948 => $viter949) { - $xfer += $output->writeString($kiter941); - $xfer += $viter942->write($output); + $xfer += $output->writeString($kiter948); + $xfer += $viter949->write($output); } } $output->writeMapEnd(); @@ -21698,14 +21762,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size943 = 0; - $_etype946 = 0; - $xfer += $input->readListBegin($_etype946, $_size943); - for ($_i947 = 0; $_i947 < $_size943; ++$_i947) + $_size950 = 0; + $_etype953 = 0; + $xfer += $input->readListBegin($_etype953, $_size950); + for ($_i954 = 0; $_i954 < $_size950; ++$_i954) { - $elem948 = null; - $xfer += $input->readString($elem948); - $this->success []= $elem948; + $elem955 = null; + $xfer += $input->readString($elem955); + $this->success []= $elem955; } $xfer += $input->readListEnd(); } else { @@ -21757,9 +21821,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter949) + foreach ($this->success as $iter956) { - $xfer += $output->writeString($iter949); + $xfer += $output->writeString($iter956); } } $output->writeListEnd(); @@ -23072,266 +23136,13 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size950 = 0; - $_etype953 = 0; - $xfer += $input->readListBegin($_etype953, $_size950); - for ($_i954 = 0; $_i954 < $_size950; ++$_i954) - { - $elem955 = null; - $elem955 = new \metastore\Partition(); - $xfer += $elem955->read($input); - $this->new_parts []= $elem955; - } - $xfer += $input->readListEnd(); - } else { - $xfer += $input->skip($ftype); - } - break; - default: - $xfer += $input->skip($ftype); - break; - } - $xfer += $input->readFieldEnd(); - } - $xfer += $input->readStructEnd(); - return $xfer; - } - - public function write($output) { - $xfer = 0; - $xfer += $output->writeStructBegin('ThriftHiveMetastore_add_partitions_args'); - if ($this->new_parts !== null) { - if (!is_array($this->new_parts)) { - throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); - } - $xfer += $output->writeFieldBegin('new_parts', TType::LST, 1); - { - $output->writeListBegin(TType::STRUCT, count($this->new_parts)); - { - foreach ($this->new_parts as $iter956) - { - $xfer += $iter956->write($output); - } - } - $output->writeListEnd(); - } - $xfer += $output->writeFieldEnd(); - } - $xfer += $output->writeFieldStop(); - $xfer += $output->writeStructEnd(); - return $xfer; - } - -} - -class ThriftHiveMetastore_add_partitions_result { - static $_TSPEC; - - /** - * @var int - */ - public $success = null; - /** - * @var \metastore\InvalidObjectException - */ - public $o1 = null; - /** - * @var \metastore\AlreadyExistsException - */ - public $o2 = null; - /** - * @var \metastore\MetaException - */ - public $o3 = null; - - public function __construct($vals=null) { - if (!isset(self::$_TSPEC)) { - self::$_TSPEC = array( - 0 => array( - 'var' => 'success', - 'type' => TType::I32, - ), - 1 => array( - 'var' => 'o1', - 'type' => TType::STRUCT, - 'class' => '\metastore\InvalidObjectException', - ), - 2 => array( - 'var' => 'o2', - 'type' => TType::STRUCT, - 'class' => '\metastore\AlreadyExistsException', - ), - 3 => array( - 'var' => 'o3', - 'type' => TType::STRUCT, - 'class' => '\metastore\MetaException', - ), - ); - } - if (is_array($vals)) { - if (isset($vals['success'])) { - $this->success = $vals['success']; - } - if (isset($vals['o1'])) { - $this->o1 = $vals['o1']; - } - if (isset($vals['o2'])) { - $this->o2 = $vals['o2']; - } - if (isset($vals['o3'])) { - $this->o3 = $vals['o3']; - } - } - } - - public function getName() { - return 'ThriftHiveMetastore_add_partitions_result'; - } - - public function read($input) - { - $xfer = 0; - $fname = null; - $ftype = 0; - $fid = 0; - $xfer += $input->readStructBegin($fname); - while (true) - { - $xfer += $input->readFieldBegin($fname, $ftype, $fid); - if ($ftype == TType::STOP) { - break; - } - switch ($fid) - { - case 0: - if ($ftype == TType::I32) { - $xfer += $input->readI32($this->success); - } else { - $xfer += $input->skip($ftype); - } - break; - case 1: - if ($ftype == TType::STRUCT) { - $this->o1 = new \metastore\InvalidObjectException(); - $xfer += $this->o1->read($input); - } else { - $xfer += $input->skip($ftype); - } - break; - case 2: - if ($ftype == TType::STRUCT) { - $this->o2 = new \metastore\AlreadyExistsException(); - $xfer += $this->o2->read($input); - } else { - $xfer += $input->skip($ftype); - } - break; - case 3: - if ($ftype == TType::STRUCT) { - $this->o3 = new \metastore\MetaException(); - $xfer += $this->o3->read($input); - } else { - $xfer += $input->skip($ftype); - } - break; - default: - $xfer += $input->skip($ftype); - break; - } - $xfer += $input->readFieldEnd(); - } - $xfer += $input->readStructEnd(); - return $xfer; - } - - public function write($output) { - $xfer = 0; - $xfer += $output->writeStructBegin('ThriftHiveMetastore_add_partitions_result'); - if ($this->success !== null) { - $xfer += $output->writeFieldBegin('success', TType::I32, 0); - $xfer += $output->writeI32($this->success); - $xfer += $output->writeFieldEnd(); - } - if ($this->o1 !== null) { - $xfer += $output->writeFieldBegin('o1', TType::STRUCT, 1); - $xfer += $this->o1->write($output); - $xfer += $output->writeFieldEnd(); - } - if ($this->o2 !== null) { - $xfer += $output->writeFieldBegin('o2', TType::STRUCT, 2); - $xfer += $this->o2->write($output); - $xfer += $output->writeFieldEnd(); - } - if ($this->o3 !== null) { - $xfer += $output->writeFieldBegin('o3', TType::STRUCT, 3); - $xfer += $this->o3->write($output); - $xfer += $output->writeFieldEnd(); - } - $xfer += $output->writeFieldStop(); - $xfer += $output->writeStructEnd(); - return $xfer; - } - -} - -class ThriftHiveMetastore_add_partitions_pspec_args { - static $_TSPEC; - - /** - * @var \metastore\PartitionSpec[] - */ - public $new_parts = null; - - public function __construct($vals=null) { - if (!isset(self::$_TSPEC)) { - self::$_TSPEC = array( - 1 => array( - 'var' => 'new_parts', - 'type' => TType::LST, - 'etype' => TType::STRUCT, - 'elem' => array( - 'type' => TType::STRUCT, - 'class' => '\metastore\PartitionSpec', - ), - ), - ); - } - if (is_array($vals)) { - if (isset($vals['new_parts'])) { - $this->new_parts = $vals['new_parts']; - } - } - } - - public function getName() { - return 'ThriftHiveMetastore_add_partitions_pspec_args'; - } - - public function read($input) - { - $xfer = 0; - $fname = null; - $ftype = 0; - $fid = 0; - $xfer += $input->readStructBegin($fname); - while (true) - { - $xfer += $input->readFieldBegin($fname, $ftype, $fid); - if ($ftype == TType::STOP) { - break; - } - switch ($fid) - { - case 1: - if ($ftype == TType::LST) { - $this->new_parts = array(); $_size957 = 0; $_etype960 = 0; $xfer += $input->readListBegin($_etype960, $_size957); for ($_i961 = 0; $_i961 < $_size957; ++$_i961) { $elem962 = null; - $elem962 = new \metastore\PartitionSpec(); + $elem962 = new \metastore\Partition(); $xfer += $elem962->read($input); $this->new_parts []= $elem962; } @@ -23352,7 +23163,7 @@ class ThriftHiveMetastore_add_partitions_pspec_args { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('ThriftHiveMetastore_add_partitions_pspec_args'); + $xfer += $output->writeStructBegin('ThriftHiveMetastore_add_partitions_args'); if ($this->new_parts !== null) { if (!is_array($this->new_parts)) { throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); @@ -23377,6 +23188,259 @@ class ThriftHiveMetastore_add_partitions_pspec_args { } +class ThriftHiveMetastore_add_partitions_result { + static $_TSPEC; + + /** + * @var int + */ + public $success = null; + /** + * @var \metastore\InvalidObjectException + */ + public $o1 = null; + /** + * @var \metastore\AlreadyExistsException + */ + public $o2 = null; + /** + * @var \metastore\MetaException + */ + public $o3 = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 0 => array( + 'var' => 'success', + 'type' => TType::I32, + ), + 1 => array( + 'var' => 'o1', + 'type' => TType::STRUCT, + 'class' => '\metastore\InvalidObjectException', + ), + 2 => array( + 'var' => 'o2', + 'type' => TType::STRUCT, + 'class' => '\metastore\AlreadyExistsException', + ), + 3 => array( + 'var' => 'o3', + 'type' => TType::STRUCT, + 'class' => '\metastore\MetaException', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['success'])) { + $this->success = $vals['success']; + } + if (isset($vals['o1'])) { + $this->o1 = $vals['o1']; + } + if (isset($vals['o2'])) { + $this->o2 = $vals['o2']; + } + if (isset($vals['o3'])) { + $this->o3 = $vals['o3']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_add_partitions_result'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 0: + if ($ftype == TType::I32) { + $xfer += $input->readI32($this->success); + } else { + $xfer += $input->skip($ftype); + } + break; + case 1: + if ($ftype == TType::STRUCT) { + $this->o1 = new \metastore\InvalidObjectException(); + $xfer += $this->o1->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::STRUCT) { + $this->o2 = new \metastore\AlreadyExistsException(); + $xfer += $this->o2->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + case 3: + if ($ftype == TType::STRUCT) { + $this->o3 = new \metastore\MetaException(); + $xfer += $this->o3->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('ThriftHiveMetastore_add_partitions_result'); + if ($this->success !== null) { + $xfer += $output->writeFieldBegin('success', TType::I32, 0); + $xfer += $output->writeI32($this->success); + $xfer += $output->writeFieldEnd(); + } + if ($this->o1 !== null) { + $xfer += $output->writeFieldBegin('o1', TType::STRUCT, 1); + $xfer += $this->o1->write($output); + $xfer += $output->writeFieldEnd(); + } + if ($this->o2 !== null) { + $xfer += $output->writeFieldBegin('o2', TType::STRUCT, 2); + $xfer += $this->o2->write($output); + $xfer += $output->writeFieldEnd(); + } + if ($this->o3 !== null) { + $xfer += $output->writeFieldBegin('o3', TType::STRUCT, 3); + $xfer += $this->o3->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class ThriftHiveMetastore_add_partitions_pspec_args { + static $_TSPEC; + + /** + * @var \metastore\PartitionSpec[] + */ + public $new_parts = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'new_parts', + 'type' => TType::LST, + 'etype' => TType::STRUCT, + 'elem' => array( + 'type' => TType::STRUCT, + 'class' => '\metastore\PartitionSpec', + ), + ), + ); + } + if (is_array($vals)) { + if (isset($vals['new_parts'])) { + $this->new_parts = $vals['new_parts']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_add_partitions_pspec_args'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 1: + if ($ftype == TType::LST) { + $this->new_parts = array(); + $_size964 = 0; + $_etype967 = 0; + $xfer += $input->readListBegin($_etype967, $_size964); + for ($_i968 = 0; $_i968 < $_size964; ++$_i968) + { + $elem969 = null; + $elem969 = new \metastore\PartitionSpec(); + $xfer += $elem969->read($input); + $this->new_parts []= $elem969; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('ThriftHiveMetastore_add_partitions_pspec_args'); + if ($this->new_parts !== null) { + if (!is_array($this->new_parts)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('new_parts', TType::LST, 1); + { + $output->writeListBegin(TType::STRUCT, count($this->new_parts)); + { + foreach ($this->new_parts as $iter970) + { + $xfer += $iter970->write($output); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class ThriftHiveMetastore_add_partitions_pspec_result { static $_TSPEC; @@ -23613,14 +23677,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size964 = 0; - $_etype967 = 0; - $xfer += $input->readListBegin($_etype967, $_size964); - for ($_i968 = 0; $_i968 < $_size964; ++$_i968) + $_size971 = 0; + $_etype974 = 0; + $xfer += $input->readListBegin($_etype974, $_size971); + for ($_i975 = 0; $_i975 < $_size971; ++$_i975) { - $elem969 = null; - $xfer += $input->readString($elem969); - $this->part_vals []= $elem969; + $elem976 = null; + $xfer += $input->readString($elem976); + $this->part_vals []= $elem976; } $xfer += $input->readListEnd(); } else { @@ -23658,9 +23722,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter970) + foreach ($this->part_vals as $iter977) { - $xfer += $output->writeString($iter970); + $xfer += $output->writeString($iter977); } } $output->writeListEnd(); @@ -24162,14 +24226,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size971 = 0; - $_etype974 = 0; - $xfer += $input->readListBegin($_etype974, $_size971); - for ($_i975 = 0; $_i975 < $_size971; ++$_i975) + $_size978 = 0; + $_etype981 = 0; + $xfer += $input->readListBegin($_etype981, $_size978); + for ($_i982 = 0; $_i982 < $_size978; ++$_i982) { - $elem976 = null; - $xfer += $input->readString($elem976); - $this->part_vals []= $elem976; + $elem983 = null; + $xfer += $input->readString($elem983); + $this->part_vals []= $elem983; } $xfer += $input->readListEnd(); } else { @@ -24215,9 +24279,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter977) + foreach ($this->part_vals as $iter984) { - $xfer += $output->writeString($iter977); + $xfer += $output->writeString($iter984); } } $output->writeListEnd(); @@ -25071,14 +25135,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size978 = 0; - $_etype981 = 0; - $xfer += $input->readListBegin($_etype981, $_size978); - for ($_i982 = 0; $_i982 < $_size978; ++$_i982) + $_size985 = 0; + $_etype988 = 0; + $xfer += $input->readListBegin($_etype988, $_size985); + for ($_i989 = 0; $_i989 < $_size985; ++$_i989) { - $elem983 = null; - $xfer += $input->readString($elem983); - $this->part_vals []= $elem983; + $elem990 = null; + $xfer += $input->readString($elem990); + $this->part_vals []= $elem990; } $xfer += $input->readListEnd(); } else { @@ -25123,9 +25187,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter984) + foreach ($this->part_vals as $iter991) { - $xfer += $output->writeString($iter984); + $xfer += $output->writeString($iter991); } } $output->writeListEnd(); @@ -25378,14 +25442,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size985 = 0; - $_etype988 = 0; - $xfer += $input->readListBegin($_etype988, $_size985); - for ($_i989 = 0; $_i989 < $_size985; ++$_i989) + $_size992 = 0; + $_etype995 = 0; + $xfer += $input->readListBegin($_etype995, $_size992); + for ($_i996 = 0; $_i996 < $_size992; ++$_i996) { - $elem990 = null; - $xfer += $input->readString($elem990); - $this->part_vals []= $elem990; + $elem997 = null; + $xfer += $input->readString($elem997); + $this->part_vals []= $elem997; } $xfer += $input->readListEnd(); } else { @@ -25438,9 +25502,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter991) + foreach ($this->part_vals as $iter998) { - $xfer += $output->writeString($iter991); + $xfer += $output->writeString($iter998); } } $output->writeListEnd(); @@ -26454,14 +26518,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size992 = 0; - $_etype995 = 0; - $xfer += $input->readListBegin($_etype995, $_size992); - for ($_i996 = 0; $_i996 < $_size992; ++$_i996) + $_size999 = 0; + $_etype1002 = 0; + $xfer += $input->readListBegin($_etype1002, $_size999); + for ($_i1003 = 0; $_i1003 < $_size999; ++$_i1003) { - $elem997 = null; - $xfer += $input->readString($elem997); - $this->part_vals []= $elem997; + $elem1004 = null; + $xfer += $input->readString($elem1004); + $this->part_vals []= $elem1004; } $xfer += $input->readListEnd(); } else { @@ -26499,9 +26563,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter998) + foreach ($this->part_vals as $iter1005) { - $xfer += $output->writeString($iter998); + $xfer += $output->writeString($iter1005); } } $output->writeListEnd(); @@ -26743,17 +26807,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size999 = 0; - $_ktype1000 = 0; - $_vtype1001 = 0; - $xfer += $input->readMapBegin($_ktype1000, $_vtype1001, $_size999); - for ($_i1003 = 0; $_i1003 < $_size999; ++$_i1003) + $_size1006 = 0; + $_ktype1007 = 0; + $_vtype1008 = 0; + $xfer += $input->readMapBegin($_ktype1007, $_vtype1008, $_size1006); + for ($_i1010 = 0; $_i1010 < $_size1006; ++$_i1010) { - $key1004 = ''; - $val1005 = ''; - $xfer += $input->readString($key1004); - $xfer += $input->readString($val1005); - $this->partitionSpecs[$key1004] = $val1005; + $key1011 = ''; + $val1012 = ''; + $xfer += $input->readString($key1011); + $xfer += $input->readString($val1012); + $this->partitionSpecs[$key1011] = $val1012; } $xfer += $input->readMapEnd(); } else { @@ -26809,10 +26873,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1006 => $viter1007) + foreach ($this->partitionSpecs as $kiter1013 => $viter1014) { - $xfer += $output->writeString($kiter1006); - $xfer += $output->writeString($viter1007); + $xfer += $output->writeString($kiter1013); + $xfer += $output->writeString($viter1014); } } $output->writeMapEnd(); @@ -27124,17 +27188,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1008 = 0; - $_ktype1009 = 0; - $_vtype1010 = 0; - $xfer += $input->readMapBegin($_ktype1009, $_vtype1010, $_size1008); - for ($_i1012 = 0; $_i1012 < $_size1008; ++$_i1012) + $_size1015 = 0; + $_ktype1016 = 0; + $_vtype1017 = 0; + $xfer += $input->readMapBegin($_ktype1016, $_vtype1017, $_size1015); + for ($_i1019 = 0; $_i1019 < $_size1015; ++$_i1019) { - $key1013 = ''; - $val1014 = ''; - $xfer += $input->readString($key1013); - $xfer += $input->readString($val1014); - $this->partitionSpecs[$key1013] = $val1014; + $key1020 = ''; + $val1021 = ''; + $xfer += $input->readString($key1020); + $xfer += $input->readString($val1021); + $this->partitionSpecs[$key1020] = $val1021; } $xfer += $input->readMapEnd(); } else { @@ -27190,10 +27254,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1015 => $viter1016) + foreach ($this->partitionSpecs as $kiter1022 => $viter1023) { - $xfer += $output->writeString($kiter1015); - $xfer += $output->writeString($viter1016); + $xfer += $output->writeString($kiter1022); + $xfer += $output->writeString($viter1023); } } $output->writeMapEnd(); @@ -27326,15 +27390,15 @@ class ThriftHiveMetastore_exchange_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1017 = 0; - $_etype1020 = 0; - $xfer += $input->readListBegin($_etype1020, $_size1017); - for ($_i1021 = 0; $_i1021 < $_size1017; ++$_i1021) + $_size1024 = 0; + $_etype1027 = 0; + $xfer += $input->readListBegin($_etype1027, $_size1024); + for ($_i1028 = 0; $_i1028 < $_size1024; ++$_i1028) { - $elem1022 = null; - $elem1022 = new \metastore\Partition(); - $xfer += $elem1022->read($input); - $this->success []= $elem1022; + $elem1029 = null; + $elem1029 = new \metastore\Partition(); + $xfer += $elem1029->read($input); + $this->success []= $elem1029; } $xfer += $input->readListEnd(); } else { @@ -27394,9 +27458,9 @@ class ThriftHiveMetastore_exchange_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1023) + foreach ($this->success as $iter1030) { - $xfer += $iter1023->write($output); + $xfer += $iter1030->write($output); } } $output->writeListEnd(); @@ -27542,14 +27606,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1024 = 0; - $_etype1027 = 0; - $xfer += $input->readListBegin($_etype1027, $_size1024); - for ($_i1028 = 0; $_i1028 < $_size1024; ++$_i1028) + $_size1031 = 0; + $_etype1034 = 0; + $xfer += $input->readListBegin($_etype1034, $_size1031); + for ($_i1035 = 0; $_i1035 < $_size1031; ++$_i1035) { - $elem1029 = null; - $xfer += $input->readString($elem1029); - $this->part_vals []= $elem1029; + $elem1036 = null; + $xfer += $input->readString($elem1036); + $this->part_vals []= $elem1036; } $xfer += $input->readListEnd(); } else { @@ -27566,14 +27630,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1030 = 0; - $_etype1033 = 0; - $xfer += $input->readListBegin($_etype1033, $_size1030); - for ($_i1034 = 0; $_i1034 < $_size1030; ++$_i1034) + $_size1037 = 0; + $_etype1040 = 0; + $xfer += $input->readListBegin($_etype1040, $_size1037); + for ($_i1041 = 0; $_i1041 < $_size1037; ++$_i1041) { - $elem1035 = null; - $xfer += $input->readString($elem1035); - $this->group_names []= $elem1035; + $elem1042 = null; + $xfer += $input->readString($elem1042); + $this->group_names []= $elem1042; } $xfer += $input->readListEnd(); } else { @@ -27611,9 +27675,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1036) + foreach ($this->part_vals as $iter1043) { - $xfer += $output->writeString($iter1036); + $xfer += $output->writeString($iter1043); } } $output->writeListEnd(); @@ -27633,9 +27697,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1037) + foreach ($this->group_names as $iter1044) { - $xfer += $output->writeString($iter1037); + $xfer += $output->writeString($iter1044); } } $output->writeListEnd(); @@ -28226,15 +28290,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1038 = 0; - $_etype1041 = 0; - $xfer += $input->readListBegin($_etype1041, $_size1038); - for ($_i1042 = 0; $_i1042 < $_size1038; ++$_i1042) + $_size1045 = 0; + $_etype1048 = 0; + $xfer += $input->readListBegin($_etype1048, $_size1045); + for ($_i1049 = 0; $_i1049 < $_size1045; ++$_i1049) { - $elem1043 = null; - $elem1043 = new \metastore\Partition(); - $xfer += $elem1043->read($input); - $this->success []= $elem1043; + $elem1050 = null; + $elem1050 = new \metastore\Partition(); + $xfer += $elem1050->read($input); + $this->success []= $elem1050; } $xfer += $input->readListEnd(); } else { @@ -28278,9 +28342,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1044) + foreach ($this->success as $iter1051) { - $xfer += $iter1044->write($output); + $xfer += $iter1051->write($output); } } $output->writeListEnd(); @@ -28426,14 +28490,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1045 = 0; - $_etype1048 = 0; - $xfer += $input->readListBegin($_etype1048, $_size1045); - for ($_i1049 = 0; $_i1049 < $_size1045; ++$_i1049) + $_size1052 = 0; + $_etype1055 = 0; + $xfer += $input->readListBegin($_etype1055, $_size1052); + for ($_i1056 = 0; $_i1056 < $_size1052; ++$_i1056) { - $elem1050 = null; - $xfer += $input->readString($elem1050); - $this->group_names []= $elem1050; + $elem1057 = null; + $xfer += $input->readString($elem1057); + $this->group_names []= $elem1057; } $xfer += $input->readListEnd(); } else { @@ -28481,9 +28545,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1051) + foreach ($this->group_names as $iter1058) { - $xfer += $output->writeString($iter1051); + $xfer += $output->writeString($iter1058); } } $output->writeListEnd(); @@ -28572,15 +28636,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1052 = 0; - $_etype1055 = 0; - $xfer += $input->readListBegin($_etype1055, $_size1052); - for ($_i1056 = 0; $_i1056 < $_size1052; ++$_i1056) + $_size1059 = 0; + $_etype1062 = 0; + $xfer += $input->readListBegin($_etype1062, $_size1059); + for ($_i1063 = 0; $_i1063 < $_size1059; ++$_i1063) { - $elem1057 = null; - $elem1057 = new \metastore\Partition(); - $xfer += $elem1057->read($input); - $this->success []= $elem1057; + $elem1064 = null; + $elem1064 = new \metastore\Partition(); + $xfer += $elem1064->read($input); + $this->success []= $elem1064; } $xfer += $input->readListEnd(); } else { @@ -28624,9 +28688,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1058) + foreach ($this->success as $iter1065) { - $xfer += $iter1058->write($output); + $xfer += $iter1065->write($output); } } $output->writeListEnd(); @@ -28846,15 +28910,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1059 = 0; - $_etype1062 = 0; - $xfer += $input->readListBegin($_etype1062, $_size1059); - for ($_i1063 = 0; $_i1063 < $_size1059; ++$_i1063) + $_size1066 = 0; + $_etype1069 = 0; + $xfer += $input->readListBegin($_etype1069, $_size1066); + for ($_i1070 = 0; $_i1070 < $_size1066; ++$_i1070) { - $elem1064 = null; - $elem1064 = new \metastore\PartitionSpec(); - $xfer += $elem1064->read($input); - $this->success []= $elem1064; + $elem1071 = null; + $elem1071 = new \metastore\PartitionSpec(); + $xfer += $elem1071->read($input); + $this->success []= $elem1071; } $xfer += $input->readListEnd(); } else { @@ -28898,9 +28962,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1065) + foreach ($this->success as $iter1072) { - $xfer += $iter1065->write($output); + $xfer += $iter1072->write($output); } } $output->writeListEnd(); @@ -29119,14 +29183,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1066 = 0; - $_etype1069 = 0; - $xfer += $input->readListBegin($_etype1069, $_size1066); - for ($_i1070 = 0; $_i1070 < $_size1066; ++$_i1070) + $_size1073 = 0; + $_etype1076 = 0; + $xfer += $input->readListBegin($_etype1076, $_size1073); + for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) { - $elem1071 = null; - $xfer += $input->readString($elem1071); - $this->success []= $elem1071; + $elem1078 = null; + $xfer += $input->readString($elem1078); + $this->success []= $elem1078; } $xfer += $input->readListEnd(); } else { @@ -29170,9 +29234,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1072) + foreach ($this->success as $iter1079) { - $xfer += $output->writeString($iter1072); + $xfer += $output->writeString($iter1079); } } $output->writeListEnd(); @@ -29503,14 +29567,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1073 = 0; - $_etype1076 = 0; - $xfer += $input->readListBegin($_etype1076, $_size1073); - for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) + $_size1080 = 0; + $_etype1083 = 0; + $xfer += $input->readListBegin($_etype1083, $_size1080); + for ($_i1084 = 0; $_i1084 < $_size1080; ++$_i1084) { - $elem1078 = null; - $xfer += $input->readString($elem1078); - $this->part_vals []= $elem1078; + $elem1085 = null; + $xfer += $input->readString($elem1085); + $this->part_vals []= $elem1085; } $xfer += $input->readListEnd(); } else { @@ -29555,9 +29619,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1079) + foreach ($this->part_vals as $iter1086) { - $xfer += $output->writeString($iter1079); + $xfer += $output->writeString($iter1086); } } $output->writeListEnd(); @@ -29651,15 +29715,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1080 = 0; - $_etype1083 = 0; - $xfer += $input->readListBegin($_etype1083, $_size1080); - for ($_i1084 = 0; $_i1084 < $_size1080; ++$_i1084) + $_size1087 = 0; + $_etype1090 = 0; + $xfer += $input->readListBegin($_etype1090, $_size1087); + for ($_i1091 = 0; $_i1091 < $_size1087; ++$_i1091) { - $elem1085 = null; - $elem1085 = new \metastore\Partition(); - $xfer += $elem1085->read($input); - $this->success []= $elem1085; + $elem1092 = null; + $elem1092 = new \metastore\Partition(); + $xfer += $elem1092->read($input); + $this->success []= $elem1092; } $xfer += $input->readListEnd(); } else { @@ -29703,9 +29767,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1086) + foreach ($this->success as $iter1093) { - $xfer += $iter1086->write($output); + $xfer += $iter1093->write($output); } } $output->writeListEnd(); @@ -29852,14 +29916,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1087 = 0; - $_etype1090 = 0; - $xfer += $input->readListBegin($_etype1090, $_size1087); - for ($_i1091 = 0; $_i1091 < $_size1087; ++$_i1091) + $_size1094 = 0; + $_etype1097 = 0; + $xfer += $input->readListBegin($_etype1097, $_size1094); + for ($_i1098 = 0; $_i1098 < $_size1094; ++$_i1098) { - $elem1092 = null; - $xfer += $input->readString($elem1092); - $this->part_vals []= $elem1092; + $elem1099 = null; + $xfer += $input->readString($elem1099); + $this->part_vals []= $elem1099; } $xfer += $input->readListEnd(); } else { @@ -29883,14 +29947,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1093 = 0; - $_etype1096 = 0; - $xfer += $input->readListBegin($_etype1096, $_size1093); - for ($_i1097 = 0; $_i1097 < $_size1093; ++$_i1097) + $_size1100 = 0; + $_etype1103 = 0; + $xfer += $input->readListBegin($_etype1103, $_size1100); + for ($_i1104 = 0; $_i1104 < $_size1100; ++$_i1104) { - $elem1098 = null; - $xfer += $input->readString($elem1098); - $this->group_names []= $elem1098; + $elem1105 = null; + $xfer += $input->readString($elem1105); + $this->group_names []= $elem1105; } $xfer += $input->readListEnd(); } else { @@ -29928,9 +29992,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1099) + foreach ($this->part_vals as $iter1106) { - $xfer += $output->writeString($iter1099); + $xfer += $output->writeString($iter1106); } } $output->writeListEnd(); @@ -29955,9 +30019,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1100) + foreach ($this->group_names as $iter1107) { - $xfer += $output->writeString($iter1100); + $xfer += $output->writeString($iter1107); } } $output->writeListEnd(); @@ -30046,15 +30110,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1101 = 0; - $_etype1104 = 0; - $xfer += $input->readListBegin($_etype1104, $_size1101); - for ($_i1105 = 0; $_i1105 < $_size1101; ++$_i1105) + $_size1108 = 0; + $_etype1111 = 0; + $xfer += $input->readListBegin($_etype1111, $_size1108); + for ($_i1112 = 0; $_i1112 < $_size1108; ++$_i1112) { - $elem1106 = null; - $elem1106 = new \metastore\Partition(); - $xfer += $elem1106->read($input); - $this->success []= $elem1106; + $elem1113 = null; + $elem1113 = new \metastore\Partition(); + $xfer += $elem1113->read($input); + $this->success []= $elem1113; } $xfer += $input->readListEnd(); } else { @@ -30098,9 +30162,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1107) + foreach ($this->success as $iter1114) { - $xfer += $iter1107->write($output); + $xfer += $iter1114->write($output); } } $output->writeListEnd(); @@ -30221,14 +30285,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1108 = 0; - $_etype1111 = 0; - $xfer += $input->readListBegin($_etype1111, $_size1108); - for ($_i1112 = 0; $_i1112 < $_size1108; ++$_i1112) + $_size1115 = 0; + $_etype1118 = 0; + $xfer += $input->readListBegin($_etype1118, $_size1115); + for ($_i1119 = 0; $_i1119 < $_size1115; ++$_i1119) { - $elem1113 = null; - $xfer += $input->readString($elem1113); - $this->part_vals []= $elem1113; + $elem1120 = null; + $xfer += $input->readString($elem1120); + $this->part_vals []= $elem1120; } $xfer += $input->readListEnd(); } else { @@ -30273,9 +30337,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1114) + foreach ($this->part_vals as $iter1121) { - $xfer += $output->writeString($iter1114); + $xfer += $output->writeString($iter1121); } } $output->writeListEnd(); @@ -30368,14 +30432,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1115 = 0; - $_etype1118 = 0; - $xfer += $input->readListBegin($_etype1118, $_size1115); - for ($_i1119 = 0; $_i1119 < $_size1115; ++$_i1119) + $_size1122 = 0; + $_etype1125 = 0; + $xfer += $input->readListBegin($_etype1125, $_size1122); + for ($_i1126 = 0; $_i1126 < $_size1122; ++$_i1126) { - $elem1120 = null; - $xfer += $input->readString($elem1120); - $this->success []= $elem1120; + $elem1127 = null; + $xfer += $input->readString($elem1127); + $this->success []= $elem1127; } $xfer += $input->readListEnd(); } else { @@ -30419,9 +30483,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1121) + foreach ($this->success as $iter1128) { - $xfer += $output->writeString($iter1121); + $xfer += $output->writeString($iter1128); } } $output->writeListEnd(); @@ -30664,15 +30728,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1122 = 0; - $_etype1125 = 0; - $xfer += $input->readListBegin($_etype1125, $_size1122); - for ($_i1126 = 0; $_i1126 < $_size1122; ++$_i1126) + $_size1129 = 0; + $_etype1132 = 0; + $xfer += $input->readListBegin($_etype1132, $_size1129); + for ($_i1133 = 0; $_i1133 < $_size1129; ++$_i1133) { - $elem1127 = null; - $elem1127 = new \metastore\Partition(); - $xfer += $elem1127->read($input); - $this->success []= $elem1127; + $elem1134 = null; + $elem1134 = new \metastore\Partition(); + $xfer += $elem1134->read($input); + $this->success []= $elem1134; } $xfer += $input->readListEnd(); } else { @@ -30716,9 +30780,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1128) + foreach ($this->success as $iter1135) { - $xfer += $iter1128->write($output); + $xfer += $iter1135->write($output); } } $output->writeListEnd(); @@ -30961,15 +31025,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1129 = 0; - $_etype1132 = 0; - $xfer += $input->readListBegin($_etype1132, $_size1129); - for ($_i1133 = 0; $_i1133 < $_size1129; ++$_i1133) + $_size1136 = 0; + $_etype1139 = 0; + $xfer += $input->readListBegin($_etype1139, $_size1136); + for ($_i1140 = 0; $_i1140 < $_size1136; ++$_i1140) { - $elem1134 = null; - $elem1134 = new \metastore\PartitionSpec(); - $xfer += $elem1134->read($input); - $this->success []= $elem1134; + $elem1141 = null; + $elem1141 = new \metastore\PartitionSpec(); + $xfer += $elem1141->read($input); + $this->success []= $elem1141; } $xfer += $input->readListEnd(); } else { @@ -31013,9 +31077,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1135) + foreach ($this->success as $iter1142) { - $xfer += $iter1135->write($output); + $xfer += $iter1142->write($output); } } $output->writeListEnd(); @@ -31581,14 +31645,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size1136 = 0; - $_etype1139 = 0; - $xfer += $input->readListBegin($_etype1139, $_size1136); - for ($_i1140 = 0; $_i1140 < $_size1136; ++$_i1140) + $_size1143 = 0; + $_etype1146 = 0; + $xfer += $input->readListBegin($_etype1146, $_size1143); + for ($_i1147 = 0; $_i1147 < $_size1143; ++$_i1147) { - $elem1141 = null; - $xfer += $input->readString($elem1141); - $this->names []= $elem1141; + $elem1148 = null; + $xfer += $input->readString($elem1148); + $this->names []= $elem1148; } $xfer += $input->readListEnd(); } else { @@ -31626,9 +31690,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter1142) + foreach ($this->names as $iter1149) { - $xfer += $output->writeString($iter1142); + $xfer += $output->writeString($iter1149); } } $output->writeListEnd(); @@ -31717,15 +31781,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1143 = 0; - $_etype1146 = 0; - $xfer += $input->readListBegin($_etype1146, $_size1143); - for ($_i1147 = 0; $_i1147 < $_size1143; ++$_i1147) + $_size1150 = 0; + $_etype1153 = 0; + $xfer += $input->readListBegin($_etype1153, $_size1150); + for ($_i1154 = 0; $_i1154 < $_size1150; ++$_i1154) { - $elem1148 = null; - $elem1148 = new \metastore\Partition(); - $xfer += $elem1148->read($input); - $this->success []= $elem1148; + $elem1155 = null; + $elem1155 = new \metastore\Partition(); + $xfer += $elem1155->read($input); + $this->success []= $elem1155; } $xfer += $input->readListEnd(); } else { @@ -31769,9 +31833,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1149) + foreach ($this->success as $iter1156) { - $xfer += $iter1149->write($output); + $xfer += $iter1156->write($output); } } $output->writeListEnd(); @@ -32110,15 +32174,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1150 = 0; - $_etype1153 = 0; - $xfer += $input->readListBegin($_etype1153, $_size1150); - for ($_i1154 = 0; $_i1154 < $_size1150; ++$_i1154) + $_size1157 = 0; + $_etype1160 = 0; + $xfer += $input->readListBegin($_etype1160, $_size1157); + for ($_i1161 = 0; $_i1161 < $_size1157; ++$_i1161) { - $elem1155 = null; - $elem1155 = new \metastore\Partition(); - $xfer += $elem1155->read($input); - $this->new_parts []= $elem1155; + $elem1162 = null; + $elem1162 = new \metastore\Partition(); + $xfer += $elem1162->read($input); + $this->new_parts []= $elem1162; } $xfer += $input->readListEnd(); } else { @@ -32156,9 +32220,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1156) + foreach ($this->new_parts as $iter1163) { - $xfer += $iter1156->write($output); + $xfer += $iter1163->write($output); } } $output->writeListEnd(); @@ -32373,15 +32437,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1157 = 0; - $_etype1160 = 0; - $xfer += $input->readListBegin($_etype1160, $_size1157); - for ($_i1161 = 0; $_i1161 < $_size1157; ++$_i1161) + $_size1164 = 0; + $_etype1167 = 0; + $xfer += $input->readListBegin($_etype1167, $_size1164); + for ($_i1168 = 0; $_i1168 < $_size1164; ++$_i1168) { - $elem1162 = null; - $elem1162 = new \metastore\Partition(); - $xfer += $elem1162->read($input); - $this->new_parts []= $elem1162; + $elem1169 = null; + $elem1169 = new \metastore\Partition(); + $xfer += $elem1169->read($input); + $this->new_parts []= $elem1169; } $xfer += $input->readListEnd(); } else { @@ -32427,9 +32491,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1163) + foreach ($this->new_parts as $iter1170) { - $xfer += $iter1163->write($output); + $xfer += $iter1170->write($output); } } $output->writeListEnd(); @@ -32907,14 +32971,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1164 = 0; - $_etype1167 = 0; - $xfer += $input->readListBegin($_etype1167, $_size1164); - for ($_i1168 = 0; $_i1168 < $_size1164; ++$_i1168) + $_size1171 = 0; + $_etype1174 = 0; + $xfer += $input->readListBegin($_etype1174, $_size1171); + for ($_i1175 = 0; $_i1175 < $_size1171; ++$_i1175) { - $elem1169 = null; - $xfer += $input->readString($elem1169); - $this->part_vals []= $elem1169; + $elem1176 = null; + $xfer += $input->readString($elem1176); + $this->part_vals []= $elem1176; } $xfer += $input->readListEnd(); } else { @@ -32960,9 +33024,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1170) + foreach ($this->part_vals as $iter1177) { - $xfer += $output->writeString($iter1170); + $xfer += $output->writeString($iter1177); } } $output->writeListEnd(); @@ -33147,14 +33211,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1171 = 0; - $_etype1174 = 0; - $xfer += $input->readListBegin($_etype1174, $_size1171); - for ($_i1175 = 0; $_i1175 < $_size1171; ++$_i1175) + $_size1178 = 0; + $_etype1181 = 0; + $xfer += $input->readListBegin($_etype1181, $_size1178); + for ($_i1182 = 0; $_i1182 < $_size1178; ++$_i1182) { - $elem1176 = null; - $xfer += $input->readString($elem1176); - $this->part_vals []= $elem1176; + $elem1183 = null; + $xfer += $input->readString($elem1183); + $this->part_vals []= $elem1183; } $xfer += $input->readListEnd(); } else { @@ -33189,9 +33253,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1177) + foreach ($this->part_vals as $iter1184) { - $xfer += $output->writeString($iter1177); + $xfer += $output->writeString($iter1184); } } $output->writeListEnd(); @@ -33645,14 +33709,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1178 = 0; - $_etype1181 = 0; - $xfer += $input->readListBegin($_etype1181, $_size1178); - for ($_i1182 = 0; $_i1182 < $_size1178; ++$_i1182) + $_size1185 = 0; + $_etype1188 = 0; + $xfer += $input->readListBegin($_etype1188, $_size1185); + for ($_i1189 = 0; $_i1189 < $_size1185; ++$_i1189) { - $elem1183 = null; - $xfer += $input->readString($elem1183); - $this->success []= $elem1183; + $elem1190 = null; + $xfer += $input->readString($elem1190); + $this->success []= $elem1190; } $xfer += $input->readListEnd(); } else { @@ -33688,9 +33752,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1184) + foreach ($this->success as $iter1191) { - $xfer += $output->writeString($iter1184); + $xfer += $output->writeString($iter1191); } } $output->writeListEnd(); @@ -33850,17 +33914,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1185 = 0; - $_ktype1186 = 0; - $_vtype1187 = 0; - $xfer += $input->readMapBegin($_ktype1186, $_vtype1187, $_size1185); - for ($_i1189 = 0; $_i1189 < $_size1185; ++$_i1189) + $_size1192 = 0; + $_ktype1193 = 0; + $_vtype1194 = 0; + $xfer += $input->readMapBegin($_ktype1193, $_vtype1194, $_size1192); + for ($_i1196 = 0; $_i1196 < $_size1192; ++$_i1196) { - $key1190 = ''; - $val1191 = ''; - $xfer += $input->readString($key1190); - $xfer += $input->readString($val1191); - $this->success[$key1190] = $val1191; + $key1197 = ''; + $val1198 = ''; + $xfer += $input->readString($key1197); + $xfer += $input->readString($val1198); + $this->success[$key1197] = $val1198; } $xfer += $input->readMapEnd(); } else { @@ -33896,10 +33960,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter1192 => $viter1193) + foreach ($this->success as $kiter1199 => $viter1200) { - $xfer += $output->writeString($kiter1192); - $xfer += $output->writeString($viter1193); + $xfer += $output->writeString($kiter1199); + $xfer += $output->writeString($viter1200); } } $output->writeMapEnd(); @@ -34019,17 +34083,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1194 = 0; - $_ktype1195 = 0; - $_vtype1196 = 0; - $xfer += $input->readMapBegin($_ktype1195, $_vtype1196, $_size1194); - for ($_i1198 = 0; $_i1198 < $_size1194; ++$_i1198) + $_size1201 = 0; + $_ktype1202 = 0; + $_vtype1203 = 0; + $xfer += $input->readMapBegin($_ktype1202, $_vtype1203, $_size1201); + for ($_i1205 = 0; $_i1205 < $_size1201; ++$_i1205) { - $key1199 = ''; - $val1200 = ''; - $xfer += $input->readString($key1199); - $xfer += $input->readString($val1200); - $this->part_vals[$key1199] = $val1200; + $key1206 = ''; + $val1207 = ''; + $xfer += $input->readString($key1206); + $xfer += $input->readString($val1207); + $this->part_vals[$key1206] = $val1207; } $xfer += $input->readMapEnd(); } else { @@ -34074,10 +34138,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1201 => $viter1202) + foreach ($this->part_vals as $kiter1208 => $viter1209) { - $xfer += $output->writeString($kiter1201); - $xfer += $output->writeString($viter1202); + $xfer += $output->writeString($kiter1208); + $xfer += $output->writeString($viter1209); } } $output->writeMapEnd(); @@ -34399,17 +34463,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1203 = 0; - $_ktype1204 = 0; - $_vtype1205 = 0; - $xfer += $input->readMapBegin($_ktype1204, $_vtype1205, $_size1203); - for ($_i1207 = 0; $_i1207 < $_size1203; ++$_i1207) + $_size1210 = 0; + $_ktype1211 = 0; + $_vtype1212 = 0; + $xfer += $input->readMapBegin($_ktype1211, $_vtype1212, $_size1210); + for ($_i1214 = 0; $_i1214 < $_size1210; ++$_i1214) { - $key1208 = ''; - $val1209 = ''; - $xfer += $input->readString($key1208); - $xfer += $input->readString($val1209); - $this->part_vals[$key1208] = $val1209; + $key1215 = ''; + $val1216 = ''; + $xfer += $input->readString($key1215); + $xfer += $input->readString($val1216); + $this->part_vals[$key1215] = $val1216; } $xfer += $input->readMapEnd(); } else { @@ -34454,10 +34518,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1210 => $viter1211) + foreach ($this->part_vals as $kiter1217 => $viter1218) { - $xfer += $output->writeString($kiter1210); - $xfer += $output->writeString($viter1211); + $xfer += $output->writeString($kiter1217); + $xfer += $output->writeString($viter1218); } } $output->writeMapEnd(); @@ -39206,14 +39270,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1212 = 0; - $_etype1215 = 0; - $xfer += $input->readListBegin($_etype1215, $_size1212); - for ($_i1216 = 0; $_i1216 < $_size1212; ++$_i1216) + $_size1219 = 0; + $_etype1222 = 0; + $xfer += $input->readListBegin($_etype1222, $_size1219); + for ($_i1223 = 0; $_i1223 < $_size1219; ++$_i1223) { - $elem1217 = null; - $xfer += $input->readString($elem1217); - $this->success []= $elem1217; + $elem1224 = null; + $xfer += $input->readString($elem1224); + $this->success []= $elem1224; } $xfer += $input->readListEnd(); } else { @@ -39249,9 +39313,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1218) + foreach ($this->success as $iter1225) { - $xfer += $output->writeString($iter1218); + $xfer += $output->writeString($iter1225); } } $output->writeListEnd(); @@ -40120,14 +40184,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1219 = 0; - $_etype1222 = 0; - $xfer += $input->readListBegin($_etype1222, $_size1219); - for ($_i1223 = 0; $_i1223 < $_size1219; ++$_i1223) + $_size1226 = 0; + $_etype1229 = 0; + $xfer += $input->readListBegin($_etype1229, $_size1226); + for ($_i1230 = 0; $_i1230 < $_size1226; ++$_i1230) { - $elem1224 = null; - $xfer += $input->readString($elem1224); - $this->success []= $elem1224; + $elem1231 = null; + $xfer += $input->readString($elem1231); + $this->success []= $elem1231; } $xfer += $input->readListEnd(); } else { @@ -40163,9 +40227,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1225) + foreach ($this->success as $iter1232) { - $xfer += $output->writeString($iter1225); + $xfer += $output->writeString($iter1232); } } $output->writeListEnd(); @@ -40856,15 +40920,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1226 = 0; - $_etype1229 = 0; - $xfer += $input->readListBegin($_etype1229, $_size1226); - for ($_i1230 = 0; $_i1230 < $_size1226; ++$_i1230) + $_size1233 = 0; + $_etype1236 = 0; + $xfer += $input->readListBegin($_etype1236, $_size1233); + for ($_i1237 = 0; $_i1237 < $_size1233; ++$_i1237) { - $elem1231 = null; - $elem1231 = new \metastore\Role(); - $xfer += $elem1231->read($input); - $this->success []= $elem1231; + $elem1238 = null; + $elem1238 = new \metastore\Role(); + $xfer += $elem1238->read($input); + $this->success []= $elem1238; } $xfer += $input->readListEnd(); } else { @@ -40900,9 +40964,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1232) + foreach ($this->success as $iter1239) { - $xfer += $iter1232->write($output); + $xfer += $iter1239->write($output); } } $output->writeListEnd(); @@ -41564,14 +41628,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1233 = 0; - $_etype1236 = 0; - $xfer += $input->readListBegin($_etype1236, $_size1233); - for ($_i1237 = 0; $_i1237 < $_size1233; ++$_i1237) + $_size1240 = 0; + $_etype1243 = 0; + $xfer += $input->readListBegin($_etype1243, $_size1240); + for ($_i1244 = 0; $_i1244 < $_size1240; ++$_i1244) { - $elem1238 = null; - $xfer += $input->readString($elem1238); - $this->group_names []= $elem1238; + $elem1245 = null; + $xfer += $input->readString($elem1245); + $this->group_names []= $elem1245; } $xfer += $input->readListEnd(); } else { @@ -41612,9 +41676,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1239) + foreach ($this->group_names as $iter1246) { - $xfer += $output->writeString($iter1239); + $xfer += $output->writeString($iter1246); } } $output->writeListEnd(); @@ -41922,15 +41986,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1240 = 0; - $_etype1243 = 0; - $xfer += $input->readListBegin($_etype1243, $_size1240); - for ($_i1244 = 0; $_i1244 < $_size1240; ++$_i1244) + $_size1247 = 0; + $_etype1250 = 0; + $xfer += $input->readListBegin($_etype1250, $_size1247); + for ($_i1251 = 0; $_i1251 < $_size1247; ++$_i1251) { - $elem1245 = null; - $elem1245 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem1245->read($input); - $this->success []= $elem1245; + $elem1252 = null; + $elem1252 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem1252->read($input); + $this->success []= $elem1252; } $xfer += $input->readListEnd(); } else { @@ -41966,9 +42030,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1246) + foreach ($this->success as $iter1253) { - $xfer += $iter1246->write($output); + $xfer += $iter1253->write($output); } } $output->writeListEnd(); @@ -42600,14 +42664,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1247 = 0; - $_etype1250 = 0; - $xfer += $input->readListBegin($_etype1250, $_size1247); - for ($_i1251 = 0; $_i1251 < $_size1247; ++$_i1251) + $_size1254 = 0; + $_etype1257 = 0; + $xfer += $input->readListBegin($_etype1257, $_size1254); + for ($_i1258 = 0; $_i1258 < $_size1254; ++$_i1258) { - $elem1252 = null; - $xfer += $input->readString($elem1252); - $this->group_names []= $elem1252; + $elem1259 = null; + $xfer += $input->readString($elem1259); + $this->group_names []= $elem1259; } $xfer += $input->readListEnd(); } else { @@ -42640,9 +42704,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1253) + foreach ($this->group_names as $iter1260) { - $xfer += $output->writeString($iter1253); + $xfer += $output->writeString($iter1260); } } $output->writeListEnd(); @@ -42718,14 +42782,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1254 = 0; - $_etype1257 = 0; - $xfer += $input->readListBegin($_etype1257, $_size1254); - for ($_i1258 = 0; $_i1258 < $_size1254; ++$_i1258) + $_size1261 = 0; + $_etype1264 = 0; + $xfer += $input->readListBegin($_etype1264, $_size1261); + for ($_i1265 = 0; $_i1265 < $_size1261; ++$_i1265) { - $elem1259 = null; - $xfer += $input->readString($elem1259); - $this->success []= $elem1259; + $elem1266 = null; + $xfer += $input->readString($elem1266); + $this->success []= $elem1266; } $xfer += $input->readListEnd(); } else { @@ -42761,9 +42825,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1260) + foreach ($this->success as $iter1267) { - $xfer += $output->writeString($iter1260); + $xfer += $output->writeString($iter1267); } } $output->writeListEnd(); @@ -43880,14 +43944,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1261 = 0; - $_etype1264 = 0; - $xfer += $input->readListBegin($_etype1264, $_size1261); - for ($_i1265 = 0; $_i1265 < $_size1261; ++$_i1265) + $_size1268 = 0; + $_etype1271 = 0; + $xfer += $input->readListBegin($_etype1271, $_size1268); + for ($_i1272 = 0; $_i1272 < $_size1268; ++$_i1272) { - $elem1266 = null; - $xfer += $input->readString($elem1266); - $this->success []= $elem1266; + $elem1273 = null; + $xfer += $input->readString($elem1273); + $this->success []= $elem1273; } $xfer += $input->readListEnd(); } else { @@ -43915,9 +43979,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1267) + foreach ($this->success as $iter1274) { - $xfer += $output->writeString($iter1267); + $xfer += $output->writeString($iter1274); } } $output->writeListEnd(); @@ -44556,14 +44620,14 @@ class ThriftHiveMetastore_get_master_keys_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1268 = 0; - $_etype1271 = 0; - $xfer += $input->readListBegin($_etype1271, $_size1268); - for ($_i1272 = 0; $_i1272 < $_size1268; ++$_i1272) + $_size1275 = 0; + $_etype1278 = 0; + $xfer += $input->readListBegin($_etype1278, $_size1275); + for ($_i1279 = 0; $_i1279 < $_size1275; ++$_i1279) { - $elem1273 = null; - $xfer += $input->readString($elem1273); - $this->success []= $elem1273; + $elem1280 = null; + $xfer += $input->readString($elem1280); + $this->success []= $elem1280; } $xfer += $input->readListEnd(); } else { @@ -44591,9 +44655,9 @@ class ThriftHiveMetastore_get_master_keys_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1274) + foreach ($this->success as $iter1281) { - $xfer += $output->writeString($iter1274); + $xfer += $output->writeString($iter1281); } } $output->writeListEnd(); @@ -45523,6 +45587,216 @@ class ThriftHiveMetastore_commit_txn_result { } +class ThriftHiveMetastore_get_valid_txns_args { + static $_TSPEC; + + /** + * @var \metastore\GetValidTxnsRequest + */ + public $rqst = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'rqst', + 'type' => TType::STRUCT, + 'class' => '\metastore\GetValidTxnsRequest', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['rqst'])) { + $this->rqst = $vals['rqst']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_get_valid_txns_args'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 1: + if ($ftype == TType::STRUCT) { + $this->rqst = new \metastore\GetValidTxnsRequest(); + $xfer += $this->rqst->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_valid_txns_args'); + if ($this->rqst !== null) { + if (!is_object($this->rqst)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('rqst', TType::STRUCT, 1); + $xfer += $this->rqst->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class ThriftHiveMetastore_get_valid_txns_result { + static $_TSPEC; + + /** + * @var \metastore\GetValidTxnsResponse + */ + public $success = null; + /** + * @var \metastore\NoSuchTxnException + */ + public $o1 = null; + /** + * @var \metastore\MetaException + */ + public $o2 = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 0 => array( + 'var' => 'success', + 'type' => TType::STRUCT, + 'class' => '\metastore\GetValidTxnsResponse', + ), + 1 => array( + 'var' => 'o1', + 'type' => TType::STRUCT, + 'class' => '\metastore\NoSuchTxnException', + ), + 2 => array( + 'var' => 'o2', + 'type' => TType::STRUCT, + 'class' => '\metastore\MetaException', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['success'])) { + $this->success = $vals['success']; + } + if (isset($vals['o1'])) { + $this->o1 = $vals['o1']; + } + if (isset($vals['o2'])) { + $this->o2 = $vals['o2']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_get_valid_txns_result'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 0: + if ($ftype == TType::STRUCT) { + $this->success = new \metastore\GetValidTxnsResponse(); + $xfer += $this->success->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + case 1: + if ($ftype == TType::STRUCT) { + $this->o1 = new \metastore\NoSuchTxnException(); + $xfer += $this->o1->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::STRUCT) { + $this->o2 = new \metastore\MetaException(); + $xfer += $this->o2->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_valid_txns_result'); + if ($this->success !== null) { + if (!is_object($this->success)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0); + $xfer += $this->success->write($output); + $xfer += $output->writeFieldEnd(); + } + if ($this->o1 !== null) { + $xfer += $output->writeFieldBegin('o1', TType::STRUCT, 1); + $xfer += $this->o1->write($output); + $xfer += $output->writeFieldEnd(); + } + if ($this->o2 !== null) { + $xfer += $output->writeFieldBegin('o2', TType::STRUCT, 2); + $xfer += $this->o2->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class ThriftHiveMetastore_get_valid_write_ids_args { static $_TSPEC; @@ -55132,15 +55406,15 @@ class ThriftHiveMetastore_get_schema_all_versions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1275 = 0; - $_etype1278 = 0; - $xfer += $input->readListBegin($_etype1278, $_size1275); - for ($_i1279 = 0; $_i1279 < $_size1275; ++$_i1279) + $_size1282 = 0; + $_etype1285 = 0; + $xfer += $input->readListBegin($_etype1285, $_size1282); + for ($_i1286 = 0; $_i1286 < $_size1282; ++$_i1286) { - $elem1280 = null; - $elem1280 = new \metastore\SchemaVersion(); - $xfer += $elem1280->read($input); - $this->success []= $elem1280; + $elem1287 = null; + $elem1287 = new \metastore\SchemaVersion(); + $xfer += $elem1287->read($input); + $this->success []= $elem1287; } $xfer += $input->readListEnd(); } else { @@ -55184,9 +55458,9 @@ class ThriftHiveMetastore_get_schema_all_versions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1281) + foreach ($this->success as $iter1288) { - $xfer += $iter1281->write($output); + $xfer += $iter1288->write($output); } } $output->writeListEnd(); diff --git a/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php b/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php index 6e3ec62..fb6903a 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -14708,6 +14708,274 @@ class CommitTxnRequest { } +class GetValidTxnsRequest { + static $_TSPEC; + + /** + * @var int + */ + public $currentTxnId = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'currentTxnId', + 'type' => TType::I64, + ), + ); + } + if (is_array($vals)) { + if (isset($vals['currentTxnId'])) { + $this->currentTxnId = $vals['currentTxnId']; + } + } + } + + public function getName() { + return 'GetValidTxnsRequest'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 1: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->currentTxnId); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('GetValidTxnsRequest'); + if ($this->currentTxnId !== null) { + $xfer += $output->writeFieldBegin('currentTxnId', TType::I64, 1); + $xfer += $output->writeI64($this->currentTxnId); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class GetValidTxnsResponse { + static $_TSPEC; + + /** + * @var int + */ + public $currentTxnId = null; + /** + * @var int + */ + public $txnHighWaterMark = null; + /** + * @var int[] + */ + public $invalidTxns = null; + /** + * @var int + */ + public $minOpenTxnId = null; + /** + * @var string + */ + public $abortedBits = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'currentTxnId', + 'type' => TType::I64, + ), + 2 => array( + 'var' => 'txnHighWaterMark', + 'type' => TType::I64, + ), + 3 => array( + 'var' => 'invalidTxns', + 'type' => TType::LST, + 'etype' => TType::I64, + 'elem' => array( + 'type' => TType::I64, + ), + ), + 4 => array( + 'var' => 'minOpenTxnId', + 'type' => TType::I64, + ), + 5 => array( + 'var' => 'abortedBits', + 'type' => TType::STRING, + ), + ); + } + if (is_array($vals)) { + if (isset($vals['currentTxnId'])) { + $this->currentTxnId = $vals['currentTxnId']; + } + if (isset($vals['txnHighWaterMark'])) { + $this->txnHighWaterMark = $vals['txnHighWaterMark']; + } + if (isset($vals['invalidTxns'])) { + $this->invalidTxns = $vals['invalidTxns']; + } + if (isset($vals['minOpenTxnId'])) { + $this->minOpenTxnId = $vals['minOpenTxnId']; + } + if (isset($vals['abortedBits'])) { + $this->abortedBits = $vals['abortedBits']; + } + } + } + + public function getName() { + return 'GetValidTxnsResponse'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 1: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->currentTxnId); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->txnHighWaterMark); + } else { + $xfer += $input->skip($ftype); + } + break; + case 3: + if ($ftype == TType::LST) { + $this->invalidTxns = array(); + $_size495 = 0; + $_etype498 = 0; + $xfer += $input->readListBegin($_etype498, $_size495); + for ($_i499 = 0; $_i499 < $_size495; ++$_i499) + { + $elem500 = null; + $xfer += $input->readI64($elem500); + $this->invalidTxns []= $elem500; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + case 4: + if ($ftype == TType::I64) { + $xfer += $input->readI64($this->minOpenTxnId); + } else { + $xfer += $input->skip($ftype); + } + break; + case 5: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->abortedBits); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('GetValidTxnsResponse'); + if ($this->currentTxnId !== null) { + $xfer += $output->writeFieldBegin('currentTxnId', TType::I64, 1); + $xfer += $output->writeI64($this->currentTxnId); + $xfer += $output->writeFieldEnd(); + } + if ($this->txnHighWaterMark !== null) { + $xfer += $output->writeFieldBegin('txnHighWaterMark', TType::I64, 2); + $xfer += $output->writeI64($this->txnHighWaterMark); + $xfer += $output->writeFieldEnd(); + } + if ($this->invalidTxns !== null) { + if (!is_array($this->invalidTxns)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('invalidTxns', TType::LST, 3); + { + $output->writeListBegin(TType::I64, count($this->invalidTxns)); + { + foreach ($this->invalidTxns as $iter501) + { + $xfer += $output->writeI64($iter501); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + if ($this->minOpenTxnId !== null) { + $xfer += $output->writeFieldBegin('minOpenTxnId', TType::I64, 4); + $xfer += $output->writeI64($this->minOpenTxnId); + $xfer += $output->writeFieldEnd(); + } + if ($this->abortedBits !== null) { + $xfer += $output->writeFieldBegin('abortedBits', TType::STRING, 5); + $xfer += $output->writeString($this->abortedBits); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class GetValidWriteIdsRequest { static $_TSPEC; @@ -14769,14 +15037,14 @@ class GetValidWriteIdsRequest { case 1: if ($ftype == TType::LST) { $this->fullTableNames = array(); - $_size495 = 0; - $_etype498 = 0; - $xfer += $input->readListBegin($_etype498, $_size495); - for ($_i499 = 0; $_i499 < $_size495; ++$_i499) + $_size502 = 0; + $_etype505 = 0; + $xfer += $input->readListBegin($_etype505, $_size502); + for ($_i506 = 0; $_i506 < $_size502; ++$_i506) { - $elem500 = null; - $xfer += $input->readString($elem500); - $this->fullTableNames []= $elem500; + $elem507 = null; + $xfer += $input->readString($elem507); + $this->fullTableNames []= $elem507; } $xfer += $input->readListEnd(); } else { @@ -14811,9 +15079,9 @@ class GetValidWriteIdsRequest { { $output->writeListBegin(TType::STRING, count($this->fullTableNames)); { - foreach ($this->fullTableNames as $iter501) + foreach ($this->fullTableNames as $iter508) { - $xfer += $output->writeString($iter501); + $xfer += $output->writeString($iter508); } } $output->writeListEnd(); @@ -14940,14 +15208,14 @@ class TableValidWriteIds { case 3: if ($ftype == TType::LST) { $this->invalidWriteIds = array(); - $_size502 = 0; - $_etype505 = 0; - $xfer += $input->readListBegin($_etype505, $_size502); - for ($_i506 = 0; $_i506 < $_size502; ++$_i506) + $_size509 = 0; + $_etype512 = 0; + $xfer += $input->readListBegin($_etype512, $_size509); + for ($_i513 = 0; $_i513 < $_size509; ++$_i513) { - $elem507 = null; - $xfer += $input->readI64($elem507); - $this->invalidWriteIds []= $elem507; + $elem514 = null; + $xfer += $input->readI64($elem514); + $this->invalidWriteIds []= $elem514; } $xfer += $input->readListEnd(); } else { @@ -14999,9 +15267,9 @@ class TableValidWriteIds { { $output->writeListBegin(TType::I64, count($this->invalidWriteIds)); { - foreach ($this->invalidWriteIds as $iter508) + foreach ($this->invalidWriteIds as $iter515) { - $xfer += $output->writeI64($iter508); + $xfer += $output->writeI64($iter515); } } $output->writeListEnd(); @@ -15076,15 +15344,15 @@ class GetValidWriteIdsResponse { case 1: if ($ftype == TType::LST) { $this->tblValidWriteIds = array(); - $_size509 = 0; - $_etype512 = 0; - $xfer += $input->readListBegin($_etype512, $_size509); - for ($_i513 = 0; $_i513 < $_size509; ++$_i513) + $_size516 = 0; + $_etype519 = 0; + $xfer += $input->readListBegin($_etype519, $_size516); + for ($_i520 = 0; $_i520 < $_size516; ++$_i520) { - $elem514 = null; - $elem514 = new \metastore\TableValidWriteIds(); - $xfer += $elem514->read($input); - $this->tblValidWriteIds []= $elem514; + $elem521 = null; + $elem521 = new \metastore\TableValidWriteIds(); + $xfer += $elem521->read($input); + $this->tblValidWriteIds []= $elem521; } $xfer += $input->readListEnd(); } else { @@ -15112,9 +15380,9 @@ class GetValidWriteIdsResponse { { $output->writeListBegin(TType::STRUCT, count($this->tblValidWriteIds)); { - foreach ($this->tblValidWriteIds as $iter515) + foreach ($this->tblValidWriteIds as $iter522) { - $xfer += $iter515->write($output); + $xfer += $iter522->write($output); } } $output->writeListEnd(); @@ -15200,14 +15468,14 @@ class AllocateTableWriteIdsRequest { case 1: if ($ftype == TType::LST) { $this->txnIds = array(); - $_size516 = 0; - $_etype519 = 0; - $xfer += $input->readListBegin($_etype519, $_size516); - for ($_i520 = 0; $_i520 < $_size516; ++$_i520) + $_size523 = 0; + $_etype526 = 0; + $xfer += $input->readListBegin($_etype526, $_size523); + for ($_i527 = 0; $_i527 < $_size523; ++$_i527) { - $elem521 = null; - $xfer += $input->readI64($elem521); - $this->txnIds []= $elem521; + $elem528 = null; + $xfer += $input->readI64($elem528); + $this->txnIds []= $elem528; } $xfer += $input->readListEnd(); } else { @@ -15249,9 +15517,9 @@ class AllocateTableWriteIdsRequest { { $output->writeListBegin(TType::I64, count($this->txnIds)); { - foreach ($this->txnIds as $iter522) + foreach ($this->txnIds as $iter529) { - $xfer += $output->writeI64($iter522); + $xfer += $output->writeI64($iter529); } } $output->writeListEnd(); @@ -15424,15 +15692,15 @@ class AllocateTableWriteIdsResponse { case 1: if ($ftype == TType::LST) { $this->txnToWriteIds = array(); - $_size523 = 0; - $_etype526 = 0; - $xfer += $input->readListBegin($_etype526, $_size523); - for ($_i527 = 0; $_i527 < $_size523; ++$_i527) + $_size530 = 0; + $_etype533 = 0; + $xfer += $input->readListBegin($_etype533, $_size530); + for ($_i534 = 0; $_i534 < $_size530; ++$_i534) { - $elem528 = null; - $elem528 = new \metastore\TxnToWriteId(); - $xfer += $elem528->read($input); - $this->txnToWriteIds []= $elem528; + $elem535 = null; + $elem535 = new \metastore\TxnToWriteId(); + $xfer += $elem535->read($input); + $this->txnToWriteIds []= $elem535; } $xfer += $input->readListEnd(); } else { @@ -15460,9 +15728,9 @@ class AllocateTableWriteIdsResponse { { $output->writeListBegin(TType::STRUCT, count($this->txnToWriteIds)); { - foreach ($this->txnToWriteIds as $iter529) + foreach ($this->txnToWriteIds as $iter536) { - $xfer += $iter529->write($output); + $xfer += $iter536->write($output); } } $output->writeListEnd(); @@ -15807,15 +16075,15 @@ class LockRequest { case 1: if ($ftype == TType::LST) { $this->component = array(); - $_size530 = 0; - $_etype533 = 0; - $xfer += $input->readListBegin($_etype533, $_size530); - for ($_i534 = 0; $_i534 < $_size530; ++$_i534) + $_size537 = 0; + $_etype540 = 0; + $xfer += $input->readListBegin($_etype540, $_size537); + for ($_i541 = 0; $_i541 < $_size537; ++$_i541) { - $elem535 = null; - $elem535 = new \metastore\LockComponent(); - $xfer += $elem535->read($input); - $this->component []= $elem535; + $elem542 = null; + $elem542 = new \metastore\LockComponent(); + $xfer += $elem542->read($input); + $this->component []= $elem542; } $xfer += $input->readListEnd(); } else { @@ -15871,9 +16139,9 @@ class LockRequest { { $output->writeListBegin(TType::STRUCT, count($this->component)); { - foreach ($this->component as $iter536) + foreach ($this->component as $iter543) { - $xfer += $iter536->write($output); + $xfer += $iter543->write($output); } } $output->writeListEnd(); @@ -16816,15 +17084,15 @@ class ShowLocksResponse { case 1: if ($ftype == TType::LST) { $this->locks = array(); - $_size537 = 0; - $_etype540 = 0; - $xfer += $input->readListBegin($_etype540, $_size537); - for ($_i541 = 0; $_i541 < $_size537; ++$_i541) + $_size544 = 0; + $_etype547 = 0; + $xfer += $input->readListBegin($_etype547, $_size544); + for ($_i548 = 0; $_i548 < $_size544; ++$_i548) { - $elem542 = null; - $elem542 = new \metastore\ShowLocksResponseElement(); - $xfer += $elem542->read($input); - $this->locks []= $elem542; + $elem549 = null; + $elem549 = new \metastore\ShowLocksResponseElement(); + $xfer += $elem549->read($input); + $this->locks []= $elem549; } $xfer += $input->readListEnd(); } else { @@ -16852,9 +17120,9 @@ class ShowLocksResponse { { $output->writeListBegin(TType::STRUCT, count($this->locks)); { - foreach ($this->locks as $iter543) + foreach ($this->locks as $iter550) { - $xfer += $iter543->write($output); + $xfer += $iter550->write($output); } } $output->writeListEnd(); @@ -17129,17 +17397,17 @@ class HeartbeatTxnRangeResponse { case 1: if ($ftype == TType::SET) { $this->aborted = array(); - $_size544 = 0; - $_etype547 = 0; - $xfer += $input->readSetBegin($_etype547, $_size544); - for ($_i548 = 0; $_i548 < $_size544; ++$_i548) + $_size551 = 0; + $_etype554 = 0; + $xfer += $input->readSetBegin($_etype554, $_size551); + for ($_i555 = 0; $_i555 < $_size551; ++$_i555) { - $elem549 = null; - $xfer += $input->readI64($elem549); - if (is_scalar($elem549)) { - $this->aborted[$elem549] = true; + $elem556 = null; + $xfer += $input->readI64($elem556); + if (is_scalar($elem556)) { + $this->aborted[$elem556] = true; } else { - $this->aborted []= $elem549; + $this->aborted []= $elem556; } } $xfer += $input->readSetEnd(); @@ -17150,17 +17418,17 @@ class HeartbeatTxnRangeResponse { case 2: if ($ftype == TType::SET) { $this->nosuch = array(); - $_size550 = 0; - $_etype553 = 0; - $xfer += $input->readSetBegin($_etype553, $_size550); - for ($_i554 = 0; $_i554 < $_size550; ++$_i554) + $_size557 = 0; + $_etype560 = 0; + $xfer += $input->readSetBegin($_etype560, $_size557); + for ($_i561 = 0; $_i561 < $_size557; ++$_i561) { - $elem555 = null; - $xfer += $input->readI64($elem555); - if (is_scalar($elem555)) { - $this->nosuch[$elem555] = true; + $elem562 = null; + $xfer += $input->readI64($elem562); + if (is_scalar($elem562)) { + $this->nosuch[$elem562] = true; } else { - $this->nosuch []= $elem555; + $this->nosuch []= $elem562; } } $xfer += $input->readSetEnd(); @@ -17189,12 +17457,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->aborted)); { - foreach ($this->aborted as $iter556 => $iter557) + foreach ($this->aborted as $iter563 => $iter564) { - if (is_scalar($iter557)) { - $xfer += $output->writeI64($iter556); + if (is_scalar($iter564)) { + $xfer += $output->writeI64($iter563); } else { - $xfer += $output->writeI64($iter557); + $xfer += $output->writeI64($iter564); } } } @@ -17210,12 +17478,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->nosuch)); { - foreach ($this->nosuch as $iter558 => $iter559) + foreach ($this->nosuch as $iter565 => $iter566) { - if (is_scalar($iter559)) { - $xfer += $output->writeI64($iter558); + if (is_scalar($iter566)) { + $xfer += $output->writeI64($iter565); } else { - $xfer += $output->writeI64($iter559); + $xfer += $output->writeI64($iter566); } } } @@ -17374,17 +17642,17 @@ class CompactionRequest { case 6: if ($ftype == TType::MAP) { $this->properties = array(); - $_size560 = 0; - $_ktype561 = 0; - $_vtype562 = 0; - $xfer += $input->readMapBegin($_ktype561, $_vtype562, $_size560); - for ($_i564 = 0; $_i564 < $_size560; ++$_i564) + $_size567 = 0; + $_ktype568 = 0; + $_vtype569 = 0; + $xfer += $input->readMapBegin($_ktype568, $_vtype569, $_size567); + for ($_i571 = 0; $_i571 < $_size567; ++$_i571) { - $key565 = ''; - $val566 = ''; - $xfer += $input->readString($key565); - $xfer += $input->readString($val566); - $this->properties[$key565] = $val566; + $key572 = ''; + $val573 = ''; + $xfer += $input->readString($key572); + $xfer += $input->readString($val573); + $this->properties[$key572] = $val573; } $xfer += $input->readMapEnd(); } else { @@ -17437,10 +17705,10 @@ class CompactionRequest { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties)); { - foreach ($this->properties as $kiter567 => $viter568) + foreach ($this->properties as $kiter574 => $viter575) { - $xfer += $output->writeString($kiter567); - $xfer += $output->writeString($viter568); + $xfer += $output->writeString($kiter574); + $xfer += $output->writeString($viter575); } } $output->writeMapEnd(); @@ -18027,15 +18295,15 @@ class ShowCompactResponse { case 1: if ($ftype == TType::LST) { $this->compacts = array(); - $_size569 = 0; - $_etype572 = 0; - $xfer += $input->readListBegin($_etype572, $_size569); - for ($_i573 = 0; $_i573 < $_size569; ++$_i573) + $_size576 = 0; + $_etype579 = 0; + $xfer += $input->readListBegin($_etype579, $_size576); + for ($_i580 = 0; $_i580 < $_size576; ++$_i580) { - $elem574 = null; - $elem574 = new \metastore\ShowCompactResponseElement(); - $xfer += $elem574->read($input); - $this->compacts []= $elem574; + $elem581 = null; + $elem581 = new \metastore\ShowCompactResponseElement(); + $xfer += $elem581->read($input); + $this->compacts []= $elem581; } $xfer += $input->readListEnd(); } else { @@ -18063,9 +18331,9 @@ class ShowCompactResponse { { $output->writeListBegin(TType::STRUCT, count($this->compacts)); { - foreach ($this->compacts as $iter575) + foreach ($this->compacts as $iter582) { - $xfer += $iter575->write($output); + $xfer += $iter582->write($output); } } $output->writeListEnd(); @@ -18212,14 +18480,14 @@ class AddDynamicPartitions { case 5: if ($ftype == TType::LST) { $this->partitionnames = array(); - $_size576 = 0; - $_etype579 = 0; - $xfer += $input->readListBegin($_etype579, $_size576); - for ($_i580 = 0; $_i580 < $_size576; ++$_i580) + $_size583 = 0; + $_etype586 = 0; + $xfer += $input->readListBegin($_etype586, $_size583); + for ($_i587 = 0; $_i587 < $_size583; ++$_i587) { - $elem581 = null; - $xfer += $input->readString($elem581); - $this->partitionnames []= $elem581; + $elem588 = null; + $xfer += $input->readString($elem588); + $this->partitionnames []= $elem588; } $xfer += $input->readListEnd(); } else { @@ -18274,9 +18542,9 @@ class AddDynamicPartitions { { $output->writeListBegin(TType::STRING, count($this->partitionnames)); { - foreach ($this->partitionnames as $iter582) + foreach ($this->partitionnames as $iter589) { - $xfer += $output->writeString($iter582); + $xfer += $output->writeString($iter589); } } $output->writeListEnd(); @@ -18582,17 +18850,17 @@ class CreationMetadata { case 3: if ($ftype == TType::SET) { $this->tablesUsed = array(); - $_size583 = 0; - $_etype586 = 0; - $xfer += $input->readSetBegin($_etype586, $_size583); - for ($_i587 = 0; $_i587 < $_size583; ++$_i587) + $_size590 = 0; + $_etype593 = 0; + $xfer += $input->readSetBegin($_etype593, $_size590); + for ($_i594 = 0; $_i594 < $_size590; ++$_i594) { - $elem588 = null; - $xfer += $input->readString($elem588); - if (is_scalar($elem588)) { - $this->tablesUsed[$elem588] = true; + $elem595 = null; + $xfer += $input->readString($elem595); + if (is_scalar($elem595)) { + $this->tablesUsed[$elem595] = true; } else { - $this->tablesUsed []= $elem588; + $this->tablesUsed []= $elem595; } } $xfer += $input->readSetEnd(); @@ -18638,12 +18906,12 @@ class CreationMetadata { { $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); { - foreach ($this->tablesUsed as $iter589 => $iter590) + foreach ($this->tablesUsed as $iter596 => $iter597) { - if (is_scalar($iter590)) { - $xfer += $output->writeString($iter589); + if (is_scalar($iter597)) { + $xfer += $output->writeString($iter596); } else { - $xfer += $output->writeString($iter590); + $xfer += $output->writeString($iter597); } } } @@ -19025,15 +19293,15 @@ class NotificationEventResponse { case 1: if ($ftype == TType::LST) { $this->events = array(); - $_size591 = 0; - $_etype594 = 0; - $xfer += $input->readListBegin($_etype594, $_size591); - for ($_i595 = 0; $_i595 < $_size591; ++$_i595) + $_size598 = 0; + $_etype601 = 0; + $xfer += $input->readListBegin($_etype601, $_size598); + for ($_i602 = 0; $_i602 < $_size598; ++$_i602) { - $elem596 = null; - $elem596 = new \metastore\NotificationEvent(); - $xfer += $elem596->read($input); - $this->events []= $elem596; + $elem603 = null; + $elem603 = new \metastore\NotificationEvent(); + $xfer += $elem603->read($input); + $this->events []= $elem603; } $xfer += $input->readListEnd(); } else { @@ -19061,9 +19329,9 @@ class NotificationEventResponse { { $output->writeListBegin(TType::STRUCT, count($this->events)); { - foreach ($this->events as $iter597) + foreach ($this->events as $iter604) { - $xfer += $iter597->write($output); + $xfer += $iter604->write($output); } } $output->writeListEnd(); @@ -19408,14 +19676,14 @@ class InsertEventRequestData { case 2: if ($ftype == TType::LST) { $this->filesAdded = array(); - $_size598 = 0; - $_etype601 = 0; - $xfer += $input->readListBegin($_etype601, $_size598); - for ($_i602 = 0; $_i602 < $_size598; ++$_i602) + $_size605 = 0; + $_etype608 = 0; + $xfer += $input->readListBegin($_etype608, $_size605); + for ($_i609 = 0; $_i609 < $_size605; ++$_i609) { - $elem603 = null; - $xfer += $input->readString($elem603); - $this->filesAdded []= $elem603; + $elem610 = null; + $xfer += $input->readString($elem610); + $this->filesAdded []= $elem610; } $xfer += $input->readListEnd(); } else { @@ -19425,14 +19693,14 @@ class InsertEventRequestData { case 3: if ($ftype == TType::LST) { $this->filesAddedChecksum = array(); - $_size604 = 0; - $_etype607 = 0; - $xfer += $input->readListBegin($_etype607, $_size604); - for ($_i608 = 0; $_i608 < $_size604; ++$_i608) + $_size611 = 0; + $_etype614 = 0; + $xfer += $input->readListBegin($_etype614, $_size611); + for ($_i615 = 0; $_i615 < $_size611; ++$_i615) { - $elem609 = null; - $xfer += $input->readString($elem609); - $this->filesAddedChecksum []= $elem609; + $elem616 = null; + $xfer += $input->readString($elem616); + $this->filesAddedChecksum []= $elem616; } $xfer += $input->readListEnd(); } else { @@ -19465,9 +19733,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAdded)); { - foreach ($this->filesAdded as $iter610) + foreach ($this->filesAdded as $iter617) { - $xfer += $output->writeString($iter610); + $xfer += $output->writeString($iter617); } } $output->writeListEnd(); @@ -19482,9 +19750,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAddedChecksum)); { - foreach ($this->filesAddedChecksum as $iter611) + foreach ($this->filesAddedChecksum as $iter618) { - $xfer += $output->writeString($iter611); + $xfer += $output->writeString($iter618); } } $output->writeListEnd(); @@ -19702,14 +19970,14 @@ class FireEventRequest { case 5: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size612 = 0; - $_etype615 = 0; - $xfer += $input->readListBegin($_etype615, $_size612); - for ($_i616 = 0; $_i616 < $_size612; ++$_i616) + $_size619 = 0; + $_etype622 = 0; + $xfer += $input->readListBegin($_etype622, $_size619); + for ($_i623 = 0; $_i623 < $_size619; ++$_i623) { - $elem617 = null; - $xfer += $input->readString($elem617); - $this->partitionVals []= $elem617; + $elem624 = null; + $xfer += $input->readString($elem624); + $this->partitionVals []= $elem624; } $xfer += $input->readListEnd(); } else { @@ -19760,9 +20028,9 @@ class FireEventRequest { { $output->writeListBegin(TType::STRING, count($this->partitionVals)); { - foreach ($this->partitionVals as $iter618) + foreach ($this->partitionVals as $iter625) { - $xfer += $output->writeString($iter618); + $xfer += $output->writeString($iter625); } } $output->writeListEnd(); @@ -19990,18 +20258,18 @@ class GetFileMetadataByExprResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size619 = 0; - $_ktype620 = 0; - $_vtype621 = 0; - $xfer += $input->readMapBegin($_ktype620, $_vtype621, $_size619); - for ($_i623 = 0; $_i623 < $_size619; ++$_i623) + $_size626 = 0; + $_ktype627 = 0; + $_vtype628 = 0; + $xfer += $input->readMapBegin($_ktype627, $_vtype628, $_size626); + for ($_i630 = 0; $_i630 < $_size626; ++$_i630) { - $key624 = 0; - $val625 = new \metastore\MetadataPpdResult(); - $xfer += $input->readI64($key624); - $val625 = new \metastore\MetadataPpdResult(); - $xfer += $val625->read($input); - $this->metadata[$key624] = $val625; + $key631 = 0; + $val632 = new \metastore\MetadataPpdResult(); + $xfer += $input->readI64($key631); + $val632 = new \metastore\MetadataPpdResult(); + $xfer += $val632->read($input); + $this->metadata[$key631] = $val632; } $xfer += $input->readMapEnd(); } else { @@ -20036,10 +20304,10 @@ class GetFileMetadataByExprResult { { $output->writeMapBegin(TType::I64, TType::STRUCT, count($this->metadata)); { - foreach ($this->metadata as $kiter626 => $viter627) + foreach ($this->metadata as $kiter633 => $viter634) { - $xfer += $output->writeI64($kiter626); - $xfer += $viter627->write($output); + $xfer += $output->writeI64($kiter633); + $xfer += $viter634->write($output); } } $output->writeMapEnd(); @@ -20141,14 +20409,14 @@ class GetFileMetadataByExprRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size628 = 0; - $_etype631 = 0; - $xfer += $input->readListBegin($_etype631, $_size628); - for ($_i632 = 0; $_i632 < $_size628; ++$_i632) + $_size635 = 0; + $_etype638 = 0; + $xfer += $input->readListBegin($_etype638, $_size635); + for ($_i639 = 0; $_i639 < $_size635; ++$_i639) { - $elem633 = null; - $xfer += $input->readI64($elem633); - $this->fileIds []= $elem633; + $elem640 = null; + $xfer += $input->readI64($elem640); + $this->fileIds []= $elem640; } $xfer += $input->readListEnd(); } else { @@ -20197,9 +20465,9 @@ class GetFileMetadataByExprRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter634) + foreach ($this->fileIds as $iter641) { - $xfer += $output->writeI64($iter634); + $xfer += $output->writeI64($iter641); } } $output->writeListEnd(); @@ -20293,17 +20561,17 @@ class GetFileMetadataResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size635 = 0; - $_ktype636 = 0; - $_vtype637 = 0; - $xfer += $input->readMapBegin($_ktype636, $_vtype637, $_size635); - for ($_i639 = 0; $_i639 < $_size635; ++$_i639) + $_size642 = 0; + $_ktype643 = 0; + $_vtype644 = 0; + $xfer += $input->readMapBegin($_ktype643, $_vtype644, $_size642); + for ($_i646 = 0; $_i646 < $_size642; ++$_i646) { - $key640 = 0; - $val641 = ''; - $xfer += $input->readI64($key640); - $xfer += $input->readString($val641); - $this->metadata[$key640] = $val641; + $key647 = 0; + $val648 = ''; + $xfer += $input->readI64($key647); + $xfer += $input->readString($val648); + $this->metadata[$key647] = $val648; } $xfer += $input->readMapEnd(); } else { @@ -20338,10 +20606,10 @@ class GetFileMetadataResult { { $output->writeMapBegin(TType::I64, TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $kiter642 => $viter643) + foreach ($this->metadata as $kiter649 => $viter650) { - $xfer += $output->writeI64($kiter642); - $xfer += $output->writeString($viter643); + $xfer += $output->writeI64($kiter649); + $xfer += $output->writeString($viter650); } } $output->writeMapEnd(); @@ -20410,14 +20678,14 @@ class GetFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size644 = 0; - $_etype647 = 0; - $xfer += $input->readListBegin($_etype647, $_size644); - for ($_i648 = 0; $_i648 < $_size644; ++$_i648) + $_size651 = 0; + $_etype654 = 0; + $xfer += $input->readListBegin($_etype654, $_size651); + for ($_i655 = 0; $_i655 < $_size651; ++$_i655) { - $elem649 = null; - $xfer += $input->readI64($elem649); - $this->fileIds []= $elem649; + $elem656 = null; + $xfer += $input->readI64($elem656); + $this->fileIds []= $elem656; } $xfer += $input->readListEnd(); } else { @@ -20445,9 +20713,9 @@ class GetFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter650) + foreach ($this->fileIds as $iter657) { - $xfer += $output->writeI64($iter650); + $xfer += $output->writeI64($iter657); } } $output->writeListEnd(); @@ -20587,14 +20855,14 @@ class PutFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size651 = 0; - $_etype654 = 0; - $xfer += $input->readListBegin($_etype654, $_size651); - for ($_i655 = 0; $_i655 < $_size651; ++$_i655) + $_size658 = 0; + $_etype661 = 0; + $xfer += $input->readListBegin($_etype661, $_size658); + for ($_i662 = 0; $_i662 < $_size658; ++$_i662) { - $elem656 = null; - $xfer += $input->readI64($elem656); - $this->fileIds []= $elem656; + $elem663 = null; + $xfer += $input->readI64($elem663); + $this->fileIds []= $elem663; } $xfer += $input->readListEnd(); } else { @@ -20604,14 +20872,14 @@ class PutFileMetadataRequest { case 2: if ($ftype == TType::LST) { $this->metadata = array(); - $_size657 = 0; - $_etype660 = 0; - $xfer += $input->readListBegin($_etype660, $_size657); - for ($_i661 = 0; $_i661 < $_size657; ++$_i661) + $_size664 = 0; + $_etype667 = 0; + $xfer += $input->readListBegin($_etype667, $_size664); + for ($_i668 = 0; $_i668 < $_size664; ++$_i668) { - $elem662 = null; - $xfer += $input->readString($elem662); - $this->metadata []= $elem662; + $elem669 = null; + $xfer += $input->readString($elem669); + $this->metadata []= $elem669; } $xfer += $input->readListEnd(); } else { @@ -20646,9 +20914,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter663) + foreach ($this->fileIds as $iter670) { - $xfer += $output->writeI64($iter663); + $xfer += $output->writeI64($iter670); } } $output->writeListEnd(); @@ -20663,9 +20931,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $iter664) + foreach ($this->metadata as $iter671) { - $xfer += $output->writeString($iter664); + $xfer += $output->writeString($iter671); } } $output->writeListEnd(); @@ -20784,14 +21052,14 @@ class ClearFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size665 = 0; - $_etype668 = 0; - $xfer += $input->readListBegin($_etype668, $_size665); - for ($_i669 = 0; $_i669 < $_size665; ++$_i669) + $_size672 = 0; + $_etype675 = 0; + $xfer += $input->readListBegin($_etype675, $_size672); + for ($_i676 = 0; $_i676 < $_size672; ++$_i676) { - $elem670 = null; - $xfer += $input->readI64($elem670); - $this->fileIds []= $elem670; + $elem677 = null; + $xfer += $input->readI64($elem677); + $this->fileIds []= $elem677; } $xfer += $input->readListEnd(); } else { @@ -20819,9 +21087,9 @@ class ClearFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter671) + foreach ($this->fileIds as $iter678) { - $xfer += $output->writeI64($iter671); + $xfer += $output->writeI64($iter678); } } $output->writeListEnd(); @@ -21105,15 +21373,15 @@ class GetAllFunctionsResponse { case 1: if ($ftype == TType::LST) { $this->functions = array(); - $_size672 = 0; - $_etype675 = 0; - $xfer += $input->readListBegin($_etype675, $_size672); - for ($_i676 = 0; $_i676 < $_size672; ++$_i676) + $_size679 = 0; + $_etype682 = 0; + $xfer += $input->readListBegin($_etype682, $_size679); + for ($_i683 = 0; $_i683 < $_size679; ++$_i683) { - $elem677 = null; - $elem677 = new \metastore\Function(); - $xfer += $elem677->read($input); - $this->functions []= $elem677; + $elem684 = null; + $elem684 = new \metastore\Function(); + $xfer += $elem684->read($input); + $this->functions []= $elem684; } $xfer += $input->readListEnd(); } else { @@ -21141,9 +21409,9 @@ class GetAllFunctionsResponse { { $output->writeListBegin(TType::STRUCT, count($this->functions)); { - foreach ($this->functions as $iter678) + foreach ($this->functions as $iter685) { - $xfer += $iter678->write($output); + $xfer += $iter685->write($output); } } $output->writeListEnd(); @@ -21207,14 +21475,14 @@ class ClientCapabilities { case 1: if ($ftype == TType::LST) { $this->values = array(); - $_size679 = 0; - $_etype682 = 0; - $xfer += $input->readListBegin($_etype682, $_size679); - for ($_i683 = 0; $_i683 < $_size679; ++$_i683) + $_size686 = 0; + $_etype689 = 0; + $xfer += $input->readListBegin($_etype689, $_size686); + for ($_i690 = 0; $_i690 < $_size686; ++$_i690) { - $elem684 = null; - $xfer += $input->readI32($elem684); - $this->values []= $elem684; + $elem691 = null; + $xfer += $input->readI32($elem691); + $this->values []= $elem691; } $xfer += $input->readListEnd(); } else { @@ -21242,9 +21510,9 @@ class ClientCapabilities { { $output->writeListBegin(TType::I32, count($this->values)); { - foreach ($this->values as $iter685) + foreach ($this->values as $iter692) { - $xfer += $output->writeI32($iter685); + $xfer += $output->writeI32($iter692); } } $output->writeListEnd(); @@ -21544,14 +21812,14 @@ class GetTablesRequest { case 2: if ($ftype == TType::LST) { $this->tblNames = array(); - $_size686 = 0; - $_etype689 = 0; - $xfer += $input->readListBegin($_etype689, $_size686); - for ($_i690 = 0; $_i690 < $_size686; ++$_i690) + $_size693 = 0; + $_etype696 = 0; + $xfer += $input->readListBegin($_etype696, $_size693); + for ($_i697 = 0; $_i697 < $_size693; ++$_i697) { - $elem691 = null; - $xfer += $input->readString($elem691); - $this->tblNames []= $elem691; + $elem698 = null; + $xfer += $input->readString($elem698); + $this->tblNames []= $elem698; } $xfer += $input->readListEnd(); } else { @@ -21592,9 +21860,9 @@ class GetTablesRequest { { $output->writeListBegin(TType::STRING, count($this->tblNames)); { - foreach ($this->tblNames as $iter692) + foreach ($this->tblNames as $iter699) { - $xfer += $output->writeString($iter692); + $xfer += $output->writeString($iter699); } } $output->writeListEnd(); @@ -21667,15 +21935,15 @@ class GetTablesResult { case 1: if ($ftype == TType::LST) { $this->tables = array(); - $_size693 = 0; - $_etype696 = 0; - $xfer += $input->readListBegin($_etype696, $_size693); - for ($_i697 = 0; $_i697 < $_size693; ++$_i697) + $_size700 = 0; + $_etype703 = 0; + $xfer += $input->readListBegin($_etype703, $_size700); + for ($_i704 = 0; $_i704 < $_size700; ++$_i704) { - $elem698 = null; - $elem698 = new \metastore\Table(); - $xfer += $elem698->read($input); - $this->tables []= $elem698; + $elem705 = null; + $elem705 = new \metastore\Table(); + $xfer += $elem705->read($input); + $this->tables []= $elem705; } $xfer += $input->readListEnd(); } else { @@ -21703,9 +21971,9 @@ class GetTablesResult { { $output->writeListBegin(TType::STRUCT, count($this->tables)); { - foreach ($this->tables as $iter699) + foreach ($this->tables as $iter706) { - $xfer += $iter699->write($output); + $xfer += $iter706->write($output); } } $output->writeListEnd(); @@ -22083,17 +22351,17 @@ class Materialization { case 1: if ($ftype == TType::SET) { $this->tablesUsed = array(); - $_size700 = 0; - $_etype703 = 0; - $xfer += $input->readSetBegin($_etype703, $_size700); - for ($_i704 = 0; $_i704 < $_size700; ++$_i704) + $_size707 = 0; + $_etype710 = 0; + $xfer += $input->readSetBegin($_etype710, $_size707); + for ($_i711 = 0; $_i711 < $_size707; ++$_i711) { - $elem705 = null; - $xfer += $input->readString($elem705); - if (is_scalar($elem705)) { - $this->tablesUsed[$elem705] = true; + $elem712 = null; + $xfer += $input->readString($elem712); + if (is_scalar($elem712)) { + $this->tablesUsed[$elem712] = true; } else { - $this->tablesUsed []= $elem705; + $this->tablesUsed []= $elem712; } } $xfer += $input->readSetEnd(); @@ -22136,12 +22404,12 @@ class Materialization { { $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); { - foreach ($this->tablesUsed as $iter706 => $iter707) + foreach ($this->tablesUsed as $iter713 => $iter714) { - if (is_scalar($iter707)) { - $xfer += $output->writeString($iter706); + if (is_scalar($iter714)) { + $xfer += $output->writeString($iter713); } else { - $xfer += $output->writeString($iter707); + $xfer += $output->writeString($iter714); } } } @@ -23408,15 +23676,15 @@ class WMFullResourcePlan { case 2: if ($ftype == TType::LST) { $this->pools = array(); - $_size708 = 0; - $_etype711 = 0; - $xfer += $input->readListBegin($_etype711, $_size708); - for ($_i712 = 0; $_i712 < $_size708; ++$_i712) + $_size715 = 0; + $_etype718 = 0; + $xfer += $input->readListBegin($_etype718, $_size715); + for ($_i719 = 0; $_i719 < $_size715; ++$_i719) { - $elem713 = null; - $elem713 = new \metastore\WMPool(); - $xfer += $elem713->read($input); - $this->pools []= $elem713; + $elem720 = null; + $elem720 = new \metastore\WMPool(); + $xfer += $elem720->read($input); + $this->pools []= $elem720; } $xfer += $input->readListEnd(); } else { @@ -23426,15 +23694,15 @@ class WMFullResourcePlan { case 3: if ($ftype == TType::LST) { $this->mappings = array(); - $_size714 = 0; - $_etype717 = 0; - $xfer += $input->readListBegin($_etype717, $_size714); - for ($_i718 = 0; $_i718 < $_size714; ++$_i718) + $_size721 = 0; + $_etype724 = 0; + $xfer += $input->readListBegin($_etype724, $_size721); + for ($_i725 = 0; $_i725 < $_size721; ++$_i725) { - $elem719 = null; - $elem719 = new \metastore\WMMapping(); - $xfer += $elem719->read($input); - $this->mappings []= $elem719; + $elem726 = null; + $elem726 = new \metastore\WMMapping(); + $xfer += $elem726->read($input); + $this->mappings []= $elem726; } $xfer += $input->readListEnd(); } else { @@ -23444,15 +23712,15 @@ class WMFullResourcePlan { case 4: if ($ftype == TType::LST) { $this->triggers = array(); - $_size720 = 0; - $_etype723 = 0; - $xfer += $input->readListBegin($_etype723, $_size720); - for ($_i724 = 0; $_i724 < $_size720; ++$_i724) + $_size727 = 0; + $_etype730 = 0; + $xfer += $input->readListBegin($_etype730, $_size727); + for ($_i731 = 0; $_i731 < $_size727; ++$_i731) { - $elem725 = null; - $elem725 = new \metastore\WMTrigger(); - $xfer += $elem725->read($input); - $this->triggers []= $elem725; + $elem732 = null; + $elem732 = new \metastore\WMTrigger(); + $xfer += $elem732->read($input); + $this->triggers []= $elem732; } $xfer += $input->readListEnd(); } else { @@ -23462,15 +23730,15 @@ class WMFullResourcePlan { case 5: if ($ftype == TType::LST) { $this->poolTriggers = array(); - $_size726 = 0; - $_etype729 = 0; - $xfer += $input->readListBegin($_etype729, $_size726); - for ($_i730 = 0; $_i730 < $_size726; ++$_i730) + $_size733 = 0; + $_etype736 = 0; + $xfer += $input->readListBegin($_etype736, $_size733); + for ($_i737 = 0; $_i737 < $_size733; ++$_i737) { - $elem731 = null; - $elem731 = new \metastore\WMPoolTrigger(); - $xfer += $elem731->read($input); - $this->poolTriggers []= $elem731; + $elem738 = null; + $elem738 = new \metastore\WMPoolTrigger(); + $xfer += $elem738->read($input); + $this->poolTriggers []= $elem738; } $xfer += $input->readListEnd(); } else { @@ -23506,9 +23774,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->pools)); { - foreach ($this->pools as $iter732) + foreach ($this->pools as $iter739) { - $xfer += $iter732->write($output); + $xfer += $iter739->write($output); } } $output->writeListEnd(); @@ -23523,9 +23791,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->mappings)); { - foreach ($this->mappings as $iter733) + foreach ($this->mappings as $iter740) { - $xfer += $iter733->write($output); + $xfer += $iter740->write($output); } } $output->writeListEnd(); @@ -23540,9 +23808,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter734) + foreach ($this->triggers as $iter741) { - $xfer += $iter734->write($output); + $xfer += $iter741->write($output); } } $output->writeListEnd(); @@ -23557,9 +23825,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->poolTriggers)); { - foreach ($this->poolTriggers as $iter735) + foreach ($this->poolTriggers as $iter742) { - $xfer += $iter735->write($output); + $xfer += $iter742->write($output); } } $output->writeListEnd(); @@ -24112,15 +24380,15 @@ class WMGetAllResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->resourcePlans = array(); - $_size736 = 0; - $_etype739 = 0; - $xfer += $input->readListBegin($_etype739, $_size736); - for ($_i740 = 0; $_i740 < $_size736; ++$_i740) + $_size743 = 0; + $_etype746 = 0; + $xfer += $input->readListBegin($_etype746, $_size743); + for ($_i747 = 0; $_i747 < $_size743; ++$_i747) { - $elem741 = null; - $elem741 = new \metastore\WMResourcePlan(); - $xfer += $elem741->read($input); - $this->resourcePlans []= $elem741; + $elem748 = null; + $elem748 = new \metastore\WMResourcePlan(); + $xfer += $elem748->read($input); + $this->resourcePlans []= $elem748; } $xfer += $input->readListEnd(); } else { @@ -24148,9 +24416,9 @@ class WMGetAllResourcePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->resourcePlans)); { - foreach ($this->resourcePlans as $iter742) + foreach ($this->resourcePlans as $iter749) { - $xfer += $iter742->write($output); + $xfer += $iter749->write($output); } } $output->writeListEnd(); @@ -24556,14 +24824,14 @@ class WMValidateResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->errors = array(); - $_size743 = 0; - $_etype746 = 0; - $xfer += $input->readListBegin($_etype746, $_size743); - for ($_i747 = 0; $_i747 < $_size743; ++$_i747) + $_size750 = 0; + $_etype753 = 0; + $xfer += $input->readListBegin($_etype753, $_size750); + for ($_i754 = 0; $_i754 < $_size750; ++$_i754) { - $elem748 = null; - $xfer += $input->readString($elem748); - $this->errors []= $elem748; + $elem755 = null; + $xfer += $input->readString($elem755); + $this->errors []= $elem755; } $xfer += $input->readListEnd(); } else { @@ -24573,14 +24841,14 @@ class WMValidateResourcePlanResponse { case 2: if ($ftype == TType::LST) { $this->warnings = array(); - $_size749 = 0; - $_etype752 = 0; - $xfer += $input->readListBegin($_etype752, $_size749); - for ($_i753 = 0; $_i753 < $_size749; ++$_i753) + $_size756 = 0; + $_etype759 = 0; + $xfer += $input->readListBegin($_etype759, $_size756); + for ($_i760 = 0; $_i760 < $_size756; ++$_i760) { - $elem754 = null; - $xfer += $input->readString($elem754); - $this->warnings []= $elem754; + $elem761 = null; + $xfer += $input->readString($elem761); + $this->warnings []= $elem761; } $xfer += $input->readListEnd(); } else { @@ -24608,9 +24876,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->errors)); { - foreach ($this->errors as $iter755) + foreach ($this->errors as $iter762) { - $xfer += $output->writeString($iter755); + $xfer += $output->writeString($iter762); } } $output->writeListEnd(); @@ -24625,9 +24893,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->warnings)); { - foreach ($this->warnings as $iter756) + foreach ($this->warnings as $iter763) { - $xfer += $output->writeString($iter756); + $xfer += $output->writeString($iter763); } } $output->writeListEnd(); @@ -25300,15 +25568,15 @@ class WMGetTriggersForResourePlanResponse { case 1: if ($ftype == TType::LST) { $this->triggers = array(); - $_size757 = 0; - $_etype760 = 0; - $xfer += $input->readListBegin($_etype760, $_size757); - for ($_i761 = 0; $_i761 < $_size757; ++$_i761) + $_size764 = 0; + $_etype767 = 0; + $xfer += $input->readListBegin($_etype767, $_size764); + for ($_i768 = 0; $_i768 < $_size764; ++$_i768) { - $elem762 = null; - $elem762 = new \metastore\WMTrigger(); - $xfer += $elem762->read($input); - $this->triggers []= $elem762; + $elem769 = null; + $elem769 = new \metastore\WMTrigger(); + $xfer += $elem769->read($input); + $this->triggers []= $elem769; } $xfer += $input->readListEnd(); } else { @@ -25336,9 +25604,9 @@ class WMGetTriggersForResourePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter763) + foreach ($this->triggers as $iter770) { - $xfer += $iter763->write($output); + $xfer += $iter770->write($output); } } $output->writeListEnd(); @@ -26876,15 +27144,15 @@ class SchemaVersion { case 4: if ($ftype == TType::LST) { $this->cols = array(); - $_size764 = 0; - $_etype767 = 0; - $xfer += $input->readListBegin($_etype767, $_size764); - for ($_i768 = 0; $_i768 < $_size764; ++$_i768) + $_size771 = 0; + $_etype774 = 0; + $xfer += $input->readListBegin($_etype774, $_size771); + for ($_i775 = 0; $_i775 < $_size771; ++$_i775) { - $elem769 = null; - $elem769 = new \metastore\FieldSchema(); - $xfer += $elem769->read($input); - $this->cols []= $elem769; + $elem776 = null; + $elem776 = new \metastore\FieldSchema(); + $xfer += $elem776->read($input); + $this->cols []= $elem776; } $xfer += $input->readListEnd(); } else { @@ -26973,9 +27241,9 @@ class SchemaVersion { { $output->writeListBegin(TType::STRUCT, count($this->cols)); { - foreach ($this->cols as $iter770) + foreach ($this->cols as $iter777) { - $xfer += $iter770->write($output); + $xfer += $iter777->write($output); } } $output->writeListEnd(); @@ -27297,15 +27565,15 @@ class FindSchemasByColsResp { case 1: if ($ftype == TType::LST) { $this->schemaVersions = array(); - $_size771 = 0; - $_etype774 = 0; - $xfer += $input->readListBegin($_etype774, $_size771); - for ($_i775 = 0; $_i775 < $_size771; ++$_i775) + $_size778 = 0; + $_etype781 = 0; + $xfer += $input->readListBegin($_etype781, $_size778); + for ($_i782 = 0; $_i782 < $_size778; ++$_i782) { - $elem776 = null; - $elem776 = new \metastore\SchemaVersionDescriptor(); - $xfer += $elem776->read($input); - $this->schemaVersions []= $elem776; + $elem783 = null; + $elem783 = new \metastore\SchemaVersionDescriptor(); + $xfer += $elem783->read($input); + $this->schemaVersions []= $elem783; } $xfer += $input->readListEnd(); } else { @@ -27333,9 +27601,9 @@ class FindSchemasByColsResp { { $output->writeListBegin(TType::STRUCT, count($this->schemaVersions)); { - foreach ($this->schemaVersions as $iter777) + foreach ($this->schemaVersions as $iter784) { - $xfer += $iter777->write($output); + $xfer += $iter784->write($output); } } $output->writeListEnd(); diff --git a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote index a8e8386..fd415bd 100755 --- a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote @@ -163,6 +163,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print(' void abort_txn(AbortTxnRequest rqst)') print(' void abort_txns(AbortTxnsRequest rqst)') print(' void commit_txn(CommitTxnRequest rqst)') + print(' GetValidTxnsResponse get_valid_txns(GetValidTxnsRequest rqst)') print(' GetValidWriteIdsResponse get_valid_write_ids(GetValidWriteIdsRequest rqst)') print(' AllocateTableWriteIdsResponse allocate_table_write_ids(AllocateTableWriteIdsRequest rqst)') print(' LockResponse lock(LockRequest rqst)') @@ -1121,6 +1122,12 @@ elif cmd == 'commit_txn': sys.exit(1) pp.pprint(client.commit_txn(eval(args[0]),)) +elif cmd == 'get_valid_txns': + if len(args) != 1: + print('get_valid_txns requires 1 args') + sys.exit(1) + pp.pprint(client.get_valid_txns(eval(args[0]),)) + elif cmd == 'get_valid_write_ids': if len(args) != 1: print('get_valid_write_ids requires 1 args') diff --git a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index 30214d8..aa741fd 100644 --- a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -1135,6 +1135,13 @@ def commit_txn(self, rqst): """ pass + def get_valid_txns(self, rqst): + """ + Parameters: + - rqst + """ + pass + def get_valid_write_ids(self, rqst): """ Parameters: @@ -6604,6 +6611,41 @@ def recv_commit_txn(self): raise result.o2 return + def get_valid_txns(self, rqst): + """ + Parameters: + - rqst + """ + self.send_get_valid_txns(rqst) + return self.recv_get_valid_txns() + + def send_get_valid_txns(self, rqst): + self._oprot.writeMessageBegin('get_valid_txns', TMessageType.CALL, self._seqid) + args = get_valid_txns_args() + args.rqst = rqst + args.write(self._oprot) + self._oprot.writeMessageEnd() + self._oprot.trans.flush() + + def recv_get_valid_txns(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() + if mtype == TMessageType.EXCEPTION: + x = TApplicationException() + x.read(iprot) + iprot.readMessageEnd() + raise x + result = get_valid_txns_result() + result.read(iprot) + iprot.readMessageEnd() + if result.success is not None: + return result.success + if result.o1 is not None: + raise result.o1 + if result.o2 is not None: + raise result.o2 + raise TApplicationException(TApplicationException.MISSING_RESULT, "get_valid_txns failed: unknown result") + def get_valid_write_ids(self, rqst): """ Parameters: @@ -8609,6 +8651,7 @@ def __init__(self, handler): self._processMap["abort_txn"] = Processor.process_abort_txn self._processMap["abort_txns"] = Processor.process_abort_txns self._processMap["commit_txn"] = Processor.process_commit_txn + self._processMap["get_valid_txns"] = Processor.process_get_valid_txns self._processMap["get_valid_write_ids"] = Processor.process_get_valid_write_ids self._processMap["allocate_table_write_ids"] = Processor.process_allocate_table_write_ids self._processMap["lock"] = Processor.process_lock @@ -12143,6 +12186,31 @@ def process_commit_txn(self, seqid, iprot, oprot): oprot.writeMessageEnd() oprot.trans.flush() + def process_get_valid_txns(self, seqid, iprot, oprot): + args = get_valid_txns_args() + args.read(iprot) + iprot.readMessageEnd() + result = get_valid_txns_result() + try: + result.success = self._handler.get_valid_txns(args.rqst) + msg_type = TMessageType.REPLY + except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): + raise + except NoSuchTxnException as o1: + msg_type = TMessageType.REPLY + result.o1 = o1 + except MetaException as o2: + msg_type = TMessageType.REPLY + result.o2 = o2 + except Exception as ex: + msg_type = TMessageType.EXCEPTION + logging.exception(ex) + result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') + oprot.writeMessageBegin("get_valid_txns", msg_type, seqid) + result.write(oprot) + oprot.writeMessageEnd() + oprot.trans.flush() + def process_get_valid_write_ids(self, seqid, iprot, oprot): args = get_valid_write_ids_args() args.read(iprot) @@ -14371,10 +14439,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype777, _size774) = iprot.readListBegin() - for _i778 in xrange(_size774): - _elem779 = iprot.readString() - self.success.append(_elem779) + (_etype784, _size781) = iprot.readListBegin() + for _i785 in xrange(_size781): + _elem786 = iprot.readString() + self.success.append(_elem786) iprot.readListEnd() else: iprot.skip(ftype) @@ -14397,8 +14465,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter780 in self.success: - oprot.writeString(iter780) + for iter787 in self.success: + oprot.writeString(iter787) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14503,10 +14571,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype784, _size781) = iprot.readListBegin() - for _i785 in xrange(_size781): - _elem786 = iprot.readString() - self.success.append(_elem786) + (_etype791, _size788) = iprot.readListBegin() + for _i792 in xrange(_size788): + _elem793 = iprot.readString() + self.success.append(_elem793) iprot.readListEnd() else: iprot.skip(ftype) @@ -14529,8 +14597,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter787 in self.success: - oprot.writeString(iter787) + for iter794 in self.success: + oprot.writeString(iter794) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15300,12 +15368,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype789, _vtype790, _size788 ) = iprot.readMapBegin() - for _i792 in xrange(_size788): - _key793 = iprot.readString() - _val794 = Type() - _val794.read(iprot) - self.success[_key793] = _val794 + (_ktype796, _vtype797, _size795 ) = iprot.readMapBegin() + for _i799 in xrange(_size795): + _key800 = iprot.readString() + _val801 = Type() + _val801.read(iprot) + self.success[_key800] = _val801 iprot.readMapEnd() else: iprot.skip(ftype) @@ -15328,9 +15396,9 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.MAP, 0) oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success)) - for kiter795,viter796 in self.success.items(): - oprot.writeString(kiter795) - viter796.write(oprot) + for kiter802,viter803 in self.success.items(): + oprot.writeString(kiter802) + viter803.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -15473,11 +15541,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype800, _size797) = iprot.readListBegin() - for _i801 in xrange(_size797): - _elem802 = FieldSchema() - _elem802.read(iprot) - self.success.append(_elem802) + (_etype807, _size804) = iprot.readListBegin() + for _i808 in xrange(_size804): + _elem809 = FieldSchema() + _elem809.read(iprot) + self.success.append(_elem809) iprot.readListEnd() else: iprot.skip(ftype) @@ -15512,8 +15580,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter803 in self.success: - iter803.write(oprot) + for iter810 in self.success: + iter810.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15680,11 +15748,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype807, _size804) = iprot.readListBegin() - for _i808 in xrange(_size804): - _elem809 = FieldSchema() - _elem809.read(iprot) - self.success.append(_elem809) + (_etype814, _size811) = iprot.readListBegin() + for _i815 in xrange(_size811): + _elem816 = FieldSchema() + _elem816.read(iprot) + self.success.append(_elem816) iprot.readListEnd() else: iprot.skip(ftype) @@ -15719,8 +15787,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter810 in self.success: - iter810.write(oprot) + for iter817 in self.success: + iter817.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15873,11 +15941,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype814, _size811) = iprot.readListBegin() - for _i815 in xrange(_size811): - _elem816 = FieldSchema() - _elem816.read(iprot) - self.success.append(_elem816) + (_etype821, _size818) = iprot.readListBegin() + for _i822 in xrange(_size818): + _elem823 = FieldSchema() + _elem823.read(iprot) + self.success.append(_elem823) iprot.readListEnd() else: iprot.skip(ftype) @@ -15912,8 +15980,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter817 in self.success: - iter817.write(oprot) + for iter824 in self.success: + iter824.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16080,11 +16148,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype821, _size818) = iprot.readListBegin() - for _i822 in xrange(_size818): - _elem823 = FieldSchema() - _elem823.read(iprot) - self.success.append(_elem823) + (_etype828, _size825) = iprot.readListBegin() + for _i829 in xrange(_size825): + _elem830 = FieldSchema() + _elem830.read(iprot) + self.success.append(_elem830) iprot.readListEnd() else: iprot.skip(ftype) @@ -16119,8 +16187,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter824 in self.success: - iter824.write(oprot) + for iter831 in self.success: + iter831.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16570,55 +16638,55 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.primaryKeys = [] - (_etype828, _size825) = iprot.readListBegin() - for _i829 in xrange(_size825): - _elem830 = SQLPrimaryKey() - _elem830.read(iprot) - self.primaryKeys.append(_elem830) + (_etype835, _size832) = iprot.readListBegin() + for _i836 in xrange(_size832): + _elem837 = SQLPrimaryKey() + _elem837.read(iprot) + self.primaryKeys.append(_elem837) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.foreignKeys = [] - (_etype834, _size831) = iprot.readListBegin() - for _i835 in xrange(_size831): - _elem836 = SQLForeignKey() - _elem836.read(iprot) - self.foreignKeys.append(_elem836) + (_etype841, _size838) = iprot.readListBegin() + for _i842 in xrange(_size838): + _elem843 = SQLForeignKey() + _elem843.read(iprot) + self.foreignKeys.append(_elem843) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.uniqueConstraints = [] - (_etype840, _size837) = iprot.readListBegin() - for _i841 in xrange(_size837): - _elem842 = SQLUniqueConstraint() - _elem842.read(iprot) - self.uniqueConstraints.append(_elem842) + (_etype847, _size844) = iprot.readListBegin() + for _i848 in xrange(_size844): + _elem849 = SQLUniqueConstraint() + _elem849.read(iprot) + self.uniqueConstraints.append(_elem849) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.notNullConstraints = [] - (_etype846, _size843) = iprot.readListBegin() - for _i847 in xrange(_size843): - _elem848 = SQLNotNullConstraint() - _elem848.read(iprot) - self.notNullConstraints.append(_elem848) + (_etype853, _size850) = iprot.readListBegin() + for _i854 in xrange(_size850): + _elem855 = SQLNotNullConstraint() + _elem855.read(iprot) + self.notNullConstraints.append(_elem855) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.LIST: self.defaultConstraints = [] - (_etype852, _size849) = iprot.readListBegin() - for _i853 in xrange(_size849): - _elem854 = SQLDefaultConstraint() - _elem854.read(iprot) - self.defaultConstraints.append(_elem854) + (_etype859, _size856) = iprot.readListBegin() + for _i860 in xrange(_size856): + _elem861 = SQLDefaultConstraint() + _elem861.read(iprot) + self.defaultConstraints.append(_elem861) iprot.readListEnd() else: iprot.skip(ftype) @@ -16639,36 +16707,36 @@ def write(self, oprot): if self.primaryKeys is not None: oprot.writeFieldBegin('primaryKeys', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.primaryKeys)) - for iter855 in self.primaryKeys: - iter855.write(oprot) + for iter862 in self.primaryKeys: + iter862.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.foreignKeys is not None: oprot.writeFieldBegin('foreignKeys', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.foreignKeys)) - for iter856 in self.foreignKeys: - iter856.write(oprot) + for iter863 in self.foreignKeys: + iter863.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.uniqueConstraints is not None: oprot.writeFieldBegin('uniqueConstraints', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.uniqueConstraints)) - for iter857 in self.uniqueConstraints: - iter857.write(oprot) + for iter864 in self.uniqueConstraints: + iter864.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.notNullConstraints is not None: oprot.writeFieldBegin('notNullConstraints', TType.LIST, 5) oprot.writeListBegin(TType.STRUCT, len(self.notNullConstraints)) - for iter858 in self.notNullConstraints: - iter858.write(oprot) + for iter865 in self.notNullConstraints: + iter865.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.defaultConstraints is not None: oprot.writeFieldBegin('defaultConstraints', TType.LIST, 6) oprot.writeListBegin(TType.STRUCT, len(self.defaultConstraints)) - for iter859 in self.defaultConstraints: - iter859.write(oprot) + for iter866 in self.defaultConstraints: + iter866.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18081,10 +18149,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.partNames = [] - (_etype863, _size860) = iprot.readListBegin() - for _i864 in xrange(_size860): - _elem865 = iprot.readString() - self.partNames.append(_elem865) + (_etype870, _size867) = iprot.readListBegin() + for _i871 in xrange(_size867): + _elem872 = iprot.readString() + self.partNames.append(_elem872) iprot.readListEnd() else: iprot.skip(ftype) @@ -18109,8 +18177,8 @@ def write(self, oprot): if self.partNames is not None: oprot.writeFieldBegin('partNames', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.partNames)) - for iter866 in self.partNames: - oprot.writeString(iter866) + for iter873 in self.partNames: + oprot.writeString(iter873) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18310,10 +18378,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype870, _size867) = iprot.readListBegin() - for _i871 in xrange(_size867): - _elem872 = iprot.readString() - self.success.append(_elem872) + (_etype877, _size874) = iprot.readListBegin() + for _i878 in xrange(_size874): + _elem879 = iprot.readString() + self.success.append(_elem879) iprot.readListEnd() else: iprot.skip(ftype) @@ -18336,8 +18404,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter873 in self.success: - oprot.writeString(iter873) + for iter880 in self.success: + oprot.writeString(iter880) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18487,10 +18555,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype877, _size874) = iprot.readListBegin() - for _i878 in xrange(_size874): - _elem879 = iprot.readString() - self.success.append(_elem879) + (_etype884, _size881) = iprot.readListBegin() + for _i885 in xrange(_size881): + _elem886 = iprot.readString() + self.success.append(_elem886) iprot.readListEnd() else: iprot.skip(ftype) @@ -18513,8 +18581,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter880 in self.success: - oprot.writeString(iter880) + for iter887 in self.success: + oprot.writeString(iter887) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18638,10 +18706,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype884, _size881) = iprot.readListBegin() - for _i885 in xrange(_size881): - _elem886 = iprot.readString() - self.success.append(_elem886) + (_etype891, _size888) = iprot.readListBegin() + for _i892 in xrange(_size888): + _elem893 = iprot.readString() + self.success.append(_elem893) iprot.readListEnd() else: iprot.skip(ftype) @@ -18664,8 +18732,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter887 in self.success: - oprot.writeString(iter887) + for iter894 in self.success: + oprot.writeString(iter894) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18738,10 +18806,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype891, _size888) = iprot.readListBegin() - for _i892 in xrange(_size888): - _elem893 = iprot.readString() - self.tbl_types.append(_elem893) + (_etype898, _size895) = iprot.readListBegin() + for _i899 in xrange(_size895): + _elem900 = iprot.readString() + self.tbl_types.append(_elem900) iprot.readListEnd() else: iprot.skip(ftype) @@ -18766,8 +18834,8 @@ def write(self, oprot): if self.tbl_types is not None: oprot.writeFieldBegin('tbl_types', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.tbl_types)) - for iter894 in self.tbl_types: - oprot.writeString(iter894) + for iter901 in self.tbl_types: + oprot.writeString(iter901) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18823,11 +18891,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype898, _size895) = iprot.readListBegin() - for _i899 in xrange(_size895): - _elem900 = TableMeta() - _elem900.read(iprot) - self.success.append(_elem900) + (_etype905, _size902) = iprot.readListBegin() + for _i906 in xrange(_size902): + _elem907 = TableMeta() + _elem907.read(iprot) + self.success.append(_elem907) iprot.readListEnd() else: iprot.skip(ftype) @@ -18850,8 +18918,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter901 in self.success: - iter901.write(oprot) + for iter908 in self.success: + iter908.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18975,10 +19043,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype905, _size902) = iprot.readListBegin() - for _i906 in xrange(_size902): - _elem907 = iprot.readString() - self.success.append(_elem907) + (_etype912, _size909) = iprot.readListBegin() + for _i913 in xrange(_size909): + _elem914 = iprot.readString() + self.success.append(_elem914) iprot.readListEnd() else: iprot.skip(ftype) @@ -19001,8 +19069,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter908 in self.success: - oprot.writeString(iter908) + for iter915 in self.success: + oprot.writeString(iter915) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19238,10 +19306,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype912, _size909) = iprot.readListBegin() - for _i913 in xrange(_size909): - _elem914 = iprot.readString() - self.tbl_names.append(_elem914) + (_etype919, _size916) = iprot.readListBegin() + for _i920 in xrange(_size916): + _elem921 = iprot.readString() + self.tbl_names.append(_elem921) iprot.readListEnd() else: iprot.skip(ftype) @@ -19262,8 +19330,8 @@ def write(self, oprot): if self.tbl_names is not None: oprot.writeFieldBegin('tbl_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.tbl_names)) - for iter915 in self.tbl_names: - oprot.writeString(iter915) + for iter922 in self.tbl_names: + oprot.writeString(iter922) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19315,11 +19383,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype919, _size916) = iprot.readListBegin() - for _i920 in xrange(_size916): - _elem921 = Table() - _elem921.read(iprot) - self.success.append(_elem921) + (_etype926, _size923) = iprot.readListBegin() + for _i927 in xrange(_size923): + _elem928 = Table() + _elem928.read(iprot) + self.success.append(_elem928) iprot.readListEnd() else: iprot.skip(ftype) @@ -19336,8 +19404,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter922 in self.success: - iter922.write(oprot) + for iter929 in self.success: + iter929.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19729,10 +19797,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype926, _size923) = iprot.readListBegin() - for _i927 in xrange(_size923): - _elem928 = iprot.readString() - self.tbl_names.append(_elem928) + (_etype933, _size930) = iprot.readListBegin() + for _i934 in xrange(_size930): + _elem935 = iprot.readString() + self.tbl_names.append(_elem935) iprot.readListEnd() else: iprot.skip(ftype) @@ -19753,8 +19821,8 @@ def write(self, oprot): if self.tbl_names is not None: oprot.writeFieldBegin('tbl_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.tbl_names)) - for iter929 in self.tbl_names: - oprot.writeString(iter929) + for iter936 in self.tbl_names: + oprot.writeString(iter936) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19815,12 +19883,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype931, _vtype932, _size930 ) = iprot.readMapBegin() - for _i934 in xrange(_size930): - _key935 = iprot.readString() - _val936 = Materialization() - _val936.read(iprot) - self.success[_key935] = _val936 + (_ktype938, _vtype939, _size937 ) = iprot.readMapBegin() + for _i941 in xrange(_size937): + _key942 = iprot.readString() + _val943 = Materialization() + _val943.read(iprot) + self.success[_key942] = _val943 iprot.readMapEnd() else: iprot.skip(ftype) @@ -19855,9 +19923,9 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.MAP, 0) oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.success)) - for kiter937,viter938 in self.success.items(): - oprot.writeString(kiter937) - viter938.write(oprot) + for kiter944,viter945 in self.success.items(): + oprot.writeString(kiter944) + viter945.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20209,10 +20277,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype942, _size939) = iprot.readListBegin() - for _i943 in xrange(_size939): - _elem944 = iprot.readString() - self.success.append(_elem944) + (_etype949, _size946) = iprot.readListBegin() + for _i950 in xrange(_size946): + _elem951 = iprot.readString() + self.success.append(_elem951) iprot.readListEnd() else: iprot.skip(ftype) @@ -20247,8 +20315,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter945 in self.success: - oprot.writeString(iter945) + for iter952 in self.success: + oprot.writeString(iter952) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21218,11 +21286,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype949, _size946) = iprot.readListBegin() - for _i950 in xrange(_size946): - _elem951 = Partition() - _elem951.read(iprot) - self.new_parts.append(_elem951) + (_etype956, _size953) = iprot.readListBegin() + for _i957 in xrange(_size953): + _elem958 = Partition() + _elem958.read(iprot) + self.new_parts.append(_elem958) iprot.readListEnd() else: iprot.skip(ftype) @@ -21239,8 +21307,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter952 in self.new_parts: - iter952.write(oprot) + for iter959 in self.new_parts: + iter959.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21398,11 +21466,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype956, _size953) = iprot.readListBegin() - for _i957 in xrange(_size953): - _elem958 = PartitionSpec() - _elem958.read(iprot) - self.new_parts.append(_elem958) + (_etype963, _size960) = iprot.readListBegin() + for _i964 in xrange(_size960): + _elem965 = PartitionSpec() + _elem965.read(iprot) + self.new_parts.append(_elem965) iprot.readListEnd() else: iprot.skip(ftype) @@ -21419,8 +21487,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter959 in self.new_parts: - iter959.write(oprot) + for iter966 in self.new_parts: + iter966.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21594,10 +21662,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype963, _size960) = iprot.readListBegin() - for _i964 in xrange(_size960): - _elem965 = iprot.readString() - self.part_vals.append(_elem965) + (_etype970, _size967) = iprot.readListBegin() + for _i971 in xrange(_size967): + _elem972 = iprot.readString() + self.part_vals.append(_elem972) iprot.readListEnd() else: iprot.skip(ftype) @@ -21622,8 +21690,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter966 in self.part_vals: - oprot.writeString(iter966) + for iter973 in self.part_vals: + oprot.writeString(iter973) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21976,10 +22044,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype970, _size967) = iprot.readListBegin() - for _i971 in xrange(_size967): - _elem972 = iprot.readString() - self.part_vals.append(_elem972) + (_etype977, _size974) = iprot.readListBegin() + for _i978 in xrange(_size974): + _elem979 = iprot.readString() + self.part_vals.append(_elem979) iprot.readListEnd() else: iprot.skip(ftype) @@ -22010,8 +22078,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter973 in self.part_vals: - oprot.writeString(iter973) + for iter980 in self.part_vals: + oprot.writeString(iter980) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -22606,10 +22674,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype977, _size974) = iprot.readListBegin() - for _i978 in xrange(_size974): - _elem979 = iprot.readString() - self.part_vals.append(_elem979) + (_etype984, _size981) = iprot.readListBegin() + for _i985 in xrange(_size981): + _elem986 = iprot.readString() + self.part_vals.append(_elem986) iprot.readListEnd() else: iprot.skip(ftype) @@ -22639,8 +22707,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter980 in self.part_vals: - oprot.writeString(iter980) + for iter987 in self.part_vals: + oprot.writeString(iter987) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -22813,10 +22881,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype984, _size981) = iprot.readListBegin() - for _i985 in xrange(_size981): - _elem986 = iprot.readString() - self.part_vals.append(_elem986) + (_etype991, _size988) = iprot.readListBegin() + for _i992 in xrange(_size988): + _elem993 = iprot.readString() + self.part_vals.append(_elem993) iprot.readListEnd() else: iprot.skip(ftype) @@ -22852,8 +22920,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter987 in self.part_vals: - oprot.writeString(iter987) + for iter994 in self.part_vals: + oprot.writeString(iter994) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -23590,10 +23658,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype991, _size988) = iprot.readListBegin() - for _i992 in xrange(_size988): - _elem993 = iprot.readString() - self.part_vals.append(_elem993) + (_etype998, _size995) = iprot.readListBegin() + for _i999 in xrange(_size995): + _elem1000 = iprot.readString() + self.part_vals.append(_elem1000) iprot.readListEnd() else: iprot.skip(ftype) @@ -23618,8 +23686,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter994 in self.part_vals: - oprot.writeString(iter994) + for iter1001 in self.part_vals: + oprot.writeString(iter1001) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23778,11 +23846,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype996, _vtype997, _size995 ) = iprot.readMapBegin() - for _i999 in xrange(_size995): - _key1000 = iprot.readString() - _val1001 = iprot.readString() - self.partitionSpecs[_key1000] = _val1001 + (_ktype1003, _vtype1004, _size1002 ) = iprot.readMapBegin() + for _i1006 in xrange(_size1002): + _key1007 = iprot.readString() + _val1008 = iprot.readString() + self.partitionSpecs[_key1007] = _val1008 iprot.readMapEnd() else: iprot.skip(ftype) @@ -23819,9 +23887,9 @@ def write(self, oprot): if self.partitionSpecs is not None: oprot.writeFieldBegin('partitionSpecs', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.partitionSpecs)) - for kiter1002,viter1003 in self.partitionSpecs.items(): - oprot.writeString(kiter1002) - oprot.writeString(viter1003) + for kiter1009,viter1010 in self.partitionSpecs.items(): + oprot.writeString(kiter1009) + oprot.writeString(viter1010) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -24026,11 +24094,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1005, _vtype1006, _size1004 ) = iprot.readMapBegin() - for _i1008 in xrange(_size1004): - _key1009 = iprot.readString() - _val1010 = iprot.readString() - self.partitionSpecs[_key1009] = _val1010 + (_ktype1012, _vtype1013, _size1011 ) = iprot.readMapBegin() + for _i1015 in xrange(_size1011): + _key1016 = iprot.readString() + _val1017 = iprot.readString() + self.partitionSpecs[_key1016] = _val1017 iprot.readMapEnd() else: iprot.skip(ftype) @@ -24067,9 +24135,9 @@ def write(self, oprot): if self.partitionSpecs is not None: oprot.writeFieldBegin('partitionSpecs', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.partitionSpecs)) - for kiter1011,viter1012 in self.partitionSpecs.items(): - oprot.writeString(kiter1011) - oprot.writeString(viter1012) + for kiter1018,viter1019 in self.partitionSpecs.items(): + oprot.writeString(kiter1018) + oprot.writeString(viter1019) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -24152,11 +24220,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1016, _size1013) = iprot.readListBegin() - for _i1017 in xrange(_size1013): - _elem1018 = Partition() - _elem1018.read(iprot) - self.success.append(_elem1018) + (_etype1023, _size1020) = iprot.readListBegin() + for _i1024 in xrange(_size1020): + _elem1025 = Partition() + _elem1025.read(iprot) + self.success.append(_elem1025) iprot.readListEnd() else: iprot.skip(ftype) @@ -24197,8 +24265,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1019 in self.success: - iter1019.write(oprot) + for iter1026 in self.success: + iter1026.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24292,10 +24360,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1023, _size1020) = iprot.readListBegin() - for _i1024 in xrange(_size1020): - _elem1025 = iprot.readString() - self.part_vals.append(_elem1025) + (_etype1030, _size1027) = iprot.readListBegin() + for _i1031 in xrange(_size1027): + _elem1032 = iprot.readString() + self.part_vals.append(_elem1032) iprot.readListEnd() else: iprot.skip(ftype) @@ -24307,10 +24375,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1029, _size1026) = iprot.readListBegin() - for _i1030 in xrange(_size1026): - _elem1031 = iprot.readString() - self.group_names.append(_elem1031) + (_etype1036, _size1033) = iprot.readListBegin() + for _i1037 in xrange(_size1033): + _elem1038 = iprot.readString() + self.group_names.append(_elem1038) iprot.readListEnd() else: iprot.skip(ftype) @@ -24335,8 +24403,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1032 in self.part_vals: - oprot.writeString(iter1032) + for iter1039 in self.part_vals: + oprot.writeString(iter1039) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -24346,8 +24414,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1033 in self.group_names: - oprot.writeString(iter1033) + for iter1040 in self.group_names: + oprot.writeString(iter1040) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24776,11 +24844,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1037, _size1034) = iprot.readListBegin() - for _i1038 in xrange(_size1034): - _elem1039 = Partition() - _elem1039.read(iprot) - self.success.append(_elem1039) + (_etype1044, _size1041) = iprot.readListBegin() + for _i1045 in xrange(_size1041): + _elem1046 = Partition() + _elem1046.read(iprot) + self.success.append(_elem1046) iprot.readListEnd() else: iprot.skip(ftype) @@ -24809,8 +24877,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1040 in self.success: - iter1040.write(oprot) + for iter1047 in self.success: + iter1047.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24904,10 +24972,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1044, _size1041) = iprot.readListBegin() - for _i1045 in xrange(_size1041): - _elem1046 = iprot.readString() - self.group_names.append(_elem1046) + (_etype1051, _size1048) = iprot.readListBegin() + for _i1052 in xrange(_size1048): + _elem1053 = iprot.readString() + self.group_names.append(_elem1053) iprot.readListEnd() else: iprot.skip(ftype) @@ -24940,8 +25008,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1047 in self.group_names: - oprot.writeString(iter1047) + for iter1054 in self.group_names: + oprot.writeString(iter1054) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -25002,11 +25070,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1051, _size1048) = iprot.readListBegin() - for _i1052 in xrange(_size1048): - _elem1053 = Partition() - _elem1053.read(iprot) - self.success.append(_elem1053) + (_etype1058, _size1055) = iprot.readListBegin() + for _i1059 in xrange(_size1055): + _elem1060 = Partition() + _elem1060.read(iprot) + self.success.append(_elem1060) iprot.readListEnd() else: iprot.skip(ftype) @@ -25035,8 +25103,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1054 in self.success: - iter1054.write(oprot) + for iter1061 in self.success: + iter1061.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25194,11 +25262,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1058, _size1055) = iprot.readListBegin() - for _i1059 in xrange(_size1055): - _elem1060 = PartitionSpec() - _elem1060.read(iprot) - self.success.append(_elem1060) + (_etype1065, _size1062) = iprot.readListBegin() + for _i1066 in xrange(_size1062): + _elem1067 = PartitionSpec() + _elem1067.read(iprot) + self.success.append(_elem1067) iprot.readListEnd() else: iprot.skip(ftype) @@ -25227,8 +25295,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1061 in self.success: - iter1061.write(oprot) + for iter1068 in self.success: + iter1068.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25386,10 +25454,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1065, _size1062) = iprot.readListBegin() - for _i1066 in xrange(_size1062): - _elem1067 = iprot.readString() - self.success.append(_elem1067) + (_etype1072, _size1069) = iprot.readListBegin() + for _i1073 in xrange(_size1069): + _elem1074 = iprot.readString() + self.success.append(_elem1074) iprot.readListEnd() else: iprot.skip(ftype) @@ -25418,8 +25486,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1068 in self.success: - oprot.writeString(iter1068) + for iter1075 in self.success: + oprot.writeString(iter1075) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25659,10 +25727,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1072, _size1069) = iprot.readListBegin() - for _i1073 in xrange(_size1069): - _elem1074 = iprot.readString() - self.part_vals.append(_elem1074) + (_etype1079, _size1076) = iprot.readListBegin() + for _i1080 in xrange(_size1076): + _elem1081 = iprot.readString() + self.part_vals.append(_elem1081) iprot.readListEnd() else: iprot.skip(ftype) @@ -25692,8 +25760,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1075 in self.part_vals: - oprot.writeString(iter1075) + for iter1082 in self.part_vals: + oprot.writeString(iter1082) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -25757,11 +25825,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1079, _size1076) = iprot.readListBegin() - for _i1080 in xrange(_size1076): - _elem1081 = Partition() - _elem1081.read(iprot) - self.success.append(_elem1081) + (_etype1086, _size1083) = iprot.readListBegin() + for _i1087 in xrange(_size1083): + _elem1088 = Partition() + _elem1088.read(iprot) + self.success.append(_elem1088) iprot.readListEnd() else: iprot.skip(ftype) @@ -25790,8 +25858,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1082 in self.success: - iter1082.write(oprot) + for iter1089 in self.success: + iter1089.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25878,10 +25946,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1086, _size1083) = iprot.readListBegin() - for _i1087 in xrange(_size1083): - _elem1088 = iprot.readString() - self.part_vals.append(_elem1088) + (_etype1093, _size1090) = iprot.readListBegin() + for _i1094 in xrange(_size1090): + _elem1095 = iprot.readString() + self.part_vals.append(_elem1095) iprot.readListEnd() else: iprot.skip(ftype) @@ -25898,10 +25966,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype1092, _size1089) = iprot.readListBegin() - for _i1093 in xrange(_size1089): - _elem1094 = iprot.readString() - self.group_names.append(_elem1094) + (_etype1099, _size1096) = iprot.readListBegin() + for _i1100 in xrange(_size1096): + _elem1101 = iprot.readString() + self.group_names.append(_elem1101) iprot.readListEnd() else: iprot.skip(ftype) @@ -25926,8 +25994,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1095 in self.part_vals: - oprot.writeString(iter1095) + for iter1102 in self.part_vals: + oprot.writeString(iter1102) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -25941,8 +26009,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 6) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1096 in self.group_names: - oprot.writeString(iter1096) + for iter1103 in self.group_names: + oprot.writeString(iter1103) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26004,11 +26072,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1100, _size1097) = iprot.readListBegin() - for _i1101 in xrange(_size1097): - _elem1102 = Partition() - _elem1102.read(iprot) - self.success.append(_elem1102) + (_etype1107, _size1104) = iprot.readListBegin() + for _i1108 in xrange(_size1104): + _elem1109 = Partition() + _elem1109.read(iprot) + self.success.append(_elem1109) iprot.readListEnd() else: iprot.skip(ftype) @@ -26037,8 +26105,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1103 in self.success: - iter1103.write(oprot) + for iter1110 in self.success: + iter1110.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26119,10 +26187,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1107, _size1104) = iprot.readListBegin() - for _i1108 in xrange(_size1104): - _elem1109 = iprot.readString() - self.part_vals.append(_elem1109) + (_etype1114, _size1111) = iprot.readListBegin() + for _i1115 in xrange(_size1111): + _elem1116 = iprot.readString() + self.part_vals.append(_elem1116) iprot.readListEnd() else: iprot.skip(ftype) @@ -26152,8 +26220,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1110 in self.part_vals: - oprot.writeString(iter1110) + for iter1117 in self.part_vals: + oprot.writeString(iter1117) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -26217,10 +26285,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1114, _size1111) = iprot.readListBegin() - for _i1115 in xrange(_size1111): - _elem1116 = iprot.readString() - self.success.append(_elem1116) + (_etype1121, _size1118) = iprot.readListBegin() + for _i1122 in xrange(_size1118): + _elem1123 = iprot.readString() + self.success.append(_elem1123) iprot.readListEnd() else: iprot.skip(ftype) @@ -26249,8 +26317,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1117 in self.success: - oprot.writeString(iter1117) + for iter1124 in self.success: + oprot.writeString(iter1124) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26421,11 +26489,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1121, _size1118) = iprot.readListBegin() - for _i1122 in xrange(_size1118): - _elem1123 = Partition() - _elem1123.read(iprot) - self.success.append(_elem1123) + (_etype1128, _size1125) = iprot.readListBegin() + for _i1129 in xrange(_size1125): + _elem1130 = Partition() + _elem1130.read(iprot) + self.success.append(_elem1130) iprot.readListEnd() else: iprot.skip(ftype) @@ -26454,8 +26522,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1124 in self.success: - iter1124.write(oprot) + for iter1131 in self.success: + iter1131.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26626,11 +26694,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1128, _size1125) = iprot.readListBegin() - for _i1129 in xrange(_size1125): - _elem1130 = PartitionSpec() - _elem1130.read(iprot) - self.success.append(_elem1130) + (_etype1135, _size1132) = iprot.readListBegin() + for _i1136 in xrange(_size1132): + _elem1137 = PartitionSpec() + _elem1137.read(iprot) + self.success.append(_elem1137) iprot.readListEnd() else: iprot.skip(ftype) @@ -26659,8 +26727,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1131 in self.success: - iter1131.write(oprot) + for iter1138 in self.success: + iter1138.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27080,10 +27148,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype1135, _size1132) = iprot.readListBegin() - for _i1136 in xrange(_size1132): - _elem1137 = iprot.readString() - self.names.append(_elem1137) + (_etype1142, _size1139) = iprot.readListBegin() + for _i1143 in xrange(_size1139): + _elem1144 = iprot.readString() + self.names.append(_elem1144) iprot.readListEnd() else: iprot.skip(ftype) @@ -27108,8 +27176,8 @@ def write(self, oprot): if self.names is not None: oprot.writeFieldBegin('names', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.names)) - for iter1138 in self.names: - oprot.writeString(iter1138) + for iter1145 in self.names: + oprot.writeString(iter1145) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27168,11 +27236,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1142, _size1139) = iprot.readListBegin() - for _i1143 in xrange(_size1139): - _elem1144 = Partition() - _elem1144.read(iprot) - self.success.append(_elem1144) + (_etype1149, _size1146) = iprot.readListBegin() + for _i1150 in xrange(_size1146): + _elem1151 = Partition() + _elem1151.read(iprot) + self.success.append(_elem1151) iprot.readListEnd() else: iprot.skip(ftype) @@ -27201,8 +27269,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1145 in self.success: - iter1145.write(oprot) + for iter1152 in self.success: + iter1152.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27452,11 +27520,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1149, _size1146) = iprot.readListBegin() - for _i1150 in xrange(_size1146): - _elem1151 = Partition() - _elem1151.read(iprot) - self.new_parts.append(_elem1151) + (_etype1156, _size1153) = iprot.readListBegin() + for _i1157 in xrange(_size1153): + _elem1158 = Partition() + _elem1158.read(iprot) + self.new_parts.append(_elem1158) iprot.readListEnd() else: iprot.skip(ftype) @@ -27481,8 +27549,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter1152 in self.new_parts: - iter1152.write(oprot) + for iter1159 in self.new_parts: + iter1159.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27635,11 +27703,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1156, _size1153) = iprot.readListBegin() - for _i1157 in xrange(_size1153): - _elem1158 = Partition() - _elem1158.read(iprot) - self.new_parts.append(_elem1158) + (_etype1163, _size1160) = iprot.readListBegin() + for _i1164 in xrange(_size1160): + _elem1165 = Partition() + _elem1165.read(iprot) + self.new_parts.append(_elem1165) iprot.readListEnd() else: iprot.skip(ftype) @@ -27670,8 +27738,8 @@ def write(self, oprot): if self.new_parts is not None: oprot.writeFieldBegin('new_parts', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.new_parts)) - for iter1159 in self.new_parts: - iter1159.write(oprot) + for iter1166 in self.new_parts: + iter1166.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -28015,10 +28083,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1163, _size1160) = iprot.readListBegin() - for _i1164 in xrange(_size1160): - _elem1165 = iprot.readString() - self.part_vals.append(_elem1165) + (_etype1170, _size1167) = iprot.readListBegin() + for _i1171 in xrange(_size1167): + _elem1172 = iprot.readString() + self.part_vals.append(_elem1172) iprot.readListEnd() else: iprot.skip(ftype) @@ -28049,8 +28117,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1166 in self.part_vals: - oprot.writeString(iter1166) + for iter1173 in self.part_vals: + oprot.writeString(iter1173) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -28192,10 +28260,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype1170, _size1167) = iprot.readListBegin() - for _i1171 in xrange(_size1167): - _elem1172 = iprot.readString() - self.part_vals.append(_elem1172) + (_etype1177, _size1174) = iprot.readListBegin() + for _i1178 in xrange(_size1174): + _elem1179 = iprot.readString() + self.part_vals.append(_elem1179) iprot.readListEnd() else: iprot.skip(ftype) @@ -28217,8 +28285,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1173 in self.part_vals: - oprot.writeString(iter1173) + for iter1180 in self.part_vals: + oprot.writeString(iter1180) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -28576,10 +28644,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1177, _size1174) = iprot.readListBegin() - for _i1178 in xrange(_size1174): - _elem1179 = iprot.readString() - self.success.append(_elem1179) + (_etype1184, _size1181) = iprot.readListBegin() + for _i1185 in xrange(_size1181): + _elem1186 = iprot.readString() + self.success.append(_elem1186) iprot.readListEnd() else: iprot.skip(ftype) @@ -28602,8 +28670,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1180 in self.success: - oprot.writeString(iter1180) + for iter1187 in self.success: + oprot.writeString(iter1187) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28727,11 +28795,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1182, _vtype1183, _size1181 ) = iprot.readMapBegin() - for _i1185 in xrange(_size1181): - _key1186 = iprot.readString() - _val1187 = iprot.readString() - self.success[_key1186] = _val1187 + (_ktype1189, _vtype1190, _size1188 ) = iprot.readMapBegin() + for _i1192 in xrange(_size1188): + _key1193 = iprot.readString() + _val1194 = iprot.readString() + self.success[_key1193] = _val1194 iprot.readMapEnd() else: iprot.skip(ftype) @@ -28754,9 +28822,9 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.MAP, 0) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.success)) - for kiter1188,viter1189 in self.success.items(): - oprot.writeString(kiter1188) - oprot.writeString(viter1189) + for kiter1195,viter1196 in self.success.items(): + oprot.writeString(kiter1195) + oprot.writeString(viter1196) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28832,11 +28900,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1191, _vtype1192, _size1190 ) = iprot.readMapBegin() - for _i1194 in xrange(_size1190): - _key1195 = iprot.readString() - _val1196 = iprot.readString() - self.part_vals[_key1195] = _val1196 + (_ktype1198, _vtype1199, _size1197 ) = iprot.readMapBegin() + for _i1201 in xrange(_size1197): + _key1202 = iprot.readString() + _val1203 = iprot.readString() + self.part_vals[_key1202] = _val1203 iprot.readMapEnd() else: iprot.skip(ftype) @@ -28866,9 +28934,9 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.MAP, 3) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.part_vals)) - for kiter1197,viter1198 in self.part_vals.items(): - oprot.writeString(kiter1197) - oprot.writeString(viter1198) + for kiter1204,viter1205 in self.part_vals.items(): + oprot.writeString(kiter1204) + oprot.writeString(viter1205) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -29082,11 +29150,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1200, _vtype1201, _size1199 ) = iprot.readMapBegin() - for _i1203 in xrange(_size1199): - _key1204 = iprot.readString() - _val1205 = iprot.readString() - self.part_vals[_key1204] = _val1205 + (_ktype1207, _vtype1208, _size1206 ) = iprot.readMapBegin() + for _i1210 in xrange(_size1206): + _key1211 = iprot.readString() + _val1212 = iprot.readString() + self.part_vals[_key1211] = _val1212 iprot.readMapEnd() else: iprot.skip(ftype) @@ -29116,9 +29184,9 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.MAP, 3) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.part_vals)) - for kiter1206,viter1207 in self.part_vals.items(): - oprot.writeString(kiter1206) - oprot.writeString(viter1207) + for kiter1213,viter1214 in self.part_vals.items(): + oprot.writeString(kiter1213) + oprot.writeString(viter1214) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -32611,10 +32679,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1211, _size1208) = iprot.readListBegin() - for _i1212 in xrange(_size1208): - _elem1213 = iprot.readString() - self.success.append(_elem1213) + (_etype1218, _size1215) = iprot.readListBegin() + for _i1219 in xrange(_size1215): + _elem1220 = iprot.readString() + self.success.append(_elem1220) iprot.readListEnd() else: iprot.skip(ftype) @@ -32637,8 +32705,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1214 in self.success: - oprot.writeString(iter1214) + for iter1221 in self.success: + oprot.writeString(iter1221) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -33326,10 +33394,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1218, _size1215) = iprot.readListBegin() - for _i1219 in xrange(_size1215): - _elem1220 = iprot.readString() - self.success.append(_elem1220) + (_etype1225, _size1222) = iprot.readListBegin() + for _i1226 in xrange(_size1222): + _elem1227 = iprot.readString() + self.success.append(_elem1227) iprot.readListEnd() else: iprot.skip(ftype) @@ -33352,8 +33420,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1221 in self.success: - oprot.writeString(iter1221) + for iter1228 in self.success: + oprot.writeString(iter1228) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -33867,11 +33935,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1225, _size1222) = iprot.readListBegin() - for _i1226 in xrange(_size1222): - _elem1227 = Role() - _elem1227.read(iprot) - self.success.append(_elem1227) + (_etype1232, _size1229) = iprot.readListBegin() + for _i1233 in xrange(_size1229): + _elem1234 = Role() + _elem1234.read(iprot) + self.success.append(_elem1234) iprot.readListEnd() else: iprot.skip(ftype) @@ -33894,8 +33962,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1228 in self.success: - iter1228.write(oprot) + for iter1235 in self.success: + iter1235.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -34404,10 +34472,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype1232, _size1229) = iprot.readListBegin() - for _i1233 in xrange(_size1229): - _elem1234 = iprot.readString() - self.group_names.append(_elem1234) + (_etype1239, _size1236) = iprot.readListBegin() + for _i1240 in xrange(_size1236): + _elem1241 = iprot.readString() + self.group_names.append(_elem1241) iprot.readListEnd() else: iprot.skip(ftype) @@ -34432,8 +34500,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1235 in self.group_names: - oprot.writeString(iter1235) + for iter1242 in self.group_names: + oprot.writeString(iter1242) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -34660,11 +34728,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1239, _size1236) = iprot.readListBegin() - for _i1240 in xrange(_size1236): - _elem1241 = HiveObjectPrivilege() - _elem1241.read(iprot) - self.success.append(_elem1241) + (_etype1246, _size1243) = iprot.readListBegin() + for _i1247 in xrange(_size1243): + _elem1248 = HiveObjectPrivilege() + _elem1248.read(iprot) + self.success.append(_elem1248) iprot.readListEnd() else: iprot.skip(ftype) @@ -34687,8 +34755,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1242 in self.success: - iter1242.write(oprot) + for iter1249 in self.success: + iter1249.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -35186,10 +35254,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype1246, _size1243) = iprot.readListBegin() - for _i1247 in xrange(_size1243): - _elem1248 = iprot.readString() - self.group_names.append(_elem1248) + (_etype1253, _size1250) = iprot.readListBegin() + for _i1254 in xrange(_size1250): + _elem1255 = iprot.readString() + self.group_names.append(_elem1255) iprot.readListEnd() else: iprot.skip(ftype) @@ -35210,8 +35278,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1249 in self.group_names: - oprot.writeString(iter1249) + for iter1256 in self.group_names: + oprot.writeString(iter1256) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -35266,10 +35334,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1253, _size1250) = iprot.readListBegin() - for _i1254 in xrange(_size1250): - _elem1255 = iprot.readString() - self.success.append(_elem1255) + (_etype1260, _size1257) = iprot.readListBegin() + for _i1261 in xrange(_size1257): + _elem1262 = iprot.readString() + self.success.append(_elem1262) iprot.readListEnd() else: iprot.skip(ftype) @@ -35292,8 +35360,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1256 in self.success: - oprot.writeString(iter1256) + for iter1263 in self.success: + oprot.writeString(iter1263) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -36225,10 +36293,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1260, _size1257) = iprot.readListBegin() - for _i1261 in xrange(_size1257): - _elem1262 = iprot.readString() - self.success.append(_elem1262) + (_etype1267, _size1264) = iprot.readListBegin() + for _i1268 in xrange(_size1264): + _elem1269 = iprot.readString() + self.success.append(_elem1269) iprot.readListEnd() else: iprot.skip(ftype) @@ -36245,8 +36313,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1263 in self.success: - oprot.writeString(iter1263) + for iter1270 in self.success: + oprot.writeString(iter1270) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -36773,10 +36841,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1267, _size1264) = iprot.readListBegin() - for _i1268 in xrange(_size1264): - _elem1269 = iprot.readString() - self.success.append(_elem1269) + (_etype1274, _size1271) = iprot.readListBegin() + for _i1275 in xrange(_size1271): + _elem1276 = iprot.readString() + self.success.append(_elem1276) iprot.readListEnd() else: iprot.skip(ftype) @@ -36793,8 +36861,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1270 in self.success: - oprot.writeString(iter1270) + for iter1277 in self.success: + oprot.writeString(iter1277) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -37583,6 +37651,165 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class get_valid_txns_args: + """ + Attributes: + - rqst + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRUCT, 'rqst', (GetValidTxnsRequest, GetValidTxnsRequest.thrift_spec), None, ), # 1 + ) + + def __init__(self, rqst=None,): + self.rqst = rqst + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 1: + if ftype == TType.STRUCT: + self.rqst = GetValidTxnsRequest() + self.rqst.read(iprot) + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('get_valid_txns_args') + if self.rqst is not None: + oprot.writeFieldBegin('rqst', TType.STRUCT, 1) + self.rqst.write(oprot) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.rqst) + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + +class get_valid_txns_result: + """ + Attributes: + - success + - o1 + - o2 + """ + + thrift_spec = ( + (0, TType.STRUCT, 'success', (GetValidTxnsResponse, GetValidTxnsResponse.thrift_spec), None, ), # 0 + (1, TType.STRUCT, 'o1', (NoSuchTxnException, NoSuchTxnException.thrift_spec), None, ), # 1 + (2, TType.STRUCT, 'o2', (MetaException, MetaException.thrift_spec), None, ), # 2 + ) + + def __init__(self, success=None, o1=None, o2=None,): + self.success = success + self.o1 = o1 + self.o2 = o2 + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 0: + if ftype == TType.STRUCT: + self.success = GetValidTxnsResponse() + self.success.read(iprot) + else: + iprot.skip(ftype) + elif fid == 1: + if ftype == TType.STRUCT: + self.o1 = NoSuchTxnException() + self.o1.read(iprot) + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRUCT: + self.o2 = MetaException() + self.o2.read(iprot) + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('get_valid_txns_result') + if self.success is not None: + oprot.writeFieldBegin('success', TType.STRUCT, 0) + self.success.write(oprot) + oprot.writeFieldEnd() + if self.o1 is not None: + oprot.writeFieldBegin('o1', TType.STRUCT, 1) + self.o1.write(oprot) + oprot.writeFieldEnd() + if self.o2 is not None: + oprot.writeFieldBegin('o2', TType.STRUCT, 2) + self.o2.write(oprot) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + class get_valid_write_ids_args: """ Attributes: @@ -44962,11 +45189,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1274, _size1271) = iprot.readListBegin() - for _i1275 in xrange(_size1271): - _elem1276 = SchemaVersion() - _elem1276.read(iprot) - self.success.append(_elem1276) + (_etype1281, _size1278) = iprot.readListBegin() + for _i1282 in xrange(_size1278): + _elem1283 = SchemaVersion() + _elem1283.read(iprot) + self.success.append(_elem1283) iprot.readListEnd() else: iprot.skip(ftype) @@ -44995,8 +45222,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1277 in self.success: - iter1277.write(oprot) + for iter1284 in self.success: + iter1284.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: diff --git a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py index 486f061..01ba873 100644 --- a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -10310,6 +10310,206 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class GetValidTxnsRequest: + """ + Attributes: + - currentTxnId + """ + + thrift_spec = ( + None, # 0 + (1, TType.I64, 'currentTxnId', None, None, ), # 1 + ) + + def __init__(self, currentTxnId=None,): + self.currentTxnId = currentTxnId + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 1: + if ftype == TType.I64: + self.currentTxnId = iprot.readI64() + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('GetValidTxnsRequest') + if self.currentTxnId is not None: + oprot.writeFieldBegin('currentTxnId', TType.I64, 1) + oprot.writeI64(self.currentTxnId) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + if self.currentTxnId is None: + raise TProtocol.TProtocolException(message='Required field currentTxnId is unset!') + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.currentTxnId) + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + +class GetValidTxnsResponse: + """ + Attributes: + - currentTxnId + - txnHighWaterMark + - invalidTxns + - minOpenTxnId + - abortedBits + """ + + thrift_spec = ( + None, # 0 + (1, TType.I64, 'currentTxnId', None, None, ), # 1 + (2, TType.I64, 'txnHighWaterMark', None, None, ), # 2 + (3, TType.LIST, 'invalidTxns', (TType.I64,None), None, ), # 3 + (4, TType.I64, 'minOpenTxnId', None, None, ), # 4 + (5, TType.STRING, 'abortedBits', None, None, ), # 5 + ) + + def __init__(self, currentTxnId=None, txnHighWaterMark=None, invalidTxns=None, minOpenTxnId=None, abortedBits=None,): + self.currentTxnId = currentTxnId + self.txnHighWaterMark = txnHighWaterMark + self.invalidTxns = invalidTxns + self.minOpenTxnId = minOpenTxnId + self.abortedBits = abortedBits + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 1: + if ftype == TType.I64: + self.currentTxnId = iprot.readI64() + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.I64: + self.txnHighWaterMark = iprot.readI64() + else: + iprot.skip(ftype) + elif fid == 3: + if ftype == TType.LIST: + self.invalidTxns = [] + (_etype498, _size495) = iprot.readListBegin() + for _i499 in xrange(_size495): + _elem500 = iprot.readI64() + self.invalidTxns.append(_elem500) + iprot.readListEnd() + else: + iprot.skip(ftype) + elif fid == 4: + if ftype == TType.I64: + self.minOpenTxnId = iprot.readI64() + else: + iprot.skip(ftype) + elif fid == 5: + if ftype == TType.STRING: + self.abortedBits = iprot.readString() + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('GetValidTxnsResponse') + if self.currentTxnId is not None: + oprot.writeFieldBegin('currentTxnId', TType.I64, 1) + oprot.writeI64(self.currentTxnId) + oprot.writeFieldEnd() + if self.txnHighWaterMark is not None: + oprot.writeFieldBegin('txnHighWaterMark', TType.I64, 2) + oprot.writeI64(self.txnHighWaterMark) + oprot.writeFieldEnd() + if self.invalidTxns is not None: + oprot.writeFieldBegin('invalidTxns', TType.LIST, 3) + oprot.writeListBegin(TType.I64, len(self.invalidTxns)) + for iter501 in self.invalidTxns: + oprot.writeI64(iter501) + oprot.writeListEnd() + oprot.writeFieldEnd() + if self.minOpenTxnId is not None: + oprot.writeFieldBegin('minOpenTxnId', TType.I64, 4) + oprot.writeI64(self.minOpenTxnId) + oprot.writeFieldEnd() + if self.abortedBits is not None: + oprot.writeFieldBegin('abortedBits', TType.STRING, 5) + oprot.writeString(self.abortedBits) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + if self.currentTxnId is None: + raise TProtocol.TProtocolException(message='Required field currentTxnId is unset!') + if self.txnHighWaterMark is None: + raise TProtocol.TProtocolException(message='Required field txnHighWaterMark is unset!') + if self.invalidTxns is None: + raise TProtocol.TProtocolException(message='Required field invalidTxns is unset!') + if self.abortedBits is None: + raise TProtocol.TProtocolException(message='Required field abortedBits is unset!') + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.currentTxnId) + value = (value * 31) ^ hash(self.txnHighWaterMark) + value = (value * 31) ^ hash(self.invalidTxns) + value = (value * 31) ^ hash(self.minOpenTxnId) + value = (value * 31) ^ hash(self.abortedBits) + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + class GetValidWriteIdsRequest: """ Attributes: @@ -10339,10 +10539,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fullTableNames = [] - (_etype498, _size495) = iprot.readListBegin() - for _i499 in xrange(_size495): - _elem500 = iprot.readString() - self.fullTableNames.append(_elem500) + (_etype505, _size502) = iprot.readListBegin() + for _i506 in xrange(_size502): + _elem507 = iprot.readString() + self.fullTableNames.append(_elem507) iprot.readListEnd() else: iprot.skip(ftype) @@ -10364,8 +10564,8 @@ def write(self, oprot): if self.fullTableNames is not None: oprot.writeFieldBegin('fullTableNames', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.fullTableNames)) - for iter501 in self.fullTableNames: - oprot.writeString(iter501) + for iter508 in self.fullTableNames: + oprot.writeString(iter508) oprot.writeListEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -10448,10 +10648,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.invalidWriteIds = [] - (_etype505, _size502) = iprot.readListBegin() - for _i506 in xrange(_size502): - _elem507 = iprot.readI64() - self.invalidWriteIds.append(_elem507) + (_etype512, _size509) = iprot.readListBegin() + for _i513 in xrange(_size509): + _elem514 = iprot.readI64() + self.invalidWriteIds.append(_elem514) iprot.readListEnd() else: iprot.skip(ftype) @@ -10486,8 +10686,8 @@ def write(self, oprot): if self.invalidWriteIds is not None: oprot.writeFieldBegin('invalidWriteIds', TType.LIST, 3) oprot.writeListBegin(TType.I64, len(self.invalidWriteIds)) - for iter508 in self.invalidWriteIds: - oprot.writeI64(iter508) + for iter515 in self.invalidWriteIds: + oprot.writeI64(iter515) oprot.writeListEnd() oprot.writeFieldEnd() if self.minOpenWriteId is not None: @@ -10559,11 +10759,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tblValidWriteIds = [] - (_etype512, _size509) = iprot.readListBegin() - for _i513 in xrange(_size509): - _elem514 = TableValidWriteIds() - _elem514.read(iprot) - self.tblValidWriteIds.append(_elem514) + (_etype519, _size516) = iprot.readListBegin() + for _i520 in xrange(_size516): + _elem521 = TableValidWriteIds() + _elem521.read(iprot) + self.tblValidWriteIds.append(_elem521) iprot.readListEnd() else: iprot.skip(ftype) @@ -10580,8 +10780,8 @@ def write(self, oprot): if self.tblValidWriteIds is not None: oprot.writeFieldBegin('tblValidWriteIds', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.tblValidWriteIds)) - for iter515 in self.tblValidWriteIds: - iter515.write(oprot) + for iter522 in self.tblValidWriteIds: + iter522.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10641,10 +10841,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txnIds = [] - (_etype519, _size516) = iprot.readListBegin() - for _i520 in xrange(_size516): - _elem521 = iprot.readI64() - self.txnIds.append(_elem521) + (_etype526, _size523) = iprot.readListBegin() + for _i527 in xrange(_size523): + _elem528 = iprot.readI64() + self.txnIds.append(_elem528) iprot.readListEnd() else: iprot.skip(ftype) @@ -10671,8 +10871,8 @@ def write(self, oprot): if self.txnIds is not None: oprot.writeFieldBegin('txnIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.txnIds)) - for iter522 in self.txnIds: - oprot.writeI64(iter522) + for iter529 in self.txnIds: + oprot.writeI64(iter529) oprot.writeListEnd() oprot.writeFieldEnd() if self.dbName is not None: @@ -10822,11 +11022,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txnToWriteIds = [] - (_etype526, _size523) = iprot.readListBegin() - for _i527 in xrange(_size523): - _elem528 = TxnToWriteId() - _elem528.read(iprot) - self.txnToWriteIds.append(_elem528) + (_etype533, _size530) = iprot.readListBegin() + for _i534 in xrange(_size530): + _elem535 = TxnToWriteId() + _elem535.read(iprot) + self.txnToWriteIds.append(_elem535) iprot.readListEnd() else: iprot.skip(ftype) @@ -10843,8 +11043,8 @@ def write(self, oprot): if self.txnToWriteIds is not None: oprot.writeFieldBegin('txnToWriteIds', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.txnToWriteIds)) - for iter529 in self.txnToWriteIds: - iter529.write(oprot) + for iter536 in self.txnToWriteIds: + iter536.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11072,11 +11272,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.component = [] - (_etype533, _size530) = iprot.readListBegin() - for _i534 in xrange(_size530): - _elem535 = LockComponent() - _elem535.read(iprot) - self.component.append(_elem535) + (_etype540, _size537) = iprot.readListBegin() + for _i541 in xrange(_size537): + _elem542 = LockComponent() + _elem542.read(iprot) + self.component.append(_elem542) iprot.readListEnd() else: iprot.skip(ftype) @@ -11113,8 +11313,8 @@ def write(self, oprot): if self.component is not None: oprot.writeFieldBegin('component', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.component)) - for iter536 in self.component: - iter536.write(oprot) + for iter543 in self.component: + iter543.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.txnid is not None: @@ -11812,11 +12012,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.locks = [] - (_etype540, _size537) = iprot.readListBegin() - for _i541 in xrange(_size537): - _elem542 = ShowLocksResponseElement() - _elem542.read(iprot) - self.locks.append(_elem542) + (_etype547, _size544) = iprot.readListBegin() + for _i548 in xrange(_size544): + _elem549 = ShowLocksResponseElement() + _elem549.read(iprot) + self.locks.append(_elem549) iprot.readListEnd() else: iprot.skip(ftype) @@ -11833,8 +12033,8 @@ def write(self, oprot): if self.locks is not None: oprot.writeFieldBegin('locks', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.locks)) - for iter543 in self.locks: - iter543.write(oprot) + for iter550 in self.locks: + iter550.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12049,20 +12249,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.aborted = set() - (_etype547, _size544) = iprot.readSetBegin() - for _i548 in xrange(_size544): - _elem549 = iprot.readI64() - self.aborted.add(_elem549) + (_etype554, _size551) = iprot.readSetBegin() + for _i555 in xrange(_size551): + _elem556 = iprot.readI64() + self.aborted.add(_elem556) iprot.readSetEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.SET: self.nosuch = set() - (_etype553, _size550) = iprot.readSetBegin() - for _i554 in xrange(_size550): - _elem555 = iprot.readI64() - self.nosuch.add(_elem555) + (_etype560, _size557) = iprot.readSetBegin() + for _i561 in xrange(_size557): + _elem562 = iprot.readI64() + self.nosuch.add(_elem562) iprot.readSetEnd() else: iprot.skip(ftype) @@ -12079,15 +12279,15 @@ def write(self, oprot): if self.aborted is not None: oprot.writeFieldBegin('aborted', TType.SET, 1) oprot.writeSetBegin(TType.I64, len(self.aborted)) - for iter556 in self.aborted: - oprot.writeI64(iter556) + for iter563 in self.aborted: + oprot.writeI64(iter563) oprot.writeSetEnd() oprot.writeFieldEnd() if self.nosuch is not None: oprot.writeFieldBegin('nosuch', TType.SET, 2) oprot.writeSetBegin(TType.I64, len(self.nosuch)) - for iter557 in self.nosuch: - oprot.writeI64(iter557) + for iter564 in self.nosuch: + oprot.writeI64(iter564) oprot.writeSetEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12184,11 +12384,11 @@ def read(self, iprot): elif fid == 6: if ftype == TType.MAP: self.properties = {} - (_ktype559, _vtype560, _size558 ) = iprot.readMapBegin() - for _i562 in xrange(_size558): - _key563 = iprot.readString() - _val564 = iprot.readString() - self.properties[_key563] = _val564 + (_ktype566, _vtype567, _size565 ) = iprot.readMapBegin() + for _i569 in xrange(_size565): + _key570 = iprot.readString() + _val571 = iprot.readString() + self.properties[_key570] = _val571 iprot.readMapEnd() else: iprot.skip(ftype) @@ -12225,9 +12425,9 @@ def write(self, oprot): if self.properties is not None: oprot.writeFieldBegin('properties', TType.MAP, 6) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.properties)) - for kiter565,viter566 in self.properties.items(): - oprot.writeString(kiter565) - oprot.writeString(viter566) + for kiter572,viter573 in self.properties.items(): + oprot.writeString(kiter572) + oprot.writeString(viter573) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12662,11 +12862,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.compacts = [] - (_etype570, _size567) = iprot.readListBegin() - for _i571 in xrange(_size567): - _elem572 = ShowCompactResponseElement() - _elem572.read(iprot) - self.compacts.append(_elem572) + (_etype577, _size574) = iprot.readListBegin() + for _i578 in xrange(_size574): + _elem579 = ShowCompactResponseElement() + _elem579.read(iprot) + self.compacts.append(_elem579) iprot.readListEnd() else: iprot.skip(ftype) @@ -12683,8 +12883,8 @@ def write(self, oprot): if self.compacts is not None: oprot.writeFieldBegin('compacts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.compacts)) - for iter573 in self.compacts: - iter573.write(oprot) + for iter580 in self.compacts: + iter580.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12773,10 +12973,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionnames = [] - (_etype577, _size574) = iprot.readListBegin() - for _i578 in xrange(_size574): - _elem579 = iprot.readString() - self.partitionnames.append(_elem579) + (_etype584, _size581) = iprot.readListBegin() + for _i585 in xrange(_size581): + _elem586 = iprot.readString() + self.partitionnames.append(_elem586) iprot.readListEnd() else: iprot.skip(ftype) @@ -12814,8 +13014,8 @@ def write(self, oprot): if self.partitionnames is not None: oprot.writeFieldBegin('partitionnames', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.partitionnames)) - for iter580 in self.partitionnames: - oprot.writeString(iter580) + for iter587 in self.partitionnames: + oprot.writeString(iter587) oprot.writeListEnd() oprot.writeFieldEnd() if self.operationType is not None: @@ -13037,10 +13237,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.SET: self.tablesUsed = set() - (_etype584, _size581) = iprot.readSetBegin() - for _i585 in xrange(_size581): - _elem586 = iprot.readString() - self.tablesUsed.add(_elem586) + (_etype591, _size588) = iprot.readSetBegin() + for _i592 in xrange(_size588): + _elem593 = iprot.readString() + self.tablesUsed.add(_elem593) iprot.readSetEnd() else: iprot.skip(ftype) @@ -13070,8 +13270,8 @@ def write(self, oprot): if self.tablesUsed is not None: oprot.writeFieldBegin('tablesUsed', TType.SET, 3) oprot.writeSetBegin(TType.STRING, len(self.tablesUsed)) - for iter587 in self.tablesUsed: - oprot.writeString(iter587) + for iter594 in self.tablesUsed: + oprot.writeString(iter594) oprot.writeSetEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -13367,11 +13567,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.events = [] - (_etype591, _size588) = iprot.readListBegin() - for _i592 in xrange(_size588): - _elem593 = NotificationEvent() - _elem593.read(iprot) - self.events.append(_elem593) + (_etype598, _size595) = iprot.readListBegin() + for _i599 in xrange(_size595): + _elem600 = NotificationEvent() + _elem600.read(iprot) + self.events.append(_elem600) iprot.readListEnd() else: iprot.skip(ftype) @@ -13388,8 +13588,8 @@ def write(self, oprot): if self.events is not None: oprot.writeFieldBegin('events', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.events)) - for iter594 in self.events: - iter594.write(oprot) + for iter601 in self.events: + iter601.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13670,20 +13870,20 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.filesAdded = [] - (_etype598, _size595) = iprot.readListBegin() - for _i599 in xrange(_size595): - _elem600 = iprot.readString() - self.filesAdded.append(_elem600) + (_etype605, _size602) = iprot.readListBegin() + for _i606 in xrange(_size602): + _elem607 = iprot.readString() + self.filesAdded.append(_elem607) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.filesAddedChecksum = [] - (_etype604, _size601) = iprot.readListBegin() - for _i605 in xrange(_size601): - _elem606 = iprot.readString() - self.filesAddedChecksum.append(_elem606) + (_etype611, _size608) = iprot.readListBegin() + for _i612 in xrange(_size608): + _elem613 = iprot.readString() + self.filesAddedChecksum.append(_elem613) iprot.readListEnd() else: iprot.skip(ftype) @@ -13704,15 +13904,15 @@ def write(self, oprot): if self.filesAdded is not None: oprot.writeFieldBegin('filesAdded', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.filesAdded)) - for iter607 in self.filesAdded: - oprot.writeString(iter607) + for iter614 in self.filesAdded: + oprot.writeString(iter614) oprot.writeListEnd() oprot.writeFieldEnd() if self.filesAddedChecksum is not None: oprot.writeFieldBegin('filesAddedChecksum', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.filesAddedChecksum)) - for iter608 in self.filesAddedChecksum: - oprot.writeString(iter608) + for iter615 in self.filesAddedChecksum: + oprot.writeString(iter615) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13867,10 +14067,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionVals = [] - (_etype612, _size609) = iprot.readListBegin() - for _i613 in xrange(_size609): - _elem614 = iprot.readString() - self.partitionVals.append(_elem614) + (_etype619, _size616) = iprot.readListBegin() + for _i620 in xrange(_size616): + _elem621 = iprot.readString() + self.partitionVals.append(_elem621) iprot.readListEnd() else: iprot.skip(ftype) @@ -13903,8 +14103,8 @@ def write(self, oprot): if self.partitionVals is not None: oprot.writeFieldBegin('partitionVals', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.partitionVals)) - for iter615 in self.partitionVals: - oprot.writeString(iter615) + for iter622 in self.partitionVals: + oprot.writeString(iter622) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14091,12 +14291,12 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype617, _vtype618, _size616 ) = iprot.readMapBegin() - for _i620 in xrange(_size616): - _key621 = iprot.readI64() - _val622 = MetadataPpdResult() - _val622.read(iprot) - self.metadata[_key621] = _val622 + (_ktype624, _vtype625, _size623 ) = iprot.readMapBegin() + for _i627 in xrange(_size623): + _key628 = iprot.readI64() + _val629 = MetadataPpdResult() + _val629.read(iprot) + self.metadata[_key628] = _val629 iprot.readMapEnd() else: iprot.skip(ftype) @@ -14118,9 +14318,9 @@ def write(self, oprot): if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.MAP, 1) oprot.writeMapBegin(TType.I64, TType.STRUCT, len(self.metadata)) - for kiter623,viter624 in self.metadata.items(): - oprot.writeI64(kiter623) - viter624.write(oprot) + for kiter630,viter631 in self.metadata.items(): + oprot.writeI64(kiter630) + viter631.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -14190,10 +14390,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype628, _size625) = iprot.readListBegin() - for _i629 in xrange(_size625): - _elem630 = iprot.readI64() - self.fileIds.append(_elem630) + (_etype635, _size632) = iprot.readListBegin() + for _i636 in xrange(_size632): + _elem637 = iprot.readI64() + self.fileIds.append(_elem637) iprot.readListEnd() else: iprot.skip(ftype) @@ -14225,8 +14425,8 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter631 in self.fileIds: - oprot.writeI64(iter631) + for iter638 in self.fileIds: + oprot.writeI64(iter638) oprot.writeListEnd() oprot.writeFieldEnd() if self.expr is not None: @@ -14300,11 +14500,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype633, _vtype634, _size632 ) = iprot.readMapBegin() - for _i636 in xrange(_size632): - _key637 = iprot.readI64() - _val638 = iprot.readString() - self.metadata[_key637] = _val638 + (_ktype640, _vtype641, _size639 ) = iprot.readMapBegin() + for _i643 in xrange(_size639): + _key644 = iprot.readI64() + _val645 = iprot.readString() + self.metadata[_key644] = _val645 iprot.readMapEnd() else: iprot.skip(ftype) @@ -14326,9 +14526,9 @@ def write(self, oprot): if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.MAP, 1) oprot.writeMapBegin(TType.I64, TType.STRING, len(self.metadata)) - for kiter639,viter640 in self.metadata.items(): - oprot.writeI64(kiter639) - oprot.writeString(viter640) + for kiter646,viter647 in self.metadata.items(): + oprot.writeI64(kiter646) + oprot.writeString(viter647) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -14389,10 +14589,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype644, _size641) = iprot.readListBegin() - for _i645 in xrange(_size641): - _elem646 = iprot.readI64() - self.fileIds.append(_elem646) + (_etype651, _size648) = iprot.readListBegin() + for _i652 in xrange(_size648): + _elem653 = iprot.readI64() + self.fileIds.append(_elem653) iprot.readListEnd() else: iprot.skip(ftype) @@ -14409,8 +14609,8 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter647 in self.fileIds: - oprot.writeI64(iter647) + for iter654 in self.fileIds: + oprot.writeI64(iter654) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14516,20 +14716,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype651, _size648) = iprot.readListBegin() - for _i652 in xrange(_size648): - _elem653 = iprot.readI64() - self.fileIds.append(_elem653) + (_etype658, _size655) = iprot.readListBegin() + for _i659 in xrange(_size655): + _elem660 = iprot.readI64() + self.fileIds.append(_elem660) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.metadata = [] - (_etype657, _size654) = iprot.readListBegin() - for _i658 in xrange(_size654): - _elem659 = iprot.readString() - self.metadata.append(_elem659) + (_etype664, _size661) = iprot.readListBegin() + for _i665 in xrange(_size661): + _elem666 = iprot.readString() + self.metadata.append(_elem666) iprot.readListEnd() else: iprot.skip(ftype) @@ -14551,15 +14751,15 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter660 in self.fileIds: - oprot.writeI64(iter660) + for iter667 in self.fileIds: + oprot.writeI64(iter667) oprot.writeListEnd() oprot.writeFieldEnd() if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.metadata)) - for iter661 in self.metadata: - oprot.writeString(iter661) + for iter668 in self.metadata: + oprot.writeString(iter668) oprot.writeListEnd() oprot.writeFieldEnd() if self.type is not None: @@ -14667,10 +14867,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype665, _size662) = iprot.readListBegin() - for _i666 in xrange(_size662): - _elem667 = iprot.readI64() - self.fileIds.append(_elem667) + (_etype672, _size669) = iprot.readListBegin() + for _i673 in xrange(_size669): + _elem674 = iprot.readI64() + self.fileIds.append(_elem674) iprot.readListEnd() else: iprot.skip(ftype) @@ -14687,8 +14887,8 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter668 in self.fileIds: - oprot.writeI64(iter668) + for iter675 in self.fileIds: + oprot.writeI64(iter675) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14917,11 +15117,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.functions = [] - (_etype672, _size669) = iprot.readListBegin() - for _i673 in xrange(_size669): - _elem674 = Function() - _elem674.read(iprot) - self.functions.append(_elem674) + (_etype679, _size676) = iprot.readListBegin() + for _i680 in xrange(_size676): + _elem681 = Function() + _elem681.read(iprot) + self.functions.append(_elem681) iprot.readListEnd() else: iprot.skip(ftype) @@ -14938,8 +15138,8 @@ def write(self, oprot): if self.functions is not None: oprot.writeFieldBegin('functions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.functions)) - for iter675 in self.functions: - iter675.write(oprot) + for iter682 in self.functions: + iter682.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14991,10 +15191,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.values = [] - (_etype679, _size676) = iprot.readListBegin() - for _i680 in xrange(_size676): - _elem681 = iprot.readI32() - self.values.append(_elem681) + (_etype686, _size683) = iprot.readListBegin() + for _i687 in xrange(_size683): + _elem688 = iprot.readI32() + self.values.append(_elem688) iprot.readListEnd() else: iprot.skip(ftype) @@ -15011,8 +15211,8 @@ def write(self, oprot): if self.values is not None: oprot.writeFieldBegin('values', TType.LIST, 1) oprot.writeListBegin(TType.I32, len(self.values)) - for iter682 in self.values: - oprot.writeI32(iter682) + for iter689 in self.values: + oprot.writeI32(iter689) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15241,10 +15441,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tblNames = [] - (_etype686, _size683) = iprot.readListBegin() - for _i687 in xrange(_size683): - _elem688 = iprot.readString() - self.tblNames.append(_elem688) + (_etype693, _size690) = iprot.readListBegin() + for _i694 in xrange(_size690): + _elem695 = iprot.readString() + self.tblNames.append(_elem695) iprot.readListEnd() else: iprot.skip(ftype) @@ -15271,8 +15471,8 @@ def write(self, oprot): if self.tblNames is not None: oprot.writeFieldBegin('tblNames', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.tblNames)) - for iter689 in self.tblNames: - oprot.writeString(iter689) + for iter696 in self.tblNames: + oprot.writeString(iter696) oprot.writeListEnd() oprot.writeFieldEnd() if self.capabilities is not None: @@ -15332,11 +15532,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tables = [] - (_etype693, _size690) = iprot.readListBegin() - for _i694 in xrange(_size690): - _elem695 = Table() - _elem695.read(iprot) - self.tables.append(_elem695) + (_etype700, _size697) = iprot.readListBegin() + for _i701 in xrange(_size697): + _elem702 = Table() + _elem702.read(iprot) + self.tables.append(_elem702) iprot.readListEnd() else: iprot.skip(ftype) @@ -15353,8 +15553,8 @@ def write(self, oprot): if self.tables is not None: oprot.writeFieldBegin('tables', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.tables)) - for iter696 in self.tables: - iter696.write(oprot) + for iter703 in self.tables: + iter703.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15652,10 +15852,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.tablesUsed = set() - (_etype700, _size697) = iprot.readSetBegin() - for _i701 in xrange(_size697): - _elem702 = iprot.readString() - self.tablesUsed.add(_elem702) + (_etype707, _size704) = iprot.readSetBegin() + for _i708 in xrange(_size704): + _elem709 = iprot.readString() + self.tablesUsed.add(_elem709) iprot.readSetEnd() else: iprot.skip(ftype) @@ -15682,8 +15882,8 @@ def write(self, oprot): if self.tablesUsed is not None: oprot.writeFieldBegin('tablesUsed', TType.SET, 1) oprot.writeSetBegin(TType.STRING, len(self.tablesUsed)) - for iter703 in self.tablesUsed: - oprot.writeString(iter703) + for iter710 in self.tablesUsed: + oprot.writeString(iter710) oprot.writeSetEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -16587,44 +16787,44 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.pools = [] - (_etype707, _size704) = iprot.readListBegin() - for _i708 in xrange(_size704): - _elem709 = WMPool() - _elem709.read(iprot) - self.pools.append(_elem709) + (_etype714, _size711) = iprot.readListBegin() + for _i715 in xrange(_size711): + _elem716 = WMPool() + _elem716.read(iprot) + self.pools.append(_elem716) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.mappings = [] - (_etype713, _size710) = iprot.readListBegin() - for _i714 in xrange(_size710): - _elem715 = WMMapping() - _elem715.read(iprot) - self.mappings.append(_elem715) + (_etype720, _size717) = iprot.readListBegin() + for _i721 in xrange(_size717): + _elem722 = WMMapping() + _elem722.read(iprot) + self.mappings.append(_elem722) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.triggers = [] - (_etype719, _size716) = iprot.readListBegin() - for _i720 in xrange(_size716): - _elem721 = WMTrigger() - _elem721.read(iprot) - self.triggers.append(_elem721) + (_etype726, _size723) = iprot.readListBegin() + for _i727 in xrange(_size723): + _elem728 = WMTrigger() + _elem728.read(iprot) + self.triggers.append(_elem728) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.poolTriggers = [] - (_etype725, _size722) = iprot.readListBegin() - for _i726 in xrange(_size722): - _elem727 = WMPoolTrigger() - _elem727.read(iprot) - self.poolTriggers.append(_elem727) + (_etype732, _size729) = iprot.readListBegin() + for _i733 in xrange(_size729): + _elem734 = WMPoolTrigger() + _elem734.read(iprot) + self.poolTriggers.append(_elem734) iprot.readListEnd() else: iprot.skip(ftype) @@ -16645,29 +16845,29 @@ def write(self, oprot): if self.pools is not None: oprot.writeFieldBegin('pools', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.pools)) - for iter728 in self.pools: - iter728.write(oprot) + for iter735 in self.pools: + iter735.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.mappings is not None: oprot.writeFieldBegin('mappings', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.mappings)) - for iter729 in self.mappings: - iter729.write(oprot) + for iter736 in self.mappings: + iter736.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.triggers is not None: oprot.writeFieldBegin('triggers', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.triggers)) - for iter730 in self.triggers: - iter730.write(oprot) + for iter737 in self.triggers: + iter737.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.poolTriggers is not None: oprot.writeFieldBegin('poolTriggers', TType.LIST, 5) oprot.writeListBegin(TType.STRUCT, len(self.poolTriggers)) - for iter731 in self.poolTriggers: - iter731.write(oprot) + for iter738 in self.poolTriggers: + iter738.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17141,11 +17341,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.resourcePlans = [] - (_etype735, _size732) = iprot.readListBegin() - for _i736 in xrange(_size732): - _elem737 = WMResourcePlan() - _elem737.read(iprot) - self.resourcePlans.append(_elem737) + (_etype742, _size739) = iprot.readListBegin() + for _i743 in xrange(_size739): + _elem744 = WMResourcePlan() + _elem744.read(iprot) + self.resourcePlans.append(_elem744) iprot.readListEnd() else: iprot.skip(ftype) @@ -17162,8 +17362,8 @@ def write(self, oprot): if self.resourcePlans is not None: oprot.writeFieldBegin('resourcePlans', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.resourcePlans)) - for iter738 in self.resourcePlans: - iter738.write(oprot) + for iter745 in self.resourcePlans: + iter745.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17467,20 +17667,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.errors = [] - (_etype742, _size739) = iprot.readListBegin() - for _i743 in xrange(_size739): - _elem744 = iprot.readString() - self.errors.append(_elem744) + (_etype749, _size746) = iprot.readListBegin() + for _i750 in xrange(_size746): + _elem751 = iprot.readString() + self.errors.append(_elem751) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.warnings = [] - (_etype748, _size745) = iprot.readListBegin() - for _i749 in xrange(_size745): - _elem750 = iprot.readString() - self.warnings.append(_elem750) + (_etype755, _size752) = iprot.readListBegin() + for _i756 in xrange(_size752): + _elem757 = iprot.readString() + self.warnings.append(_elem757) iprot.readListEnd() else: iprot.skip(ftype) @@ -17497,15 +17697,15 @@ def write(self, oprot): if self.errors is not None: oprot.writeFieldBegin('errors', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.errors)) - for iter751 in self.errors: - oprot.writeString(iter751) + for iter758 in self.errors: + oprot.writeString(iter758) oprot.writeListEnd() oprot.writeFieldEnd() if self.warnings is not None: oprot.writeFieldBegin('warnings', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.warnings)) - for iter752 in self.warnings: - oprot.writeString(iter752) + for iter759 in self.warnings: + oprot.writeString(iter759) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18082,11 +18282,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.triggers = [] - (_etype756, _size753) = iprot.readListBegin() - for _i757 in xrange(_size753): - _elem758 = WMTrigger() - _elem758.read(iprot) - self.triggers.append(_elem758) + (_etype763, _size760) = iprot.readListBegin() + for _i764 in xrange(_size760): + _elem765 = WMTrigger() + _elem765.read(iprot) + self.triggers.append(_elem765) iprot.readListEnd() else: iprot.skip(ftype) @@ -18103,8 +18303,8 @@ def write(self, oprot): if self.triggers is not None: oprot.writeFieldBegin('triggers', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.triggers)) - for iter759 in self.triggers: - iter759.write(oprot) + for iter766 in self.triggers: + iter766.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19262,11 +19462,11 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.cols = [] - (_etype763, _size760) = iprot.readListBegin() - for _i764 in xrange(_size760): - _elem765 = FieldSchema() - _elem765.read(iprot) - self.cols.append(_elem765) + (_etype770, _size767) = iprot.readListBegin() + for _i771 in xrange(_size767): + _elem772 = FieldSchema() + _elem772.read(iprot) + self.cols.append(_elem772) iprot.readListEnd() else: iprot.skip(ftype) @@ -19326,8 +19526,8 @@ def write(self, oprot): if self.cols is not None: oprot.writeFieldBegin('cols', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.cols)) - for iter766 in self.cols: - iter766.write(oprot) + for iter773 in self.cols: + iter773.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.state is not None: @@ -19582,11 +19782,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.schemaVersions = [] - (_etype770, _size767) = iprot.readListBegin() - for _i771 in xrange(_size767): - _elem772 = SchemaVersionDescriptor() - _elem772.read(iprot) - self.schemaVersions.append(_elem772) + (_etype777, _size774) = iprot.readListBegin() + for _i778 in xrange(_size774): + _elem779 = SchemaVersionDescriptor() + _elem779.read(iprot) + self.schemaVersions.append(_elem779) iprot.readListEnd() else: iprot.skip(ftype) @@ -19603,8 +19803,8 @@ def write(self, oprot): if self.schemaVersions is not None: oprot.writeFieldBegin('schemaVersions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.schemaVersions)) - for iter773 in self.schemaVersions: - iter773.write(oprot) + for iter780 in self.schemaVersions: + iter780.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() diff --git a/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb b/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb index dd7467c..6a41ca8 100644 --- a/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ b/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -2324,6 +2324,51 @@ class CommitTxnRequest ::Thrift::Struct.generate_accessors self end +class GetValidTxnsRequest + include ::Thrift::Struct, ::Thrift::Struct_Union + CURRENTTXNID = 1 + + FIELDS = { + CURRENTTXNID => {:type => ::Thrift::Types::I64, :name => 'currentTxnId'} + } + + def struct_fields; FIELDS; end + + def validate + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field currentTxnId is unset!') unless @currentTxnId + end + + ::Thrift::Struct.generate_accessors self +end + +class GetValidTxnsResponse + include ::Thrift::Struct, ::Thrift::Struct_Union + CURRENTTXNID = 1 + TXNHIGHWATERMARK = 2 + INVALIDTXNS = 3 + MINOPENTXNID = 4 + ABORTEDBITS = 5 + + FIELDS = { + CURRENTTXNID => {:type => ::Thrift::Types::I64, :name => 'currentTxnId'}, + TXNHIGHWATERMARK => {:type => ::Thrift::Types::I64, :name => 'txnHighWaterMark'}, + INVALIDTXNS => {:type => ::Thrift::Types::LIST, :name => 'invalidTxns', :element => {:type => ::Thrift::Types::I64}}, + MINOPENTXNID => {:type => ::Thrift::Types::I64, :name => 'minOpenTxnId', :optional => true}, + ABORTEDBITS => {:type => ::Thrift::Types::STRING, :name => 'abortedBits', :binary => true} + } + + def struct_fields; FIELDS; end + + def validate + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field currentTxnId is unset!') unless @currentTxnId + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field txnHighWaterMark is unset!') unless @txnHighWaterMark + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field invalidTxns is unset!') unless @invalidTxns + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field abortedBits is unset!') unless @abortedBits + end + + ::Thrift::Struct.generate_accessors self +end + class GetValidWriteIdsRequest include ::Thrift::Struct, ::Thrift::Struct_Union FULLTABLENAMES = 1 diff --git a/standalone-metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb b/standalone-metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb index e6787c1..faa99dd 100644 --- a/standalone-metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ b/standalone-metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb @@ -2337,6 +2337,23 @@ module ThriftHiveMetastore return end + def get_valid_txns(rqst) + send_get_valid_txns(rqst) + return recv_get_valid_txns() + end + + def send_get_valid_txns(rqst) + send_message('get_valid_txns', Get_valid_txns_args, :rqst => rqst) + end + + def recv_get_valid_txns() + result = receive_message(Get_valid_txns_result) + return result.success unless result.success.nil? + raise result.o1 unless result.o1.nil? + raise result.o2 unless result.o2.nil? + raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_valid_txns failed: unknown result') + end + def get_valid_write_ids(rqst) send_get_valid_write_ids(rqst) return recv_get_valid_write_ids() @@ -5032,6 +5049,19 @@ module ThriftHiveMetastore write_result(result, oprot, 'commit_txn', seqid) end + def process_get_valid_txns(seqid, iprot, oprot) + args = read_args(iprot, Get_valid_txns_args) + result = Get_valid_txns_result.new() + begin + result.success = @handler.get_valid_txns(args.rqst) + rescue ::NoSuchTxnException => o1 + result.o1 = o1 + rescue ::MetaException => o2 + result.o2 = o2 + end + write_result(result, oprot, 'get_valid_txns', seqid) + end + def process_get_valid_write_ids(seqid, iprot, oprot) args = read_args(iprot, Get_valid_write_ids_args) result = Get_valid_write_ids_result.new() @@ -10975,6 +11005,42 @@ module ThriftHiveMetastore ::Thrift::Struct.generate_accessors self end + class Get_valid_txns_args + include ::Thrift::Struct, ::Thrift::Struct_Union + RQST = 1 + + FIELDS = { + RQST => {:type => ::Thrift::Types::STRUCT, :name => 'rqst', :class => ::GetValidTxnsRequest} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + + class Get_valid_txns_result + include ::Thrift::Struct, ::Thrift::Struct_Union + SUCCESS = 0 + O1 = 1 + O2 = 2 + + FIELDS = { + SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::GetValidTxnsResponse}, + O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::NoSuchTxnException}, + O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::MetaException} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + class Get_valid_write_ids_args include ::Thrift::Struct, ::Thrift::Struct_Union RQST = 1 diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java index 66353e7..9972c76 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -6445,6 +6445,11 @@ public void commit_txn(CommitTxnRequest rqst) throws TException { } @Override + public GetValidTxnsResponse get_valid_txns(GetValidTxnsRequest rqst) throws TException { + return getTxnHandler().getValidTxns(rqst); + } + + @Override public GetValidWriteIdsResponse get_valid_write_ids(GetValidWriteIdsRequest rqst) throws TException { return getTxnHandler().getValidWriteIds(rqst); } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index 1755700b..7487cc1 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java @@ -2136,12 +2136,13 @@ public boolean removeMasterKey(Integer keySeq) throws TException { @Override public ValidTxnList getValidTxns() throws TException { - return TxnUtils.createValidReadTxnList(client.get_open_txns(), 0); + return getValidTxns(0); } @Override public ValidTxnList getValidTxns(long currentTxn) throws TException { - return TxnUtils.createValidReadTxnList(client.get_open_txns(), currentTxn); + GetValidTxnsRequest rqst = new GetValidTxnsRequest(currentTxn); + return TxnUtils.createValidReadTxnList(client.get_valid_txns(rqst)); } @Override diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/CompactionTxnHandler.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/CompactionTxnHandler.java index ba006cf..eaff9a4 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/CompactionTxnHandler.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/CompactionTxnHandler.java @@ -463,6 +463,9 @@ public void markCleaned(CompactionInfo info) throws MetaException { } } + // Perform cleanup on TXN_TO_WRITE_ID table + cleanTxnToWriteIdTable(dbConn, info); + LOG.debug("Going to commit"); dbConn.commit(); } catch (SQLException e) { @@ -481,6 +484,94 @@ public void markCleaned(CompactionInfo info) throws MetaException { } /** + * This will remove entry from TXN_TO_WRITE_ID table based on MIN_HISTORY_LEVEL. + * @param dbConn + * @param info info on the compaction entry to remove + */ + private void cleanTxnToWriteIdTable(Connection dbConn, CompactionInfo info) throws MetaException, SQLException { + PreparedStatement pStmt = null; + ResultSet rs = null; + + try { + // First need to find the min_uncommitted_txnid referred by any running txn. + // If this query returns empty result, it means, all txns are cleaned-up and hence do nothing. + long minUncommittedTxnId; + + // Get the next txnid to be allocated which could be the min_uncommitted_txnid. + // We should perform query in this sequence to avoid race condition where no open txns when we + // look-up MIN_HISTORY_LEVEL, TXNS table but when we look-up NEXT_TXN_ID, could've opened few txns. + + String s = "select ntxn_next from NEXT_TXN_ID"; + pStmt = dbConn.prepareStatement(s); + LOG.debug("Going to execute query <" + s + ">"); + rs = pStmt.executeQuery(); + if (!rs.next()) { + throw new MetaException("Transaction tables not properly " + + "initialized, no record found in next_txn_id"); + } + minUncommittedTxnId = rs.getLong(1); + + long minOpenTxnId = 0; + s = "select min(mhl_min_uncommitted_txnid) from MIN_HISTORY_LEVEL"; + pStmt = dbConn.prepareStatement(s); + LOG.debug("Going to execute query <" + s + ">"); + rs = pStmt.executeQuery(); + if (rs.next()) { + minOpenTxnId = rs.getLong(1); + } + + // If MIN_HISTORY_LEVEL is empty, then minOpenTxnId would be 0. It means, all the txns are + // committed and no reference of uncommitted transactions. So, the next txnid to be allocated + // which could be min_uncommitted_txnid (highest txnid below which no open/aborted txns). But, this is not + // true if there are open txns in the system. So, need to find the minimum txnid from TXNS + // which maps to a min_uncommitted_txnid. + if (minOpenTxnId > 0) { + minUncommittedTxnId = minOpenTxnId; + } else { + // If there are open txns, then the lowest open txnid would be the min_uncommitted_txnid. + s = "select min(txn_id) from TXNS where txn_id <= " + minUncommittedTxnId; + pStmt = dbConn.prepareStatement(s); + LOG.debug("Going to execute query <" + s + ">"); + rs = pStmt.executeQuery(); + if (rs.next()) { + minOpenTxnId = rs.getLong(1); + if (minOpenTxnId > 0) { + minUncommittedTxnId = minOpenTxnId; + } + } + } + + // We are allowed to cleanup only entries less than min_uncommitted_txnid for the given table. + // Also, need to retain highest txn (Low water mark) under min_uncommitted_txnid (included) to make sure, + // writeid high water mark is preserved for future reads on this table. Below query helps to find the LWM. + // If this query returns empty result, then it means, no committed write operations on + // this table and hence nothing to clean. + s = "select max(t2w_txnid) from TXN_TO_WRITE_ID where t2w_txnid <= " + minUncommittedTxnId + + " and t2w_database = " + quoteString(info.dbname.toLowerCase()) + + " and t2w_table = " + quoteString(info.tableName.toLowerCase()); + pStmt = dbConn.prepareStatement(s); + LOG.debug("Going to execute query <" + s + ">"); + rs = pStmt.executeQuery(); + if (rs.next()) { + long txnLwm = rs.getLong(1); + + // Now we have the LWM and need to delete all entries under LWM as they are all committed/empty aborted. + s = "delete from TXN_TO_WRITE_ID where t2w_txnid < " + txnLwm + + " and t2w_database = " + quoteString(info.dbname.toLowerCase()) + + " and t2w_table = " + quoteString(info.tableName.toLowerCase()); + pStmt = dbConn.prepareStatement(s); + LOG.debug("Going to execute delete <" + s + ">"); + int rc = pStmt.executeUpdate(); + LOG.info("Removed " + rc + " rows from TXN_TO_WRITE_ID for the table: " + + TxnUtils.getFullTableName(info.dbname, info.tableName) + + " and retained Low-Water mark: " + txnLwm); + } + } finally { + close(rs, pStmt, null); + } + } + + /** * Clean up aborted transactions from txns that have no components in txn_components. The reason such * txns exist can be that now work was done in this txn (e.g. Streaming opened TransactionBatch and * abandoned it w/o doing any work) or due to {@link #markCleaned(CompactionInfo)} being called. @@ -525,6 +616,24 @@ public void cleanEmptyAbortedTxns() throws MetaException { } LOG.info("Aborted transactions removed from TXNS: " + txnids); + // As all the data relevant to the aborted txns are compacted and so it is safe to remove + // the aborted txns' reference from MIN_HISTORY_LEVEL. + queries.clear(); + prefix.setLength(0); + suffix.setLength(0); + + prefix.append("delete from MIN_HISTORY_LEVEL where "); + suffix.append(""); + + TxnUtils.buildQueryWithINClause(conf, queries, prefix, suffix, txnids, "mhl_txnid", false, false); + + for (String query : queries) { + LOG.debug("Going to execute update <" + query + ">"); + int rc = stmt.executeUpdate(query); + LOG.debug("Removed " + rc + " records from MIN_HISTORY_LEVEL"); + } + LOG.info("Aborted transactions removed from MIN_HISTORY_LEVEL: " + txnids); + LOG.debug("Going to commit"); dbConn.commit(); } catch (SQLException e) { diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnDbUtil.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnDbUtil.java index 588f335..82efea9 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnDbUtil.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnDbUtil.java @@ -109,6 +109,11 @@ public static void prepDb(Configuration conf) throws Exception { " NWI_TABLE varchar(256) NOT NULL," + " NWI_NEXT bigint NOT NULL)"); + stmt.execute("CREATE TABLE MIN_HISTORY_LEVEL (" + + " MHL_TXNID bigint NOT NULL," + + " MHL_MIN_UNCOMMITTED_TXNID bigint NOT NULL," + + " PRIMARY KEY(MHL_TXNID))"); + stmt.execute("CREATE TABLE HIVE_LOCKS (" + " HL_LOCK_EXT_ID bigint NOT NULL," + " HL_LOCK_INT_ID bigint NOT NULL," + @@ -234,6 +239,7 @@ public static void cleanDb(Configuration conf) throws Exception { success &= dropTable(stmt, "NEXT_TXN_ID", retryCount); success &= dropTable(stmt, "TXN_TO_WRITE_ID", retryCount); success &= dropTable(stmt, "NEXT_WRITE_ID", retryCount); + success &= dropTable(stmt, "MIN_HISTORY_LEVEL", retryCount); success &= dropTable(stmt, "HIVE_LOCKS", retryCount); success &= dropTable(stmt, "NEXT_LOCK_ID", retryCount); success &= dropTable(stmt, "COMPACTION_QUEUE", retryCount); diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java index e453e5a..f865c8b 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java @@ -83,6 +83,8 @@ import org.apache.hadoop.hive.metastore.api.FieldSchema; import org.apache.hadoop.hive.metastore.api.GetOpenTxnsInfoResponse; import org.apache.hadoop.hive.metastore.api.GetOpenTxnsResponse; +import org.apache.hadoop.hive.metastore.api.GetValidTxnsRequest; +import org.apache.hadoop.hive.metastore.api.GetValidTxnsResponse; import org.apache.hadoop.hive.metastore.api.GetValidWriteIdsRequest; import org.apache.hadoop.hive.metastore.api.GetValidWriteIdsResponse; import org.apache.hadoop.hive.metastore.api.HeartbeatRequest; @@ -445,65 +447,17 @@ public GetOpenTxnsResponse getOpenTxns() throws MetaException { // We need to figure out the current transaction number and the list of // open transactions. To avoid needing a transaction on the underlying // database we'll look at the current transaction number first. If it - // subsequently shows up in the open list that's ok. - Connection dbConn = null; - Statement stmt = null; - ResultSet rs = null; - try { - /** - * This runs at READ_COMMITTED for exactly the same reason as {@link #getOpenTxnsInfo()} - */ - dbConn = getDbConn(Connection.TRANSACTION_READ_COMMITTED); - stmt = dbConn.createStatement(); - String s = "select ntxn_next - 1 from NEXT_TXN_ID"; - LOG.debug("Going to execute query <" + s + ">"); - rs = stmt.executeQuery(s); - if (!rs.next()) { - throw new MetaException("Transaction tables not properly " + - "initialized, no record found in next_txn_id"); - } - long hwm = rs.getLong(1); - if (rs.wasNull()) { - throw new MetaException("Transaction tables not properly " + - "initialized, null record found in next_txn_id"); - } - close(rs); - List openList = new ArrayList<>(); - //need the WHERE clause below to ensure consistent results with READ_COMMITTED - s = "select txn_id, txn_state from TXNS where txn_id <= " + hwm + " order by txn_id"; - LOG.debug("Going to execute query<" + s + ">"); - rs = stmt.executeQuery(s); - long minOpenTxn = Long.MAX_VALUE; - BitSet abortedBits = new BitSet(); - while (rs.next()) { - long txnId = rs.getLong(1); - openList.add(txnId); - char c = rs.getString(2).charAt(0); - if(c == TXN_OPEN) { - minOpenTxn = Math.min(minOpenTxn, txnId); - } else if (c == TXN_ABORTED) { - abortedBits.set(openList.size() - 1); - } - } - LOG.debug("Going to rollback"); - dbConn.rollback(); - ByteBuffer byteBuffer = ByteBuffer.wrap(abortedBits.toByteArray()); - GetOpenTxnsResponse otr = new GetOpenTxnsResponse(hwm, openList, byteBuffer); - if(minOpenTxn < Long.MAX_VALUE) { - otr.setMin_open_txn(minOpenTxn); - } - return otr; - } catch (SQLException e) { - LOG.debug("Going to rollback"); - rollbackDBConn(dbConn); - checkRetryable(dbConn, e, "getOpenTxns"); - throw new MetaException("Unable to select from transaction database, " - + StringUtils.stringifyException(e)); - } finally { - close(rs, stmt, dbConn); + // subsequently shows up in the open list that's ok. So, we pass 0 to get the open Txns wrt to + // latest txn available. + GetValidTxnsResponse validTxns = getValidTxns(new GetValidTxnsRequest(0)); + GetOpenTxnsResponse otr = new GetOpenTxnsResponse(validTxns.getTxnHighWaterMark(), + validTxns.getInvalidTxns(), validTxns.bufferForAbortedBits()); + if (validTxns.isSetMinOpenTxnId()) { + otr.setMin_open_txn(validTxns.getMinOpenTxnId()); } - } catch (RetryException e) { - return getOpenTxns(); + return otr; + } catch (Exception e) { + throw new MetaException(e.getMessage()); } } @@ -845,6 +799,10 @@ public void commitTxn(CommitTxnRequest rqst) s = "delete from TXNS where txn_id = " + txnid; LOG.debug("Going to execute update <" + s + ">"); modCount = stmt.executeUpdate(s); + s = "delete from MIN_HISTORY_LEVEL where mhl_txnid = " + txnid; + LOG.debug("Going to execute update <" + s + ">"); + modCount = stmt.executeUpdate(s); + LOG.info("Removed transaction from MIN_HISTORY_LEVEL: " + txnid); LOG.debug("Going to commit"); dbConn.commit(); @@ -876,6 +834,115 @@ public void commitTxn(CommitTxnRequest rqst) } @Override + @RetrySemantics.Idempotent + public GetValidTxnsResponse getValidTxns(GetValidTxnsRequest rqst) + throws NoSuchTxnException, MetaException { + try { + Connection dbConn = null; + Statement stmt = null; + ResultSet rs = null; + long currentTxnId = rqst.getCurrentTxnId(); + + try { + /** + * This runs at READ_COMMITTED for exactly the same reason as {@link #getOpenTxnsInfo()} + */ + dbConn = getDbConn(Connection.TRANSACTION_READ_COMMITTED); + stmt = dbConn.createStatement(); + + String s = "select ntxn_next - 1 from NEXT_TXN_ID"; + LOG.debug("Going to execute query <" + s + ">"); + rs = stmt.executeQuery(s); + if (!rs.next()) { + throw new MetaException("Transaction tables not properly " + + "initialized, no record found in next_txn_id"); + } + long txnHwm = rs.getLong(1); + if (rs.wasNull()) { + throw new MetaException("Transaction tables not properly " + + "initialized, null record found in next_txn_id"); + } + close(rs); + + // Input currentTxnId=0 means, the ValidTxnList doesn't map to any txn. + // If the input is valid txn Id, then the high water mark should be itself. + if (currentTxnId > 0) { + if (currentTxnId > txnHwm) { + throw new MetaException("Invalid input for current txn Id: " + currentTxnId + + " greater than highest txn ID allocated: " + txnHwm); + } + txnHwm = currentTxnId; + } + // Need the WHERE clause below to ensure consistent results with READ_COMMITTED + // Also, need order by clause to ensure the invalidTxns list is sorted and hence shall used + // by caller for binary search. + List invalidTxns = new ArrayList<>(); + s = "select txn_id, txn_state from TXNS where txn_id <= " + txnHwm + " order by txn_id"; + LOG.debug("Going to execute query<" + s + ">"); + rs = stmt.executeQuery(s); + long minOpenTxn = Long.MAX_VALUE; + BitSet abortedBits = new BitSet(); + while (rs.next()) { + long txnId = rs.getLong(1); + if (txnId == currentTxnId) { + // Skip the current txn from invalid txns list. + continue; + } + invalidTxns.add(txnId); + char c = rs.getString(2).charAt(0); + if (c == TXN_OPEN) { + minOpenTxn = Math.min(minOpenTxn, txnId); + } else if (c == TXN_ABORTED) { + abortedBits.set(invalidTxns.size() - 1); + } + } + + ByteBuffer byteBuffer = ByteBuffer.wrap(abortedBits.toByteArray()); + GetValidTxnsResponse otr = new GetValidTxnsResponse(currentTxnId, txnHwm, invalidTxns, byteBuffer); + if (minOpenTxn < Long.MAX_VALUE) { + otr.setMinOpenTxnId(minOpenTxn); + } + + if (currentTxnId > 0) { + // Need to set the Min history level for the current transaction. + // Invalid txns are always sorted in ascending order and so the first element would be the + // minimum uncommitted txn Id referred by current txn. + // If all the txns under hwm are committed, then need to mark current txn refers to itself + // as min_uncommitted_txnid. This is needed to avoid any future txn to read data inserted by + // current txn. + long minUncommittedTxnId = (invalidTxns.isEmpty()) ? currentTxnId : invalidTxns.get(0); + List rows = new ArrayList<>(); + rows.add(currentTxnId + ", " + minUncommittedTxnId); + + // Insert entries to MIN_HISTORY_LEVEL. + List inserts = sqlGenerator.createInsertValuesStmt( + "MIN_HISTORY_LEVEL (mhl_txnid, mhl_min_uncommitted_txnid)", rows); + for (String insert : inserts) { + LOG.debug("Going to execute insert <" + insert + ">"); + stmt.execute(insert); + } + LOG.info("Added transaction to MIN_HISTORY_LEVEL: (" + currentTxnId + ", " + minUncommittedTxnId + ")"); + } + + LOG.debug("Going to commit"); + dbConn.commit(); + + return otr; + } catch (SQLException e) { + LOG.debug("Going to rollback"); + rollbackDBConn(dbConn); + checkRetryable(dbConn, e, "getValidTxns"); + throw new MetaException("Unable to select from transaction database, " + + StringUtils.stringifyException(e)); + } finally { + close(rs, stmt, dbConn); + } + } catch (RetryException e) { + return getValidTxns(rqst); + } + } + + @Override @RetrySemantics.ReadOnly public GetValidWriteIdsResponse getValidWriteIds(GetValidWriteIdsRequest rqst) throws NoSuchTxnException, MetaException { @@ -891,7 +958,7 @@ public GetValidWriteIdsResponse getValidWriteIds(GetValidWriteIdsRequest rqst) validTxnList = new ValidReadTxnList(rqst.getValidTxnList()); } else { // Passing 0 for currentTxn means, this validTxnList is not wrt to any txn - validTxnList = TxnUtils.createValidReadTxnList(getOpenTxns(), 0); + validTxnList = TxnUtils.createValidReadTxnList(getValidTxns(new GetValidTxnsRequest(0))); } try { /** @@ -2851,6 +2918,26 @@ private int abortTxns(Connection dbConn, List txnids, long max_heartbeat, int rc = stmt.executeUpdate(query); LOG.debug("Removed " + rc + " records from HIVE_LOCKS"); } + + // As current txn is aborted, need to set the Min history level for this transaction to itself + // so that any future transactions won't read the data written by this txn. Also, this transaction + // is already aborted/closed and so it won't refer to any other transaction's data. So, it is safe to + // overwrite the min_uncommited_txnid to itself. + queries.clear(); + prefix.setLength(0); + suffix.setLength(0); + + prefix.append("update MIN_HISTORY_LEVEL set mhl_min_uncommitted_txnid = mhl_txnid where "); + suffix.append(""); + + TxnUtils.buildQueryWithINClause(conf, queries, prefix, suffix, txnids, "mhl_txnid", false, false); + + for (String query : queries) { + LOG.debug("Going to execute update <" + query + ">"); + int rc = stmt.executeUpdate(query); + LOG.debug("Updated " + rc + " records from MIN_HISTORY_LEVEL"); + } + LOG.info("Aborted transactions added to MIN_HISTORY_LEVEL: " + txnids); } finally { closeStmt(stmt); } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java index 38fa0e2..ed7ae49 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java @@ -125,6 +125,17 @@ void commitTxn(CommitTxnRequest rqst) public BasicTxnInfo getFirstCompletedTransactionForTableAfterCommit( String inputDbName, String inputTableName, ValidTxnList txnList) throws MetaException; + + /** + * Gets the list of valid txns for the current txn + * @param rqst info on current transaction id + * @throws NoSuchTxnException + * @throws MetaException + */ + @RetrySemantics.Idempotent + GetValidTxnsResponse getValidTxns(GetValidTxnsRequest rqst) + throws NoSuchTxnException, MetaException; + /** * Gets the list of valid write ids for the given table wrt to current txn * @param rqst info on transaction and list of table names associated with given transaction @@ -133,7 +144,7 @@ public BasicTxnInfo getFirstCompletedTransactionForTableAfterCommit( */ @RetrySemantics.ReadOnly GetValidWriteIdsResponse getValidWriteIds(GetValidWriteIdsRequest rqst) - throws NoSuchTxnException, MetaException; + throws NoSuchTxnException, MetaException; /** * Allocate a write ID for the given table and associate it with a transaction diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnUtils.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnUtils.java index 7b02865..d091b5f 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnUtils.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnUtils.java @@ -24,7 +24,7 @@ import org.apache.hadoop.hive.common.ValidTxnList; import org.apache.hadoop.hive.common.ValidTxnWriteIdList; import org.apache.hadoop.hive.metastore.TransactionalValidationListener; -import org.apache.hadoop.hive.metastore.api.GetOpenTxnsResponse; +import org.apache.hadoop.hive.metastore.api.GetValidTxnsResponse; import org.apache.hadoop.hive.metastore.api.GetValidWriteIdsResponse; import org.apache.hadoop.hive.metastore.api.Table; import org.apache.hadoop.hive.metastore.api.TableValidWriteIds; @@ -49,27 +49,19 @@ * {@link org.apache.hadoop.hive.common.ValidTxnList}. This assumes that the caller intends to * read the files, and thus treats both open and aborted transactions as invalid. * @param txns txn list from the metastore - * @param currentTxn Current transaction that the user has open. If this is greater than 0 it - * will be removed from the exceptions list so that the user sees his own - * transaction as valid. * @return a valid txn list. */ - public static ValidTxnList createValidReadTxnList(GetOpenTxnsResponse txns, long currentTxn) { - /*todo: should highWater be min(currentTxn,txns.getTxn_high_water_mark()) assuming currentTxn>0 - * otherwise if currentTxn=7 and 8 commits before 7, then 7 will see result of 8 which - * doesn't make sense for Snapshot Isolation. Of course for Read Committed, the list should - * inlude the latest committed set.*/ - long highWater = txns.getTxn_high_water_mark(); - List open = txns.getOpen_txns(); + public static ValidTxnList createValidReadTxnList(GetValidTxnsResponse txns) { + long highWater = txns.getTxnHighWaterMark(); + List invalidTxns = txns.getInvalidTxns(); BitSet abortedBits = BitSet.valueOf(txns.getAbortedBits()); - long[] exceptions = new long[open.size() - (currentTxn > 0 ? 1 : 0)]; + long[] exceptions = new long[invalidTxns.size()]; int i = 0; - for (long txn : open) { - if (currentTxn > 0 && currentTxn == txn) continue; + for (long txn : invalidTxns) { exceptions[i++] = txn; } - if (txns.isSetMin_open_txn()) { - return new ValidReadTxnList(exceptions, abortedBits, highWater, txns.getMin_open_txn()); + if (txns.isSetMinOpenTxnId()) { + return new ValidReadTxnList(exceptions, abortedBits, highWater, txns.getMinOpenTxnId()); } else { return new ValidReadTxnList(exceptions, abortedBits, highWater); } diff --git a/standalone-metastore/src/main/sql/derby/hive-schema-3.0.0.derby.sql b/standalone-metastore/src/main/sql/derby/hive-schema-3.0.0.derby.sql index de9688d..ec60a07 100644 --- a/standalone-metastore/src/main/sql/derby/hive-schema-3.0.0.derby.sql +++ b/standalone-metastore/src/main/sql/derby/hive-schema-3.0.0.derby.sql @@ -545,6 +545,14 @@ CREATE TABLE NEXT_WRITE_ID ( CREATE UNIQUE INDEX NEXT_WRITE_ID_IDX ON NEXT_WRITE_ID (NWI_DATABASE, NWI_TABLE); +CREATE TABLE MIN_HISTORY_LEVEL ( + MHL_TXNID bigint NOT NULL, + MHL_MIN_UNCOMMITTED_TXNID bigint NOT NULL, + PRIMARY KEY(MHL_TXNID) +); + +CREATE INDEX MIN_HISTORY_LEVEL_IDX ON MIN_HISTORY_LEVEL (MHL_MIN_UNCOMMITTED_TXNID); + CREATE TABLE "APP"."I_SCHEMA" ( "SCHEMA_ID" bigint primary key, "SCHEMA_TYPE" integer not null, diff --git a/standalone-metastore/src/main/sql/derby/upgrade-2.3.0-to-3.0.0.derby.sql b/standalone-metastore/src/main/sql/derby/upgrade-2.3.0-to-3.0.0.derby.sql index 9f187f9..5b1de7d 100644 --- a/standalone-metastore/src/main/sql/derby/upgrade-2.3.0-to-3.0.0.derby.sql +++ b/standalone-metastore/src/main/sql/derby/upgrade-2.3.0-to-3.0.0.derby.sql @@ -161,3 +161,12 @@ ALTER TABLE COMPLETED_TXN_COMPONENTS ADD CTC_WRITEID bigint; ALTER TABLE "APP"."KEY_CONSTRAINTS" ADD COLUMN "DEFAULT_VALUE" VARCHAR(400); ALTER TABLE "APP"."HIVE_LOCKS" ALTER COLUMN "HL_TXNID" NOT NULL; + +-- HIVE-18747 +CREATE TABLE MIN_HISTORY_LEVEL ( + MHL_TXNID bigint NOT NULL, + MHL_MIN_UNCOMMITTED_TXNID bigint NOT NULL, + PRIMARY KEY(MHL_TXNID) +); + +CREATE INDEX MIN_HISTORY_LEVEL_IDX ON MIN_HISTORY_LEVEL (MHL_MIN_UNCOMMITTED_TXNID); diff --git a/standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql b/standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql index 68237ec..c4a1a75 100644 --- a/standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql +++ b/standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql @@ -1154,6 +1154,17 @@ CREATE TABLE NEXT_WRITE_ID ( CREATE UNIQUE INDEX NEXT_WRITE_ID_IDX ON NEXT_WRITE_ID (NWI_DATABASE, NWI_TABLE); +CREATE TABLE MIN_HISTORY_LEVEL ( + MHL_TXNID bigint NOT NULL, + MHL_MIN_UNCOMMITTED_TXNID bigint NOT NULL, +PRIMARY KEY CLUSTERED +( + MHL_TXNID ASC +) +); + +CREATE INDEX MIN_HISTORY_LEVEL_IDX ON MIN_HISTORY_LEVEL (MHL_MIN_UNCOMMITTED_TXNID); + CREATE TABLE "I_SCHEMA" ( "SCHEMA_ID" bigint primary key, "SCHEMA_TYPE" int not null, diff --git a/standalone-metastore/src/main/sql/mssql/upgrade-2.3.0-to-3.0.0.mssql.sql b/standalone-metastore/src/main/sql/mssql/upgrade-2.3.0-to-3.0.0.mssql.sql index 0b5f8a4..15523cb 100644 --- a/standalone-metastore/src/main/sql/mssql/upgrade-2.3.0-to-3.0.0.mssql.sql +++ b/standalone-metastore/src/main/sql/mssql/upgrade-2.3.0-to-3.0.0.mssql.sql @@ -214,3 +214,15 @@ ALTER TABLE COMPLETED_TXN_COMPONENTS ADD CTC_WRITEID bigint; ALTER TABLE KEY_CONSTRAINTS ADD DEFAULT_VALUE VARCHAR(400); ALTER TABLE HIVE_LOCKS MODIFY ALTER COLUMN HL_TXNID bigint NOT NULL; + +-- HIVE-18747 +CREATE TABLE MIN_HISTORY_LEVEL ( + MHL_TXNID bigint NOT NULL, + MHL_MIN_UNCOMMITTED_TXNID bigint NOT NULL, +PRIMARY KEY CLUSTERED +( + MHL_TXNID ASC +) +); + +CREATE INDEX MIN_HISTORY_LEVEL_IDX ON MIN_HISTORY_LEVEL (MHL_MIN_UNCOMMITTED_TXNID); diff --git a/standalone-metastore/src/main/sql/mysql/hive-schema-3.0.0.mysql.sql b/standalone-metastore/src/main/sql/mysql/hive-schema-3.0.0.mysql.sql index 3e2db2a..afb0727 100644 --- a/standalone-metastore/src/main/sql/mysql/hive-schema-3.0.0.mysql.sql +++ b/standalone-metastore/src/main/sql/mysql/hive-schema-3.0.0.mysql.sql @@ -1089,6 +1089,14 @@ CREATE TABLE NEXT_WRITE_ID ( CREATE UNIQUE INDEX NEXT_WRITE_ID_IDX ON NEXT_WRITE_ID (NWI_DATABASE, NWI_TABLE); +CREATE TABLE MIN_HISTORY_LEVEL ( + MHL_TXNID bigint NOT NULL, + MHL_MIN_UNCOMMITTED_TXNID bigint NOT NULL, + PRIMARY KEY(MHL_TXNID) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +CREATE INDEX MIN_HISTORY_LEVEL_IDX ON MIN_HISTORY_LEVEL (MHL_MIN_UNCOMMITTED_TXNID); + CREATE TABLE `I_SCHEMA` ( `SCHEMA_ID` BIGINT PRIMARY KEY, `SCHEMA_TYPE` INTEGER NOT NULL, diff --git a/standalone-metastore/src/main/sql/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql b/standalone-metastore/src/main/sql/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql index d7c49e4..aab6f97 100644 --- a/standalone-metastore/src/main/sql/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql +++ b/standalone-metastore/src/main/sql/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql @@ -178,7 +178,7 @@ CREATE TABLE TXN_TO_WRITE_ID ( T2W_DATABASE varchar(128) NOT NULL, T2W_TABLE varchar(256) NOT NULL, T2W_WRITEID bigint NOT NULL -); +) ENGINE=InnoDB DEFAULT CHARSET=latin1; CREATE UNIQUE INDEX TBL_TO_TXN_ID_IDX ON TXN_TO_WRITE_ID (T2W_DATABASE, T2W_TABLE, T2W_TXNID); CREATE UNIQUE INDEX TBL_TO_WRITE_ID_IDX ON TXN_TO_WRITE_ID (T2W_DATABASE, T2W_TABLE, T2W_WRITEID); @@ -187,7 +187,7 @@ CREATE TABLE NEXT_WRITE_ID ( NWI_DATABASE varchar(128) NOT NULL, NWI_TABLE varchar(256) NOT NULL, NWI_NEXT bigint NOT NULL -); +) ENGINE=InnoDB DEFAULT CHARSET=latin1; CREATE UNIQUE INDEX NEXT_WRITE_ID_IDX ON NEXT_WRITE_ID (NWI_DATABASE, NWI_TABLE); @@ -204,3 +204,12 @@ ALTER TABLE COMPLETED_TXN_COMPONENTS ADD CTC_WRITEID bigint; ALTER TABLE `KEY_CONSTRAINTS` ADD COLUMN `DEFAULT_VALUE` VARCHAR(400); ALTER TABLE `HIVE_LOCKS` MODIFY COLUMN `HL_TXNID` NOT NULL; + +-- HIVE-18747 +CREATE TABLE MIN_HISTORY_LEVEL ( + MHL_TXNID bigint NOT NULL, + MHL_MIN_UNCOMMITTED_TXNID bigint NOT NULL, + PRIMARY KEY(MHL_TXNID) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +CREATE INDEX MIN_HISTORY_LEVEL_IDX ON MIN_HISTORY_LEVEL (MHL_MIN_UNCOMMITTED_TXNID); diff --git a/standalone-metastore/src/main/sql/oracle/hive-schema-3.0.0.oracle.sql b/standalone-metastore/src/main/sql/oracle/hive-schema-3.0.0.oracle.sql index 09c40ad..0696a73 100644 --- a/standalone-metastore/src/main/sql/oracle/hive-schema-3.0.0.oracle.sql +++ b/standalone-metastore/src/main/sql/oracle/hive-schema-3.0.0.oracle.sql @@ -1062,6 +1062,14 @@ CREATE TABLE NEXT_WRITE_ID ( CREATE UNIQUE INDEX NEXT_WRITE_ID_IDX ON NEXT_WRITE_ID (NWI_DATABASE, NWI_TABLE); +CREATE TABLE MIN_HISTORY_LEVEL ( + MHL_TXNID number(19) NOT NULL, + MHL_MIN_UNCOMMITTED_TXNID number(19) NOT NULL, + PRIMARY KEY(MHL_TXNID) +); + +CREATE INDEX MIN_HISTORY_LEVEL_IDX ON MIN_HISTORY_LEVEL (MHL_MIN_UNCOMMITTED_TXNID); + CREATE TABLE "I_SCHEMA" ( "SCHEMA_ID" number primary key, "SCHEMA_TYPE" number not null, diff --git a/standalone-metastore/src/main/sql/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql b/standalone-metastore/src/main/sql/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql index 51eff3e..263788f 100644 --- a/standalone-metastore/src/main/sql/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql +++ b/standalone-metastore/src/main/sql/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql @@ -224,3 +224,12 @@ ALTER TABLE COMPLETED_TXN_COMPONENTS ADD CTC_WRITEID number(19); ALTER TABLE KEY_CONSTRAINTS ADD DEFAULT_VALUE VARCHAR(400); ALTER TABLE HIVE_LOCKS MODIFY(HL_TXNID NOT NULL); + +-- HIVE-18747 +CREATE TABLE MIN_HISTORY_LEVEL ( + MHL_TXNID number(19) NOT NULL, + MHL_MIN_UNCOMMITTED_TXNID number(19) NOT NULL, + PRIMARY KEY(MHL_TXNID) +); + +CREATE INDEX MIN_HISTORY_LEVEL_IDX ON MIN_HISTORY_LEVEL (MHL_MIN_UNCOMMITTED_TXNID); diff --git a/standalone-metastore/src/main/sql/postgres/hive-schema-3.0.0.postgres.sql b/standalone-metastore/src/main/sql/postgres/hive-schema-3.0.0.postgres.sql index 69317b0..99ee08f 100644 --- a/standalone-metastore/src/main/sql/postgres/hive-schema-3.0.0.postgres.sql +++ b/standalone-metastore/src/main/sql/postgres/hive-schema-3.0.0.postgres.sql @@ -1754,6 +1754,14 @@ CREATE TABLE NEXT_WRITE_ID ( CREATE UNIQUE INDEX NEXT_WRITE_ID_IDX ON NEXT_WRITE_ID (NWI_DATABASE, NWI_TABLE); +CREATE TABLE MIN_HISTORY_LEVEL ( + MHL_TXNID bigint NOT NULL, + MHL_MIN_UNCOMMITTED_TXNID bigint NOT NULL, + PRIMARY KEY(MHL_TXNID) +); + +CREATE INDEX MIN_HISTORY_LEVEL_IDX ON MIN_HISTORY_LEVEL (MHL_MIN_UNCOMMITTED_TXNID); + CREATE TABLE "I_SCHEMA" ( "SCHEMA_ID" bigint primary key, "SCHEMA_TYPE" integer not null, diff --git a/standalone-metastore/src/main/sql/postgres/upgrade-2.3.0-to-3.0.0.postgres.sql b/standalone-metastore/src/main/sql/postgres/upgrade-2.3.0-to-3.0.0.postgres.sql index 2766568..8815675 100644 --- a/standalone-metastore/src/main/sql/postgres/upgrade-2.3.0-to-3.0.0.postgres.sql +++ b/standalone-metastore/src/main/sql/postgres/upgrade-2.3.0-to-3.0.0.postgres.sql @@ -239,3 +239,12 @@ ALTER TABLE COMPLETED_TXN_COMPONENTS ADD CTC_WRITEID bigint; ALTER TABLE "KEY_CONSTRAINTS" ADD COLUMN "DEFAULT_VALUE" VARCHAR(400); ALTER TABLE HIVE_LOCKS ALTER COLUMN HL_TXNID SET NOT NULL; + +-- HIVE_18747 +CREATE TABLE MIN_HISTORY_LEVEL ( + MHL_TXNID bigint NOT NULL, + MHL_MIN_UNCOMMITTED_TXNID bigint NOT NULL, + PRIMARY KEY(MHL_TXNID) +); + +CREATE INDEX MIN_HISTORY_LEVEL_IDX ON MIN_HISTORY_LEVEL (MHL_MIN_UNCOMMITTED_TXNID); diff --git a/standalone-metastore/src/main/thrift/hive_metastore.thrift b/standalone-metastore/src/main/thrift/hive_metastore.thrift index ef63eab..2c78682 100644 --- a/standalone-metastore/src/main/thrift/hive_metastore.thrift +++ b/standalone-metastore/src/main/thrift/hive_metastore.thrift @@ -780,6 +780,20 @@ struct CommitTxnRequest { 1: required i64 txnid, } +// Request msg to get the valid txns list snapshot for the given current txn +struct GetValidTxnsRequest { + 1: required i64 currentTxnId, // Current txn for which we need to get the ValidTxnList +} + +// Response msg with ValidTxnList for the current txn +struct GetValidTxnsResponse { + 1: required i64 currentTxnId, // Current txn for which we built the ValidTxnList + 2: required i64 txnHighWaterMark, // The highest txn id valid for the current txn + 3: required list invalidTxns, // Sorted list of open and aborted txns wrt current txn + 4: optional i64 minOpenTxnId, // Minimum write id which maps to a opened txn + 5: required binary abortedBits, // Bit array to identify the aborted txns in invalidTxns list +} + // Request msg to get the valid write ids list for the given list of tables wrt to input validTxnList struct GetValidWriteIdsRequest { 1: required list fullTableNames, // Full table names of format . @@ -790,7 +804,7 @@ struct GetValidWriteIdsRequest { struct TableValidWriteIds { 1: required string fullTableName, // Full table name of format . 2: required i64 writeIdHighWaterMark, // The highest write id valid for this table wrt given txn - 3: required list invalidWriteIds, // List of open and aborted writes ids in the table + 3: required list invalidWriteIds, // Sorted list of open and aborted writes ids in the table 4: optional i64 minOpenWriteId, // Minimum write id which maps to a opened txn 5: required binary abortedBits, // Bit array to identify the aborted write ids in invalidWriteIds list } @@ -1945,6 +1959,7 @@ service ThriftHiveMetastore extends fb303.FacebookService void abort_txn(1:AbortTxnRequest rqst) throws (1:NoSuchTxnException o1) void abort_txns(1:AbortTxnsRequest rqst) throws (1:NoSuchTxnException o1) void commit_txn(1:CommitTxnRequest rqst) throws (1:NoSuchTxnException o1, 2:TxnAbortedException o2) + GetValidTxnsResponse get_valid_txns(1:GetValidTxnsRequest rqst) throws (1:NoSuchTxnException o1, 2:MetaException o2) GetValidWriteIdsResponse get_valid_write_ids(1:GetValidWriteIdsRequest rqst) throws (1:NoSuchTxnException o1, 2:MetaException o2) AllocateTableWriteIdsResponse allocate_table_write_ids(1:AllocateTableWriteIdsRequest rqst)