diff --git a/hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java b/hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java index 94801454b0..22ba045c89 100644 --- a/hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java +++ b/hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java @@ -18,6 +18,7 @@ package org.apache.hive.hcatalog.listener; import java.io.IOException; +import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; @@ -72,6 +73,7 @@ import org.apache.hadoop.hive.metastore.events.OpenTxnEvent; import org.apache.hadoop.hive.metastore.events.CommitTxnEvent; import org.apache.hadoop.hive.metastore.events.AbortTxnEvent; +import org.apache.hadoop.hive.metastore.events.AllocWriteIdEvent; import org.apache.hadoop.hive.metastore.events.ListenerEvent; import org.apache.hadoop.hive.metastore.messaging.EventMessage.EventType; import org.apache.hadoop.hive.metastore.messaging.MessageFactory; @@ -448,7 +450,7 @@ public void onInsert(InsertEvent insertEvent) throws MetaException { } @Override - public void onOpenTxn(OpenTxnEvent openTxnEvent) throws MetaException { + public void onOpenTxn(OpenTxnEvent openTxnEvent, Connection dbConn, SQLGenerator sqlGenerator) throws MetaException { int lastTxnIdx = openTxnEvent.getTxnIds().size() - 1; OpenTxnMessage msg = msgFactory.buildOpenTxnMessage(openTxnEvent.getTxnIds().get(0), openTxnEvent.getTxnIds().get(lastTxnIdx)); @@ -456,35 +458,35 @@ public void onOpenTxn(OpenTxnEvent openTxnEvent) throws MetaException { new NotificationEvent(0, now(), EventType.OPEN_TXN.toString(), msg.toString()); try { - addNotificationLog(event, openTxnEvent); + addNotificationLog(event, openTxnEvent, dbConn, sqlGenerator); } catch (SQLException e) { throw new MetaException("Unable to execute direct SQL " + StringUtils.stringifyException(e)); } } @Override - public void onCommitTxn(CommitTxnEvent commitTxnEvent) throws MetaException { + public void onCommitTxn(CommitTxnEvent commitTxnEvent, Connection dbConn, SQLGenerator sqlGenerator) throws MetaException { NotificationEvent event = new NotificationEvent(0, now(), EventType.COMMIT_TXN.toString(), msgFactory.buildCommitTxnMessage( commitTxnEvent.getTxnId()) .toString()); try { - addNotificationLog(event, commitTxnEvent); + addNotificationLog(event, commitTxnEvent, dbConn, sqlGenerator); } catch (SQLException e) { throw new MetaException("Unable to execute direct SQL " + StringUtils.stringifyException(e)); } } @Override - public void onAbortTxn(AbortTxnEvent abortTxnEvent) throws MetaException { + public void onAbortTxn(AbortTxnEvent abortTxnEvent, Connection dbConn, SQLGenerator sqlGenerator) throws MetaException { NotificationEvent event = new NotificationEvent(0, now(), EventType.ABORT_TXN.toString(), msgFactory.buildAbortTxnMessage( abortTxnEvent.getTxnId()) .toString()); try { - addNotificationLog(event, abortTxnEvent); + addNotificationLog(event, abortTxnEvent, dbConn, sqlGenerator); } catch (SQLException e) { throw new MetaException("Unable to execute direct SQL " + StringUtils.stringifyException(e)); } @@ -590,6 +592,24 @@ public void onDropConstraint(DropConstraintEvent dropConstraintEvent) throws Met process(event, dropConstraintEvent); } + /*** + * @param allocWriteIdEvent Alloc write id event + * @throws MetaException + */ + @Override + public void onAllocWriteId(AllocWriteIdEvent allocWriteIdEvent, Connection dbConn, SQLGenerator sqlGenerator) throws MetaException { + String tableName = allocWriteIdEvent.getTableName(); + NotificationEvent event = + new NotificationEvent(0, now(), EventType.ALLOC_WRITE_ID.toString(), msgFactory + .buildAllocWriteIdMessage(allocWriteIdEvent.getTxnIds(), tableName).toString()); + event.setTableName(tableName); + try { + addNotificationLog(event, allocWriteIdEvent, dbConn, sqlGenerator); + } catch (SQLException e) { + throw new MetaException("Unable to execute direct SQL " + StringUtils.stringifyException(e)); + } + } + private int now() { long millis = System.currentTimeMillis(); millis /= 1000; @@ -605,9 +625,9 @@ static String quoteString(String input) { return "'" + input + "'"; } - private void addNotificationLog(NotificationEvent event, ListenerEvent listenerEvent) + private void addNotificationLog(NotificationEvent event, ListenerEvent listenerEvent, Connection dbConn, SQLGenerator sqlGenerator) throws MetaException, SQLException { - if ((listenerEvent.getConnection() == null) || (listenerEvent.getSqlGenerator() == null)) { + if ((dbConn == null) || (sqlGenerator == null)) { LOG.info("connection or sql generator is not set so executing sql via DN"); process(event, listenerEvent); return; @@ -615,8 +635,7 @@ private void addNotificationLog(NotificationEvent event, ListenerEvent listenerE Statement stmt = null; ResultSet rs = null; try { - stmt = listenerEvent.getConnection().createStatement(); - SQLGenerator sqlGenerator = listenerEvent.getSqlGenerator(); + stmt = dbConn.createStatement(); event.setMessageFormat(msgFactory.getMessageFormat()); if (sqlGenerator.getDbProduct() == MYSQL) { diff --git a/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java b/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java index 5459554fec..24cdc0f6ea 100644 --- a/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java +++ b/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java @@ -74,6 +74,7 @@ import org.apache.hadoop.hive.metastore.events.CommitTxnEvent; import org.apache.hadoop.hive.metastore.events.AbortTxnEvent; import org.apache.hadoop.hive.metastore.events.ListenerEvent; +import org.apache.hadoop.hive.metastore.events.AllocWriteIdEvent; import org.apache.hadoop.hive.metastore.messaging.AddPartitionMessage; import org.apache.hadoop.hive.metastore.messaging.AlterPartitionMessage; import org.apache.hadoop.hive.metastore.messaging.AlterTableMessage; @@ -233,6 +234,10 @@ public void onCommitTxn(CommitTxnEvent commitTxnEvent) throws MetaException { public void onAbortTxn(AbortTxnEvent abortTxnEvent) throws MetaException { pushEventId(EventType.ABORT_TXN, abortTxnEvent); } + + public void onAllocWriteId(AllocWriteIdEvent allocWriteIdEvent) throws MetaException { + pushEventId(EventType.ALLOC_WRITE_ID, allocWriteIdEvent); + } } @SuppressWarnings("rawtypes") diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnTask.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnTask.java index 1cdeeb6604..22a03f36f0 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnTask.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnTask.java @@ -18,6 +18,7 @@ package org.apache.hadoop.hive.ql.exec; +import org.apache.hadoop.hive.metastore.api.GetTargetTxnIdsRequest; import org.apache.hadoop.hive.ql.DriverContext; import org.apache.hadoop.hive.ql.lockmgr.HiveTxnManager; import org.apache.hadoop.hive.ql.plan.api.StageType; @@ -68,6 +69,12 @@ public int execute(DriverContext driverContext) { LOG.info("Replayed CommitTxn Event for policy " + replPolicy + " with srcTxn " + txnId); } return 0; + case REPL_ALLOC_WRITE_ID: + List targetTxnIds = txnManager.replGetTargetTxnIds(replPolicy, work.getTxnIds()); + txnManager.allocateTableWriteIdsBatch(targetTxnIds, work.getDbName(), work.getTableName()); + LOG.info("Replayed alloc write Id Event for repl policy: " + replPolicy + " with srcTxn: " + work.getTxnIds() + .toString() + " target txn ids: " + targetTxnIds.toString() + " table name: " + work.getTableName()); + return 0; default: LOG.error("Operation Type " + work.getOperationType() + " is not supported "); return 1; diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnWork.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnWork.java index 9467415175..42494ebe8e 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnWork.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnWork.java @@ -33,6 +33,7 @@ private static final long serialVersionUID = 1L; private String dbName; private String tableName; + private String replPolicy; private List txnIds; /** @@ -40,7 +41,7 @@ * Different kind of events supported for replaying. */ public enum OperationType { - REPL_OPEN_TXN, REPL_ABORT_TXN, REPL_COMMIT_TXN + REPL_OPEN_TXN, REPL_ABORT_TXN, REPL_COMMIT_TXN, REPL_ALLOC_WRITE_ID } OperationType operation; @@ -50,6 +51,7 @@ public ReplTxnWork(String dbName, String tableName, List txnIds, Operation this.dbName = dbName; this.tableName = tableName; this.operation = type; + this.replPolicy = setReplPolicy(); } public ReplTxnWork(String dbName, String tableName, Long txnId, OperationType type) { @@ -57,6 +59,7 @@ public ReplTxnWork(String dbName, String tableName, Long txnId, OperationType ty this.dbName = dbName; this.tableName = tableName; this.operation = type; + this.replPolicy = setReplPolicy(); } public List getTxnIds() { @@ -75,7 +78,15 @@ public String getTableName() { return tableName; } - public String getReplPolicy() { + public void setTableName(String tableName) { + this.tableName = tableName; + } + + public String getReplPolicy() { + return replPolicy; + } + + public String setReplPolicy() { if ((dbName == null) || (dbName.isEmpty())) { return null; } else if ((tableName == null) || (tableName.isEmpty())) { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DbTxnManager.java b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DbTxnManager.java index 6513e0f203..fed0577a01 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DbTxnManager.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DbTxnManager.java @@ -658,6 +658,20 @@ public void replRollbackTxn(String replPolicy, long srcTxnId) throws LockExcepti } } + @Override + public List replGetTargetTxnIds(String replPolicy, List srcTxnIds) throws LockException { + try { + return getMS().replGetTargetTxnIds(replPolicy, srcTxnIds).getTargetTxnIds(); + } catch (NoSuchTxnException e) { + LOG.error("Metastore could not find " + JavaUtils.txnIdToString(txnId)); + throw new LockException(e, ErrorMsg.TXN_NO_SUCH_TRANSACTION, JavaUtils.txnIdToString(txnId)); + } catch(TxnAbortedException e) { + throw new LockException(e, ErrorMsg.TXN_ABORTED, JavaUtils.txnIdToString(txnId)); + } catch (TException e) { + throw new LockException(ErrorMsg.METASTORE_COMMUNICATION_FAILED.getMsg(), e); + } + } + @Override public void rollbackTxn() throws LockException { if (!isTxnOpen()) { @@ -976,6 +990,16 @@ public long getTableWriteId(String dbName, String tableName) throws LockExceptio } } + @Override + public void allocateTableWriteIdsBatch(List txnIds, String dbName, String tableName) + throws LockException { + try { + getMS().allocateTableWriteIdsBatch(txnIds, dbName, tableName); + } catch (TException e) { + throw new LockException(ErrorMsg.METASTORE_COMMUNICATION_FAILED.getMsg(), e); + } + } + private static long getHeartbeatInterval(Configuration conf) throws LockException { // Retrieve HIVE_TXN_TIMEOUT in MILLISECONDS (it's defined as SECONDS), // then divide it by 2 to give us a safety factor. diff --git a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DummyTxnManager.java b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DummyTxnManager.java index 9057bb94b0..6688276b11 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DummyTxnManager.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DummyTxnManager.java @@ -77,6 +77,10 @@ public long getTableWriteId(String dbName, String tableName) throws LockExceptio return 0L; } @Override + public void allocateTableWriteIdsBatch(List txnIds, String dbName, String tableName) throws LockException { + return; + } + @Override public HiveLockManager getLockManager() throws LockException { if (lockMgr == null) { boolean supportConcurrency = @@ -228,6 +232,11 @@ public void replRollbackTxn(String replPolicy, long srcTxnId) throws LockExcepti // No-op } + @Override + public List replGetTargetTxnIds(String replPolicy, List srcTxnIds) throws LockException { + return null; + } + @Override public void heartbeat() throws LockException { // No-op diff --git a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveTxnManager.java b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveTxnManager.java index 490f3b8ffe..a6f53d1e48 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveTxnManager.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveTxnManager.java @@ -72,6 +72,15 @@ */ void replRollbackTxn(String replPolicy, long srcTxnId) throws LockException; + /** + * Get the list of mapping target txn ids. + * @param replPolicy Replication policy to uniquely identify the source cluster. + * @param srcTxnIds The ids of the transaction at the source cluster + * @return The list of mapping target txn ids. + * @throws LockException in case of failure to get the target txn ids + */ + List replGetTargetTxnIds(String replPolicy, List srcTxnIds) throws LockException; + /** * Get the lock manager. This must be used rather than instantiating an * instance of the lock manager directly as the transaction manager will @@ -263,6 +272,15 @@ */ long getTableWriteId(String dbName, String tableName) throws LockException; + /** + * Allocates write id for each transaction in the list. + * @param txnIds List of transactions for which write ids to be allocted + * @param dbName database name + * @param tableName the name of the table to allocate the write id + * @throws LockException + */ + void allocateTableWriteIdsBatch(List txnIds, String dbName, String tableName) throws LockException; + /** * Should be though of more as a unique write operation ID in a given txn (at QueryPlan level). * Each statement writing data within a multi statement txn should have a unique WriteId. diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSemanticAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSemanticAnalyzer.java index 79b2e48ee2..99719bab24 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSemanticAnalyzer.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSemanticAnalyzer.java @@ -250,7 +250,8 @@ private boolean shouldReplayEvent(FileStatus dir, DumpType dumpType) throws Sema // repl id stored in the database/table is valid. if ((dumpType != DumpType.EVENT_ABORT_TXN) && (dumpType != DumpType.EVENT_OPEN_TXN) && - (dumpType != DumpType.EVENT_COMMIT_TXN)) { + (dumpType != DumpType.EVENT_COMMIT_TXN) && + (dumpType != DumpType.EVENT_ALLOC_WRITE_ID)) { return true; } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/DumpType.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/DumpType.java index 5fab0d2ebf..2e42267e82 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/DumpType.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/DumpType.java @@ -40,6 +40,7 @@ import org.apache.hadoop.hive.ql.parse.repl.load.message.OpenTxnHandler; import org.apache.hadoop.hive.ql.parse.repl.load.message.CommitTxnHandler; import org.apache.hadoop.hive.ql.parse.repl.load.message.AbortTxnHandler; +import org.apache.hadoop.hive.ql.parse.repl.load.message.AllocWriteIdHandler; public enum DumpType { @@ -204,6 +205,12 @@ public MessageHandler handler() { public MessageHandler handler() { return new AbortTxnHandler(); } + }, + EVENT_ALLOC_WRITE_ID("EVENT_ALLOC_WRITE_ID") { + @Override + public MessageHandler handler() { + return new AllocWriteIdHandler(); + } }; String type = null; diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/AllocWriteIdHandler.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/AllocWriteIdHandler.java new file mode 100644 index 0000000000..38efbd7a53 --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/AllocWriteIdHandler.java @@ -0,0 +1,41 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hive.ql.parse.repl.dump.events; + +import org.apache.hadoop.hive.metastore.api.NotificationEvent; +import org.apache.hadoop.hive.ql.parse.repl.DumpType; +import org.apache.hadoop.hive.ql.parse.repl.load.DumpMetaData; + +class AllocWriteIdHandler extends AbstractEventHandler { + AllocWriteIdHandler(NotificationEvent event) { + super(event); + } + + @Override + public void handle(Context withinContext) throws Exception { + LOG.info("Processing#{} ALLOC_WRITE_ID message : {}", fromEventId(), event.getMessage()); + DumpMetaData dmd = withinContext.createDmd(this); + dmd.setPayload(event.getMessage()); + dmd.write(); + } + + @Override + public DumpType dumpType() { + return DumpType.EVENT_ALLOC_WRITE_ID; + } +} diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/EventHandlerFactory.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/EventHandlerFactory.java index 10ff21c430..a1d61f9250 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/EventHandlerFactory.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/EventHandlerFactory.java @@ -53,6 +53,7 @@ private EventHandlerFactory() { register(MessageFactory.OPEN_TXN_EVENT, OpenTxnHandler.class); register(MessageFactory.COMMIT_TXN_EVENT, CommitTxnHandler.class); register(MessageFactory.ABORT_TXN_EVENT, AbortTxnHandler.class); + register(MessageFactory.ALLOC_WRITE_ID_EVENT, AllocWriteIdHandler.class); } static void register(String event, Class handlerClazz) { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/AllocWriteIdHandler.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/AllocWriteIdHandler.java new file mode 100644 index 0000000000..d15aadc091 --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/AllocWriteIdHandler.java @@ -0,0 +1,62 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hive.ql.parse.repl.load.message; + +import org.apache.hadoop.hive.metastore.messaging.AllocWriteIdMessage; +import org.apache.hadoop.hive.ql.exec.ReplTxnWork; +import org.apache.hadoop.hive.ql.exec.Task; +import org.apache.hadoop.hive.ql.exec.TaskFactory; +import org.apache.hadoop.hive.ql.io.AcidUtils; +import org.apache.hadoop.hive.ql.parse.SemanticException; +import java.io.Serializable; +import java.util.Collections; +import java.util.List; + +public class AllocWriteIdHandler extends AbstractMessageHandler { + @Override + public List> handle(Context context) + throws SemanticException { + if (!AcidUtils.isAcidEnabled(context.hiveConf)) { + context.log.error("Cannot load alloc write id event as acid is not enabled"); + throw new SemanticException("Cannot load alloc write id event as acid is not enabled"); + } + + AllocWriteIdMessage msg = + deserializer.getAllocWriteIdMessage(context.dmd.getPayload()); + + //context table name is passed to ReplTxnWork , as the repl policy will be created based + //on this table name. ReplPolicy is used to extract the target transaction id based on source + //transaction id. + ReplTxnWork work = new ReplTxnWork(context.dbName, context.tableName, msg.getTxnIds(), + ReplTxnWork.OperationType.REPL_ALLOC_WRITE_ID); + + // The context table name can be null if repl load is done on a full db. + // But we need table name for alloc write id and that is received from source. + String tableName = (context.tableName != null && !context.tableName.isEmpty() ? context.tableName : msg + .getTableName()); + work.setTableName(tableName); + + Task allocWriteIdTask = + TaskFactory.get(work, context.hiveConf); + context.log.info( + "Added alloc write id task : {}", allocWriteIdTask.getId()); + updatedMetadata.set(context.dmd.getEventTo().toString(), context.dbName, tableName, null); + return Collections.singletonList(allocWriteIdTask); + } +} + diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index c24055af98..d467538692 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp @@ -2107,14 +2107,14 @@ uint32_t ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1181; - ::apache::thrift::protocol::TType _etype1184; - xfer += iprot->readListBegin(_etype1184, _size1181); - this->success.resize(_size1181); - uint32_t _i1185; - for (_i1185 = 0; _i1185 < _size1181; ++_i1185) + uint32_t _size1197; + ::apache::thrift::protocol::TType _etype1200; + xfer += iprot->readListBegin(_etype1200, _size1197); + this->success.resize(_size1197); + uint32_t _i1201; + for (_i1201 = 0; _i1201 < _size1197; ++_i1201) { - xfer += iprot->readString(this->success[_i1185]); + xfer += iprot->readString(this->success[_i1201]); } xfer += iprot->readListEnd(); } @@ -2153,10 +2153,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 _iter1186; - for (_iter1186 = this->success.begin(); _iter1186 != this->success.end(); ++_iter1186) + std::vector ::const_iterator _iter1202; + for (_iter1202 = this->success.begin(); _iter1202 != this->success.end(); ++_iter1202) { - xfer += oprot->writeString((*_iter1186)); + xfer += oprot->writeString((*_iter1202)); } xfer += oprot->writeListEnd(); } @@ -2201,14 +2201,14 @@ uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1187; - ::apache::thrift::protocol::TType _etype1190; - xfer += iprot->readListBegin(_etype1190, _size1187); - (*(this->success)).resize(_size1187); - uint32_t _i1191; - for (_i1191 = 0; _i1191 < _size1187; ++_i1191) + uint32_t _size1203; + ::apache::thrift::protocol::TType _etype1206; + xfer += iprot->readListBegin(_etype1206, _size1203); + (*(this->success)).resize(_size1203); + uint32_t _i1207; + for (_i1207 = 0; _i1207 < _size1203; ++_i1207) { - xfer += iprot->readString((*(this->success))[_i1191]); + xfer += iprot->readString((*(this->success))[_i1207]); } xfer += iprot->readListEnd(); } @@ -2325,14 +2325,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1192; - ::apache::thrift::protocol::TType _etype1195; - xfer += iprot->readListBegin(_etype1195, _size1192); - this->success.resize(_size1192); - uint32_t _i1196; - for (_i1196 = 0; _i1196 < _size1192; ++_i1196) + uint32_t _size1208; + ::apache::thrift::protocol::TType _etype1211; + xfer += iprot->readListBegin(_etype1211, _size1208); + this->success.resize(_size1208); + uint32_t _i1212; + for (_i1212 = 0; _i1212 < _size1208; ++_i1212) { - xfer += iprot->readString(this->success[_i1196]); + xfer += iprot->readString(this->success[_i1212]); } xfer += iprot->readListEnd(); } @@ -2371,10 +2371,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 _iter1197; - for (_iter1197 = this->success.begin(); _iter1197 != this->success.end(); ++_iter1197) + std::vector ::const_iterator _iter1213; + for (_iter1213 = this->success.begin(); _iter1213 != this->success.end(); ++_iter1213) { - xfer += oprot->writeString((*_iter1197)); + xfer += oprot->writeString((*_iter1213)); } xfer += oprot->writeListEnd(); } @@ -2419,14 +2419,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1198; - ::apache::thrift::protocol::TType _etype1201; - xfer += iprot->readListBegin(_etype1201, _size1198); - (*(this->success)).resize(_size1198); - uint32_t _i1202; - for (_i1202 = 0; _i1202 < _size1198; ++_i1202) + uint32_t _size1214; + ::apache::thrift::protocol::TType _etype1217; + xfer += iprot->readListBegin(_etype1217, _size1214); + (*(this->success)).resize(_size1214); + uint32_t _i1218; + for (_i1218 = 0; _i1218 < _size1214; ++_i1218) { - xfer += iprot->readString((*(this->success))[_i1202]); + xfer += iprot->readString((*(this->success))[_i1218]); } xfer += iprot->readListEnd(); } @@ -3488,17 +3488,17 @@ uint32_t ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1203; - ::apache::thrift::protocol::TType _ktype1204; - ::apache::thrift::protocol::TType _vtype1205; - xfer += iprot->readMapBegin(_ktype1204, _vtype1205, _size1203); - uint32_t _i1207; - for (_i1207 = 0; _i1207 < _size1203; ++_i1207) + uint32_t _size1219; + ::apache::thrift::protocol::TType _ktype1220; + ::apache::thrift::protocol::TType _vtype1221; + xfer += iprot->readMapBegin(_ktype1220, _vtype1221, _size1219); + uint32_t _i1223; + for (_i1223 = 0; _i1223 < _size1219; ++_i1223) { - std::string _key1208; - xfer += iprot->readString(_key1208); - Type& _val1209 = this->success[_key1208]; - xfer += _val1209.read(iprot); + std::string _key1224; + xfer += iprot->readString(_key1224); + Type& _val1225 = this->success[_key1224]; + xfer += _val1225.read(iprot); } xfer += iprot->readMapEnd(); } @@ -3537,11 +3537,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 _iter1210; - for (_iter1210 = this->success.begin(); _iter1210 != this->success.end(); ++_iter1210) + std::map ::const_iterator _iter1226; + for (_iter1226 = this->success.begin(); _iter1226 != this->success.end(); ++_iter1226) { - xfer += oprot->writeString(_iter1210->first); - xfer += _iter1210->second.write(oprot); + xfer += oprot->writeString(_iter1226->first); + xfer += _iter1226->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -3586,17 +3586,17 @@ uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1211; - ::apache::thrift::protocol::TType _ktype1212; - ::apache::thrift::protocol::TType _vtype1213; - xfer += iprot->readMapBegin(_ktype1212, _vtype1213, _size1211); - uint32_t _i1215; - for (_i1215 = 0; _i1215 < _size1211; ++_i1215) + uint32_t _size1227; + ::apache::thrift::protocol::TType _ktype1228; + ::apache::thrift::protocol::TType _vtype1229; + xfer += iprot->readMapBegin(_ktype1228, _vtype1229, _size1227); + uint32_t _i1231; + for (_i1231 = 0; _i1231 < _size1227; ++_i1231) { - std::string _key1216; - xfer += iprot->readString(_key1216); - Type& _val1217 = (*(this->success))[_key1216]; - xfer += _val1217.read(iprot); + std::string _key1232; + xfer += iprot->readString(_key1232); + Type& _val1233 = (*(this->success))[_key1232]; + xfer += _val1233.read(iprot); } xfer += iprot->readMapEnd(); } @@ -3750,14 +3750,14 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1218; - ::apache::thrift::protocol::TType _etype1221; - xfer += iprot->readListBegin(_etype1221, _size1218); - this->success.resize(_size1218); - uint32_t _i1222; - for (_i1222 = 0; _i1222 < _size1218; ++_i1222) + uint32_t _size1234; + ::apache::thrift::protocol::TType _etype1237; + xfer += iprot->readListBegin(_etype1237, _size1234); + this->success.resize(_size1234); + uint32_t _i1238; + for (_i1238 = 0; _i1238 < _size1234; ++_i1238) { - xfer += this->success[_i1222].read(iprot); + xfer += this->success[_i1238].read(iprot); } xfer += iprot->readListEnd(); } @@ -3812,10 +3812,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 _iter1223; - for (_iter1223 = this->success.begin(); _iter1223 != this->success.end(); ++_iter1223) + std::vector ::const_iterator _iter1239; + for (_iter1239 = this->success.begin(); _iter1239 != this->success.end(); ++_iter1239) { - xfer += (*_iter1223).write(oprot); + xfer += (*_iter1239).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3868,14 +3868,14 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1224; - ::apache::thrift::protocol::TType _etype1227; - xfer += iprot->readListBegin(_etype1227, _size1224); - (*(this->success)).resize(_size1224); - uint32_t _i1228; - for (_i1228 = 0; _i1228 < _size1224; ++_i1228) + uint32_t _size1240; + ::apache::thrift::protocol::TType _etype1243; + xfer += iprot->readListBegin(_etype1243, _size1240); + (*(this->success)).resize(_size1240); + uint32_t _i1244; + for (_i1244 = 0; _i1244 < _size1240; ++_i1244) { - xfer += (*(this->success))[_i1228].read(iprot); + xfer += (*(this->success))[_i1244].read(iprot); } xfer += iprot->readListEnd(); } @@ -4061,14 +4061,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1229; - ::apache::thrift::protocol::TType _etype1232; - xfer += iprot->readListBegin(_etype1232, _size1229); - this->success.resize(_size1229); - uint32_t _i1233; - for (_i1233 = 0; _i1233 < _size1229; ++_i1233) + uint32_t _size1245; + ::apache::thrift::protocol::TType _etype1248; + xfer += iprot->readListBegin(_etype1248, _size1245); + this->success.resize(_size1245); + uint32_t _i1249; + for (_i1249 = 0; _i1249 < _size1245; ++_i1249) { - xfer += this->success[_i1233].read(iprot); + xfer += this->success[_i1249].read(iprot); } xfer += iprot->readListEnd(); } @@ -4123,10 +4123,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 _iter1234; - for (_iter1234 = this->success.begin(); _iter1234 != this->success.end(); ++_iter1234) + std::vector ::const_iterator _iter1250; + for (_iter1250 = this->success.begin(); _iter1250 != this->success.end(); ++_iter1250) { - xfer += (*_iter1234).write(oprot); + xfer += (*_iter1250).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4179,14 +4179,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1235; - ::apache::thrift::protocol::TType _etype1238; - xfer += iprot->readListBegin(_etype1238, _size1235); - (*(this->success)).resize(_size1235); - uint32_t _i1239; - for (_i1239 = 0; _i1239 < _size1235; ++_i1239) + uint32_t _size1251; + ::apache::thrift::protocol::TType _etype1254; + xfer += iprot->readListBegin(_etype1254, _size1251); + (*(this->success)).resize(_size1251); + uint32_t _i1255; + for (_i1255 = 0; _i1255 < _size1251; ++_i1255) { - xfer += (*(this->success))[_i1239].read(iprot); + xfer += (*(this->success))[_i1255].read(iprot); } xfer += iprot->readListEnd(); } @@ -4356,14 +4356,14 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1240; - ::apache::thrift::protocol::TType _etype1243; - xfer += iprot->readListBegin(_etype1243, _size1240); - this->success.resize(_size1240); - uint32_t _i1244; - for (_i1244 = 0; _i1244 < _size1240; ++_i1244) + uint32_t _size1256; + ::apache::thrift::protocol::TType _etype1259; + xfer += iprot->readListBegin(_etype1259, _size1256); + this->success.resize(_size1256); + uint32_t _i1260; + for (_i1260 = 0; _i1260 < _size1256; ++_i1260) { - xfer += this->success[_i1244].read(iprot); + xfer += this->success[_i1260].read(iprot); } xfer += iprot->readListEnd(); } @@ -4418,10 +4418,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 _iter1245; - for (_iter1245 = this->success.begin(); _iter1245 != this->success.end(); ++_iter1245) + std::vector ::const_iterator _iter1261; + for (_iter1261 = this->success.begin(); _iter1261 != this->success.end(); ++_iter1261) { - xfer += (*_iter1245).write(oprot); + xfer += (*_iter1261).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4474,14 +4474,14 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1246; - ::apache::thrift::protocol::TType _etype1249; - xfer += iprot->readListBegin(_etype1249, _size1246); - (*(this->success)).resize(_size1246); - uint32_t _i1250; - for (_i1250 = 0; _i1250 < _size1246; ++_i1250) + uint32_t _size1262; + ::apache::thrift::protocol::TType _etype1265; + xfer += iprot->readListBegin(_etype1265, _size1262); + (*(this->success)).resize(_size1262); + uint32_t _i1266; + for (_i1266 = 0; _i1266 < _size1262; ++_i1266) { - xfer += (*(this->success))[_i1250].read(iprot); + xfer += (*(this->success))[_i1266].read(iprot); } xfer += iprot->readListEnd(); } @@ -4667,14 +4667,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1251; - ::apache::thrift::protocol::TType _etype1254; - xfer += iprot->readListBegin(_etype1254, _size1251); - this->success.resize(_size1251); - uint32_t _i1255; - for (_i1255 = 0; _i1255 < _size1251; ++_i1255) + uint32_t _size1267; + ::apache::thrift::protocol::TType _etype1270; + xfer += iprot->readListBegin(_etype1270, _size1267); + this->success.resize(_size1267); + uint32_t _i1271; + for (_i1271 = 0; _i1271 < _size1267; ++_i1271) { - xfer += this->success[_i1255].read(iprot); + xfer += this->success[_i1271].read(iprot); } xfer += iprot->readListEnd(); } @@ -4729,10 +4729,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 _iter1256; - for (_iter1256 = this->success.begin(); _iter1256 != this->success.end(); ++_iter1256) + std::vector ::const_iterator _iter1272; + for (_iter1272 = this->success.begin(); _iter1272 != this->success.end(); ++_iter1272) { - xfer += (*_iter1256).write(oprot); + xfer += (*_iter1272).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4785,14 +4785,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1257; - ::apache::thrift::protocol::TType _etype1260; - xfer += iprot->readListBegin(_etype1260, _size1257); - (*(this->success)).resize(_size1257); - uint32_t _i1261; - for (_i1261 = 0; _i1261 < _size1257; ++_i1261) + uint32_t _size1273; + ::apache::thrift::protocol::TType _etype1276; + xfer += iprot->readListBegin(_etype1276, _size1273); + (*(this->success)).resize(_size1273); + uint32_t _i1277; + for (_i1277 = 0; _i1277 < _size1273; ++_i1277) { - xfer += (*(this->success))[_i1261].read(iprot); + xfer += (*(this->success))[_i1277].read(iprot); } xfer += iprot->readListEnd(); } @@ -5385,14 +5385,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->primaryKeys.clear(); - uint32_t _size1262; - ::apache::thrift::protocol::TType _etype1265; - xfer += iprot->readListBegin(_etype1265, _size1262); - this->primaryKeys.resize(_size1262); - uint32_t _i1266; - for (_i1266 = 0; _i1266 < _size1262; ++_i1266) + uint32_t _size1278; + ::apache::thrift::protocol::TType _etype1281; + xfer += iprot->readListBegin(_etype1281, _size1278); + this->primaryKeys.resize(_size1278); + uint32_t _i1282; + for (_i1282 = 0; _i1282 < _size1278; ++_i1282) { - xfer += this->primaryKeys[_i1266].read(iprot); + xfer += this->primaryKeys[_i1282].read(iprot); } xfer += iprot->readListEnd(); } @@ -5405,14 +5405,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->foreignKeys.clear(); - uint32_t _size1267; - ::apache::thrift::protocol::TType _etype1270; - xfer += iprot->readListBegin(_etype1270, _size1267); - this->foreignKeys.resize(_size1267); - uint32_t _i1271; - for (_i1271 = 0; _i1271 < _size1267; ++_i1271) + uint32_t _size1283; + ::apache::thrift::protocol::TType _etype1286; + xfer += iprot->readListBegin(_etype1286, _size1283); + this->foreignKeys.resize(_size1283); + uint32_t _i1287; + for (_i1287 = 0; _i1287 < _size1283; ++_i1287) { - xfer += this->foreignKeys[_i1271].read(iprot); + xfer += this->foreignKeys[_i1287].read(iprot); } xfer += iprot->readListEnd(); } @@ -5425,14 +5425,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->uniqueConstraints.clear(); - uint32_t _size1272; - ::apache::thrift::protocol::TType _etype1275; - xfer += iprot->readListBegin(_etype1275, _size1272); - this->uniqueConstraints.resize(_size1272); - uint32_t _i1276; - for (_i1276 = 0; _i1276 < _size1272; ++_i1276) + uint32_t _size1288; + ::apache::thrift::protocol::TType _etype1291; + xfer += iprot->readListBegin(_etype1291, _size1288); + this->uniqueConstraints.resize(_size1288); + uint32_t _i1292; + for (_i1292 = 0; _i1292 < _size1288; ++_i1292) { - xfer += this->uniqueConstraints[_i1276].read(iprot); + xfer += this->uniqueConstraints[_i1292].read(iprot); } xfer += iprot->readListEnd(); } @@ -5445,14 +5445,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->notNullConstraints.clear(); - uint32_t _size1277; - ::apache::thrift::protocol::TType _etype1280; - xfer += iprot->readListBegin(_etype1280, _size1277); - this->notNullConstraints.resize(_size1277); - uint32_t _i1281; - for (_i1281 = 0; _i1281 < _size1277; ++_i1281) + uint32_t _size1293; + ::apache::thrift::protocol::TType _etype1296; + xfer += iprot->readListBegin(_etype1296, _size1293); + this->notNullConstraints.resize(_size1293); + uint32_t _i1297; + for (_i1297 = 0; _i1297 < _size1293; ++_i1297) { - xfer += this->notNullConstraints[_i1281].read(iprot); + xfer += this->notNullConstraints[_i1297].read(iprot); } xfer += iprot->readListEnd(); } @@ -5465,14 +5465,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->defaultConstraints.clear(); - uint32_t _size1282; - ::apache::thrift::protocol::TType _etype1285; - xfer += iprot->readListBegin(_etype1285, _size1282); - this->defaultConstraints.resize(_size1282); - uint32_t _i1286; - for (_i1286 = 0; _i1286 < _size1282; ++_i1286) + uint32_t _size1298; + ::apache::thrift::protocol::TType _etype1301; + xfer += iprot->readListBegin(_etype1301, _size1298); + this->defaultConstraints.resize(_size1298); + uint32_t _i1302; + for (_i1302 = 0; _i1302 < _size1298; ++_i1302) { - xfer += this->defaultConstraints[_i1286].read(iprot); + xfer += this->defaultConstraints[_i1302].read(iprot); } xfer += iprot->readListEnd(); } @@ -5485,14 +5485,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->checkConstraints.clear(); - uint32_t _size1287; - ::apache::thrift::protocol::TType _etype1290; - xfer += iprot->readListBegin(_etype1290, _size1287); - this->checkConstraints.resize(_size1287); - uint32_t _i1291; - for (_i1291 = 0; _i1291 < _size1287; ++_i1291) + uint32_t _size1303; + ::apache::thrift::protocol::TType _etype1306; + xfer += iprot->readListBegin(_etype1306, _size1303); + this->checkConstraints.resize(_size1303); + uint32_t _i1307; + for (_i1307 = 0; _i1307 < _size1303; ++_i1307) { - xfer += this->checkConstraints[_i1291].read(iprot); + xfer += this->checkConstraints[_i1307].read(iprot); } xfer += iprot->readListEnd(); } @@ -5525,10 +5525,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 _iter1292; - for (_iter1292 = this->primaryKeys.begin(); _iter1292 != this->primaryKeys.end(); ++_iter1292) + std::vector ::const_iterator _iter1308; + for (_iter1308 = this->primaryKeys.begin(); _iter1308 != this->primaryKeys.end(); ++_iter1308) { - xfer += (*_iter1292).write(oprot); + xfer += (*_iter1308).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5537,10 +5537,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 _iter1293; - for (_iter1293 = this->foreignKeys.begin(); _iter1293 != this->foreignKeys.end(); ++_iter1293) + std::vector ::const_iterator _iter1309; + for (_iter1309 = this->foreignKeys.begin(); _iter1309 != this->foreignKeys.end(); ++_iter1309) { - xfer += (*_iter1293).write(oprot); + xfer += (*_iter1309).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5549,10 +5549,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 _iter1294; - for (_iter1294 = this->uniqueConstraints.begin(); _iter1294 != this->uniqueConstraints.end(); ++_iter1294) + std::vector ::const_iterator _iter1310; + for (_iter1310 = this->uniqueConstraints.begin(); _iter1310 != this->uniqueConstraints.end(); ++_iter1310) { - xfer += (*_iter1294).write(oprot); + xfer += (*_iter1310).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5561,10 +5561,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 _iter1295; - for (_iter1295 = this->notNullConstraints.begin(); _iter1295 != this->notNullConstraints.end(); ++_iter1295) + std::vector ::const_iterator _iter1311; + for (_iter1311 = this->notNullConstraints.begin(); _iter1311 != this->notNullConstraints.end(); ++_iter1311) { - xfer += (*_iter1295).write(oprot); + xfer += (*_iter1311).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5573,10 +5573,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 _iter1296; - for (_iter1296 = this->defaultConstraints.begin(); _iter1296 != this->defaultConstraints.end(); ++_iter1296) + std::vector ::const_iterator _iter1312; + for (_iter1312 = this->defaultConstraints.begin(); _iter1312 != this->defaultConstraints.end(); ++_iter1312) { - xfer += (*_iter1296).write(oprot); + xfer += (*_iter1312).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5585,10 +5585,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("checkConstraints", ::apache::thrift::protocol::T_LIST, 7); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->checkConstraints.size())); - std::vector ::const_iterator _iter1297; - for (_iter1297 = this->checkConstraints.begin(); _iter1297 != this->checkConstraints.end(); ++_iter1297) + std::vector ::const_iterator _iter1313; + for (_iter1313 = this->checkConstraints.begin(); _iter1313 != this->checkConstraints.end(); ++_iter1313) { - xfer += (*_iter1297).write(oprot); + xfer += (*_iter1313).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5616,10 +5616,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 _iter1298; - for (_iter1298 = (*(this->primaryKeys)).begin(); _iter1298 != (*(this->primaryKeys)).end(); ++_iter1298) + std::vector ::const_iterator _iter1314; + for (_iter1314 = (*(this->primaryKeys)).begin(); _iter1314 != (*(this->primaryKeys)).end(); ++_iter1314) { - xfer += (*_iter1298).write(oprot); + xfer += (*_iter1314).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5628,10 +5628,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 _iter1299; - for (_iter1299 = (*(this->foreignKeys)).begin(); _iter1299 != (*(this->foreignKeys)).end(); ++_iter1299) + std::vector ::const_iterator _iter1315; + for (_iter1315 = (*(this->foreignKeys)).begin(); _iter1315 != (*(this->foreignKeys)).end(); ++_iter1315) { - xfer += (*_iter1299).write(oprot); + xfer += (*_iter1315).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5640,10 +5640,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 _iter1300; - for (_iter1300 = (*(this->uniqueConstraints)).begin(); _iter1300 != (*(this->uniqueConstraints)).end(); ++_iter1300) + std::vector ::const_iterator _iter1316; + for (_iter1316 = (*(this->uniqueConstraints)).begin(); _iter1316 != (*(this->uniqueConstraints)).end(); ++_iter1316) { - xfer += (*_iter1300).write(oprot); + xfer += (*_iter1316).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5652,10 +5652,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 _iter1301; - for (_iter1301 = (*(this->notNullConstraints)).begin(); _iter1301 != (*(this->notNullConstraints)).end(); ++_iter1301) + std::vector ::const_iterator _iter1317; + for (_iter1317 = (*(this->notNullConstraints)).begin(); _iter1317 != (*(this->notNullConstraints)).end(); ++_iter1317) { - xfer += (*_iter1301).write(oprot); + xfer += (*_iter1317).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5664,10 +5664,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 _iter1302; - for (_iter1302 = (*(this->defaultConstraints)).begin(); _iter1302 != (*(this->defaultConstraints)).end(); ++_iter1302) + std::vector ::const_iterator _iter1318; + for (_iter1318 = (*(this->defaultConstraints)).begin(); _iter1318 != (*(this->defaultConstraints)).end(); ++_iter1318) { - xfer += (*_iter1302).write(oprot); + xfer += (*_iter1318).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5676,10 +5676,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("checkConstraints", ::apache::thrift::protocol::T_LIST, 7); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->checkConstraints)).size())); - std::vector ::const_iterator _iter1303; - for (_iter1303 = (*(this->checkConstraints)).begin(); _iter1303 != (*(this->checkConstraints)).end(); ++_iter1303) + std::vector ::const_iterator _iter1319; + for (_iter1319 = (*(this->checkConstraints)).begin(); _iter1319 != (*(this->checkConstraints)).end(); ++_iter1319) { - xfer += (*_iter1303).write(oprot); + xfer += (*_iter1319).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7847,14 +7847,14 @@ uint32_t ThriftHiveMetastore_truncate_table_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partNames.clear(); - uint32_t _size1304; - ::apache::thrift::protocol::TType _etype1307; - xfer += iprot->readListBegin(_etype1307, _size1304); - this->partNames.resize(_size1304); - uint32_t _i1308; - for (_i1308 = 0; _i1308 < _size1304; ++_i1308) + uint32_t _size1320; + ::apache::thrift::protocol::TType _etype1323; + xfer += iprot->readListBegin(_etype1323, _size1320); + this->partNames.resize(_size1320); + uint32_t _i1324; + for (_i1324 = 0; _i1324 < _size1320; ++_i1324) { - xfer += iprot->readString(this->partNames[_i1308]); + xfer += iprot->readString(this->partNames[_i1324]); } xfer += iprot->readListEnd(); } @@ -7891,10 +7891,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 _iter1309; - for (_iter1309 = this->partNames.begin(); _iter1309 != this->partNames.end(); ++_iter1309) + std::vector ::const_iterator _iter1325; + for (_iter1325 = this->partNames.begin(); _iter1325 != this->partNames.end(); ++_iter1325) { - xfer += oprot->writeString((*_iter1309)); + xfer += oprot->writeString((*_iter1325)); } xfer += oprot->writeListEnd(); } @@ -7926,10 +7926,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 _iter1310; - for (_iter1310 = (*(this->partNames)).begin(); _iter1310 != (*(this->partNames)).end(); ++_iter1310) + std::vector ::const_iterator _iter1326; + for (_iter1326 = (*(this->partNames)).begin(); _iter1326 != (*(this->partNames)).end(); ++_iter1326) { - xfer += oprot->writeString((*_iter1310)); + xfer += oprot->writeString((*_iter1326)); } xfer += oprot->writeListEnd(); } @@ -8173,14 +8173,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol: 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 _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[_i1315]); + xfer += iprot->readString(this->success[_i1331]); } xfer += iprot->readListEnd(); } @@ -8219,10 +8219,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 _iter1316; - for (_iter1316 = this->success.begin(); _iter1316 != this->success.end(); ++_iter1316) + std::vector ::const_iterator _iter1332; + for (_iter1332 = this->success.begin(); _iter1332 != this->success.end(); ++_iter1332) { - xfer += oprot->writeString((*_iter1316)); + xfer += oprot->writeString((*_iter1332)); } xfer += oprot->writeListEnd(); } @@ -8267,14 +8267,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol 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 _size1333; + ::apache::thrift::protocol::TType _etype1336; + xfer += iprot->readListBegin(_etype1336, _size1333); + (*(this->success)).resize(_size1333); + uint32_t _i1337; + for (_i1337 = 0; _i1337 < _size1333; ++_i1337) { - xfer += iprot->readString((*(this->success))[_i1321]); + xfer += iprot->readString((*(this->success))[_i1337]); } xfer += iprot->readListEnd(); } @@ -8444,14 +8444,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 _size1322; - ::apache::thrift::protocol::TType _etype1325; - xfer += iprot->readListBegin(_etype1325, _size1322); - this->success.resize(_size1322); - uint32_t _i1326; - for (_i1326 = 0; _i1326 < _size1322; ++_i1326) + uint32_t _size1338; + ::apache::thrift::protocol::TType _etype1341; + xfer += iprot->readListBegin(_etype1341, _size1338); + this->success.resize(_size1338); + uint32_t _i1342; + for (_i1342 = 0; _i1342 < _size1338; ++_i1342) { - xfer += iprot->readString(this->success[_i1326]); + xfer += iprot->readString(this->success[_i1342]); } xfer += iprot->readListEnd(); } @@ -8490,10 +8490,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 _iter1327; - for (_iter1327 = this->success.begin(); _iter1327 != this->success.end(); ++_iter1327) + std::vector ::const_iterator _iter1343; + for (_iter1343 = this->success.begin(); _iter1343 != this->success.end(); ++_iter1343) { - xfer += oprot->writeString((*_iter1327)); + xfer += oprot->writeString((*_iter1343)); } xfer += oprot->writeListEnd(); } @@ -8538,14 +8538,14 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_presult::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1328; - ::apache::thrift::protocol::TType _etype1331; - xfer += iprot->readListBegin(_etype1331, _size1328); - (*(this->success)).resize(_size1328); - uint32_t _i1332; - for (_i1332 = 0; _i1332 < _size1328; ++_i1332) + uint32_t _size1344; + ::apache::thrift::protocol::TType _etype1347; + xfer += iprot->readListBegin(_etype1347, _size1344); + (*(this->success)).resize(_size1344); + uint32_t _i1348; + for (_i1348 = 0; _i1348 < _size1344; ++_i1348) { - xfer += iprot->readString((*(this->success))[_i1332]); + xfer += iprot->readString((*(this->success))[_i1348]); } xfer += iprot->readListEnd(); } @@ -8683,14 +8683,14 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_result::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1333; - ::apache::thrift::protocol::TType _etype1336; - xfer += iprot->readListBegin(_etype1336, _size1333); - this->success.resize(_size1333); - uint32_t _i1337; - for (_i1337 = 0; _i1337 < _size1333; ++_i1337) + uint32_t _size1349; + ::apache::thrift::protocol::TType _etype1352; + xfer += iprot->readListBegin(_etype1352, _size1349); + this->success.resize(_size1349); + uint32_t _i1353; + for (_i1353 = 0; _i1353 < _size1349; ++_i1353) { - xfer += iprot->readString(this->success[_i1337]); + xfer += iprot->readString(this->success[_i1353]); } xfer += iprot->readListEnd(); } @@ -8729,10 +8729,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 _iter1338; - for (_iter1338 = this->success.begin(); _iter1338 != this->success.end(); ++_iter1338) + std::vector ::const_iterator _iter1354; + for (_iter1354 = this->success.begin(); _iter1354 != this->success.end(); ++_iter1354) { - xfer += oprot->writeString((*_iter1338)); + xfer += oprot->writeString((*_iter1354)); } xfer += oprot->writeListEnd(); } @@ -8777,14 +8777,14 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_presult::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1355; + ::apache::thrift::protocol::TType _etype1358; + xfer += iprot->readListBegin(_etype1358, _size1355); + (*(this->success)).resize(_size1355); + uint32_t _i1359; + for (_i1359 = 0; _i1359 < _size1355; ++_i1359) { - xfer += iprot->readString((*(this->success))[_i1343]); + xfer += iprot->readString((*(this->success))[_i1359]); } xfer += iprot->readListEnd(); } @@ -8859,14 +8859,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 _size1344; - ::apache::thrift::protocol::TType _etype1347; - xfer += iprot->readListBegin(_etype1347, _size1344); - this->tbl_types.resize(_size1344); - uint32_t _i1348; - for (_i1348 = 0; _i1348 < _size1344; ++_i1348) + uint32_t _size1360; + ::apache::thrift::protocol::TType _etype1363; + xfer += iprot->readListBegin(_etype1363, _size1360); + this->tbl_types.resize(_size1360); + uint32_t _i1364; + for (_i1364 = 0; _i1364 < _size1360; ++_i1364) { - xfer += iprot->readString(this->tbl_types[_i1348]); + xfer += iprot->readString(this->tbl_types[_i1364]); } xfer += iprot->readListEnd(); } @@ -8903,10 +8903,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 _iter1349; - for (_iter1349 = this->tbl_types.begin(); _iter1349 != this->tbl_types.end(); ++_iter1349) + std::vector ::const_iterator _iter1365; + for (_iter1365 = this->tbl_types.begin(); _iter1365 != this->tbl_types.end(); ++_iter1365) { - xfer += oprot->writeString((*_iter1349)); + xfer += oprot->writeString((*_iter1365)); } xfer += oprot->writeListEnd(); } @@ -8938,10 +8938,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 _iter1350; - for (_iter1350 = (*(this->tbl_types)).begin(); _iter1350 != (*(this->tbl_types)).end(); ++_iter1350) + std::vector ::const_iterator _iter1366; + for (_iter1366 = (*(this->tbl_types)).begin(); _iter1366 != (*(this->tbl_types)).end(); ++_iter1366) { - xfer += oprot->writeString((*_iter1350)); + xfer += oprot->writeString((*_iter1366)); } xfer += oprot->writeListEnd(); } @@ -8982,14 +8982,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1351; - ::apache::thrift::protocol::TType _etype1354; - xfer += iprot->readListBegin(_etype1354, _size1351); - this->success.resize(_size1351); - uint32_t _i1355; - for (_i1355 = 0; _i1355 < _size1351; ++_i1355) + uint32_t _size1367; + ::apache::thrift::protocol::TType _etype1370; + xfer += iprot->readListBegin(_etype1370, _size1367); + this->success.resize(_size1367); + uint32_t _i1371; + for (_i1371 = 0; _i1371 < _size1367; ++_i1371) { - xfer += this->success[_i1355].read(iprot); + xfer += this->success[_i1371].read(iprot); } xfer += iprot->readListEnd(); } @@ -9028,10 +9028,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 _iter1356; - for (_iter1356 = this->success.begin(); _iter1356 != this->success.end(); ++_iter1356) + std::vector ::const_iterator _iter1372; + for (_iter1372 = this->success.begin(); _iter1372 != this->success.end(); ++_iter1372) { - xfer += (*_iter1356).write(oprot); + xfer += (*_iter1372).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9076,14 +9076,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1357; - ::apache::thrift::protocol::TType _etype1360; - xfer += iprot->readListBegin(_etype1360, _size1357); - (*(this->success)).resize(_size1357); - uint32_t _i1361; - for (_i1361 = 0; _i1361 < _size1357; ++_i1361) + uint32_t _size1373; + ::apache::thrift::protocol::TType _etype1376; + xfer += iprot->readListBegin(_etype1376, _size1373); + (*(this->success)).resize(_size1373); + uint32_t _i1377; + for (_i1377 = 0; _i1377 < _size1373; ++_i1377) { - xfer += (*(this->success))[_i1361].read(iprot); + xfer += (*(this->success))[_i1377].read(iprot); } xfer += iprot->readListEnd(); } @@ -9221,14 +9221,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto 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 _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[_i1366]); + xfer += iprot->readString(this->success[_i1382]); } xfer += iprot->readListEnd(); } @@ -9267,10 +9267,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 _iter1367; - for (_iter1367 = this->success.begin(); _iter1367 != this->success.end(); ++_iter1367) + std::vector ::const_iterator _iter1383; + for (_iter1383 = this->success.begin(); _iter1383 != this->success.end(); ++_iter1383) { - xfer += oprot->writeString((*_iter1367)); + xfer += oprot->writeString((*_iter1383)); } xfer += oprot->writeListEnd(); } @@ -9315,14 +9315,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot 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 _size1384; + ::apache::thrift::protocol::TType _etype1387; + xfer += iprot->readListBegin(_etype1387, _size1384); + (*(this->success)).resize(_size1384); + uint32_t _i1388; + for (_i1388 = 0; _i1388 < _size1384; ++_i1388) { - xfer += iprot->readString((*(this->success))[_i1372]); + xfer += iprot->readString((*(this->success))[_i1388]); } xfer += iprot->readListEnd(); } @@ -9632,14 +9632,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 _size1373; - ::apache::thrift::protocol::TType _etype1376; - xfer += iprot->readListBegin(_etype1376, _size1373); - this->tbl_names.resize(_size1373); - uint32_t _i1377; - for (_i1377 = 0; _i1377 < _size1373; ++_i1377) + uint32_t _size1389; + ::apache::thrift::protocol::TType _etype1392; + xfer += iprot->readListBegin(_etype1392, _size1389); + this->tbl_names.resize(_size1389); + uint32_t _i1393; + for (_i1393 = 0; _i1393 < _size1389; ++_i1393) { - xfer += iprot->readString(this->tbl_names[_i1377]); + xfer += iprot->readString(this->tbl_names[_i1393]); } xfer += iprot->readListEnd(); } @@ -9672,10 +9672,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 _iter1378; - for (_iter1378 = this->tbl_names.begin(); _iter1378 != this->tbl_names.end(); ++_iter1378) + std::vector ::const_iterator _iter1394; + for (_iter1394 = this->tbl_names.begin(); _iter1394 != this->tbl_names.end(); ++_iter1394) { - xfer += oprot->writeString((*_iter1378)); + xfer += oprot->writeString((*_iter1394)); } xfer += oprot->writeListEnd(); } @@ -9703,10 +9703,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 _iter1379; - for (_iter1379 = (*(this->tbl_names)).begin(); _iter1379 != (*(this->tbl_names)).end(); ++_iter1379) + std::vector ::const_iterator _iter1395; + for (_iter1395 = (*(this->tbl_names)).begin(); _iter1395 != (*(this->tbl_names)).end(); ++_iter1395) { - xfer += oprot->writeString((*_iter1379)); + xfer += oprot->writeString((*_iter1395)); } xfer += oprot->writeListEnd(); } @@ -9747,14 +9747,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 _size1380; - ::apache::thrift::protocol::TType _etype1383; - xfer += iprot->readListBegin(_etype1383, _size1380); - this->success.resize(_size1380); - uint32_t _i1384; - for (_i1384 = 0; _i1384 < _size1380; ++_i1384) + uint32_t _size1396; + ::apache::thrift::protocol::TType _etype1399; + xfer += iprot->readListBegin(_etype1399, _size1396); + this->success.resize(_size1396); + uint32_t _i1400; + for (_i1400 = 0; _i1400 < _size1396; ++_i1400) { - xfer += this->success[_i1384].read(iprot); + xfer += this->success[_i1400].read(iprot); } xfer += iprot->readListEnd(); } @@ -9785,10 +9785,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 _iter1385; - for (_iter1385 = this->success.begin(); _iter1385 != this->success.end(); ++_iter1385) + std::vector
::const_iterator _iter1401; + for (_iter1401 = this->success.begin(); _iter1401 != this->success.end(); ++_iter1401) { - xfer += (*_iter1385).write(oprot); + xfer += (*_iter1401).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9829,14 +9829,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 _size1386; - ::apache::thrift::protocol::TType _etype1389; - xfer += iprot->readListBegin(_etype1389, _size1386); - (*(this->success)).resize(_size1386); - uint32_t _i1390; - for (_i1390 = 0; _i1390 < _size1386; ++_i1390) + uint32_t _size1402; + ::apache::thrift::protocol::TType _etype1405; + xfer += iprot->readListBegin(_etype1405, _size1402); + (*(this->success)).resize(_size1402); + uint32_t _i1406; + for (_i1406 = 0; _i1406 < _size1402; ++_i1406) { - xfer += (*(this->success))[_i1390].read(iprot); + xfer += (*(this->success))[_i1406].read(iprot); } xfer += iprot->readListEnd(); } @@ -10369,14 +10369,14 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_args::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_names.clear(); - uint32_t _size1391; - ::apache::thrift::protocol::TType _etype1394; - xfer += iprot->readListBegin(_etype1394, _size1391); - this->tbl_names.resize(_size1391); - uint32_t _i1395; - for (_i1395 = 0; _i1395 < _size1391; ++_i1395) + uint32_t _size1407; + ::apache::thrift::protocol::TType _etype1410; + xfer += iprot->readListBegin(_etype1410, _size1407); + this->tbl_names.resize(_size1407); + uint32_t _i1411; + for (_i1411 = 0; _i1411 < _size1407; ++_i1411) { - xfer += iprot->readString(this->tbl_names[_i1395]); + xfer += iprot->readString(this->tbl_names[_i1411]); } xfer += iprot->readListEnd(); } @@ -10409,10 +10409,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 _iter1396; - for (_iter1396 = this->tbl_names.begin(); _iter1396 != this->tbl_names.end(); ++_iter1396) + std::vector ::const_iterator _iter1412; + for (_iter1412 = this->tbl_names.begin(); _iter1412 != this->tbl_names.end(); ++_iter1412) { - xfer += oprot->writeString((*_iter1396)); + xfer += oprot->writeString((*_iter1412)); } xfer += oprot->writeListEnd(); } @@ -10440,10 +10440,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 _iter1397; - for (_iter1397 = (*(this->tbl_names)).begin(); _iter1397 != (*(this->tbl_names)).end(); ++_iter1397) + std::vector ::const_iterator _iter1413; + for (_iter1413 = (*(this->tbl_names)).begin(); _iter1413 != (*(this->tbl_names)).end(); ++_iter1413) { - xfer += oprot->writeString((*_iter1397)); + xfer += oprot->writeString((*_iter1413)); } xfer += oprot->writeListEnd(); } @@ -10484,17 +10484,17 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_result::read( if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1398; - ::apache::thrift::protocol::TType _ktype1399; - ::apache::thrift::protocol::TType _vtype1400; - xfer += iprot->readMapBegin(_ktype1399, _vtype1400, _size1398); - uint32_t _i1402; - for (_i1402 = 0; _i1402 < _size1398; ++_i1402) + uint32_t _size1414; + ::apache::thrift::protocol::TType _ktype1415; + ::apache::thrift::protocol::TType _vtype1416; + xfer += iprot->readMapBegin(_ktype1415, _vtype1416, _size1414); + uint32_t _i1418; + for (_i1418 = 0; _i1418 < _size1414; ++_i1418) { - std::string _key1403; - xfer += iprot->readString(_key1403); - Materialization& _val1404 = this->success[_key1403]; - xfer += _val1404.read(iprot); + std::string _key1419; + xfer += iprot->readString(_key1419); + Materialization& _val1420 = this->success[_key1419]; + xfer += _val1420.read(iprot); } xfer += iprot->readMapEnd(); } @@ -10549,11 +10549,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 _iter1405; - for (_iter1405 = this->success.begin(); _iter1405 != this->success.end(); ++_iter1405) + std::map ::const_iterator _iter1421; + for (_iter1421 = this->success.begin(); _iter1421 != this->success.end(); ++_iter1421) { - xfer += oprot->writeString(_iter1405->first); - xfer += _iter1405->second.write(oprot); + xfer += oprot->writeString(_iter1421->first); + xfer += _iter1421->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -10606,17 +10606,17 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_presult::read if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1406; - ::apache::thrift::protocol::TType _ktype1407; - ::apache::thrift::protocol::TType _vtype1408; - xfer += iprot->readMapBegin(_ktype1407, _vtype1408, _size1406); - uint32_t _i1410; - for (_i1410 = 0; _i1410 < _size1406; ++_i1410) + 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) { - std::string _key1411; - xfer += iprot->readString(_key1411); - Materialization& _val1412 = (*(this->success))[_key1411]; - xfer += _val1412.read(iprot); + std::string _key1427; + xfer += iprot->readString(_key1427); + Materialization& _val1428 = (*(this->success))[_key1427]; + xfer += _val1428.read(iprot); } xfer += iprot->readMapEnd(); } @@ -11077,14 +11077,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 _size1413; - ::apache::thrift::protocol::TType _etype1416; - xfer += iprot->readListBegin(_etype1416, _size1413); - this->success.resize(_size1413); - uint32_t _i1417; - for (_i1417 = 0; _i1417 < _size1413; ++_i1417) + uint32_t _size1429; + ::apache::thrift::protocol::TType _etype1432; + xfer += iprot->readListBegin(_etype1432, _size1429); + this->success.resize(_size1429); + uint32_t _i1433; + for (_i1433 = 0; _i1433 < _size1429; ++_i1433) { - xfer += iprot->readString(this->success[_i1417]); + xfer += iprot->readString(this->success[_i1433]); } xfer += iprot->readListEnd(); } @@ -11139,10 +11139,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 _iter1418; - for (_iter1418 = this->success.begin(); _iter1418 != this->success.end(); ++_iter1418) + std::vector ::const_iterator _iter1434; + for (_iter1434 = this->success.begin(); _iter1434 != this->success.end(); ++_iter1434) { - xfer += oprot->writeString((*_iter1418)); + xfer += oprot->writeString((*_iter1434)); } xfer += oprot->writeListEnd(); } @@ -11195,14 +11195,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 _size1419; - ::apache::thrift::protocol::TType _etype1422; - xfer += iprot->readListBegin(_etype1422, _size1419); - (*(this->success)).resize(_size1419); - uint32_t _i1423; - for (_i1423 = 0; _i1423 < _size1419; ++_i1423) + uint32_t _size1435; + ::apache::thrift::protocol::TType _etype1438; + xfer += iprot->readListBegin(_etype1438, _size1435); + (*(this->success)).resize(_size1435); + uint32_t _i1439; + for (_i1439 = 0; _i1439 < _size1435; ++_i1439) { - xfer += iprot->readString((*(this->success))[_i1423]); + xfer += iprot->readString((*(this->success))[_i1439]); } xfer += iprot->readListEnd(); } @@ -12536,14 +12536,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1424; - ::apache::thrift::protocol::TType _etype1427; - xfer += iprot->readListBegin(_etype1427, _size1424); - this->new_parts.resize(_size1424); - uint32_t _i1428; - for (_i1428 = 0; _i1428 < _size1424; ++_i1428) + uint32_t _size1440; + ::apache::thrift::protocol::TType _etype1443; + xfer += iprot->readListBegin(_etype1443, _size1440); + this->new_parts.resize(_size1440); + uint32_t _i1444; + for (_i1444 = 0; _i1444 < _size1440; ++_i1444) { - xfer += this->new_parts[_i1428].read(iprot); + xfer += this->new_parts[_i1444].read(iprot); } xfer += iprot->readListEnd(); } @@ -12572,10 +12572,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 _iter1429; - for (_iter1429 = this->new_parts.begin(); _iter1429 != this->new_parts.end(); ++_iter1429) + std::vector ::const_iterator _iter1445; + for (_iter1445 = this->new_parts.begin(); _iter1445 != this->new_parts.end(); ++_iter1445) { - xfer += (*_iter1429).write(oprot); + xfer += (*_iter1445).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12599,10 +12599,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 _iter1430; - for (_iter1430 = (*(this->new_parts)).begin(); _iter1430 != (*(this->new_parts)).end(); ++_iter1430) + std::vector ::const_iterator _iter1446; + for (_iter1446 = (*(this->new_parts)).begin(); _iter1446 != (*(this->new_parts)).end(); ++_iter1446) { - xfer += (*_iter1430).write(oprot); + xfer += (*_iter1446).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12811,14 +12811,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 _size1431; - ::apache::thrift::protocol::TType _etype1434; - xfer += iprot->readListBegin(_etype1434, _size1431); - this->new_parts.resize(_size1431); - uint32_t _i1435; - for (_i1435 = 0; _i1435 < _size1431; ++_i1435) + uint32_t _size1447; + ::apache::thrift::protocol::TType _etype1450; + xfer += iprot->readListBegin(_etype1450, _size1447); + this->new_parts.resize(_size1447); + uint32_t _i1451; + for (_i1451 = 0; _i1451 < _size1447; ++_i1451) { - xfer += this->new_parts[_i1435].read(iprot); + xfer += this->new_parts[_i1451].read(iprot); } xfer += iprot->readListEnd(); } @@ -12847,10 +12847,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 _iter1436; - for (_iter1436 = this->new_parts.begin(); _iter1436 != this->new_parts.end(); ++_iter1436) + std::vector ::const_iterator _iter1452; + for (_iter1452 = this->new_parts.begin(); _iter1452 != this->new_parts.end(); ++_iter1452) { - xfer += (*_iter1436).write(oprot); + xfer += (*_iter1452).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12874,10 +12874,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 _iter1437; - for (_iter1437 = (*(this->new_parts)).begin(); _iter1437 != (*(this->new_parts)).end(); ++_iter1437) + std::vector ::const_iterator _iter1453; + for (_iter1453 = (*(this->new_parts)).begin(); _iter1453 != (*(this->new_parts)).end(); ++_iter1453) { - xfer += (*_iter1437).write(oprot); + xfer += (*_iter1453).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13102,14 +13102,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1438; - ::apache::thrift::protocol::TType _etype1441; - xfer += iprot->readListBegin(_etype1441, _size1438); - this->part_vals.resize(_size1438); - uint32_t _i1442; - for (_i1442 = 0; _i1442 < _size1438; ++_i1442) + uint32_t _size1454; + ::apache::thrift::protocol::TType _etype1457; + xfer += iprot->readListBegin(_etype1457, _size1454); + this->part_vals.resize(_size1454); + uint32_t _i1458; + for (_i1458 = 0; _i1458 < _size1454; ++_i1458) { - xfer += iprot->readString(this->part_vals[_i1442]); + xfer += iprot->readString(this->part_vals[_i1458]); } xfer += iprot->readListEnd(); } @@ -13146,10 +13146,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 _iter1443; - for (_iter1443 = this->part_vals.begin(); _iter1443 != this->part_vals.end(); ++_iter1443) + std::vector ::const_iterator _iter1459; + for (_iter1459 = this->part_vals.begin(); _iter1459 != this->part_vals.end(); ++_iter1459) { - xfer += oprot->writeString((*_iter1443)); + xfer += oprot->writeString((*_iter1459)); } xfer += oprot->writeListEnd(); } @@ -13181,10 +13181,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 _iter1444; - for (_iter1444 = (*(this->part_vals)).begin(); _iter1444 != (*(this->part_vals)).end(); ++_iter1444) + std::vector ::const_iterator _iter1460; + for (_iter1460 = (*(this->part_vals)).begin(); _iter1460 != (*(this->part_vals)).end(); ++_iter1460) { - xfer += oprot->writeString((*_iter1444)); + xfer += oprot->writeString((*_iter1460)); } xfer += oprot->writeListEnd(); } @@ -13656,14 +13656,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1445; - ::apache::thrift::protocol::TType _etype1448; - xfer += iprot->readListBegin(_etype1448, _size1445); - this->part_vals.resize(_size1445); - uint32_t _i1449; - for (_i1449 = 0; _i1449 < _size1445; ++_i1449) + 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[_i1449]); + xfer += iprot->readString(this->part_vals[_i1465]); } xfer += iprot->readListEnd(); } @@ -13708,10 +13708,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 _iter1450; - for (_iter1450 = this->part_vals.begin(); _iter1450 != this->part_vals.end(); ++_iter1450) + std::vector ::const_iterator _iter1466; + for (_iter1466 = this->part_vals.begin(); _iter1466 != this->part_vals.end(); ++_iter1466) { - xfer += oprot->writeString((*_iter1450)); + xfer += oprot->writeString((*_iter1466)); } xfer += oprot->writeListEnd(); } @@ -13747,10 +13747,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 _iter1451; - for (_iter1451 = (*(this->part_vals)).begin(); _iter1451 != (*(this->part_vals)).end(); ++_iter1451) + std::vector ::const_iterator _iter1467; + for (_iter1467 = (*(this->part_vals)).begin(); _iter1467 != (*(this->part_vals)).end(); ++_iter1467) { - xfer += oprot->writeString((*_iter1451)); + xfer += oprot->writeString((*_iter1467)); } xfer += oprot->writeListEnd(); } @@ -14553,14 +14553,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1452; - ::apache::thrift::protocol::TType _etype1455; - xfer += iprot->readListBegin(_etype1455, _size1452); - this->part_vals.resize(_size1452); - uint32_t _i1456; - for (_i1456 = 0; _i1456 < _size1452; ++_i1456) + uint32_t _size1468; + ::apache::thrift::protocol::TType _etype1471; + xfer += iprot->readListBegin(_etype1471, _size1468); + this->part_vals.resize(_size1468); + uint32_t _i1472; + for (_i1472 = 0; _i1472 < _size1468; ++_i1472) { - xfer += iprot->readString(this->part_vals[_i1456]); + xfer += iprot->readString(this->part_vals[_i1472]); } xfer += iprot->readListEnd(); } @@ -14605,10 +14605,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 _iter1457; - for (_iter1457 = this->part_vals.begin(); _iter1457 != this->part_vals.end(); ++_iter1457) + std::vector ::const_iterator _iter1473; + for (_iter1473 = this->part_vals.begin(); _iter1473 != this->part_vals.end(); ++_iter1473) { - xfer += oprot->writeString((*_iter1457)); + xfer += oprot->writeString((*_iter1473)); } xfer += oprot->writeListEnd(); } @@ -14644,10 +14644,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 _iter1458; - for (_iter1458 = (*(this->part_vals)).begin(); _iter1458 != (*(this->part_vals)).end(); ++_iter1458) + std::vector ::const_iterator _iter1474; + for (_iter1474 = (*(this->part_vals)).begin(); _iter1474 != (*(this->part_vals)).end(); ++_iter1474) { - xfer += oprot->writeString((*_iter1458)); + xfer += oprot->writeString((*_iter1474)); } xfer += oprot->writeListEnd(); } @@ -14856,14 +14856,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1459; - ::apache::thrift::protocol::TType _etype1462; - xfer += iprot->readListBegin(_etype1462, _size1459); - this->part_vals.resize(_size1459); - uint32_t _i1463; - for (_i1463 = 0; _i1463 < _size1459; ++_i1463) + uint32_t _size1475; + ::apache::thrift::protocol::TType _etype1478; + xfer += iprot->readListBegin(_etype1478, _size1475); + this->part_vals.resize(_size1475); + uint32_t _i1479; + for (_i1479 = 0; _i1479 < _size1475; ++_i1479) { - xfer += iprot->readString(this->part_vals[_i1463]); + xfer += iprot->readString(this->part_vals[_i1479]); } xfer += iprot->readListEnd(); } @@ -14916,10 +14916,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 _iter1464; - for (_iter1464 = this->part_vals.begin(); _iter1464 != this->part_vals.end(); ++_iter1464) + std::vector ::const_iterator _iter1480; + for (_iter1480 = this->part_vals.begin(); _iter1480 != this->part_vals.end(); ++_iter1480) { - xfer += oprot->writeString((*_iter1464)); + xfer += oprot->writeString((*_iter1480)); } xfer += oprot->writeListEnd(); } @@ -14959,10 +14959,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 _iter1465; - for (_iter1465 = (*(this->part_vals)).begin(); _iter1465 != (*(this->part_vals)).end(); ++_iter1465) + std::vector ::const_iterator _iter1481; + for (_iter1481 = (*(this->part_vals)).begin(); _iter1481 != (*(this->part_vals)).end(); ++_iter1481) { - xfer += oprot->writeString((*_iter1465)); + xfer += oprot->writeString((*_iter1481)); } xfer += oprot->writeListEnd(); } @@ -15968,14 +15968,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1466; - ::apache::thrift::protocol::TType _etype1469; - xfer += iprot->readListBegin(_etype1469, _size1466); - this->part_vals.resize(_size1466); - uint32_t _i1470; - for (_i1470 = 0; _i1470 < _size1466; ++_i1470) + uint32_t _size1482; + ::apache::thrift::protocol::TType _etype1485; + xfer += iprot->readListBegin(_etype1485, _size1482); + this->part_vals.resize(_size1482); + uint32_t _i1486; + for (_i1486 = 0; _i1486 < _size1482; ++_i1486) { - xfer += iprot->readString(this->part_vals[_i1470]); + xfer += iprot->readString(this->part_vals[_i1486]); } xfer += iprot->readListEnd(); } @@ -16012,10 +16012,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 _iter1471; - for (_iter1471 = this->part_vals.begin(); _iter1471 != this->part_vals.end(); ++_iter1471) + std::vector ::const_iterator _iter1487; + for (_iter1487 = this->part_vals.begin(); _iter1487 != this->part_vals.end(); ++_iter1487) { - xfer += oprot->writeString((*_iter1471)); + xfer += oprot->writeString((*_iter1487)); } xfer += oprot->writeListEnd(); } @@ -16047,10 +16047,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 _iter1472; - for (_iter1472 = (*(this->part_vals)).begin(); _iter1472 != (*(this->part_vals)).end(); ++_iter1472) + std::vector ::const_iterator _iter1488; + for (_iter1488 = (*(this->part_vals)).begin(); _iter1488 != (*(this->part_vals)).end(); ++_iter1488) { - xfer += oprot->writeString((*_iter1472)); + xfer += oprot->writeString((*_iter1488)); } xfer += oprot->writeListEnd(); } @@ -16239,17 +16239,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1473; - ::apache::thrift::protocol::TType _ktype1474; - ::apache::thrift::protocol::TType _vtype1475; - xfer += iprot->readMapBegin(_ktype1474, _vtype1475, _size1473); - uint32_t _i1477; - for (_i1477 = 0; _i1477 < _size1473; ++_i1477) + uint32_t _size1489; + ::apache::thrift::protocol::TType _ktype1490; + ::apache::thrift::protocol::TType _vtype1491; + xfer += iprot->readMapBegin(_ktype1490, _vtype1491, _size1489); + uint32_t _i1493; + for (_i1493 = 0; _i1493 < _size1489; ++_i1493) { - std::string _key1478; - xfer += iprot->readString(_key1478); - std::string& _val1479 = this->partitionSpecs[_key1478]; - xfer += iprot->readString(_val1479); + std::string _key1494; + xfer += iprot->readString(_key1494); + std::string& _val1495 = this->partitionSpecs[_key1494]; + xfer += iprot->readString(_val1495); } xfer += iprot->readMapEnd(); } @@ -16310,11 +16310,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 _iter1480; - for (_iter1480 = this->partitionSpecs.begin(); _iter1480 != this->partitionSpecs.end(); ++_iter1480) + std::map ::const_iterator _iter1496; + for (_iter1496 = this->partitionSpecs.begin(); _iter1496 != this->partitionSpecs.end(); ++_iter1496) { - xfer += oprot->writeString(_iter1480->first); - xfer += oprot->writeString(_iter1480->second); + xfer += oprot->writeString(_iter1496->first); + xfer += oprot->writeString(_iter1496->second); } xfer += oprot->writeMapEnd(); } @@ -16354,11 +16354,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 _iter1481; - for (_iter1481 = (*(this->partitionSpecs)).begin(); _iter1481 != (*(this->partitionSpecs)).end(); ++_iter1481) + std::map ::const_iterator _iter1497; + for (_iter1497 = (*(this->partitionSpecs)).begin(); _iter1497 != (*(this->partitionSpecs)).end(); ++_iter1497) { - xfer += oprot->writeString(_iter1481->first); - xfer += oprot->writeString(_iter1481->second); + xfer += oprot->writeString(_iter1497->first); + xfer += oprot->writeString(_iter1497->second); } xfer += oprot->writeMapEnd(); } @@ -16603,17 +16603,17 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1482; - ::apache::thrift::protocol::TType _ktype1483; - ::apache::thrift::protocol::TType _vtype1484; - xfer += iprot->readMapBegin(_ktype1483, _vtype1484, _size1482); - uint32_t _i1486; - for (_i1486 = 0; _i1486 < _size1482; ++_i1486) + uint32_t _size1498; + ::apache::thrift::protocol::TType _ktype1499; + ::apache::thrift::protocol::TType _vtype1500; + xfer += iprot->readMapBegin(_ktype1499, _vtype1500, _size1498); + uint32_t _i1502; + for (_i1502 = 0; _i1502 < _size1498; ++_i1502) { - std::string _key1487; - xfer += iprot->readString(_key1487); - std::string& _val1488 = this->partitionSpecs[_key1487]; - xfer += iprot->readString(_val1488); + std::string _key1503; + xfer += iprot->readString(_key1503); + std::string& _val1504 = this->partitionSpecs[_key1503]; + xfer += iprot->readString(_val1504); } xfer += iprot->readMapEnd(); } @@ -16674,11 +16674,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 _iter1489; - for (_iter1489 = this->partitionSpecs.begin(); _iter1489 != this->partitionSpecs.end(); ++_iter1489) + std::map ::const_iterator _iter1505; + for (_iter1505 = this->partitionSpecs.begin(); _iter1505 != this->partitionSpecs.end(); ++_iter1505) { - xfer += oprot->writeString(_iter1489->first); - xfer += oprot->writeString(_iter1489->second); + xfer += oprot->writeString(_iter1505->first); + xfer += oprot->writeString(_iter1505->second); } xfer += oprot->writeMapEnd(); } @@ -16718,11 +16718,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 _iter1490; - for (_iter1490 = (*(this->partitionSpecs)).begin(); _iter1490 != (*(this->partitionSpecs)).end(); ++_iter1490) + std::map ::const_iterator _iter1506; + for (_iter1506 = (*(this->partitionSpecs)).begin(); _iter1506 != (*(this->partitionSpecs)).end(); ++_iter1506) { - xfer += oprot->writeString(_iter1490->first); - xfer += oprot->writeString(_iter1490->second); + xfer += oprot->writeString(_iter1506->first); + xfer += oprot->writeString(_iter1506->second); } xfer += oprot->writeMapEnd(); } @@ -16779,14 +16779,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1491; - ::apache::thrift::protocol::TType _etype1494; - xfer += iprot->readListBegin(_etype1494, _size1491); - this->success.resize(_size1491); - uint32_t _i1495; - for (_i1495 = 0; _i1495 < _size1491; ++_i1495) + uint32_t _size1507; + ::apache::thrift::protocol::TType _etype1510; + xfer += iprot->readListBegin(_etype1510, _size1507); + this->success.resize(_size1507); + uint32_t _i1511; + for (_i1511 = 0; _i1511 < _size1507; ++_i1511) { - xfer += this->success[_i1495].read(iprot); + xfer += this->success[_i1511].read(iprot); } xfer += iprot->readListEnd(); } @@ -16849,10 +16849,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 _iter1496; - for (_iter1496 = this->success.begin(); _iter1496 != this->success.end(); ++_iter1496) + std::vector ::const_iterator _iter1512; + for (_iter1512 = this->success.begin(); _iter1512 != this->success.end(); ++_iter1512) { - xfer += (*_iter1496).write(oprot); + xfer += (*_iter1512).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16909,14 +16909,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1497; - ::apache::thrift::protocol::TType _etype1500; - xfer += iprot->readListBegin(_etype1500, _size1497); - (*(this->success)).resize(_size1497); - uint32_t _i1501; - for (_i1501 = 0; _i1501 < _size1497; ++_i1501) + uint32_t _size1513; + ::apache::thrift::protocol::TType _etype1516; + xfer += iprot->readListBegin(_etype1516, _size1513); + (*(this->success)).resize(_size1513); + uint32_t _i1517; + for (_i1517 = 0; _i1517 < _size1513; ++_i1517) { - xfer += (*(this->success))[_i1501].read(iprot); + xfer += (*(this->success))[_i1517].read(iprot); } xfer += iprot->readListEnd(); } @@ -17015,14 +17015,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 _size1502; - ::apache::thrift::protocol::TType _etype1505; - xfer += iprot->readListBegin(_etype1505, _size1502); - this->part_vals.resize(_size1502); - uint32_t _i1506; - for (_i1506 = 0; _i1506 < _size1502; ++_i1506) + uint32_t _size1518; + ::apache::thrift::protocol::TType _etype1521; + xfer += iprot->readListBegin(_etype1521, _size1518); + this->part_vals.resize(_size1518); + uint32_t _i1522; + for (_i1522 = 0; _i1522 < _size1518; ++_i1522) { - xfer += iprot->readString(this->part_vals[_i1506]); + xfer += iprot->readString(this->part_vals[_i1522]); } xfer += iprot->readListEnd(); } @@ -17043,14 +17043,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 _size1507; - ::apache::thrift::protocol::TType _etype1510; - xfer += iprot->readListBegin(_etype1510, _size1507); - this->group_names.resize(_size1507); - uint32_t _i1511; - for (_i1511 = 0; _i1511 < _size1507; ++_i1511) + uint32_t _size1523; + ::apache::thrift::protocol::TType _etype1526; + xfer += iprot->readListBegin(_etype1526, _size1523); + this->group_names.resize(_size1523); + uint32_t _i1527; + for (_i1527 = 0; _i1527 < _size1523; ++_i1527) { - xfer += iprot->readString(this->group_names[_i1511]); + xfer += iprot->readString(this->group_names[_i1527]); } xfer += iprot->readListEnd(); } @@ -17087,10 +17087,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 _iter1512; - for (_iter1512 = this->part_vals.begin(); _iter1512 != this->part_vals.end(); ++_iter1512) + std::vector ::const_iterator _iter1528; + for (_iter1528 = this->part_vals.begin(); _iter1528 != this->part_vals.end(); ++_iter1528) { - xfer += oprot->writeString((*_iter1512)); + xfer += oprot->writeString((*_iter1528)); } xfer += oprot->writeListEnd(); } @@ -17103,10 +17103,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 _iter1513; - for (_iter1513 = this->group_names.begin(); _iter1513 != this->group_names.end(); ++_iter1513) + std::vector ::const_iterator _iter1529; + for (_iter1529 = this->group_names.begin(); _iter1529 != this->group_names.end(); ++_iter1529) { - xfer += oprot->writeString((*_iter1513)); + xfer += oprot->writeString((*_iter1529)); } xfer += oprot->writeListEnd(); } @@ -17138,10 +17138,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 _iter1514; - for (_iter1514 = (*(this->part_vals)).begin(); _iter1514 != (*(this->part_vals)).end(); ++_iter1514) + std::vector ::const_iterator _iter1530; + for (_iter1530 = (*(this->part_vals)).begin(); _iter1530 != (*(this->part_vals)).end(); ++_iter1530) { - xfer += oprot->writeString((*_iter1514)); + xfer += oprot->writeString((*_iter1530)); } xfer += oprot->writeListEnd(); } @@ -17154,10 +17154,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 _iter1515; - for (_iter1515 = (*(this->group_names)).begin(); _iter1515 != (*(this->group_names)).end(); ++_iter1515) + std::vector ::const_iterator _iter1531; + for (_iter1531 = (*(this->group_names)).begin(); _iter1531 != (*(this->group_names)).end(); ++_iter1531) { - xfer += oprot->writeString((*_iter1515)); + xfer += oprot->writeString((*_iter1531)); } xfer += oprot->writeListEnd(); } @@ -17716,14 +17716,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1516; - ::apache::thrift::protocol::TType _etype1519; - xfer += iprot->readListBegin(_etype1519, _size1516); - this->success.resize(_size1516); - uint32_t _i1520; - for (_i1520 = 0; _i1520 < _size1516; ++_i1520) + uint32_t _size1532; + ::apache::thrift::protocol::TType _etype1535; + xfer += iprot->readListBegin(_etype1535, _size1532); + this->success.resize(_size1532); + uint32_t _i1536; + for (_i1536 = 0; _i1536 < _size1532; ++_i1536) { - xfer += this->success[_i1520].read(iprot); + xfer += this->success[_i1536].read(iprot); } xfer += iprot->readListEnd(); } @@ -17770,10 +17770,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 _iter1521; - for (_iter1521 = this->success.begin(); _iter1521 != this->success.end(); ++_iter1521) + std::vector ::const_iterator _iter1537; + for (_iter1537 = this->success.begin(); _iter1537 != this->success.end(); ++_iter1537) { - xfer += (*_iter1521).write(oprot); + xfer += (*_iter1537).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17822,14 +17822,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1522; - ::apache::thrift::protocol::TType _etype1525; - xfer += iprot->readListBegin(_etype1525, _size1522); - (*(this->success)).resize(_size1522); - uint32_t _i1526; - for (_i1526 = 0; _i1526 < _size1522; ++_i1526) + uint32_t _size1538; + ::apache::thrift::protocol::TType _etype1541; + xfer += iprot->readListBegin(_etype1541, _size1538); + (*(this->success)).resize(_size1538); + uint32_t _i1542; + for (_i1542 = 0; _i1542 < _size1538; ++_i1542) { - xfer += (*(this->success))[_i1526].read(iprot); + xfer += (*(this->success))[_i1542].read(iprot); } xfer += iprot->readListEnd(); } @@ -17928,14 +17928,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 _size1527; - ::apache::thrift::protocol::TType _etype1530; - xfer += iprot->readListBegin(_etype1530, _size1527); - this->group_names.resize(_size1527); - uint32_t _i1531; - for (_i1531 = 0; _i1531 < _size1527; ++_i1531) + uint32_t _size1543; + ::apache::thrift::protocol::TType _etype1546; + xfer += iprot->readListBegin(_etype1546, _size1543); + this->group_names.resize(_size1543); + uint32_t _i1547; + for (_i1547 = 0; _i1547 < _size1543; ++_i1547) { - xfer += iprot->readString(this->group_names[_i1531]); + xfer += iprot->readString(this->group_names[_i1547]); } xfer += iprot->readListEnd(); } @@ -17980,10 +17980,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 _iter1532; - for (_iter1532 = this->group_names.begin(); _iter1532 != this->group_names.end(); ++_iter1532) + std::vector ::const_iterator _iter1548; + for (_iter1548 = this->group_names.begin(); _iter1548 != this->group_names.end(); ++_iter1548) { - xfer += oprot->writeString((*_iter1532)); + xfer += oprot->writeString((*_iter1548)); } xfer += oprot->writeListEnd(); } @@ -18023,10 +18023,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 _iter1533; - for (_iter1533 = (*(this->group_names)).begin(); _iter1533 != (*(this->group_names)).end(); ++_iter1533) + std::vector ::const_iterator _iter1549; + for (_iter1549 = (*(this->group_names)).begin(); _iter1549 != (*(this->group_names)).end(); ++_iter1549) { - xfer += oprot->writeString((*_iter1533)); + xfer += oprot->writeString((*_iter1549)); } xfer += oprot->writeListEnd(); } @@ -18067,14 +18067,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1534; - ::apache::thrift::protocol::TType _etype1537; - xfer += iprot->readListBegin(_etype1537, _size1534); - this->success.resize(_size1534); - uint32_t _i1538; - for (_i1538 = 0; _i1538 < _size1534; ++_i1538) + uint32_t _size1550; + ::apache::thrift::protocol::TType _etype1553; + xfer += iprot->readListBegin(_etype1553, _size1550); + this->success.resize(_size1550); + uint32_t _i1554; + for (_i1554 = 0; _i1554 < _size1550; ++_i1554) { - xfer += this->success[_i1538].read(iprot); + xfer += this->success[_i1554].read(iprot); } xfer += iprot->readListEnd(); } @@ -18121,10 +18121,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 _iter1539; - for (_iter1539 = this->success.begin(); _iter1539 != this->success.end(); ++_iter1539) + std::vector ::const_iterator _iter1555; + for (_iter1555 = this->success.begin(); _iter1555 != this->success.end(); ++_iter1555) { - xfer += (*_iter1539).write(oprot); + xfer += (*_iter1555).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18173,14 +18173,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1540; - ::apache::thrift::protocol::TType _etype1543; - xfer += iprot->readListBegin(_etype1543, _size1540); - (*(this->success)).resize(_size1540); - uint32_t _i1544; - for (_i1544 = 0; _i1544 < _size1540; ++_i1544) + uint32_t _size1556; + ::apache::thrift::protocol::TType _etype1559; + xfer += iprot->readListBegin(_etype1559, _size1556); + (*(this->success)).resize(_size1556); + uint32_t _i1560; + for (_i1560 = 0; _i1560 < _size1556; ++_i1560) { - xfer += (*(this->success))[_i1544].read(iprot); + xfer += (*(this->success))[_i1560].read(iprot); } xfer += iprot->readListEnd(); } @@ -18358,14 +18358,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1545; - ::apache::thrift::protocol::TType _etype1548; - xfer += iprot->readListBegin(_etype1548, _size1545); - this->success.resize(_size1545); - uint32_t _i1549; - for (_i1549 = 0; _i1549 < _size1545; ++_i1549) + uint32_t _size1561; + ::apache::thrift::protocol::TType _etype1564; + xfer += iprot->readListBegin(_etype1564, _size1561); + this->success.resize(_size1561); + uint32_t _i1565; + for (_i1565 = 0; _i1565 < _size1561; ++_i1565) { - xfer += this->success[_i1549].read(iprot); + xfer += this->success[_i1565].read(iprot); } xfer += iprot->readListEnd(); } @@ -18412,10 +18412,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 _iter1550; - for (_iter1550 = this->success.begin(); _iter1550 != this->success.end(); ++_iter1550) + std::vector ::const_iterator _iter1566; + for (_iter1566 = this->success.begin(); _iter1566 != this->success.end(); ++_iter1566) { - xfer += (*_iter1550).write(oprot); + xfer += (*_iter1566).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18464,14 +18464,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1551; - ::apache::thrift::protocol::TType _etype1554; - xfer += iprot->readListBegin(_etype1554, _size1551); - (*(this->success)).resize(_size1551); - uint32_t _i1555; - for (_i1555 = 0; _i1555 < _size1551; ++_i1555) + uint32_t _size1567; + ::apache::thrift::protocol::TType _etype1570; + xfer += iprot->readListBegin(_etype1570, _size1567); + (*(this->success)).resize(_size1567); + uint32_t _i1571; + for (_i1571 = 0; _i1571 < _size1567; ++_i1571) { - xfer += (*(this->success))[_i1555].read(iprot); + xfer += (*(this->success))[_i1571].read(iprot); } xfer += iprot->readListEnd(); } @@ -18649,14 +18649,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1556; - ::apache::thrift::protocol::TType _etype1559; - xfer += iprot->readListBegin(_etype1559, _size1556); - this->success.resize(_size1556); - uint32_t _i1560; - for (_i1560 = 0; _i1560 < _size1556; ++_i1560) + uint32_t _size1572; + ::apache::thrift::protocol::TType _etype1575; + xfer += iprot->readListBegin(_etype1575, _size1572); + this->success.resize(_size1572); + uint32_t _i1576; + for (_i1576 = 0; _i1576 < _size1572; ++_i1576) { - xfer += iprot->readString(this->success[_i1560]); + xfer += iprot->readString(this->success[_i1576]); } xfer += iprot->readListEnd(); } @@ -18703,10 +18703,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 _iter1561; - for (_iter1561 = this->success.begin(); _iter1561 != this->success.end(); ++_iter1561) + std::vector ::const_iterator _iter1577; + for (_iter1577 = this->success.begin(); _iter1577 != this->success.end(); ++_iter1577) { - xfer += oprot->writeString((*_iter1561)); + xfer += oprot->writeString((*_iter1577)); } xfer += oprot->writeListEnd(); } @@ -18755,14 +18755,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1562; - ::apache::thrift::protocol::TType _etype1565; - xfer += iprot->readListBegin(_etype1565, _size1562); - (*(this->success)).resize(_size1562); - uint32_t _i1566; - for (_i1566 = 0; _i1566 < _size1562; ++_i1566) + uint32_t _size1578; + ::apache::thrift::protocol::TType _etype1581; + xfer += iprot->readListBegin(_etype1581, _size1578); + (*(this->success)).resize(_size1578); + uint32_t _i1582; + for (_i1582 = 0; _i1582 < _size1578; ++_i1582) { - xfer += iprot->readString((*(this->success))[_i1566]); + xfer += iprot->readString((*(this->success))[_i1582]); } xfer += iprot->readListEnd(); } @@ -19072,14 +19072,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 _size1567; - ::apache::thrift::protocol::TType _etype1570; - xfer += iprot->readListBegin(_etype1570, _size1567); - this->part_vals.resize(_size1567); - uint32_t _i1571; - for (_i1571 = 0; _i1571 < _size1567; ++_i1571) + uint32_t _size1583; + ::apache::thrift::protocol::TType _etype1586; + xfer += iprot->readListBegin(_etype1586, _size1583); + this->part_vals.resize(_size1583); + uint32_t _i1587; + for (_i1587 = 0; _i1587 < _size1583; ++_i1587) { - xfer += iprot->readString(this->part_vals[_i1571]); + xfer += iprot->readString(this->part_vals[_i1587]); } xfer += iprot->readListEnd(); } @@ -19124,10 +19124,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 _iter1572; - for (_iter1572 = this->part_vals.begin(); _iter1572 != this->part_vals.end(); ++_iter1572) + std::vector ::const_iterator _iter1588; + for (_iter1588 = this->part_vals.begin(); _iter1588 != this->part_vals.end(); ++_iter1588) { - xfer += oprot->writeString((*_iter1572)); + xfer += oprot->writeString((*_iter1588)); } xfer += oprot->writeListEnd(); } @@ -19163,10 +19163,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 _iter1573; - for (_iter1573 = (*(this->part_vals)).begin(); _iter1573 != (*(this->part_vals)).end(); ++_iter1573) + std::vector ::const_iterator _iter1589; + for (_iter1589 = (*(this->part_vals)).begin(); _iter1589 != (*(this->part_vals)).end(); ++_iter1589) { - xfer += oprot->writeString((*_iter1573)); + xfer += oprot->writeString((*_iter1589)); } xfer += oprot->writeListEnd(); } @@ -19211,14 +19211,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1574; - ::apache::thrift::protocol::TType _etype1577; - xfer += iprot->readListBegin(_etype1577, _size1574); - this->success.resize(_size1574); - uint32_t _i1578; - for (_i1578 = 0; _i1578 < _size1574; ++_i1578) + uint32_t _size1590; + ::apache::thrift::protocol::TType _etype1593; + xfer += iprot->readListBegin(_etype1593, _size1590); + this->success.resize(_size1590); + uint32_t _i1594; + for (_i1594 = 0; _i1594 < _size1590; ++_i1594) { - xfer += this->success[_i1578].read(iprot); + xfer += this->success[_i1594].read(iprot); } xfer += iprot->readListEnd(); } @@ -19265,10 +19265,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 _iter1579; - for (_iter1579 = this->success.begin(); _iter1579 != this->success.end(); ++_iter1579) + std::vector ::const_iterator _iter1595; + for (_iter1595 = this->success.begin(); _iter1595 != this->success.end(); ++_iter1595) { - xfer += (*_iter1579).write(oprot); + xfer += (*_iter1595).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19317,14 +19317,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1580; - ::apache::thrift::protocol::TType _etype1583; - xfer += iprot->readListBegin(_etype1583, _size1580); - (*(this->success)).resize(_size1580); - uint32_t _i1584; - for (_i1584 = 0; _i1584 < _size1580; ++_i1584) + uint32_t _size1596; + ::apache::thrift::protocol::TType _etype1599; + xfer += iprot->readListBegin(_etype1599, _size1596); + (*(this->success)).resize(_size1596); + uint32_t _i1600; + for (_i1600 = 0; _i1600 < _size1596; ++_i1600) { - xfer += (*(this->success))[_i1584].read(iprot); + xfer += (*(this->success))[_i1600].read(iprot); } xfer += iprot->readListEnd(); } @@ -19407,14 +19407,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 _size1585; - ::apache::thrift::protocol::TType _etype1588; - xfer += iprot->readListBegin(_etype1588, _size1585); - this->part_vals.resize(_size1585); - uint32_t _i1589; - for (_i1589 = 0; _i1589 < _size1585; ++_i1589) + uint32_t _size1601; + ::apache::thrift::protocol::TType _etype1604; + xfer += iprot->readListBegin(_etype1604, _size1601); + this->part_vals.resize(_size1601); + uint32_t _i1605; + for (_i1605 = 0; _i1605 < _size1601; ++_i1605) { - xfer += iprot->readString(this->part_vals[_i1589]); + xfer += iprot->readString(this->part_vals[_i1605]); } xfer += iprot->readListEnd(); } @@ -19443,14 +19443,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 _size1590; - ::apache::thrift::protocol::TType _etype1593; - xfer += iprot->readListBegin(_etype1593, _size1590); - this->group_names.resize(_size1590); - uint32_t _i1594; - for (_i1594 = 0; _i1594 < _size1590; ++_i1594) + uint32_t _size1606; + ::apache::thrift::protocol::TType _etype1609; + xfer += iprot->readListBegin(_etype1609, _size1606); + this->group_names.resize(_size1606); + uint32_t _i1610; + for (_i1610 = 0; _i1610 < _size1606; ++_i1610) { - xfer += iprot->readString(this->group_names[_i1594]); + xfer += iprot->readString(this->group_names[_i1610]); } xfer += iprot->readListEnd(); } @@ -19487,10 +19487,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 _iter1595; - for (_iter1595 = this->part_vals.begin(); _iter1595 != this->part_vals.end(); ++_iter1595) + std::vector ::const_iterator _iter1611; + for (_iter1611 = this->part_vals.begin(); _iter1611 != this->part_vals.end(); ++_iter1611) { - xfer += oprot->writeString((*_iter1595)); + xfer += oprot->writeString((*_iter1611)); } xfer += oprot->writeListEnd(); } @@ -19507,10 +19507,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 _iter1596; - for (_iter1596 = this->group_names.begin(); _iter1596 != this->group_names.end(); ++_iter1596) + std::vector ::const_iterator _iter1612; + for (_iter1612 = this->group_names.begin(); _iter1612 != this->group_names.end(); ++_iter1612) { - xfer += oprot->writeString((*_iter1596)); + xfer += oprot->writeString((*_iter1612)); } xfer += oprot->writeListEnd(); } @@ -19542,10 +19542,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 _iter1597; - for (_iter1597 = (*(this->part_vals)).begin(); _iter1597 != (*(this->part_vals)).end(); ++_iter1597) + std::vector ::const_iterator _iter1613; + for (_iter1613 = (*(this->part_vals)).begin(); _iter1613 != (*(this->part_vals)).end(); ++_iter1613) { - xfer += oprot->writeString((*_iter1597)); + xfer += oprot->writeString((*_iter1613)); } xfer += oprot->writeListEnd(); } @@ -19562,10 +19562,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 _iter1598; - for (_iter1598 = (*(this->group_names)).begin(); _iter1598 != (*(this->group_names)).end(); ++_iter1598) + std::vector ::const_iterator _iter1614; + for (_iter1614 = (*(this->group_names)).begin(); _iter1614 != (*(this->group_names)).end(); ++_iter1614) { - xfer += oprot->writeString((*_iter1598)); + xfer += oprot->writeString((*_iter1614)); } xfer += oprot->writeListEnd(); } @@ -19606,14 +19606,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1599; - ::apache::thrift::protocol::TType _etype1602; - xfer += iprot->readListBegin(_etype1602, _size1599); - this->success.resize(_size1599); - uint32_t _i1603; - for (_i1603 = 0; _i1603 < _size1599; ++_i1603) + uint32_t _size1615; + ::apache::thrift::protocol::TType _etype1618; + xfer += iprot->readListBegin(_etype1618, _size1615); + this->success.resize(_size1615); + uint32_t _i1619; + for (_i1619 = 0; _i1619 < _size1615; ++_i1619) { - xfer += this->success[_i1603].read(iprot); + xfer += this->success[_i1619].read(iprot); } xfer += iprot->readListEnd(); } @@ -19660,10 +19660,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 _iter1604; - for (_iter1604 = this->success.begin(); _iter1604 != this->success.end(); ++_iter1604) + std::vector ::const_iterator _iter1620; + for (_iter1620 = this->success.begin(); _iter1620 != this->success.end(); ++_iter1620) { - xfer += (*_iter1604).write(oprot); + xfer += (*_iter1620).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19712,14 +19712,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1605; - ::apache::thrift::protocol::TType _etype1608; - xfer += iprot->readListBegin(_etype1608, _size1605); - (*(this->success)).resize(_size1605); - uint32_t _i1609; - for (_i1609 = 0; _i1609 < _size1605; ++_i1609) + uint32_t _size1621; + ::apache::thrift::protocol::TType _etype1624; + xfer += iprot->readListBegin(_etype1624, _size1621); + (*(this->success)).resize(_size1621); + uint32_t _i1625; + for (_i1625 = 0; _i1625 < _size1621; ++_i1625) { - xfer += (*(this->success))[_i1609].read(iprot); + xfer += (*(this->success))[_i1625].read(iprot); } xfer += iprot->readListEnd(); } @@ -19802,14 +19802,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 _size1610; - ::apache::thrift::protocol::TType _etype1613; - xfer += iprot->readListBegin(_etype1613, _size1610); - this->part_vals.resize(_size1610); - uint32_t _i1614; - for (_i1614 = 0; _i1614 < _size1610; ++_i1614) + uint32_t _size1626; + ::apache::thrift::protocol::TType _etype1629; + xfer += iprot->readListBegin(_etype1629, _size1626); + this->part_vals.resize(_size1626); + uint32_t _i1630; + for (_i1630 = 0; _i1630 < _size1626; ++_i1630) { - xfer += iprot->readString(this->part_vals[_i1614]); + xfer += iprot->readString(this->part_vals[_i1630]); } xfer += iprot->readListEnd(); } @@ -19854,10 +19854,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 _iter1615; - for (_iter1615 = this->part_vals.begin(); _iter1615 != this->part_vals.end(); ++_iter1615) + std::vector ::const_iterator _iter1631; + for (_iter1631 = this->part_vals.begin(); _iter1631 != this->part_vals.end(); ++_iter1631) { - xfer += oprot->writeString((*_iter1615)); + xfer += oprot->writeString((*_iter1631)); } xfer += oprot->writeListEnd(); } @@ -19893,10 +19893,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 _iter1616; - for (_iter1616 = (*(this->part_vals)).begin(); _iter1616 != (*(this->part_vals)).end(); ++_iter1616) + std::vector ::const_iterator _iter1632; + for (_iter1632 = (*(this->part_vals)).begin(); _iter1632 != (*(this->part_vals)).end(); ++_iter1632) { - xfer += oprot->writeString((*_iter1616)); + xfer += oprot->writeString((*_iter1632)); } xfer += oprot->writeListEnd(); } @@ -19941,14 +19941,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1617; - ::apache::thrift::protocol::TType _etype1620; - xfer += iprot->readListBegin(_etype1620, _size1617); - this->success.resize(_size1617); - uint32_t _i1621; - for (_i1621 = 0; _i1621 < _size1617; ++_i1621) + uint32_t _size1633; + ::apache::thrift::protocol::TType _etype1636; + xfer += iprot->readListBegin(_etype1636, _size1633); + this->success.resize(_size1633); + uint32_t _i1637; + for (_i1637 = 0; _i1637 < _size1633; ++_i1637) { - xfer += iprot->readString(this->success[_i1621]); + xfer += iprot->readString(this->success[_i1637]); } xfer += iprot->readListEnd(); } @@ -19995,10 +19995,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 _iter1622; - for (_iter1622 = this->success.begin(); _iter1622 != this->success.end(); ++_iter1622) + std::vector ::const_iterator _iter1638; + for (_iter1638 = this->success.begin(); _iter1638 != this->success.end(); ++_iter1638) { - xfer += oprot->writeString((*_iter1622)); + xfer += oprot->writeString((*_iter1638)); } xfer += oprot->writeListEnd(); } @@ -20047,14 +20047,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1623; - ::apache::thrift::protocol::TType _etype1626; - xfer += iprot->readListBegin(_etype1626, _size1623); - (*(this->success)).resize(_size1623); - uint32_t _i1627; - for (_i1627 = 0; _i1627 < _size1623; ++_i1627) + uint32_t _size1639; + ::apache::thrift::protocol::TType _etype1642; + xfer += iprot->readListBegin(_etype1642, _size1639); + (*(this->success)).resize(_size1639); + uint32_t _i1643; + for (_i1643 = 0; _i1643 < _size1639; ++_i1643) { - xfer += iprot->readString((*(this->success))[_i1627]); + xfer += iprot->readString((*(this->success))[_i1643]); } xfer += iprot->readListEnd(); } @@ -20248,14 +20248,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1628; - ::apache::thrift::protocol::TType _etype1631; - xfer += iprot->readListBegin(_etype1631, _size1628); - this->success.resize(_size1628); - uint32_t _i1632; - for (_i1632 = 0; _i1632 < _size1628; ++_i1632) + uint32_t _size1644; + ::apache::thrift::protocol::TType _etype1647; + xfer += iprot->readListBegin(_etype1647, _size1644); + this->success.resize(_size1644); + uint32_t _i1648; + for (_i1648 = 0; _i1648 < _size1644; ++_i1648) { - xfer += this->success[_i1632].read(iprot); + xfer += this->success[_i1648].read(iprot); } xfer += iprot->readListEnd(); } @@ -20302,10 +20302,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 _iter1633; - for (_iter1633 = this->success.begin(); _iter1633 != this->success.end(); ++_iter1633) + std::vector ::const_iterator _iter1649; + for (_iter1649 = this->success.begin(); _iter1649 != this->success.end(); ++_iter1649) { - xfer += (*_iter1633).write(oprot); + xfer += (*_iter1649).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20354,14 +20354,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1634; - ::apache::thrift::protocol::TType _etype1637; - xfer += iprot->readListBegin(_etype1637, _size1634); - (*(this->success)).resize(_size1634); - uint32_t _i1638; - for (_i1638 = 0; _i1638 < _size1634; ++_i1638) + uint32_t _size1650; + ::apache::thrift::protocol::TType _etype1653; + xfer += iprot->readListBegin(_etype1653, _size1650); + (*(this->success)).resize(_size1650); + uint32_t _i1654; + for (_i1654 = 0; _i1654 < _size1650; ++_i1654) { - xfer += (*(this->success))[_i1638].read(iprot); + xfer += (*(this->success))[_i1654].read(iprot); } xfer += iprot->readListEnd(); } @@ -20555,14 +20555,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 _size1639; - ::apache::thrift::protocol::TType _etype1642; - xfer += iprot->readListBegin(_etype1642, _size1639); - this->success.resize(_size1639); - uint32_t _i1643; - for (_i1643 = 0; _i1643 < _size1639; ++_i1643) + uint32_t _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 += this->success[_i1643].read(iprot); + xfer += this->success[_i1659].read(iprot); } xfer += iprot->readListEnd(); } @@ -20609,10 +20609,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 _iter1644; - for (_iter1644 = this->success.begin(); _iter1644 != this->success.end(); ++_iter1644) + std::vector ::const_iterator _iter1660; + for (_iter1660 = this->success.begin(); _iter1660 != this->success.end(); ++_iter1660) { - xfer += (*_iter1644).write(oprot); + xfer += (*_iter1660).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20661,14 +20661,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 _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 _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 += (*(this->success))[_i1649].read(iprot); + xfer += (*(this->success))[_i1665].read(iprot); } xfer += iprot->readListEnd(); } @@ -21237,14 +21237,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size1650; - ::apache::thrift::protocol::TType _etype1653; - xfer += iprot->readListBegin(_etype1653, _size1650); - this->names.resize(_size1650); - uint32_t _i1654; - for (_i1654 = 0; _i1654 < _size1650; ++_i1654) + uint32_t _size1666; + ::apache::thrift::protocol::TType _etype1669; + xfer += iprot->readListBegin(_etype1669, _size1666); + this->names.resize(_size1666); + uint32_t _i1670; + for (_i1670 = 0; _i1670 < _size1666; ++_i1670) { - xfer += iprot->readString(this->names[_i1654]); + xfer += iprot->readString(this->names[_i1670]); } xfer += iprot->readListEnd(); } @@ -21281,10 +21281,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 _iter1655; - for (_iter1655 = this->names.begin(); _iter1655 != this->names.end(); ++_iter1655) + std::vector ::const_iterator _iter1671; + for (_iter1671 = this->names.begin(); _iter1671 != this->names.end(); ++_iter1671) { - xfer += oprot->writeString((*_iter1655)); + xfer += oprot->writeString((*_iter1671)); } xfer += oprot->writeListEnd(); } @@ -21316,10 +21316,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 _iter1656; - for (_iter1656 = (*(this->names)).begin(); _iter1656 != (*(this->names)).end(); ++_iter1656) + std::vector ::const_iterator _iter1672; + for (_iter1672 = (*(this->names)).begin(); _iter1672 != (*(this->names)).end(); ++_iter1672) { - xfer += oprot->writeString((*_iter1656)); + xfer += oprot->writeString((*_iter1672)); } xfer += oprot->writeListEnd(); } @@ -21360,14 +21360,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1657; - ::apache::thrift::protocol::TType _etype1660; - xfer += iprot->readListBegin(_etype1660, _size1657); - this->success.resize(_size1657); - uint32_t _i1661; - for (_i1661 = 0; _i1661 < _size1657; ++_i1661) + uint32_t _size1673; + ::apache::thrift::protocol::TType _etype1676; + xfer += iprot->readListBegin(_etype1676, _size1673); + this->success.resize(_size1673); + uint32_t _i1677; + for (_i1677 = 0; _i1677 < _size1673; ++_i1677) { - xfer += this->success[_i1661].read(iprot); + xfer += this->success[_i1677].read(iprot); } xfer += iprot->readListEnd(); } @@ -21414,10 +21414,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 _iter1662; - for (_iter1662 = this->success.begin(); _iter1662 != this->success.end(); ++_iter1662) + std::vector ::const_iterator _iter1678; + for (_iter1678 = this->success.begin(); _iter1678 != this->success.end(); ++_iter1678) { - xfer += (*_iter1662).write(oprot); + xfer += (*_iter1678).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21466,14 +21466,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1663; - ::apache::thrift::protocol::TType _etype1666; - xfer += iprot->readListBegin(_etype1666, _size1663); - (*(this->success)).resize(_size1663); - uint32_t _i1667; - for (_i1667 = 0; _i1667 < _size1663; ++_i1667) + uint32_t _size1679; + ::apache::thrift::protocol::TType _etype1682; + xfer += iprot->readListBegin(_etype1682, _size1679); + (*(this->success)).resize(_size1679); + uint32_t _i1683; + for (_i1683 = 0; _i1683 < _size1679; ++_i1683) { - xfer += (*(this->success))[_i1667].read(iprot); + xfer += (*(this->success))[_i1683].read(iprot); } xfer += iprot->readListEnd(); } @@ -21795,14 +21795,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1668; - ::apache::thrift::protocol::TType _etype1671; - xfer += iprot->readListBegin(_etype1671, _size1668); - this->new_parts.resize(_size1668); - uint32_t _i1672; - for (_i1672 = 0; _i1672 < _size1668; ++_i1672) + uint32_t _size1684; + ::apache::thrift::protocol::TType _etype1687; + xfer += iprot->readListBegin(_etype1687, _size1684); + this->new_parts.resize(_size1684); + uint32_t _i1688; + for (_i1688 = 0; _i1688 < _size1684; ++_i1688) { - xfer += this->new_parts[_i1672].read(iprot); + xfer += this->new_parts[_i1688].read(iprot); } xfer += iprot->readListEnd(); } @@ -21839,10 +21839,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 _iter1673; - for (_iter1673 = this->new_parts.begin(); _iter1673 != this->new_parts.end(); ++_iter1673) + std::vector ::const_iterator _iter1689; + for (_iter1689 = this->new_parts.begin(); _iter1689 != this->new_parts.end(); ++_iter1689) { - xfer += (*_iter1673).write(oprot); + xfer += (*_iter1689).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21874,10 +21874,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 _iter1674; - for (_iter1674 = (*(this->new_parts)).begin(); _iter1674 != (*(this->new_parts)).end(); ++_iter1674) + std::vector ::const_iterator _iter1690; + for (_iter1690 = (*(this->new_parts)).begin(); _iter1690 != (*(this->new_parts)).end(); ++_iter1690) { - xfer += (*_iter1674).write(oprot); + xfer += (*_iter1690).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22062,14 +22062,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1675; - ::apache::thrift::protocol::TType _etype1678; - xfer += iprot->readListBegin(_etype1678, _size1675); - this->new_parts.resize(_size1675); - uint32_t _i1679; - for (_i1679 = 0; _i1679 < _size1675; ++_i1679) + uint32_t _size1691; + ::apache::thrift::protocol::TType _etype1694; + xfer += iprot->readListBegin(_etype1694, _size1691); + this->new_parts.resize(_size1691); + uint32_t _i1695; + for (_i1695 = 0; _i1695 < _size1691; ++_i1695) { - xfer += this->new_parts[_i1679].read(iprot); + xfer += this->new_parts[_i1695].read(iprot); } xfer += iprot->readListEnd(); } @@ -22114,10 +22114,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 _iter1680; - for (_iter1680 = this->new_parts.begin(); _iter1680 != this->new_parts.end(); ++_iter1680) + std::vector ::const_iterator _iter1696; + for (_iter1696 = this->new_parts.begin(); _iter1696 != this->new_parts.end(); ++_iter1696) { - xfer += (*_iter1680).write(oprot); + xfer += (*_iter1696).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22153,10 +22153,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 _iter1681; - for (_iter1681 = (*(this->new_parts)).begin(); _iter1681 != (*(this->new_parts)).end(); ++_iter1681) + std::vector ::const_iterator _iter1697; + for (_iter1697 = (*(this->new_parts)).begin(); _iter1697 != (*(this->new_parts)).end(); ++_iter1697) { - xfer += (*_iter1681).write(oprot); + xfer += (*_iter1697).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22600,14 +22600,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1682; - ::apache::thrift::protocol::TType _etype1685; - xfer += iprot->readListBegin(_etype1685, _size1682); - this->part_vals.resize(_size1682); - uint32_t _i1686; - for (_i1686 = 0; _i1686 < _size1682; ++_i1686) + uint32_t _size1698; + ::apache::thrift::protocol::TType _etype1701; + xfer += iprot->readListBegin(_etype1701, _size1698); + this->part_vals.resize(_size1698); + uint32_t _i1702; + for (_i1702 = 0; _i1702 < _size1698; ++_i1702) { - xfer += iprot->readString(this->part_vals[_i1686]); + xfer += iprot->readString(this->part_vals[_i1702]); } xfer += iprot->readListEnd(); } @@ -22652,10 +22652,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 _iter1687; - for (_iter1687 = this->part_vals.begin(); _iter1687 != this->part_vals.end(); ++_iter1687) + std::vector ::const_iterator _iter1703; + for (_iter1703 = this->part_vals.begin(); _iter1703 != this->part_vals.end(); ++_iter1703) { - xfer += oprot->writeString((*_iter1687)); + xfer += oprot->writeString((*_iter1703)); } xfer += oprot->writeListEnd(); } @@ -22691,10 +22691,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 _iter1688; - for (_iter1688 = (*(this->part_vals)).begin(); _iter1688 != (*(this->part_vals)).end(); ++_iter1688) + std::vector ::const_iterator _iter1704; + for (_iter1704 = (*(this->part_vals)).begin(); _iter1704 != (*(this->part_vals)).end(); ++_iter1704) { - xfer += oprot->writeString((*_iter1688)); + xfer += oprot->writeString((*_iter1704)); } xfer += oprot->writeListEnd(); } @@ -22867,14 +22867,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 _size1689; - ::apache::thrift::protocol::TType _etype1692; - xfer += iprot->readListBegin(_etype1692, _size1689); - this->part_vals.resize(_size1689); - uint32_t _i1693; - for (_i1693 = 0; _i1693 < _size1689; ++_i1693) + uint32_t _size1705; + ::apache::thrift::protocol::TType _etype1708; + xfer += iprot->readListBegin(_etype1708, _size1705); + this->part_vals.resize(_size1705); + uint32_t _i1709; + for (_i1709 = 0; _i1709 < _size1705; ++_i1709) { - xfer += iprot->readString(this->part_vals[_i1693]); + xfer += iprot->readString(this->part_vals[_i1709]); } xfer += iprot->readListEnd(); } @@ -22911,10 +22911,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 _iter1694; - for (_iter1694 = this->part_vals.begin(); _iter1694 != this->part_vals.end(); ++_iter1694) + std::vector ::const_iterator _iter1710; + for (_iter1710 = this->part_vals.begin(); _iter1710 != this->part_vals.end(); ++_iter1710) { - xfer += oprot->writeString((*_iter1694)); + xfer += oprot->writeString((*_iter1710)); } xfer += oprot->writeListEnd(); } @@ -22942,10 +22942,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 _iter1695; - for (_iter1695 = (*(this->part_vals)).begin(); _iter1695 != (*(this->part_vals)).end(); ++_iter1695) + std::vector ::const_iterator _iter1711; + for (_iter1711 = (*(this->part_vals)).begin(); _iter1711 != (*(this->part_vals)).end(); ++_iter1711) { - xfer += oprot->writeString((*_iter1695)); + xfer += oprot->writeString((*_iter1711)); } xfer += oprot->writeListEnd(); } @@ -23420,14 +23420,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1696; - ::apache::thrift::protocol::TType _etype1699; - xfer += iprot->readListBegin(_etype1699, _size1696); - this->success.resize(_size1696); - uint32_t _i1700; - for (_i1700 = 0; _i1700 < _size1696; ++_i1700) + 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[_i1700]); + xfer += iprot->readString(this->success[_i1716]); } xfer += iprot->readListEnd(); } @@ -23466,10 +23466,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 _iter1701; - for (_iter1701 = this->success.begin(); _iter1701 != this->success.end(); ++_iter1701) + std::vector ::const_iterator _iter1717; + for (_iter1717 = this->success.begin(); _iter1717 != this->success.end(); ++_iter1717) { - xfer += oprot->writeString((*_iter1701)); + xfer += oprot->writeString((*_iter1717)); } xfer += oprot->writeListEnd(); } @@ -23514,14 +23514,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri 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 _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))[_i1706]); + xfer += iprot->readString((*(this->success))[_i1722]); } xfer += iprot->readListEnd(); } @@ -23659,17 +23659,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1707; - ::apache::thrift::protocol::TType _ktype1708; - ::apache::thrift::protocol::TType _vtype1709; - xfer += iprot->readMapBegin(_ktype1708, _vtype1709, _size1707); - uint32_t _i1711; - for (_i1711 = 0; _i1711 < _size1707; ++_i1711) + uint32_t _size1723; + ::apache::thrift::protocol::TType _ktype1724; + ::apache::thrift::protocol::TType _vtype1725; + xfer += iprot->readMapBegin(_ktype1724, _vtype1725, _size1723); + uint32_t _i1727; + for (_i1727 = 0; _i1727 < _size1723; ++_i1727) { - std::string _key1712; - xfer += iprot->readString(_key1712); - std::string& _val1713 = this->success[_key1712]; - xfer += iprot->readString(_val1713); + std::string _key1728; + xfer += iprot->readString(_key1728); + std::string& _val1729 = this->success[_key1728]; + xfer += iprot->readString(_val1729); } xfer += iprot->readMapEnd(); } @@ -23708,11 +23708,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 _iter1714; - for (_iter1714 = this->success.begin(); _iter1714 != this->success.end(); ++_iter1714) + std::map ::const_iterator _iter1730; + for (_iter1730 = this->success.begin(); _iter1730 != this->success.end(); ++_iter1730) { - xfer += oprot->writeString(_iter1714->first); - xfer += oprot->writeString(_iter1714->second); + xfer += oprot->writeString(_iter1730->first); + xfer += oprot->writeString(_iter1730->second); } xfer += oprot->writeMapEnd(); } @@ -23757,17 +23757,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1715; - ::apache::thrift::protocol::TType _ktype1716; - ::apache::thrift::protocol::TType _vtype1717; - xfer += iprot->readMapBegin(_ktype1716, _vtype1717, _size1715); - uint32_t _i1719; - for (_i1719 = 0; _i1719 < _size1715; ++_i1719) + uint32_t _size1731; + ::apache::thrift::protocol::TType _ktype1732; + ::apache::thrift::protocol::TType _vtype1733; + xfer += iprot->readMapBegin(_ktype1732, _vtype1733, _size1731); + uint32_t _i1735; + for (_i1735 = 0; _i1735 < _size1731; ++_i1735) { - std::string _key1720; - xfer += iprot->readString(_key1720); - std::string& _val1721 = (*(this->success))[_key1720]; - xfer += iprot->readString(_val1721); + std::string _key1736; + xfer += iprot->readString(_key1736); + std::string& _val1737 = (*(this->success))[_key1736]; + xfer += iprot->readString(_val1737); } xfer += iprot->readMapEnd(); } @@ -23842,17 +23842,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1722; - ::apache::thrift::protocol::TType _ktype1723; - ::apache::thrift::protocol::TType _vtype1724; - xfer += iprot->readMapBegin(_ktype1723, _vtype1724, _size1722); - uint32_t _i1726; - for (_i1726 = 0; _i1726 < _size1722; ++_i1726) + uint32_t _size1738; + ::apache::thrift::protocol::TType _ktype1739; + ::apache::thrift::protocol::TType _vtype1740; + xfer += iprot->readMapBegin(_ktype1739, _vtype1740, _size1738); + uint32_t _i1742; + for (_i1742 = 0; _i1742 < _size1738; ++_i1742) { - std::string _key1727; - xfer += iprot->readString(_key1727); - std::string& _val1728 = this->part_vals[_key1727]; - xfer += iprot->readString(_val1728); + std::string _key1743; + xfer += iprot->readString(_key1743); + std::string& _val1744 = this->part_vals[_key1743]; + xfer += iprot->readString(_val1744); } xfer += iprot->readMapEnd(); } @@ -23863,9 +23863,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1729; - xfer += iprot->readI32(ecast1729); - this->eventType = (PartitionEventType::type)ecast1729; + int32_t ecast1745; + xfer += iprot->readI32(ecast1745); + this->eventType = (PartitionEventType::type)ecast1745; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -23899,11 +23899,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 _iter1730; - for (_iter1730 = this->part_vals.begin(); _iter1730 != this->part_vals.end(); ++_iter1730) + std::map ::const_iterator _iter1746; + for (_iter1746 = this->part_vals.begin(); _iter1746 != this->part_vals.end(); ++_iter1746) { - xfer += oprot->writeString(_iter1730->first); - xfer += oprot->writeString(_iter1730->second); + xfer += oprot->writeString(_iter1746->first); + xfer += oprot->writeString(_iter1746->second); } xfer += oprot->writeMapEnd(); } @@ -23939,11 +23939,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 _iter1731; - for (_iter1731 = (*(this->part_vals)).begin(); _iter1731 != (*(this->part_vals)).end(); ++_iter1731) + std::map ::const_iterator _iter1747; + for (_iter1747 = (*(this->part_vals)).begin(); _iter1747 != (*(this->part_vals)).end(); ++_iter1747) { - xfer += oprot->writeString(_iter1731->first); - xfer += oprot->writeString(_iter1731->second); + xfer += oprot->writeString(_iter1747->first); + xfer += oprot->writeString(_iter1747->second); } xfer += oprot->writeMapEnd(); } @@ -24212,17 +24212,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1732; - ::apache::thrift::protocol::TType _ktype1733; - ::apache::thrift::protocol::TType _vtype1734; - xfer += iprot->readMapBegin(_ktype1733, _vtype1734, _size1732); - uint32_t _i1736; - for (_i1736 = 0; _i1736 < _size1732; ++_i1736) + uint32_t _size1748; + ::apache::thrift::protocol::TType _ktype1749; + ::apache::thrift::protocol::TType _vtype1750; + xfer += iprot->readMapBegin(_ktype1749, _vtype1750, _size1748); + uint32_t _i1752; + for (_i1752 = 0; _i1752 < _size1748; ++_i1752) { - std::string _key1737; - xfer += iprot->readString(_key1737); - std::string& _val1738 = this->part_vals[_key1737]; - xfer += iprot->readString(_val1738); + std::string _key1753; + xfer += iprot->readString(_key1753); + std::string& _val1754 = this->part_vals[_key1753]; + xfer += iprot->readString(_val1754); } xfer += iprot->readMapEnd(); } @@ -24233,9 +24233,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1739; - xfer += iprot->readI32(ecast1739); - this->eventType = (PartitionEventType::type)ecast1739; + int32_t ecast1755; + xfer += iprot->readI32(ecast1755); + this->eventType = (PartitionEventType::type)ecast1755; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -24269,11 +24269,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 _iter1740; - for (_iter1740 = this->part_vals.begin(); _iter1740 != this->part_vals.end(); ++_iter1740) + std::map ::const_iterator _iter1756; + for (_iter1756 = this->part_vals.begin(); _iter1756 != this->part_vals.end(); ++_iter1756) { - xfer += oprot->writeString(_iter1740->first); - xfer += oprot->writeString(_iter1740->second); + xfer += oprot->writeString(_iter1756->first); + xfer += oprot->writeString(_iter1756->second); } xfer += oprot->writeMapEnd(); } @@ -24309,11 +24309,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 _iter1741; - for (_iter1741 = (*(this->part_vals)).begin(); _iter1741 != (*(this->part_vals)).end(); ++_iter1741) + std::map ::const_iterator _iter1757; + for (_iter1757 = (*(this->part_vals)).begin(); _iter1757 != (*(this->part_vals)).end(); ++_iter1757) { - xfer += oprot->writeString(_iter1741->first); - xfer += oprot->writeString(_iter1741->second); + xfer += oprot->writeString(_iter1757->first); + xfer += oprot->writeString(_iter1757->second); } xfer += oprot->writeMapEnd(); } @@ -29462,14 +29462,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc 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 _size1758; + ::apache::thrift::protocol::TType _etype1761; + xfer += iprot->readListBegin(_etype1761, _size1758); + this->success.resize(_size1758); + uint32_t _i1762; + for (_i1762 = 0; _i1762 < _size1758; ++_i1762) { - xfer += iprot->readString(this->success[_i1746]); + xfer += iprot->readString(this->success[_i1762]); } xfer += iprot->readListEnd(); } @@ -29508,10 +29508,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 _iter1747; - for (_iter1747 = this->success.begin(); _iter1747 != this->success.end(); ++_iter1747) + std::vector ::const_iterator _iter1763; + for (_iter1763 = this->success.begin(); _iter1763 != this->success.end(); ++_iter1763) { - xfer += oprot->writeString((*_iter1747)); + xfer += oprot->writeString((*_iter1763)); } xfer += oprot->writeListEnd(); } @@ -29556,14 +29556,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1748; - ::apache::thrift::protocol::TType _etype1751; - xfer += iprot->readListBegin(_etype1751, _size1748); - (*(this->success)).resize(_size1748); - uint32_t _i1752; - for (_i1752 = 0; _i1752 < _size1748; ++_i1752) + 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))[_i1752]); + xfer += iprot->readString((*(this->success))[_i1768]); } xfer += iprot->readListEnd(); } @@ -30523,14 +30523,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1753; - ::apache::thrift::protocol::TType _etype1756; - xfer += iprot->readListBegin(_etype1756, _size1753); - this->success.resize(_size1753); - uint32_t _i1757; - for (_i1757 = 0; _i1757 < _size1753; ++_i1757) + uint32_t _size1769; + ::apache::thrift::protocol::TType _etype1772; + xfer += iprot->readListBegin(_etype1772, _size1769); + this->success.resize(_size1769); + uint32_t _i1773; + for (_i1773 = 0; _i1773 < _size1769; ++_i1773) { - xfer += iprot->readString(this->success[_i1757]); + xfer += iprot->readString(this->success[_i1773]); } xfer += iprot->readListEnd(); } @@ -30569,10 +30569,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 _iter1758; - for (_iter1758 = this->success.begin(); _iter1758 != this->success.end(); ++_iter1758) + std::vector ::const_iterator _iter1774; + for (_iter1774 = this->success.begin(); _iter1774 != this->success.end(); ++_iter1774) { - xfer += oprot->writeString((*_iter1758)); + xfer += oprot->writeString((*_iter1774)); } xfer += oprot->writeListEnd(); } @@ -30617,14 +30617,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1759; - ::apache::thrift::protocol::TType _etype1762; - xfer += iprot->readListBegin(_etype1762, _size1759); - (*(this->success)).resize(_size1759); - uint32_t _i1763; - for (_i1763 = 0; _i1763 < _size1759; ++_i1763) + 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))[_i1763]); + xfer += iprot->readString((*(this->success))[_i1779]); } xfer += iprot->readListEnd(); } @@ -30697,9 +30697,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1764; - xfer += iprot->readI32(ecast1764); - this->principal_type = (PrincipalType::type)ecast1764; + int32_t ecast1780; + xfer += iprot->readI32(ecast1780); + this->principal_type = (PrincipalType::type)ecast1780; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -30715,9 +30715,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1765; - xfer += iprot->readI32(ecast1765); - this->grantorType = (PrincipalType::type)ecast1765; + int32_t ecast1781; + xfer += iprot->readI32(ecast1781); + this->grantorType = (PrincipalType::type)ecast1781; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -30988,9 +30988,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1766; - xfer += iprot->readI32(ecast1766); - this->principal_type = (PrincipalType::type)ecast1766; + int32_t ecast1782; + xfer += iprot->readI32(ecast1782); + this->principal_type = (PrincipalType::type)ecast1782; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -31221,9 +31221,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1767; - xfer += iprot->readI32(ecast1767); - this->principal_type = (PrincipalType::type)ecast1767; + int32_t ecast1783; + xfer += iprot->readI32(ecast1783); + this->principal_type = (PrincipalType::type)ecast1783; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -31312,14 +31312,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1768; - ::apache::thrift::protocol::TType _etype1771; - xfer += iprot->readListBegin(_etype1771, _size1768); - this->success.resize(_size1768); - uint32_t _i1772; - for (_i1772 = 0; _i1772 < _size1768; ++_i1772) + uint32_t _size1784; + ::apache::thrift::protocol::TType _etype1787; + xfer += iprot->readListBegin(_etype1787, _size1784); + this->success.resize(_size1784); + uint32_t _i1788; + for (_i1788 = 0; _i1788 < _size1784; ++_i1788) { - xfer += this->success[_i1772].read(iprot); + xfer += this->success[_i1788].read(iprot); } xfer += iprot->readListEnd(); } @@ -31358,10 +31358,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 _iter1773; - for (_iter1773 = this->success.begin(); _iter1773 != this->success.end(); ++_iter1773) + std::vector ::const_iterator _iter1789; + for (_iter1789 = this->success.begin(); _iter1789 != this->success.end(); ++_iter1789) { - xfer += (*_iter1773).write(oprot); + xfer += (*_iter1789).write(oprot); } xfer += oprot->writeListEnd(); } @@ -31406,14 +31406,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1774; - ::apache::thrift::protocol::TType _etype1777; - xfer += iprot->readListBegin(_etype1777, _size1774); - (*(this->success)).resize(_size1774); - uint32_t _i1778; - for (_i1778 = 0; _i1778 < _size1774; ++_i1778) + uint32_t _size1790; + ::apache::thrift::protocol::TType _etype1793; + xfer += iprot->readListBegin(_etype1793, _size1790); + (*(this->success)).resize(_size1790); + uint32_t _i1794; + for (_i1794 = 0; _i1794 < _size1790; ++_i1794) { - xfer += (*(this->success))[_i1778].read(iprot); + xfer += (*(this->success))[_i1794].read(iprot); } xfer += iprot->readListEnd(); } @@ -32109,14 +32109,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 _size1779; - ::apache::thrift::protocol::TType _etype1782; - xfer += iprot->readListBegin(_etype1782, _size1779); - this->group_names.resize(_size1779); - uint32_t _i1783; - for (_i1783 = 0; _i1783 < _size1779; ++_i1783) + uint32_t _size1795; + ::apache::thrift::protocol::TType _etype1798; + xfer += iprot->readListBegin(_etype1798, _size1795); + this->group_names.resize(_size1795); + uint32_t _i1799; + for (_i1799 = 0; _i1799 < _size1795; ++_i1799) { - xfer += iprot->readString(this->group_names[_i1783]); + xfer += iprot->readString(this->group_names[_i1799]); } xfer += iprot->readListEnd(); } @@ -32153,10 +32153,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 _iter1784; - for (_iter1784 = this->group_names.begin(); _iter1784 != this->group_names.end(); ++_iter1784) + std::vector ::const_iterator _iter1800; + for (_iter1800 = this->group_names.begin(); _iter1800 != this->group_names.end(); ++_iter1800) { - xfer += oprot->writeString((*_iter1784)); + xfer += oprot->writeString((*_iter1800)); } xfer += oprot->writeListEnd(); } @@ -32188,10 +32188,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 _iter1785; - for (_iter1785 = (*(this->group_names)).begin(); _iter1785 != (*(this->group_names)).end(); ++_iter1785) + std::vector ::const_iterator _iter1801; + for (_iter1801 = (*(this->group_names)).begin(); _iter1801 != (*(this->group_names)).end(); ++_iter1801) { - xfer += oprot->writeString((*_iter1785)); + xfer += oprot->writeString((*_iter1801)); } xfer += oprot->writeListEnd(); } @@ -32366,9 +32366,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1786; - xfer += iprot->readI32(ecast1786); - this->principal_type = (PrincipalType::type)ecast1786; + int32_t ecast1802; + xfer += iprot->readI32(ecast1802); + this->principal_type = (PrincipalType::type)ecast1802; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -32473,14 +32473,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot 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 _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[_i1791].read(iprot); + xfer += this->success[_i1807].read(iprot); } xfer += iprot->readListEnd(); } @@ -32519,10 +32519,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 _iter1792; - for (_iter1792 = this->success.begin(); _iter1792 != this->success.end(); ++_iter1792) + std::vector ::const_iterator _iter1808; + for (_iter1808 = this->success.begin(); _iter1808 != this->success.end(); ++_iter1808) { - xfer += (*_iter1792).write(oprot); + xfer += (*_iter1808).write(oprot); } xfer += oprot->writeListEnd(); } @@ -32567,14 +32567,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro 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 _size1809; + ::apache::thrift::protocol::TType _etype1812; + xfer += iprot->readListBegin(_etype1812, _size1809); + (*(this->success)).resize(_size1809); + uint32_t _i1813; + for (_i1813 = 0; _i1813 < _size1809; ++_i1813) { - xfer += (*(this->success))[_i1797].read(iprot); + xfer += (*(this->success))[_i1813].read(iprot); } xfer += iprot->readListEnd(); } @@ -33262,14 +33262,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 _size1798; - ::apache::thrift::protocol::TType _etype1801; - xfer += iprot->readListBegin(_etype1801, _size1798); - this->group_names.resize(_size1798); - uint32_t _i1802; - for (_i1802 = 0; _i1802 < _size1798; ++_i1802) + uint32_t _size1814; + ::apache::thrift::protocol::TType _etype1817; + xfer += iprot->readListBegin(_etype1817, _size1814); + this->group_names.resize(_size1814); + uint32_t _i1818; + for (_i1818 = 0; _i1818 < _size1814; ++_i1818) { - xfer += iprot->readString(this->group_names[_i1802]); + xfer += iprot->readString(this->group_names[_i1818]); } xfer += iprot->readListEnd(); } @@ -33302,10 +33302,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 _iter1803; - for (_iter1803 = this->group_names.begin(); _iter1803 != this->group_names.end(); ++_iter1803) + std::vector ::const_iterator _iter1819; + for (_iter1819 = this->group_names.begin(); _iter1819 != this->group_names.end(); ++_iter1819) { - xfer += oprot->writeString((*_iter1803)); + xfer += oprot->writeString((*_iter1819)); } xfer += oprot->writeListEnd(); } @@ -33333,10 +33333,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 _iter1804; - for (_iter1804 = (*(this->group_names)).begin(); _iter1804 != (*(this->group_names)).end(); ++_iter1804) + std::vector ::const_iterator _iter1820; + for (_iter1820 = (*(this->group_names)).begin(); _iter1820 != (*(this->group_names)).end(); ++_iter1820) { - xfer += oprot->writeString((*_iter1804)); + xfer += oprot->writeString((*_iter1820)); } xfer += oprot->writeListEnd(); } @@ -33377,14 +33377,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1805; - ::apache::thrift::protocol::TType _etype1808; - xfer += iprot->readListBegin(_etype1808, _size1805); - this->success.resize(_size1805); - uint32_t _i1809; - for (_i1809 = 0; _i1809 < _size1805; ++_i1809) + uint32_t _size1821; + ::apache::thrift::protocol::TType _etype1824; + xfer += iprot->readListBegin(_etype1824, _size1821); + this->success.resize(_size1821); + uint32_t _i1825; + for (_i1825 = 0; _i1825 < _size1821; ++_i1825) { - xfer += iprot->readString(this->success[_i1809]); + xfer += iprot->readString(this->success[_i1825]); } xfer += iprot->readListEnd(); } @@ -33423,10 +33423,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 _iter1810; - for (_iter1810 = this->success.begin(); _iter1810 != this->success.end(); ++_iter1810) + std::vector ::const_iterator _iter1826; + for (_iter1826 = this->success.begin(); _iter1826 != this->success.end(); ++_iter1826) { - xfer += oprot->writeString((*_iter1810)); + xfer += oprot->writeString((*_iter1826)); } xfer += oprot->writeListEnd(); } @@ -33471,14 +33471,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1811; - ::apache::thrift::protocol::TType _etype1814; - xfer += iprot->readListBegin(_etype1814, _size1811); - (*(this->success)).resize(_size1811); - uint32_t _i1815; - for (_i1815 = 0; _i1815 < _size1811; ++_i1815) + uint32_t _size1827; + ::apache::thrift::protocol::TType _etype1830; + xfer += iprot->readListBegin(_etype1830, _size1827); + (*(this->success)).resize(_size1827); + uint32_t _i1831; + for (_i1831 = 0; _i1831 < _size1827; ++_i1831) { - xfer += iprot->readString((*(this->success))[_i1815]); + xfer += iprot->readString((*(this->success))[_i1831]); } xfer += iprot->readListEnd(); } @@ -34789,14 +34789,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1816; - ::apache::thrift::protocol::TType _etype1819; - xfer += iprot->readListBegin(_etype1819, _size1816); - this->success.resize(_size1816); - uint32_t _i1820; - for (_i1820 = 0; _i1820 < _size1816; ++_i1820) + uint32_t _size1832; + ::apache::thrift::protocol::TType _etype1835; + xfer += iprot->readListBegin(_etype1835, _size1832); + this->success.resize(_size1832); + uint32_t _i1836; + for (_i1836 = 0; _i1836 < _size1832; ++_i1836) { - xfer += iprot->readString(this->success[_i1820]); + xfer += iprot->readString(this->success[_i1836]); } xfer += iprot->readListEnd(); } @@ -34827,10 +34827,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 _iter1821; - for (_iter1821 = this->success.begin(); _iter1821 != this->success.end(); ++_iter1821) + std::vector ::const_iterator _iter1837; + for (_iter1837 = this->success.begin(); _iter1837 != this->success.end(); ++_iter1837) { - xfer += oprot->writeString((*_iter1821)); + xfer += oprot->writeString((*_iter1837)); } xfer += oprot->writeListEnd(); } @@ -34871,14 +34871,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1822; - ::apache::thrift::protocol::TType _etype1825; - xfer += iprot->readListBegin(_etype1825, _size1822); - (*(this->success)).resize(_size1822); - uint32_t _i1826; - for (_i1826 = 0; _i1826 < _size1822; ++_i1826) + uint32_t _size1838; + ::apache::thrift::protocol::TType _etype1841; + xfer += iprot->readListBegin(_etype1841, _size1838); + (*(this->success)).resize(_size1838); + uint32_t _i1842; + for (_i1842 = 0; _i1842 < _size1838; ++_i1842) { - xfer += iprot->readString((*(this->success))[_i1826]); + xfer += iprot->readString((*(this->success))[_i1842]); } xfer += iprot->readListEnd(); } @@ -35604,14 +35604,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1827; - ::apache::thrift::protocol::TType _etype1830; - xfer += iprot->readListBegin(_etype1830, _size1827); - this->success.resize(_size1827); - uint32_t _i1831; - for (_i1831 = 0; _i1831 < _size1827; ++_i1831) + uint32_t _size1843; + ::apache::thrift::protocol::TType _etype1846; + xfer += iprot->readListBegin(_etype1846, _size1843); + this->success.resize(_size1843); + uint32_t _i1847; + for (_i1847 = 0; _i1847 < _size1843; ++_i1847) { - xfer += iprot->readString(this->success[_i1831]); + xfer += iprot->readString(this->success[_i1847]); } xfer += iprot->readListEnd(); } @@ -35642,10 +35642,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 _iter1832; - for (_iter1832 = this->success.begin(); _iter1832 != this->success.end(); ++_iter1832) + std::vector ::const_iterator _iter1848; + for (_iter1848 = this->success.begin(); _iter1848 != this->success.end(); ++_iter1848) { - xfer += oprot->writeString((*_iter1832)); + xfer += oprot->writeString((*_iter1848)); } xfer += oprot->writeListEnd(); } @@ -35686,14 +35686,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1833; - ::apache::thrift::protocol::TType _etype1836; - xfer += iprot->readListBegin(_etype1836, _size1833); - (*(this->success)).resize(_size1833); - uint32_t _i1837; - for (_i1837 = 0; _i1837 < _size1833; ++_i1837) + uint32_t _size1849; + ::apache::thrift::protocol::TType _etype1852; + xfer += iprot->readListBegin(_etype1852, _size1849); + (*(this->success)).resize(_size1849); + uint32_t _i1853; + for (_i1853 = 0; _i1853 < _size1849; ++_i1853) { - xfer += iprot->readString((*(this->success))[_i1837]); + xfer += iprot->readString((*(this->success))[_i1853]); } xfer += iprot->readListEnd(); } @@ -36860,10 +36860,237 @@ uint32_t ThriftHiveMetastore_get_valid_write_ids_args::read(::apache::thrift::pr return xfer; } -uint32_t ThriftHiveMetastore_get_valid_write_ids_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_get_valid_write_ids_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_valid_write_ids_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_write_ids_pargs::~ThriftHiveMetastore_get_valid_write_ids_pargs() throw() { +} + + +uint32_t ThriftHiveMetastore_get_valid_write_ids_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_valid_write_ids_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_write_ids_result::~ThriftHiveMetastore_get_valid_write_ids_result() throw() { +} + + +uint32_t ThriftHiveMetastore_get_valid_write_ids_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_write_ids_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_valid_write_ids_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_write_ids_presult::~ThriftHiveMetastore_get_valid_write_ids_presult() throw() { +} + + +uint32_t ThriftHiveMetastore_get_valid_write_ids_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_allocate_table_write_ids_args::~ThriftHiveMetastore_allocate_table_write_ids_args() throw() { +} + + +uint32_t ThriftHiveMetastore_allocate_table_write_ids_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_allocate_table_write_ids_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_valid_write_ids_args"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_allocate_table_write_ids_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->rqst.write(oprot); @@ -36875,14 +37102,14 @@ uint32_t ThriftHiveMetastore_get_valid_write_ids_args::write(::apache::thrift::p } -ThriftHiveMetastore_get_valid_write_ids_pargs::~ThriftHiveMetastore_get_valid_write_ids_pargs() throw() { +ThriftHiveMetastore_allocate_table_write_ids_pargs::~ThriftHiveMetastore_allocate_table_write_ids_pargs() throw() { } -uint32_t ThriftHiveMetastore_get_valid_write_ids_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_allocate_table_write_ids_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_valid_write_ids_pargs"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_allocate_table_write_ids_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->rqst)).write(oprot); @@ -36894,11 +37121,11 @@ uint32_t ThriftHiveMetastore_get_valid_write_ids_pargs::write(::apache::thrift:: } -ThriftHiveMetastore_get_valid_write_ids_result::~ThriftHiveMetastore_get_valid_write_ids_result() throw() { +ThriftHiveMetastore_allocate_table_write_ids_result::~ThriftHiveMetastore_allocate_table_write_ids_result() throw() { } -uint32_t ThriftHiveMetastore_get_valid_write_ids_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_allocate_table_write_ids_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -36943,6 +37170,14 @@ uint32_t ThriftHiveMetastore_get_valid_write_ids_result::read(::apache::thrift:: xfer += iprot->skip(ftype); } break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o3.read(iprot); + this->__isset.o3 = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -36955,11 +37190,11 @@ uint32_t ThriftHiveMetastore_get_valid_write_ids_result::read(::apache::thrift:: return xfer; } -uint32_t ThriftHiveMetastore_get_valid_write_ids_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_allocate_table_write_ids_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_valid_write_ids_result"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_allocate_table_write_ids_result"); if (this->__isset.success) { xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); @@ -36973,6 +37208,10 @@ uint32_t ThriftHiveMetastore_get_valid_write_ids_result::write(::apache::thrift: xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2); xfer += this->o2.write(oprot); xfer += oprot->writeFieldEnd(); + } else if (this->__isset.o3) { + xfer += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 3); + xfer += this->o3.write(oprot); + xfer += oprot->writeFieldEnd(); } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); @@ -36980,11 +37219,11 @@ uint32_t ThriftHiveMetastore_get_valid_write_ids_result::write(::apache::thrift: } -ThriftHiveMetastore_get_valid_write_ids_presult::~ThriftHiveMetastore_get_valid_write_ids_presult() throw() { +ThriftHiveMetastore_allocate_table_write_ids_presult::~ThriftHiveMetastore_allocate_table_write_ids_presult() throw() { } -uint32_t ThriftHiveMetastore_get_valid_write_ids_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_allocate_table_write_ids_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -37029,6 +37268,14 @@ uint32_t ThriftHiveMetastore_get_valid_write_ids_presult::read(::apache::thrift: xfer += iprot->skip(ftype); } break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->o3.read(iprot); + this->__isset.o3 = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -37042,11 +37289,11 @@ uint32_t ThriftHiveMetastore_get_valid_write_ids_presult::read(::apache::thrift: } -ThriftHiveMetastore_allocate_table_write_ids_args::~ThriftHiveMetastore_allocate_table_write_ids_args() throw() { +ThriftHiveMetastore_repl_get_target_txn_ids_args::~ThriftHiveMetastore_repl_get_target_txn_ids_args() throw() { } -uint32_t ThriftHiveMetastore_allocate_table_write_ids_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_repl_get_target_txn_ids_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -37087,10 +37334,10 @@ uint32_t ThriftHiveMetastore_allocate_table_write_ids_args::read(::apache::thrif return xfer; } -uint32_t ThriftHiveMetastore_allocate_table_write_ids_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_repl_get_target_txn_ids_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThriftHiveMetastore_allocate_table_write_ids_args"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_repl_get_target_txn_ids_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->rqst.write(oprot); @@ -37102,14 +37349,14 @@ uint32_t ThriftHiveMetastore_allocate_table_write_ids_args::write(::apache::thri } -ThriftHiveMetastore_allocate_table_write_ids_pargs::~ThriftHiveMetastore_allocate_table_write_ids_pargs() throw() { +ThriftHiveMetastore_repl_get_target_txn_ids_pargs::~ThriftHiveMetastore_repl_get_target_txn_ids_pargs() throw() { } -uint32_t ThriftHiveMetastore_allocate_table_write_ids_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_repl_get_target_txn_ids_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThriftHiveMetastore_allocate_table_write_ids_pargs"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_repl_get_target_txn_ids_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->rqst)).write(oprot); @@ -37121,11 +37368,11 @@ uint32_t ThriftHiveMetastore_allocate_table_write_ids_pargs::write(::apache::thr } -ThriftHiveMetastore_allocate_table_write_ids_result::~ThriftHiveMetastore_allocate_table_write_ids_result() throw() { +ThriftHiveMetastore_repl_get_target_txn_ids_result::~ThriftHiveMetastore_repl_get_target_txn_ids_result() throw() { } -uint32_t ThriftHiveMetastore_allocate_table_write_ids_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_repl_get_target_txn_ids_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -37170,14 +37417,6 @@ uint32_t ThriftHiveMetastore_allocate_table_write_ids_result::read(::apache::thr xfer += iprot->skip(ftype); } break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->o3.read(iprot); - this->__isset.o3 = true; - } else { - xfer += iprot->skip(ftype); - } - break; default: xfer += iprot->skip(ftype); break; @@ -37190,11 +37429,11 @@ uint32_t ThriftHiveMetastore_allocate_table_write_ids_result::read(::apache::thr return xfer; } -uint32_t ThriftHiveMetastore_allocate_table_write_ids_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_repl_get_target_txn_ids_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("ThriftHiveMetastore_allocate_table_write_ids_result"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_repl_get_target_txn_ids_result"); if (this->__isset.success) { xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); @@ -37208,10 +37447,6 @@ uint32_t ThriftHiveMetastore_allocate_table_write_ids_result::write(::apache::th xfer += oprot->writeFieldBegin("o2", ::apache::thrift::protocol::T_STRUCT, 2); xfer += this->o2.write(oprot); xfer += oprot->writeFieldEnd(); - } else if (this->__isset.o3) { - xfer += oprot->writeFieldBegin("o3", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->o3.write(oprot); - xfer += oprot->writeFieldEnd(); } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); @@ -37219,11 +37454,11 @@ uint32_t ThriftHiveMetastore_allocate_table_write_ids_result::write(::apache::th } -ThriftHiveMetastore_allocate_table_write_ids_presult::~ThriftHiveMetastore_allocate_table_write_ids_presult() throw() { +ThriftHiveMetastore_repl_get_target_txn_ids_presult::~ThriftHiveMetastore_repl_get_target_txn_ids_presult() throw() { } -uint32_t ThriftHiveMetastore_allocate_table_write_ids_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_repl_get_target_txn_ids_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -37268,14 +37503,6 @@ uint32_t ThriftHiveMetastore_allocate_table_write_ids_presult::read(::apache::th xfer += iprot->skip(ftype); } break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->o3.read(iprot); - this->__isset.o3 = true; - } else { - xfer += iprot->skip(ftype); - } - break; default: xfer += iprot->skip(ftype); break; @@ -47334,14 +47561,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1838; - ::apache::thrift::protocol::TType _etype1841; - xfer += iprot->readListBegin(_etype1841, _size1838); - this->success.resize(_size1838); - uint32_t _i1842; - for (_i1842 = 0; _i1842 < _size1838; ++_i1842) + uint32_t _size1854; + ::apache::thrift::protocol::TType _etype1857; + xfer += iprot->readListBegin(_etype1857, _size1854); + this->success.resize(_size1854); + uint32_t _i1858; + for (_i1858 = 0; _i1858 < _size1854; ++_i1858) { - xfer += this->success[_i1842].read(iprot); + xfer += this->success[_i1858].read(iprot); } xfer += iprot->readListEnd(); } @@ -47388,10 +47615,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 _iter1843; - for (_iter1843 = this->success.begin(); _iter1843 != this->success.end(); ++_iter1843) + std::vector ::const_iterator _iter1859; + for (_iter1859 = this->success.begin(); _iter1859 != this->success.end(); ++_iter1859) { - xfer += (*_iter1843).write(oprot); + xfer += (*_iter1859).write(oprot); } xfer += oprot->writeListEnd(); } @@ -47440,14 +47667,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1844; - ::apache::thrift::protocol::TType _etype1847; - xfer += iprot->readListBegin(_etype1847, _size1844); - (*(this->success)).resize(_size1844); - uint32_t _i1848; - for (_i1848 = 0; _i1848 < _size1844; ++_i1848) + uint32_t _size1860; + ::apache::thrift::protocol::TType _etype1863; + xfer += iprot->readListBegin(_etype1863, _size1860); + (*(this->success)).resize(_size1860); + uint32_t _i1864; + for (_i1864 = 0; _i1864 < _size1860; ++_i1864) { - xfer += (*(this->success))[_i1848].read(iprot); + xfer += (*(this->success))[_i1864].read(iprot); } xfer += iprot->readListEnd(); } @@ -58144,6 +58371,70 @@ void ThriftHiveMetastoreClient::recv_allocate_table_write_ids(AllocateTableWrite throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "allocate_table_write_ids failed: unknown result"); } +void ThriftHiveMetastoreClient::repl_get_target_txn_ids(GetTargetTxnIdsResponse& _return, const GetTargetTxnIdsRequest& rqst) +{ + send_repl_get_target_txn_ids(rqst); + recv_repl_get_target_txn_ids(_return); +} + +void ThriftHiveMetastoreClient::send_repl_get_target_txn_ids(const GetTargetTxnIdsRequest& rqst) +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("repl_get_target_txn_ids", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_repl_get_target_txn_ids_pargs args; + args.rqst = &rqst; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void ThriftHiveMetastoreClient::recv_repl_get_target_txn_ids(GetTargetTxnIdsResponse& _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("repl_get_target_txn_ids") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + ThriftHiveMetastore_repl_get_target_txn_ids_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, "repl_get_target_txn_ids failed: unknown result"); +} + void ThriftHiveMetastoreClient::lock(LockResponse& _return, const LockRequest& rqst) { send_lock(rqst); @@ -70219,6 +70510,66 @@ void ThriftHiveMetastoreProcessor::process_allocate_table_write_ids(int32_t seqi } } +void ThriftHiveMetastoreProcessor::process_repl_get_target_txn_ids(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.repl_get_target_txn_ids", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "ThriftHiveMetastore.repl_get_target_txn_ids"); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->preRead(ctx, "ThriftHiveMetastore.repl_get_target_txn_ids"); + } + + ThriftHiveMetastore_repl_get_target_txn_ids_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->postRead(ctx, "ThriftHiveMetastore.repl_get_target_txn_ids", bytes); + } + + ThriftHiveMetastore_repl_get_target_txn_ids_result result; + try { + iface_->repl_get_target_txn_ids(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.repl_get_target_txn_ids"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("repl_get_target_txn_ids", ::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.repl_get_target_txn_ids"); + } + + oprot->writeMessageBegin("repl_get_target_txn_ids", ::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.repl_get_target_txn_ids", bytes); + } +} + void ThriftHiveMetastoreProcessor::process_lock(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) { void* ctx = NULL; @@ -86812,6 +87163,98 @@ void ThriftHiveMetastoreConcurrentClient::recv_allocate_table_write_ids(Allocate } // end while(true) } +void ThriftHiveMetastoreConcurrentClient::repl_get_target_txn_ids(GetTargetTxnIdsResponse& _return, const GetTargetTxnIdsRequest& rqst) +{ + int32_t seqid = send_repl_get_target_txn_ids(rqst); + recv_repl_get_target_txn_ids(_return, seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_repl_get_target_txn_ids(const GetTargetTxnIdsRequest& rqst) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("repl_get_target_txn_ids", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_repl_get_target_txn_ids_pargs args; + args.rqst = &rqst; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_repl_get_target_txn_ids(GetTargetTxnIdsResponse& _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("repl_get_target_txn_ids") != 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_repl_get_target_txn_ids_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, "repl_get_target_txn_ids 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::lock(LockResponse& _return, const LockRequest& rqst) { int32_t seqid = send_lock(rqst); diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h index b9e8e24b63..cddf5821d0 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h +++ b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h @@ -169,6 +169,7 @@ class ThriftHiveMetastoreIf : virtual public ::facebook::fb303::FacebookService virtual void commit_txn(const CommitTxnRequest& 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 repl_get_target_txn_ids(GetTargetTxnIdsResponse& _return, const GetTargetTxnIdsRequest& rqst) = 0; virtual void lock(LockResponse& _return, const LockRequest& rqst) = 0; virtual void check_lock(LockResponse& _return, const CheckLockRequest& rqst) = 0; virtual void unlock(const UnlockRequest& rqst) = 0; @@ -719,6 +720,9 @@ class ThriftHiveMetastoreNull : virtual public ThriftHiveMetastoreIf , virtual p void allocate_table_write_ids(AllocateTableWriteIdsResponse& /* _return */, const AllocateTableWriteIdsRequest& /* rqst */) { return; } + void repl_get_target_txn_ids(GetTargetTxnIdsResponse& /* _return */, const GetTargetTxnIdsRequest& /* rqst */) { + return; + } void lock(LockResponse& /* _return */, const LockRequest& /* rqst */) { return; } @@ -19295,6 +19299,126 @@ class ThriftHiveMetastore_allocate_table_write_ids_presult { }; +typedef struct _ThriftHiveMetastore_repl_get_target_txn_ids_args__isset { + _ThriftHiveMetastore_repl_get_target_txn_ids_args__isset() : rqst(false) {} + bool rqst :1; +} _ThriftHiveMetastore_repl_get_target_txn_ids_args__isset; + +class ThriftHiveMetastore_repl_get_target_txn_ids_args { + public: + + ThriftHiveMetastore_repl_get_target_txn_ids_args(const ThriftHiveMetastore_repl_get_target_txn_ids_args&); + ThriftHiveMetastore_repl_get_target_txn_ids_args& operator=(const ThriftHiveMetastore_repl_get_target_txn_ids_args&); + ThriftHiveMetastore_repl_get_target_txn_ids_args() { + } + + virtual ~ThriftHiveMetastore_repl_get_target_txn_ids_args() throw(); + GetTargetTxnIdsRequest rqst; + + _ThriftHiveMetastore_repl_get_target_txn_ids_args__isset __isset; + + void __set_rqst(const GetTargetTxnIdsRequest& val); + + bool operator == (const ThriftHiveMetastore_repl_get_target_txn_ids_args & rhs) const + { + if (!(rqst == rhs.rqst)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_repl_get_target_txn_ids_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_repl_get_target_txn_ids_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class ThriftHiveMetastore_repl_get_target_txn_ids_pargs { + public: + + + virtual ~ThriftHiveMetastore_repl_get_target_txn_ids_pargs() throw(); + const GetTargetTxnIdsRequest* rqst; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_repl_get_target_txn_ids_result__isset { + _ThriftHiveMetastore_repl_get_target_txn_ids_result__isset() : success(false), o1(false), o2(false) {} + bool success :1; + bool o1 :1; + bool o2 :1; +} _ThriftHiveMetastore_repl_get_target_txn_ids_result__isset; + +class ThriftHiveMetastore_repl_get_target_txn_ids_result { + public: + + ThriftHiveMetastore_repl_get_target_txn_ids_result(const ThriftHiveMetastore_repl_get_target_txn_ids_result&); + ThriftHiveMetastore_repl_get_target_txn_ids_result& operator=(const ThriftHiveMetastore_repl_get_target_txn_ids_result&); + ThriftHiveMetastore_repl_get_target_txn_ids_result() { + } + + virtual ~ThriftHiveMetastore_repl_get_target_txn_ids_result() throw(); + GetTargetTxnIdsResponse success; + NoSuchTxnException o1; + MetaException o2; + + _ThriftHiveMetastore_repl_get_target_txn_ids_result__isset __isset; + + void __set_success(const GetTargetTxnIdsResponse& val); + + void __set_o1(const NoSuchTxnException& val); + + void __set_o2(const MetaException& val); + + bool operator == (const ThriftHiveMetastore_repl_get_target_txn_ids_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_repl_get_target_txn_ids_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_repl_get_target_txn_ids_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +typedef struct _ThriftHiveMetastore_repl_get_target_txn_ids_presult__isset { + _ThriftHiveMetastore_repl_get_target_txn_ids_presult__isset() : success(false), o1(false), o2(false) {} + bool success :1; + bool o1 :1; + bool o2 :1; +} _ThriftHiveMetastore_repl_get_target_txn_ids_presult__isset; + +class ThriftHiveMetastore_repl_get_target_txn_ids_presult { + public: + + + virtual ~ThriftHiveMetastore_repl_get_target_txn_ids_presult() throw(); + GetTargetTxnIdsResponse* success; + NoSuchTxnException o1; + MetaException o2; + + _ThriftHiveMetastore_repl_get_target_txn_ids_presult__isset __isset; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + typedef struct _ThriftHiveMetastore_lock_args__isset { _ThriftHiveMetastore_lock_args__isset() : rqst(false) {} bool rqst :1; @@ -25851,6 +25975,9 @@ class ThriftHiveMetastoreClient : virtual public ThriftHiveMetastoreIf, public void allocate_table_write_ids(AllocateTableWriteIdsResponse& _return, const AllocateTableWriteIdsRequest& rqst); void send_allocate_table_write_ids(const AllocateTableWriteIdsRequest& rqst); void recv_allocate_table_write_ids(AllocateTableWriteIdsResponse& _return); + void repl_get_target_txn_ids(GetTargetTxnIdsResponse& _return, const GetTargetTxnIdsRequest& rqst); + void send_repl_get_target_txn_ids(const GetTargetTxnIdsRequest& rqst); + void recv_repl_get_target_txn_ids(GetTargetTxnIdsResponse& _return); void lock(LockResponse& _return, const LockRequest& rqst); void send_lock(const LockRequest& rqst); void recv_lock(LockResponse& _return); @@ -26167,6 +26294,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP void process_commit_txn(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_repl_get_target_txn_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); void process_check_lock(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_unlock(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); @@ -26371,6 +26499,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP processMap_["commit_txn"] = &ThriftHiveMetastoreProcessor::process_commit_txn; processMap_["get_valid_write_ids"] = &ThriftHiveMetastoreProcessor::process_get_valid_write_ids; processMap_["allocate_table_write_ids"] = &ThriftHiveMetastoreProcessor::process_allocate_table_write_ids; + processMap_["repl_get_target_txn_ids"] = &ThriftHiveMetastoreProcessor::process_repl_get_target_txn_ids; processMap_["lock"] = &ThriftHiveMetastoreProcessor::process_lock; processMap_["check_lock"] = &ThriftHiveMetastoreProcessor::process_check_lock; processMap_["unlock"] = &ThriftHiveMetastoreProcessor::process_unlock; @@ -27863,6 +27992,16 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi return; } + void repl_get_target_txn_ids(GetTargetTxnIdsResponse& _return, const GetTargetTxnIdsRequest& rqst) { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->repl_get_target_txn_ids(_return, rqst); + } + ifaces_[i]->repl_get_target_txn_ids(_return, rqst); + return; + } + void lock(LockResponse& _return, const LockRequest& rqst) { size_t sz = ifaces_.size(); size_t i = 0; @@ -28837,6 +28976,9 @@ class ThriftHiveMetastoreConcurrentClient : virtual public ThriftHiveMetastoreIf void allocate_table_write_ids(AllocateTableWriteIdsResponse& _return, const AllocateTableWriteIdsRequest& rqst); int32_t send_allocate_table_write_ids(const AllocateTableWriteIdsRequest& rqst); void recv_allocate_table_write_ids(AllocateTableWriteIdsResponse& _return, const int32_t seqid); + void repl_get_target_txn_ids(GetTargetTxnIdsResponse& _return, const GetTargetTxnIdsRequest& rqst); + int32_t send_repl_get_target_txn_ids(const GetTargetTxnIdsRequest& rqst); + void recv_repl_get_target_txn_ids(GetTargetTxnIdsResponse& _return, const int32_t seqid); void lock(LockResponse& _return, const LockRequest& rqst); int32_t send_lock(const LockRequest& rqst); void recv_lock(LockResponse& _return, const int32_t seqid); 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 cfec64f96a..da66aede81 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 @@ -757,6 +757,11 @@ class ThriftHiveMetastoreHandler : virtual public ThriftHiveMetastoreIf { printf("allocate_table_write_ids\n"); } + void repl_get_target_txn_ids(GetTargetTxnIdsResponse& _return, const GetTargetTxnIdsRequest& rqst) { + // Your implementation goes here + printf("repl_get_target_txn_ids\n"); + } + void lock(LockResponse& _return, const LockRequest& rqst) { // Your implementation goes here printf("lock\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 383cb9bc9c..c07d5a9963 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 @@ -16540,6 +16540,241 @@ void CommitTxnRequest::printTo(std::ostream& out) const { } +GetTargetTxnIdsRequest::~GetTargetTxnIdsRequest() throw() { +} + + +void GetTargetTxnIdsRequest::__set_srcTxnIds(const std::vector & val) { + this->srcTxnIds = val; +} + +void GetTargetTxnIdsRequest::__set_replPolicy(const std::string& val) { + this->replPolicy = val; +} + +uint32_t GetTargetTxnIdsRequest::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_srcTxnIds = false; + bool isset_replPolicy = 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_LIST) { + { + this->srcTxnIds.clear(); + uint32_t _size672; + ::apache::thrift::protocol::TType _etype675; + xfer += iprot->readListBegin(_etype675, _size672); + this->srcTxnIds.resize(_size672); + uint32_t _i676; + for (_i676 = 0; _i676 < _size672; ++_i676) + { + xfer += iprot->readI64(this->srcTxnIds[_i676]); + } + xfer += iprot->readListEnd(); + } + isset_srcTxnIds = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->replPolicy); + isset_replPolicy = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_srcTxnIds) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_replPolicy) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t GetTargetTxnIdsRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("GetTargetTxnIdsRequest"); + + xfer += oprot->writeFieldBegin("srcTxnIds", ::apache::thrift::protocol::T_LIST, 1); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->srcTxnIds.size())); + std::vector ::const_iterator _iter677; + for (_iter677 = this->srcTxnIds.begin(); _iter677 != this->srcTxnIds.end(); ++_iter677) + { + xfer += oprot->writeI64((*_iter677)); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("replPolicy", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->replPolicy); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(GetTargetTxnIdsRequest &a, GetTargetTxnIdsRequest &b) { + using ::std::swap; + swap(a.srcTxnIds, b.srcTxnIds); + swap(a.replPolicy, b.replPolicy); +} + +GetTargetTxnIdsRequest::GetTargetTxnIdsRequest(const GetTargetTxnIdsRequest& other678) { + srcTxnIds = other678.srcTxnIds; + replPolicy = other678.replPolicy; +} +GetTargetTxnIdsRequest& GetTargetTxnIdsRequest::operator=(const GetTargetTxnIdsRequest& other679) { + srcTxnIds = other679.srcTxnIds; + replPolicy = other679.replPolicy; + return *this; +} +void GetTargetTxnIdsRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "GetTargetTxnIdsRequest("; + out << "srcTxnIds=" << to_string(srcTxnIds); + out << ", " << "replPolicy=" << to_string(replPolicy); + out << ")"; +} + + +GetTargetTxnIdsResponse::~GetTargetTxnIdsResponse() throw() { +} + + +void GetTargetTxnIdsResponse::__set_targetTxnIds(const std::vector & val) { + this->targetTxnIds = val; +} + +uint32_t GetTargetTxnIdsResponse::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_targetTxnIds = 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_LIST) { + { + this->targetTxnIds.clear(); + uint32_t _size680; + ::apache::thrift::protocol::TType _etype683; + xfer += iprot->readListBegin(_etype683, _size680); + this->targetTxnIds.resize(_size680); + uint32_t _i684; + for (_i684 = 0; _i684 < _size680; ++_i684) + { + xfer += iprot->readI64(this->targetTxnIds[_i684]); + } + xfer += iprot->readListEnd(); + } + isset_targetTxnIds = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_targetTxnIds) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t GetTargetTxnIdsResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("GetTargetTxnIdsResponse"); + + xfer += oprot->writeFieldBegin("targetTxnIds", ::apache::thrift::protocol::T_LIST, 1); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->targetTxnIds.size())); + std::vector ::const_iterator _iter685; + for (_iter685 = this->targetTxnIds.begin(); _iter685 != this->targetTxnIds.end(); ++_iter685) + { + xfer += oprot->writeI64((*_iter685)); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(GetTargetTxnIdsResponse &a, GetTargetTxnIdsResponse &b) { + using ::std::swap; + swap(a.targetTxnIds, b.targetTxnIds); +} + +GetTargetTxnIdsResponse::GetTargetTxnIdsResponse(const GetTargetTxnIdsResponse& other686) { + targetTxnIds = other686.targetTxnIds; +} +GetTargetTxnIdsResponse& GetTargetTxnIdsResponse::operator=(const GetTargetTxnIdsResponse& other687) { + targetTxnIds = other687.targetTxnIds; + return *this; +} +void GetTargetTxnIdsResponse::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "GetTargetTxnIdsResponse("; + out << "targetTxnIds=" << to_string(targetTxnIds); + out << ")"; +} + + GetValidWriteIdsRequest::~GetValidWriteIdsRequest() throw() { } @@ -16579,14 +16814,14 @@ uint32_t GetValidWriteIdsRequest::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fullTableNames.clear(); - uint32_t _size672; - ::apache::thrift::protocol::TType _etype675; - xfer += iprot->readListBegin(_etype675, _size672); - this->fullTableNames.resize(_size672); - uint32_t _i676; - for (_i676 = 0; _i676 < _size672; ++_i676) + uint32_t _size688; + ::apache::thrift::protocol::TType _etype691; + xfer += iprot->readListBegin(_etype691, _size688); + this->fullTableNames.resize(_size688); + uint32_t _i692; + for (_i692 = 0; _i692 < _size688; ++_i692) { - xfer += iprot->readString(this->fullTableNames[_i676]); + xfer += iprot->readString(this->fullTableNames[_i692]); } xfer += iprot->readListEnd(); } @@ -16627,10 +16862,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 _iter677; - for (_iter677 = this->fullTableNames.begin(); _iter677 != this->fullTableNames.end(); ++_iter677) + std::vector ::const_iterator _iter693; + for (_iter693 = this->fullTableNames.begin(); _iter693 != this->fullTableNames.end(); ++_iter693) { - xfer += oprot->writeString((*_iter677)); + xfer += oprot->writeString((*_iter693)); } xfer += oprot->writeListEnd(); } @@ -16651,13 +16886,13 @@ void swap(GetValidWriteIdsRequest &a, GetValidWriteIdsRequest &b) { swap(a.validTxnList, b.validTxnList); } -GetValidWriteIdsRequest::GetValidWriteIdsRequest(const GetValidWriteIdsRequest& other678) { - fullTableNames = other678.fullTableNames; - validTxnList = other678.validTxnList; +GetValidWriteIdsRequest::GetValidWriteIdsRequest(const GetValidWriteIdsRequest& other694) { + fullTableNames = other694.fullTableNames; + validTxnList = other694.validTxnList; } -GetValidWriteIdsRequest& GetValidWriteIdsRequest::operator=(const GetValidWriteIdsRequest& other679) { - fullTableNames = other679.fullTableNames; - validTxnList = other679.validTxnList; +GetValidWriteIdsRequest& GetValidWriteIdsRequest::operator=(const GetValidWriteIdsRequest& other695) { + fullTableNames = other695.fullTableNames; + validTxnList = other695.validTxnList; return *this; } void GetValidWriteIdsRequest::printTo(std::ostream& out) const { @@ -16739,14 +16974,14 @@ uint32_t TableValidWriteIds::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->invalidWriteIds.clear(); - uint32_t _size680; - ::apache::thrift::protocol::TType _etype683; - xfer += iprot->readListBegin(_etype683, _size680); - this->invalidWriteIds.resize(_size680); - uint32_t _i684; - for (_i684 = 0; _i684 < _size680; ++_i684) + uint32_t _size696; + ::apache::thrift::protocol::TType _etype699; + xfer += iprot->readListBegin(_etype699, _size696); + this->invalidWriteIds.resize(_size696); + uint32_t _i700; + for (_i700 = 0; _i700 < _size696; ++_i700) { - xfer += iprot->readI64(this->invalidWriteIds[_i684]); + xfer += iprot->readI64(this->invalidWriteIds[_i700]); } xfer += iprot->readListEnd(); } @@ -16807,10 +17042,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 _iter685; - for (_iter685 = this->invalidWriteIds.begin(); _iter685 != this->invalidWriteIds.end(); ++_iter685) + std::vector ::const_iterator _iter701; + for (_iter701 = this->invalidWriteIds.begin(); _iter701 != this->invalidWriteIds.end(); ++_iter701) { - xfer += oprot->writeI64((*_iter685)); + xfer += oprot->writeI64((*_iter701)); } xfer += oprot->writeListEnd(); } @@ -16840,21 +17075,21 @@ void swap(TableValidWriteIds &a, TableValidWriteIds &b) { swap(a.__isset, b.__isset); } -TableValidWriteIds::TableValidWriteIds(const TableValidWriteIds& other686) { - fullTableName = other686.fullTableName; - writeIdHighWaterMark = other686.writeIdHighWaterMark; - invalidWriteIds = other686.invalidWriteIds; - minOpenWriteId = other686.minOpenWriteId; - abortedBits = other686.abortedBits; - __isset = other686.__isset; -} -TableValidWriteIds& TableValidWriteIds::operator=(const TableValidWriteIds& other687) { - fullTableName = other687.fullTableName; - writeIdHighWaterMark = other687.writeIdHighWaterMark; - invalidWriteIds = other687.invalidWriteIds; - minOpenWriteId = other687.minOpenWriteId; - abortedBits = other687.abortedBits; - __isset = other687.__isset; +TableValidWriteIds::TableValidWriteIds(const TableValidWriteIds& other702) { + fullTableName = other702.fullTableName; + writeIdHighWaterMark = other702.writeIdHighWaterMark; + invalidWriteIds = other702.invalidWriteIds; + minOpenWriteId = other702.minOpenWriteId; + abortedBits = other702.abortedBits; + __isset = other702.__isset; +} +TableValidWriteIds& TableValidWriteIds::operator=(const TableValidWriteIds& other703) { + fullTableName = other703.fullTableName; + writeIdHighWaterMark = other703.writeIdHighWaterMark; + invalidWriteIds = other703.invalidWriteIds; + minOpenWriteId = other703.minOpenWriteId; + abortedBits = other703.abortedBits; + __isset = other703.__isset; return *this; } void TableValidWriteIds::printTo(std::ostream& out) const { @@ -16903,14 +17138,14 @@ uint32_t GetValidWriteIdsResponse::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tblValidWriteIds.clear(); - uint32_t _size688; - ::apache::thrift::protocol::TType _etype691; - xfer += iprot->readListBegin(_etype691, _size688); - this->tblValidWriteIds.resize(_size688); - uint32_t _i692; - for (_i692 = 0; _i692 < _size688; ++_i692) + uint32_t _size704; + ::apache::thrift::protocol::TType _etype707; + xfer += iprot->readListBegin(_etype707, _size704); + this->tblValidWriteIds.resize(_size704); + uint32_t _i708; + for (_i708 = 0; _i708 < _size704; ++_i708) { - xfer += this->tblValidWriteIds[_i692].read(iprot); + xfer += this->tblValidWriteIds[_i708].read(iprot); } xfer += iprot->readListEnd(); } @@ -16941,10 +17176,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 _iter693; - for (_iter693 = this->tblValidWriteIds.begin(); _iter693 != this->tblValidWriteIds.end(); ++_iter693) + std::vector ::const_iterator _iter709; + for (_iter709 = this->tblValidWriteIds.begin(); _iter709 != this->tblValidWriteIds.end(); ++_iter709) { - xfer += (*_iter693).write(oprot); + xfer += (*_iter709).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16960,11 +17195,11 @@ void swap(GetValidWriteIdsResponse &a, GetValidWriteIdsResponse &b) { swap(a.tblValidWriteIds, b.tblValidWriteIds); } -GetValidWriteIdsResponse::GetValidWriteIdsResponse(const GetValidWriteIdsResponse& other694) { - tblValidWriteIds = other694.tblValidWriteIds; +GetValidWriteIdsResponse::GetValidWriteIdsResponse(const GetValidWriteIdsResponse& other710) { + tblValidWriteIds = other710.tblValidWriteIds; } -GetValidWriteIdsResponse& GetValidWriteIdsResponse::operator=(const GetValidWriteIdsResponse& other695) { - tblValidWriteIds = other695.tblValidWriteIds; +GetValidWriteIdsResponse& GetValidWriteIdsResponse::operator=(const GetValidWriteIdsResponse& other711) { + tblValidWriteIds = other711.tblValidWriteIds; return *this; } void GetValidWriteIdsResponse::printTo(std::ostream& out) const { @@ -17019,14 +17254,14 @@ uint32_t AllocateTableWriteIdsRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txnIds.clear(); - uint32_t _size696; - ::apache::thrift::protocol::TType _etype699; - xfer += iprot->readListBegin(_etype699, _size696); - this->txnIds.resize(_size696); - uint32_t _i700; - for (_i700 = 0; _i700 < _size696; ++_i700) + uint32_t _size712; + ::apache::thrift::protocol::TType _etype715; + xfer += iprot->readListBegin(_etype715, _size712); + this->txnIds.resize(_size712); + uint32_t _i716; + for (_i716 = 0; _i716 < _size712; ++_i716) { - xfer += iprot->readI64(this->txnIds[_i700]); + xfer += iprot->readI64(this->txnIds[_i716]); } xfer += iprot->readListEnd(); } @@ -17077,10 +17312,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 _iter701; - for (_iter701 = this->txnIds.begin(); _iter701 != this->txnIds.end(); ++_iter701) + std::vector ::const_iterator _iter717; + for (_iter717 = this->txnIds.begin(); _iter717 != this->txnIds.end(); ++_iter717) { - xfer += oprot->writeI64((*_iter701)); + xfer += oprot->writeI64((*_iter717)); } xfer += oprot->writeListEnd(); } @@ -17106,15 +17341,15 @@ void swap(AllocateTableWriteIdsRequest &a, AllocateTableWriteIdsRequest &b) { swap(a.tableName, b.tableName); } -AllocateTableWriteIdsRequest::AllocateTableWriteIdsRequest(const AllocateTableWriteIdsRequest& other702) { - txnIds = other702.txnIds; - dbName = other702.dbName; - tableName = other702.tableName; +AllocateTableWriteIdsRequest::AllocateTableWriteIdsRequest(const AllocateTableWriteIdsRequest& other718) { + txnIds = other718.txnIds; + dbName = other718.dbName; + tableName = other718.tableName; } -AllocateTableWriteIdsRequest& AllocateTableWriteIdsRequest::operator=(const AllocateTableWriteIdsRequest& other703) { - txnIds = other703.txnIds; - dbName = other703.dbName; - tableName = other703.tableName; +AllocateTableWriteIdsRequest& AllocateTableWriteIdsRequest::operator=(const AllocateTableWriteIdsRequest& other719) { + txnIds = other719.txnIds; + dbName = other719.dbName; + tableName = other719.tableName; return *this; } void AllocateTableWriteIdsRequest::printTo(std::ostream& out) const { @@ -17218,13 +17453,13 @@ void swap(TxnToWriteId &a, TxnToWriteId &b) { swap(a.writeId, b.writeId); } -TxnToWriteId::TxnToWriteId(const TxnToWriteId& other704) { - txnId = other704.txnId; - writeId = other704.writeId; +TxnToWriteId::TxnToWriteId(const TxnToWriteId& other720) { + txnId = other720.txnId; + writeId = other720.writeId; } -TxnToWriteId& TxnToWriteId::operator=(const TxnToWriteId& other705) { - txnId = other705.txnId; - writeId = other705.writeId; +TxnToWriteId& TxnToWriteId::operator=(const TxnToWriteId& other721) { + txnId = other721.txnId; + writeId = other721.writeId; return *this; } void TxnToWriteId::printTo(std::ostream& out) const { @@ -17270,14 +17505,14 @@ uint32_t AllocateTableWriteIdsResponse::read(::apache::thrift::protocol::TProtoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txnToWriteIds.clear(); - uint32_t _size706; - ::apache::thrift::protocol::TType _etype709; - xfer += iprot->readListBegin(_etype709, _size706); - this->txnToWriteIds.resize(_size706); - uint32_t _i710; - for (_i710 = 0; _i710 < _size706; ++_i710) + uint32_t _size722; + ::apache::thrift::protocol::TType _etype725; + xfer += iprot->readListBegin(_etype725, _size722); + this->txnToWriteIds.resize(_size722); + uint32_t _i726; + for (_i726 = 0; _i726 < _size722; ++_i726) { - xfer += this->txnToWriteIds[_i710].read(iprot); + xfer += this->txnToWriteIds[_i726].read(iprot); } xfer += iprot->readListEnd(); } @@ -17308,10 +17543,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 _iter711; - for (_iter711 = this->txnToWriteIds.begin(); _iter711 != this->txnToWriteIds.end(); ++_iter711) + std::vector ::const_iterator _iter727; + for (_iter727 = this->txnToWriteIds.begin(); _iter727 != this->txnToWriteIds.end(); ++_iter727) { - xfer += (*_iter711).write(oprot); + xfer += (*_iter727).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17327,11 +17562,11 @@ void swap(AllocateTableWriteIdsResponse &a, AllocateTableWriteIdsResponse &b) { swap(a.txnToWriteIds, b.txnToWriteIds); } -AllocateTableWriteIdsResponse::AllocateTableWriteIdsResponse(const AllocateTableWriteIdsResponse& other712) { - txnToWriteIds = other712.txnToWriteIds; +AllocateTableWriteIdsResponse::AllocateTableWriteIdsResponse(const AllocateTableWriteIdsResponse& other728) { + txnToWriteIds = other728.txnToWriteIds; } -AllocateTableWriteIdsResponse& AllocateTableWriteIdsResponse::operator=(const AllocateTableWriteIdsResponse& other713) { - txnToWriteIds = other713.txnToWriteIds; +AllocateTableWriteIdsResponse& AllocateTableWriteIdsResponse::operator=(const AllocateTableWriteIdsResponse& other729) { + txnToWriteIds = other729.txnToWriteIds; return *this; } void AllocateTableWriteIdsResponse::printTo(std::ostream& out) const { @@ -17409,9 +17644,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast714; - xfer += iprot->readI32(ecast714); - this->type = (LockType::type)ecast714; + int32_t ecast730; + xfer += iprot->readI32(ecast730); + this->type = (LockType::type)ecast730; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -17419,9 +17654,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast715; - xfer += iprot->readI32(ecast715); - this->level = (LockLevel::type)ecast715; + int32_t ecast731; + xfer += iprot->readI32(ecast731); + this->level = (LockLevel::type)ecast731; isset_level = true; } else { xfer += iprot->skip(ftype); @@ -17453,9 +17688,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast716; - xfer += iprot->readI32(ecast716); - this->operationType = (DataOperationType::type)ecast716; + int32_t ecast732; + xfer += iprot->readI32(ecast732); + this->operationType = (DataOperationType::type)ecast732; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -17555,27 +17790,27 @@ void swap(LockComponent &a, LockComponent &b) { swap(a.__isset, b.__isset); } -LockComponent::LockComponent(const LockComponent& other717) { - type = other717.type; - level = other717.level; - dbname = other717.dbname; - tablename = other717.tablename; - partitionname = other717.partitionname; - operationType = other717.operationType; - isTransactional = other717.isTransactional; - isDynamicPartitionWrite = other717.isDynamicPartitionWrite; - __isset = other717.__isset; -} -LockComponent& LockComponent::operator=(const LockComponent& other718) { - type = other718.type; - level = other718.level; - dbname = other718.dbname; - tablename = other718.tablename; - partitionname = other718.partitionname; - operationType = other718.operationType; - isTransactional = other718.isTransactional; - isDynamicPartitionWrite = other718.isDynamicPartitionWrite; - __isset = other718.__isset; +LockComponent::LockComponent(const LockComponent& other733) { + type = other733.type; + level = other733.level; + dbname = other733.dbname; + tablename = other733.tablename; + partitionname = other733.partitionname; + operationType = other733.operationType; + isTransactional = other733.isTransactional; + isDynamicPartitionWrite = other733.isDynamicPartitionWrite; + __isset = other733.__isset; +} +LockComponent& LockComponent::operator=(const LockComponent& other734) { + type = other734.type; + level = other734.level; + dbname = other734.dbname; + tablename = other734.tablename; + partitionname = other734.partitionname; + operationType = other734.operationType; + isTransactional = other734.isTransactional; + isDynamicPartitionWrite = other734.isDynamicPartitionWrite; + __isset = other734.__isset; return *this; } void LockComponent::printTo(std::ostream& out) const { @@ -17647,14 +17882,14 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->component.clear(); - uint32_t _size719; - ::apache::thrift::protocol::TType _etype722; - xfer += iprot->readListBegin(_etype722, _size719); - this->component.resize(_size719); - uint32_t _i723; - for (_i723 = 0; _i723 < _size719; ++_i723) + uint32_t _size735; + ::apache::thrift::protocol::TType _etype738; + xfer += iprot->readListBegin(_etype738, _size735); + this->component.resize(_size735); + uint32_t _i739; + for (_i739 = 0; _i739 < _size735; ++_i739) { - xfer += this->component[_i723].read(iprot); + xfer += this->component[_i739].read(iprot); } xfer += iprot->readListEnd(); } @@ -17721,10 +17956,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 _iter724; - for (_iter724 = this->component.begin(); _iter724 != this->component.end(); ++_iter724) + std::vector ::const_iterator _iter740; + for (_iter740 = this->component.begin(); _iter740 != this->component.end(); ++_iter740) { - xfer += (*_iter724).write(oprot); + xfer += (*_iter740).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17763,21 +17998,21 @@ void swap(LockRequest &a, LockRequest &b) { swap(a.__isset, b.__isset); } -LockRequest::LockRequest(const LockRequest& other725) { - component = other725.component; - txnid = other725.txnid; - user = other725.user; - hostname = other725.hostname; - agentInfo = other725.agentInfo; - __isset = other725.__isset; -} -LockRequest& LockRequest::operator=(const LockRequest& other726) { - component = other726.component; - txnid = other726.txnid; - user = other726.user; - hostname = other726.hostname; - agentInfo = other726.agentInfo; - __isset = other726.__isset; +LockRequest::LockRequest(const LockRequest& other741) { + component = other741.component; + txnid = other741.txnid; + user = other741.user; + hostname = other741.hostname; + agentInfo = other741.agentInfo; + __isset = other741.__isset; +} +LockRequest& LockRequest::operator=(const LockRequest& other742) { + component = other742.component; + txnid = other742.txnid; + user = other742.user; + hostname = other742.hostname; + agentInfo = other742.agentInfo; + __isset = other742.__isset; return *this; } void LockRequest::printTo(std::ostream& out) const { @@ -17837,9 +18072,9 @@ uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast727; - xfer += iprot->readI32(ecast727); - this->state = (LockState::type)ecast727; + int32_t ecast743; + xfer += iprot->readI32(ecast743); + this->state = (LockState::type)ecast743; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -17885,13 +18120,13 @@ void swap(LockResponse &a, LockResponse &b) { swap(a.state, b.state); } -LockResponse::LockResponse(const LockResponse& other728) { - lockid = other728.lockid; - state = other728.state; +LockResponse::LockResponse(const LockResponse& other744) { + lockid = other744.lockid; + state = other744.state; } -LockResponse& LockResponse::operator=(const LockResponse& other729) { - lockid = other729.lockid; - state = other729.state; +LockResponse& LockResponse::operator=(const LockResponse& other745) { + lockid = other745.lockid; + state = other745.state; return *this; } void LockResponse::printTo(std::ostream& out) const { @@ -18013,17 +18248,17 @@ void swap(CheckLockRequest &a, CheckLockRequest &b) { swap(a.__isset, b.__isset); } -CheckLockRequest::CheckLockRequest(const CheckLockRequest& other730) { - lockid = other730.lockid; - txnid = other730.txnid; - elapsed_ms = other730.elapsed_ms; - __isset = other730.__isset; +CheckLockRequest::CheckLockRequest(const CheckLockRequest& other746) { + lockid = other746.lockid; + txnid = other746.txnid; + elapsed_ms = other746.elapsed_ms; + __isset = other746.__isset; } -CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other731) { - lockid = other731.lockid; - txnid = other731.txnid; - elapsed_ms = other731.elapsed_ms; - __isset = other731.__isset; +CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other747) { + lockid = other747.lockid; + txnid = other747.txnid; + elapsed_ms = other747.elapsed_ms; + __isset = other747.__isset; return *this; } void CheckLockRequest::printTo(std::ostream& out) const { @@ -18107,11 +18342,11 @@ void swap(UnlockRequest &a, UnlockRequest &b) { swap(a.lockid, b.lockid); } -UnlockRequest::UnlockRequest(const UnlockRequest& other732) { - lockid = other732.lockid; +UnlockRequest::UnlockRequest(const UnlockRequest& other748) { + lockid = other748.lockid; } -UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other733) { - lockid = other733.lockid; +UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other749) { + lockid = other749.lockid; return *this; } void UnlockRequest::printTo(std::ostream& out) const { @@ -18250,19 +18485,19 @@ void swap(ShowLocksRequest &a, ShowLocksRequest &b) { swap(a.__isset, b.__isset); } -ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other734) { - dbname = other734.dbname; - tablename = other734.tablename; - partname = other734.partname; - isExtended = other734.isExtended; - __isset = other734.__isset; +ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other750) { + dbname = other750.dbname; + tablename = other750.tablename; + partname = other750.partname; + isExtended = other750.isExtended; + __isset = other750.__isset; } -ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other735) { - dbname = other735.dbname; - tablename = other735.tablename; - partname = other735.partname; - isExtended = other735.isExtended; - __isset = other735.__isset; +ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other751) { + dbname = other751.dbname; + tablename = other751.tablename; + partname = other751.partname; + isExtended = other751.isExtended; + __isset = other751.__isset; return *this; } void ShowLocksRequest::printTo(std::ostream& out) const { @@ -18415,9 +18650,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast736; - xfer += iprot->readI32(ecast736); - this->state = (LockState::type)ecast736; + int32_t ecast752; + xfer += iprot->readI32(ecast752); + this->state = (LockState::type)ecast752; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -18425,9 +18660,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast737; - xfer += iprot->readI32(ecast737); - this->type = (LockType::type)ecast737; + int32_t ecast753; + xfer += iprot->readI32(ecast753); + this->type = (LockType::type)ecast753; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -18643,43 +18878,43 @@ void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b) { swap(a.__isset, b.__isset); } -ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other738) { - lockid = other738.lockid; - dbname = other738.dbname; - tablename = other738.tablename; - partname = other738.partname; - state = other738.state; - type = other738.type; - txnid = other738.txnid; - lastheartbeat = other738.lastheartbeat; - acquiredat = other738.acquiredat; - user = other738.user; - hostname = other738.hostname; - heartbeatCount = other738.heartbeatCount; - agentInfo = other738.agentInfo; - blockedByExtId = other738.blockedByExtId; - blockedByIntId = other738.blockedByIntId; - lockIdInternal = other738.lockIdInternal; - __isset = other738.__isset; -} -ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other739) { - lockid = other739.lockid; - dbname = other739.dbname; - tablename = other739.tablename; - partname = other739.partname; - state = other739.state; - type = other739.type; - txnid = other739.txnid; - lastheartbeat = other739.lastheartbeat; - acquiredat = other739.acquiredat; - user = other739.user; - hostname = other739.hostname; - heartbeatCount = other739.heartbeatCount; - agentInfo = other739.agentInfo; - blockedByExtId = other739.blockedByExtId; - blockedByIntId = other739.blockedByIntId; - lockIdInternal = other739.lockIdInternal; - __isset = other739.__isset; +ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other754) { + lockid = other754.lockid; + dbname = other754.dbname; + tablename = other754.tablename; + partname = other754.partname; + state = other754.state; + type = other754.type; + txnid = other754.txnid; + lastheartbeat = other754.lastheartbeat; + acquiredat = other754.acquiredat; + user = other754.user; + hostname = other754.hostname; + heartbeatCount = other754.heartbeatCount; + agentInfo = other754.agentInfo; + blockedByExtId = other754.blockedByExtId; + blockedByIntId = other754.blockedByIntId; + lockIdInternal = other754.lockIdInternal; + __isset = other754.__isset; +} +ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other755) { + lockid = other755.lockid; + dbname = other755.dbname; + tablename = other755.tablename; + partname = other755.partname; + state = other755.state; + type = other755.type; + txnid = other755.txnid; + lastheartbeat = other755.lastheartbeat; + acquiredat = other755.acquiredat; + user = other755.user; + hostname = other755.hostname; + heartbeatCount = other755.heartbeatCount; + agentInfo = other755.agentInfo; + blockedByExtId = other755.blockedByExtId; + blockedByIntId = other755.blockedByIntId; + lockIdInternal = other755.lockIdInternal; + __isset = other755.__isset; return *this; } void ShowLocksResponseElement::printTo(std::ostream& out) const { @@ -18738,14 +18973,14 @@ uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->locks.clear(); - uint32_t _size740; - ::apache::thrift::protocol::TType _etype743; - xfer += iprot->readListBegin(_etype743, _size740); - this->locks.resize(_size740); - uint32_t _i744; - for (_i744 = 0; _i744 < _size740; ++_i744) + uint32_t _size756; + ::apache::thrift::protocol::TType _etype759; + xfer += iprot->readListBegin(_etype759, _size756); + this->locks.resize(_size756); + uint32_t _i760; + for (_i760 = 0; _i760 < _size756; ++_i760) { - xfer += this->locks[_i744].read(iprot); + xfer += this->locks[_i760].read(iprot); } xfer += iprot->readListEnd(); } @@ -18774,10 +19009,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 _iter745; - for (_iter745 = this->locks.begin(); _iter745 != this->locks.end(); ++_iter745) + std::vector ::const_iterator _iter761; + for (_iter761 = this->locks.begin(); _iter761 != this->locks.end(); ++_iter761) { - xfer += (*_iter745).write(oprot); + xfer += (*_iter761).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18794,13 +19029,13 @@ void swap(ShowLocksResponse &a, ShowLocksResponse &b) { swap(a.__isset, b.__isset); } -ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other746) { - locks = other746.locks; - __isset = other746.__isset; +ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other762) { + locks = other762.locks; + __isset = other762.__isset; } -ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other747) { - locks = other747.locks; - __isset = other747.__isset; +ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other763) { + locks = other763.locks; + __isset = other763.__isset; return *this; } void ShowLocksResponse::printTo(std::ostream& out) const { @@ -18901,15 +19136,15 @@ void swap(HeartbeatRequest &a, HeartbeatRequest &b) { swap(a.__isset, b.__isset); } -HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other748) { - lockid = other748.lockid; - txnid = other748.txnid; - __isset = other748.__isset; +HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other764) { + lockid = other764.lockid; + txnid = other764.txnid; + __isset = other764.__isset; } -HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other749) { - lockid = other749.lockid; - txnid = other749.txnid; - __isset = other749.__isset; +HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other765) { + lockid = other765.lockid; + txnid = other765.txnid; + __isset = other765.__isset; return *this; } void HeartbeatRequest::printTo(std::ostream& out) const { @@ -19012,13 +19247,13 @@ void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b) { swap(a.max, b.max); } -HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other750) { - min = other750.min; - max = other750.max; +HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other766) { + min = other766.min; + max = other766.max; } -HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other751) { - min = other751.min; - max = other751.max; +HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other767) { + min = other767.min; + max = other767.max; return *this; } void HeartbeatTxnRangeRequest::printTo(std::ostream& out) const { @@ -19069,15 +19304,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->aborted.clear(); - uint32_t _size752; - ::apache::thrift::protocol::TType _etype755; - xfer += iprot->readSetBegin(_etype755, _size752); - uint32_t _i756; - for (_i756 = 0; _i756 < _size752; ++_i756) + uint32_t _size768; + ::apache::thrift::protocol::TType _etype771; + xfer += iprot->readSetBegin(_etype771, _size768); + uint32_t _i772; + for (_i772 = 0; _i772 < _size768; ++_i772) { - int64_t _elem757; - xfer += iprot->readI64(_elem757); - this->aborted.insert(_elem757); + int64_t _elem773; + xfer += iprot->readI64(_elem773); + this->aborted.insert(_elem773); } xfer += iprot->readSetEnd(); } @@ -19090,15 +19325,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->nosuch.clear(); - uint32_t _size758; - ::apache::thrift::protocol::TType _etype761; - xfer += iprot->readSetBegin(_etype761, _size758); - uint32_t _i762; - for (_i762 = 0; _i762 < _size758; ++_i762) + uint32_t _size774; + ::apache::thrift::protocol::TType _etype777; + xfer += iprot->readSetBegin(_etype777, _size774); + uint32_t _i778; + for (_i778 = 0; _i778 < _size774; ++_i778) { - int64_t _elem763; - xfer += iprot->readI64(_elem763); - this->nosuch.insert(_elem763); + int64_t _elem779; + xfer += iprot->readI64(_elem779); + this->nosuch.insert(_elem779); } xfer += iprot->readSetEnd(); } @@ -19131,10 +19366,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 _iter764; - for (_iter764 = this->aborted.begin(); _iter764 != this->aborted.end(); ++_iter764) + std::set ::const_iterator _iter780; + for (_iter780 = this->aborted.begin(); _iter780 != this->aborted.end(); ++_iter780) { - xfer += oprot->writeI64((*_iter764)); + xfer += oprot->writeI64((*_iter780)); } xfer += oprot->writeSetEnd(); } @@ -19143,10 +19378,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 _iter765; - for (_iter765 = this->nosuch.begin(); _iter765 != this->nosuch.end(); ++_iter765) + std::set ::const_iterator _iter781; + for (_iter781 = this->nosuch.begin(); _iter781 != this->nosuch.end(); ++_iter781) { - xfer += oprot->writeI64((*_iter765)); + xfer += oprot->writeI64((*_iter781)); } xfer += oprot->writeSetEnd(); } @@ -19163,13 +19398,13 @@ void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b) { swap(a.nosuch, b.nosuch); } -HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other766) { - aborted = other766.aborted; - nosuch = other766.nosuch; +HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other782) { + aborted = other782.aborted; + nosuch = other782.nosuch; } -HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other767) { - aborted = other767.aborted; - nosuch = other767.nosuch; +HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other783) { + aborted = other783.aborted; + nosuch = other783.nosuch; return *this; } void HeartbeatTxnRangeResponse::printTo(std::ostream& out) const { @@ -19262,9 +19497,9 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast768; - xfer += iprot->readI32(ecast768); - this->type = (CompactionType::type)ecast768; + int32_t ecast784; + xfer += iprot->readI32(ecast784); + this->type = (CompactionType::type)ecast784; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -19282,17 +19517,17 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size769; - ::apache::thrift::protocol::TType _ktype770; - ::apache::thrift::protocol::TType _vtype771; - xfer += iprot->readMapBegin(_ktype770, _vtype771, _size769); - uint32_t _i773; - for (_i773 = 0; _i773 < _size769; ++_i773) + uint32_t _size785; + ::apache::thrift::protocol::TType _ktype786; + ::apache::thrift::protocol::TType _vtype787; + xfer += iprot->readMapBegin(_ktype786, _vtype787, _size785); + uint32_t _i789; + for (_i789 = 0; _i789 < _size785; ++_i789) { - std::string _key774; - xfer += iprot->readString(_key774); - std::string& _val775 = this->properties[_key774]; - xfer += iprot->readString(_val775); + std::string _key790; + xfer += iprot->readString(_key790); + std::string& _val791 = this->properties[_key790]; + xfer += iprot->readString(_val791); } xfer += iprot->readMapEnd(); } @@ -19350,11 +19585,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 _iter776; - for (_iter776 = this->properties.begin(); _iter776 != this->properties.end(); ++_iter776) + std::map ::const_iterator _iter792; + for (_iter792 = this->properties.begin(); _iter792 != this->properties.end(); ++_iter792) { - xfer += oprot->writeString(_iter776->first); - xfer += oprot->writeString(_iter776->second); + xfer += oprot->writeString(_iter792->first); + xfer += oprot->writeString(_iter792->second); } xfer += oprot->writeMapEnd(); } @@ -19376,23 +19611,23 @@ void swap(CompactionRequest &a, CompactionRequest &b) { swap(a.__isset, b.__isset); } -CompactionRequest::CompactionRequest(const CompactionRequest& other777) { - dbname = other777.dbname; - tablename = other777.tablename; - partitionname = other777.partitionname; - type = other777.type; - runas = other777.runas; - properties = other777.properties; - __isset = other777.__isset; -} -CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other778) { - dbname = other778.dbname; - tablename = other778.tablename; - partitionname = other778.partitionname; - type = other778.type; - runas = other778.runas; - properties = other778.properties; - __isset = other778.__isset; +CompactionRequest::CompactionRequest(const CompactionRequest& other793) { + dbname = other793.dbname; + tablename = other793.tablename; + partitionname = other793.partitionname; + type = other793.type; + runas = other793.runas; + properties = other793.properties; + __isset = other793.__isset; +} +CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other794) { + dbname = other794.dbname; + tablename = other794.tablename; + partitionname = other794.partitionname; + type = other794.type; + runas = other794.runas; + properties = other794.properties; + __isset = other794.__isset; return *this; } void CompactionRequest::printTo(std::ostream& out) const { @@ -19519,15 +19754,15 @@ void swap(CompactionResponse &a, CompactionResponse &b) { swap(a.accepted, b.accepted); } -CompactionResponse::CompactionResponse(const CompactionResponse& other779) { - id = other779.id; - state = other779.state; - accepted = other779.accepted; +CompactionResponse::CompactionResponse(const CompactionResponse& other795) { + id = other795.id; + state = other795.state; + accepted = other795.accepted; } -CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other780) { - id = other780.id; - state = other780.state; - accepted = other780.accepted; +CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other796) { + id = other796.id; + state = other796.state; + accepted = other796.accepted; return *this; } void CompactionResponse::printTo(std::ostream& out) const { @@ -19588,11 +19823,11 @@ void swap(ShowCompactRequest &a, ShowCompactRequest &b) { (void) b; } -ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other781) { - (void) other781; +ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other797) { + (void) other797; } -ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other782) { - (void) other782; +ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other798) { + (void) other798; return *this; } void ShowCompactRequest::printTo(std::ostream& out) const { @@ -19718,9 +19953,9 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast783; - xfer += iprot->readI32(ecast783); - this->type = (CompactionType::type)ecast783; + int32_t ecast799; + xfer += iprot->readI32(ecast799); + this->type = (CompactionType::type)ecast799; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -19907,37 +20142,37 @@ void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b) { swap(a.__isset, b.__isset); } -ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other784) { - dbname = other784.dbname; - tablename = other784.tablename; - partitionname = other784.partitionname; - type = other784.type; - state = other784.state; - workerid = other784.workerid; - start = other784.start; - runAs = other784.runAs; - hightestTxnId = other784.hightestTxnId; - metaInfo = other784.metaInfo; - endTime = other784.endTime; - hadoopJobId = other784.hadoopJobId; - id = other784.id; - __isset = other784.__isset; -} -ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other785) { - dbname = other785.dbname; - tablename = other785.tablename; - partitionname = other785.partitionname; - type = other785.type; - state = other785.state; - workerid = other785.workerid; - start = other785.start; - runAs = other785.runAs; - hightestTxnId = other785.hightestTxnId; - metaInfo = other785.metaInfo; - endTime = other785.endTime; - hadoopJobId = other785.hadoopJobId; - id = other785.id; - __isset = other785.__isset; +ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other800) { + dbname = other800.dbname; + tablename = other800.tablename; + partitionname = other800.partitionname; + type = other800.type; + state = other800.state; + workerid = other800.workerid; + start = other800.start; + runAs = other800.runAs; + hightestTxnId = other800.hightestTxnId; + metaInfo = other800.metaInfo; + endTime = other800.endTime; + hadoopJobId = other800.hadoopJobId; + id = other800.id; + __isset = other800.__isset; +} +ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other801) { + dbname = other801.dbname; + tablename = other801.tablename; + partitionname = other801.partitionname; + type = other801.type; + state = other801.state; + workerid = other801.workerid; + start = other801.start; + runAs = other801.runAs; + hightestTxnId = other801.hightestTxnId; + metaInfo = other801.metaInfo; + endTime = other801.endTime; + hadoopJobId = other801.hadoopJobId; + id = other801.id; + __isset = other801.__isset; return *this; } void ShowCompactResponseElement::printTo(std::ostream& out) const { @@ -19994,14 +20229,14 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compacts.clear(); - uint32_t _size786; - ::apache::thrift::protocol::TType _etype789; - xfer += iprot->readListBegin(_etype789, _size786); - this->compacts.resize(_size786); - uint32_t _i790; - for (_i790 = 0; _i790 < _size786; ++_i790) + uint32_t _size802; + ::apache::thrift::protocol::TType _etype805; + xfer += iprot->readListBegin(_etype805, _size802); + this->compacts.resize(_size802); + uint32_t _i806; + for (_i806 = 0; _i806 < _size802; ++_i806) { - xfer += this->compacts[_i790].read(iprot); + xfer += this->compacts[_i806].read(iprot); } xfer += iprot->readListEnd(); } @@ -20032,10 +20267,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 _iter791; - for (_iter791 = this->compacts.begin(); _iter791 != this->compacts.end(); ++_iter791) + std::vector ::const_iterator _iter807; + for (_iter807 = this->compacts.begin(); _iter807 != this->compacts.end(); ++_iter807) { - xfer += (*_iter791).write(oprot); + xfer += (*_iter807).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20051,11 +20286,11 @@ void swap(ShowCompactResponse &a, ShowCompactResponse &b) { swap(a.compacts, b.compacts); } -ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other792) { - compacts = other792.compacts; +ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other808) { + compacts = other808.compacts; } -ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other793) { - compacts = other793.compacts; +ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other809) { + compacts = other809.compacts; return *this; } void ShowCompactResponse::printTo(std::ostream& out) const { @@ -20157,14 +20392,14 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionnames.clear(); - uint32_t _size794; - ::apache::thrift::protocol::TType _etype797; - xfer += iprot->readListBegin(_etype797, _size794); - this->partitionnames.resize(_size794); - uint32_t _i798; - for (_i798 = 0; _i798 < _size794; ++_i798) + uint32_t _size810; + ::apache::thrift::protocol::TType _etype813; + xfer += iprot->readListBegin(_etype813, _size810); + this->partitionnames.resize(_size810); + uint32_t _i814; + for (_i814 = 0; _i814 < _size810; ++_i814) { - xfer += iprot->readString(this->partitionnames[_i798]); + xfer += iprot->readString(this->partitionnames[_i814]); } xfer += iprot->readListEnd(); } @@ -20175,9 +20410,9 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast799; - xfer += iprot->readI32(ecast799); - this->operationType = (DataOperationType::type)ecast799; + int32_t ecast815; + xfer += iprot->readI32(ecast815); + this->operationType = (DataOperationType::type)ecast815; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -20229,10 +20464,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 _iter800; - for (_iter800 = this->partitionnames.begin(); _iter800 != this->partitionnames.end(); ++_iter800) + std::vector ::const_iterator _iter816; + for (_iter816 = this->partitionnames.begin(); _iter816 != this->partitionnames.end(); ++_iter816) { - xfer += oprot->writeString((*_iter800)); + xfer += oprot->writeString((*_iter816)); } xfer += oprot->writeListEnd(); } @@ -20259,23 +20494,23 @@ void swap(AddDynamicPartitions &a, AddDynamicPartitions &b) { swap(a.__isset, b.__isset); } -AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other801) { - txnid = other801.txnid; - writeid = other801.writeid; - dbname = other801.dbname; - tablename = other801.tablename; - partitionnames = other801.partitionnames; - operationType = other801.operationType; - __isset = other801.__isset; +AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other817) { + txnid = other817.txnid; + writeid = other817.writeid; + dbname = other817.dbname; + tablename = other817.tablename; + partitionnames = other817.partitionnames; + operationType = other817.operationType; + __isset = other817.__isset; } -AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other802) { - txnid = other802.txnid; - writeid = other802.writeid; - dbname = other802.dbname; - tablename = other802.tablename; - partitionnames = other802.partitionnames; - operationType = other802.operationType; - __isset = other802.__isset; +AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other818) { + txnid = other818.txnid; + writeid = other818.writeid; + dbname = other818.dbname; + tablename = other818.tablename; + partitionnames = other818.partitionnames; + operationType = other818.operationType; + __isset = other818.__isset; return *this; } void AddDynamicPartitions::printTo(std::ostream& out) const { @@ -20458,23 +20693,23 @@ void swap(BasicTxnInfo &a, BasicTxnInfo &b) { swap(a.__isset, b.__isset); } -BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other803) { - isnull = other803.isnull; - time = other803.time; - txnid = other803.txnid; - dbname = other803.dbname; - tablename = other803.tablename; - partitionname = other803.partitionname; - __isset = other803.__isset; -} -BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other804) { - isnull = other804.isnull; - time = other804.time; - txnid = other804.txnid; - dbname = other804.dbname; - tablename = other804.tablename; - partitionname = other804.partitionname; - __isset = other804.__isset; +BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other819) { + isnull = other819.isnull; + time = other819.time; + txnid = other819.txnid; + dbname = other819.dbname; + tablename = other819.tablename; + partitionname = other819.partitionname; + __isset = other819.__isset; +} +BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other820) { + isnull = other820.isnull; + time = other820.time; + txnid = other820.txnid; + dbname = other820.dbname; + tablename = other820.tablename; + partitionname = other820.partitionname; + __isset = other820.__isset; return *this; } void BasicTxnInfo::printTo(std::ostream& out) const { @@ -20568,15 +20803,15 @@ uint32_t CreationMetadata::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->tablesUsed.clear(); - uint32_t _size805; - ::apache::thrift::protocol::TType _etype808; - xfer += iprot->readSetBegin(_etype808, _size805); - uint32_t _i809; - for (_i809 = 0; _i809 < _size805; ++_i809) + uint32_t _size821; + ::apache::thrift::protocol::TType _etype824; + xfer += iprot->readSetBegin(_etype824, _size821); + uint32_t _i825; + for (_i825 = 0; _i825 < _size821; ++_i825) { - std::string _elem810; - xfer += iprot->readString(_elem810); - this->tablesUsed.insert(_elem810); + std::string _elem826; + xfer += iprot->readString(_elem826); + this->tablesUsed.insert(_elem826); } xfer += iprot->readSetEnd(); } @@ -20633,10 +20868,10 @@ uint32_t CreationMetadata::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("tablesUsed", ::apache::thrift::protocol::T_SET, 4); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tablesUsed.size())); - std::set ::const_iterator _iter811; - for (_iter811 = this->tablesUsed.begin(); _iter811 != this->tablesUsed.end(); ++_iter811) + std::set ::const_iterator _iter827; + for (_iter827 = this->tablesUsed.begin(); _iter827 != this->tablesUsed.end(); ++_iter827) { - xfer += oprot->writeString((*_iter811)); + xfer += oprot->writeString((*_iter827)); } xfer += oprot->writeSetEnd(); } @@ -20662,21 +20897,21 @@ void swap(CreationMetadata &a, CreationMetadata &b) { swap(a.__isset, b.__isset); } -CreationMetadata::CreationMetadata(const CreationMetadata& other812) { - catName = other812.catName; - dbName = other812.dbName; - tblName = other812.tblName; - tablesUsed = other812.tablesUsed; - validTxnList = other812.validTxnList; - __isset = other812.__isset; -} -CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other813) { - catName = other813.catName; - dbName = other813.dbName; - tblName = other813.tblName; - tablesUsed = other813.tablesUsed; - validTxnList = other813.validTxnList; - __isset = other813.__isset; +CreationMetadata::CreationMetadata(const CreationMetadata& other828) { + catName = other828.catName; + dbName = other828.dbName; + tblName = other828.tblName; + tablesUsed = other828.tablesUsed; + validTxnList = other828.validTxnList; + __isset = other828.__isset; +} +CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other829) { + catName = other829.catName; + dbName = other829.dbName; + tblName = other829.tblName; + tablesUsed = other829.tablesUsed; + validTxnList = other829.validTxnList; + __isset = other829.__isset; return *this; } void CreationMetadata::printTo(std::ostream& out) const { @@ -20782,15 +21017,15 @@ void swap(NotificationEventRequest &a, NotificationEventRequest &b) { swap(a.__isset, b.__isset); } -NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other814) { - lastEvent = other814.lastEvent; - maxEvents = other814.maxEvents; - __isset = other814.__isset; +NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other830) { + lastEvent = other830.lastEvent; + maxEvents = other830.maxEvents; + __isset = other830.__isset; } -NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other815) { - lastEvent = other815.lastEvent; - maxEvents = other815.maxEvents; - __isset = other815.__isset; +NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other831) { + lastEvent = other831.lastEvent; + maxEvents = other831.maxEvents; + __isset = other831.__isset; return *this; } void NotificationEventRequest::printTo(std::ostream& out) const { @@ -21010,27 +21245,27 @@ void swap(NotificationEvent &a, NotificationEvent &b) { swap(a.__isset, b.__isset); } -NotificationEvent::NotificationEvent(const NotificationEvent& other816) { - eventId = other816.eventId; - eventTime = other816.eventTime; - eventType = other816.eventType; - dbName = other816.dbName; - tableName = other816.tableName; - message = other816.message; - messageFormat = other816.messageFormat; - catName = other816.catName; - __isset = other816.__isset; -} -NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other817) { - eventId = other817.eventId; - eventTime = other817.eventTime; - eventType = other817.eventType; - dbName = other817.dbName; - tableName = other817.tableName; - message = other817.message; - messageFormat = other817.messageFormat; - catName = other817.catName; - __isset = other817.__isset; +NotificationEvent::NotificationEvent(const NotificationEvent& other832) { + eventId = other832.eventId; + eventTime = other832.eventTime; + eventType = other832.eventType; + dbName = other832.dbName; + tableName = other832.tableName; + message = other832.message; + messageFormat = other832.messageFormat; + catName = other832.catName; + __isset = other832.__isset; +} +NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other833) { + eventId = other833.eventId; + eventTime = other833.eventTime; + eventType = other833.eventType; + dbName = other833.dbName; + tableName = other833.tableName; + message = other833.message; + messageFormat = other833.messageFormat; + catName = other833.catName; + __isset = other833.__isset; return *this; } void NotificationEvent::printTo(std::ostream& out) const { @@ -21082,14 +21317,14 @@ uint32_t NotificationEventResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->events.clear(); - uint32_t _size818; - ::apache::thrift::protocol::TType _etype821; - xfer += iprot->readListBegin(_etype821, _size818); - this->events.resize(_size818); - uint32_t _i822; - for (_i822 = 0; _i822 < _size818; ++_i822) + uint32_t _size834; + ::apache::thrift::protocol::TType _etype837; + xfer += iprot->readListBegin(_etype837, _size834); + this->events.resize(_size834); + uint32_t _i838; + for (_i838 = 0; _i838 < _size834; ++_i838) { - xfer += this->events[_i822].read(iprot); + xfer += this->events[_i838].read(iprot); } xfer += iprot->readListEnd(); } @@ -21120,10 +21355,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 _iter823; - for (_iter823 = this->events.begin(); _iter823 != this->events.end(); ++_iter823) + std::vector ::const_iterator _iter839; + for (_iter839 = this->events.begin(); _iter839 != this->events.end(); ++_iter839) { - xfer += (*_iter823).write(oprot); + xfer += (*_iter839).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21139,11 +21374,11 @@ void swap(NotificationEventResponse &a, NotificationEventResponse &b) { swap(a.events, b.events); } -NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other824) { - events = other824.events; +NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other840) { + events = other840.events; } -NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other825) { - events = other825.events; +NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other841) { + events = other841.events; return *this; } void NotificationEventResponse::printTo(std::ostream& out) const { @@ -21225,11 +21460,11 @@ void swap(CurrentNotificationEventId &a, CurrentNotificationEventId &b) { swap(a.eventId, b.eventId); } -CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other826) { - eventId = other826.eventId; +CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other842) { + eventId = other842.eventId; } -CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other827) { - eventId = other827.eventId; +CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other843) { + eventId = other843.eventId; return *this; } void CurrentNotificationEventId::printTo(std::ostream& out) const { @@ -21351,17 +21586,17 @@ void swap(NotificationEventsCountRequest &a, NotificationEventsCountRequest &b) swap(a.__isset, b.__isset); } -NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other828) { - fromEventId = other828.fromEventId; - dbName = other828.dbName; - catName = other828.catName; - __isset = other828.__isset; +NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other844) { + fromEventId = other844.fromEventId; + dbName = other844.dbName; + catName = other844.catName; + __isset = other844.__isset; } -NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other829) { - fromEventId = other829.fromEventId; - dbName = other829.dbName; - catName = other829.catName; - __isset = other829.__isset; +NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other845) { + fromEventId = other845.fromEventId; + dbName = other845.dbName; + catName = other845.catName; + __isset = other845.__isset; return *this; } void NotificationEventsCountRequest::printTo(std::ostream& out) const { @@ -21445,11 +21680,11 @@ void swap(NotificationEventsCountResponse &a, NotificationEventsCountResponse &b swap(a.eventsCount, b.eventsCount); } -NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other830) { - eventsCount = other830.eventsCount; +NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other846) { + eventsCount = other846.eventsCount; } -NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other831) { - eventsCount = other831.eventsCount; +NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other847) { + eventsCount = other847.eventsCount; return *this; } void NotificationEventsCountResponse::printTo(std::ostream& out) const { @@ -21512,14 +21747,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAdded.clear(); - uint32_t _size832; - ::apache::thrift::protocol::TType _etype835; - xfer += iprot->readListBegin(_etype835, _size832); - this->filesAdded.resize(_size832); - uint32_t _i836; - for (_i836 = 0; _i836 < _size832; ++_i836) + uint32_t _size848; + ::apache::thrift::protocol::TType _etype851; + xfer += iprot->readListBegin(_etype851, _size848); + this->filesAdded.resize(_size848); + uint32_t _i852; + for (_i852 = 0; _i852 < _size848; ++_i852) { - xfer += iprot->readString(this->filesAdded[_i836]); + xfer += iprot->readString(this->filesAdded[_i852]); } xfer += iprot->readListEnd(); } @@ -21532,14 +21767,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAddedChecksum.clear(); - uint32_t _size837; - ::apache::thrift::protocol::TType _etype840; - xfer += iprot->readListBegin(_etype840, _size837); - this->filesAddedChecksum.resize(_size837); - uint32_t _i841; - for (_i841 = 0; _i841 < _size837; ++_i841) + uint32_t _size853; + ::apache::thrift::protocol::TType _etype856; + xfer += iprot->readListBegin(_etype856, _size853); + this->filesAddedChecksum.resize(_size853); + uint32_t _i857; + for (_i857 = 0; _i857 < _size853; ++_i857) { - xfer += iprot->readString(this->filesAddedChecksum[_i841]); + xfer += iprot->readString(this->filesAddedChecksum[_i857]); } xfer += iprot->readListEnd(); } @@ -21575,10 +21810,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 _iter842; - for (_iter842 = this->filesAdded.begin(); _iter842 != this->filesAdded.end(); ++_iter842) + std::vector ::const_iterator _iter858; + for (_iter858 = this->filesAdded.begin(); _iter858 != this->filesAdded.end(); ++_iter858) { - xfer += oprot->writeString((*_iter842)); + xfer += oprot->writeString((*_iter858)); } xfer += oprot->writeListEnd(); } @@ -21588,10 +21823,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 _iter843; - for (_iter843 = this->filesAddedChecksum.begin(); _iter843 != this->filesAddedChecksum.end(); ++_iter843) + std::vector ::const_iterator _iter859; + for (_iter859 = this->filesAddedChecksum.begin(); _iter859 != this->filesAddedChecksum.end(); ++_iter859) { - xfer += oprot->writeString((*_iter843)); + xfer += oprot->writeString((*_iter859)); } xfer += oprot->writeListEnd(); } @@ -21610,17 +21845,17 @@ void swap(InsertEventRequestData &a, InsertEventRequestData &b) { swap(a.__isset, b.__isset); } -InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other844) { - replace = other844.replace; - filesAdded = other844.filesAdded; - filesAddedChecksum = other844.filesAddedChecksum; - __isset = other844.__isset; +InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other860) { + replace = other860.replace; + filesAdded = other860.filesAdded; + filesAddedChecksum = other860.filesAddedChecksum; + __isset = other860.__isset; } -InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other845) { - replace = other845.replace; - filesAdded = other845.filesAdded; - filesAddedChecksum = other845.filesAddedChecksum; - __isset = other845.__isset; +InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other861) { + replace = other861.replace; + filesAdded = other861.filesAdded; + filesAddedChecksum = other861.filesAddedChecksum; + __isset = other861.__isset; return *this; } void InsertEventRequestData::printTo(std::ostream& out) const { @@ -21702,13 +21937,13 @@ void swap(FireEventRequestData &a, FireEventRequestData &b) { swap(a.__isset, b.__isset); } -FireEventRequestData::FireEventRequestData(const FireEventRequestData& other846) { - insertData = other846.insertData; - __isset = other846.__isset; +FireEventRequestData::FireEventRequestData(const FireEventRequestData& other862) { + insertData = other862.insertData; + __isset = other862.__isset; } -FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other847) { - insertData = other847.insertData; - __isset = other847.__isset; +FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other863) { + insertData = other863.insertData; + __isset = other863.__isset; return *this; } void FireEventRequestData::printTo(std::ostream& out) const { @@ -21810,14 +22045,14 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionVals.clear(); - uint32_t _size848; - ::apache::thrift::protocol::TType _etype851; - xfer += iprot->readListBegin(_etype851, _size848); - this->partitionVals.resize(_size848); - uint32_t _i852; - for (_i852 = 0; _i852 < _size848; ++_i852) + uint32_t _size864; + ::apache::thrift::protocol::TType _etype867; + xfer += iprot->readListBegin(_etype867, _size864); + this->partitionVals.resize(_size864); + uint32_t _i868; + for (_i868 = 0; _i868 < _size864; ++_i868) { - xfer += iprot->readString(this->partitionVals[_i852]); + xfer += iprot->readString(this->partitionVals[_i868]); } xfer += iprot->readListEnd(); } @@ -21877,10 +22112,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 _iter853; - for (_iter853 = this->partitionVals.begin(); _iter853 != this->partitionVals.end(); ++_iter853) + std::vector ::const_iterator _iter869; + for (_iter869 = this->partitionVals.begin(); _iter869 != this->partitionVals.end(); ++_iter869) { - xfer += oprot->writeString((*_iter853)); + xfer += oprot->writeString((*_iter869)); } xfer += oprot->writeListEnd(); } @@ -21907,23 +22142,23 @@ void swap(FireEventRequest &a, FireEventRequest &b) { swap(a.__isset, b.__isset); } -FireEventRequest::FireEventRequest(const FireEventRequest& other854) { - successful = other854.successful; - data = other854.data; - dbName = other854.dbName; - tableName = other854.tableName; - partitionVals = other854.partitionVals; - catName = other854.catName; - __isset = other854.__isset; -} -FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other855) { - successful = other855.successful; - data = other855.data; - dbName = other855.dbName; - tableName = other855.tableName; - partitionVals = other855.partitionVals; - catName = other855.catName; - __isset = other855.__isset; +FireEventRequest::FireEventRequest(const FireEventRequest& other870) { + successful = other870.successful; + data = other870.data; + dbName = other870.dbName; + tableName = other870.tableName; + partitionVals = other870.partitionVals; + catName = other870.catName; + __isset = other870.__isset; +} +FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other871) { + successful = other871.successful; + data = other871.data; + dbName = other871.dbName; + tableName = other871.tableName; + partitionVals = other871.partitionVals; + catName = other871.catName; + __isset = other871.__isset; return *this; } void FireEventRequest::printTo(std::ostream& out) const { @@ -21987,11 +22222,11 @@ void swap(FireEventResponse &a, FireEventResponse &b) { (void) b; } -FireEventResponse::FireEventResponse(const FireEventResponse& other856) { - (void) other856; +FireEventResponse::FireEventResponse(const FireEventResponse& other872) { + (void) other872; } -FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other857) { - (void) other857; +FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other873) { + (void) other873; return *this; } void FireEventResponse::printTo(std::ostream& out) const { @@ -22091,15 +22326,15 @@ void swap(MetadataPpdResult &a, MetadataPpdResult &b) { swap(a.__isset, b.__isset); } -MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other858) { - metadata = other858.metadata; - includeBitset = other858.includeBitset; - __isset = other858.__isset; +MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other874) { + metadata = other874.metadata; + includeBitset = other874.includeBitset; + __isset = other874.__isset; } -MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other859) { - metadata = other859.metadata; - includeBitset = other859.includeBitset; - __isset = other859.__isset; +MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other875) { + metadata = other875.metadata; + includeBitset = other875.includeBitset; + __isset = other875.__isset; return *this; } void MetadataPpdResult::printTo(std::ostream& out) const { @@ -22150,17 +22385,17 @@ uint32_t GetFileMetadataByExprResult::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size860; - ::apache::thrift::protocol::TType _ktype861; - ::apache::thrift::protocol::TType _vtype862; - xfer += iprot->readMapBegin(_ktype861, _vtype862, _size860); - uint32_t _i864; - for (_i864 = 0; _i864 < _size860; ++_i864) + uint32_t _size876; + ::apache::thrift::protocol::TType _ktype877; + ::apache::thrift::protocol::TType _vtype878; + xfer += iprot->readMapBegin(_ktype877, _vtype878, _size876); + uint32_t _i880; + for (_i880 = 0; _i880 < _size876; ++_i880) { - int64_t _key865; - xfer += iprot->readI64(_key865); - MetadataPpdResult& _val866 = this->metadata[_key865]; - xfer += _val866.read(iprot); + int64_t _key881; + xfer += iprot->readI64(_key881); + MetadataPpdResult& _val882 = this->metadata[_key881]; + xfer += _val882.read(iprot); } xfer += iprot->readMapEnd(); } @@ -22201,11 +22436,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 _iter867; - for (_iter867 = this->metadata.begin(); _iter867 != this->metadata.end(); ++_iter867) + std::map ::const_iterator _iter883; + for (_iter883 = this->metadata.begin(); _iter883 != this->metadata.end(); ++_iter883) { - xfer += oprot->writeI64(_iter867->first); - xfer += _iter867->second.write(oprot); + xfer += oprot->writeI64(_iter883->first); + xfer += _iter883->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -22226,13 +22461,13 @@ void swap(GetFileMetadataByExprResult &a, GetFileMetadataByExprResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other868) { - metadata = other868.metadata; - isSupported = other868.isSupported; +GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other884) { + metadata = other884.metadata; + isSupported = other884.isSupported; } -GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other869) { - metadata = other869.metadata; - isSupported = other869.isSupported; +GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other885) { + metadata = other885.metadata; + isSupported = other885.isSupported; return *this; } void GetFileMetadataByExprResult::printTo(std::ostream& out) const { @@ -22293,14 +22528,14 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size870; - ::apache::thrift::protocol::TType _etype873; - xfer += iprot->readListBegin(_etype873, _size870); - this->fileIds.resize(_size870); - uint32_t _i874; - for (_i874 = 0; _i874 < _size870; ++_i874) + uint32_t _size886; + ::apache::thrift::protocol::TType _etype889; + xfer += iprot->readListBegin(_etype889, _size886); + this->fileIds.resize(_size886); + uint32_t _i890; + for (_i890 = 0; _i890 < _size886; ++_i890) { - xfer += iprot->readI64(this->fileIds[_i874]); + xfer += iprot->readI64(this->fileIds[_i890]); } xfer += iprot->readListEnd(); } @@ -22327,9 +22562,9 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast875; - xfer += iprot->readI32(ecast875); - this->type = (FileMetadataExprType::type)ecast875; + int32_t ecast891; + xfer += iprot->readI32(ecast891); + this->type = (FileMetadataExprType::type)ecast891; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -22359,10 +22594,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 _iter876; - for (_iter876 = this->fileIds.begin(); _iter876 != this->fileIds.end(); ++_iter876) + std::vector ::const_iterator _iter892; + for (_iter892 = this->fileIds.begin(); _iter892 != this->fileIds.end(); ++_iter892) { - xfer += oprot->writeI64((*_iter876)); + xfer += oprot->writeI64((*_iter892)); } xfer += oprot->writeListEnd(); } @@ -22396,19 +22631,19 @@ void swap(GetFileMetadataByExprRequest &a, GetFileMetadataByExprRequest &b) { swap(a.__isset, b.__isset); } -GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other877) { - fileIds = other877.fileIds; - expr = other877.expr; - doGetFooters = other877.doGetFooters; - type = other877.type; - __isset = other877.__isset; +GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other893) { + fileIds = other893.fileIds; + expr = other893.expr; + doGetFooters = other893.doGetFooters; + type = other893.type; + __isset = other893.__isset; } -GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other878) { - fileIds = other878.fileIds; - expr = other878.expr; - doGetFooters = other878.doGetFooters; - type = other878.type; - __isset = other878.__isset; +GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other894) { + fileIds = other894.fileIds; + expr = other894.expr; + doGetFooters = other894.doGetFooters; + type = other894.type; + __isset = other894.__isset; return *this; } void GetFileMetadataByExprRequest::printTo(std::ostream& out) const { @@ -22461,17 +22696,17 @@ uint32_t GetFileMetadataResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size879; - ::apache::thrift::protocol::TType _ktype880; - ::apache::thrift::protocol::TType _vtype881; - xfer += iprot->readMapBegin(_ktype880, _vtype881, _size879); - uint32_t _i883; - for (_i883 = 0; _i883 < _size879; ++_i883) + uint32_t _size895; + ::apache::thrift::protocol::TType _ktype896; + ::apache::thrift::protocol::TType _vtype897; + xfer += iprot->readMapBegin(_ktype896, _vtype897, _size895); + uint32_t _i899; + for (_i899 = 0; _i899 < _size895; ++_i899) { - int64_t _key884; - xfer += iprot->readI64(_key884); - std::string& _val885 = this->metadata[_key884]; - xfer += iprot->readBinary(_val885); + int64_t _key900; + xfer += iprot->readI64(_key900); + std::string& _val901 = this->metadata[_key900]; + xfer += iprot->readBinary(_val901); } xfer += iprot->readMapEnd(); } @@ -22512,11 +22747,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 _iter886; - for (_iter886 = this->metadata.begin(); _iter886 != this->metadata.end(); ++_iter886) + std::map ::const_iterator _iter902; + for (_iter902 = this->metadata.begin(); _iter902 != this->metadata.end(); ++_iter902) { - xfer += oprot->writeI64(_iter886->first); - xfer += oprot->writeBinary(_iter886->second); + xfer += oprot->writeI64(_iter902->first); + xfer += oprot->writeBinary(_iter902->second); } xfer += oprot->writeMapEnd(); } @@ -22537,13 +22772,13 @@ void swap(GetFileMetadataResult &a, GetFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other887) { - metadata = other887.metadata; - isSupported = other887.isSupported; +GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other903) { + metadata = other903.metadata; + isSupported = other903.isSupported; } -GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other888) { - metadata = other888.metadata; - isSupported = other888.isSupported; +GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other904) { + metadata = other904.metadata; + isSupported = other904.isSupported; return *this; } void GetFileMetadataResult::printTo(std::ostream& out) const { @@ -22589,14 +22824,14 @@ uint32_t GetFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size889; - ::apache::thrift::protocol::TType _etype892; - xfer += iprot->readListBegin(_etype892, _size889); - this->fileIds.resize(_size889); - uint32_t _i893; - for (_i893 = 0; _i893 < _size889; ++_i893) + uint32_t _size905; + ::apache::thrift::protocol::TType _etype908; + xfer += iprot->readListBegin(_etype908, _size905); + this->fileIds.resize(_size905); + uint32_t _i909; + for (_i909 = 0; _i909 < _size905; ++_i909) { - xfer += iprot->readI64(this->fileIds[_i893]); + xfer += iprot->readI64(this->fileIds[_i909]); } xfer += iprot->readListEnd(); } @@ -22627,10 +22862,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 _iter894; - for (_iter894 = this->fileIds.begin(); _iter894 != this->fileIds.end(); ++_iter894) + std::vector ::const_iterator _iter910; + for (_iter910 = this->fileIds.begin(); _iter910 != this->fileIds.end(); ++_iter910) { - xfer += oprot->writeI64((*_iter894)); + xfer += oprot->writeI64((*_iter910)); } xfer += oprot->writeListEnd(); } @@ -22646,11 +22881,11 @@ void swap(GetFileMetadataRequest &a, GetFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other895) { - fileIds = other895.fileIds; +GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other911) { + fileIds = other911.fileIds; } -GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other896) { - fileIds = other896.fileIds; +GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other912) { + fileIds = other912.fileIds; return *this; } void GetFileMetadataRequest::printTo(std::ostream& out) const { @@ -22709,11 +22944,11 @@ void swap(PutFileMetadataResult &a, PutFileMetadataResult &b) { (void) b; } -PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other897) { - (void) other897; +PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other913) { + (void) other913; } -PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other898) { - (void) other898; +PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other914) { + (void) other914; return *this; } void PutFileMetadataResult::printTo(std::ostream& out) const { @@ -22767,14 +23002,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size899; - ::apache::thrift::protocol::TType _etype902; - xfer += iprot->readListBegin(_etype902, _size899); - this->fileIds.resize(_size899); - uint32_t _i903; - for (_i903 = 0; _i903 < _size899; ++_i903) + uint32_t _size915; + ::apache::thrift::protocol::TType _etype918; + xfer += iprot->readListBegin(_etype918, _size915); + this->fileIds.resize(_size915); + uint32_t _i919; + for (_i919 = 0; _i919 < _size915; ++_i919) { - xfer += iprot->readI64(this->fileIds[_i903]); + xfer += iprot->readI64(this->fileIds[_i919]); } xfer += iprot->readListEnd(); } @@ -22787,14 +23022,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->metadata.clear(); - uint32_t _size904; - ::apache::thrift::protocol::TType _etype907; - xfer += iprot->readListBegin(_etype907, _size904); - this->metadata.resize(_size904); - uint32_t _i908; - for (_i908 = 0; _i908 < _size904; ++_i908) + uint32_t _size920; + ::apache::thrift::protocol::TType _etype923; + xfer += iprot->readListBegin(_etype923, _size920); + this->metadata.resize(_size920); + uint32_t _i924; + for (_i924 = 0; _i924 < _size920; ++_i924) { - xfer += iprot->readBinary(this->metadata[_i908]); + xfer += iprot->readBinary(this->metadata[_i924]); } xfer += iprot->readListEnd(); } @@ -22805,9 +23040,9 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast909; - xfer += iprot->readI32(ecast909); - this->type = (FileMetadataExprType::type)ecast909; + int32_t ecast925; + xfer += iprot->readI32(ecast925); + this->type = (FileMetadataExprType::type)ecast925; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -22837,10 +23072,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 _iter910; - for (_iter910 = this->fileIds.begin(); _iter910 != this->fileIds.end(); ++_iter910) + std::vector ::const_iterator _iter926; + for (_iter926 = this->fileIds.begin(); _iter926 != this->fileIds.end(); ++_iter926) { - xfer += oprot->writeI64((*_iter910)); + xfer += oprot->writeI64((*_iter926)); } xfer += oprot->writeListEnd(); } @@ -22849,10 +23084,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 _iter911; - for (_iter911 = this->metadata.begin(); _iter911 != this->metadata.end(); ++_iter911) + std::vector ::const_iterator _iter927; + for (_iter927 = this->metadata.begin(); _iter927 != this->metadata.end(); ++_iter927) { - xfer += oprot->writeBinary((*_iter911)); + xfer += oprot->writeBinary((*_iter927)); } xfer += oprot->writeListEnd(); } @@ -22876,17 +23111,17 @@ void swap(PutFileMetadataRequest &a, PutFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other912) { - fileIds = other912.fileIds; - metadata = other912.metadata; - type = other912.type; - __isset = other912.__isset; -} -PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other913) { - fileIds = other913.fileIds; - metadata = other913.metadata; - type = other913.type; - __isset = other913.__isset; +PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other928) { + fileIds = other928.fileIds; + metadata = other928.metadata; + type = other928.type; + __isset = other928.__isset; +} +PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other929) { + fileIds = other929.fileIds; + metadata = other929.metadata; + type = other929.type; + __isset = other929.__isset; return *this; } void PutFileMetadataRequest::printTo(std::ostream& out) const { @@ -22947,11 +23182,11 @@ void swap(ClearFileMetadataResult &a, ClearFileMetadataResult &b) { (void) b; } -ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other914) { - (void) other914; +ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other930) { + (void) other930; } -ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other915) { - (void) other915; +ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other931) { + (void) other931; return *this; } void ClearFileMetadataResult::printTo(std::ostream& out) const { @@ -22995,14 +23230,14 @@ uint32_t ClearFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size916; - ::apache::thrift::protocol::TType _etype919; - xfer += iprot->readListBegin(_etype919, _size916); - this->fileIds.resize(_size916); - uint32_t _i920; - for (_i920 = 0; _i920 < _size916; ++_i920) + uint32_t _size932; + ::apache::thrift::protocol::TType _etype935; + xfer += iprot->readListBegin(_etype935, _size932); + this->fileIds.resize(_size932); + uint32_t _i936; + for (_i936 = 0; _i936 < _size932; ++_i936) { - xfer += iprot->readI64(this->fileIds[_i920]); + xfer += iprot->readI64(this->fileIds[_i936]); } xfer += iprot->readListEnd(); } @@ -23033,10 +23268,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 _iter921; - for (_iter921 = this->fileIds.begin(); _iter921 != this->fileIds.end(); ++_iter921) + std::vector ::const_iterator _iter937; + for (_iter937 = this->fileIds.begin(); _iter937 != this->fileIds.end(); ++_iter937) { - xfer += oprot->writeI64((*_iter921)); + xfer += oprot->writeI64((*_iter937)); } xfer += oprot->writeListEnd(); } @@ -23052,11 +23287,11 @@ void swap(ClearFileMetadataRequest &a, ClearFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other922) { - fileIds = other922.fileIds; +ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other938) { + fileIds = other938.fileIds; } -ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other923) { - fileIds = other923.fileIds; +ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other939) { + fileIds = other939.fileIds; return *this; } void ClearFileMetadataRequest::printTo(std::ostream& out) const { @@ -23138,11 +23373,11 @@ void swap(CacheFileMetadataResult &a, CacheFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other924) { - isSupported = other924.isSupported; +CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other940) { + isSupported = other940.isSupported; } -CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other925) { - isSupported = other925.isSupported; +CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other941) { + isSupported = other941.isSupported; return *this; } void CacheFileMetadataResult::printTo(std::ostream& out) const { @@ -23283,19 +23518,19 @@ void swap(CacheFileMetadataRequest &a, CacheFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other926) { - dbName = other926.dbName; - tblName = other926.tblName; - partName = other926.partName; - isAllParts = other926.isAllParts; - __isset = other926.__isset; +CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other942) { + dbName = other942.dbName; + tblName = other942.tblName; + partName = other942.partName; + isAllParts = other942.isAllParts; + __isset = other942.__isset; } -CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other927) { - dbName = other927.dbName; - tblName = other927.tblName; - partName = other927.partName; - isAllParts = other927.isAllParts; - __isset = other927.__isset; +CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other943) { + dbName = other943.dbName; + tblName = other943.tblName; + partName = other943.partName; + isAllParts = other943.isAllParts; + __isset = other943.__isset; return *this; } void CacheFileMetadataRequest::printTo(std::ostream& out) const { @@ -23343,14 +23578,14 @@ uint32_t GetAllFunctionsResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->functions.clear(); - uint32_t _size928; - ::apache::thrift::protocol::TType _etype931; - xfer += iprot->readListBegin(_etype931, _size928); - this->functions.resize(_size928); - uint32_t _i932; - for (_i932 = 0; _i932 < _size928; ++_i932) + uint32_t _size944; + ::apache::thrift::protocol::TType _etype947; + xfer += iprot->readListBegin(_etype947, _size944); + this->functions.resize(_size944); + uint32_t _i948; + for (_i948 = 0; _i948 < _size944; ++_i948) { - xfer += this->functions[_i932].read(iprot); + xfer += this->functions[_i948].read(iprot); } xfer += iprot->readListEnd(); } @@ -23380,10 +23615,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 _iter933; - for (_iter933 = this->functions.begin(); _iter933 != this->functions.end(); ++_iter933) + std::vector ::const_iterator _iter949; + for (_iter949 = this->functions.begin(); _iter949 != this->functions.end(); ++_iter949) { - xfer += (*_iter933).write(oprot); + xfer += (*_iter949).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23400,13 +23635,13 @@ void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b) { swap(a.__isset, b.__isset); } -GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other934) { - functions = other934.functions; - __isset = other934.__isset; +GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other950) { + functions = other950.functions; + __isset = other950.__isset; } -GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other935) { - functions = other935.functions; - __isset = other935.__isset; +GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other951) { + functions = other951.functions; + __isset = other951.__isset; return *this; } void GetAllFunctionsResponse::printTo(std::ostream& out) const { @@ -23451,16 +23686,16 @@ uint32_t ClientCapabilities::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size936; - ::apache::thrift::protocol::TType _etype939; - xfer += iprot->readListBegin(_etype939, _size936); - this->values.resize(_size936); - uint32_t _i940; - for (_i940 = 0; _i940 < _size936; ++_i940) + uint32_t _size952; + ::apache::thrift::protocol::TType _etype955; + xfer += iprot->readListBegin(_etype955, _size952); + this->values.resize(_size952); + uint32_t _i956; + for (_i956 = 0; _i956 < _size952; ++_i956) { - int32_t ecast941; - xfer += iprot->readI32(ecast941); - this->values[_i940] = (ClientCapability::type)ecast941; + int32_t ecast957; + xfer += iprot->readI32(ecast957); + this->values[_i956] = (ClientCapability::type)ecast957; } xfer += iprot->readListEnd(); } @@ -23491,10 +23726,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 _iter942; - for (_iter942 = this->values.begin(); _iter942 != this->values.end(); ++_iter942) + std::vector ::const_iterator _iter958; + for (_iter958 = this->values.begin(); _iter958 != this->values.end(); ++_iter958) { - xfer += oprot->writeI32((int32_t)(*_iter942)); + xfer += oprot->writeI32((int32_t)(*_iter958)); } xfer += oprot->writeListEnd(); } @@ -23510,11 +23745,11 @@ void swap(ClientCapabilities &a, ClientCapabilities &b) { swap(a.values, b.values); } -ClientCapabilities::ClientCapabilities(const ClientCapabilities& other943) { - values = other943.values; +ClientCapabilities::ClientCapabilities(const ClientCapabilities& other959) { + values = other959.values; } -ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other944) { - values = other944.values; +ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other960) { + values = other960.values; return *this; } void ClientCapabilities::printTo(std::ostream& out) const { @@ -23655,19 +23890,19 @@ void swap(GetTableRequest &a, GetTableRequest &b) { swap(a.__isset, b.__isset); } -GetTableRequest::GetTableRequest(const GetTableRequest& other945) { - dbName = other945.dbName; - tblName = other945.tblName; - capabilities = other945.capabilities; - catName = other945.catName; - __isset = other945.__isset; +GetTableRequest::GetTableRequest(const GetTableRequest& other961) { + dbName = other961.dbName; + tblName = other961.tblName; + capabilities = other961.capabilities; + catName = other961.catName; + __isset = other961.__isset; } -GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other946) { - dbName = other946.dbName; - tblName = other946.tblName; - capabilities = other946.capabilities; - catName = other946.catName; - __isset = other946.__isset; +GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other962) { + dbName = other962.dbName; + tblName = other962.tblName; + capabilities = other962.capabilities; + catName = other962.catName; + __isset = other962.__isset; return *this; } void GetTableRequest::printTo(std::ostream& out) const { @@ -23752,11 +23987,11 @@ void swap(GetTableResult &a, GetTableResult &b) { swap(a.table, b.table); } -GetTableResult::GetTableResult(const GetTableResult& other947) { - table = other947.table; +GetTableResult::GetTableResult(const GetTableResult& other963) { + table = other963.table; } -GetTableResult& GetTableResult::operator=(const GetTableResult& other948) { - table = other948.table; +GetTableResult& GetTableResult::operator=(const GetTableResult& other964) { + table = other964.table; return *this; } void GetTableResult::printTo(std::ostream& out) const { @@ -23824,14 +24059,14 @@ uint32_t GetTablesRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tblNames.clear(); - uint32_t _size949; - ::apache::thrift::protocol::TType _etype952; - xfer += iprot->readListBegin(_etype952, _size949); - this->tblNames.resize(_size949); - uint32_t _i953; - for (_i953 = 0; _i953 < _size949; ++_i953) + uint32_t _size965; + ::apache::thrift::protocol::TType _etype968; + xfer += iprot->readListBegin(_etype968, _size965); + this->tblNames.resize(_size965); + uint32_t _i969; + for (_i969 = 0; _i969 < _size965; ++_i969) { - xfer += iprot->readString(this->tblNames[_i953]); + xfer += iprot->readString(this->tblNames[_i969]); } xfer += iprot->readListEnd(); } @@ -23883,10 +24118,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 _iter954; - for (_iter954 = this->tblNames.begin(); _iter954 != this->tblNames.end(); ++_iter954) + std::vector ::const_iterator _iter970; + for (_iter970 = this->tblNames.begin(); _iter970 != this->tblNames.end(); ++_iter970) { - xfer += oprot->writeString((*_iter954)); + xfer += oprot->writeString((*_iter970)); } xfer += oprot->writeListEnd(); } @@ -23916,19 +24151,19 @@ void swap(GetTablesRequest &a, GetTablesRequest &b) { swap(a.__isset, b.__isset); } -GetTablesRequest::GetTablesRequest(const GetTablesRequest& other955) { - dbName = other955.dbName; - tblNames = other955.tblNames; - capabilities = other955.capabilities; - catName = other955.catName; - __isset = other955.__isset; +GetTablesRequest::GetTablesRequest(const GetTablesRequest& other971) { + dbName = other971.dbName; + tblNames = other971.tblNames; + capabilities = other971.capabilities; + catName = other971.catName; + __isset = other971.__isset; } -GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other956) { - dbName = other956.dbName; - tblNames = other956.tblNames; - capabilities = other956.capabilities; - catName = other956.catName; - __isset = other956.__isset; +GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other972) { + dbName = other972.dbName; + tblNames = other972.tblNames; + capabilities = other972.capabilities; + catName = other972.catName; + __isset = other972.__isset; return *this; } void GetTablesRequest::printTo(std::ostream& out) const { @@ -23976,14 +24211,14 @@ uint32_t GetTablesResult::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tables.clear(); - uint32_t _size957; - ::apache::thrift::protocol::TType _etype960; - xfer += iprot->readListBegin(_etype960, _size957); - this->tables.resize(_size957); - uint32_t _i961; - for (_i961 = 0; _i961 < _size957; ++_i961) + uint32_t _size973; + ::apache::thrift::protocol::TType _etype976; + xfer += iprot->readListBegin(_etype976, _size973); + this->tables.resize(_size973); + uint32_t _i977; + for (_i977 = 0; _i977 < _size973; ++_i977) { - xfer += this->tables[_i961].read(iprot); + xfer += this->tables[_i977].read(iprot); } xfer += iprot->readListEnd(); } @@ -24014,10 +24249,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 _iter962; - for (_iter962 = this->tables.begin(); _iter962 != this->tables.end(); ++_iter962) + std::vector
::const_iterator _iter978; + for (_iter978 = this->tables.begin(); _iter978 != this->tables.end(); ++_iter978) { - xfer += (*_iter962).write(oprot); + xfer += (*_iter978).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24033,11 +24268,11 @@ void swap(GetTablesResult &a, GetTablesResult &b) { swap(a.tables, b.tables); } -GetTablesResult::GetTablesResult(const GetTablesResult& other963) { - tables = other963.tables; +GetTablesResult::GetTablesResult(const GetTablesResult& other979) { + tables = other979.tables; } -GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other964) { - tables = other964.tables; +GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other980) { + tables = other980.tables; return *this; } void GetTablesResult::printTo(std::ostream& out) const { @@ -24139,13 +24374,13 @@ void swap(CmRecycleRequest &a, CmRecycleRequest &b) { swap(a.purge, b.purge); } -CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other965) { - dataPath = other965.dataPath; - purge = other965.purge; +CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other981) { + dataPath = other981.dataPath; + purge = other981.purge; } -CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other966) { - dataPath = other966.dataPath; - purge = other966.purge; +CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other982) { + dataPath = other982.dataPath; + purge = other982.purge; return *this; } void CmRecycleRequest::printTo(std::ostream& out) const { @@ -24205,11 +24440,11 @@ void swap(CmRecycleResponse &a, CmRecycleResponse &b) { (void) b; } -CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other967) { - (void) other967; +CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other983) { + (void) other983; } -CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other968) { - (void) other968; +CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other984) { + (void) other984; return *this; } void CmRecycleResponse::printTo(std::ostream& out) const { @@ -24369,21 +24604,21 @@ void swap(TableMeta &a, TableMeta &b) { swap(a.__isset, b.__isset); } -TableMeta::TableMeta(const TableMeta& other969) { - dbName = other969.dbName; - tableName = other969.tableName; - tableType = other969.tableType; - comments = other969.comments; - catName = other969.catName; - __isset = other969.__isset; -} -TableMeta& TableMeta::operator=(const TableMeta& other970) { - dbName = other970.dbName; - tableName = other970.tableName; - tableType = other970.tableType; - comments = other970.comments; - catName = other970.catName; - __isset = other970.__isset; +TableMeta::TableMeta(const TableMeta& other985) { + dbName = other985.dbName; + tableName = other985.tableName; + tableType = other985.tableType; + comments = other985.comments; + catName = other985.catName; + __isset = other985.__isset; +} +TableMeta& TableMeta::operator=(const TableMeta& other986) { + dbName = other986.dbName; + tableName = other986.tableName; + tableType = other986.tableType; + comments = other986.comments; + catName = other986.catName; + __isset = other986.__isset; return *this; } void TableMeta::printTo(std::ostream& out) const { @@ -24442,15 +24677,15 @@ uint32_t Materialization::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->tablesUsed.clear(); - uint32_t _size971; - ::apache::thrift::protocol::TType _etype974; - xfer += iprot->readSetBegin(_etype974, _size971); - uint32_t _i975; - for (_i975 = 0; _i975 < _size971; ++_i975) + uint32_t _size987; + ::apache::thrift::protocol::TType _etype990; + xfer += iprot->readSetBegin(_etype990, _size987); + uint32_t _i991; + for (_i991 = 0; _i991 < _size987; ++_i991) { - std::string _elem976; - xfer += iprot->readString(_elem976); - this->tablesUsed.insert(_elem976); + std::string _elem992; + xfer += iprot->readString(_elem992); + this->tablesUsed.insert(_elem992); } xfer += iprot->readSetEnd(); } @@ -24499,10 +24734,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 _iter977; - for (_iter977 = this->tablesUsed.begin(); _iter977 != this->tablesUsed.end(); ++_iter977) + std::set ::const_iterator _iter993; + for (_iter993 = this->tablesUsed.begin(); _iter993 != this->tablesUsed.end(); ++_iter993) { - xfer += oprot->writeString((*_iter977)); + xfer += oprot->writeString((*_iter993)); } xfer += oprot->writeSetEnd(); } @@ -24530,17 +24765,17 @@ void swap(Materialization &a, Materialization &b) { swap(a.__isset, b.__isset); } -Materialization::Materialization(const Materialization& other978) { - tablesUsed = other978.tablesUsed; - validTxnList = other978.validTxnList; - invalidationTime = other978.invalidationTime; - __isset = other978.__isset; +Materialization::Materialization(const Materialization& other994) { + tablesUsed = other994.tablesUsed; + validTxnList = other994.validTxnList; + invalidationTime = other994.invalidationTime; + __isset = other994.__isset; } -Materialization& Materialization::operator=(const Materialization& other979) { - tablesUsed = other979.tablesUsed; - validTxnList = other979.validTxnList; - invalidationTime = other979.invalidationTime; - __isset = other979.__isset; +Materialization& Materialization::operator=(const Materialization& other995) { + tablesUsed = other995.tablesUsed; + validTxnList = other995.validTxnList; + invalidationTime = other995.invalidationTime; + __isset = other995.__isset; return *this; } void Materialization::printTo(std::ostream& out) const { @@ -24608,9 +24843,9 @@ uint32_t WMResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast980; - xfer += iprot->readI32(ecast980); - this->status = (WMResourcePlanStatus::type)ecast980; + int32_t ecast996; + xfer += iprot->readI32(ecast996); + this->status = (WMResourcePlanStatus::type)ecast996; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -24684,19 +24919,19 @@ void swap(WMResourcePlan &a, WMResourcePlan &b) { swap(a.__isset, b.__isset); } -WMResourcePlan::WMResourcePlan(const WMResourcePlan& other981) { - name = other981.name; - status = other981.status; - queryParallelism = other981.queryParallelism; - defaultPoolPath = other981.defaultPoolPath; - __isset = other981.__isset; +WMResourcePlan::WMResourcePlan(const WMResourcePlan& other997) { + name = other997.name; + status = other997.status; + queryParallelism = other997.queryParallelism; + defaultPoolPath = other997.defaultPoolPath; + __isset = other997.__isset; } -WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other982) { - name = other982.name; - status = other982.status; - queryParallelism = other982.queryParallelism; - defaultPoolPath = other982.defaultPoolPath; - __isset = other982.__isset; +WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other998) { + name = other998.name; + status = other998.status; + queryParallelism = other998.queryParallelism; + defaultPoolPath = other998.defaultPoolPath; + __isset = other998.__isset; return *this; } void WMResourcePlan::printTo(std::ostream& out) const { @@ -24775,9 +25010,9 @@ uint32_t WMNullableResourcePlan::read(::apache::thrift::protocol::TProtocol* ipr break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast983; - xfer += iprot->readI32(ecast983); - this->status = (WMResourcePlanStatus::type)ecast983; + int32_t ecast999; + xfer += iprot->readI32(ecast999); + this->status = (WMResourcePlanStatus::type)ecast999; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -24878,23 +25113,23 @@ void swap(WMNullableResourcePlan &a, WMNullableResourcePlan &b) { swap(a.__isset, b.__isset); } -WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other984) { - name = other984.name; - status = other984.status; - queryParallelism = other984.queryParallelism; - isSetQueryParallelism = other984.isSetQueryParallelism; - defaultPoolPath = other984.defaultPoolPath; - isSetDefaultPoolPath = other984.isSetDefaultPoolPath; - __isset = other984.__isset; -} -WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other985) { - name = other985.name; - status = other985.status; - queryParallelism = other985.queryParallelism; - isSetQueryParallelism = other985.isSetQueryParallelism; - defaultPoolPath = other985.defaultPoolPath; - isSetDefaultPoolPath = other985.isSetDefaultPoolPath; - __isset = other985.__isset; +WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other1000) { + name = other1000.name; + status = other1000.status; + queryParallelism = other1000.queryParallelism; + isSetQueryParallelism = other1000.isSetQueryParallelism; + defaultPoolPath = other1000.defaultPoolPath; + isSetDefaultPoolPath = other1000.isSetDefaultPoolPath; + __isset = other1000.__isset; +} +WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other1001) { + name = other1001.name; + status = other1001.status; + queryParallelism = other1001.queryParallelism; + isSetQueryParallelism = other1001.isSetQueryParallelism; + defaultPoolPath = other1001.defaultPoolPath; + isSetDefaultPoolPath = other1001.isSetDefaultPoolPath; + __isset = other1001.__isset; return *this; } void WMNullableResourcePlan::printTo(std::ostream& out) const { @@ -25059,21 +25294,21 @@ void swap(WMPool &a, WMPool &b) { swap(a.__isset, b.__isset); } -WMPool::WMPool(const WMPool& other986) { - resourcePlanName = other986.resourcePlanName; - poolPath = other986.poolPath; - allocFraction = other986.allocFraction; - queryParallelism = other986.queryParallelism; - schedulingPolicy = other986.schedulingPolicy; - __isset = other986.__isset; -} -WMPool& WMPool::operator=(const WMPool& other987) { - resourcePlanName = other987.resourcePlanName; - poolPath = other987.poolPath; - allocFraction = other987.allocFraction; - queryParallelism = other987.queryParallelism; - schedulingPolicy = other987.schedulingPolicy; - __isset = other987.__isset; +WMPool::WMPool(const WMPool& other1002) { + resourcePlanName = other1002.resourcePlanName; + poolPath = other1002.poolPath; + allocFraction = other1002.allocFraction; + queryParallelism = other1002.queryParallelism; + schedulingPolicy = other1002.schedulingPolicy; + __isset = other1002.__isset; +} +WMPool& WMPool::operator=(const WMPool& other1003) { + resourcePlanName = other1003.resourcePlanName; + poolPath = other1003.poolPath; + allocFraction = other1003.allocFraction; + queryParallelism = other1003.queryParallelism; + schedulingPolicy = other1003.schedulingPolicy; + __isset = other1003.__isset; return *this; } void WMPool::printTo(std::ostream& out) const { @@ -25256,23 +25491,23 @@ void swap(WMNullablePool &a, WMNullablePool &b) { swap(a.__isset, b.__isset); } -WMNullablePool::WMNullablePool(const WMNullablePool& other988) { - resourcePlanName = other988.resourcePlanName; - poolPath = other988.poolPath; - allocFraction = other988.allocFraction; - queryParallelism = other988.queryParallelism; - schedulingPolicy = other988.schedulingPolicy; - isSetSchedulingPolicy = other988.isSetSchedulingPolicy; - __isset = other988.__isset; -} -WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other989) { - resourcePlanName = other989.resourcePlanName; - poolPath = other989.poolPath; - allocFraction = other989.allocFraction; - queryParallelism = other989.queryParallelism; - schedulingPolicy = other989.schedulingPolicy; - isSetSchedulingPolicy = other989.isSetSchedulingPolicy; - __isset = other989.__isset; +WMNullablePool::WMNullablePool(const WMNullablePool& other1004) { + resourcePlanName = other1004.resourcePlanName; + poolPath = other1004.poolPath; + allocFraction = other1004.allocFraction; + queryParallelism = other1004.queryParallelism; + schedulingPolicy = other1004.schedulingPolicy; + isSetSchedulingPolicy = other1004.isSetSchedulingPolicy; + __isset = other1004.__isset; +} +WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other1005) { + resourcePlanName = other1005.resourcePlanName; + poolPath = other1005.poolPath; + allocFraction = other1005.allocFraction; + queryParallelism = other1005.queryParallelism; + schedulingPolicy = other1005.schedulingPolicy; + isSetSchedulingPolicy = other1005.isSetSchedulingPolicy; + __isset = other1005.__isset; return *this; } void WMNullablePool::printTo(std::ostream& out) const { @@ -25437,21 +25672,21 @@ void swap(WMTrigger &a, WMTrigger &b) { swap(a.__isset, b.__isset); } -WMTrigger::WMTrigger(const WMTrigger& other990) { - resourcePlanName = other990.resourcePlanName; - triggerName = other990.triggerName; - triggerExpression = other990.triggerExpression; - actionExpression = other990.actionExpression; - isInUnmanaged = other990.isInUnmanaged; - __isset = other990.__isset; -} -WMTrigger& WMTrigger::operator=(const WMTrigger& other991) { - resourcePlanName = other991.resourcePlanName; - triggerName = other991.triggerName; - triggerExpression = other991.triggerExpression; - actionExpression = other991.actionExpression; - isInUnmanaged = other991.isInUnmanaged; - __isset = other991.__isset; +WMTrigger::WMTrigger(const WMTrigger& other1006) { + resourcePlanName = other1006.resourcePlanName; + triggerName = other1006.triggerName; + triggerExpression = other1006.triggerExpression; + actionExpression = other1006.actionExpression; + isInUnmanaged = other1006.isInUnmanaged; + __isset = other1006.__isset; +} +WMTrigger& WMTrigger::operator=(const WMTrigger& other1007) { + resourcePlanName = other1007.resourcePlanName; + triggerName = other1007.triggerName; + triggerExpression = other1007.triggerExpression; + actionExpression = other1007.actionExpression; + isInUnmanaged = other1007.isInUnmanaged; + __isset = other1007.__isset; return *this; } void WMTrigger::printTo(std::ostream& out) const { @@ -25616,21 +25851,21 @@ void swap(WMMapping &a, WMMapping &b) { swap(a.__isset, b.__isset); } -WMMapping::WMMapping(const WMMapping& other992) { - resourcePlanName = other992.resourcePlanName; - entityType = other992.entityType; - entityName = other992.entityName; - poolPath = other992.poolPath; - ordering = other992.ordering; - __isset = other992.__isset; -} -WMMapping& WMMapping::operator=(const WMMapping& other993) { - resourcePlanName = other993.resourcePlanName; - entityType = other993.entityType; - entityName = other993.entityName; - poolPath = other993.poolPath; - ordering = other993.ordering; - __isset = other993.__isset; +WMMapping::WMMapping(const WMMapping& other1008) { + resourcePlanName = other1008.resourcePlanName; + entityType = other1008.entityType; + entityName = other1008.entityName; + poolPath = other1008.poolPath; + ordering = other1008.ordering; + __isset = other1008.__isset; +} +WMMapping& WMMapping::operator=(const WMMapping& other1009) { + resourcePlanName = other1009.resourcePlanName; + entityType = other1009.entityType; + entityName = other1009.entityName; + poolPath = other1009.poolPath; + ordering = other1009.ordering; + __isset = other1009.__isset; return *this; } void WMMapping::printTo(std::ostream& out) const { @@ -25736,13 +25971,13 @@ void swap(WMPoolTrigger &a, WMPoolTrigger &b) { swap(a.trigger, b.trigger); } -WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other994) { - pool = other994.pool; - trigger = other994.trigger; +WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other1010) { + pool = other1010.pool; + trigger = other1010.trigger; } -WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other995) { - pool = other995.pool; - trigger = other995.trigger; +WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other1011) { + pool = other1011.pool; + trigger = other1011.trigger; return *this; } void WMPoolTrigger::printTo(std::ostream& out) const { @@ -25816,14 +26051,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->pools.clear(); - uint32_t _size996; - ::apache::thrift::protocol::TType _etype999; - xfer += iprot->readListBegin(_etype999, _size996); - this->pools.resize(_size996); - uint32_t _i1000; - for (_i1000 = 0; _i1000 < _size996; ++_i1000) + uint32_t _size1012; + ::apache::thrift::protocol::TType _etype1015; + xfer += iprot->readListBegin(_etype1015, _size1012); + this->pools.resize(_size1012); + uint32_t _i1016; + for (_i1016 = 0; _i1016 < _size1012; ++_i1016) { - xfer += this->pools[_i1000].read(iprot); + xfer += this->pools[_i1016].read(iprot); } xfer += iprot->readListEnd(); } @@ -25836,14 +26071,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->mappings.clear(); - uint32_t _size1001; - ::apache::thrift::protocol::TType _etype1004; - xfer += iprot->readListBegin(_etype1004, _size1001); - this->mappings.resize(_size1001); - uint32_t _i1005; - for (_i1005 = 0; _i1005 < _size1001; ++_i1005) + uint32_t _size1017; + ::apache::thrift::protocol::TType _etype1020; + xfer += iprot->readListBegin(_etype1020, _size1017); + this->mappings.resize(_size1017); + uint32_t _i1021; + for (_i1021 = 0; _i1021 < _size1017; ++_i1021) { - xfer += this->mappings[_i1005].read(iprot); + xfer += this->mappings[_i1021].read(iprot); } xfer += iprot->readListEnd(); } @@ -25856,14 +26091,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size1006; - ::apache::thrift::protocol::TType _etype1009; - xfer += iprot->readListBegin(_etype1009, _size1006); - this->triggers.resize(_size1006); - uint32_t _i1010; - for (_i1010 = 0; _i1010 < _size1006; ++_i1010) + uint32_t _size1022; + ::apache::thrift::protocol::TType _etype1025; + xfer += iprot->readListBegin(_etype1025, _size1022); + this->triggers.resize(_size1022); + uint32_t _i1026; + for (_i1026 = 0; _i1026 < _size1022; ++_i1026) { - xfer += this->triggers[_i1010].read(iprot); + xfer += this->triggers[_i1026].read(iprot); } xfer += iprot->readListEnd(); } @@ -25876,14 +26111,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->poolTriggers.clear(); - uint32_t _size1011; - ::apache::thrift::protocol::TType _etype1014; - xfer += iprot->readListBegin(_etype1014, _size1011); - this->poolTriggers.resize(_size1011); - uint32_t _i1015; - for (_i1015 = 0; _i1015 < _size1011; ++_i1015) + uint32_t _size1027; + ::apache::thrift::protocol::TType _etype1030; + xfer += iprot->readListBegin(_etype1030, _size1027); + this->poolTriggers.resize(_size1027); + uint32_t _i1031; + for (_i1031 = 0; _i1031 < _size1027; ++_i1031) { - xfer += this->poolTriggers[_i1015].read(iprot); + xfer += this->poolTriggers[_i1031].read(iprot); } xfer += iprot->readListEnd(); } @@ -25920,10 +26155,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 _iter1016; - for (_iter1016 = this->pools.begin(); _iter1016 != this->pools.end(); ++_iter1016) + std::vector ::const_iterator _iter1032; + for (_iter1032 = this->pools.begin(); _iter1032 != this->pools.end(); ++_iter1032) { - xfer += (*_iter1016).write(oprot); + xfer += (*_iter1032).write(oprot); } xfer += oprot->writeListEnd(); } @@ -25933,10 +26168,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 _iter1017; - for (_iter1017 = this->mappings.begin(); _iter1017 != this->mappings.end(); ++_iter1017) + std::vector ::const_iterator _iter1033; + for (_iter1033 = this->mappings.begin(); _iter1033 != this->mappings.end(); ++_iter1033) { - xfer += (*_iter1017).write(oprot); + xfer += (*_iter1033).write(oprot); } xfer += oprot->writeListEnd(); } @@ -25946,10 +26181,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 _iter1018; - for (_iter1018 = this->triggers.begin(); _iter1018 != this->triggers.end(); ++_iter1018) + std::vector ::const_iterator _iter1034; + for (_iter1034 = this->triggers.begin(); _iter1034 != this->triggers.end(); ++_iter1034) { - xfer += (*_iter1018).write(oprot); + xfer += (*_iter1034).write(oprot); } xfer += oprot->writeListEnd(); } @@ -25959,10 +26194,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 _iter1019; - for (_iter1019 = this->poolTriggers.begin(); _iter1019 != this->poolTriggers.end(); ++_iter1019) + std::vector ::const_iterator _iter1035; + for (_iter1035 = this->poolTriggers.begin(); _iter1035 != this->poolTriggers.end(); ++_iter1035) { - xfer += (*_iter1019).write(oprot); + xfer += (*_iter1035).write(oprot); } xfer += oprot->writeListEnd(); } @@ -25983,21 +26218,21 @@ void swap(WMFullResourcePlan &a, WMFullResourcePlan &b) { swap(a.__isset, b.__isset); } -WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other1020) { - plan = other1020.plan; - pools = other1020.pools; - mappings = other1020.mappings; - triggers = other1020.triggers; - poolTriggers = other1020.poolTriggers; - __isset = other1020.__isset; -} -WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other1021) { - plan = other1021.plan; - pools = other1021.pools; - mappings = other1021.mappings; - triggers = other1021.triggers; - poolTriggers = other1021.poolTriggers; - __isset = other1021.__isset; +WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other1036) { + plan = other1036.plan; + pools = other1036.pools; + mappings = other1036.mappings; + triggers = other1036.triggers; + poolTriggers = other1036.poolTriggers; + __isset = other1036.__isset; +} +WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other1037) { + plan = other1037.plan; + pools = other1037.pools; + mappings = other1037.mappings; + triggers = other1037.triggers; + poolTriggers = other1037.poolTriggers; + __isset = other1037.__isset; return *this; } void WMFullResourcePlan::printTo(std::ostream& out) const { @@ -26102,15 +26337,15 @@ void swap(WMCreateResourcePlanRequest &a, WMCreateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other1022) { - resourcePlan = other1022.resourcePlan; - copyFrom = other1022.copyFrom; - __isset = other1022.__isset; +WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other1038) { + resourcePlan = other1038.resourcePlan; + copyFrom = other1038.copyFrom; + __isset = other1038.__isset; } -WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other1023) { - resourcePlan = other1023.resourcePlan; - copyFrom = other1023.copyFrom; - __isset = other1023.__isset; +WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other1039) { + resourcePlan = other1039.resourcePlan; + copyFrom = other1039.copyFrom; + __isset = other1039.__isset; return *this; } void WMCreateResourcePlanRequest::printTo(std::ostream& out) const { @@ -26170,11 +26405,11 @@ void swap(WMCreateResourcePlanResponse &a, WMCreateResourcePlanResponse &b) { (void) b; } -WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other1024) { - (void) other1024; +WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other1040) { + (void) other1040; } -WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other1025) { - (void) other1025; +WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other1041) { + (void) other1041; return *this; } void WMCreateResourcePlanResponse::printTo(std::ostream& out) const { @@ -26232,11 +26467,11 @@ void swap(WMGetActiveResourcePlanRequest &a, WMGetActiveResourcePlanRequest &b) (void) b; } -WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other1026) { - (void) other1026; +WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other1042) { + (void) other1042; } -WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other1027) { - (void) other1027; +WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other1043) { + (void) other1043; return *this; } void WMGetActiveResourcePlanRequest::printTo(std::ostream& out) const { @@ -26317,13 +26552,13 @@ void swap(WMGetActiveResourcePlanResponse &a, WMGetActiveResourcePlanResponse &b swap(a.__isset, b.__isset); } -WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other1028) { - resourcePlan = other1028.resourcePlan; - __isset = other1028.__isset; +WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other1044) { + resourcePlan = other1044.resourcePlan; + __isset = other1044.__isset; } -WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other1029) { - resourcePlan = other1029.resourcePlan; - __isset = other1029.__isset; +WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other1045) { + resourcePlan = other1045.resourcePlan; + __isset = other1045.__isset; return *this; } void WMGetActiveResourcePlanResponse::printTo(std::ostream& out) const { @@ -26405,13 +26640,13 @@ void swap(WMGetResourcePlanRequest &a, WMGetResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other1030) { - resourcePlanName = other1030.resourcePlanName; - __isset = other1030.__isset; +WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other1046) { + resourcePlanName = other1046.resourcePlanName; + __isset = other1046.__isset; } -WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other1031) { - resourcePlanName = other1031.resourcePlanName; - __isset = other1031.__isset; +WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other1047) { + resourcePlanName = other1047.resourcePlanName; + __isset = other1047.__isset; return *this; } void WMGetResourcePlanRequest::printTo(std::ostream& out) const { @@ -26493,13 +26728,13 @@ void swap(WMGetResourcePlanResponse &a, WMGetResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other1032) { - resourcePlan = other1032.resourcePlan; - __isset = other1032.__isset; +WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other1048) { + resourcePlan = other1048.resourcePlan; + __isset = other1048.__isset; } -WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other1033) { - resourcePlan = other1033.resourcePlan; - __isset = other1033.__isset; +WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other1049) { + resourcePlan = other1049.resourcePlan; + __isset = other1049.__isset; return *this; } void WMGetResourcePlanResponse::printTo(std::ostream& out) const { @@ -26558,11 +26793,11 @@ void swap(WMGetAllResourcePlanRequest &a, WMGetAllResourcePlanRequest &b) { (void) b; } -WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other1034) { - (void) other1034; +WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other1050) { + (void) other1050; } -WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other1035) { - (void) other1035; +WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other1051) { + (void) other1051; return *this; } void WMGetAllResourcePlanRequest::printTo(std::ostream& out) const { @@ -26606,14 +26841,14 @@ uint32_t WMGetAllResourcePlanResponse::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->resourcePlans.clear(); - uint32_t _size1036; - ::apache::thrift::protocol::TType _etype1039; - xfer += iprot->readListBegin(_etype1039, _size1036); - this->resourcePlans.resize(_size1036); - uint32_t _i1040; - for (_i1040 = 0; _i1040 < _size1036; ++_i1040) + uint32_t _size1052; + ::apache::thrift::protocol::TType _etype1055; + xfer += iprot->readListBegin(_etype1055, _size1052); + this->resourcePlans.resize(_size1052); + uint32_t _i1056; + for (_i1056 = 0; _i1056 < _size1052; ++_i1056) { - xfer += this->resourcePlans[_i1040].read(iprot); + xfer += this->resourcePlans[_i1056].read(iprot); } xfer += iprot->readListEnd(); } @@ -26643,10 +26878,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 _iter1041; - for (_iter1041 = this->resourcePlans.begin(); _iter1041 != this->resourcePlans.end(); ++_iter1041) + std::vector ::const_iterator _iter1057; + for (_iter1057 = this->resourcePlans.begin(); _iter1057 != this->resourcePlans.end(); ++_iter1057) { - xfer += (*_iter1041).write(oprot); + xfer += (*_iter1057).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26663,13 +26898,13 @@ void swap(WMGetAllResourcePlanResponse &a, WMGetAllResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other1042) { - resourcePlans = other1042.resourcePlans; - __isset = other1042.__isset; +WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other1058) { + resourcePlans = other1058.resourcePlans; + __isset = other1058.__isset; } -WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other1043) { - resourcePlans = other1043.resourcePlans; - __isset = other1043.__isset; +WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other1059) { + resourcePlans = other1059.resourcePlans; + __isset = other1059.__isset; return *this; } void WMGetAllResourcePlanResponse::printTo(std::ostream& out) const { @@ -26827,21 +27062,21 @@ void swap(WMAlterResourcePlanRequest &a, WMAlterResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1044) { - resourcePlanName = other1044.resourcePlanName; - resourcePlan = other1044.resourcePlan; - isEnableAndActivate = other1044.isEnableAndActivate; - isForceDeactivate = other1044.isForceDeactivate; - isReplace = other1044.isReplace; - __isset = other1044.__isset; -} -WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1045) { - resourcePlanName = other1045.resourcePlanName; - resourcePlan = other1045.resourcePlan; - isEnableAndActivate = other1045.isEnableAndActivate; - isForceDeactivate = other1045.isForceDeactivate; - isReplace = other1045.isReplace; - __isset = other1045.__isset; +WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1060) { + resourcePlanName = other1060.resourcePlanName; + resourcePlan = other1060.resourcePlan; + isEnableAndActivate = other1060.isEnableAndActivate; + isForceDeactivate = other1060.isForceDeactivate; + isReplace = other1060.isReplace; + __isset = other1060.__isset; +} +WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1061) { + resourcePlanName = other1061.resourcePlanName; + resourcePlan = other1061.resourcePlan; + isEnableAndActivate = other1061.isEnableAndActivate; + isForceDeactivate = other1061.isForceDeactivate; + isReplace = other1061.isReplace; + __isset = other1061.__isset; return *this; } void WMAlterResourcePlanRequest::printTo(std::ostream& out) const { @@ -26927,13 +27162,13 @@ void swap(WMAlterResourcePlanResponse &a, WMAlterResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1046) { - fullResourcePlan = other1046.fullResourcePlan; - __isset = other1046.__isset; +WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1062) { + fullResourcePlan = other1062.fullResourcePlan; + __isset = other1062.__isset; } -WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1047) { - fullResourcePlan = other1047.fullResourcePlan; - __isset = other1047.__isset; +WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1063) { + fullResourcePlan = other1063.fullResourcePlan; + __isset = other1063.__isset; return *this; } void WMAlterResourcePlanResponse::printTo(std::ostream& out) const { @@ -27015,13 +27250,13 @@ void swap(WMValidateResourcePlanRequest &a, WMValidateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1048) { - resourcePlanName = other1048.resourcePlanName; - __isset = other1048.__isset; +WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1064) { + resourcePlanName = other1064.resourcePlanName; + __isset = other1064.__isset; } -WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1049) { - resourcePlanName = other1049.resourcePlanName; - __isset = other1049.__isset; +WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1065) { + resourcePlanName = other1065.resourcePlanName; + __isset = other1065.__isset; return *this; } void WMValidateResourcePlanRequest::printTo(std::ostream& out) const { @@ -27071,14 +27306,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->errors.clear(); - uint32_t _size1050; - ::apache::thrift::protocol::TType _etype1053; - xfer += iprot->readListBegin(_etype1053, _size1050); - this->errors.resize(_size1050); - uint32_t _i1054; - for (_i1054 = 0; _i1054 < _size1050; ++_i1054) + uint32_t _size1066; + ::apache::thrift::protocol::TType _etype1069; + xfer += iprot->readListBegin(_etype1069, _size1066); + this->errors.resize(_size1066); + uint32_t _i1070; + for (_i1070 = 0; _i1070 < _size1066; ++_i1070) { - xfer += iprot->readString(this->errors[_i1054]); + xfer += iprot->readString(this->errors[_i1070]); } xfer += iprot->readListEnd(); } @@ -27091,14 +27326,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->warnings.clear(); - uint32_t _size1055; - ::apache::thrift::protocol::TType _etype1058; - xfer += iprot->readListBegin(_etype1058, _size1055); - this->warnings.resize(_size1055); - uint32_t _i1059; - for (_i1059 = 0; _i1059 < _size1055; ++_i1059) + uint32_t _size1071; + ::apache::thrift::protocol::TType _etype1074; + xfer += iprot->readListBegin(_etype1074, _size1071); + this->warnings.resize(_size1071); + uint32_t _i1075; + for (_i1075 = 0; _i1075 < _size1071; ++_i1075) { - xfer += iprot->readString(this->warnings[_i1059]); + xfer += iprot->readString(this->warnings[_i1075]); } xfer += iprot->readListEnd(); } @@ -27128,10 +27363,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 _iter1060; - for (_iter1060 = this->errors.begin(); _iter1060 != this->errors.end(); ++_iter1060) + std::vector ::const_iterator _iter1076; + for (_iter1076 = this->errors.begin(); _iter1076 != this->errors.end(); ++_iter1076) { - xfer += oprot->writeString((*_iter1060)); + xfer += oprot->writeString((*_iter1076)); } xfer += oprot->writeListEnd(); } @@ -27141,10 +27376,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 _iter1061; - for (_iter1061 = this->warnings.begin(); _iter1061 != this->warnings.end(); ++_iter1061) + std::vector ::const_iterator _iter1077; + for (_iter1077 = this->warnings.begin(); _iter1077 != this->warnings.end(); ++_iter1077) { - xfer += oprot->writeString((*_iter1061)); + xfer += oprot->writeString((*_iter1077)); } xfer += oprot->writeListEnd(); } @@ -27162,15 +27397,15 @@ void swap(WMValidateResourcePlanResponse &a, WMValidateResourcePlanResponse &b) swap(a.__isset, b.__isset); } -WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1062) { - errors = other1062.errors; - warnings = other1062.warnings; - __isset = other1062.__isset; +WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1078) { + errors = other1078.errors; + warnings = other1078.warnings; + __isset = other1078.__isset; } -WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1063) { - errors = other1063.errors; - warnings = other1063.warnings; - __isset = other1063.__isset; +WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1079) { + errors = other1079.errors; + warnings = other1079.warnings; + __isset = other1079.__isset; return *this; } void WMValidateResourcePlanResponse::printTo(std::ostream& out) const { @@ -27253,13 +27488,13 @@ void swap(WMDropResourcePlanRequest &a, WMDropResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1064) { - resourcePlanName = other1064.resourcePlanName; - __isset = other1064.__isset; +WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1080) { + resourcePlanName = other1080.resourcePlanName; + __isset = other1080.__isset; } -WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1065) { - resourcePlanName = other1065.resourcePlanName; - __isset = other1065.__isset; +WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1081) { + resourcePlanName = other1081.resourcePlanName; + __isset = other1081.__isset; return *this; } void WMDropResourcePlanRequest::printTo(std::ostream& out) const { @@ -27318,11 +27553,11 @@ void swap(WMDropResourcePlanResponse &a, WMDropResourcePlanResponse &b) { (void) b; } -WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1066) { - (void) other1066; +WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1082) { + (void) other1082; } -WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1067) { - (void) other1067; +WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1083) { + (void) other1083; return *this; } void WMDropResourcePlanResponse::printTo(std::ostream& out) const { @@ -27403,13 +27638,13 @@ void swap(WMCreateTriggerRequest &a, WMCreateTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1068) { - trigger = other1068.trigger; - __isset = other1068.__isset; +WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1084) { + trigger = other1084.trigger; + __isset = other1084.__isset; } -WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1069) { - trigger = other1069.trigger; - __isset = other1069.__isset; +WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1085) { + trigger = other1085.trigger; + __isset = other1085.__isset; return *this; } void WMCreateTriggerRequest::printTo(std::ostream& out) const { @@ -27468,11 +27703,11 @@ void swap(WMCreateTriggerResponse &a, WMCreateTriggerResponse &b) { (void) b; } -WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1070) { - (void) other1070; +WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1086) { + (void) other1086; } -WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1071) { - (void) other1071; +WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1087) { + (void) other1087; return *this; } void WMCreateTriggerResponse::printTo(std::ostream& out) const { @@ -27553,13 +27788,13 @@ void swap(WMAlterTriggerRequest &a, WMAlterTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1072) { - trigger = other1072.trigger; - __isset = other1072.__isset; +WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1088) { + trigger = other1088.trigger; + __isset = other1088.__isset; } -WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1073) { - trigger = other1073.trigger; - __isset = other1073.__isset; +WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1089) { + trigger = other1089.trigger; + __isset = other1089.__isset; return *this; } void WMAlterTriggerRequest::printTo(std::ostream& out) const { @@ -27618,11 +27853,11 @@ void swap(WMAlterTriggerResponse &a, WMAlterTriggerResponse &b) { (void) b; } -WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1074) { - (void) other1074; +WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1090) { + (void) other1090; } -WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1075) { - (void) other1075; +WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1091) { + (void) other1091; return *this; } void WMAlterTriggerResponse::printTo(std::ostream& out) const { @@ -27722,15 +27957,15 @@ void swap(WMDropTriggerRequest &a, WMDropTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1076) { - resourcePlanName = other1076.resourcePlanName; - triggerName = other1076.triggerName; - __isset = other1076.__isset; +WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1092) { + resourcePlanName = other1092.resourcePlanName; + triggerName = other1092.triggerName; + __isset = other1092.__isset; } -WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1077) { - resourcePlanName = other1077.resourcePlanName; - triggerName = other1077.triggerName; - __isset = other1077.__isset; +WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1093) { + resourcePlanName = other1093.resourcePlanName; + triggerName = other1093.triggerName; + __isset = other1093.__isset; return *this; } void WMDropTriggerRequest::printTo(std::ostream& out) const { @@ -27790,11 +28025,11 @@ void swap(WMDropTriggerResponse &a, WMDropTriggerResponse &b) { (void) b; } -WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1078) { - (void) other1078; +WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1094) { + (void) other1094; } -WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1079) { - (void) other1079; +WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1095) { + (void) other1095; return *this; } void WMDropTriggerResponse::printTo(std::ostream& out) const { @@ -27875,13 +28110,13 @@ void swap(WMGetTriggersForResourePlanRequest &a, WMGetTriggersForResourePlanRequ swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1080) { - resourcePlanName = other1080.resourcePlanName; - __isset = other1080.__isset; +WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1096) { + resourcePlanName = other1096.resourcePlanName; + __isset = other1096.__isset; } -WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1081) { - resourcePlanName = other1081.resourcePlanName; - __isset = other1081.__isset; +WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1097) { + resourcePlanName = other1097.resourcePlanName; + __isset = other1097.__isset; return *this; } void WMGetTriggersForResourePlanRequest::printTo(std::ostream& out) const { @@ -27926,14 +28161,14 @@ uint32_t WMGetTriggersForResourePlanResponse::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size1082; - ::apache::thrift::protocol::TType _etype1085; - xfer += iprot->readListBegin(_etype1085, _size1082); - this->triggers.resize(_size1082); - uint32_t _i1086; - for (_i1086 = 0; _i1086 < _size1082; ++_i1086) + uint32_t _size1098; + ::apache::thrift::protocol::TType _etype1101; + xfer += iprot->readListBegin(_etype1101, _size1098); + this->triggers.resize(_size1098); + uint32_t _i1102; + for (_i1102 = 0; _i1102 < _size1098; ++_i1102) { - xfer += this->triggers[_i1086].read(iprot); + xfer += this->triggers[_i1102].read(iprot); } xfer += iprot->readListEnd(); } @@ -27963,10 +28198,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 _iter1087; - for (_iter1087 = this->triggers.begin(); _iter1087 != this->triggers.end(); ++_iter1087) + std::vector ::const_iterator _iter1103; + for (_iter1103 = this->triggers.begin(); _iter1103 != this->triggers.end(); ++_iter1103) { - xfer += (*_iter1087).write(oprot); + xfer += (*_iter1103).write(oprot); } xfer += oprot->writeListEnd(); } @@ -27983,13 +28218,13 @@ void swap(WMGetTriggersForResourePlanResponse &a, WMGetTriggersForResourePlanRes swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1088) { - triggers = other1088.triggers; - __isset = other1088.__isset; +WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1104) { + triggers = other1104.triggers; + __isset = other1104.__isset; } -WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1089) { - triggers = other1089.triggers; - __isset = other1089.__isset; +WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1105) { + triggers = other1105.triggers; + __isset = other1105.__isset; return *this; } void WMGetTriggersForResourePlanResponse::printTo(std::ostream& out) const { @@ -28071,13 +28306,13 @@ void swap(WMCreatePoolRequest &a, WMCreatePoolRequest &b) { swap(a.__isset, b.__isset); } -WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1090) { - pool = other1090.pool; - __isset = other1090.__isset; +WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1106) { + pool = other1106.pool; + __isset = other1106.__isset; } -WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1091) { - pool = other1091.pool; - __isset = other1091.__isset; +WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1107) { + pool = other1107.pool; + __isset = other1107.__isset; return *this; } void WMCreatePoolRequest::printTo(std::ostream& out) const { @@ -28136,11 +28371,11 @@ void swap(WMCreatePoolResponse &a, WMCreatePoolResponse &b) { (void) b; } -WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1092) { - (void) other1092; +WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1108) { + (void) other1108; } -WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1093) { - (void) other1093; +WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1109) { + (void) other1109; return *this; } void WMCreatePoolResponse::printTo(std::ostream& out) const { @@ -28240,15 +28475,15 @@ void swap(WMAlterPoolRequest &a, WMAlterPoolRequest &b) { swap(a.__isset, b.__isset); } -WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1094) { - pool = other1094.pool; - poolPath = other1094.poolPath; - __isset = other1094.__isset; +WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1110) { + pool = other1110.pool; + poolPath = other1110.poolPath; + __isset = other1110.__isset; } -WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1095) { - pool = other1095.pool; - poolPath = other1095.poolPath; - __isset = other1095.__isset; +WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1111) { + pool = other1111.pool; + poolPath = other1111.poolPath; + __isset = other1111.__isset; return *this; } void WMAlterPoolRequest::printTo(std::ostream& out) const { @@ -28308,11 +28543,11 @@ void swap(WMAlterPoolResponse &a, WMAlterPoolResponse &b) { (void) b; } -WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1096) { - (void) other1096; +WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1112) { + (void) other1112; } -WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1097) { - (void) other1097; +WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1113) { + (void) other1113; return *this; } void WMAlterPoolResponse::printTo(std::ostream& out) const { @@ -28412,15 +28647,15 @@ void swap(WMDropPoolRequest &a, WMDropPoolRequest &b) { swap(a.__isset, b.__isset); } -WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1098) { - resourcePlanName = other1098.resourcePlanName; - poolPath = other1098.poolPath; - __isset = other1098.__isset; +WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1114) { + resourcePlanName = other1114.resourcePlanName; + poolPath = other1114.poolPath; + __isset = other1114.__isset; } -WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1099) { - resourcePlanName = other1099.resourcePlanName; - poolPath = other1099.poolPath; - __isset = other1099.__isset; +WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1115) { + resourcePlanName = other1115.resourcePlanName; + poolPath = other1115.poolPath; + __isset = other1115.__isset; return *this; } void WMDropPoolRequest::printTo(std::ostream& out) const { @@ -28480,11 +28715,11 @@ void swap(WMDropPoolResponse &a, WMDropPoolResponse &b) { (void) b; } -WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1100) { - (void) other1100; +WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1116) { + (void) other1116; } -WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1101) { - (void) other1101; +WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1117) { + (void) other1117; return *this; } void WMDropPoolResponse::printTo(std::ostream& out) const { @@ -28584,15 +28819,15 @@ void swap(WMCreateOrUpdateMappingRequest &a, WMCreateOrUpdateMappingRequest &b) swap(a.__isset, b.__isset); } -WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1102) { - mapping = other1102.mapping; - update = other1102.update; - __isset = other1102.__isset; +WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1118) { + mapping = other1118.mapping; + update = other1118.update; + __isset = other1118.__isset; } -WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1103) { - mapping = other1103.mapping; - update = other1103.update; - __isset = other1103.__isset; +WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1119) { + mapping = other1119.mapping; + update = other1119.update; + __isset = other1119.__isset; return *this; } void WMCreateOrUpdateMappingRequest::printTo(std::ostream& out) const { @@ -28652,11 +28887,11 @@ void swap(WMCreateOrUpdateMappingResponse &a, WMCreateOrUpdateMappingResponse &b (void) b; } -WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1104) { - (void) other1104; +WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1120) { + (void) other1120; } -WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1105) { - (void) other1105; +WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1121) { + (void) other1121; return *this; } void WMCreateOrUpdateMappingResponse::printTo(std::ostream& out) const { @@ -28737,13 +28972,13 @@ void swap(WMDropMappingRequest &a, WMDropMappingRequest &b) { swap(a.__isset, b.__isset); } -WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1106) { - mapping = other1106.mapping; - __isset = other1106.__isset; +WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1122) { + mapping = other1122.mapping; + __isset = other1122.__isset; } -WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1107) { - mapping = other1107.mapping; - __isset = other1107.__isset; +WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1123) { + mapping = other1123.mapping; + __isset = other1123.__isset; return *this; } void WMDropMappingRequest::printTo(std::ostream& out) const { @@ -28802,11 +29037,11 @@ void swap(WMDropMappingResponse &a, WMDropMappingResponse &b) { (void) b; } -WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1108) { - (void) other1108; +WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1124) { + (void) other1124; } -WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1109) { - (void) other1109; +WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1125) { + (void) other1125; return *this; } void WMDropMappingResponse::printTo(std::ostream& out) const { @@ -28944,19 +29179,19 @@ void swap(WMCreateOrDropTriggerToPoolMappingRequest &a, WMCreateOrDropTriggerToP swap(a.__isset, b.__isset); } -WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1110) { - resourcePlanName = other1110.resourcePlanName; - triggerName = other1110.triggerName; - poolPath = other1110.poolPath; - drop = other1110.drop; - __isset = other1110.__isset; +WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1126) { + resourcePlanName = other1126.resourcePlanName; + triggerName = other1126.triggerName; + poolPath = other1126.poolPath; + drop = other1126.drop; + __isset = other1126.__isset; } -WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1111) { - resourcePlanName = other1111.resourcePlanName; - triggerName = other1111.triggerName; - poolPath = other1111.poolPath; - drop = other1111.drop; - __isset = other1111.__isset; +WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1127) { + resourcePlanName = other1127.resourcePlanName; + triggerName = other1127.triggerName; + poolPath = other1127.poolPath; + drop = other1127.drop; + __isset = other1127.__isset; return *this; } void WMCreateOrDropTriggerToPoolMappingRequest::printTo(std::ostream& out) const { @@ -29018,11 +29253,11 @@ void swap(WMCreateOrDropTriggerToPoolMappingResponse &a, WMCreateOrDropTriggerTo (void) b; } -WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1112) { - (void) other1112; +WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1128) { + (void) other1128; } -WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1113) { - (void) other1113; +WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1129) { + (void) other1129; return *this; } void WMCreateOrDropTriggerToPoolMappingResponse::printTo(std::ostream& out) const { @@ -29097,9 +29332,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1114; - xfer += iprot->readI32(ecast1114); - this->schemaType = (SchemaType::type)ecast1114; + int32_t ecast1130; + xfer += iprot->readI32(ecast1130); + this->schemaType = (SchemaType::type)ecast1130; this->__isset.schemaType = true; } else { xfer += iprot->skip(ftype); @@ -29131,9 +29366,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1115; - xfer += iprot->readI32(ecast1115); - this->compatibility = (SchemaCompatibility::type)ecast1115; + int32_t ecast1131; + xfer += iprot->readI32(ecast1131); + this->compatibility = (SchemaCompatibility::type)ecast1131; this->__isset.compatibility = true; } else { xfer += iprot->skip(ftype); @@ -29141,9 +29376,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1116; - xfer += iprot->readI32(ecast1116); - this->validationLevel = (SchemaValidation::type)ecast1116; + int32_t ecast1132; + xfer += iprot->readI32(ecast1132); + this->validationLevel = (SchemaValidation::type)ecast1132; this->__isset.validationLevel = true; } else { xfer += iprot->skip(ftype); @@ -29247,29 +29482,29 @@ void swap(ISchema &a, ISchema &b) { swap(a.__isset, b.__isset); } -ISchema::ISchema(const ISchema& other1117) { - schemaType = other1117.schemaType; - name = other1117.name; - catName = other1117.catName; - dbName = other1117.dbName; - compatibility = other1117.compatibility; - validationLevel = other1117.validationLevel; - canEvolve = other1117.canEvolve; - schemaGroup = other1117.schemaGroup; - description = other1117.description; - __isset = other1117.__isset; -} -ISchema& ISchema::operator=(const ISchema& other1118) { - schemaType = other1118.schemaType; - name = other1118.name; - catName = other1118.catName; - dbName = other1118.dbName; - compatibility = other1118.compatibility; - validationLevel = other1118.validationLevel; - canEvolve = other1118.canEvolve; - schemaGroup = other1118.schemaGroup; - description = other1118.description; - __isset = other1118.__isset; +ISchema::ISchema(const ISchema& other1133) { + schemaType = other1133.schemaType; + name = other1133.name; + catName = other1133.catName; + dbName = other1133.dbName; + compatibility = other1133.compatibility; + validationLevel = other1133.validationLevel; + canEvolve = other1133.canEvolve; + schemaGroup = other1133.schemaGroup; + description = other1133.description; + __isset = other1133.__isset; +} +ISchema& ISchema::operator=(const ISchema& other1134) { + schemaType = other1134.schemaType; + name = other1134.name; + catName = other1134.catName; + dbName = other1134.dbName; + compatibility = other1134.compatibility; + validationLevel = other1134.validationLevel; + canEvolve = other1134.canEvolve; + schemaGroup = other1134.schemaGroup; + description = other1134.description; + __isset = other1134.__isset; return *this; } void ISchema::printTo(std::ostream& out) const { @@ -29391,17 +29626,17 @@ void swap(ISchemaName &a, ISchemaName &b) { swap(a.__isset, b.__isset); } -ISchemaName::ISchemaName(const ISchemaName& other1119) { - catName = other1119.catName; - dbName = other1119.dbName; - schemaName = other1119.schemaName; - __isset = other1119.__isset; +ISchemaName::ISchemaName(const ISchemaName& other1135) { + catName = other1135.catName; + dbName = other1135.dbName; + schemaName = other1135.schemaName; + __isset = other1135.__isset; } -ISchemaName& ISchemaName::operator=(const ISchemaName& other1120) { - catName = other1120.catName; - dbName = other1120.dbName; - schemaName = other1120.schemaName; - __isset = other1120.__isset; +ISchemaName& ISchemaName::operator=(const ISchemaName& other1136) { + catName = other1136.catName; + dbName = other1136.dbName; + schemaName = other1136.schemaName; + __isset = other1136.__isset; return *this; } void ISchemaName::printTo(std::ostream& out) const { @@ -29500,15 +29735,15 @@ void swap(AlterISchemaRequest &a, AlterISchemaRequest &b) { swap(a.__isset, b.__isset); } -AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1121) { - name = other1121.name; - newSchema = other1121.newSchema; - __isset = other1121.__isset; +AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1137) { + name = other1137.name; + newSchema = other1137.newSchema; + __isset = other1137.__isset; } -AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1122) { - name = other1122.name; - newSchema = other1122.newSchema; - __isset = other1122.__isset; +AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1138) { + name = other1138.name; + newSchema = other1138.newSchema; + __isset = other1138.__isset; return *this; } void AlterISchemaRequest::printTo(std::ostream& out) const { @@ -29619,14 +29854,14 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->cols.clear(); - uint32_t _size1123; - ::apache::thrift::protocol::TType _etype1126; - xfer += iprot->readListBegin(_etype1126, _size1123); - this->cols.resize(_size1123); - uint32_t _i1127; - for (_i1127 = 0; _i1127 < _size1123; ++_i1127) + uint32_t _size1139; + ::apache::thrift::protocol::TType _etype1142; + xfer += iprot->readListBegin(_etype1142, _size1139); + this->cols.resize(_size1139); + uint32_t _i1143; + for (_i1143 = 0; _i1143 < _size1139; ++_i1143) { - xfer += this->cols[_i1127].read(iprot); + xfer += this->cols[_i1143].read(iprot); } xfer += iprot->readListEnd(); } @@ -29637,9 +29872,9 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1128; - xfer += iprot->readI32(ecast1128); - this->state = (SchemaVersionState::type)ecast1128; + int32_t ecast1144; + xfer += iprot->readI32(ecast1144); + this->state = (SchemaVersionState::type)ecast1144; this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -29717,10 +29952,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 _iter1129; - for (_iter1129 = this->cols.begin(); _iter1129 != this->cols.end(); ++_iter1129) + std::vector ::const_iterator _iter1145; + for (_iter1145 = this->cols.begin(); _iter1145 != this->cols.end(); ++_iter1145) { - xfer += (*_iter1129).write(oprot); + xfer += (*_iter1145).write(oprot); } xfer += oprot->writeListEnd(); } @@ -29776,31 +30011,31 @@ void swap(SchemaVersion &a, SchemaVersion &b) { swap(a.__isset, b.__isset); } -SchemaVersion::SchemaVersion(const SchemaVersion& other1130) { - schema = other1130.schema; - version = other1130.version; - createdAt = other1130.createdAt; - cols = other1130.cols; - state = other1130.state; - description = other1130.description; - schemaText = other1130.schemaText; - fingerprint = other1130.fingerprint; - name = other1130.name; - serDe = other1130.serDe; - __isset = other1130.__isset; -} -SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1131) { - schema = other1131.schema; - version = other1131.version; - createdAt = other1131.createdAt; - cols = other1131.cols; - state = other1131.state; - description = other1131.description; - schemaText = other1131.schemaText; - fingerprint = other1131.fingerprint; - name = other1131.name; - serDe = other1131.serDe; - __isset = other1131.__isset; +SchemaVersion::SchemaVersion(const SchemaVersion& other1146) { + schema = other1146.schema; + version = other1146.version; + createdAt = other1146.createdAt; + cols = other1146.cols; + state = other1146.state; + description = other1146.description; + schemaText = other1146.schemaText; + fingerprint = other1146.fingerprint; + name = other1146.name; + serDe = other1146.serDe; + __isset = other1146.__isset; +} +SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1147) { + schema = other1147.schema; + version = other1147.version; + createdAt = other1147.createdAt; + cols = other1147.cols; + state = other1147.state; + description = other1147.description; + schemaText = other1147.schemaText; + fingerprint = other1147.fingerprint; + name = other1147.name; + serDe = other1147.serDe; + __isset = other1147.__isset; return *this; } void SchemaVersion::printTo(std::ostream& out) const { @@ -29906,15 +30141,15 @@ void swap(SchemaVersionDescriptor &a, SchemaVersionDescriptor &b) { swap(a.__isset, b.__isset); } -SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1132) { - schema = other1132.schema; - version = other1132.version; - __isset = other1132.__isset; +SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1148) { + schema = other1148.schema; + version = other1148.version; + __isset = other1148.__isset; } -SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1133) { - schema = other1133.schema; - version = other1133.version; - __isset = other1133.__isset; +SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1149) { + schema = other1149.schema; + version = other1149.version; + __isset = other1149.__isset; return *this; } void SchemaVersionDescriptor::printTo(std::ostream& out) const { @@ -30035,17 +30270,17 @@ void swap(FindSchemasByColsRqst &a, FindSchemasByColsRqst &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1134) { - colName = other1134.colName; - colNamespace = other1134.colNamespace; - type = other1134.type; - __isset = other1134.__isset; +FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1150) { + colName = other1150.colName; + colNamespace = other1150.colNamespace; + type = other1150.type; + __isset = other1150.__isset; } -FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1135) { - colName = other1135.colName; - colNamespace = other1135.colNamespace; - type = other1135.type; - __isset = other1135.__isset; +FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1151) { + colName = other1151.colName; + colNamespace = other1151.colNamespace; + type = other1151.type; + __isset = other1151.__isset; return *this; } void FindSchemasByColsRqst::printTo(std::ostream& out) const { @@ -30091,14 +30326,14 @@ uint32_t FindSchemasByColsResp::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->schemaVersions.clear(); - uint32_t _size1136; - ::apache::thrift::protocol::TType _etype1139; - xfer += iprot->readListBegin(_etype1139, _size1136); - this->schemaVersions.resize(_size1136); - uint32_t _i1140; - for (_i1140 = 0; _i1140 < _size1136; ++_i1140) + uint32_t _size1152; + ::apache::thrift::protocol::TType _etype1155; + xfer += iprot->readListBegin(_etype1155, _size1152); + this->schemaVersions.resize(_size1152); + uint32_t _i1156; + for (_i1156 = 0; _i1156 < _size1152; ++_i1156) { - xfer += this->schemaVersions[_i1140].read(iprot); + xfer += this->schemaVersions[_i1156].read(iprot); } xfer += iprot->readListEnd(); } @@ -30127,10 +30362,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 _iter1141; - for (_iter1141 = this->schemaVersions.begin(); _iter1141 != this->schemaVersions.end(); ++_iter1141) + std::vector ::const_iterator _iter1157; + for (_iter1157 = this->schemaVersions.begin(); _iter1157 != this->schemaVersions.end(); ++_iter1157) { - xfer += (*_iter1141).write(oprot); + xfer += (*_iter1157).write(oprot); } xfer += oprot->writeListEnd(); } @@ -30147,13 +30382,13 @@ void swap(FindSchemasByColsResp &a, FindSchemasByColsResp &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1142) { - schemaVersions = other1142.schemaVersions; - __isset = other1142.__isset; +FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1158) { + schemaVersions = other1158.schemaVersions; + __isset = other1158.__isset; } -FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1143) { - schemaVersions = other1143.schemaVersions; - __isset = other1143.__isset; +FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1159) { + schemaVersions = other1159.schemaVersions; + __isset = other1159.__isset; return *this; } void FindSchemasByColsResp::printTo(std::ostream& out) const { @@ -30250,15 +30485,15 @@ void swap(MapSchemaVersionToSerdeRequest &a, MapSchemaVersionToSerdeRequest &b) swap(a.__isset, b.__isset); } -MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1144) { - schemaVersion = other1144.schemaVersion; - serdeName = other1144.serdeName; - __isset = other1144.__isset; +MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1160) { + schemaVersion = other1160.schemaVersion; + serdeName = other1160.serdeName; + __isset = other1160.__isset; } -MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1145) { - schemaVersion = other1145.schemaVersion; - serdeName = other1145.serdeName; - __isset = other1145.__isset; +MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1161) { + schemaVersion = other1161.schemaVersion; + serdeName = other1161.serdeName; + __isset = other1161.__isset; return *this; } void MapSchemaVersionToSerdeRequest::printTo(std::ostream& out) const { @@ -30313,9 +30548,9 @@ uint32_t SetSchemaVersionStateRequest::read(::apache::thrift::protocol::TProtoco break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1146; - xfer += iprot->readI32(ecast1146); - this->state = (SchemaVersionState::type)ecast1146; + int32_t ecast1162; + xfer += iprot->readI32(ecast1162); + this->state = (SchemaVersionState::type)ecast1162; this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -30358,15 +30593,15 @@ void swap(SetSchemaVersionStateRequest &a, SetSchemaVersionStateRequest &b) { swap(a.__isset, b.__isset); } -SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1147) { - schemaVersion = other1147.schemaVersion; - state = other1147.state; - __isset = other1147.__isset; +SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1163) { + schemaVersion = other1163.schemaVersion; + state = other1163.state; + __isset = other1163.__isset; } -SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1148) { - schemaVersion = other1148.schemaVersion; - state = other1148.state; - __isset = other1148.__isset; +SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1164) { + schemaVersion = other1164.schemaVersion; + state = other1164.state; + __isset = other1164.__isset; return *this; } void SetSchemaVersionStateRequest::printTo(std::ostream& out) const { @@ -30447,13 +30682,13 @@ void swap(GetSerdeRequest &a, GetSerdeRequest &b) { swap(a.__isset, b.__isset); } -GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1149) { - serdeName = other1149.serdeName; - __isset = other1149.__isset; +GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1165) { + serdeName = other1165.serdeName; + __isset = other1165.__isset; } -GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1150) { - serdeName = other1150.serdeName; - __isset = other1150.__isset; +GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1166) { + serdeName = other1166.serdeName; + __isset = other1166.__isset; return *this; } void GetSerdeRequest::printTo(std::ostream& out) const { @@ -30533,13 +30768,13 @@ void swap(MetaException &a, MetaException &b) { swap(a.__isset, b.__isset); } -MetaException::MetaException(const MetaException& other1151) : TException() { - message = other1151.message; - __isset = other1151.__isset; +MetaException::MetaException(const MetaException& other1167) : TException() { + message = other1167.message; + __isset = other1167.__isset; } -MetaException& MetaException::operator=(const MetaException& other1152) { - message = other1152.message; - __isset = other1152.__isset; +MetaException& MetaException::operator=(const MetaException& other1168) { + message = other1168.message; + __isset = other1168.__isset; return *this; } void MetaException::printTo(std::ostream& out) const { @@ -30630,13 +30865,13 @@ void swap(UnknownTableException &a, UnknownTableException &b) { swap(a.__isset, b.__isset); } -UnknownTableException::UnknownTableException(const UnknownTableException& other1153) : TException() { - message = other1153.message; - __isset = other1153.__isset; +UnknownTableException::UnknownTableException(const UnknownTableException& other1169) : TException() { + message = other1169.message; + __isset = other1169.__isset; } -UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1154) { - message = other1154.message; - __isset = other1154.__isset; +UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1170) { + message = other1170.message; + __isset = other1170.__isset; return *this; } void UnknownTableException::printTo(std::ostream& out) const { @@ -30727,13 +30962,13 @@ void swap(UnknownDBException &a, UnknownDBException &b) { swap(a.__isset, b.__isset); } -UnknownDBException::UnknownDBException(const UnknownDBException& other1155) : TException() { - message = other1155.message; - __isset = other1155.__isset; +UnknownDBException::UnknownDBException(const UnknownDBException& other1171) : TException() { + message = other1171.message; + __isset = other1171.__isset; } -UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1156) { - message = other1156.message; - __isset = other1156.__isset; +UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1172) { + message = other1172.message; + __isset = other1172.__isset; return *this; } void UnknownDBException::printTo(std::ostream& out) const { @@ -30824,13 +31059,13 @@ void swap(AlreadyExistsException &a, AlreadyExistsException &b) { swap(a.__isset, b.__isset); } -AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1157) : TException() { - message = other1157.message; - __isset = other1157.__isset; +AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1173) : TException() { + message = other1173.message; + __isset = other1173.__isset; } -AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1158) { - message = other1158.message; - __isset = other1158.__isset; +AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1174) { + message = other1174.message; + __isset = other1174.__isset; return *this; } void AlreadyExistsException::printTo(std::ostream& out) const { @@ -30921,13 +31156,13 @@ void swap(InvalidPartitionException &a, InvalidPartitionException &b) { swap(a.__isset, b.__isset); } -InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1159) : TException() { - message = other1159.message; - __isset = other1159.__isset; +InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1175) : TException() { + message = other1175.message; + __isset = other1175.__isset; } -InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1160) { - message = other1160.message; - __isset = other1160.__isset; +InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1176) { + message = other1176.message; + __isset = other1176.__isset; return *this; } void InvalidPartitionException::printTo(std::ostream& out) const { @@ -31018,13 +31253,13 @@ void swap(UnknownPartitionException &a, UnknownPartitionException &b) { swap(a.__isset, b.__isset); } -UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1161) : TException() { - message = other1161.message; - __isset = other1161.__isset; +UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1177) : TException() { + message = other1177.message; + __isset = other1177.__isset; } -UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1162) { - message = other1162.message; - __isset = other1162.__isset; +UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1178) { + message = other1178.message; + __isset = other1178.__isset; return *this; } void UnknownPartitionException::printTo(std::ostream& out) const { @@ -31115,13 +31350,13 @@ void swap(InvalidObjectException &a, InvalidObjectException &b) { swap(a.__isset, b.__isset); } -InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1163) : TException() { - message = other1163.message; - __isset = other1163.__isset; +InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1179) : TException() { + message = other1179.message; + __isset = other1179.__isset; } -InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1164) { - message = other1164.message; - __isset = other1164.__isset; +InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1180) { + message = other1180.message; + __isset = other1180.__isset; return *this; } void InvalidObjectException::printTo(std::ostream& out) const { @@ -31212,13 +31447,13 @@ void swap(NoSuchObjectException &a, NoSuchObjectException &b) { swap(a.__isset, b.__isset); } -NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1165) : TException() { - message = other1165.message; - __isset = other1165.__isset; +NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1181) : TException() { + message = other1181.message; + __isset = other1181.__isset; } -NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1166) { - message = other1166.message; - __isset = other1166.__isset; +NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1182) { + message = other1182.message; + __isset = other1182.__isset; return *this; } void NoSuchObjectException::printTo(std::ostream& out) const { @@ -31309,13 +31544,13 @@ void swap(InvalidOperationException &a, InvalidOperationException &b) { swap(a.__isset, b.__isset); } -InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1167) : TException() { - message = other1167.message; - __isset = other1167.__isset; +InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1183) : TException() { + message = other1183.message; + __isset = other1183.__isset; } -InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1168) { - message = other1168.message; - __isset = other1168.__isset; +InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1184) { + message = other1184.message; + __isset = other1184.__isset; return *this; } void InvalidOperationException::printTo(std::ostream& out) const { @@ -31406,13 +31641,13 @@ void swap(ConfigValSecurityException &a, ConfigValSecurityException &b) { swap(a.__isset, b.__isset); } -ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1169) : TException() { - message = other1169.message; - __isset = other1169.__isset; +ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1185) : TException() { + message = other1185.message; + __isset = other1185.__isset; } -ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1170) { - message = other1170.message; - __isset = other1170.__isset; +ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1186) { + message = other1186.message; + __isset = other1186.__isset; return *this; } void ConfigValSecurityException::printTo(std::ostream& out) const { @@ -31503,13 +31738,13 @@ void swap(InvalidInputException &a, InvalidInputException &b) { swap(a.__isset, b.__isset); } -InvalidInputException::InvalidInputException(const InvalidInputException& other1171) : TException() { - message = other1171.message; - __isset = other1171.__isset; +InvalidInputException::InvalidInputException(const InvalidInputException& other1187) : TException() { + message = other1187.message; + __isset = other1187.__isset; } -InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1172) { - message = other1172.message; - __isset = other1172.__isset; +InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1188) { + message = other1188.message; + __isset = other1188.__isset; return *this; } void InvalidInputException::printTo(std::ostream& out) const { @@ -31600,13 +31835,13 @@ void swap(NoSuchTxnException &a, NoSuchTxnException &b) { swap(a.__isset, b.__isset); } -NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1173) : TException() { - message = other1173.message; - __isset = other1173.__isset; +NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1189) : TException() { + message = other1189.message; + __isset = other1189.__isset; } -NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1174) { - message = other1174.message; - __isset = other1174.__isset; +NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1190) { + message = other1190.message; + __isset = other1190.__isset; return *this; } void NoSuchTxnException::printTo(std::ostream& out) const { @@ -31697,13 +31932,13 @@ void swap(TxnAbortedException &a, TxnAbortedException &b) { swap(a.__isset, b.__isset); } -TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1175) : TException() { - message = other1175.message; - __isset = other1175.__isset; +TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1191) : TException() { + message = other1191.message; + __isset = other1191.__isset; } -TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1176) { - message = other1176.message; - __isset = other1176.__isset; +TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1192) { + message = other1192.message; + __isset = other1192.__isset; return *this; } void TxnAbortedException::printTo(std::ostream& out) const { @@ -31794,13 +32029,13 @@ void swap(TxnOpenException &a, TxnOpenException &b) { swap(a.__isset, b.__isset); } -TxnOpenException::TxnOpenException(const TxnOpenException& other1177) : TException() { - message = other1177.message; - __isset = other1177.__isset; +TxnOpenException::TxnOpenException(const TxnOpenException& other1193) : TException() { + message = other1193.message; + __isset = other1193.__isset; } -TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1178) { - message = other1178.message; - __isset = other1178.__isset; +TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1194) { + message = other1194.message; + __isset = other1194.__isset; return *this; } void TxnOpenException::printTo(std::ostream& out) const { @@ -31891,13 +32126,13 @@ void swap(NoSuchLockException &a, NoSuchLockException &b) { swap(a.__isset, b.__isset); } -NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1179) : TException() { - message = other1179.message; - __isset = other1179.__isset; +NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1195) : TException() { + message = other1195.message; + __isset = other1195.__isset; } -NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1180) { - message = other1180.message; - __isset = other1180.__isset; +NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1196) { + message = other1196.message; + __isset = other1196.__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 086cfe9db6..9c074fd764 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 @@ -443,6 +443,10 @@ class AbortTxnsRequest; class CommitTxnRequest; +class GetTargetTxnIdsRequest; + +class GetTargetTxnIdsResponse; + class GetValidWriteIdsRequest; class TableValidWriteIds; @@ -6962,6 +6966,91 @@ inline std::ostream& operator<<(std::ostream& out, const CommitTxnRequest& obj) } +class GetTargetTxnIdsRequest { + public: + + GetTargetTxnIdsRequest(const GetTargetTxnIdsRequest&); + GetTargetTxnIdsRequest& operator=(const GetTargetTxnIdsRequest&); + GetTargetTxnIdsRequest() : replPolicy() { + } + + virtual ~GetTargetTxnIdsRequest() throw(); + std::vector srcTxnIds; + std::string replPolicy; + + void __set_srcTxnIds(const std::vector & val); + + void __set_replPolicy(const std::string& val); + + bool operator == (const GetTargetTxnIdsRequest & rhs) const + { + if (!(srcTxnIds == rhs.srcTxnIds)) + return false; + if (!(replPolicy == rhs.replPolicy)) + return false; + return true; + } + bool operator != (const GetTargetTxnIdsRequest &rhs) const { + return !(*this == rhs); + } + + bool operator < (const GetTargetTxnIdsRequest & ) 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(GetTargetTxnIdsRequest &a, GetTargetTxnIdsRequest &b); + +inline std::ostream& operator<<(std::ostream& out, const GetTargetTxnIdsRequest& obj) +{ + obj.printTo(out); + return out; +} + + +class GetTargetTxnIdsResponse { + public: + + GetTargetTxnIdsResponse(const GetTargetTxnIdsResponse&); + GetTargetTxnIdsResponse& operator=(const GetTargetTxnIdsResponse&); + GetTargetTxnIdsResponse() { + } + + virtual ~GetTargetTxnIdsResponse() throw(); + std::vector targetTxnIds; + + void __set_targetTxnIds(const std::vector & val); + + bool operator == (const GetTargetTxnIdsResponse & rhs) const + { + if (!(targetTxnIds == rhs.targetTxnIds)) + return false; + return true; + } + bool operator != (const GetTargetTxnIdsResponse &rhs) const { + return !(*this == rhs); + } + + bool operator < (const GetTargetTxnIdsResponse & ) 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(GetTargetTxnIdsResponse &a, GetTargetTxnIdsResponse &b); + +inline std::ostream& operator<<(std::ostream& out, const GetTargetTxnIdsResponse& 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 3acdec5a40..1dcc8707b5 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 _list684 = iprot.readListBegin(); - struct.partitionnames = new ArrayList(_list684.size); - String _elem685; - for (int _i686 = 0; _i686 < _list684.size; ++_i686) + org.apache.thrift.protocol.TList _list700 = iprot.readListBegin(); + struct.partitionnames = new ArrayList(_list700.size); + String _elem701; + for (int _i702 = 0; _i702 < _list700.size; ++_i702) { - _elem685 = iprot.readString(); - struct.partitionnames.add(_elem685); + _elem701 = iprot.readString(); + struct.partitionnames.add(_elem701); } 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 _iter687 : struct.partitionnames) + for (String _iter703 : struct.partitionnames) { - oprot.writeString(_iter687); + oprot.writeString(_iter703); } 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 _iter688 : struct.partitionnames) + for (String _iter704 : struct.partitionnames) { - oprot.writeString(_iter688); + oprot.writeString(_iter704); } } 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 _list689 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionnames = new ArrayList(_list689.size); - String _elem690; - for (int _i691 = 0; _i691 < _list689.size; ++_i691) + org.apache.thrift.protocol.TList _list705 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionnames = new ArrayList(_list705.size); + String _elem706; + for (int _i707 = 0; _i707 < _list705.size; ++_i707) { - _elem690 = iprot.readString(); - struct.partitionnames.add(_elem690); + _elem706 = iprot.readString(); + struct.partitionnames.add(_elem706); } } 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 35ccef73a2..7a27b51031 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 _list618 = iprot.readListBegin(); - struct.txnIds = new ArrayList(_list618.size); - long _elem619; - for (int _i620 = 0; _i620 < _list618.size; ++_i620) + org.apache.thrift.protocol.TList _list634 = iprot.readListBegin(); + struct.txnIds = new ArrayList(_list634.size); + long _elem635; + for (int _i636 = 0; _i636 < _list634.size; ++_i636) { - _elem619 = iprot.readI64(); - struct.txnIds.add(_elem619); + _elem635 = iprot.readI64(); + struct.txnIds.add(_elem635); } 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 _iter621 : struct.txnIds) + for (long _iter637 : struct.txnIds) { - oprot.writeI64(_iter621); + oprot.writeI64(_iter637); } 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 _iter622 : struct.txnIds) + for (long _iter638 : struct.txnIds) { - oprot.writeI64(_iter622); + oprot.writeI64(_iter638); } } 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 _list623 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txnIds = new ArrayList(_list623.size); - long _elem624; - for (int _i625 = 0; _i625 < _list623.size; ++_i625) + org.apache.thrift.protocol.TList _list639 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txnIds = new ArrayList(_list639.size); + long _elem640; + for (int _i641 = 0; _i641 < _list639.size; ++_i641) { - _elem624 = iprot.readI64(); - struct.txnIds.add(_elem624); + _elem640 = iprot.readI64(); + struct.txnIds.add(_elem640); } } 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 35cbca3118..20dc757dc7 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 _list626 = iprot.readListBegin(); - struct.txnToWriteIds = new ArrayList(_list626.size); - TxnToWriteId _elem627; - for (int _i628 = 0; _i628 < _list626.size; ++_i628) + org.apache.thrift.protocol.TList _list642 = iprot.readListBegin(); + struct.txnToWriteIds = new ArrayList(_list642.size); + TxnToWriteId _elem643; + for (int _i644 = 0; _i644 < _list642.size; ++_i644) { - _elem627 = new TxnToWriteId(); - _elem627.read(iprot); - struct.txnToWriteIds.add(_elem627); + _elem643 = new TxnToWriteId(); + _elem643.read(iprot); + struct.txnToWriteIds.add(_elem643); } 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 _iter629 : struct.txnToWriteIds) + for (TxnToWriteId _iter645 : struct.txnToWriteIds) { - _iter629.write(oprot); + _iter645.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 _iter630 : struct.txnToWriteIds) + for (TxnToWriteId _iter646 : struct.txnToWriteIds) { - _iter630.write(oprot); + _iter646.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 _list631 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.txnToWriteIds = new ArrayList(_list631.size); - TxnToWriteId _elem632; - for (int _i633 = 0; _i633 < _list631.size; ++_i633) + org.apache.thrift.protocol.TList _list647 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.txnToWriteIds = new ArrayList(_list647.size); + TxnToWriteId _elem648; + for (int _i649 = 0; _i649 < _list647.size; ++_i649) { - _elem632 = new TxnToWriteId(); - _elem632.read(iprot); - struct.txnToWriteIds.add(_elem632); + _elem648 = new TxnToWriteId(); + _elem648.read(iprot); + struct.txnToWriteIds.add(_elem648); } } 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 2162163249..470a0706a2 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 _list784 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list784.size); - long _elem785; - for (int _i786 = 0; _i786 < _list784.size; ++_i786) + org.apache.thrift.protocol.TList _list800 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list800.size); + long _elem801; + for (int _i802 = 0; _i802 < _list800.size; ++_i802) { - _elem785 = iprot.readI64(); - struct.fileIds.add(_elem785); + _elem801 = iprot.readI64(); + struct.fileIds.add(_elem801); } 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 _iter787 : struct.fileIds) + for (long _iter803 : struct.fileIds) { - oprot.writeI64(_iter787); + oprot.writeI64(_iter803); } 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 _iter788 : struct.fileIds) + for (long _iter804 : struct.fileIds) { - oprot.writeI64(_iter788); + oprot.writeI64(_iter804); } } } @@ -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 _list789 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list789.size); - long _elem790; - for (int _i791 = 0; _i791 < _list789.size; ++_i791) + org.apache.thrift.protocol.TList _list805 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list805.size); + long _elem806; + for (int _i807 = 0; _i807 < _list805.size; ++_i807) { - _elem790 = iprot.readI64(); - struct.fileIds.add(_elem790); + _elem806 = iprot.readI64(); + struct.fileIds.add(_elem806); } } 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 65e9e4c7db..af48583c18 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 _list800 = iprot.readListBegin(); - struct.values = new ArrayList(_list800.size); - ClientCapability _elem801; - for (int _i802 = 0; _i802 < _list800.size; ++_i802) + org.apache.thrift.protocol.TList _list816 = iprot.readListBegin(); + struct.values = new ArrayList(_list816.size); + ClientCapability _elem817; + for (int _i818 = 0; _i818 < _list816.size; ++_i818) { - _elem801 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem801); + _elem817 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem817); } 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 _iter803 : struct.values) + for (ClientCapability _iter819 : struct.values) { - oprot.writeI32(_iter803.getValue()); + oprot.writeI32(_iter819.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 _iter804 : struct.values) + for (ClientCapability _iter820 : struct.values) { - oprot.writeI32(_iter804.getValue()); + oprot.writeI32(_iter820.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 _list805 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); - struct.values = new ArrayList(_list805.size); - ClientCapability _elem806; - for (int _i807 = 0; _i807 < _list805.size; ++_i807) + org.apache.thrift.protocol.TList _list821 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); + struct.values = new ArrayList(_list821.size); + ClientCapability _elem822; + for (int _i823 = 0; _i823 < _list821.size; ++_i823) { - _elem806 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem806); + _elem822 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem822); } } 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 e499e80e58..31f2e144a9 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 _map666 = iprot.readMapBegin(); - struct.properties = new HashMap(2*_map666.size); - String _key667; - String _val668; - for (int _i669 = 0; _i669 < _map666.size; ++_i669) + org.apache.thrift.protocol.TMap _map682 = iprot.readMapBegin(); + struct.properties = new HashMap(2*_map682.size); + String _key683; + String _val684; + for (int _i685 = 0; _i685 < _map682.size; ++_i685) { - _key667 = iprot.readString(); - _val668 = iprot.readString(); - struct.properties.put(_key667, _val668); + _key683 = iprot.readString(); + _val684 = iprot.readString(); + struct.properties.put(_key683, _val684); } 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 _iter670 : struct.properties.entrySet()) + for (Map.Entry _iter686 : struct.properties.entrySet()) { - oprot.writeString(_iter670.getKey()); - oprot.writeString(_iter670.getValue()); + oprot.writeString(_iter686.getKey()); + oprot.writeString(_iter686.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 _iter671 : struct.properties.entrySet()) + for (Map.Entry _iter687 : struct.properties.entrySet()) { - oprot.writeString(_iter671.getKey()); - oprot.writeString(_iter671.getValue()); + oprot.writeString(_iter687.getKey()); + oprot.writeString(_iter687.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 _map672 = 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*_map672.size); - String _key673; - String _val674; - for (int _i675 = 0; _i675 < _map672.size; ++_i675) + org.apache.thrift.protocol.TMap _map688 = 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*_map688.size); + String _key689; + String _val690; + for (int _i691 = 0; _i691 < _map688.size; ++_i691) { - _key673 = iprot.readString(); - _val674 = iprot.readString(); - struct.properties.put(_key673, _val674); + _key689 = iprot.readString(); + _val690 = iprot.readString(); + struct.properties.put(_key689, _val690); } } 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 1a16fac7a2..ab7b0594f0 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 @@ -712,13 +712,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreationMetadata st case 4: // TABLES_USED if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set692 = iprot.readSetBegin(); - struct.tablesUsed = new HashSet(2*_set692.size); - String _elem693; - for (int _i694 = 0; _i694 < _set692.size; ++_i694) + org.apache.thrift.protocol.TSet _set708 = iprot.readSetBegin(); + struct.tablesUsed = new HashSet(2*_set708.size); + String _elem709; + for (int _i710 = 0; _i710 < _set708.size; ++_i710) { - _elem693 = iprot.readString(); - struct.tablesUsed.add(_elem693); + _elem709 = iprot.readString(); + struct.tablesUsed.add(_elem709); } iprot.readSetEnd(); } @@ -767,9 +767,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 _iter695 : struct.tablesUsed) + for (String _iter711 : struct.tablesUsed) { - oprot.writeString(_iter695); + oprot.writeString(_iter711); } oprot.writeSetEnd(); } @@ -804,9 +804,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CreationMetadata st oprot.writeString(struct.tblName); { oprot.writeI32(struct.tablesUsed.size()); - for (String _iter696 : struct.tablesUsed) + for (String _iter712 : struct.tablesUsed) { - oprot.writeString(_iter696); + oprot.writeString(_iter712); } } BitSet optionals = new BitSet(); @@ -829,13 +829,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CreationMetadata str struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TSet _set697 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tablesUsed = new HashSet(2*_set697.size); - String _elem698; - for (int _i699 = 0; _i699 < _set697.size; ++_i699) + org.apache.thrift.protocol.TSet _set713 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tablesUsed = new HashSet(2*_set713.size); + String _elem714; + for (int _i715 = 0; _i715 < _set713.size; ++_i715) { - _elem698 = iprot.readString(); - struct.tablesUsed.add(_elem698); + _elem714 = iprot.readString(); + struct.tablesUsed.add(_elem714); } } 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 c06b95c1b8..e43493e925 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 _list904 = iprot.readListBegin(); - struct.schemaVersions = new ArrayList(_list904.size); - SchemaVersionDescriptor _elem905; - for (int _i906 = 0; _i906 < _list904.size; ++_i906) + org.apache.thrift.protocol.TList _list920 = iprot.readListBegin(); + struct.schemaVersions = new ArrayList(_list920.size); + SchemaVersionDescriptor _elem921; + for (int _i922 = 0; _i922 < _list920.size; ++_i922) { - _elem905 = new SchemaVersionDescriptor(); - _elem905.read(iprot); - struct.schemaVersions.add(_elem905); + _elem921 = new SchemaVersionDescriptor(); + _elem921.read(iprot); + struct.schemaVersions.add(_elem921); } 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 _iter907 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter923 : struct.schemaVersions) { - _iter907.write(oprot); + _iter923.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 _iter908 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter924 : struct.schemaVersions) { - _iter908.write(oprot); + _iter924.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 _list909 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.schemaVersions = new ArrayList(_list909.size); - SchemaVersionDescriptor _elem910; - for (int _i911 = 0; _i911 < _list909.size; ++_i911) + org.apache.thrift.protocol.TList _list925 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.schemaVersions = new ArrayList(_list925.size); + SchemaVersionDescriptor _elem926; + for (int _i927 = 0; _i927 < _list925.size; ++_i927) { - _elem910 = new SchemaVersionDescriptor(); - _elem910.read(iprot); - struct.schemaVersions.add(_elem910); + _elem926 = new SchemaVersionDescriptor(); + _elem926.read(iprot); + struct.schemaVersions.add(_elem926); } } 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 14e6abe053..7b0ec6c20a 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 @@ -794,13 +794,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 _list724 = iprot.readListBegin(); - struct.partitionVals = new ArrayList(_list724.size); - String _elem725; - for (int _i726 = 0; _i726 < _list724.size; ++_i726) + org.apache.thrift.protocol.TList _list740 = iprot.readListBegin(); + struct.partitionVals = new ArrayList(_list740.size); + String _elem741; + for (int _i742 = 0; _i742 < _list740.size; ++_i742) { - _elem725 = iprot.readString(); - struct.partitionVals.add(_elem725); + _elem741 = iprot.readString(); + struct.partitionVals.add(_elem741); } iprot.readListEnd(); } @@ -857,9 +857,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 _iter727 : struct.partitionVals) + for (String _iter743 : struct.partitionVals) { - oprot.writeString(_iter727); + oprot.writeString(_iter743); } oprot.writeListEnd(); } @@ -915,9 +915,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FireEventRequest st if (struct.isSetPartitionVals()) { { oprot.writeI32(struct.partitionVals.size()); - for (String _iter728 : struct.partitionVals) + for (String _iter744 : struct.partitionVals) { - oprot.writeString(_iter728); + oprot.writeString(_iter744); } } } @@ -945,13 +945,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest str } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list729 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionVals = new ArrayList(_list729.size); - String _elem730; - for (int _i731 = 0; _i731 < _list729.size; ++_i731) + org.apache.thrift.protocol.TList _list745 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionVals = new ArrayList(_list745.size); + String _elem746; + for (int _i747 = 0; _i747 < _list745.size; ++_i747) { - _elem730 = iprot.readString(); - struct.partitionVals.add(_elem730); + _elem746 = iprot.readString(); + struct.partitionVals.add(_elem746); } } 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 dfdc357016..544ba19c24 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 _list792 = iprot.readListBegin(); - struct.functions = new ArrayList(_list792.size); - Function _elem793; - for (int _i794 = 0; _i794 < _list792.size; ++_i794) + org.apache.thrift.protocol.TList _list808 = iprot.readListBegin(); + struct.functions = new ArrayList(_list808.size); + Function _elem809; + for (int _i810 = 0; _i810 < _list808.size; ++_i810) { - _elem793 = new Function(); - _elem793.read(iprot); - struct.functions.add(_elem793); + _elem809 = new Function(); + _elem809.read(iprot); + struct.functions.add(_elem809); } 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 _iter795 : struct.functions) + for (Function _iter811 : struct.functions) { - _iter795.write(oprot); + _iter811.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 _iter796 : struct.functions) + for (Function _iter812 : struct.functions) { - _iter796.write(oprot); + _iter812.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 _list797 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.functions = new ArrayList(_list797.size); - Function _elem798; - for (int _i799 = 0; _i799 < _list797.size; ++_i799) + org.apache.thrift.protocol.TList _list813 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.functions = new ArrayList(_list813.size); + Function _elem814; + for (int _i815 = 0; _i815 < _list813.size; ++_i815) { - _elem798 = new Function(); - _elem798.read(iprot); - struct.functions.add(_elem798); + _elem814 = new Function(); + _elem814.read(iprot); + struct.functions.add(_elem814); } } 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 0adb11d45a..0a94f2f899 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 _list742 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list742.size); - long _elem743; - for (int _i744 = 0; _i744 < _list742.size; ++_i744) + org.apache.thrift.protocol.TList _list758 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list758.size); + long _elem759; + for (int _i760 = 0; _i760 < _list758.size; ++_i760) { - _elem743 = iprot.readI64(); - struct.fileIds.add(_elem743); + _elem759 = iprot.readI64(); + struct.fileIds.add(_elem759); } 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 _iter745 : struct.fileIds) + for (long _iter761 : struct.fileIds) { - oprot.writeI64(_iter745); + oprot.writeI64(_iter761); } 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 _iter746 : struct.fileIds) + for (long _iter762 : struct.fileIds) { - oprot.writeI64(_iter746); + oprot.writeI64(_iter762); } } 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 _list747 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list747.size); - long _elem748; - for (int _i749 = 0; _i749 < _list747.size; ++_i749) + org.apache.thrift.protocol.TList _list763 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list763.size); + long _elem764; + for (int _i765 = 0; _i765 < _list763.size; ++_i765) { - _elem748 = iprot.readI64(); - struct.fileIds.add(_elem748); + _elem764 = iprot.readI64(); + struct.fileIds.add(_elem764); } } 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 f86d9eacda..e07d2e5698 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 _map732 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map732.size); - long _key733; - MetadataPpdResult _val734; - for (int _i735 = 0; _i735 < _map732.size; ++_i735) + org.apache.thrift.protocol.TMap _map748 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map748.size); + long _key749; + MetadataPpdResult _val750; + for (int _i751 = 0; _i751 < _map748.size; ++_i751) { - _key733 = iprot.readI64(); - _val734 = new MetadataPpdResult(); - _val734.read(iprot); - struct.metadata.put(_key733, _val734); + _key749 = iprot.readI64(); + _val750 = new MetadataPpdResult(); + _val750.read(iprot); + struct.metadata.put(_key749, _val750); } 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 _iter736 : struct.metadata.entrySet()) + for (Map.Entry _iter752 : struct.metadata.entrySet()) { - oprot.writeI64(_iter736.getKey()); - _iter736.getValue().write(oprot); + oprot.writeI64(_iter752.getKey()); + _iter752.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 _iter737 : struct.metadata.entrySet()) + for (Map.Entry _iter753 : struct.metadata.entrySet()) { - oprot.writeI64(_iter737.getKey()); - _iter737.getValue().write(oprot); + oprot.writeI64(_iter753.getKey()); + _iter753.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 _map738 = 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*_map738.size); - long _key739; - MetadataPpdResult _val740; - for (int _i741 = 0; _i741 < _map738.size; ++_i741) + org.apache.thrift.protocol.TMap _map754 = 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*_map754.size); + long _key755; + MetadataPpdResult _val756; + for (int _i757 = 0; _i757 < _map754.size; ++_i757) { - _key739 = iprot.readI64(); - _val740 = new MetadataPpdResult(); - _val740.read(iprot); - struct.metadata.put(_key739, _val740); + _key755 = iprot.readI64(); + _val756 = new MetadataPpdResult(); + _val756.read(iprot); + struct.metadata.put(_key755, _val756); } } 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 b98375c333..ebb663938d 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 _list760 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list760.size); - long _elem761; - for (int _i762 = 0; _i762 < _list760.size; ++_i762) + org.apache.thrift.protocol.TList _list776 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list776.size); + long _elem777; + for (int _i778 = 0; _i778 < _list776.size; ++_i778) { - _elem761 = iprot.readI64(); - struct.fileIds.add(_elem761); + _elem777 = iprot.readI64(); + struct.fileIds.add(_elem777); } 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 _iter763 : struct.fileIds) + for (long _iter779 : struct.fileIds) { - oprot.writeI64(_iter763); + oprot.writeI64(_iter779); } 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 _iter764 : struct.fileIds) + for (long _iter780 : struct.fileIds) { - oprot.writeI64(_iter764); + oprot.writeI64(_iter780); } } } @@ -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 _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) + org.apache.thrift.protocol.TList _list781 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list781.size); + long _elem782; + for (int _i783 = 0; _i783 < _list781.size; ++_i783) { - _elem766 = iprot.readI64(); - struct.fileIds.add(_elem766); + _elem782 = iprot.readI64(); + struct.fileIds.add(_elem782); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java index d8d903ea87..67981cd70a 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 _map750 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map750.size); - long _key751; - ByteBuffer _val752; - for (int _i753 = 0; _i753 < _map750.size; ++_i753) + org.apache.thrift.protocol.TMap _map766 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map766.size); + long _key767; + ByteBuffer _val768; + for (int _i769 = 0; _i769 < _map766.size; ++_i769) { - _key751 = iprot.readI64(); - _val752 = iprot.readBinary(); - struct.metadata.put(_key751, _val752); + _key767 = iprot.readI64(); + _val768 = iprot.readBinary(); + struct.metadata.put(_key767, _val768); } 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 _iter754 : struct.metadata.entrySet()) + for (Map.Entry _iter770 : struct.metadata.entrySet()) { - oprot.writeI64(_iter754.getKey()); - oprot.writeBinary(_iter754.getValue()); + oprot.writeI64(_iter770.getKey()); + oprot.writeBinary(_iter770.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 _iter755 : struct.metadata.entrySet()) + for (Map.Entry _iter771 : struct.metadata.entrySet()) { - oprot.writeI64(_iter755.getKey()); - oprot.writeBinary(_iter755.getValue()); + oprot.writeI64(_iter771.getKey()); + oprot.writeBinary(_iter771.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 _map756 = 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*_map756.size); - long _key757; - ByteBuffer _val758; - for (int _i759 = 0; _i759 < _map756.size; ++_i759) + org.apache.thrift.protocol.TMap _map772 = 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*_map772.size); + long _key773; + ByteBuffer _val774; + for (int _i775 = 0; _i775 < _map772.size; ++_i775) { - _key757 = iprot.readI64(); - _val758 = iprot.readBinary(); - struct.metadata.put(_key757, _val758); + _key773 = iprot.readI64(); + _val774 = iprot.readBinary(); + struct.metadata.put(_key773, _val774); } } 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 a264cdd8eb..6a78b77761 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 @@ -606,13 +606,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 _list808 = iprot.readListBegin(); - struct.tblNames = new ArrayList(_list808.size); - String _elem809; - for (int _i810 = 0; _i810 < _list808.size; ++_i810) + org.apache.thrift.protocol.TList _list824 = iprot.readListBegin(); + struct.tblNames = new ArrayList(_list824.size); + String _elem825; + for (int _i826 = 0; _i826 < _list824.size; ++_i826) { - _elem809 = iprot.readString(); - struct.tblNames.add(_elem809); + _elem825 = iprot.readString(); + struct.tblNames.add(_elem825); } iprot.readListEnd(); } @@ -661,9 +661,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 _iter811 : struct.tblNames) + for (String _iter827 : struct.tblNames) { - oprot.writeString(_iter811); + oprot.writeString(_iter827); } oprot.writeListEnd(); } @@ -716,9 +716,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest st if (struct.isSetTblNames()) { { oprot.writeI32(struct.tblNames.size()); - for (String _iter812 : struct.tblNames) + for (String _iter828 : struct.tblNames) { - oprot.writeString(_iter812); + oprot.writeString(_iter828); } } } @@ -738,13 +738,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest str BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list813 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tblNames = new ArrayList(_list813.size); - String _elem814; - for (int _i815 = 0; _i815 < _list813.size; ++_i815) + org.apache.thrift.protocol.TList _list829 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tblNames = new ArrayList(_list829.size); + String _elem830; + for (int _i831 = 0; _i831 < _list829.size; ++_i831) { - _elem814 = iprot.readString(); - struct.tblNames.add(_elem814); + _elem830 = iprot.readString(); + struct.tblNames.add(_elem830); } } 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 f4ccc8b467..13be2edb2d 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 _list816 = iprot.readListBegin(); - struct.tables = new ArrayList
(_list816.size); - Table _elem817; - for (int _i818 = 0; _i818 < _list816.size; ++_i818) + org.apache.thrift.protocol.TList _list832 = iprot.readListBegin(); + struct.tables = new ArrayList
(_list832.size); + Table _elem833; + for (int _i834 = 0; _i834 < _list832.size; ++_i834) { - _elem817 = new Table(); - _elem817.read(iprot); - struct.tables.add(_elem817); + _elem833 = new Table(); + _elem833.read(iprot); + struct.tables.add(_elem833); } 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 _iter819 : struct.tables) + for (Table _iter835 : struct.tables) { - _iter819.write(oprot); + _iter835.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 _iter820 : struct.tables) + for (Table _iter836 : struct.tables) { - _iter820.write(oprot); + _iter836.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 _list821 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tables = new ArrayList
(_list821.size); - Table _elem822; - for (int _i823 = 0; _i823 < _list821.size; ++_i823) + org.apache.thrift.protocol.TList _list837 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tables = new ArrayList
(_list837.size); + Table _elem838; + for (int _i839 = 0; _i839 < _list837.size; ++_i839) { - _elem822 = new Table(); - _elem822.read(iprot); - struct.tables.add(_elem822); + _elem838 = new Table(); + _elem838.read(iprot); + struct.tables.add(_elem838); } } struct.setTablesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTargetTxnIdsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTargetTxnIdsRequest.java new file mode 100644 index 0000000000..5ec3298266 --- /dev/null +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTargetTxnIdsRequest.java @@ -0,0 +1,539 @@ +/** + * 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 GetTargetTxnIdsRequest 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("GetTargetTxnIdsRequest"); + + private static final org.apache.thrift.protocol.TField SRC_TXN_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("srcTxnIds", org.apache.thrift.protocol.TType.LIST, (short)1); + private static final org.apache.thrift.protocol.TField REPL_POLICY_FIELD_DESC = new org.apache.thrift.protocol.TField("replPolicy", org.apache.thrift.protocol.TType.STRING, (short)2); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new GetTargetTxnIdsRequestStandardSchemeFactory()); + schemes.put(TupleScheme.class, new GetTargetTxnIdsRequestTupleSchemeFactory()); + } + + private List srcTxnIds; // required + private String replPolicy; // 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 { + SRC_TXN_IDS((short)1, "srcTxnIds"), + REPL_POLICY((short)2, "replPolicy"); + + 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: // SRC_TXN_IDS + return SRC_TXN_IDS; + case 2: // REPL_POLICY + return REPL_POLICY; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.SRC_TXN_IDS, new org.apache.thrift.meta_data.FieldMetaData("srcTxnIds", 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.REPL_POLICY, new org.apache.thrift.meta_data.FieldMetaData("replPolicy", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(GetTargetTxnIdsRequest.class, metaDataMap); + } + + public GetTargetTxnIdsRequest() { + } + + public GetTargetTxnIdsRequest( + List srcTxnIds, + String replPolicy) + { + this(); + this.srcTxnIds = srcTxnIds; + this.replPolicy = replPolicy; + } + + /** + * Performs a deep copy on other. + */ + public GetTargetTxnIdsRequest(GetTargetTxnIdsRequest other) { + if (other.isSetSrcTxnIds()) { + List __this__srcTxnIds = new ArrayList(other.srcTxnIds); + this.srcTxnIds = __this__srcTxnIds; + } + if (other.isSetReplPolicy()) { + this.replPolicy = other.replPolicy; + } + } + + public GetTargetTxnIdsRequest deepCopy() { + return new GetTargetTxnIdsRequest(this); + } + + @Override + public void clear() { + this.srcTxnIds = null; + this.replPolicy = null; + } + + public int getSrcTxnIdsSize() { + return (this.srcTxnIds == null) ? 0 : this.srcTxnIds.size(); + } + + public java.util.Iterator getSrcTxnIdsIterator() { + return (this.srcTxnIds == null) ? null : this.srcTxnIds.iterator(); + } + + public void addToSrcTxnIds(long elem) { + if (this.srcTxnIds == null) { + this.srcTxnIds = new ArrayList(); + } + this.srcTxnIds.add(elem); + } + + public List getSrcTxnIds() { + return this.srcTxnIds; + } + + public void setSrcTxnIds(List srcTxnIds) { + this.srcTxnIds = srcTxnIds; + } + + public void unsetSrcTxnIds() { + this.srcTxnIds = null; + } + + /** Returns true if field srcTxnIds is set (has been assigned a value) and false otherwise */ + public boolean isSetSrcTxnIds() { + return this.srcTxnIds != null; + } + + public void setSrcTxnIdsIsSet(boolean value) { + if (!value) { + this.srcTxnIds = null; + } + } + + public String getReplPolicy() { + return this.replPolicy; + } + + public void setReplPolicy(String replPolicy) { + this.replPolicy = replPolicy; + } + + public void unsetReplPolicy() { + this.replPolicy = null; + } + + /** Returns true if field replPolicy is set (has been assigned a value) and false otherwise */ + public boolean isSetReplPolicy() { + return this.replPolicy != null; + } + + public void setReplPolicyIsSet(boolean value) { + if (!value) { + this.replPolicy = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SRC_TXN_IDS: + if (value == null) { + unsetSrcTxnIds(); + } else { + setSrcTxnIds((List)value); + } + break; + + case REPL_POLICY: + if (value == null) { + unsetReplPolicy(); + } else { + setReplPolicy((String)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SRC_TXN_IDS: + return getSrcTxnIds(); + + case REPL_POLICY: + return getReplPolicy(); + + } + 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 SRC_TXN_IDS: + return isSetSrcTxnIds(); + case REPL_POLICY: + return isSetReplPolicy(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof GetTargetTxnIdsRequest) + return this.equals((GetTargetTxnIdsRequest)that); + return false; + } + + public boolean equals(GetTargetTxnIdsRequest that) { + if (that == null) + return false; + + boolean this_present_srcTxnIds = true && this.isSetSrcTxnIds(); + boolean that_present_srcTxnIds = true && that.isSetSrcTxnIds(); + if (this_present_srcTxnIds || that_present_srcTxnIds) { + if (!(this_present_srcTxnIds && that_present_srcTxnIds)) + return false; + if (!this.srcTxnIds.equals(that.srcTxnIds)) + return false; + } + + boolean this_present_replPolicy = true && this.isSetReplPolicy(); + boolean that_present_replPolicy = true && that.isSetReplPolicy(); + if (this_present_replPolicy || that_present_replPolicy) { + if (!(this_present_replPolicy && that_present_replPolicy)) + return false; + if (!this.replPolicy.equals(that.replPolicy)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_srcTxnIds = true && (isSetSrcTxnIds()); + list.add(present_srcTxnIds); + if (present_srcTxnIds) + list.add(srcTxnIds); + + boolean present_replPolicy = true && (isSetReplPolicy()); + list.add(present_replPolicy); + if (present_replPolicy) + list.add(replPolicy); + + return list.hashCode(); + } + + @Override + public int compareTo(GetTargetTxnIdsRequest other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetSrcTxnIds()).compareTo(other.isSetSrcTxnIds()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetSrcTxnIds()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.srcTxnIds, other.srcTxnIds); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetReplPolicy()).compareTo(other.isSetReplPolicy()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetReplPolicy()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.replPolicy, other.replPolicy); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + 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("GetTargetTxnIdsRequest("); + boolean first = true; + + sb.append("srcTxnIds:"); + if (this.srcTxnIds == null) { + sb.append("null"); + } else { + sb.append(this.srcTxnIds); + } + first = false; + if (!first) sb.append(", "); + sb.append("replPolicy:"); + if (this.replPolicy == null) { + sb.append("null"); + } else { + sb.append(this.replPolicy); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + if (!isSetSrcTxnIds()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'srcTxnIds' is unset! Struct:" + toString()); + } + + if (!isSetReplPolicy()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'replPolicy' 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 { + 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 GetTargetTxnIdsRequestStandardSchemeFactory implements SchemeFactory { + public GetTargetTxnIdsRequestStandardScheme getScheme() { + return new GetTargetTxnIdsRequestStandardScheme(); + } + } + + private static class GetTargetTxnIdsRequestStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, GetTargetTxnIdsRequest 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: // SRC_TXN_IDS + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list594 = iprot.readListBegin(); + struct.srcTxnIds = new ArrayList(_list594.size); + long _elem595; + for (int _i596 = 0; _i596 < _list594.size; ++_i596) + { + _elem595 = iprot.readI64(); + struct.srcTxnIds.add(_elem595); + } + iprot.readListEnd(); + } + struct.setSrcTxnIdsIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // REPL_POLICY + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.replPolicy = iprot.readString(); + struct.setReplPolicyIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, GetTargetTxnIdsRequest struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.srcTxnIds != null) { + oprot.writeFieldBegin(SRC_TXN_IDS_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.srcTxnIds.size())); + for (long _iter597 : struct.srcTxnIds) + { + oprot.writeI64(_iter597); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if (struct.replPolicy != null) { + oprot.writeFieldBegin(REPL_POLICY_FIELD_DESC); + oprot.writeString(struct.replPolicy); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class GetTargetTxnIdsRequestTupleSchemeFactory implements SchemeFactory { + public GetTargetTxnIdsRequestTupleScheme getScheme() { + return new GetTargetTxnIdsRequestTupleScheme(); + } + } + + private static class GetTargetTxnIdsRequestTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, GetTargetTxnIdsRequest struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + { + oprot.writeI32(struct.srcTxnIds.size()); + for (long _iter598 : struct.srcTxnIds) + { + oprot.writeI64(_iter598); + } + } + oprot.writeString(struct.replPolicy); + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, GetTargetTxnIdsRequest 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.I64, iprot.readI32()); + struct.srcTxnIds = new ArrayList(_list599.size); + long _elem600; + for (int _i601 = 0; _i601 < _list599.size; ++_i601) + { + _elem600 = iprot.readI64(); + struct.srcTxnIds.add(_elem600); + } + } + struct.setSrcTxnIdsIsSet(true); + struct.replPolicy = iprot.readString(); + struct.setReplPolicyIsSet(true); + } + } + +} + diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTargetTxnIdsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTargetTxnIdsResponse.java new file mode 100644 index 0000000000..c3ce24837e --- /dev/null +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTargetTxnIdsResponse.java @@ -0,0 +1,438 @@ +/** + * 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 GetTargetTxnIdsResponse 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("GetTargetTxnIdsResponse"); + + private static final org.apache.thrift.protocol.TField TARGET_TXN_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("targetTxnIds", org.apache.thrift.protocol.TType.LIST, (short)1); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new GetTargetTxnIdsResponseStandardSchemeFactory()); + schemes.put(TupleScheme.class, new GetTargetTxnIdsResponseTupleSchemeFactory()); + } + + private List targetTxnIds; // 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 { + TARGET_TXN_IDS((short)1, "targetTxnIds"); + + 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: // TARGET_TXN_IDS + return TARGET_TXN_IDS; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.TARGET_TXN_IDS, new org.apache.thrift.meta_data.FieldMetaData("targetTxnIds", 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)))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(GetTargetTxnIdsResponse.class, metaDataMap); + } + + public GetTargetTxnIdsResponse() { + } + + public GetTargetTxnIdsResponse( + List targetTxnIds) + { + this(); + this.targetTxnIds = targetTxnIds; + } + + /** + * Performs a deep copy on other. + */ + public GetTargetTxnIdsResponse(GetTargetTxnIdsResponse other) { + if (other.isSetTargetTxnIds()) { + List __this__targetTxnIds = new ArrayList(other.targetTxnIds); + this.targetTxnIds = __this__targetTxnIds; + } + } + + public GetTargetTxnIdsResponse deepCopy() { + return new GetTargetTxnIdsResponse(this); + } + + @Override + public void clear() { + this.targetTxnIds = null; + } + + public int getTargetTxnIdsSize() { + return (this.targetTxnIds == null) ? 0 : this.targetTxnIds.size(); + } + + public java.util.Iterator getTargetTxnIdsIterator() { + return (this.targetTxnIds == null) ? null : this.targetTxnIds.iterator(); + } + + public void addToTargetTxnIds(long elem) { + if (this.targetTxnIds == null) { + this.targetTxnIds = new ArrayList(); + } + this.targetTxnIds.add(elem); + } + + public List getTargetTxnIds() { + return this.targetTxnIds; + } + + public void setTargetTxnIds(List targetTxnIds) { + this.targetTxnIds = targetTxnIds; + } + + public void unsetTargetTxnIds() { + this.targetTxnIds = null; + } + + /** Returns true if field targetTxnIds is set (has been assigned a value) and false otherwise */ + public boolean isSetTargetTxnIds() { + return this.targetTxnIds != null; + } + + public void setTargetTxnIdsIsSet(boolean value) { + if (!value) { + this.targetTxnIds = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case TARGET_TXN_IDS: + if (value == null) { + unsetTargetTxnIds(); + } else { + setTargetTxnIds((List)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case TARGET_TXN_IDS: + return getTargetTxnIds(); + + } + 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 TARGET_TXN_IDS: + return isSetTargetTxnIds(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof GetTargetTxnIdsResponse) + return this.equals((GetTargetTxnIdsResponse)that); + return false; + } + + public boolean equals(GetTargetTxnIdsResponse that) { + if (that == null) + return false; + + boolean this_present_targetTxnIds = true && this.isSetTargetTxnIds(); + boolean that_present_targetTxnIds = true && that.isSetTargetTxnIds(); + if (this_present_targetTxnIds || that_present_targetTxnIds) { + if (!(this_present_targetTxnIds && that_present_targetTxnIds)) + return false; + if (!this.targetTxnIds.equals(that.targetTxnIds)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_targetTxnIds = true && (isSetTargetTxnIds()); + list.add(present_targetTxnIds); + if (present_targetTxnIds) + list.add(targetTxnIds); + + return list.hashCode(); + } + + @Override + public int compareTo(GetTargetTxnIdsResponse other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetTargetTxnIds()).compareTo(other.isSetTargetTxnIds()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTargetTxnIds()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.targetTxnIds, other.targetTxnIds); + 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("GetTargetTxnIdsResponse("); + boolean first = true; + + sb.append("targetTxnIds:"); + if (this.targetTxnIds == null) { + sb.append("null"); + } else { + sb.append(this.targetTxnIds); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + if (!isSetTargetTxnIds()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'targetTxnIds' 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 { + 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 GetTargetTxnIdsResponseStandardSchemeFactory implements SchemeFactory { + public GetTargetTxnIdsResponseStandardScheme getScheme() { + return new GetTargetTxnIdsResponseStandardScheme(); + } + } + + private static class GetTargetTxnIdsResponseStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, GetTargetTxnIdsResponse 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: // TARGET_TXN_IDS + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list602 = iprot.readListBegin(); + struct.targetTxnIds = new ArrayList(_list602.size); + long _elem603; + for (int _i604 = 0; _i604 < _list602.size; ++_i604) + { + _elem603 = iprot.readI64(); + struct.targetTxnIds.add(_elem603); + } + iprot.readListEnd(); + } + struct.setTargetTxnIdsIsSet(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, GetTargetTxnIdsResponse struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.targetTxnIds != null) { + oprot.writeFieldBegin(TARGET_TXN_IDS_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.targetTxnIds.size())); + for (long _iter605 : struct.targetTxnIds) + { + oprot.writeI64(_iter605); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class GetTargetTxnIdsResponseTupleSchemeFactory implements SchemeFactory { + public GetTargetTxnIdsResponseTupleScheme getScheme() { + return new GetTargetTxnIdsResponseTupleScheme(); + } + } + + private static class GetTargetTxnIdsResponseTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, GetTargetTxnIdsResponse struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + { + oprot.writeI32(struct.targetTxnIds.size()); + for (long _iter606 : struct.targetTxnIds) + { + oprot.writeI64(_iter606); + } + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, GetTargetTxnIdsResponse struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + { + org.apache.thrift.protocol.TList _list607 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.targetTxnIds = new ArrayList(_list607.size); + long _elem608; + for (int _i609 = 0; _i609 < _list607.size; ++_i609) + { + _elem608 = iprot.readI64(); + struct.targetTxnIds.add(_elem608); + } + } + struct.setTargetTxnIdsIsSet(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 58c608aa8c..af62ca14ed 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 _list594 = iprot.readListBegin(); - struct.fullTableNames = new ArrayList(_list594.size); - String _elem595; - for (int _i596 = 0; _i596 < _list594.size; ++_i596) + org.apache.thrift.protocol.TList _list610 = iprot.readListBegin(); + struct.fullTableNames = new ArrayList(_list610.size); + String _elem611; + for (int _i612 = 0; _i612 < _list610.size; ++_i612) { - _elem595 = iprot.readString(); - struct.fullTableNames.add(_elem595); + _elem611 = iprot.readString(); + struct.fullTableNames.add(_elem611); } 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 _iter597 : struct.fullTableNames) + for (String _iter613 : struct.fullTableNames) { - oprot.writeString(_iter597); + oprot.writeString(_iter613); } 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 _iter598 : struct.fullTableNames) + for (String _iter614 : struct.fullTableNames) { - oprot.writeString(_iter598); + oprot.writeString(_iter614); } } 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 _list599 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.fullTableNames = new ArrayList(_list599.size); - String _elem600; - for (int _i601 = 0; _i601 < _list599.size; ++_i601) + org.apache.thrift.protocol.TList _list615 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.fullTableNames = new ArrayList(_list615.size); + String _elem616; + for (int _i617 = 0; _i617 < _list615.size; ++_i617) { - _elem600 = iprot.readString(); - struct.fullTableNames.add(_elem600); + _elem616 = iprot.readString(); + struct.fullTableNames.add(_elem616); } } 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 86bc346d98..615a422256 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 _list610 = iprot.readListBegin(); - struct.tblValidWriteIds = new ArrayList(_list610.size); - TableValidWriteIds _elem611; - for (int _i612 = 0; _i612 < _list610.size; ++_i612) + org.apache.thrift.protocol.TList _list626 = iprot.readListBegin(); + struct.tblValidWriteIds = new ArrayList(_list626.size); + TableValidWriteIds _elem627; + for (int _i628 = 0; _i628 < _list626.size; ++_i628) { - _elem611 = new TableValidWriteIds(); - _elem611.read(iprot); - struct.tblValidWriteIds.add(_elem611); + _elem627 = new TableValidWriteIds(); + _elem627.read(iprot); + struct.tblValidWriteIds.add(_elem627); } 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 _iter613 : struct.tblValidWriteIds) + for (TableValidWriteIds _iter629 : struct.tblValidWriteIds) { - _iter613.write(oprot); + _iter629.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 _iter614 : struct.tblValidWriteIds) + for (TableValidWriteIds _iter630 : struct.tblValidWriteIds) { - _iter614.write(oprot); + _iter630.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 _list615 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tblValidWriteIds = new ArrayList(_list615.size); - TableValidWriteIds _elem616; - for (int _i617 = 0; _i617 < _list615.size; ++_i617) + org.apache.thrift.protocol.TList _list631 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tblValidWriteIds = new ArrayList(_list631.size); + TableValidWriteIds _elem632; + for (int _i633 = 0; _i633 < _list631.size; ++_i633) { - _elem616 = new TableValidWriteIds(); - _elem616.read(iprot); - struct.tblValidWriteIds.add(_elem616); + _elem632 = new TableValidWriteIds(); + _elem632.read(iprot); + struct.tblValidWriteIds.add(_elem632); } } 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 b270439737..4999215989 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 _set650 = iprot.readSetBegin(); - struct.aborted = new HashSet(2*_set650.size); - long _elem651; - for (int _i652 = 0; _i652 < _set650.size; ++_i652) + org.apache.thrift.protocol.TSet _set666 = iprot.readSetBegin(); + struct.aborted = new HashSet(2*_set666.size); + long _elem667; + for (int _i668 = 0; _i668 < _set666.size; ++_i668) { - _elem651 = iprot.readI64(); - struct.aborted.add(_elem651); + _elem667 = iprot.readI64(); + struct.aborted.add(_elem667); } 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 _set653 = iprot.readSetBegin(); - struct.nosuch = new HashSet(2*_set653.size); - long _elem654; - for (int _i655 = 0; _i655 < _set653.size; ++_i655) + org.apache.thrift.protocol.TSet _set669 = iprot.readSetBegin(); + struct.nosuch = new HashSet(2*_set669.size); + long _elem670; + for (int _i671 = 0; _i671 < _set669.size; ++_i671) { - _elem654 = iprot.readI64(); - struct.nosuch.add(_elem654); + _elem670 = iprot.readI64(); + struct.nosuch.add(_elem670); } 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 _iter656 : struct.aborted) + for (long _iter672 : struct.aborted) { - oprot.writeI64(_iter656); + oprot.writeI64(_iter672); } 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 _iter657 : struct.nosuch) + for (long _iter673 : struct.nosuch) { - oprot.writeI64(_iter657); + oprot.writeI64(_iter673); } 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 _iter658 : struct.aborted) + for (long _iter674 : struct.aborted) { - oprot.writeI64(_iter658); + oprot.writeI64(_iter674); } } { oprot.writeI32(struct.nosuch.size()); - for (long _iter659 : struct.nosuch) + for (long _iter675 : struct.nosuch) { - oprot.writeI64(_iter659); + oprot.writeI64(_iter675); } } } @@ -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 _set660 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.aborted = new HashSet(2*_set660.size); - long _elem661; - for (int _i662 = 0; _i662 < _set660.size; ++_i662) + org.apache.thrift.protocol.TSet _set676 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.aborted = new HashSet(2*_set676.size); + long _elem677; + for (int _i678 = 0; _i678 < _set676.size; ++_i678) { - _elem661 = iprot.readI64(); - struct.aborted.add(_elem661); + _elem677 = iprot.readI64(); + struct.aborted.add(_elem677); } } struct.setAbortedIsSet(true); { - org.apache.thrift.protocol.TSet _set663 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.nosuch = new HashSet(2*_set663.size); - long _elem664; - for (int _i665 = 0; _i665 < _set663.size; ++_i665) + org.apache.thrift.protocol.TSet _set679 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.nosuch = new HashSet(2*_set679.size); + long _elem680; + for (int _i681 = 0; _i681 < _set679.size; ++_i681) { - _elem664 = iprot.readI64(); - struct.nosuch.add(_elem664); + _elem680 = iprot.readI64(); + struct.nosuch.add(_elem680); } } 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 79570a516c..0a240e0286 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 _list708 = iprot.readListBegin(); - struct.filesAdded = new ArrayList(_list708.size); - String _elem709; - for (int _i710 = 0; _i710 < _list708.size; ++_i710) + org.apache.thrift.protocol.TList _list724 = iprot.readListBegin(); + struct.filesAdded = new ArrayList(_list724.size); + String _elem725; + for (int _i726 = 0; _i726 < _list724.size; ++_i726) { - _elem709 = iprot.readString(); - struct.filesAdded.add(_elem709); + _elem725 = iprot.readString(); + struct.filesAdded.add(_elem725); } 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 _list711 = iprot.readListBegin(); - struct.filesAddedChecksum = new ArrayList(_list711.size); - String _elem712; - for (int _i713 = 0; _i713 < _list711.size; ++_i713) + org.apache.thrift.protocol.TList _list727 = iprot.readListBegin(); + struct.filesAddedChecksum = new ArrayList(_list727.size); + String _elem728; + for (int _i729 = 0; _i729 < _list727.size; ++_i729) { - _elem712 = iprot.readString(); - struct.filesAddedChecksum.add(_elem712); + _elem728 = iprot.readString(); + struct.filesAddedChecksum.add(_elem728); } 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 _iter714 : struct.filesAdded) + for (String _iter730 : struct.filesAdded) { - oprot.writeString(_iter714); + oprot.writeString(_iter730); } 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 _iter715 : struct.filesAddedChecksum) + for (String _iter731 : struct.filesAddedChecksum) { - oprot.writeString(_iter715); + oprot.writeString(_iter731); } 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 _iter716 : struct.filesAdded) + for (String _iter732 : struct.filesAdded) { - oprot.writeString(_iter716); + oprot.writeString(_iter732); } } 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 _iter717 : struct.filesAddedChecksum) + for (String _iter733 : struct.filesAddedChecksum) { - oprot.writeString(_iter717); + oprot.writeString(_iter733); } } } @@ -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 _list718 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAdded = new ArrayList(_list718.size); - String _elem719; - for (int _i720 = 0; _i720 < _list718.size; ++_i720) + org.apache.thrift.protocol.TList _list734 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAdded = new ArrayList(_list734.size); + String _elem735; + for (int _i736 = 0; _i736 < _list734.size; ++_i736) { - _elem719 = iprot.readString(); - struct.filesAdded.add(_elem719); + _elem735 = iprot.readString(); + struct.filesAdded.add(_elem735); } } 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 _list721 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAddedChecksum = new ArrayList(_list721.size); - String _elem722; - for (int _i723 = 0; _i723 < _list721.size; ++_i723) + org.apache.thrift.protocol.TList _list737 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAddedChecksum = new ArrayList(_list737.size); + String _elem738; + for (int _i739 = 0; _i739 < _list737.size; ++_i739) { - _elem722 = iprot.readString(); - struct.filesAddedChecksum.add(_elem722); + _elem738 = iprot.readString(); + struct.filesAddedChecksum.add(_elem738); } } 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 62f0dd67c3..d0dc21c319 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 _list634 = iprot.readListBegin(); - struct.component = new ArrayList(_list634.size); - LockComponent _elem635; - for (int _i636 = 0; _i636 < _list634.size; ++_i636) + org.apache.thrift.protocol.TList _list650 = iprot.readListBegin(); + struct.component = new ArrayList(_list650.size); + LockComponent _elem651; + for (int _i652 = 0; _i652 < _list650.size; ++_i652) { - _elem635 = new LockComponent(); - _elem635.read(iprot); - struct.component.add(_elem635); + _elem651 = new LockComponent(); + _elem651.read(iprot); + struct.component.add(_elem651); } 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 _iter637 : struct.component) + for (LockComponent _iter653 : struct.component) { - _iter637.write(oprot); + _iter653.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 _iter638 : struct.component) + for (LockComponent _iter654 : struct.component) { - _iter638.write(oprot); + _iter654.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 _list639 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.component = new ArrayList(_list639.size); - LockComponent _elem640; - for (int _i641 = 0; _i641 < _list639.size; ++_i641) + org.apache.thrift.protocol.TList _list655 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.component = new ArrayList(_list655.size); + LockComponent _elem656; + for (int _i657 = 0; _i657 < _list655.size; ++_i657) { - _elem640 = new LockComponent(); - _elem640.read(iprot); - struct.component.add(_elem640); + _elem656 = new LockComponent(); + _elem656.read(iprot); + struct.component.add(_elem656); } } 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 69607280bb..69d59a906d 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 _set824 = iprot.readSetBegin(); - struct.tablesUsed = new HashSet(2*_set824.size); - String _elem825; - for (int _i826 = 0; _i826 < _set824.size; ++_i826) + org.apache.thrift.protocol.TSet _set840 = iprot.readSetBegin(); + struct.tablesUsed = new HashSet(2*_set840.size); + String _elem841; + for (int _i842 = 0; _i842 < _set840.size; ++_i842) { - _elem825 = iprot.readString(); - struct.tablesUsed.add(_elem825); + _elem841 = iprot.readString(); + struct.tablesUsed.add(_elem841); } 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 _iter827 : struct.tablesUsed) + for (String _iter843 : struct.tablesUsed) { - oprot.writeString(_iter827); + oprot.writeString(_iter843); } 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 _iter828 : struct.tablesUsed) + for (String _iter844 : struct.tablesUsed) { - oprot.writeString(_iter828); + oprot.writeString(_iter844); } } 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 _set829 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tablesUsed = new HashSet(2*_set829.size); - String _elem830; - for (int _i831 = 0; _i831 < _set829.size; ++_i831) + org.apache.thrift.protocol.TSet _set845 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tablesUsed = new HashSet(2*_set845.size); + String _elem846; + for (int _i847 = 0; _i847 < _set845.size; ++_i847) { - _elem830 = iprot.readString(); - struct.tablesUsed.add(_elem830); + _elem846 = iprot.readString(); + struct.tablesUsed.add(_elem846); } } 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 3c35a0eb0a..0c850faea7 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 _list700 = iprot.readListBegin(); - struct.events = new ArrayList(_list700.size); - NotificationEvent _elem701; - for (int _i702 = 0; _i702 < _list700.size; ++_i702) + org.apache.thrift.protocol.TList _list716 = iprot.readListBegin(); + struct.events = new ArrayList(_list716.size); + NotificationEvent _elem717; + for (int _i718 = 0; _i718 < _list716.size; ++_i718) { - _elem701 = new NotificationEvent(); - _elem701.read(iprot); - struct.events.add(_elem701); + _elem717 = new NotificationEvent(); + _elem717.read(iprot); + struct.events.add(_elem717); } 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 _iter703 : struct.events) + for (NotificationEvent _iter719 : struct.events) { - _iter703.write(oprot); + _iter719.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 _iter704 : struct.events) + for (NotificationEvent _iter720 : struct.events) { - _iter704.write(oprot); + _iter720.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 _list705 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.events = new ArrayList(_list705.size); - NotificationEvent _elem706; - for (int _i707 = 0; _i707 < _list705.size; ++_i707) + org.apache.thrift.protocol.TList _list721 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.events = new ArrayList(_list721.size); + NotificationEvent _elem722; + for (int _i723 = 0; _i723 < _list721.size; ++_i723) { - _elem706 = new NotificationEvent(); - _elem706.read(iprot); - struct.events.add(_elem706); + _elem722 = new NotificationEvent(); + _elem722.read(iprot); + struct.events.add(_elem722); } } 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 474555fb8a..77c260d919 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 _list768 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list768.size); - long _elem769; - for (int _i770 = 0; _i770 < _list768.size; ++_i770) + org.apache.thrift.protocol.TList _list784 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list784.size); + long _elem785; + for (int _i786 = 0; _i786 < _list784.size; ++_i786) { - _elem769 = iprot.readI64(); - struct.fileIds.add(_elem769); + _elem785 = iprot.readI64(); + struct.fileIds.add(_elem785); } 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 _list771 = iprot.readListBegin(); - struct.metadata = new ArrayList(_list771.size); - ByteBuffer _elem772; - for (int _i773 = 0; _i773 < _list771.size; ++_i773) + org.apache.thrift.protocol.TList _list787 = iprot.readListBegin(); + struct.metadata = new ArrayList(_list787.size); + ByteBuffer _elem788; + for (int _i789 = 0; _i789 < _list787.size; ++_i789) { - _elem772 = iprot.readBinary(); - struct.metadata.add(_elem772); + _elem788 = iprot.readBinary(); + struct.metadata.add(_elem788); } 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 _iter774 : struct.fileIds) + for (long _iter790 : struct.fileIds) { - oprot.writeI64(_iter774); + oprot.writeI64(_iter790); } 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 _iter775 : struct.metadata) + for (ByteBuffer _iter791 : struct.metadata) { - oprot.writeBinary(_iter775); + oprot.writeBinary(_iter791); } 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 _iter776 : struct.fileIds) + for (long _iter792 : struct.fileIds) { - oprot.writeI64(_iter776); + oprot.writeI64(_iter792); } } { oprot.writeI32(struct.metadata.size()); - for (ByteBuffer _iter777 : struct.metadata) + for (ByteBuffer _iter793 : struct.metadata) { - oprot.writeBinary(_iter777); + oprot.writeBinary(_iter793); } } 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 _list778 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list778.size); - long _elem779; - for (int _i780 = 0; _i780 < _list778.size; ++_i780) + org.apache.thrift.protocol.TList _list794 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list794.size); + long _elem795; + for (int _i796 = 0; _i796 < _list794.size; ++_i796) { - _elem779 = iprot.readI64(); - struct.fileIds.add(_elem779); + _elem795 = iprot.readI64(); + struct.fileIds.add(_elem795); } } struct.setFileIdsIsSet(true); { - org.apache.thrift.protocol.TList _list781 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new ArrayList(_list781.size); - ByteBuffer _elem782; - for (int _i783 = 0; _i783 < _list781.size; ++_i783) + org.apache.thrift.protocol.TList _list797 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.metadata = new ArrayList(_list797.size); + ByteBuffer _elem798; + for (int _i799 = 0; _i799 < _list797.size; ++_i799) { - _elem782 = iprot.readBinary(); - struct.metadata.add(_elem782); + _elem798 = iprot.readBinary(); + struct.metadata.add(_elem798); } } 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 12a8d1be65..76dfe174fb 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 _list896 = iprot.readListBegin(); - struct.cols = new ArrayList(_list896.size); - FieldSchema _elem897; - for (int _i898 = 0; _i898 < _list896.size; ++_i898) + org.apache.thrift.protocol.TList _list912 = iprot.readListBegin(); + struct.cols = new ArrayList(_list912.size); + FieldSchema _elem913; + for (int _i914 = 0; _i914 < _list912.size; ++_i914) { - _elem897 = new FieldSchema(); - _elem897.read(iprot); - struct.cols.add(_elem897); + _elem913 = new FieldSchema(); + _elem913.read(iprot); + struct.cols.add(_elem913); } 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 _iter899 : struct.cols) + for (FieldSchema _iter915 : struct.cols) { - _iter899.write(oprot); + _iter915.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 _iter900 : struct.cols) + for (FieldSchema _iter916 : struct.cols) { - _iter900.write(oprot); + _iter916.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 _list901 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.cols = new ArrayList(_list901.size); - FieldSchema _elem902; - for (int _i903 = 0; _i903 < _list901.size; ++_i903) + org.apache.thrift.protocol.TList _list917 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.cols = new ArrayList(_list917.size); + FieldSchema _elem918; + for (int _i919 = 0; _i919 < _list917.size; ++_i919) { - _elem902 = new FieldSchema(); - _elem902.read(iprot); - struct.cols.add(_elem902); + _elem918 = new FieldSchema(); + _elem918.read(iprot); + struct.cols.add(_elem918); } } 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 6c418f5b43..d7e5132ea9 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 _list676 = iprot.readListBegin(); - struct.compacts = new ArrayList(_list676.size); - ShowCompactResponseElement _elem677; - for (int _i678 = 0; _i678 < _list676.size; ++_i678) + org.apache.thrift.protocol.TList _list692 = iprot.readListBegin(); + struct.compacts = new ArrayList(_list692.size); + ShowCompactResponseElement _elem693; + for (int _i694 = 0; _i694 < _list692.size; ++_i694) { - _elem677 = new ShowCompactResponseElement(); - _elem677.read(iprot); - struct.compacts.add(_elem677); + _elem693 = new ShowCompactResponseElement(); + _elem693.read(iprot); + struct.compacts.add(_elem693); } 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 _iter679 : struct.compacts) + for (ShowCompactResponseElement _iter695 : struct.compacts) { - _iter679.write(oprot); + _iter695.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 _iter680 : struct.compacts) + for (ShowCompactResponseElement _iter696 : struct.compacts) { - _iter680.write(oprot); + _iter696.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 _list681 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.compacts = new ArrayList(_list681.size); - ShowCompactResponseElement _elem682; - for (int _i683 = 0; _i683 < _list681.size; ++_i683) + org.apache.thrift.protocol.TList _list697 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.compacts = new ArrayList(_list697.size); + ShowCompactResponseElement _elem698; + for (int _i699 = 0; _i699 < _list697.size; ++_i699) { - _elem682 = new ShowCompactResponseElement(); - _elem682.read(iprot); - struct.compacts.add(_elem682); + _elem698 = new ShowCompactResponseElement(); + _elem698.read(iprot); + struct.compacts.add(_elem698); } } 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 857dc7a680..0e1009ce1a 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 _list642 = iprot.readListBegin(); - struct.locks = new ArrayList(_list642.size); - ShowLocksResponseElement _elem643; - for (int _i644 = 0; _i644 < _list642.size; ++_i644) + org.apache.thrift.protocol.TList _list658 = iprot.readListBegin(); + struct.locks = new ArrayList(_list658.size); + ShowLocksResponseElement _elem659; + for (int _i660 = 0; _i660 < _list658.size; ++_i660) { - _elem643 = new ShowLocksResponseElement(); - _elem643.read(iprot); - struct.locks.add(_elem643); + _elem659 = new ShowLocksResponseElement(); + _elem659.read(iprot); + struct.locks.add(_elem659); } 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 _iter645 : struct.locks) + for (ShowLocksResponseElement _iter661 : struct.locks) { - _iter645.write(oprot); + _iter661.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 _iter646 : struct.locks) + for (ShowLocksResponseElement _iter662 : struct.locks) { - _iter646.write(oprot); + _iter662.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 _list647 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.locks = new ArrayList(_list647.size); - ShowLocksResponseElement _elem648; - for (int _i649 = 0; _i649 < _list647.size; ++_i649) + org.apache.thrift.protocol.TList _list663 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.locks = new ArrayList(_list663.size); + ShowLocksResponseElement _elem664; + for (int _i665 = 0; _i665 < _list663.size; ++_i665) { - _elem648 = new ShowLocksResponseElement(); - _elem648.read(iprot); - struct.locks.add(_elem648); + _elem664 = new ShowLocksResponseElement(); + _elem664.read(iprot); + struct.locks.add(_elem664); } } 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 40822c61c4..de15fc6be2 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 _list602 = iprot.readListBegin(); - struct.invalidWriteIds = new ArrayList(_list602.size); - long _elem603; - for (int _i604 = 0; _i604 < _list602.size; ++_i604) + org.apache.thrift.protocol.TList _list618 = iprot.readListBegin(); + struct.invalidWriteIds = new ArrayList(_list618.size); + long _elem619; + for (int _i620 = 0; _i620 < _list618.size; ++_i620) { - _elem603 = iprot.readI64(); - struct.invalidWriteIds.add(_elem603); + _elem619 = iprot.readI64(); + struct.invalidWriteIds.add(_elem619); } 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 _iter605 : struct.invalidWriteIds) + for (long _iter621 : struct.invalidWriteIds) { - oprot.writeI64(_iter605); + oprot.writeI64(_iter621); } 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 _iter606 : struct.invalidWriteIds) + for (long _iter622 : struct.invalidWriteIds) { - oprot.writeI64(_iter606); + oprot.writeI64(_iter622); } } 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 _list607 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.invalidWriteIds = new ArrayList(_list607.size); - long _elem608; - for (int _i609 = 0; _i609 < _list607.size; ++_i609) + org.apache.thrift.protocol.TList _list623 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.invalidWriteIds = new ArrayList(_list623.size); + long _elem624; + for (int _i625 = 0; _i625 < _list623.size; ++_i625) { - _elem608 = iprot.readI64(); - struct.invalidWriteIds.add(_elem608); + _elem624 = iprot.readI64(); + struct.invalidWriteIds.add(_elem624); } } 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 0bca4ebafd..cab9b7a991 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 @@ -336,6 +336,8 @@ public AllocateTableWriteIdsResponse allocate_table_write_ids(AllocateTableWriteIdsRequest rqst) throws NoSuchTxnException, TxnAbortedException, MetaException, org.apache.thrift.TException; + public GetTargetTxnIdsResponse repl_get_target_txn_ids(GetTargetTxnIdsRequest rqst) throws NoSuchTxnException, MetaException, org.apache.thrift.TException; + public LockResponse lock(LockRequest rqst) throws NoSuchTxnException, TxnAbortedException, org.apache.thrift.TException; public LockResponse check_lock(CheckLockRequest rqst) throws NoSuchTxnException, TxnAbortedException, NoSuchLockException, org.apache.thrift.TException; @@ -740,6 +742,8 @@ public void allocate_table_write_ids(AllocateTableWriteIdsRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void repl_get_target_txn_ids(GetTargetTxnIdsRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void lock(LockRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; public void check_lock(CheckLockRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; @@ -5175,6 +5179,35 @@ public AllocateTableWriteIdsResponse recv_allocate_table_write_ids() throws NoSu throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "allocate_table_write_ids failed: unknown result"); } + public GetTargetTxnIdsResponse repl_get_target_txn_ids(GetTargetTxnIdsRequest rqst) throws NoSuchTxnException, MetaException, org.apache.thrift.TException + { + send_repl_get_target_txn_ids(rqst); + return recv_repl_get_target_txn_ids(); + } + + public void send_repl_get_target_txn_ids(GetTargetTxnIdsRequest rqst) throws org.apache.thrift.TException + { + repl_get_target_txn_ids_args args = new repl_get_target_txn_ids_args(); + args.setRqst(rqst); + sendBase("repl_get_target_txn_ids", args); + } + + public GetTargetTxnIdsResponse recv_repl_get_target_txn_ids() throws NoSuchTxnException, MetaException, org.apache.thrift.TException + { + repl_get_target_txn_ids_result result = new repl_get_target_txn_ids_result(); + receiveBase(result, "repl_get_target_txn_ids"); + 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, "repl_get_target_txn_ids failed: unknown result"); + } + public LockResponse lock(LockRequest rqst) throws NoSuchTxnException, TxnAbortedException, org.apache.thrift.TException { send_lock(rqst); @@ -11839,6 +11872,38 @@ public AllocateTableWriteIdsResponse getResult() throws NoSuchTxnException, TxnA } } + public void repl_get_target_txn_ids(GetTargetTxnIdsRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + checkReady(); + repl_get_target_txn_ids_call method_call = new repl_get_target_txn_ids_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 repl_get_target_txn_ids_call extends org.apache.thrift.async.TAsyncMethodCall { + private GetTargetTxnIdsRequest rqst; + public repl_get_target_txn_ids_call(GetTargetTxnIdsRequest 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("repl_get_target_txn_ids", org.apache.thrift.protocol.TMessageType.CALL, 0)); + repl_get_target_txn_ids_args args = new repl_get_target_txn_ids_args(); + args.setRqst(rqst); + args.write(prot); + prot.writeMessageEnd(); + } + + public GetTargetTxnIdsResponse 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_repl_get_target_txn_ids(); + } + } + public void lock(LockRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); lock_call method_call = new lock_call(rqst, resultHandler, this, ___protocolFactory, ___transport); @@ -13686,6 +13751,7 @@ protected Processor(I iface, Map extends org.apache.thrift.ProcessFunction { + public repl_get_target_txn_ids() { + super("repl_get_target_txn_ids"); + } + + public repl_get_target_txn_ids_args getEmptyArgsInstance() { + return new repl_get_target_txn_ids_args(); + } + + protected boolean isOneway() { + return false; + } + + public repl_get_target_txn_ids_result getResult(I iface, repl_get_target_txn_ids_args args) throws org.apache.thrift.TException { + repl_get_target_txn_ids_result result = new repl_get_target_txn_ids_result(); + try { + result.success = iface.repl_get_target_txn_ids(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 lock extends org.apache.thrift.ProcessFunction { public lock() { super("lock"); @@ -19051,6 +19143,7 @@ protected AsyncProcessor(I iface, Map extends org.apache.thrift.AsyncProcessFunction { + public repl_get_target_txn_ids() { + super("repl_get_target_txn_ids"); + } + + public repl_get_target_txn_ids_args getEmptyArgsInstance() { + return new repl_get_target_txn_ids_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(GetTargetTxnIdsResponse o) { + repl_get_target_txn_ids_result result = new repl_get_target_txn_ids_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; + repl_get_target_txn_ids_result result = new repl_get_target_txn_ids_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, repl_get_target_txn_ids_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.repl_get_target_txn_ids(args.rqst,resultHandler); + } + } + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class lock extends org.apache.thrift.AsyncProcessFunction { public lock() { super("lock"); @@ -40307,13 +40462,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 _list912 = iprot.readListBegin(); - struct.success = new ArrayList(_list912.size); - String _elem913; - for (int _i914 = 0; _i914 < _list912.size; ++_i914) + org.apache.thrift.protocol.TList _list928 = iprot.readListBegin(); + struct.success = new ArrayList(_list928.size); + String _elem929; + for (int _i930 = 0; _i930 < _list928.size; ++_i930) { - _elem913 = iprot.readString(); - struct.success.add(_elem913); + _elem929 = iprot.readString(); + struct.success.add(_elem929); } iprot.readListEnd(); } @@ -40348,9 +40503,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 _iter915 : struct.success) + for (String _iter931 : struct.success) { - oprot.writeString(_iter915); + oprot.writeString(_iter931); } oprot.writeListEnd(); } @@ -40389,9 +40544,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter916 : struct.success) + for (String _iter932 : struct.success) { - oprot.writeString(_iter916); + oprot.writeString(_iter932); } } } @@ -40406,13 +40561,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 _list917 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list917.size); - String _elem918; - for (int _i919 = 0; _i919 < _list917.size; ++_i919) + org.apache.thrift.protocol.TList _list933 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list933.size); + String _elem934; + for (int _i935 = 0; _i935 < _list933.size; ++_i935) { - _elem918 = iprot.readString(); - struct.success.add(_elem918); + _elem934 = iprot.readString(); + struct.success.add(_elem934); } } struct.setSuccessIsSet(true); @@ -41066,13 +41221,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 _list920 = iprot.readListBegin(); - struct.success = new ArrayList(_list920.size); - String _elem921; - for (int _i922 = 0; _i922 < _list920.size; ++_i922) + org.apache.thrift.protocol.TList _list936 = iprot.readListBegin(); + struct.success = new ArrayList(_list936.size); + String _elem937; + for (int _i938 = 0; _i938 < _list936.size; ++_i938) { - _elem921 = iprot.readString(); - struct.success.add(_elem921); + _elem937 = iprot.readString(); + struct.success.add(_elem937); } iprot.readListEnd(); } @@ -41107,9 +41262,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 _iter923 : struct.success) + for (String _iter939 : struct.success) { - oprot.writeString(_iter923); + oprot.writeString(_iter939); } oprot.writeListEnd(); } @@ -41148,9 +41303,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter924 : struct.success) + for (String _iter940 : struct.success) { - oprot.writeString(_iter924); + oprot.writeString(_iter940); } } } @@ -41165,13 +41320,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 _list925 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list925.size); - String _elem926; - for (int _i927 = 0; _i927 < _list925.size; ++_i927) + org.apache.thrift.protocol.TList _list941 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list941.size); + String _elem942; + for (int _i943 = 0; _i943 < _list941.size; ++_i943) { - _elem926 = iprot.readString(); - struct.success.add(_elem926); + _elem942 = iprot.readString(); + struct.success.add(_elem942); } } struct.setSuccessIsSet(true); @@ -45778,16 +45933,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 _map928 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map928.size); - String _key929; - Type _val930; - for (int _i931 = 0; _i931 < _map928.size; ++_i931) + org.apache.thrift.protocol.TMap _map944 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map944.size); + String _key945; + Type _val946; + for (int _i947 = 0; _i947 < _map944.size; ++_i947) { - _key929 = iprot.readString(); - _val930 = new Type(); - _val930.read(iprot); - struct.success.put(_key929, _val930); + _key945 = iprot.readString(); + _val946 = new Type(); + _val946.read(iprot); + struct.success.put(_key945, _val946); } iprot.readMapEnd(); } @@ -45822,10 +45977,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 _iter932 : struct.success.entrySet()) + for (Map.Entry _iter948 : struct.success.entrySet()) { - oprot.writeString(_iter932.getKey()); - _iter932.getValue().write(oprot); + oprot.writeString(_iter948.getKey()); + _iter948.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -45864,10 +46019,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 _iter933 : struct.success.entrySet()) + for (Map.Entry _iter949 : struct.success.entrySet()) { - oprot.writeString(_iter933.getKey()); - _iter933.getValue().write(oprot); + oprot.writeString(_iter949.getKey()); + _iter949.getValue().write(oprot); } } } @@ -45882,16 +46037,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 _map934 = 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*_map934.size); - String _key935; - Type _val936; - for (int _i937 = 0; _i937 < _map934.size; ++_i937) + org.apache.thrift.protocol.TMap _map950 = 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*_map950.size); + String _key951; + Type _val952; + for (int _i953 = 0; _i953 < _map950.size; ++_i953) { - _key935 = iprot.readString(); - _val936 = new Type(); - _val936.read(iprot); - struct.success.put(_key935, _val936); + _key951 = iprot.readString(); + _val952 = new Type(); + _val952.read(iprot); + struct.success.put(_key951, _val952); } } struct.setSuccessIsSet(true); @@ -46926,14 +47081,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 _list938 = iprot.readListBegin(); - struct.success = new ArrayList(_list938.size); - FieldSchema _elem939; - for (int _i940 = 0; _i940 < _list938.size; ++_i940) + org.apache.thrift.protocol.TList _list954 = iprot.readListBegin(); + struct.success = new ArrayList(_list954.size); + FieldSchema _elem955; + for (int _i956 = 0; _i956 < _list954.size; ++_i956) { - _elem939 = new FieldSchema(); - _elem939.read(iprot); - struct.success.add(_elem939); + _elem955 = new FieldSchema(); + _elem955.read(iprot); + struct.success.add(_elem955); } iprot.readListEnd(); } @@ -46986,9 +47141,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 _iter941 : struct.success) + for (FieldSchema _iter957 : struct.success) { - _iter941.write(oprot); + _iter957.write(oprot); } oprot.writeListEnd(); } @@ -47043,9 +47198,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter942 : struct.success) + for (FieldSchema _iter958 : struct.success) { - _iter942.write(oprot); + _iter958.write(oprot); } } } @@ -47066,14 +47221,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 _list943 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list943.size); - FieldSchema _elem944; - for (int _i945 = 0; _i945 < _list943.size; ++_i945) + org.apache.thrift.protocol.TList _list959 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list959.size); + FieldSchema _elem960; + for (int _i961 = 0; _i961 < _list959.size; ++_i961) { - _elem944 = new FieldSchema(); - _elem944.read(iprot); - struct.success.add(_elem944); + _elem960 = new FieldSchema(); + _elem960.read(iprot); + struct.success.add(_elem960); } } struct.setSuccessIsSet(true); @@ -48227,14 +48382,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 _list946 = iprot.readListBegin(); - struct.success = new ArrayList(_list946.size); - FieldSchema _elem947; - for (int _i948 = 0; _i948 < _list946.size; ++_i948) + org.apache.thrift.protocol.TList _list962 = iprot.readListBegin(); + struct.success = new ArrayList(_list962.size); + FieldSchema _elem963; + for (int _i964 = 0; _i964 < _list962.size; ++_i964) { - _elem947 = new FieldSchema(); - _elem947.read(iprot); - struct.success.add(_elem947); + _elem963 = new FieldSchema(); + _elem963.read(iprot); + struct.success.add(_elem963); } iprot.readListEnd(); } @@ -48287,9 +48442,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 _iter949 : struct.success) + for (FieldSchema _iter965 : struct.success) { - _iter949.write(oprot); + _iter965.write(oprot); } oprot.writeListEnd(); } @@ -48344,9 +48499,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter950 : struct.success) + for (FieldSchema _iter966 : struct.success) { - _iter950.write(oprot); + _iter966.write(oprot); } } } @@ -48367,14 +48522,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 _list951 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list951.size); - FieldSchema _elem952; - for (int _i953 = 0; _i953 < _list951.size; ++_i953) + org.apache.thrift.protocol.TList _list967 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list967.size); + FieldSchema _elem968; + for (int _i969 = 0; _i969 < _list967.size; ++_i969) { - _elem952 = new FieldSchema(); - _elem952.read(iprot); - struct.success.add(_elem952); + _elem968 = new FieldSchema(); + _elem968.read(iprot); + struct.success.add(_elem968); } } struct.setSuccessIsSet(true); @@ -49419,14 +49574,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 _list954 = iprot.readListBegin(); - struct.success = new ArrayList(_list954.size); - FieldSchema _elem955; - for (int _i956 = 0; _i956 < _list954.size; ++_i956) + org.apache.thrift.protocol.TList _list970 = iprot.readListBegin(); + struct.success = new ArrayList(_list970.size); + FieldSchema _elem971; + for (int _i972 = 0; _i972 < _list970.size; ++_i972) { - _elem955 = new FieldSchema(); - _elem955.read(iprot); - struct.success.add(_elem955); + _elem971 = new FieldSchema(); + _elem971.read(iprot); + struct.success.add(_elem971); } iprot.readListEnd(); } @@ -49479,9 +49634,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 _iter957 : struct.success) + for (FieldSchema _iter973 : struct.success) { - _iter957.write(oprot); + _iter973.write(oprot); } oprot.writeListEnd(); } @@ -49536,9 +49691,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter958 : struct.success) + for (FieldSchema _iter974 : struct.success) { - _iter958.write(oprot); + _iter974.write(oprot); } } } @@ -49559,14 +49714,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 _list959 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list959.size); - FieldSchema _elem960; - for (int _i961 = 0; _i961 < _list959.size; ++_i961) + org.apache.thrift.protocol.TList _list975 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list975.size); + FieldSchema _elem976; + for (int _i977 = 0; _i977 < _list975.size; ++_i977) { - _elem960 = new FieldSchema(); - _elem960.read(iprot); - struct.success.add(_elem960); + _elem976 = new FieldSchema(); + _elem976.read(iprot); + struct.success.add(_elem976); } } struct.setSuccessIsSet(true); @@ -50720,14 +50875,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 _list962 = iprot.readListBegin(); - struct.success = new ArrayList(_list962.size); - FieldSchema _elem963; - for (int _i964 = 0; _i964 < _list962.size; ++_i964) + org.apache.thrift.protocol.TList _list978 = iprot.readListBegin(); + struct.success = new ArrayList(_list978.size); + FieldSchema _elem979; + for (int _i980 = 0; _i980 < _list978.size; ++_i980) { - _elem963 = new FieldSchema(); - _elem963.read(iprot); - struct.success.add(_elem963); + _elem979 = new FieldSchema(); + _elem979.read(iprot); + struct.success.add(_elem979); } iprot.readListEnd(); } @@ -50780,9 +50935,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 _iter965 : struct.success) + for (FieldSchema _iter981 : struct.success) { - _iter965.write(oprot); + _iter981.write(oprot); } oprot.writeListEnd(); } @@ -50837,9 +50992,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter966 : struct.success) + for (FieldSchema _iter982 : struct.success) { - _iter966.write(oprot); + _iter982.write(oprot); } } } @@ -50860,14 +51015,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 _list967 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list967.size); - FieldSchema _elem968; - for (int _i969 = 0; _i969 < _list967.size; ++_i969) + org.apache.thrift.protocol.TList _list983 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list983.size); + FieldSchema _elem984; + for (int _i985 = 0; _i985 < _list983.size; ++_i985) { - _elem968 = new FieldSchema(); - _elem968.read(iprot); - struct.success.add(_elem968); + _elem984 = new FieldSchema(); + _elem984.read(iprot); + struct.success.add(_elem984); } } struct.setSuccessIsSet(true); @@ -53996,14 +54151,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 _list970 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list970.size); - SQLPrimaryKey _elem971; - for (int _i972 = 0; _i972 < _list970.size; ++_i972) + org.apache.thrift.protocol.TList _list986 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list986.size); + SQLPrimaryKey _elem987; + for (int _i988 = 0; _i988 < _list986.size; ++_i988) { - _elem971 = new SQLPrimaryKey(); - _elem971.read(iprot); - struct.primaryKeys.add(_elem971); + _elem987 = new SQLPrimaryKey(); + _elem987.read(iprot); + struct.primaryKeys.add(_elem987); } iprot.readListEnd(); } @@ -54015,14 +54170,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 _list973 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list973.size); - SQLForeignKey _elem974; - for (int _i975 = 0; _i975 < _list973.size; ++_i975) + org.apache.thrift.protocol.TList _list989 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list989.size); + SQLForeignKey _elem990; + for (int _i991 = 0; _i991 < _list989.size; ++_i991) { - _elem974 = new SQLForeignKey(); - _elem974.read(iprot); - struct.foreignKeys.add(_elem974); + _elem990 = new SQLForeignKey(); + _elem990.read(iprot); + struct.foreignKeys.add(_elem990); } iprot.readListEnd(); } @@ -54034,14 +54189,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 _list976 = iprot.readListBegin(); - struct.uniqueConstraints = new ArrayList(_list976.size); - SQLUniqueConstraint _elem977; - for (int _i978 = 0; _i978 < _list976.size; ++_i978) + org.apache.thrift.protocol.TList _list992 = iprot.readListBegin(); + struct.uniqueConstraints = new ArrayList(_list992.size); + SQLUniqueConstraint _elem993; + for (int _i994 = 0; _i994 < _list992.size; ++_i994) { - _elem977 = new SQLUniqueConstraint(); - _elem977.read(iprot); - struct.uniqueConstraints.add(_elem977); + _elem993 = new SQLUniqueConstraint(); + _elem993.read(iprot); + struct.uniqueConstraints.add(_elem993); } iprot.readListEnd(); } @@ -54053,14 +54208,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 _list979 = iprot.readListBegin(); - struct.notNullConstraints = new ArrayList(_list979.size); - SQLNotNullConstraint _elem980; - for (int _i981 = 0; _i981 < _list979.size; ++_i981) + org.apache.thrift.protocol.TList _list995 = iprot.readListBegin(); + struct.notNullConstraints = new ArrayList(_list995.size); + SQLNotNullConstraint _elem996; + for (int _i997 = 0; _i997 < _list995.size; ++_i997) { - _elem980 = new SQLNotNullConstraint(); - _elem980.read(iprot); - struct.notNullConstraints.add(_elem980); + _elem996 = new SQLNotNullConstraint(); + _elem996.read(iprot); + struct.notNullConstraints.add(_elem996); } iprot.readListEnd(); } @@ -54072,14 +54227,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 _list982 = iprot.readListBegin(); - struct.defaultConstraints = new ArrayList(_list982.size); - SQLDefaultConstraint _elem983; - for (int _i984 = 0; _i984 < _list982.size; ++_i984) + org.apache.thrift.protocol.TList _list998 = iprot.readListBegin(); + struct.defaultConstraints = new ArrayList(_list998.size); + SQLDefaultConstraint _elem999; + for (int _i1000 = 0; _i1000 < _list998.size; ++_i1000) { - _elem983 = new SQLDefaultConstraint(); - _elem983.read(iprot); - struct.defaultConstraints.add(_elem983); + _elem999 = new SQLDefaultConstraint(); + _elem999.read(iprot); + struct.defaultConstraints.add(_elem999); } iprot.readListEnd(); } @@ -54091,14 +54246,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 7: // CHECK_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list985 = iprot.readListBegin(); - struct.checkConstraints = new ArrayList(_list985.size); - SQLCheckConstraint _elem986; - for (int _i987 = 0; _i987 < _list985.size; ++_i987) + org.apache.thrift.protocol.TList _list1001 = iprot.readListBegin(); + struct.checkConstraints = new ArrayList(_list1001.size); + SQLCheckConstraint _elem1002; + for (int _i1003 = 0; _i1003 < _list1001.size; ++_i1003) { - _elem986 = new SQLCheckConstraint(); - _elem986.read(iprot); - struct.checkConstraints.add(_elem986); + _elem1002 = new SQLCheckConstraint(); + _elem1002.read(iprot); + struct.checkConstraints.add(_elem1002); } iprot.readListEnd(); } @@ -54129,9 +54284,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 _iter988 : struct.primaryKeys) + for (SQLPrimaryKey _iter1004 : struct.primaryKeys) { - _iter988.write(oprot); + _iter1004.write(oprot); } oprot.writeListEnd(); } @@ -54141,9 +54296,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 _iter989 : struct.foreignKeys) + for (SQLForeignKey _iter1005 : struct.foreignKeys) { - _iter989.write(oprot); + _iter1005.write(oprot); } oprot.writeListEnd(); } @@ -54153,9 +54308,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 _iter990 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter1006 : struct.uniqueConstraints) { - _iter990.write(oprot); + _iter1006.write(oprot); } oprot.writeListEnd(); } @@ -54165,9 +54320,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 _iter991 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter1007 : struct.notNullConstraints) { - _iter991.write(oprot); + _iter1007.write(oprot); } oprot.writeListEnd(); } @@ -54177,9 +54332,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 _iter992 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1008 : struct.defaultConstraints) { - _iter992.write(oprot); + _iter1008.write(oprot); } oprot.writeListEnd(); } @@ -54189,9 +54344,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(CHECK_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.checkConstraints.size())); - for (SQLCheckConstraint _iter993 : struct.checkConstraints) + for (SQLCheckConstraint _iter1009 : struct.checkConstraints) { - _iter993.write(oprot); + _iter1009.write(oprot); } oprot.writeListEnd(); } @@ -54243,54 +54398,54 @@ public void write(org.apache.thrift.protocol.TProtocol prot, create_table_with_c if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter994 : struct.primaryKeys) + for (SQLPrimaryKey _iter1010 : struct.primaryKeys) { - _iter994.write(oprot); + _iter1010.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter995 : struct.foreignKeys) + for (SQLForeignKey _iter1011 : struct.foreignKeys) { - _iter995.write(oprot); + _iter1011.write(oprot); } } } if (struct.isSetUniqueConstraints()) { { oprot.writeI32(struct.uniqueConstraints.size()); - for (SQLUniqueConstraint _iter996 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter1012 : struct.uniqueConstraints) { - _iter996.write(oprot); + _iter1012.write(oprot); } } } if (struct.isSetNotNullConstraints()) { { oprot.writeI32(struct.notNullConstraints.size()); - for (SQLNotNullConstraint _iter997 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter1013 : struct.notNullConstraints) { - _iter997.write(oprot); + _iter1013.write(oprot); } } } if (struct.isSetDefaultConstraints()) { { oprot.writeI32(struct.defaultConstraints.size()); - for (SQLDefaultConstraint _iter998 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1014 : struct.defaultConstraints) { - _iter998.write(oprot); + _iter1014.write(oprot); } } } if (struct.isSetCheckConstraints()) { { oprot.writeI32(struct.checkConstraints.size()); - for (SQLCheckConstraint _iter999 : struct.checkConstraints) + for (SQLCheckConstraint _iter1015 : struct.checkConstraints) { - _iter999.write(oprot); + _iter1015.write(oprot); } } } @@ -54307,84 +54462,84 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_with_co } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1000 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list1000.size); - SQLPrimaryKey _elem1001; - for (int _i1002 = 0; _i1002 < _list1000.size; ++_i1002) + org.apache.thrift.protocol.TList _list1016 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeys = new ArrayList(_list1016.size); + SQLPrimaryKey _elem1017; + for (int _i1018 = 0; _i1018 < _list1016.size; ++_i1018) { - _elem1001 = new SQLPrimaryKey(); - _elem1001.read(iprot); - struct.primaryKeys.add(_elem1001); + _elem1017 = new SQLPrimaryKey(); + _elem1017.read(iprot); + struct.primaryKeys.add(_elem1017); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1003 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list1003.size); - SQLForeignKey _elem1004; - for (int _i1005 = 0; _i1005 < _list1003.size; ++_i1005) + org.apache.thrift.protocol.TList _list1019 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.foreignKeys = new ArrayList(_list1019.size); + SQLForeignKey _elem1020; + for (int _i1021 = 0; _i1021 < _list1019.size; ++_i1021) { - _elem1004 = new SQLForeignKey(); - _elem1004.read(iprot); - struct.foreignKeys.add(_elem1004); + _elem1020 = new SQLForeignKey(); + _elem1020.read(iprot); + struct.foreignKeys.add(_elem1020); } } struct.setForeignKeysIsSet(true); } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list1006 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.uniqueConstraints = new ArrayList(_list1006.size); - SQLUniqueConstraint _elem1007; - for (int _i1008 = 0; _i1008 < _list1006.size; ++_i1008) + org.apache.thrift.protocol.TList _list1022 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.uniqueConstraints = new ArrayList(_list1022.size); + SQLUniqueConstraint _elem1023; + for (int _i1024 = 0; _i1024 < _list1022.size; ++_i1024) { - _elem1007 = new SQLUniqueConstraint(); - _elem1007.read(iprot); - struct.uniqueConstraints.add(_elem1007); + _elem1023 = new SQLUniqueConstraint(); + _elem1023.read(iprot); + struct.uniqueConstraints.add(_elem1023); } } struct.setUniqueConstraintsIsSet(true); } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1009 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.notNullConstraints = new ArrayList(_list1009.size); - SQLNotNullConstraint _elem1010; - for (int _i1011 = 0; _i1011 < _list1009.size; ++_i1011) + org.apache.thrift.protocol.TList _list1025 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.notNullConstraints = new ArrayList(_list1025.size); + SQLNotNullConstraint _elem1026; + for (int _i1027 = 0; _i1027 < _list1025.size; ++_i1027) { - _elem1010 = new SQLNotNullConstraint(); - _elem1010.read(iprot); - struct.notNullConstraints.add(_elem1010); + _elem1026 = new SQLNotNullConstraint(); + _elem1026.read(iprot); + struct.notNullConstraints.add(_elem1026); } } struct.setNotNullConstraintsIsSet(true); } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1012 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.defaultConstraints = new ArrayList(_list1012.size); - SQLDefaultConstraint _elem1013; - for (int _i1014 = 0; _i1014 < _list1012.size; ++_i1014) + org.apache.thrift.protocol.TList _list1028 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.defaultConstraints = new ArrayList(_list1028.size); + SQLDefaultConstraint _elem1029; + for (int _i1030 = 0; _i1030 < _list1028.size; ++_i1030) { - _elem1013 = new SQLDefaultConstraint(); - _elem1013.read(iprot); - struct.defaultConstraints.add(_elem1013); + _elem1029 = new SQLDefaultConstraint(); + _elem1029.read(iprot); + struct.defaultConstraints.add(_elem1029); } } struct.setDefaultConstraintsIsSet(true); } if (incoming.get(6)) { { - org.apache.thrift.protocol.TList _list1015 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.checkConstraints = new ArrayList(_list1015.size); - SQLCheckConstraint _elem1016; - for (int _i1017 = 0; _i1017 < _list1015.size; ++_i1017) + org.apache.thrift.protocol.TList _list1031 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.checkConstraints = new ArrayList(_list1031.size); + SQLCheckConstraint _elem1032; + for (int _i1033 = 0; _i1033 < _list1031.size; ++_i1033) { - _elem1016 = new SQLCheckConstraint(); - _elem1016.read(iprot); - struct.checkConstraints.add(_elem1016); + _elem1032 = new SQLCheckConstraint(); + _elem1032.read(iprot); + struct.checkConstraints.add(_elem1032); } } struct.setCheckConstraintsIsSet(true); @@ -63534,13 +63689,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 _list1018 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list1018.size); - String _elem1019; - for (int _i1020 = 0; _i1020 < _list1018.size; ++_i1020) + org.apache.thrift.protocol.TList _list1034 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list1034.size); + String _elem1035; + for (int _i1036 = 0; _i1036 < _list1034.size; ++_i1036) { - _elem1019 = iprot.readString(); - struct.partNames.add(_elem1019); + _elem1035 = iprot.readString(); + struct.partNames.add(_elem1035); } iprot.readListEnd(); } @@ -63576,9 +63731,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 _iter1021 : struct.partNames) + for (String _iter1037 : struct.partNames) { - oprot.writeString(_iter1021); + oprot.writeString(_iter1037); } oprot.writeListEnd(); } @@ -63621,9 +63776,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, truncate_table_args if (struct.isSetPartNames()) { { oprot.writeI32(struct.partNames.size()); - for (String _iter1022 : struct.partNames) + for (String _iter1038 : struct.partNames) { - oprot.writeString(_iter1022); + oprot.writeString(_iter1038); } } } @@ -63643,13 +63798,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, truncate_table_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1023 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = new ArrayList(_list1023.size); - String _elem1024; - for (int _i1025 = 0; _i1025 < _list1023.size; ++_i1025) + org.apache.thrift.protocol.TList _list1039 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list1039.size); + String _elem1040; + for (int _i1041 = 0; _i1041 < _list1039.size; ++_i1041) { - _elem1024 = iprot.readString(); - struct.partNames.add(_elem1024); + _elem1040 = iprot.readString(); + struct.partNames.add(_elem1040); } } struct.setPartNamesIsSet(true); @@ -64874,13 +65029,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 _list1026 = iprot.readListBegin(); - struct.success = new ArrayList(_list1026.size); - String _elem1027; - for (int _i1028 = 0; _i1028 < _list1026.size; ++_i1028) + org.apache.thrift.protocol.TList _list1042 = iprot.readListBegin(); + struct.success = new ArrayList(_list1042.size); + String _elem1043; + for (int _i1044 = 0; _i1044 < _list1042.size; ++_i1044) { - _elem1027 = iprot.readString(); - struct.success.add(_elem1027); + _elem1043 = iprot.readString(); + struct.success.add(_elem1043); } iprot.readListEnd(); } @@ -64915,9 +65070,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 _iter1029 : struct.success) + for (String _iter1045 : struct.success) { - oprot.writeString(_iter1029); + oprot.writeString(_iter1045); } oprot.writeListEnd(); } @@ -64956,9 +65111,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1030 : struct.success) + for (String _iter1046 : struct.success) { - oprot.writeString(_iter1030); + oprot.writeString(_iter1046); } } } @@ -64973,13 +65128,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 _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 _list1047 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1047.size); + String _elem1048; + for (int _i1049 = 0; _i1049 < _list1047.size; ++_i1049) { - _elem1032 = iprot.readString(); - struct.success.add(_elem1032); + _elem1048 = iprot.readString(); + struct.success.add(_elem1048); } } struct.setSuccessIsSet(true); @@ -65953,13 +66108,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 _list1034 = iprot.readListBegin(); - struct.success = new ArrayList(_list1034.size); - String _elem1035; - for (int _i1036 = 0; _i1036 < _list1034.size; ++_i1036) + org.apache.thrift.protocol.TList _list1050 = iprot.readListBegin(); + struct.success = new ArrayList(_list1050.size); + String _elem1051; + for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) { - _elem1035 = iprot.readString(); - struct.success.add(_elem1035); + _elem1051 = iprot.readString(); + struct.success.add(_elem1051); } iprot.readListEnd(); } @@ -65994,9 +66149,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 _iter1037 : struct.success) + for (String _iter1053 : struct.success) { - oprot.writeString(_iter1037); + oprot.writeString(_iter1053); } oprot.writeListEnd(); } @@ -66035,9 +66190,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1038 : struct.success) + for (String _iter1054 : struct.success) { - oprot.writeString(_iter1038); + oprot.writeString(_iter1054); } } } @@ -66052,13 +66207,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 _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) + org.apache.thrift.protocol.TList _list1055 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1055.size); + String _elem1056; + for (int _i1057 = 0; _i1057 < _list1055.size; ++_i1057) { - _elem1040 = iprot.readString(); - struct.success.add(_elem1040); + _elem1056 = iprot.readString(); + struct.success.add(_elem1056); } } struct.setSuccessIsSet(true); @@ -66824,13 +66979,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 _list1042 = iprot.readListBegin(); - struct.success = new ArrayList(_list1042.size); - String _elem1043; - for (int _i1044 = 0; _i1044 < _list1042.size; ++_i1044) + org.apache.thrift.protocol.TList _list1058 = iprot.readListBegin(); + struct.success = new ArrayList(_list1058.size); + String _elem1059; + for (int _i1060 = 0; _i1060 < _list1058.size; ++_i1060) { - _elem1043 = iprot.readString(); - struct.success.add(_elem1043); + _elem1059 = iprot.readString(); + struct.success.add(_elem1059); } iprot.readListEnd(); } @@ -66865,9 +67020,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 _iter1045 : struct.success) + for (String _iter1061 : struct.success) { - oprot.writeString(_iter1045); + oprot.writeString(_iter1061); } oprot.writeListEnd(); } @@ -66906,9 +67061,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_vi if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1046 : struct.success) + for (String _iter1062 : struct.success) { - oprot.writeString(_iter1046); + oprot.writeString(_iter1062); } } } @@ -66923,13 +67078,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 _list1047 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1047.size); - String _elem1048; - for (int _i1049 = 0; _i1049 < _list1047.size; ++_i1049) + org.apache.thrift.protocol.TList _list1063 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1063.size); + String _elem1064; + for (int _i1065 = 0; _i1065 < _list1063.size; ++_i1065) { - _elem1048 = iprot.readString(); - struct.success.add(_elem1048); + _elem1064 = iprot.readString(); + struct.success.add(_elem1064); } } struct.setSuccessIsSet(true); @@ -67434,13 +67589,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 _list1050 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list1050.size); - String _elem1051; - for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) + org.apache.thrift.protocol.TList _list1066 = iprot.readListBegin(); + struct.tbl_types = new ArrayList(_list1066.size); + String _elem1067; + for (int _i1068 = 0; _i1068 < _list1066.size; ++_i1068) { - _elem1051 = iprot.readString(); - struct.tbl_types.add(_elem1051); + _elem1067 = iprot.readString(); + struct.tbl_types.add(_elem1067); } iprot.readListEnd(); } @@ -67476,9 +67631,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 _iter1053 : struct.tbl_types) + for (String _iter1069 : struct.tbl_types) { - oprot.writeString(_iter1053); + oprot.writeString(_iter1069); } oprot.writeListEnd(); } @@ -67521,9 +67676,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 _iter1054 : struct.tbl_types) + for (String _iter1070 : struct.tbl_types) { - oprot.writeString(_iter1054); + oprot.writeString(_iter1070); } } } @@ -67543,13 +67698,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1055 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = new ArrayList(_list1055.size); - String _elem1056; - for (int _i1057 = 0; _i1057 < _list1055.size; ++_i1057) + org.apache.thrift.protocol.TList _list1071 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_types = new ArrayList(_list1071.size); + String _elem1072; + for (int _i1073 = 0; _i1073 < _list1071.size; ++_i1073) { - _elem1056 = iprot.readString(); - struct.tbl_types.add(_elem1056); + _elem1072 = iprot.readString(); + struct.tbl_types.add(_elem1072); } } struct.setTbl_typesIsSet(true); @@ -67955,14 +68110,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 _list1058 = iprot.readListBegin(); - struct.success = new ArrayList(_list1058.size); - TableMeta _elem1059; - for (int _i1060 = 0; _i1060 < _list1058.size; ++_i1060) + org.apache.thrift.protocol.TList _list1074 = iprot.readListBegin(); + struct.success = new ArrayList(_list1074.size); + TableMeta _elem1075; + for (int _i1076 = 0; _i1076 < _list1074.size; ++_i1076) { - _elem1059 = new TableMeta(); - _elem1059.read(iprot); - struct.success.add(_elem1059); + _elem1075 = new TableMeta(); + _elem1075.read(iprot); + struct.success.add(_elem1075); } iprot.readListEnd(); } @@ -67997,9 +68152,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 _iter1061 : struct.success) + for (TableMeta _iter1077 : struct.success) { - _iter1061.write(oprot); + _iter1077.write(oprot); } oprot.writeListEnd(); } @@ -68038,9 +68193,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter1062 : struct.success) + for (TableMeta _iter1078 : struct.success) { - _iter1062.write(oprot); + _iter1078.write(oprot); } } } @@ -68055,14 +68210,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 _list1063 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1063.size); - TableMeta _elem1064; - for (int _i1065 = 0; _i1065 < _list1063.size; ++_i1065) + org.apache.thrift.protocol.TList _list1079 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1079.size); + TableMeta _elem1080; + for (int _i1081 = 0; _i1081 < _list1079.size; ++_i1081) { - _elem1064 = new TableMeta(); - _elem1064.read(iprot); - struct.success.add(_elem1064); + _elem1080 = new TableMeta(); + _elem1080.read(iprot); + struct.success.add(_elem1080); } } struct.setSuccessIsSet(true); @@ -68828,13 +68983,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 _list1066 = iprot.readListBegin(); - struct.success = new ArrayList(_list1066.size); - String _elem1067; - for (int _i1068 = 0; _i1068 < _list1066.size; ++_i1068) + org.apache.thrift.protocol.TList _list1082 = iprot.readListBegin(); + struct.success = new ArrayList(_list1082.size); + String _elem1083; + for (int _i1084 = 0; _i1084 < _list1082.size; ++_i1084) { - _elem1067 = iprot.readString(); - struct.success.add(_elem1067); + _elem1083 = iprot.readString(); + struct.success.add(_elem1083); } iprot.readListEnd(); } @@ -68869,9 +69024,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 _iter1069 : struct.success) + for (String _iter1085 : struct.success) { - oprot.writeString(_iter1069); + oprot.writeString(_iter1085); } oprot.writeListEnd(); } @@ -68910,9 +69065,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1070 : struct.success) + for (String _iter1086 : struct.success) { - oprot.writeString(_iter1070); + oprot.writeString(_iter1086); } } } @@ -68927,13 +69082,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 _list1071 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1071.size); - String _elem1072; - for (int _i1073 = 0; _i1073 < _list1071.size; ++_i1073) + org.apache.thrift.protocol.TList _list1087 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1087.size); + String _elem1088; + for (int _i1089 = 0; _i1089 < _list1087.size; ++_i1089) { - _elem1072 = iprot.readString(); - struct.success.add(_elem1072); + _elem1088 = iprot.readString(); + struct.success.add(_elem1088); } } struct.setSuccessIsSet(true); @@ -70386,13 +70541,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 _list1074 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1074.size); - String _elem1075; - for (int _i1076 = 0; _i1076 < _list1074.size; ++_i1076) + org.apache.thrift.protocol.TList _list1090 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list1090.size); + String _elem1091; + for (int _i1092 = 0; _i1092 < _list1090.size; ++_i1092) { - _elem1075 = iprot.readString(); - struct.tbl_names.add(_elem1075); + _elem1091 = iprot.readString(); + struct.tbl_names.add(_elem1091); } iprot.readListEnd(); } @@ -70423,9 +70578,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 _iter1077 : struct.tbl_names) + for (String _iter1093 : struct.tbl_names) { - oprot.writeString(_iter1077); + oprot.writeString(_iter1093); } oprot.writeListEnd(); } @@ -70462,9 +70617,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 _iter1078 : struct.tbl_names) + for (String _iter1094 : struct.tbl_names) { - oprot.writeString(_iter1078); + oprot.writeString(_iter1094); } } } @@ -70480,13 +70635,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1079 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1079.size); - String _elem1080; - for (int _i1081 = 0; _i1081 < _list1079.size; ++_i1081) + org.apache.thrift.protocol.TList _list1095 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list1095.size); + String _elem1096; + for (int _i1097 = 0; _i1097 < _list1095.size; ++_i1097) { - _elem1080 = iprot.readString(); - struct.tbl_names.add(_elem1080); + _elem1096 = iprot.readString(); + struct.tbl_names.add(_elem1096); } } struct.setTbl_namesIsSet(true); @@ -70811,14 +70966,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 _list1082 = iprot.readListBegin(); - struct.success = new ArrayList
(_list1082.size); - Table _elem1083; - for (int _i1084 = 0; _i1084 < _list1082.size; ++_i1084) + org.apache.thrift.protocol.TList _list1098 = iprot.readListBegin(); + struct.success = new ArrayList
(_list1098.size); + Table _elem1099; + for (int _i1100 = 0; _i1100 < _list1098.size; ++_i1100) { - _elem1083 = new Table(); - _elem1083.read(iprot); - struct.success.add(_elem1083); + _elem1099 = new Table(); + _elem1099.read(iprot); + struct.success.add(_elem1099); } iprot.readListEnd(); } @@ -70844,9 +70999,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 _iter1085 : struct.success) + for (Table _iter1101 : struct.success) { - _iter1085.write(oprot); + _iter1101.write(oprot); } oprot.writeListEnd(); } @@ -70877,9 +71032,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter1086 : struct.success) + for (Table _iter1102 : struct.success) { - _iter1086.write(oprot); + _iter1102.write(oprot); } } } @@ -70891,14 +71046,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 _list1087 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list1087.size); - Table _elem1088; - for (int _i1089 = 0; _i1089 < _list1087.size; ++_i1089) + org.apache.thrift.protocol.TList _list1103 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list1103.size); + Table _elem1104; + for (int _i1105 = 0; _i1105 < _list1103.size; ++_i1105) { - _elem1088 = new Table(); - _elem1088.read(iprot); - struct.success.add(_elem1088); + _elem1104 = new Table(); + _elem1104.read(iprot); + struct.success.add(_elem1104); } } struct.setSuccessIsSet(true); @@ -73291,13 +73446,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 _list1090 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1090.size); - String _elem1091; - for (int _i1092 = 0; _i1092 < _list1090.size; ++_i1092) + org.apache.thrift.protocol.TList _list1106 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list1106.size); + String _elem1107; + for (int _i1108 = 0; _i1108 < _list1106.size; ++_i1108) { - _elem1091 = iprot.readString(); - struct.tbl_names.add(_elem1091); + _elem1107 = iprot.readString(); + struct.tbl_names.add(_elem1107); } iprot.readListEnd(); } @@ -73328,9 +73483,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 _iter1093 : struct.tbl_names) + for (String _iter1109 : struct.tbl_names) { - oprot.writeString(_iter1093); + oprot.writeString(_iter1109); } oprot.writeListEnd(); } @@ -73367,9 +73522,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization if (struct.isSetTbl_names()) { { oprot.writeI32(struct.tbl_names.size()); - for (String _iter1094 : struct.tbl_names) + for (String _iter1110 : struct.tbl_names) { - oprot.writeString(_iter1094); + oprot.writeString(_iter1110); } } } @@ -73385,13 +73540,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialization_ } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1095 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1095.size); - String _elem1096; - for (int _i1097 = 0; _i1097 < _list1095.size; ++_i1097) + org.apache.thrift.protocol.TList _list1111 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list1111.size); + String _elem1112; + for (int _i1113 = 0; _i1113 < _list1111.size; ++_i1113) { - _elem1096 = iprot.readString(); - struct.tbl_names.add(_elem1096); + _elem1112 = iprot.readString(); + struct.tbl_names.add(_elem1112); } } struct.setTbl_namesIsSet(true); @@ -73964,16 +74119,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 _map1098 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1098.size); - String _key1099; - Materialization _val1100; - for (int _i1101 = 0; _i1101 < _map1098.size; ++_i1101) + org.apache.thrift.protocol.TMap _map1114 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1114.size); + String _key1115; + Materialization _val1116; + for (int _i1117 = 0; _i1117 < _map1114.size; ++_i1117) { - _key1099 = iprot.readString(); - _val1100 = new Materialization(); - _val1100.read(iprot); - struct.success.put(_key1099, _val1100); + _key1115 = iprot.readString(); + _val1116 = new Materialization(); + _val1116.read(iprot); + struct.success.put(_key1115, _val1116); } iprot.readMapEnd(); } @@ -74026,10 +74181,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 _iter1102 : struct.success.entrySet()) + for (Map.Entry _iter1118 : struct.success.entrySet()) { - oprot.writeString(_iter1102.getKey()); - _iter1102.getValue().write(oprot); + oprot.writeString(_iter1118.getKey()); + _iter1118.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -74084,10 +74239,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter1103 : struct.success.entrySet()) + for (Map.Entry _iter1119 : struct.success.entrySet()) { - oprot.writeString(_iter1103.getKey()); - _iter1103.getValue().write(oprot); + oprot.writeString(_iter1119.getKey()); + _iter1119.getValue().write(oprot); } } } @@ -74108,16 +74263,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 _map1104 = 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*_map1104.size); - String _key1105; - Materialization _val1106; - for (int _i1107 = 0; _i1107 < _map1104.size; ++_i1107) + org.apache.thrift.protocol.TMap _map1120 = 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*_map1120.size); + String _key1121; + Materialization _val1122; + for (int _i1123 = 0; _i1123 < _map1120.size; ++_i1123) { - _key1105 = iprot.readString(); - _val1106 = new Materialization(); - _val1106.read(iprot); - struct.success.put(_key1105, _val1106); + _key1121 = iprot.readString(); + _val1122 = new Materialization(); + _val1122.read(iprot); + struct.success.put(_key1121, _val1122); } } struct.setSuccessIsSet(true); @@ -76510,13 +76665,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 _list1108 = iprot.readListBegin(); - struct.success = new ArrayList(_list1108.size); - String _elem1109; - for (int _i1110 = 0; _i1110 < _list1108.size; ++_i1110) + org.apache.thrift.protocol.TList _list1124 = iprot.readListBegin(); + struct.success = new ArrayList(_list1124.size); + String _elem1125; + for (int _i1126 = 0; _i1126 < _list1124.size; ++_i1126) { - _elem1109 = iprot.readString(); - struct.success.add(_elem1109); + _elem1125 = iprot.readString(); + struct.success.add(_elem1125); } iprot.readListEnd(); } @@ -76569,9 +76724,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 _iter1111 : struct.success) + for (String _iter1127 : struct.success) { - oprot.writeString(_iter1111); + oprot.writeString(_iter1127); } oprot.writeListEnd(); } @@ -76626,9 +76781,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1112 : struct.success) + for (String _iter1128 : struct.success) { - oprot.writeString(_iter1112); + oprot.writeString(_iter1128); } } } @@ -76649,13 +76804,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 _list1113 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1113.size); - String _elem1114; - for (int _i1115 = 0; _i1115 < _list1113.size; ++_i1115) + org.apache.thrift.protocol.TList _list1129 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1129.size); + String _elem1130; + for (int _i1131 = 0; _i1131 < _list1129.size; ++_i1131) { - _elem1114 = iprot.readString(); - struct.success.add(_elem1114); + _elem1130 = iprot.readString(); + struct.success.add(_elem1130); } } struct.setSuccessIsSet(true); @@ -82514,14 +82669,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 _list1116 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1116.size); - Partition _elem1117; - for (int _i1118 = 0; _i1118 < _list1116.size; ++_i1118) + org.apache.thrift.protocol.TList _list1132 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1132.size); + Partition _elem1133; + for (int _i1134 = 0; _i1134 < _list1132.size; ++_i1134) { - _elem1117 = new Partition(); - _elem1117.read(iprot); - struct.new_parts.add(_elem1117); + _elem1133 = new Partition(); + _elem1133.read(iprot); + struct.new_parts.add(_elem1133); } iprot.readListEnd(); } @@ -82547,9 +82702,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 _iter1119 : struct.new_parts) + for (Partition _iter1135 : struct.new_parts) { - _iter1119.write(oprot); + _iter1135.write(oprot); } oprot.writeListEnd(); } @@ -82580,9 +82735,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 _iter1120 : struct.new_parts) + for (Partition _iter1136 : struct.new_parts) { - _iter1120.write(oprot); + _iter1136.write(oprot); } } } @@ -82594,14 +82749,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 _list1121 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1121.size); - Partition _elem1122; - for (int _i1123 = 0; _i1123 < _list1121.size; ++_i1123) + org.apache.thrift.protocol.TList _list1137 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1137.size); + Partition _elem1138; + for (int _i1139 = 0; _i1139 < _list1137.size; ++_i1139) { - _elem1122 = new Partition(); - _elem1122.read(iprot); - struct.new_parts.add(_elem1122); + _elem1138 = new Partition(); + _elem1138.read(iprot); + struct.new_parts.add(_elem1138); } } struct.setNew_partsIsSet(true); @@ -83602,14 +83757,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 _list1124 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1124.size); - PartitionSpec _elem1125; - for (int _i1126 = 0; _i1126 < _list1124.size; ++_i1126) + org.apache.thrift.protocol.TList _list1140 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1140.size); + PartitionSpec _elem1141; + for (int _i1142 = 0; _i1142 < _list1140.size; ++_i1142) { - _elem1125 = new PartitionSpec(); - _elem1125.read(iprot); - struct.new_parts.add(_elem1125); + _elem1141 = new PartitionSpec(); + _elem1141.read(iprot); + struct.new_parts.add(_elem1141); } iprot.readListEnd(); } @@ -83635,9 +83790,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 _iter1127 : struct.new_parts) + for (PartitionSpec _iter1143 : struct.new_parts) { - _iter1127.write(oprot); + _iter1143.write(oprot); } oprot.writeListEnd(); } @@ -83668,9 +83823,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 _iter1128 : struct.new_parts) + for (PartitionSpec _iter1144 : struct.new_parts) { - _iter1128.write(oprot); + _iter1144.write(oprot); } } } @@ -83682,14 +83837,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 _list1129 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1129.size); - PartitionSpec _elem1130; - for (int _i1131 = 0; _i1131 < _list1129.size; ++_i1131) + org.apache.thrift.protocol.TList _list1145 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1145.size); + PartitionSpec _elem1146; + for (int _i1147 = 0; _i1147 < _list1145.size; ++_i1147) { - _elem1130 = new PartitionSpec(); - _elem1130.read(iprot); - struct.new_parts.add(_elem1130); + _elem1146 = new PartitionSpec(); + _elem1146.read(iprot); + struct.new_parts.add(_elem1146); } } struct.setNew_partsIsSet(true); @@ -84865,13 +85020,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 _list1132 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1132.size); - String _elem1133; - for (int _i1134 = 0; _i1134 < _list1132.size; ++_i1134) + org.apache.thrift.protocol.TList _list1148 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1148.size); + String _elem1149; + for (int _i1150 = 0; _i1150 < _list1148.size; ++_i1150) { - _elem1133 = iprot.readString(); - struct.part_vals.add(_elem1133); + _elem1149 = iprot.readString(); + struct.part_vals.add(_elem1149); } iprot.readListEnd(); } @@ -84907,9 +85062,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 _iter1135 : struct.part_vals) + for (String _iter1151 : struct.part_vals) { - oprot.writeString(_iter1135); + oprot.writeString(_iter1151); } oprot.writeListEnd(); } @@ -84952,9 +85107,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 _iter1136 : struct.part_vals) + for (String _iter1152 : struct.part_vals) { - oprot.writeString(_iter1136); + oprot.writeString(_iter1152); } } } @@ -84974,13 +85129,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1137 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1137.size); - String _elem1138; - for (int _i1139 = 0; _i1139 < _list1137.size; ++_i1139) + org.apache.thrift.protocol.TList _list1153 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1153.size); + String _elem1154; + for (int _i1155 = 0; _i1155 < _list1153.size; ++_i1155) { - _elem1138 = iprot.readString(); - struct.part_vals.add(_elem1138); + _elem1154 = iprot.readString(); + struct.part_vals.add(_elem1154); } } struct.setPart_valsIsSet(true); @@ -87289,13 +87444,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 _list1140 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1140.size); - String _elem1141; - for (int _i1142 = 0; _i1142 < _list1140.size; ++_i1142) + org.apache.thrift.protocol.TList _list1156 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1156.size); + String _elem1157; + for (int _i1158 = 0; _i1158 < _list1156.size; ++_i1158) { - _elem1141 = iprot.readString(); - struct.part_vals.add(_elem1141); + _elem1157 = iprot.readString(); + struct.part_vals.add(_elem1157); } iprot.readListEnd(); } @@ -87340,9 +87495,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 _iter1143 : struct.part_vals) + for (String _iter1159 : struct.part_vals) { - oprot.writeString(_iter1143); + oprot.writeString(_iter1159); } oprot.writeListEnd(); } @@ -87393,9 +87548,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 _iter1144 : struct.part_vals) + for (String _iter1160 : struct.part_vals) { - oprot.writeString(_iter1144); + oprot.writeString(_iter1160); } } } @@ -87418,13 +87573,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1145 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1145.size); - String _elem1146; - for (int _i1147 = 0; _i1147 < _list1145.size; ++_i1147) + org.apache.thrift.protocol.TList _list1161 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1161.size); + String _elem1162; + for (int _i1163 = 0; _i1163 < _list1161.size; ++_i1163) { - _elem1146 = iprot.readString(); - struct.part_vals.add(_elem1146); + _elem1162 = iprot.readString(); + struct.part_vals.add(_elem1162); } } struct.setPart_valsIsSet(true); @@ -91294,13 +91449,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 _list1148 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1148.size); - String _elem1149; - for (int _i1150 = 0; _i1150 < _list1148.size; ++_i1150) + org.apache.thrift.protocol.TList _list1164 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1164.size); + String _elem1165; + for (int _i1166 = 0; _i1166 < _list1164.size; ++_i1166) { - _elem1149 = iprot.readString(); - struct.part_vals.add(_elem1149); + _elem1165 = iprot.readString(); + struct.part_vals.add(_elem1165); } iprot.readListEnd(); } @@ -91344,9 +91499,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 _iter1151 : struct.part_vals) + for (String _iter1167 : struct.part_vals) { - oprot.writeString(_iter1151); + oprot.writeString(_iter1167); } oprot.writeListEnd(); } @@ -91395,9 +91550,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 _iter1152 : struct.part_vals) + for (String _iter1168 : struct.part_vals) { - oprot.writeString(_iter1152); + oprot.writeString(_iter1168); } } } @@ -91420,13 +91575,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1153 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1153.size); - String _elem1154; - for (int _i1155 = 0; _i1155 < _list1153.size; ++_i1155) + org.apache.thrift.protocol.TList _list1169 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1169.size); + String _elem1170; + for (int _i1171 = 0; _i1171 < _list1169.size; ++_i1171) { - _elem1154 = iprot.readString(); - struct.part_vals.add(_elem1154); + _elem1170 = iprot.readString(); + struct.part_vals.add(_elem1170); } } struct.setPart_valsIsSet(true); @@ -92665,13 +92820,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 _list1156 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1156.size); - String _elem1157; - for (int _i1158 = 0; _i1158 < _list1156.size; ++_i1158) + org.apache.thrift.protocol.TList _list1172 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1172.size); + String _elem1173; + for (int _i1174 = 0; _i1174 < _list1172.size; ++_i1174) { - _elem1157 = iprot.readString(); - struct.part_vals.add(_elem1157); + _elem1173 = iprot.readString(); + struct.part_vals.add(_elem1173); } iprot.readListEnd(); } @@ -92724,9 +92879,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 _iter1159 : struct.part_vals) + for (String _iter1175 : struct.part_vals) { - oprot.writeString(_iter1159); + oprot.writeString(_iter1175); } oprot.writeListEnd(); } @@ -92783,9 +92938,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 _iter1160 : struct.part_vals) + for (String _iter1176 : struct.part_vals) { - oprot.writeString(_iter1160); + oprot.writeString(_iter1176); } } } @@ -92811,13 +92966,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1161 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1161.size); - String _elem1162; - for (int _i1163 = 0; _i1163 < _list1161.size; ++_i1163) + org.apache.thrift.protocol.TList _list1177 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1177.size); + String _elem1178; + for (int _i1179 = 0; _i1179 < _list1177.size; ++_i1179) { - _elem1162 = iprot.readString(); - struct.part_vals.add(_elem1162); + _elem1178 = iprot.readString(); + struct.part_vals.add(_elem1178); } } struct.setPart_valsIsSet(true); @@ -97419,13 +97574,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 _list1164 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1164.size); - String _elem1165; - for (int _i1166 = 0; _i1166 < _list1164.size; ++_i1166) + org.apache.thrift.protocol.TList _list1180 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1180.size); + String _elem1181; + for (int _i1182 = 0; _i1182 < _list1180.size; ++_i1182) { - _elem1165 = iprot.readString(); - struct.part_vals.add(_elem1165); + _elem1181 = iprot.readString(); + struct.part_vals.add(_elem1181); } iprot.readListEnd(); } @@ -97461,9 +97616,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 _iter1167 : struct.part_vals) + for (String _iter1183 : struct.part_vals) { - oprot.writeString(_iter1167); + oprot.writeString(_iter1183); } oprot.writeListEnd(); } @@ -97506,9 +97661,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 _iter1168 : struct.part_vals) + for (String _iter1184 : struct.part_vals) { - oprot.writeString(_iter1168); + oprot.writeString(_iter1184); } } } @@ -97528,13 +97683,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1169 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1169.size); - String _elem1170; - for (int _i1171 = 0; _i1171 < _list1169.size; ++_i1171) + org.apache.thrift.protocol.TList _list1185 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1185.size); + String _elem1186; + for (int _i1187 = 0; _i1187 < _list1185.size; ++_i1187) { - _elem1170 = iprot.readString(); - struct.part_vals.add(_elem1170); + _elem1186 = iprot.readString(); + struct.part_vals.add(_elem1186); } } struct.setPart_valsIsSet(true); @@ -98752,15 +98907,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 _map1172 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1172.size); - String _key1173; - String _val1174; - for (int _i1175 = 0; _i1175 < _map1172.size; ++_i1175) + org.apache.thrift.protocol.TMap _map1188 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1188.size); + String _key1189; + String _val1190; + for (int _i1191 = 0; _i1191 < _map1188.size; ++_i1191) { - _key1173 = iprot.readString(); - _val1174 = iprot.readString(); - struct.partitionSpecs.put(_key1173, _val1174); + _key1189 = iprot.readString(); + _val1190 = iprot.readString(); + struct.partitionSpecs.put(_key1189, _val1190); } iprot.readMapEnd(); } @@ -98818,10 +98973,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 _iter1176 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1192 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1176.getKey()); - oprot.writeString(_iter1176.getValue()); + oprot.writeString(_iter1192.getKey()); + oprot.writeString(_iter1192.getValue()); } oprot.writeMapEnd(); } @@ -98884,10 +99039,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1177 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1193 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1177.getKey()); - oprot.writeString(_iter1177.getValue()); + oprot.writeString(_iter1193.getKey()); + oprot.writeString(_iter1193.getValue()); } } } @@ -98911,15 +99066,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 _map1178 = 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*_map1178.size); - String _key1179; - String _val1180; - for (int _i1181 = 0; _i1181 < _map1178.size; ++_i1181) + org.apache.thrift.protocol.TMap _map1194 = 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*_map1194.size); + String _key1195; + String _val1196; + for (int _i1197 = 0; _i1197 < _map1194.size; ++_i1197) { - _key1179 = iprot.readString(); - _val1180 = iprot.readString(); - struct.partitionSpecs.put(_key1179, _val1180); + _key1195 = iprot.readString(); + _val1196 = iprot.readString(); + struct.partitionSpecs.put(_key1195, _val1196); } } struct.setPartitionSpecsIsSet(true); @@ -100365,15 +100520,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 _map1182 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1182.size); - String _key1183; - String _val1184; - for (int _i1185 = 0; _i1185 < _map1182.size; ++_i1185) + org.apache.thrift.protocol.TMap _map1198 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1198.size); + String _key1199; + String _val1200; + for (int _i1201 = 0; _i1201 < _map1198.size; ++_i1201) { - _key1183 = iprot.readString(); - _val1184 = iprot.readString(); - struct.partitionSpecs.put(_key1183, _val1184); + _key1199 = iprot.readString(); + _val1200 = iprot.readString(); + struct.partitionSpecs.put(_key1199, _val1200); } iprot.readMapEnd(); } @@ -100431,10 +100586,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 _iter1186 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1202 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1186.getKey()); - oprot.writeString(_iter1186.getValue()); + oprot.writeString(_iter1202.getKey()); + oprot.writeString(_iter1202.getValue()); } oprot.writeMapEnd(); } @@ -100497,10 +100652,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1187 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1203 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1187.getKey()); - oprot.writeString(_iter1187.getValue()); + oprot.writeString(_iter1203.getKey()); + oprot.writeString(_iter1203.getValue()); } } } @@ -100524,15 +100679,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 _map1188 = 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*_map1188.size); - String _key1189; - String _val1190; - for (int _i1191 = 0; _i1191 < _map1188.size; ++_i1191) + org.apache.thrift.protocol.TMap _map1204 = 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*_map1204.size); + String _key1205; + String _val1206; + for (int _i1207 = 0; _i1207 < _map1204.size; ++_i1207) { - _key1189 = iprot.readString(); - _val1190 = iprot.readString(); - struct.partitionSpecs.put(_key1189, _val1190); + _key1205 = iprot.readString(); + _val1206 = iprot.readString(); + struct.partitionSpecs.put(_key1205, _val1206); } } struct.setPartitionSpecsIsSet(true); @@ -101197,14 +101352,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 _list1192 = iprot.readListBegin(); - struct.success = new ArrayList(_list1192.size); - Partition _elem1193; - for (int _i1194 = 0; _i1194 < _list1192.size; ++_i1194) + org.apache.thrift.protocol.TList _list1208 = iprot.readListBegin(); + struct.success = new ArrayList(_list1208.size); + Partition _elem1209; + for (int _i1210 = 0; _i1210 < _list1208.size; ++_i1210) { - _elem1193 = new Partition(); - _elem1193.read(iprot); - struct.success.add(_elem1193); + _elem1209 = new Partition(); + _elem1209.read(iprot); + struct.success.add(_elem1209); } iprot.readListEnd(); } @@ -101266,9 +101421,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 _iter1195 : struct.success) + for (Partition _iter1211 : struct.success) { - _iter1195.write(oprot); + _iter1211.write(oprot); } oprot.writeListEnd(); } @@ -101331,9 +101486,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1196 : struct.success) + for (Partition _iter1212 : struct.success) { - _iter1196.write(oprot); + _iter1212.write(oprot); } } } @@ -101357,14 +101512,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 _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 _list1213 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1213.size); + Partition _elem1214; + for (int _i1215 = 0; _i1215 < _list1213.size; ++_i1215) { - _elem1198 = new Partition(); - _elem1198.read(iprot); - struct.success.add(_elem1198); + _elem1214 = new Partition(); + _elem1214.read(iprot); + struct.success.add(_elem1214); } } struct.setSuccessIsSet(true); @@ -102063,13 +102218,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 _list1200 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1200.size); - String _elem1201; - for (int _i1202 = 0; _i1202 < _list1200.size; ++_i1202) + 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) { - _elem1201 = iprot.readString(); - struct.part_vals.add(_elem1201); + _elem1217 = iprot.readString(); + struct.part_vals.add(_elem1217); } iprot.readListEnd(); } @@ -102089,13 +102244,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 _list1203 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1203.size); - String _elem1204; - for (int _i1205 = 0; _i1205 < _list1203.size; ++_i1205) + org.apache.thrift.protocol.TList _list1219 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1219.size); + String _elem1220; + for (int _i1221 = 0; _i1221 < _list1219.size; ++_i1221) { - _elem1204 = iprot.readString(); - struct.group_names.add(_elem1204); + _elem1220 = iprot.readString(); + struct.group_names.add(_elem1220); } iprot.readListEnd(); } @@ -102131,9 +102286,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 _iter1206 : struct.part_vals) + for (String _iter1222 : struct.part_vals) { - oprot.writeString(_iter1206); + oprot.writeString(_iter1222); } oprot.writeListEnd(); } @@ -102148,9 +102303,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 _iter1207 : struct.group_names) + for (String _iter1223 : struct.group_names) { - oprot.writeString(_iter1207); + oprot.writeString(_iter1223); } oprot.writeListEnd(); } @@ -102199,9 +102354,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 _iter1208 : struct.part_vals) + for (String _iter1224 : struct.part_vals) { - oprot.writeString(_iter1208); + oprot.writeString(_iter1224); } } } @@ -102211,9 +102366,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 _iter1209 : struct.group_names) + for (String _iter1225 : struct.group_names) { - oprot.writeString(_iter1209); + oprot.writeString(_iter1225); } } } @@ -102233,13 +102388,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1210 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1210.size); - String _elem1211; - for (int _i1212 = 0; _i1212 < _list1210.size; ++_i1212) + org.apache.thrift.protocol.TList _list1226 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1226.size); + String _elem1227; + for (int _i1228 = 0; _i1228 < _list1226.size; ++_i1228) { - _elem1211 = iprot.readString(); - struct.part_vals.add(_elem1211); + _elem1227 = iprot.readString(); + struct.part_vals.add(_elem1227); } } struct.setPart_valsIsSet(true); @@ -102250,13 +102405,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1213 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1213.size); - String _elem1214; - for (int _i1215 = 0; _i1215 < _list1213.size; ++_i1215) + org.apache.thrift.protocol.TList _list1229 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1229.size); + String _elem1230; + for (int _i1231 = 0; _i1231 < _list1229.size; ++_i1231) { - _elem1214 = iprot.readString(); - struct.group_names.add(_elem1214); + _elem1230 = iprot.readString(); + struct.group_names.add(_elem1230); } } struct.setGroup_namesIsSet(true); @@ -105025,14 +105180,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 _list1216 = iprot.readListBegin(); - struct.success = new ArrayList(_list1216.size); - Partition _elem1217; - for (int _i1218 = 0; _i1218 < _list1216.size; ++_i1218) + org.apache.thrift.protocol.TList _list1232 = iprot.readListBegin(); + struct.success = new ArrayList(_list1232.size); + Partition _elem1233; + for (int _i1234 = 0; _i1234 < _list1232.size; ++_i1234) { - _elem1217 = new Partition(); - _elem1217.read(iprot); - struct.success.add(_elem1217); + _elem1233 = new Partition(); + _elem1233.read(iprot); + struct.success.add(_elem1233); } iprot.readListEnd(); } @@ -105076,9 +105231,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 _iter1219 : struct.success) + for (Partition _iter1235 : struct.success) { - _iter1219.write(oprot); + _iter1235.write(oprot); } oprot.writeListEnd(); } @@ -105125,9 +105280,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1220 : struct.success) + for (Partition _iter1236 : struct.success) { - _iter1220.write(oprot); + _iter1236.write(oprot); } } } @@ -105145,14 +105300,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 _list1221 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1221.size); - Partition _elem1222; - for (int _i1223 = 0; _i1223 < _list1221.size; ++_i1223) + org.apache.thrift.protocol.TList _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) { - _elem1222 = new Partition(); - _elem1222.read(iprot); - struct.success.add(_elem1222); + _elem1238 = new Partition(); + _elem1238.read(iprot); + struct.success.add(_elem1238); } } struct.setSuccessIsSet(true); @@ -105842,13 +105997,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 _list1224 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1224.size); - String _elem1225; - for (int _i1226 = 0; _i1226 < _list1224.size; ++_i1226) + org.apache.thrift.protocol.TList _list1240 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1240.size); + String _elem1241; + for (int _i1242 = 0; _i1242 < _list1240.size; ++_i1242) { - _elem1225 = iprot.readString(); - struct.group_names.add(_elem1225); + _elem1241 = iprot.readString(); + struct.group_names.add(_elem1241); } iprot.readListEnd(); } @@ -105892,9 +106047,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 _iter1227 : struct.group_names) + for (String _iter1243 : struct.group_names) { - oprot.writeString(_iter1227); + oprot.writeString(_iter1243); } oprot.writeListEnd(); } @@ -105949,9 +106104,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 _iter1228 : struct.group_names) + for (String _iter1244 : struct.group_names) { - oprot.writeString(_iter1228); + oprot.writeString(_iter1244); } } } @@ -105979,13 +106134,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1229 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1229.size); - String _elem1230; - for (int _i1231 = 0; _i1231 < _list1229.size; ++_i1231) + 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) { - _elem1230 = iprot.readString(); - struct.group_names.add(_elem1230); + _elem1246 = iprot.readString(); + struct.group_names.add(_elem1246); } } struct.setGroup_namesIsSet(true); @@ -106472,14 +106627,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 _list1232 = iprot.readListBegin(); - struct.success = new ArrayList(_list1232.size); - Partition _elem1233; - for (int _i1234 = 0; _i1234 < _list1232.size; ++_i1234) + org.apache.thrift.protocol.TList _list1248 = iprot.readListBegin(); + struct.success = new ArrayList(_list1248.size); + Partition _elem1249; + for (int _i1250 = 0; _i1250 < _list1248.size; ++_i1250) { - _elem1233 = new Partition(); - _elem1233.read(iprot); - struct.success.add(_elem1233); + _elem1249 = new Partition(); + _elem1249.read(iprot); + struct.success.add(_elem1249); } iprot.readListEnd(); } @@ -106523,9 +106678,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 _iter1235 : struct.success) + for (Partition _iter1251 : struct.success) { - _iter1235.write(oprot); + _iter1251.write(oprot); } oprot.writeListEnd(); } @@ -106572,9 +106727,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1236 : struct.success) + for (Partition _iter1252 : struct.success) { - _iter1236.write(oprot); + _iter1252.write(oprot); } } } @@ -106592,14 +106747,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 _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) + 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) { - _elem1238 = new Partition(); - _elem1238.read(iprot); - struct.success.add(_elem1238); + _elem1254 = new Partition(); + _elem1254.read(iprot); + struct.success.add(_elem1254); } } struct.setSuccessIsSet(true); @@ -107662,14 +107817,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 _list1240 = iprot.readListBegin(); - struct.success = new ArrayList(_list1240.size); - PartitionSpec _elem1241; - for (int _i1242 = 0; _i1242 < _list1240.size; ++_i1242) + org.apache.thrift.protocol.TList _list1256 = iprot.readListBegin(); + struct.success = new ArrayList(_list1256.size); + PartitionSpec _elem1257; + for (int _i1258 = 0; _i1258 < _list1256.size; ++_i1258) { - _elem1241 = new PartitionSpec(); - _elem1241.read(iprot); - struct.success.add(_elem1241); + _elem1257 = new PartitionSpec(); + _elem1257.read(iprot); + struct.success.add(_elem1257); } iprot.readListEnd(); } @@ -107713,9 +107868,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 _iter1243 : struct.success) + for (PartitionSpec _iter1259 : struct.success) { - _iter1243.write(oprot); + _iter1259.write(oprot); } oprot.writeListEnd(); } @@ -107762,9 +107917,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1244 : struct.success) + for (PartitionSpec _iter1260 : struct.success) { - _iter1244.write(oprot); + _iter1260.write(oprot); } } } @@ -107782,14 +107937,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 _list1245 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1245.size); - PartitionSpec _elem1246; - for (int _i1247 = 0; _i1247 < _list1245.size; ++_i1247) + 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); + PartitionSpec _elem1262; + for (int _i1263 = 0; _i1263 < _list1261.size; ++_i1263) { - _elem1246 = new PartitionSpec(); - _elem1246.read(iprot); - struct.success.add(_elem1246); + _elem1262 = new PartitionSpec(); + _elem1262.read(iprot); + struct.success.add(_elem1262); } } struct.setSuccessIsSet(true); @@ -108849,13 +109004,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 _list1248 = iprot.readListBegin(); - struct.success = new ArrayList(_list1248.size); - String _elem1249; - for (int _i1250 = 0; _i1250 < _list1248.size; ++_i1250) + org.apache.thrift.protocol.TList _list1264 = iprot.readListBegin(); + struct.success = new ArrayList(_list1264.size); + String _elem1265; + for (int _i1266 = 0; _i1266 < _list1264.size; ++_i1266) { - _elem1249 = iprot.readString(); - struct.success.add(_elem1249); + _elem1265 = iprot.readString(); + struct.success.add(_elem1265); } iprot.readListEnd(); } @@ -108899,9 +109054,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 _iter1251 : struct.success) + for (String _iter1267 : struct.success) { - oprot.writeString(_iter1251); + oprot.writeString(_iter1267); } oprot.writeListEnd(); } @@ -108948,9 +109103,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1252 : struct.success) + for (String _iter1268 : struct.success) { - oprot.writeString(_iter1252); + oprot.writeString(_iter1268); } } } @@ -108968,13 +109123,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 _list1253 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1253.size); - String _elem1254; - for (int _i1255 = 0; _i1255 < _list1253.size; ++_i1255) + 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) { - _elem1254 = iprot.readString(); - struct.success.add(_elem1254); + _elem1270 = iprot.readString(); + struct.success.add(_elem1270); } } struct.setSuccessIsSet(true); @@ -110505,13 +110660,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 _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 _list1272 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1272.size); + String _elem1273; + for (int _i1274 = 0; _i1274 < _list1272.size; ++_i1274) { - _elem1257 = iprot.readString(); - struct.part_vals.add(_elem1257); + _elem1273 = iprot.readString(); + struct.part_vals.add(_elem1273); } iprot.readListEnd(); } @@ -110555,9 +110710,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 _iter1259 : struct.part_vals) + for (String _iter1275 : struct.part_vals) { - oprot.writeString(_iter1259); + oprot.writeString(_iter1275); } oprot.writeListEnd(); } @@ -110606,9 +110761,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 _iter1260 : struct.part_vals) + for (String _iter1276 : struct.part_vals) { - oprot.writeString(_iter1260); + oprot.writeString(_iter1276); } } } @@ -110631,13 +110786,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } 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 _list1277 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1277.size); + String _elem1278; + for (int _i1279 = 0; _i1279 < _list1277.size; ++_i1279) { - _elem1262 = iprot.readString(); - struct.part_vals.add(_elem1262); + _elem1278 = iprot.readString(); + struct.part_vals.add(_elem1278); } } struct.setPart_valsIsSet(true); @@ -111128,14 +111283,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 _list1264 = iprot.readListBegin(); - struct.success = new ArrayList(_list1264.size); - Partition _elem1265; - for (int _i1266 = 0; _i1266 < _list1264.size; ++_i1266) + org.apache.thrift.protocol.TList _list1280 = iprot.readListBegin(); + struct.success = new ArrayList(_list1280.size); + Partition _elem1281; + for (int _i1282 = 0; _i1282 < _list1280.size; ++_i1282) { - _elem1265 = new Partition(); - _elem1265.read(iprot); - struct.success.add(_elem1265); + _elem1281 = new Partition(); + _elem1281.read(iprot); + struct.success.add(_elem1281); } iprot.readListEnd(); } @@ -111179,9 +111334,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 _iter1267 : struct.success) + for (Partition _iter1283 : struct.success) { - _iter1267.write(oprot); + _iter1283.write(oprot); } oprot.writeListEnd(); } @@ -111228,9 +111383,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1268 : struct.success) + for (Partition _iter1284 : struct.success) { - _iter1268.write(oprot); + _iter1284.write(oprot); } } } @@ -111248,14 +111403,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 _list1269 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1269.size); - Partition _elem1270; - for (int _i1271 = 0; _i1271 < _list1269.size; ++_i1271) + 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) { - _elem1270 = new Partition(); - _elem1270.read(iprot); - struct.success.add(_elem1270); + _elem1286 = new Partition(); + _elem1286.read(iprot); + struct.success.add(_elem1286); } } struct.setSuccessIsSet(true); @@ -112027,13 +112182,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 _list1272 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1272.size); - String _elem1273; - for (int _i1274 = 0; _i1274 < _list1272.size; ++_i1274) + org.apache.thrift.protocol.TList _list1288 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1288.size); + String _elem1289; + for (int _i1290 = 0; _i1290 < _list1288.size; ++_i1290) { - _elem1273 = iprot.readString(); - struct.part_vals.add(_elem1273); + _elem1289 = iprot.readString(); + struct.part_vals.add(_elem1289); } iprot.readListEnd(); } @@ -112061,13 +112216,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 _list1275 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1275.size); - String _elem1276; - for (int _i1277 = 0; _i1277 < _list1275.size; ++_i1277) + org.apache.thrift.protocol.TList _list1291 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1291.size); + String _elem1292; + for (int _i1293 = 0; _i1293 < _list1291.size; ++_i1293) { - _elem1276 = iprot.readString(); - struct.group_names.add(_elem1276); + _elem1292 = iprot.readString(); + struct.group_names.add(_elem1292); } iprot.readListEnd(); } @@ -112103,9 +112258,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 _iter1278 : struct.part_vals) + for (String _iter1294 : struct.part_vals) { - oprot.writeString(_iter1278); + oprot.writeString(_iter1294); } oprot.writeListEnd(); } @@ -112123,9 +112278,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 _iter1279 : struct.group_names) + for (String _iter1295 : struct.group_names) { - oprot.writeString(_iter1279); + oprot.writeString(_iter1295); } oprot.writeListEnd(); } @@ -112177,9 +112332,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 _iter1280 : struct.part_vals) + for (String _iter1296 : struct.part_vals) { - oprot.writeString(_iter1280); + oprot.writeString(_iter1296); } } } @@ -112192,9 +112347,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 _iter1281 : struct.group_names) + for (String _iter1297 : struct.group_names) { - oprot.writeString(_iter1281); + oprot.writeString(_iter1297); } } } @@ -112214,13 +112369,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1282 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1282.size); - String _elem1283; - for (int _i1284 = 0; _i1284 < _list1282.size; ++_i1284) + org.apache.thrift.protocol.TList _list1298 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1298.size); + String _elem1299; + for (int _i1300 = 0; _i1300 < _list1298.size; ++_i1300) { - _elem1283 = iprot.readString(); - struct.part_vals.add(_elem1283); + _elem1299 = iprot.readString(); + struct.part_vals.add(_elem1299); } } struct.setPart_valsIsSet(true); @@ -112235,13 +112390,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1285 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1285.size); - String _elem1286; - for (int _i1287 = 0; _i1287 < _list1285.size; ++_i1287) + org.apache.thrift.protocol.TList _list1301 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1301.size); + String _elem1302; + for (int _i1303 = 0; _i1303 < _list1301.size; ++_i1303) { - _elem1286 = iprot.readString(); - struct.group_names.add(_elem1286); + _elem1302 = iprot.readString(); + struct.group_names.add(_elem1302); } } struct.setGroup_namesIsSet(true); @@ -112728,14 +112883,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 _list1288 = iprot.readListBegin(); - struct.success = new ArrayList(_list1288.size); - Partition _elem1289; - for (int _i1290 = 0; _i1290 < _list1288.size; ++_i1290) + org.apache.thrift.protocol.TList _list1304 = iprot.readListBegin(); + struct.success = new ArrayList(_list1304.size); + Partition _elem1305; + for (int _i1306 = 0; _i1306 < _list1304.size; ++_i1306) { - _elem1289 = new Partition(); - _elem1289.read(iprot); - struct.success.add(_elem1289); + _elem1305 = new Partition(); + _elem1305.read(iprot); + struct.success.add(_elem1305); } iprot.readListEnd(); } @@ -112779,9 +112934,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 _iter1291 : struct.success) + for (Partition _iter1307 : struct.success) { - _iter1291.write(oprot); + _iter1307.write(oprot); } oprot.writeListEnd(); } @@ -112828,9 +112983,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1292 : struct.success) + for (Partition _iter1308 : struct.success) { - _iter1292.write(oprot); + _iter1308.write(oprot); } } } @@ -112848,14 +113003,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 _list1293 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1293.size); - Partition _elem1294; - for (int _i1295 = 0; _i1295 < _list1293.size; ++_i1295) + 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) { - _elem1294 = new Partition(); - _elem1294.read(iprot); - struct.success.add(_elem1294); + _elem1310 = new Partition(); + _elem1310.read(iprot); + struct.success.add(_elem1310); } } struct.setSuccessIsSet(true); @@ -113448,13 +113603,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 _list1296 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1296.size); - String _elem1297; - for (int _i1298 = 0; _i1298 < _list1296.size; ++_i1298) + org.apache.thrift.protocol.TList _list1312 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1312.size); + String _elem1313; + for (int _i1314 = 0; _i1314 < _list1312.size; ++_i1314) { - _elem1297 = iprot.readString(); - struct.part_vals.add(_elem1297); + _elem1313 = iprot.readString(); + struct.part_vals.add(_elem1313); } iprot.readListEnd(); } @@ -113498,9 +113653,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 _iter1299 : struct.part_vals) + for (String _iter1315 : struct.part_vals) { - oprot.writeString(_iter1299); + oprot.writeString(_iter1315); } oprot.writeListEnd(); } @@ -113549,9 +113704,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 _iter1300 : struct.part_vals) + for (String _iter1316 : struct.part_vals) { - oprot.writeString(_iter1300); + oprot.writeString(_iter1316); } } } @@ -113574,13 +113729,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1301 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1301.size); - String _elem1302; - for (int _i1303 = 0; _i1303 < _list1301.size; ++_i1303) + org.apache.thrift.protocol.TList _list1317 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1317.size); + String _elem1318; + for (int _i1319 = 0; _i1319 < _list1317.size; ++_i1319) { - _elem1302 = iprot.readString(); - struct.part_vals.add(_elem1302); + _elem1318 = iprot.readString(); + struct.part_vals.add(_elem1318); } } struct.setPart_valsIsSet(true); @@ -114068,13 +114223,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 _list1304 = iprot.readListBegin(); - struct.success = new ArrayList(_list1304.size); - String _elem1305; - for (int _i1306 = 0; _i1306 < _list1304.size; ++_i1306) + org.apache.thrift.protocol.TList _list1320 = iprot.readListBegin(); + struct.success = new ArrayList(_list1320.size); + String _elem1321; + for (int _i1322 = 0; _i1322 < _list1320.size; ++_i1322) { - _elem1305 = iprot.readString(); - struct.success.add(_elem1305); + _elem1321 = iprot.readString(); + struct.success.add(_elem1321); } iprot.readListEnd(); } @@ -114118,9 +114273,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 _iter1307 : struct.success) + for (String _iter1323 : struct.success) { - oprot.writeString(_iter1307); + oprot.writeString(_iter1323); } oprot.writeListEnd(); } @@ -114167,9 +114322,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1308 : struct.success) + for (String _iter1324 : struct.success) { - oprot.writeString(_iter1308); + oprot.writeString(_iter1324); } } } @@ -114187,13 +114342,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 _list1309 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1309.size); - String _elem1310; - for (int _i1311 = 0; _i1311 < _list1309.size; ++_i1311) + org.apache.thrift.protocol.TList _list1325 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1325.size); + String _elem1326; + for (int _i1327 = 0; _i1327 < _list1325.size; ++_i1327) { - _elem1310 = iprot.readString(); - struct.success.add(_elem1310); + _elem1326 = iprot.readString(); + struct.success.add(_elem1326); } } struct.setSuccessIsSet(true); @@ -115360,14 +115515,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 _list1312 = iprot.readListBegin(); - struct.success = new ArrayList(_list1312.size); - Partition _elem1313; - for (int _i1314 = 0; _i1314 < _list1312.size; ++_i1314) + org.apache.thrift.protocol.TList _list1328 = iprot.readListBegin(); + struct.success = new ArrayList(_list1328.size); + Partition _elem1329; + for (int _i1330 = 0; _i1330 < _list1328.size; ++_i1330) { - _elem1313 = new Partition(); - _elem1313.read(iprot); - struct.success.add(_elem1313); + _elem1329 = new Partition(); + _elem1329.read(iprot); + struct.success.add(_elem1329); } iprot.readListEnd(); } @@ -115411,9 +115566,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 _iter1315 : struct.success) + for (Partition _iter1331 : struct.success) { - _iter1315.write(oprot); + _iter1331.write(oprot); } oprot.writeListEnd(); } @@ -115460,9 +115615,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1316 : struct.success) + for (Partition _iter1332 : struct.success) { - _iter1316.write(oprot); + _iter1332.write(oprot); } } } @@ -115480,14 +115635,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 _list1317 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1317.size); - Partition _elem1318; - for (int _i1319 = 0; _i1319 < _list1317.size; ++_i1319) + org.apache.thrift.protocol.TList _list1333 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1333.size); + Partition _elem1334; + for (int _i1335 = 0; _i1335 < _list1333.size; ++_i1335) { - _elem1318 = new Partition(); - _elem1318.read(iprot); - struct.success.add(_elem1318); + _elem1334 = new Partition(); + _elem1334.read(iprot); + struct.success.add(_elem1334); } } struct.setSuccessIsSet(true); @@ -116654,14 +116809,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 _list1320 = iprot.readListBegin(); - struct.success = new ArrayList(_list1320.size); - PartitionSpec _elem1321; - for (int _i1322 = 0; _i1322 < _list1320.size; ++_i1322) + org.apache.thrift.protocol.TList _list1336 = iprot.readListBegin(); + struct.success = new ArrayList(_list1336.size); + PartitionSpec _elem1337; + for (int _i1338 = 0; _i1338 < _list1336.size; ++_i1338) { - _elem1321 = new PartitionSpec(); - _elem1321.read(iprot); - struct.success.add(_elem1321); + _elem1337 = new PartitionSpec(); + _elem1337.read(iprot); + struct.success.add(_elem1337); } iprot.readListEnd(); } @@ -116705,9 +116860,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 _iter1323 : struct.success) + for (PartitionSpec _iter1339 : struct.success) { - _iter1323.write(oprot); + _iter1339.write(oprot); } oprot.writeListEnd(); } @@ -116754,9 +116909,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 _iter1324 : struct.success) + for (PartitionSpec _iter1340 : struct.success) { - _iter1324.write(oprot); + _iter1340.write(oprot); } } } @@ -116774,14 +116929,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 _list1325 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1325.size); - PartitionSpec _elem1326; - for (int _i1327 = 0; _i1327 < _list1325.size; ++_i1327) + org.apache.thrift.protocol.TList _list1341 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1341.size); + PartitionSpec _elem1342; + for (int _i1343 = 0; _i1343 < _list1341.size; ++_i1343) { - _elem1326 = new PartitionSpec(); - _elem1326.read(iprot); - struct.success.add(_elem1326); + _elem1342 = new PartitionSpec(); + _elem1342.read(iprot); + struct.success.add(_elem1342); } } struct.setSuccessIsSet(true); @@ -119365,13 +119520,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 _list1328 = iprot.readListBegin(); - struct.names = new ArrayList(_list1328.size); - String _elem1329; - for (int _i1330 = 0; _i1330 < _list1328.size; ++_i1330) + org.apache.thrift.protocol.TList _list1344 = iprot.readListBegin(); + struct.names = new ArrayList(_list1344.size); + String _elem1345; + for (int _i1346 = 0; _i1346 < _list1344.size; ++_i1346) { - _elem1329 = iprot.readString(); - struct.names.add(_elem1329); + _elem1345 = iprot.readString(); + struct.names.add(_elem1345); } iprot.readListEnd(); } @@ -119407,9 +119562,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 _iter1331 : struct.names) + for (String _iter1347 : struct.names) { - oprot.writeString(_iter1331); + oprot.writeString(_iter1347); } oprot.writeListEnd(); } @@ -119452,9 +119607,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter1332 : struct.names) + for (String _iter1348 : struct.names) { - oprot.writeString(_iter1332); + oprot.writeString(_iter1348); } } } @@ -119474,13 +119629,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1333 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list1333.size); - String _elem1334; - for (int _i1335 = 0; _i1335 < _list1333.size; ++_i1335) + org.apache.thrift.protocol.TList _list1349 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list1349.size); + String _elem1350; + for (int _i1351 = 0; _i1351 < _list1349.size; ++_i1351) { - _elem1334 = iprot.readString(); - struct.names.add(_elem1334); + _elem1350 = iprot.readString(); + struct.names.add(_elem1350); } } struct.setNamesIsSet(true); @@ -119967,14 +120122,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 _list1336 = iprot.readListBegin(); - struct.success = new ArrayList(_list1336.size); - Partition _elem1337; - for (int _i1338 = 0; _i1338 < _list1336.size; ++_i1338) + org.apache.thrift.protocol.TList _list1352 = iprot.readListBegin(); + struct.success = new ArrayList(_list1352.size); + Partition _elem1353; + for (int _i1354 = 0; _i1354 < _list1352.size; ++_i1354) { - _elem1337 = new Partition(); - _elem1337.read(iprot); - struct.success.add(_elem1337); + _elem1353 = new Partition(); + _elem1353.read(iprot); + struct.success.add(_elem1353); } iprot.readListEnd(); } @@ -120018,9 +120173,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 _iter1339 : struct.success) + for (Partition _iter1355 : struct.success) { - _iter1339.write(oprot); + _iter1355.write(oprot); } oprot.writeListEnd(); } @@ -120067,9 +120222,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1340 : struct.success) + for (Partition _iter1356 : struct.success) { - _iter1340.write(oprot); + _iter1356.write(oprot); } } } @@ -120087,14 +120242,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 _list1341 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1341.size); - Partition _elem1342; - for (int _i1343 = 0; _i1343 < _list1341.size; ++_i1343) + org.apache.thrift.protocol.TList _list1357 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1357.size); + Partition _elem1358; + for (int _i1359 = 0; _i1359 < _list1357.size; ++_i1359) { - _elem1342 = new Partition(); - _elem1342.read(iprot); - struct.success.add(_elem1342); + _elem1358 = new Partition(); + _elem1358.read(iprot); + struct.success.add(_elem1358); } } struct.setSuccessIsSet(true); @@ -121644,14 +121799,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 _list1344 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1344.size); - Partition _elem1345; - for (int _i1346 = 0; _i1346 < _list1344.size; ++_i1346) + org.apache.thrift.protocol.TList _list1360 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1360.size); + Partition _elem1361; + for (int _i1362 = 0; _i1362 < _list1360.size; ++_i1362) { - _elem1345 = new Partition(); - _elem1345.read(iprot); - struct.new_parts.add(_elem1345); + _elem1361 = new Partition(); + _elem1361.read(iprot); + struct.new_parts.add(_elem1361); } iprot.readListEnd(); } @@ -121687,9 +121842,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 _iter1347 : struct.new_parts) + for (Partition _iter1363 : struct.new_parts) { - _iter1347.write(oprot); + _iter1363.write(oprot); } oprot.writeListEnd(); } @@ -121732,9 +121887,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 _iter1348 : struct.new_parts) + for (Partition _iter1364 : struct.new_parts) { - _iter1348.write(oprot); + _iter1364.write(oprot); } } } @@ -121754,14 +121909,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1349 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1349.size); - Partition _elem1350; - for (int _i1351 = 0; _i1351 < _list1349.size; ++_i1351) + org.apache.thrift.protocol.TList _list1365 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1365.size); + Partition _elem1366; + for (int _i1367 = 0; _i1367 < _list1365.size; ++_i1367) { - _elem1350 = new Partition(); - _elem1350.read(iprot); - struct.new_parts.add(_elem1350); + _elem1366 = new Partition(); + _elem1366.read(iprot); + struct.new_parts.add(_elem1366); } } struct.setNew_partsIsSet(true); @@ -122814,14 +122969,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 _list1352 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1352.size); - Partition _elem1353; - for (int _i1354 = 0; _i1354 < _list1352.size; ++_i1354) + org.apache.thrift.protocol.TList _list1368 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1368.size); + Partition _elem1369; + for (int _i1370 = 0; _i1370 < _list1368.size; ++_i1370) { - _elem1353 = new Partition(); - _elem1353.read(iprot); - struct.new_parts.add(_elem1353); + _elem1369 = new Partition(); + _elem1369.read(iprot); + struct.new_parts.add(_elem1369); } iprot.readListEnd(); } @@ -122866,9 +123021,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 _iter1355 : struct.new_parts) + for (Partition _iter1371 : struct.new_parts) { - _iter1355.write(oprot); + _iter1371.write(oprot); } oprot.writeListEnd(); } @@ -122919,9 +123074,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 _iter1356 : struct.new_parts) + for (Partition _iter1372 : struct.new_parts) { - _iter1356.write(oprot); + _iter1372.write(oprot); } } } @@ -122944,14 +123099,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1357 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1357.size); - Partition _elem1358; - for (int _i1359 = 0; _i1359 < _list1357.size; ++_i1359) + org.apache.thrift.protocol.TList _list1373 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1373.size); + Partition _elem1374; + for (int _i1375 = 0; _i1375 < _list1373.size; ++_i1375) { - _elem1358 = new Partition(); - _elem1358.read(iprot); - struct.new_parts.add(_elem1358); + _elem1374 = new Partition(); + _elem1374.read(iprot); + struct.new_parts.add(_elem1374); } } struct.setNew_partsIsSet(true); @@ -125152,13 +125307,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 _list1360 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1360.size); - String _elem1361; - for (int _i1362 = 0; _i1362 < _list1360.size; ++_i1362) + org.apache.thrift.protocol.TList _list1376 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1376.size); + String _elem1377; + for (int _i1378 = 0; _i1378 < _list1376.size; ++_i1378) { - _elem1361 = iprot.readString(); - struct.part_vals.add(_elem1361); + _elem1377 = iprot.readString(); + struct.part_vals.add(_elem1377); } iprot.readListEnd(); } @@ -125203,9 +125358,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 _iter1363 : struct.part_vals) + for (String _iter1379 : struct.part_vals) { - oprot.writeString(_iter1363); + oprot.writeString(_iter1379); } oprot.writeListEnd(); } @@ -125256,9 +125411,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 _iter1364 : struct.part_vals) + for (String _iter1380 : struct.part_vals) { - oprot.writeString(_iter1364); + oprot.writeString(_iter1380); } } } @@ -125281,13 +125436,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1365 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1365.size); - String _elem1366; - for (int _i1367 = 0; _i1367 < _list1365.size; ++_i1367) + org.apache.thrift.protocol.TList _list1381 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1381.size); + String _elem1382; + for (int _i1383 = 0; _i1383 < _list1381.size; ++_i1383) { - _elem1366 = iprot.readString(); - struct.part_vals.add(_elem1366); + _elem1382 = iprot.readString(); + struct.part_vals.add(_elem1382); } } struct.setPart_valsIsSet(true); @@ -126161,13 +126316,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 _list1368 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1368.size); - String _elem1369; - for (int _i1370 = 0; _i1370 < _list1368.size; ++_i1370) + org.apache.thrift.protocol.TList _list1384 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1384.size); + String _elem1385; + for (int _i1386 = 0; _i1386 < _list1384.size; ++_i1386) { - _elem1369 = iprot.readString(); - struct.part_vals.add(_elem1369); + _elem1385 = iprot.readString(); + struct.part_vals.add(_elem1385); } iprot.readListEnd(); } @@ -126201,9 +126356,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 _iter1371 : struct.part_vals) + for (String _iter1387 : struct.part_vals) { - oprot.writeString(_iter1371); + oprot.writeString(_iter1387); } oprot.writeListEnd(); } @@ -126240,9 +126395,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 _iter1372 : struct.part_vals) + for (String _iter1388 : struct.part_vals) { - oprot.writeString(_iter1372); + oprot.writeString(_iter1388); } } } @@ -126257,13 +126412,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 _list1373 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1373.size); - String _elem1374; - for (int _i1375 = 0; _i1375 < _list1373.size; ++_i1375) + org.apache.thrift.protocol.TList _list1389 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1389.size); + String _elem1390; + for (int _i1391 = 0; _i1391 < _list1389.size; ++_i1391) { - _elem1374 = iprot.readString(); - struct.part_vals.add(_elem1374); + _elem1390 = iprot.readString(); + struct.part_vals.add(_elem1390); } } struct.setPart_valsIsSet(true); @@ -128418,13 +128573,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 _list1376 = iprot.readListBegin(); - struct.success = new ArrayList(_list1376.size); - String _elem1377; - for (int _i1378 = 0; _i1378 < _list1376.size; ++_i1378) + org.apache.thrift.protocol.TList _list1392 = iprot.readListBegin(); + struct.success = new ArrayList(_list1392.size); + String _elem1393; + for (int _i1394 = 0; _i1394 < _list1392.size; ++_i1394) { - _elem1377 = iprot.readString(); - struct.success.add(_elem1377); + _elem1393 = iprot.readString(); + struct.success.add(_elem1393); } iprot.readListEnd(); } @@ -128459,9 +128614,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 _iter1379 : struct.success) + for (String _iter1395 : struct.success) { - oprot.writeString(_iter1379); + oprot.writeString(_iter1395); } oprot.writeListEnd(); } @@ -128500,9 +128655,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1380 : struct.success) + for (String _iter1396 : struct.success) { - oprot.writeString(_iter1380); + oprot.writeString(_iter1396); } } } @@ -128517,13 +128672,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 _list1381 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1381.size); - String _elem1382; - for (int _i1383 = 0; _i1383 < _list1381.size; ++_i1383) + org.apache.thrift.protocol.TList _list1397 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1397.size); + String _elem1398; + for (int _i1399 = 0; _i1399 < _list1397.size; ++_i1399) { - _elem1382 = iprot.readString(); - struct.success.add(_elem1382); + _elem1398 = iprot.readString(); + struct.success.add(_elem1398); } } struct.setSuccessIsSet(true); @@ -129286,15 +129441,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 _map1384 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1384.size); - String _key1385; - String _val1386; - for (int _i1387 = 0; _i1387 < _map1384.size; ++_i1387) + org.apache.thrift.protocol.TMap _map1400 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1400.size); + String _key1401; + String _val1402; + for (int _i1403 = 0; _i1403 < _map1400.size; ++_i1403) { - _key1385 = iprot.readString(); - _val1386 = iprot.readString(); - struct.success.put(_key1385, _val1386); + _key1401 = iprot.readString(); + _val1402 = iprot.readString(); + struct.success.put(_key1401, _val1402); } iprot.readMapEnd(); } @@ -129329,10 +129484,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 _iter1388 : struct.success.entrySet()) + for (Map.Entry _iter1404 : struct.success.entrySet()) { - oprot.writeString(_iter1388.getKey()); - oprot.writeString(_iter1388.getValue()); + oprot.writeString(_iter1404.getKey()); + oprot.writeString(_iter1404.getValue()); } oprot.writeMapEnd(); } @@ -129371,10 +129526,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 _iter1389 : struct.success.entrySet()) + for (Map.Entry _iter1405 : struct.success.entrySet()) { - oprot.writeString(_iter1389.getKey()); - oprot.writeString(_iter1389.getValue()); + oprot.writeString(_iter1405.getKey()); + oprot.writeString(_iter1405.getValue()); } } } @@ -129389,15 +129544,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 _map1390 = 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*_map1390.size); - String _key1391; - String _val1392; - for (int _i1393 = 0; _i1393 < _map1390.size; ++_i1393) + org.apache.thrift.protocol.TMap _map1406 = 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*_map1406.size); + String _key1407; + String _val1408; + for (int _i1409 = 0; _i1409 < _map1406.size; ++_i1409) { - _key1391 = iprot.readString(); - _val1392 = iprot.readString(); - struct.success.put(_key1391, _val1392); + _key1407 = iprot.readString(); + _val1408 = iprot.readString(); + struct.success.put(_key1407, _val1408); } } struct.setSuccessIsSet(true); @@ -129992,15 +130147,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 _map1394 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1394.size); - String _key1395; - String _val1396; - for (int _i1397 = 0; _i1397 < _map1394.size; ++_i1397) + org.apache.thrift.protocol.TMap _map1410 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1410.size); + String _key1411; + String _val1412; + for (int _i1413 = 0; _i1413 < _map1410.size; ++_i1413) { - _key1395 = iprot.readString(); - _val1396 = iprot.readString(); - struct.part_vals.put(_key1395, _val1396); + _key1411 = iprot.readString(); + _val1412 = iprot.readString(); + struct.part_vals.put(_key1411, _val1412); } iprot.readMapEnd(); } @@ -130044,10 +130199,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 _iter1398 : struct.part_vals.entrySet()) + for (Map.Entry _iter1414 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1398.getKey()); - oprot.writeString(_iter1398.getValue()); + oprot.writeString(_iter1414.getKey()); + oprot.writeString(_iter1414.getValue()); } oprot.writeMapEnd(); } @@ -130098,10 +130253,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1399 : struct.part_vals.entrySet()) + for (Map.Entry _iter1415 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1399.getKey()); - oprot.writeString(_iter1399.getValue()); + oprot.writeString(_iter1415.getKey()); + oprot.writeString(_iter1415.getValue()); } } } @@ -130124,15 +130279,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1400 = 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*_map1400.size); - String _key1401; - String _val1402; - for (int _i1403 = 0; _i1403 < _map1400.size; ++_i1403) + org.apache.thrift.protocol.TMap _map1416 = 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*_map1416.size); + String _key1417; + String _val1418; + for (int _i1419 = 0; _i1419 < _map1416.size; ++_i1419) { - _key1401 = iprot.readString(); - _val1402 = iprot.readString(); - struct.part_vals.put(_key1401, _val1402); + _key1417 = iprot.readString(); + _val1418 = iprot.readString(); + struct.part_vals.put(_key1417, _val1418); } } struct.setPart_valsIsSet(true); @@ -131616,15 +131771,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 _map1404 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1404.size); - String _key1405; - String _val1406; - for (int _i1407 = 0; _i1407 < _map1404.size; ++_i1407) + org.apache.thrift.protocol.TMap _map1420 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1420.size); + String _key1421; + String _val1422; + for (int _i1423 = 0; _i1423 < _map1420.size; ++_i1423) { - _key1405 = iprot.readString(); - _val1406 = iprot.readString(); - struct.part_vals.put(_key1405, _val1406); + _key1421 = iprot.readString(); + _val1422 = iprot.readString(); + struct.part_vals.put(_key1421, _val1422); } iprot.readMapEnd(); } @@ -131668,10 +131823,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 _iter1408 : struct.part_vals.entrySet()) + for (Map.Entry _iter1424 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1408.getKey()); - oprot.writeString(_iter1408.getValue()); + oprot.writeString(_iter1424.getKey()); + oprot.writeString(_iter1424.getValue()); } oprot.writeMapEnd(); } @@ -131722,10 +131877,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1409 : struct.part_vals.entrySet()) + for (Map.Entry _iter1425 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1409.getKey()); - oprot.writeString(_iter1409.getValue()); + oprot.writeString(_iter1425.getKey()); + oprot.writeString(_iter1425.getValue()); } } } @@ -131748,15 +131903,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1410 = 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*_map1410.size); - String _key1411; - String _val1412; - for (int _i1413 = 0; _i1413 < _map1410.size; ++_i1413) + org.apache.thrift.protocol.TMap _map1426 = 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*_map1426.size); + String _key1427; + String _val1428; + for (int _i1429 = 0; _i1429 < _map1426.size; ++_i1429) { - _key1411 = iprot.readString(); - _val1412 = iprot.readString(); - struct.part_vals.put(_key1411, _val1412); + _key1427 = iprot.readString(); + _val1428 = iprot.readString(); + struct.part_vals.put(_key1427, _val1428); } } struct.setPart_valsIsSet(true); @@ -154112,13 +154267,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 _list1414 = iprot.readListBegin(); - struct.success = new ArrayList(_list1414.size); - String _elem1415; - for (int _i1416 = 0; _i1416 < _list1414.size; ++_i1416) + org.apache.thrift.protocol.TList _list1430 = iprot.readListBegin(); + struct.success = new ArrayList(_list1430.size); + String _elem1431; + for (int _i1432 = 0; _i1432 < _list1430.size; ++_i1432) { - _elem1415 = iprot.readString(); - struct.success.add(_elem1415); + _elem1431 = iprot.readString(); + struct.success.add(_elem1431); } iprot.readListEnd(); } @@ -154153,9 +154308,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 _iter1417 : struct.success) + for (String _iter1433 : struct.success) { - oprot.writeString(_iter1417); + oprot.writeString(_iter1433); } oprot.writeListEnd(); } @@ -154194,9 +154349,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1418 : struct.success) + for (String _iter1434 : struct.success) { - oprot.writeString(_iter1418); + oprot.writeString(_iter1434); } } } @@ -154211,13 +154366,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 _list1419 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1419.size); - String _elem1420; - for (int _i1421 = 0; _i1421 < _list1419.size; ++_i1421) + 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) { - _elem1420 = iprot.readString(); - struct.success.add(_elem1420); + _elem1436 = iprot.readString(); + struct.success.add(_elem1436); } } struct.setSuccessIsSet(true); @@ -158272,13 +158427,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 _list1422 = iprot.readListBegin(); - struct.success = new ArrayList(_list1422.size); - String _elem1423; - for (int _i1424 = 0; _i1424 < _list1422.size; ++_i1424) + org.apache.thrift.protocol.TList _list1438 = iprot.readListBegin(); + struct.success = new ArrayList(_list1438.size); + String _elem1439; + for (int _i1440 = 0; _i1440 < _list1438.size; ++_i1440) { - _elem1423 = iprot.readString(); - struct.success.add(_elem1423); + _elem1439 = iprot.readString(); + struct.success.add(_elem1439); } iprot.readListEnd(); } @@ -158313,9 +158468,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 _iter1425 : struct.success) + for (String _iter1441 : struct.success) { - oprot.writeString(_iter1425); + oprot.writeString(_iter1441); } oprot.writeListEnd(); } @@ -158354,9 +158509,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1426 : struct.success) + for (String _iter1442 : struct.success) { - oprot.writeString(_iter1426); + oprot.writeString(_iter1442); } } } @@ -158371,13 +158526,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 _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 _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) { - _elem1428 = iprot.readString(); - struct.success.add(_elem1428); + _elem1444 = iprot.readString(); + struct.success.add(_elem1444); } } struct.setSuccessIsSet(true); @@ -161668,14 +161823,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 _list1430 = iprot.readListBegin(); - struct.success = new ArrayList(_list1430.size); - Role _elem1431; - for (int _i1432 = 0; _i1432 < _list1430.size; ++_i1432) + org.apache.thrift.protocol.TList _list1446 = iprot.readListBegin(); + struct.success = new ArrayList(_list1446.size); + Role _elem1447; + for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) { - _elem1431 = new Role(); - _elem1431.read(iprot); - struct.success.add(_elem1431); + _elem1447 = new Role(); + _elem1447.read(iprot); + struct.success.add(_elem1447); } iprot.readListEnd(); } @@ -161710,9 +161865,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 _iter1433 : struct.success) + for (Role _iter1449 : struct.success) { - _iter1433.write(oprot); + _iter1449.write(oprot); } oprot.writeListEnd(); } @@ -161751,9 +161906,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1434 : struct.success) + for (Role _iter1450 : struct.success) { - _iter1434.write(oprot); + _iter1450.write(oprot); } } } @@ -161768,14 +161923,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 _list1435 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1435.size); - Role _elem1436; - for (int _i1437 = 0; _i1437 < _list1435.size; ++_i1437) + 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); + Role _elem1452; + for (int _i1453 = 0; _i1453 < _list1451.size; ++_i1453) { - _elem1436 = new Role(); - _elem1436.read(iprot); - struct.success.add(_elem1436); + _elem1452 = new Role(); + _elem1452.read(iprot); + struct.success.add(_elem1452); } } struct.setSuccessIsSet(true); @@ -164780,13 +164935,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 _list1438 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1438.size); - String _elem1439; - for (int _i1440 = 0; _i1440 < _list1438.size; ++_i1440) + org.apache.thrift.protocol.TList _list1454 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1454.size); + String _elem1455; + for (int _i1456 = 0; _i1456 < _list1454.size; ++_i1456) { - _elem1439 = iprot.readString(); - struct.group_names.add(_elem1439); + _elem1455 = iprot.readString(); + struct.group_names.add(_elem1455); } iprot.readListEnd(); } @@ -164822,9 +164977,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 _iter1441 : struct.group_names) + for (String _iter1457 : struct.group_names) { - oprot.writeString(_iter1441); + oprot.writeString(_iter1457); } oprot.writeListEnd(); } @@ -164867,9 +165022,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 _iter1442 : struct.group_names) + for (String _iter1458 : struct.group_names) { - oprot.writeString(_iter1442); + oprot.writeString(_iter1458); } } } @@ -164890,13 +165045,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1443 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1443.size); - String _elem1444; - for (int _i1445 = 0; _i1445 < _list1443.size; ++_i1445) + org.apache.thrift.protocol.TList _list1459 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1459.size); + String _elem1460; + for (int _i1461 = 0; _i1461 < _list1459.size; ++_i1461) { - _elem1444 = iprot.readString(); - struct.group_names.add(_elem1444); + _elem1460 = iprot.readString(); + struct.group_names.add(_elem1460); } } struct.setGroup_namesIsSet(true); @@ -166354,14 +166509,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 _list1446 = iprot.readListBegin(); - struct.success = new ArrayList(_list1446.size); - HiveObjectPrivilege _elem1447; - for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) + org.apache.thrift.protocol.TList _list1462 = iprot.readListBegin(); + struct.success = new ArrayList(_list1462.size); + HiveObjectPrivilege _elem1463; + for (int _i1464 = 0; _i1464 < _list1462.size; ++_i1464) { - _elem1447 = new HiveObjectPrivilege(); - _elem1447.read(iprot); - struct.success.add(_elem1447); + _elem1463 = new HiveObjectPrivilege(); + _elem1463.read(iprot); + struct.success.add(_elem1463); } iprot.readListEnd(); } @@ -166396,9 +166551,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 _iter1449 : struct.success) + for (HiveObjectPrivilege _iter1465 : struct.success) { - _iter1449.write(oprot); + _iter1465.write(oprot); } oprot.writeListEnd(); } @@ -166437,9 +166592,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1450 : struct.success) + for (HiveObjectPrivilege _iter1466 : struct.success) { - _iter1450.write(oprot); + _iter1466.write(oprot); } } } @@ -166454,14 +166609,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 _list1451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1451.size); - HiveObjectPrivilege _elem1452; - for (int _i1453 = 0; _i1453 < _list1451.size; ++_i1453) + org.apache.thrift.protocol.TList _list1467 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1467.size); + HiveObjectPrivilege _elem1468; + for (int _i1469 = 0; _i1469 < _list1467.size; ++_i1469) { - _elem1452 = new HiveObjectPrivilege(); - _elem1452.read(iprot); - struct.success.add(_elem1452); + _elem1468 = new HiveObjectPrivilege(); + _elem1468.read(iprot); + struct.success.add(_elem1468); } } struct.setSuccessIsSet(true); @@ -169363,13 +169518,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 _list1454 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1454.size); - String _elem1455; - for (int _i1456 = 0; _i1456 < _list1454.size; ++_i1456) + org.apache.thrift.protocol.TList _list1470 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1470.size); + String _elem1471; + for (int _i1472 = 0; _i1472 < _list1470.size; ++_i1472) { - _elem1455 = iprot.readString(); - struct.group_names.add(_elem1455); + _elem1471 = iprot.readString(); + struct.group_names.add(_elem1471); } iprot.readListEnd(); } @@ -169400,9 +169555,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 _iter1457 : struct.group_names) + for (String _iter1473 : struct.group_names) { - oprot.writeString(_iter1457); + oprot.writeString(_iter1473); } oprot.writeListEnd(); } @@ -169439,9 +169594,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 _iter1458 : struct.group_names) + for (String _iter1474 : struct.group_names) { - oprot.writeString(_iter1458); + oprot.writeString(_iter1474); } } } @@ -169457,13 +169612,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1459 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1459.size); - String _elem1460; - for (int _i1461 = 0; _i1461 < _list1459.size; ++_i1461) + org.apache.thrift.protocol.TList _list1475 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1475.size); + String _elem1476; + for (int _i1477 = 0; _i1477 < _list1475.size; ++_i1477) { - _elem1460 = iprot.readString(); - struct.group_names.add(_elem1460); + _elem1476 = iprot.readString(); + struct.group_names.add(_elem1476); } } struct.setGroup_namesIsSet(true); @@ -169866,13 +170021,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 _list1462 = iprot.readListBegin(); - struct.success = new ArrayList(_list1462.size); - String _elem1463; - for (int _i1464 = 0; _i1464 < _list1462.size; ++_i1464) + org.apache.thrift.protocol.TList _list1478 = iprot.readListBegin(); + struct.success = new ArrayList(_list1478.size); + String _elem1479; + for (int _i1480 = 0; _i1480 < _list1478.size; ++_i1480) { - _elem1463 = iprot.readString(); - struct.success.add(_elem1463); + _elem1479 = iprot.readString(); + struct.success.add(_elem1479); } iprot.readListEnd(); } @@ -169907,9 +170062,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 _iter1465 : struct.success) + for (String _iter1481 : struct.success) { - oprot.writeString(_iter1465); + oprot.writeString(_iter1481); } oprot.writeListEnd(); } @@ -169948,9 +170103,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1466 : struct.success) + for (String _iter1482 : struct.success) { - oprot.writeString(_iter1466); + oprot.writeString(_iter1482); } } } @@ -169965,13 +170120,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 _list1467 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1467.size); - String _elem1468; - for (int _i1469 = 0; _i1469 < _list1467.size; ++_i1469) + org.apache.thrift.protocol.TList _list1483 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1483.size); + String _elem1484; + for (int _i1485 = 0; _i1485 < _list1483.size; ++_i1485) { - _elem1468 = iprot.readString(); - struct.success.add(_elem1468); + _elem1484 = iprot.readString(); + struct.success.add(_elem1484); } } struct.setSuccessIsSet(true); @@ -175262,13 +175417,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 _list1470 = iprot.readListBegin(); - struct.success = new ArrayList(_list1470.size); - String _elem1471; - for (int _i1472 = 0; _i1472 < _list1470.size; ++_i1472) + org.apache.thrift.protocol.TList _list1486 = iprot.readListBegin(); + struct.success = new ArrayList(_list1486.size); + String _elem1487; + for (int _i1488 = 0; _i1488 < _list1486.size; ++_i1488) { - _elem1471 = iprot.readString(); - struct.success.add(_elem1471); + _elem1487 = iprot.readString(); + struct.success.add(_elem1487); } iprot.readListEnd(); } @@ -175294,9 +175449,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 _iter1473 : struct.success) + for (String _iter1489 : struct.success) { - oprot.writeString(_iter1473); + oprot.writeString(_iter1489); } oprot.writeListEnd(); } @@ -175327,9 +175482,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1474 : struct.success) + for (String _iter1490 : struct.success) { - oprot.writeString(_iter1474); + oprot.writeString(_iter1490); } } } @@ -175341,13 +175496,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 _list1475 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1475.size); - String _elem1476; - for (int _i1477 = 0; _i1477 < _list1475.size; ++_i1477) + org.apache.thrift.protocol.TList _list1491 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1491.size); + String _elem1492; + for (int _i1493 = 0; _i1493 < _list1491.size; ++_i1493) { - _elem1476 = iprot.readString(); - struct.success.add(_elem1476); + _elem1492 = iprot.readString(); + struct.success.add(_elem1492); } } struct.setSuccessIsSet(true); @@ -178141,17 +178296,669 @@ 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.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(get_master_keys_result.class, metaDataMap); + } + + public get_master_keys_result() { + } + + public get_master_keys_result( + List success) + { + this(); + this.success = success; + } + + /** + * Performs a deep copy on other. + */ + 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 get_master_keys_result deepCopy() { + return new get_master_keys_result(this); + } + + @Override + 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() { + return this.success; + } + + public void setSuccess(List 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 void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((List)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return getSuccess(); + + } + 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 get_master_keys_result) + return this.equals((get_master_keys_result)that); + return false; + } + + public boolean equals(get_master_keys_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; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true && (isSetSuccess()); + list.add(present_success); + if (present_success) + list.add(success); + + return list.hashCode(); + } + + @Override + public int compareTo(get_master_keys_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("get_master_keys_result("); + boolean first = true; + + sb.append("success:"); + if (this.success == null) { + sb.append("null"); + } else { + 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 { + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class get_master_keys_resultStandardSchemeFactory implements SchemeFactory { + public get_master_keys_resultStandardScheme getScheme() { + return new get_master_keys_resultStandardScheme(); + } + } + + private static class get_master_keys_resultStandardScheme extends StandardScheme { + + 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) + { + 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.LIST) { + { + org.apache.thrift.protocol.TList _list1494 = iprot.readListBegin(); + struct.success = new ArrayList(_list1494.size); + String _elem1495; + for (int _i1496 = 0; _i1496 < _list1494.size; ++_i1496) + { + _elem1495 = iprot.readString(); + struct.success.add(_elem1495); + } + iprot.readListEnd(); + } + 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, get_master_keys_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 _iter1497 : struct.success) + { + oprot.writeString(_iter1497); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + 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_master_keys_resultTupleScheme extends TupleScheme { + + @Override + 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()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetSuccess()) { + { + oprot.writeI32(struct.success.size()); + for (String _iter1498 : struct.success) + { + oprot.writeString(_iter1498); + } + } + } + } + + @Override + 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)) { + { + org.apache.thrift.protocol.TList _list1499 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1499.size); + String _elem1500; + for (int _i1501 = 0; _i1501 < _list1499.size; ++_i1501) + { + _elem1500 = iprot.readString(); + struct.success.add(_elem1500); + } + } + struct.setSuccessIsSet(true); + } + } + } + + } + + @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_open_txns_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_open_txns_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); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_args.class, metaDataMap); + } + + public get_open_txns_args() { + } + + /** + * Performs a deep copy on other. + */ + public get_open_txns_args(get_open_txns_args other) { + } + + public get_open_txns_args deepCopy() { + return new get_open_txns_args(this); + } + + @Override + public void clear() { + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + } + 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) { + } + throw new IllegalStateException(); + } + + @Override + 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); + return false; + } + + public boolean equals(get_open_txns_args that) { + if (that == null) + return false; + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + return list.hashCode(); + } + + @Override + public int compareTo(get_open_txns_args other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("get_open_txns_args("); + boolean first = true; + + 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 { + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class get_open_txns_argsStandardSchemeFactory implements SchemeFactory { + public get_open_txns_argsStandardScheme getScheme() { + return new get_open_txns_argsStandardScheme(); + } + } + + private static class get_open_txns_argsStandardScheme extends StandardScheme { + + 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) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + 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_argsTupleScheme extends TupleScheme { + + @Override + 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_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_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.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()); + } + + 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 { + 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 + 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, 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; @@ -178160,15 +178967,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 @@ -178176,26 +178982,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; } @@ -178220,7 +179011,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((List)value); + setSuccess((GetOpenTxnsResponse)value); } break; @@ -178253,12 +179044,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; @@ -178287,7 +179078,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()); } @@ -178321,7 +179112,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:"); @@ -178338,6 +179129,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 { @@ -178356,15 +179150,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) @@ -178375,18 +179169,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 _list1478 = iprot.readListBegin(); - struct.success = new ArrayList(_list1478.size); - String _elem1479; - for (int _i1480 = 0; _i1480 < _list1478.size; ++_i1480) - { - _elem1479 = iprot.readString(); - struct.success.add(_elem1479); - } - 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); @@ -178401,20 +179186,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 _iter1481 : struct.success) - { - oprot.writeString(_iter1481); - } - oprot.writeListEnd(); - } + struct.success.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -178423,16 +179201,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()) { @@ -178440,31 +179218,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 _iter1482 : struct.success) - { - oprot.writeString(_iter1482); - } - } + 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 _list1483 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1483.size); - String _elem1484; - for (int _i1485 = 0; _i1485 < _list1483.size; ++_i1485) - { - _elem1484 = iprot.readString(); - struct.success.add(_elem1484); - } - } + struct.success = new GetOpenTxnsResponse(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } } @@ -178472,14 +179236,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()); } @@ -178542,20 +179306,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 @@ -178588,12 +179352,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; @@ -178608,7 +179372,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()); } @@ -178632,7 +179396,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(")"); @@ -178660,15 +179424,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) @@ -178687,7 +179451,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); @@ -178697,39 +179461,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 { @@ -178794,16 +179558,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; @@ -178812,14 +179576,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 @@ -178827,11 +179591,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; } @@ -178856,7 +179620,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((GetOpenTxnsResponse)value); + setSuccess((GetOpenTxnsInfoResponse)value); } break; @@ -178889,12 +179653,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; @@ -178923,7 +179687,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()); } @@ -178957,7 +179721,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:"); @@ -178995,15 +179759,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) @@ -179015,7 +179779,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 { @@ -179031,7 +179795,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); @@ -179046,16 +179810,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()) { @@ -179068,11 +179832,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); } @@ -179081,20 +179845,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(); @@ -179109,6 +179875,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; } @@ -179147,37 +179915,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(); } @@ -179189,6 +180006,8 @@ public boolean isSet(_Fields field) { } switch (field) { + case RQST: + return isSetRqst(); } throw new IllegalStateException(); } @@ -179197,15 +180016,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; } @@ -179213,17 +180041,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; } @@ -179241,9 +180084,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(); } @@ -179251,6 +180101,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 { @@ -179269,15 +180122,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) @@ -179287,6 +180140,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); } @@ -179296,49 +180158,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 { @@ -179403,16 +180284,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; @@ -179421,14 +180302,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 @@ -179436,11 +180317,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; } @@ -179465,7 +180346,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((GetOpenTxnsInfoResponse)value); + setSuccess((OpenTxnsResponse)value); } break; @@ -179498,12 +180379,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; @@ -179532,7 +180413,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()); } @@ -179566,7 +180447,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:"); @@ -179604,15 +180485,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) @@ -179624,7 +180505,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 { @@ -179640,7 +180521,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); @@ -179655,16 +180536,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()) { @@ -179677,11 +180558,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); } @@ -179690,18 +180571,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 { @@ -179766,16 +180647,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; @@ -179784,14 +180665,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 @@ -179799,11 +180680,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; } @@ -179828,7 +180709,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((OpenTxnRequest)value); + setRqst((AbortTxnRequest)value); } break; @@ -179861,12 +180742,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; @@ -179895,7 +180776,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()); } @@ -179929,7 +180810,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:"); @@ -179967,15 +180848,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) @@ -179987,7 +180868,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 { @@ -180003,7 +180884,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); @@ -180018,16 +180899,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()) { @@ -180040,11 +180921,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); } @@ -180053,22 +180934,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(); @@ -180083,8 +180964,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; } @@ -180128,70 +181009,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; @@ -180200,8 +181081,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(); @@ -180214,8 +181095,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case SUCCESS: - return isSetSuccess(); + case O1: + return isSetO1(); } throw new IllegalStateException(); } @@ -180224,21 +181105,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; } @@ -180249,28 +181130,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; } @@ -180292,14 +181173,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(")"); @@ -180309,9 +181190,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 { @@ -180330,15 +181208,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) @@ -180348,11 +181226,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); } @@ -180366,13 +181244,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(); @@ -180381,53 +181259,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 { @@ -180492,16 +181370,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; @@ -180510,14 +181388,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 @@ -180525,11 +181403,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; } @@ -180554,7 +181432,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((AbortTxnRequest)value); + setRqst((AbortTxnsRequest)value); } break; @@ -180587,12 +181465,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; @@ -180621,7 +181499,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()); } @@ -180655,7 +181533,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:"); @@ -180693,15 +181571,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) @@ -180713,7 +181591,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 { @@ -180729,7 +181607,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); @@ -180744,16 +181622,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()) { @@ -180766,11 +181644,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); } @@ -180779,15 +181657,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 @@ -180857,13 +181735,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(); @@ -180873,14 +181751,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 @@ -180950,12 +181828,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; @@ -180984,7 +181862,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()); } @@ -181018,7 +181896,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:"); @@ -181053,15 +181931,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) @@ -181089,7 +181967,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); @@ -181104,16 +181982,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()) { @@ -181126,7 +182004,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)) { @@ -181139,18 +182017,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 { @@ -181215,16 +182093,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; @@ -181233,14 +182111,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 @@ -181248,11 +182126,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; } @@ -181277,7 +182155,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((AbortTxnsRequest)value); + setRqst((CommitTxnRequest)value); } break; @@ -181310,12 +182188,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; @@ -181344,7 +182222,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()); } @@ -181378,7 +182256,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:"); @@ -181416,15 +182294,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) @@ -181436,7 +182314,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 { @@ -181452,7 +182330,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); @@ -181467,16 +182345,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()) { @@ -181489,11 +182367,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); } @@ -181502,22 +182380,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(); @@ -181534,6 +182415,8 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // O1 return O1; + case 2: // O2 + return O2; default: return null; } @@ -181579,36 +182462,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() { @@ -181634,6 +182525,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: @@ -181644,6 +182558,14 @@ public void setFieldValue(_Fields field, Object value) { } break; + case O2: + if (value == null) { + unsetO2(); + } else { + setO2((TxnAbortedException)value); + } + break; + } } @@ -181652,6 +182574,9 @@ public Object getFieldValue(_Fields field) { case O1: return getO1(); + case O2: + return getO2(); + } throw new IllegalStateException(); } @@ -181665,6 +182590,8 @@ public boolean isSet(_Fields field) { switch (field) { case O1: return isSetO1(); + case O2: + return isSetO2(); } throw new IllegalStateException(); } @@ -181673,12 +182600,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; @@ -181691,6 +182618,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; } @@ -181703,11 +182639,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()); } @@ -181724,6 +182665,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; } @@ -181741,7 +182692,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:"); @@ -181751,6 +182702,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(); } @@ -181776,15 +182735,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) @@ -181803,6 +182762,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); } @@ -181812,7 +182780,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); @@ -181821,59 +182789,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_write_ids_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_write_ids_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_write_ids_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_valid_write_ids_argsTupleSchemeFactory()); } - private CommitTxnRequest rqst; // required + private GetValidWriteIdsRequest 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 { @@ -181938,16 +182922,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, GetValidWriteIdsRequest.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_write_ids_args.class, metaDataMap); } - public commit_txn_args() { + public get_valid_write_ids_args() { } - public commit_txn_args( - CommitTxnRequest rqst) + public get_valid_write_ids_args( + GetValidWriteIdsRequest rqst) { this(); this.rqst = rqst; @@ -181956,14 +182940,14 @@ public commit_txn_args( /** * Performs a deep copy on other. */ - public commit_txn_args(commit_txn_args other) { + public get_valid_write_ids_args(get_valid_write_ids_args other) { if (other.isSetRqst()) { - this.rqst = new CommitTxnRequest(other.rqst); + this.rqst = new GetValidWriteIdsRequest(other.rqst); } } - public commit_txn_args deepCopy() { - return new commit_txn_args(this); + public get_valid_write_ids_args deepCopy() { + return new get_valid_write_ids_args(this); } @Override @@ -181971,11 +182955,11 @@ public void clear() { this.rqst = null; } - public CommitTxnRequest getRqst() { + public GetValidWriteIdsRequest getRqst() { return this.rqst; } - public void setRqst(CommitTxnRequest rqst) { + public void setRqst(GetValidWriteIdsRequest rqst) { this.rqst = rqst; } @@ -182000,7 +182984,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((CommitTxnRequest)value); + setRqst((GetValidWriteIdsRequest)value); } break; @@ -182033,12 +183017,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_write_ids_args) + return this.equals((get_valid_write_ids_args)that); return false; } - public boolean equals(commit_txn_args that) { + public boolean equals(get_valid_write_ids_args that) { if (that == null) return false; @@ -182067,7 +183051,7 @@ public int hashCode() { } @Override - public int compareTo(commit_txn_args other) { + public int compareTo(get_valid_write_ids_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -182101,7 +183085,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_write_ids_args("); boolean first = true; sb.append("rqst:"); @@ -182139,15 +183123,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_write_ids_argsStandardSchemeFactory implements SchemeFactory { + public get_valid_write_ids_argsStandardScheme getScheme() { + return new get_valid_write_ids_argsStandardScheme(); } } - private static class commit_txn_argsStandardScheme extends StandardScheme { + private static class get_valid_write_ids_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_write_ids_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -182159,7 +183143,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 GetValidWriteIdsRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } else { @@ -182175,7 +183159,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_write_ids_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -182190,16 +183174,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_write_ids_argsTupleSchemeFactory implements SchemeFactory { + public get_valid_write_ids_argsTupleScheme getScheme() { + return new get_valid_write_ids_argsTupleScheme(); } } - private static class commit_txn_argsTupleScheme extends TupleScheme { + private static class get_valid_write_ids_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_write_ids_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetRqst()) { @@ -182212,11 +183196,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_write_ids_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 GetValidWriteIdsRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } @@ -182225,23 +183209,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_write_ids_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_write_ids_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_write_ids_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_valid_write_ids_resultTupleSchemeFactory()); } + private GetValidWriteIdsResponse 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"); @@ -182258,6 +183245,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 @@ -182305,22 +183294,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, GetValidWriteIdsResponse.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_write_ids_result.class, metaDataMap); } - public commit_txn_result() { + public get_valid_write_ids_result() { } - public commit_txn_result( + public get_valid_write_ids_result( + GetValidWriteIdsResponse success, NoSuchTxnException o1, - TxnAbortedException o2) + MetaException o2) { this(); + this.success = success; this.o1 = o1; this.o2 = o2; } @@ -182328,25 +183321,52 @@ public commit_txn_result( /** * Performs a deep copy on other. */ - public commit_txn_result(commit_txn_result other) { + public get_valid_write_ids_result(get_valid_write_ids_result other) { + if (other.isSetSuccess()) { + this.success = new GetValidWriteIdsResponse(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_write_ids_result deepCopy() { + return new get_valid_write_ids_result(this); } @Override public void clear() { + this.success = null; this.o1 = null; this.o2 = null; } + public GetValidWriteIdsResponse getSuccess() { + return this.success; + } + + public void setSuccess(GetValidWriteIdsResponse 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; } @@ -182370,11 +183390,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; } @@ -182395,6 +183415,14 @@ public void setO2IsSet(boolean value) { public void setFieldValue(_Fields field, Object value) { switch (field) { + case SUCCESS: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((GetValidWriteIdsResponse)value); + } + break; + case O1: if (value == null) { unsetO1(); @@ -182407,7 +183435,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO2(); } else { - setO2((TxnAbortedException)value); + setO2((MetaException)value); } break; @@ -182416,6 +183444,9 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { + case SUCCESS: + return getSuccess(); + case O1: return getO1(); @@ -182433,6 +183464,8 @@ public boolean isSet(_Fields field) { } switch (field) { + case SUCCESS: + return isSetSuccess(); case O1: return isSetO1(); case O2: @@ -182445,15 +183478,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_write_ids_result) + return this.equals((get_valid_write_ids_result)that); return false; } - public boolean equals(commit_txn_result that) { + public boolean equals(get_valid_write_ids_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) { @@ -182479,6 +183521,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) @@ -182493,13 +183540,23 @@ public int hashCode() { } @Override - public int compareTo(commit_txn_result other) { + public int compareTo(get_valid_write_ids_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; @@ -182537,9 +183594,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_write_ids_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"); @@ -182562,6 +183627,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 { @@ -182580,15 +183648,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_write_ids_resultStandardSchemeFactory implements SchemeFactory { + public get_valid_write_ids_resultStandardScheme getScheme() { + return new get_valid_write_ids_resultStandardScheme(); } } - private static class commit_txn_resultStandardScheme extends StandardScheme { + private static class get_valid_write_ids_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_write_ids_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -182598,6 +183666,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 GetValidWriteIdsResponse(); + 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(); @@ -182609,7 +183686,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 { @@ -182625,10 +183702,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_write_ids_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); @@ -182645,25 +183727,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_write_ids_resultTupleSchemeFactory implements SchemeFactory { + public get_valid_write_ids_resultTupleScheme getScheme() { + return new get_valid_write_ids_resultTupleScheme(); } } - private static class commit_txn_resultTupleScheme extends TupleScheme { + private static class get_valid_write_ids_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_write_ids_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); } @@ -182673,16 +183761,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_write_ids_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 GetValidWriteIdsResponse(); + 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); } @@ -182691,18 +183784,18 @@ public void read(org.apache.thrift.protocol.TProtocol prot, commit_txn_result st } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_valid_write_ids_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_write_ids_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class allocate_table_write_ids_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("allocate_table_write_ids_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_valid_write_ids_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_valid_write_ids_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new allocate_table_write_ids_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new allocate_table_write_ids_argsTupleSchemeFactory()); } - private GetValidWriteIdsRequest rqst; // required + private AllocateTableWriteIdsRequest 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 { @@ -182767,16 +183860,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, GetValidWriteIdsRequest.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AllocateTableWriteIdsRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_valid_write_ids_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(allocate_table_write_ids_args.class, metaDataMap); } - public get_valid_write_ids_args() { + public allocate_table_write_ids_args() { } - public get_valid_write_ids_args( - GetValidWriteIdsRequest rqst) + public allocate_table_write_ids_args( + AllocateTableWriteIdsRequest rqst) { this(); this.rqst = rqst; @@ -182785,14 +183878,14 @@ public get_valid_write_ids_args( /** * Performs a deep copy on other. */ - public get_valid_write_ids_args(get_valid_write_ids_args other) { + public allocate_table_write_ids_args(allocate_table_write_ids_args other) { if (other.isSetRqst()) { - this.rqst = new GetValidWriteIdsRequest(other.rqst); + this.rqst = new AllocateTableWriteIdsRequest(other.rqst); } } - public get_valid_write_ids_args deepCopy() { - return new get_valid_write_ids_args(this); + public allocate_table_write_ids_args deepCopy() { + return new allocate_table_write_ids_args(this); } @Override @@ -182800,11 +183893,11 @@ public void clear() { this.rqst = null; } - public GetValidWriteIdsRequest getRqst() { + public AllocateTableWriteIdsRequest getRqst() { return this.rqst; } - public void setRqst(GetValidWriteIdsRequest rqst) { + public void setRqst(AllocateTableWriteIdsRequest rqst) { this.rqst = rqst; } @@ -182829,7 +183922,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((GetValidWriteIdsRequest)value); + setRqst((AllocateTableWriteIdsRequest)value); } break; @@ -182862,12 +183955,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_valid_write_ids_args) - return this.equals((get_valid_write_ids_args)that); + if (that instanceof allocate_table_write_ids_args) + return this.equals((allocate_table_write_ids_args)that); return false; } - public boolean equals(get_valid_write_ids_args that) { + public boolean equals(allocate_table_write_ids_args that) { if (that == null) return false; @@ -182896,7 +183989,7 @@ public int hashCode() { } @Override - public int compareTo(get_valid_write_ids_args other) { + public int compareTo(allocate_table_write_ids_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -182930,7 +184023,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_valid_write_ids_args("); + StringBuilder sb = new StringBuilder("allocate_table_write_ids_args("); boolean first = true; sb.append("rqst:"); @@ -182968,15 +184061,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_valid_write_ids_argsStandardSchemeFactory implements SchemeFactory { - public get_valid_write_ids_argsStandardScheme getScheme() { - return new get_valid_write_ids_argsStandardScheme(); + private static class allocate_table_write_ids_argsStandardSchemeFactory implements SchemeFactory { + public allocate_table_write_ids_argsStandardScheme getScheme() { + return new allocate_table_write_ids_argsStandardScheme(); } } - private static class get_valid_write_ids_argsStandardScheme extends StandardScheme { + private static class allocate_table_write_ids_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_valid_write_ids_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, allocate_table_write_ids_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -182988,7 +184081,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_valid_write_ids switch (schemeField.id) { case 1: // RQST if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.rqst = new GetValidWriteIdsRequest(); + struct.rqst = new AllocateTableWriteIdsRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } else { @@ -183004,7 +184097,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_valid_write_ids struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_valid_write_ids_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, allocate_table_write_ids_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -183019,16 +184112,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_valid_write_id } - private static class get_valid_write_ids_argsTupleSchemeFactory implements SchemeFactory { - public get_valid_write_ids_argsTupleScheme getScheme() { - return new get_valid_write_ids_argsTupleScheme(); + private static class allocate_table_write_ids_argsTupleSchemeFactory implements SchemeFactory { + public allocate_table_write_ids_argsTupleScheme getScheme() { + return new allocate_table_write_ids_argsTupleScheme(); } } - private static class get_valid_write_ids_argsTupleScheme extends TupleScheme { + private static class allocate_table_write_ids_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_valid_write_ids_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, allocate_table_write_ids_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetRqst()) { @@ -183041,11 +184134,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_valid_write_ids } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_valid_write_ids_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, allocate_table_write_ids_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.rqst = new GetValidWriteIdsRequest(); + struct.rqst = new AllocateTableWriteIdsRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } @@ -183054,28 +184147,31 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_valid_write_ids_ } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_valid_write_ids_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_write_ids_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class allocate_table_write_ids_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("allocate_table_write_ids_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2); + private static final org.apache.thrift.protocol.TField O3_FIELD_DESC = new org.apache.thrift.protocol.TField("o3", org.apache.thrift.protocol.TType.STRUCT, (short)3); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_valid_write_ids_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_valid_write_ids_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new allocate_table_write_ids_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new allocate_table_write_ids_resultTupleSchemeFactory()); } - private GetValidWriteIdsResponse success; // required + private AllocateTableWriteIdsResponse success; // required private NoSuchTxnException o1; // required - private MetaException o2; // required + private TxnAbortedException o2; // required + private MetaException o3; // 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"); + O2((short)2, "o2"), + O3((short)3, "o3"); private static final Map byName = new HashMap(); @@ -183096,6 +184192,8 @@ public static _Fields findByThriftId(int fieldId) { return O1; case 2: // O2 return O2; + case 3: // O3 + return O3; default: return null; } @@ -183140,46 +184238,53 @@ 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, GetValidWriteIdsResponse.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AllocateTableWriteIdsResponse.class))); tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.O3, new org.apache.thrift.meta_data.FieldMetaData("o3", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_valid_write_ids_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(allocate_table_write_ids_result.class, metaDataMap); } - public get_valid_write_ids_result() { + public allocate_table_write_ids_result() { } - public get_valid_write_ids_result( - GetValidWriteIdsResponse success, + public allocate_table_write_ids_result( + AllocateTableWriteIdsResponse success, NoSuchTxnException o1, - MetaException o2) + TxnAbortedException o2, + MetaException o3) { this(); this.success = success; this.o1 = o1; this.o2 = o2; + this.o3 = o3; } /** * Performs a deep copy on other. */ - public get_valid_write_ids_result(get_valid_write_ids_result other) { + public allocate_table_write_ids_result(allocate_table_write_ids_result other) { if (other.isSetSuccess()) { - this.success = new GetValidWriteIdsResponse(other.success); + this.success = new AllocateTableWriteIdsResponse(other.success); } if (other.isSetO1()) { this.o1 = new NoSuchTxnException(other.o1); } if (other.isSetO2()) { - this.o2 = new MetaException(other.o2); + this.o2 = new TxnAbortedException(other.o2); + } + if (other.isSetO3()) { + this.o3 = new MetaException(other.o3); } } - public get_valid_write_ids_result deepCopy() { - return new get_valid_write_ids_result(this); + public allocate_table_write_ids_result deepCopy() { + return new allocate_table_write_ids_result(this); } @Override @@ -183187,13 +184292,14 @@ public void clear() { this.success = null; this.o1 = null; this.o2 = null; + this.o3 = null; } - public GetValidWriteIdsResponse getSuccess() { + public AllocateTableWriteIdsResponse getSuccess() { return this.success; } - public void setSuccess(GetValidWriteIdsResponse success) { + public void setSuccess(AllocateTableWriteIdsResponse success) { this.success = success; } @@ -183235,11 +184341,11 @@ public void setO1IsSet(boolean value) { } } - public MetaException getO2() { + public TxnAbortedException getO2() { return this.o2; } - public void setO2(MetaException o2) { + public void setO2(TxnAbortedException o2) { this.o2 = o2; } @@ -183258,13 +184364,36 @@ public void setO2IsSet(boolean value) { } } + public MetaException getO3() { + return this.o3; + } + + public void setO3(MetaException o3) { + this.o3 = o3; + } + + public void unsetO3() { + this.o3 = null; + } + + /** Returns true if field o3 is set (has been assigned a value) and false otherwise */ + public boolean isSetO3() { + return this.o3 != null; + } + + public void setO3IsSet(boolean value) { + if (!value) { + this.o3 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { - setSuccess((GetValidWriteIdsResponse)value); + setSuccess((AllocateTableWriteIdsResponse)value); } break; @@ -183280,7 +184409,15 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO2(); } else { - setO2((MetaException)value); + setO2((TxnAbortedException)value); + } + break; + + case O3: + if (value == null) { + unsetO3(); + } else { + setO3((MetaException)value); } break; @@ -183298,6 +184435,9 @@ public Object getFieldValue(_Fields field) { case O2: return getO2(); + case O3: + return getO3(); + } throw new IllegalStateException(); } @@ -183315,6 +184455,8 @@ public boolean isSet(_Fields field) { return isSetO1(); case O2: return isSetO2(); + case O3: + return isSetO3(); } throw new IllegalStateException(); } @@ -183323,12 +184465,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_valid_write_ids_result) - return this.equals((get_valid_write_ids_result)that); + if (that instanceof allocate_table_write_ids_result) + return this.equals((allocate_table_write_ids_result)that); return false; } - public boolean equals(get_valid_write_ids_result that) { + public boolean equals(allocate_table_write_ids_result that) { if (that == null) return false; @@ -183359,6 +184501,15 @@ public boolean equals(get_valid_write_ids_result that) { return false; } + boolean this_present_o3 = true && this.isSetO3(); + boolean that_present_o3 = true && that.isSetO3(); + if (this_present_o3 || that_present_o3) { + if (!(this_present_o3 && that_present_o3)) + return false; + if (!this.o3.equals(that.o3)) + return false; + } + return true; } @@ -183381,11 +184532,16 @@ public int hashCode() { if (present_o2) list.add(o2); + boolean present_o3 = true && (isSetO3()); + list.add(present_o3); + if (present_o3) + list.add(o3); + return list.hashCode(); } @Override - public int compareTo(get_valid_write_ids_result other) { + public int compareTo(allocate_table_write_ids_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -183422,6 +184578,16 @@ public int compareTo(get_valid_write_ids_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO3()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -183439,7 +184605,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_valid_write_ids_result("); + StringBuilder sb = new StringBuilder("allocate_table_write_ids_result("); boolean first = true; sb.append("success:"); @@ -183465,6 +184631,14 @@ public String toString() { sb.append(this.o2); } first = false; + if (!first) sb.append(", "); + sb.append("o3:"); + if (this.o3 == null) { + sb.append("null"); + } else { + sb.append(this.o3); + } + first = false; sb.append(")"); return sb.toString(); } @@ -183493,15 +184667,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_valid_write_ids_resultStandardSchemeFactory implements SchemeFactory { - public get_valid_write_ids_resultStandardScheme getScheme() { - return new get_valid_write_ids_resultStandardScheme(); + private static class allocate_table_write_ids_resultStandardSchemeFactory implements SchemeFactory { + public allocate_table_write_ids_resultStandardScheme getScheme() { + return new allocate_table_write_ids_resultStandardScheme(); } } - private static class get_valid_write_ids_resultStandardScheme extends StandardScheme { + private static class allocate_table_write_ids_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_valid_write_ids_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, allocate_table_write_ids_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -183513,7 +184687,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_valid_write_ids switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new GetValidWriteIdsResponse(); + struct.success = new AllocateTableWriteIdsResponse(); struct.success.read(iprot); struct.setSuccessIsSet(true); } else { @@ -183531,13 +184705,22 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_valid_write_ids break; case 2: // O2 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o2 = new MetaException(); + struct.o2 = new TxnAbortedException(); struct.o2.read(iprot); struct.setO2IsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 3: // O3 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o3 = new MetaException(); + struct.o3.read(iprot); + struct.setO3IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -183547,7 +184730,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_valid_write_ids struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_valid_write_ids_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, allocate_table_write_ids_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -183566,22 +184749,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_valid_write_id struct.o2.write(oprot); oprot.writeFieldEnd(); } + if (struct.o3 != null) { + oprot.writeFieldBegin(O3_FIELD_DESC); + struct.o3.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_valid_write_ids_resultTupleSchemeFactory implements SchemeFactory { - public get_valid_write_ids_resultTupleScheme getScheme() { - return new get_valid_write_ids_resultTupleScheme(); + private static class allocate_table_write_ids_resultTupleSchemeFactory implements SchemeFactory { + public allocate_table_write_ids_resultTupleScheme getScheme() { + return new allocate_table_write_ids_resultTupleScheme(); } } - private static class get_valid_write_ids_resultTupleScheme extends TupleScheme { + private static class allocate_table_write_ids_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_valid_write_ids_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, allocate_table_write_ids_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -183593,7 +184781,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_valid_write_ids if (struct.isSetO2()) { optionals.set(2); } - oprot.writeBitSet(optionals, 3); + if (struct.isSetO3()) { + optionals.set(3); + } + oprot.writeBitSet(optionals, 4); if (struct.isSetSuccess()) { struct.success.write(oprot); } @@ -183603,14 +184794,17 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_valid_write_ids if (struct.isSetO2()) { struct.o2.write(oprot); } + if (struct.isSetO3()) { + struct.o3.write(oprot); + } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_valid_write_ids_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, allocate_table_write_ids_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { - struct.success = new GetValidWriteIdsResponse(); + struct.success = new AllocateTableWriteIdsResponse(); struct.success.read(iprot); struct.setSuccessIsSet(true); } @@ -183620,27 +184814,32 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_valid_write_ids_ struct.setO1IsSet(true); } if (incoming.get(2)) { - struct.o2 = new MetaException(); + struct.o2 = new TxnAbortedException(); struct.o2.read(iprot); struct.setO2IsSet(true); } + if (incoming.get(3)) { + struct.o3 = new MetaException(); + struct.o3.read(iprot); + struct.setO3IsSet(true); + } } } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class allocate_table_write_ids_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("allocate_table_write_ids_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class repl_get_target_txn_ids_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("repl_get_target_txn_ids_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 allocate_table_write_ids_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new allocate_table_write_ids_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new repl_get_target_txn_ids_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new repl_get_target_txn_ids_argsTupleSchemeFactory()); } - private AllocateTableWriteIdsRequest rqst; // required + private GetTargetTxnIdsRequest 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 { @@ -183705,16 +184904,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, AllocateTableWriteIdsRequest.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetTargetTxnIdsRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(allocate_table_write_ids_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(repl_get_target_txn_ids_args.class, metaDataMap); } - public allocate_table_write_ids_args() { + public repl_get_target_txn_ids_args() { } - public allocate_table_write_ids_args( - AllocateTableWriteIdsRequest rqst) + public repl_get_target_txn_ids_args( + GetTargetTxnIdsRequest rqst) { this(); this.rqst = rqst; @@ -183723,14 +184922,14 @@ public allocate_table_write_ids_args( /** * Performs a deep copy on other. */ - public allocate_table_write_ids_args(allocate_table_write_ids_args other) { + public repl_get_target_txn_ids_args(repl_get_target_txn_ids_args other) { if (other.isSetRqst()) { - this.rqst = new AllocateTableWriteIdsRequest(other.rqst); + this.rqst = new GetTargetTxnIdsRequest(other.rqst); } } - public allocate_table_write_ids_args deepCopy() { - return new allocate_table_write_ids_args(this); + public repl_get_target_txn_ids_args deepCopy() { + return new repl_get_target_txn_ids_args(this); } @Override @@ -183738,11 +184937,11 @@ public void clear() { this.rqst = null; } - public AllocateTableWriteIdsRequest getRqst() { + public GetTargetTxnIdsRequest getRqst() { return this.rqst; } - public void setRqst(AllocateTableWriteIdsRequest rqst) { + public void setRqst(GetTargetTxnIdsRequest rqst) { this.rqst = rqst; } @@ -183767,7 +184966,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((AllocateTableWriteIdsRequest)value); + setRqst((GetTargetTxnIdsRequest)value); } break; @@ -183800,12 +184999,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof allocate_table_write_ids_args) - return this.equals((allocate_table_write_ids_args)that); + if (that instanceof repl_get_target_txn_ids_args) + return this.equals((repl_get_target_txn_ids_args)that); return false; } - public boolean equals(allocate_table_write_ids_args that) { + public boolean equals(repl_get_target_txn_ids_args that) { if (that == null) return false; @@ -183834,7 +185033,7 @@ public int hashCode() { } @Override - public int compareTo(allocate_table_write_ids_args other) { + public int compareTo(repl_get_target_txn_ids_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -183868,7 +185067,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("allocate_table_write_ids_args("); + StringBuilder sb = new StringBuilder("repl_get_target_txn_ids_args("); boolean first = true; sb.append("rqst:"); @@ -183906,15 +185105,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class allocate_table_write_ids_argsStandardSchemeFactory implements SchemeFactory { - public allocate_table_write_ids_argsStandardScheme getScheme() { - return new allocate_table_write_ids_argsStandardScheme(); + private static class repl_get_target_txn_ids_argsStandardSchemeFactory implements SchemeFactory { + public repl_get_target_txn_ids_argsStandardScheme getScheme() { + return new repl_get_target_txn_ids_argsStandardScheme(); } } - private static class allocate_table_write_ids_argsStandardScheme extends StandardScheme { + private static class repl_get_target_txn_ids_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, allocate_table_write_ids_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, repl_get_target_txn_ids_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -183926,7 +185125,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, allocate_table_writ switch (schemeField.id) { case 1: // RQST if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.rqst = new AllocateTableWriteIdsRequest(); + struct.rqst = new GetTargetTxnIdsRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } else { @@ -183942,7 +185141,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, allocate_table_writ struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, allocate_table_write_ids_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, repl_get_target_txn_ids_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -183957,16 +185156,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, allocate_table_wri } - private static class allocate_table_write_ids_argsTupleSchemeFactory implements SchemeFactory { - public allocate_table_write_ids_argsTupleScheme getScheme() { - return new allocate_table_write_ids_argsTupleScheme(); + private static class repl_get_target_txn_ids_argsTupleSchemeFactory implements SchemeFactory { + public repl_get_target_txn_ids_argsTupleScheme getScheme() { + return new repl_get_target_txn_ids_argsTupleScheme(); } } - private static class allocate_table_write_ids_argsTupleScheme extends TupleScheme { + private static class repl_get_target_txn_ids_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, allocate_table_write_ids_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, repl_get_target_txn_ids_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetRqst()) { @@ -183979,11 +185178,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, allocate_table_writ } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, allocate_table_write_ids_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, repl_get_target_txn_ids_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.rqst = new AllocateTableWriteIdsRequest(); + struct.rqst = new GetTargetTxnIdsRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } @@ -183992,31 +185191,28 @@ public void read(org.apache.thrift.protocol.TProtocol prot, allocate_table_write } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class allocate_table_write_ids_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("allocate_table_write_ids_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class repl_get_target_txn_ids_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("repl_get_target_txn_ids_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2); - private static final org.apache.thrift.protocol.TField O3_FIELD_DESC = new org.apache.thrift.protocol.TField("o3", org.apache.thrift.protocol.TType.STRUCT, (short)3); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new allocate_table_write_ids_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new allocate_table_write_ids_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new repl_get_target_txn_ids_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new repl_get_target_txn_ids_resultTupleSchemeFactory()); } - private AllocateTableWriteIdsResponse success; // required + private GetTargetTxnIdsResponse success; // required private NoSuchTxnException o1; // required - private TxnAbortedException o2; // required - private MetaException o3; // 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"), - O3((short)3, "o3"); + O2((short)2, "o2"); private static final Map byName = new HashMap(); @@ -184037,8 +185233,6 @@ public static _Fields findByThriftId(int fieldId) { return O1; case 2: // O2 return O2; - case 3: // O3 - return O3; default: return null; } @@ -184083,53 +185277,46 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AllocateTableWriteIdsResponse.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetTargetTxnIdsResponse.class))); tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.O3, new org.apache.thrift.meta_data.FieldMetaData("o3", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(allocate_table_write_ids_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(repl_get_target_txn_ids_result.class, metaDataMap); } - public allocate_table_write_ids_result() { + public repl_get_target_txn_ids_result() { } - public allocate_table_write_ids_result( - AllocateTableWriteIdsResponse success, + public repl_get_target_txn_ids_result( + GetTargetTxnIdsResponse success, NoSuchTxnException o1, - TxnAbortedException o2, - MetaException o3) + MetaException o2) { this(); this.success = success; this.o1 = o1; this.o2 = o2; - this.o3 = o3; } /** * Performs a deep copy on other. */ - public allocate_table_write_ids_result(allocate_table_write_ids_result other) { + public repl_get_target_txn_ids_result(repl_get_target_txn_ids_result other) { if (other.isSetSuccess()) { - this.success = new AllocateTableWriteIdsResponse(other.success); + this.success = new GetTargetTxnIdsResponse(other.success); } if (other.isSetO1()) { this.o1 = new NoSuchTxnException(other.o1); } if (other.isSetO2()) { - this.o2 = new TxnAbortedException(other.o2); - } - if (other.isSetO3()) { - this.o3 = new MetaException(other.o3); + this.o2 = new MetaException(other.o2); } } - public allocate_table_write_ids_result deepCopy() { - return new allocate_table_write_ids_result(this); + public repl_get_target_txn_ids_result deepCopy() { + return new repl_get_target_txn_ids_result(this); } @Override @@ -184137,14 +185324,13 @@ public void clear() { this.success = null; this.o1 = null; this.o2 = null; - this.o3 = null; } - public AllocateTableWriteIdsResponse getSuccess() { + public GetTargetTxnIdsResponse getSuccess() { return this.success; } - public void setSuccess(AllocateTableWriteIdsResponse success) { + public void setSuccess(GetTargetTxnIdsResponse success) { this.success = success; } @@ -184186,11 +185372,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; } @@ -184209,36 +185395,13 @@ public void setO2IsSet(boolean value) { } } - public MetaException getO3() { - return this.o3; - } - - public void setO3(MetaException o3) { - this.o3 = o3; - } - - public void unsetO3() { - this.o3 = null; - } - - /** Returns true if field o3 is set (has been assigned a value) and false otherwise */ - public boolean isSetO3() { - return this.o3 != null; - } - - public void setO3IsSet(boolean value) { - if (!value) { - this.o3 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: if (value == null) { unsetSuccess(); } else { - setSuccess((AllocateTableWriteIdsResponse)value); + setSuccess((GetTargetTxnIdsResponse)value); } break; @@ -184254,15 +185417,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetO2(); } else { - setO2((TxnAbortedException)value); - } - break; - - case O3: - if (value == null) { - unsetO3(); - } else { - setO3((MetaException)value); + setO2((MetaException)value); } break; @@ -184280,9 +185435,6 @@ public Object getFieldValue(_Fields field) { case O2: return getO2(); - case O3: - return getO3(); - } throw new IllegalStateException(); } @@ -184300,8 +185452,6 @@ public boolean isSet(_Fields field) { return isSetO1(); case O2: return isSetO2(); - case O3: - return isSetO3(); } throw new IllegalStateException(); } @@ -184310,12 +185460,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof allocate_table_write_ids_result) - return this.equals((allocate_table_write_ids_result)that); + if (that instanceof repl_get_target_txn_ids_result) + return this.equals((repl_get_target_txn_ids_result)that); return false; } - public boolean equals(allocate_table_write_ids_result that) { + public boolean equals(repl_get_target_txn_ids_result that) { if (that == null) return false; @@ -184346,15 +185496,6 @@ public boolean equals(allocate_table_write_ids_result that) { return false; } - boolean this_present_o3 = true && this.isSetO3(); - boolean that_present_o3 = true && that.isSetO3(); - if (this_present_o3 || that_present_o3) { - if (!(this_present_o3 && that_present_o3)) - return false; - if (!this.o3.equals(that.o3)) - return false; - } - return true; } @@ -184377,16 +185518,11 @@ public int hashCode() { if (present_o2) list.add(o2); - boolean present_o3 = true && (isSetO3()); - list.add(present_o3); - if (present_o3) - list.add(o3); - return list.hashCode(); } @Override - public int compareTo(allocate_table_write_ids_result other) { + public int compareTo(repl_get_target_txn_ids_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -184423,16 +185559,6 @@ public int compareTo(allocate_table_write_ids_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO3()).compareTo(other.isSetO3()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetO3()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o3, other.o3); - if (lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -184450,7 +185576,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("allocate_table_write_ids_result("); + StringBuilder sb = new StringBuilder("repl_get_target_txn_ids_result("); boolean first = true; sb.append("success:"); @@ -184476,14 +185602,6 @@ public String toString() { sb.append(this.o2); } first = false; - if (!first) sb.append(", "); - sb.append("o3:"); - if (this.o3 == null) { - sb.append("null"); - } else { - sb.append(this.o3); - } - first = false; sb.append(")"); return sb.toString(); } @@ -184512,15 +185630,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class allocate_table_write_ids_resultStandardSchemeFactory implements SchemeFactory { - public allocate_table_write_ids_resultStandardScheme getScheme() { - return new allocate_table_write_ids_resultStandardScheme(); + private static class repl_get_target_txn_ids_resultStandardSchemeFactory implements SchemeFactory { + public repl_get_target_txn_ids_resultStandardScheme getScheme() { + return new repl_get_target_txn_ids_resultStandardScheme(); } } - private static class allocate_table_write_ids_resultStandardScheme extends StandardScheme { + private static class repl_get_target_txn_ids_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, allocate_table_write_ids_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, repl_get_target_txn_ids_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -184532,7 +185650,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, allocate_table_writ switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new AllocateTableWriteIdsResponse(); + struct.success = new GetTargetTxnIdsResponse(); struct.success.read(iprot); struct.setSuccessIsSet(true); } else { @@ -184550,22 +185668,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, allocate_table_writ 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 { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // O3 - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o3 = new MetaException(); - struct.o3.read(iprot); - struct.setO3IsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -184575,7 +185684,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, allocate_table_writ struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, allocate_table_write_ids_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, repl_get_target_txn_ids_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -184594,27 +185703,22 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, allocate_table_wri struct.o2.write(oprot); oprot.writeFieldEnd(); } - if (struct.o3 != null) { - oprot.writeFieldBegin(O3_FIELD_DESC); - struct.o3.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class allocate_table_write_ids_resultTupleSchemeFactory implements SchemeFactory { - public allocate_table_write_ids_resultTupleScheme getScheme() { - return new allocate_table_write_ids_resultTupleScheme(); + private static class repl_get_target_txn_ids_resultTupleSchemeFactory implements SchemeFactory { + public repl_get_target_txn_ids_resultTupleScheme getScheme() { + return new repl_get_target_txn_ids_resultTupleScheme(); } } - private static class allocate_table_write_ids_resultTupleScheme extends TupleScheme { + private static class repl_get_target_txn_ids_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, allocate_table_write_ids_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, repl_get_target_txn_ids_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -184626,10 +185730,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, allocate_table_writ if (struct.isSetO2()) { optionals.set(2); } - if (struct.isSetO3()) { - optionals.set(3); - } - oprot.writeBitSet(optionals, 4); + oprot.writeBitSet(optionals, 3); if (struct.isSetSuccess()) { struct.success.write(oprot); } @@ -184639,17 +185740,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, allocate_table_writ if (struct.isSetO2()) { struct.o2.write(oprot); } - if (struct.isSetO3()) { - struct.o3.write(oprot); - } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, allocate_table_write_ids_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, repl_get_target_txn_ids_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(4); + BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { - struct.success = new AllocateTableWriteIdsResponse(); + struct.success = new GetTargetTxnIdsResponse(); struct.success.read(iprot); struct.setSuccessIsSet(true); } @@ -184659,15 +185757,10 @@ public void read(org.apache.thrift.protocol.TProtocol prot, allocate_table_write struct.setO1IsSet(true); } if (incoming.get(2)) { - struct.o2 = new TxnAbortedException(); + struct.o2 = new MetaException(); struct.o2.read(iprot); struct.setO2IsSet(true); } - if (incoming.get(3)) { - struct.o3 = new MetaException(); - struct.o3.read(iprot); - struct.setO3IsSet(true); - } } } @@ -226036,14 +227129,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 _list1486 = iprot.readListBegin(); - struct.success = new ArrayList(_list1486.size); - SchemaVersion _elem1487; - for (int _i1488 = 0; _i1488 < _list1486.size; ++_i1488) + org.apache.thrift.protocol.TList _list1502 = iprot.readListBegin(); + struct.success = new ArrayList(_list1502.size); + SchemaVersion _elem1503; + for (int _i1504 = 0; _i1504 < _list1502.size; ++_i1504) { - _elem1487 = new SchemaVersion(); - _elem1487.read(iprot); - struct.success.add(_elem1487); + _elem1503 = new SchemaVersion(); + _elem1503.read(iprot); + struct.success.add(_elem1503); } iprot.readListEnd(); } @@ -226087,9 +227180,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 _iter1489 : struct.success) + for (SchemaVersion _iter1505 : struct.success) { - _iter1489.write(oprot); + _iter1505.write(oprot); } oprot.writeListEnd(); } @@ -226136,9 +227229,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_all_vers if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (SchemaVersion _iter1490 : struct.success) + for (SchemaVersion _iter1506 : struct.success) { - _iter1490.write(oprot); + _iter1506.write(oprot); } } } @@ -226156,14 +227249,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 _list1491 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1491.size); - SchemaVersion _elem1492; - for (int _i1493 = 0; _i1493 < _list1491.size; ++_i1493) + org.apache.thrift.protocol.TList _list1507 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1507.size); + SchemaVersion _elem1508; + for (int _i1509 = 0; _i1509 < _list1507.size; ++_i1509) { - _elem1492 = new SchemaVersion(); - _elem1492.read(iprot); - struct.success.add(_elem1492); + _elem1508 = new SchemaVersion(); + _elem1508.read(iprot); + struct.success.add(_elem1508); } } 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 ad2c0b6481..eda462ecfb 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 _list832 = iprot.readListBegin(); - struct.pools = new ArrayList(_list832.size); - WMPool _elem833; - for (int _i834 = 0; _i834 < _list832.size; ++_i834) + org.apache.thrift.protocol.TList _list848 = iprot.readListBegin(); + struct.pools = new ArrayList(_list848.size); + WMPool _elem849; + for (int _i850 = 0; _i850 < _list848.size; ++_i850) { - _elem833 = new WMPool(); - _elem833.read(iprot); - struct.pools.add(_elem833); + _elem849 = new WMPool(); + _elem849.read(iprot); + struct.pools.add(_elem849); } 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 _list835 = iprot.readListBegin(); - struct.mappings = new ArrayList(_list835.size); - WMMapping _elem836; - for (int _i837 = 0; _i837 < _list835.size; ++_i837) + org.apache.thrift.protocol.TList _list851 = iprot.readListBegin(); + struct.mappings = new ArrayList(_list851.size); + WMMapping _elem852; + for (int _i853 = 0; _i853 < _list851.size; ++_i853) { - _elem836 = new WMMapping(); - _elem836.read(iprot); - struct.mappings.add(_elem836); + _elem852 = new WMMapping(); + _elem852.read(iprot); + struct.mappings.add(_elem852); } 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 _list838 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list838.size); - WMTrigger _elem839; - for (int _i840 = 0; _i840 < _list838.size; ++_i840) + org.apache.thrift.protocol.TList _list854 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list854.size); + WMTrigger _elem855; + for (int _i856 = 0; _i856 < _list854.size; ++_i856) { - _elem839 = new WMTrigger(); - _elem839.read(iprot); - struct.triggers.add(_elem839); + _elem855 = new WMTrigger(); + _elem855.read(iprot); + struct.triggers.add(_elem855); } 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 _list841 = iprot.readListBegin(); - struct.poolTriggers = new ArrayList(_list841.size); - WMPoolTrigger _elem842; - for (int _i843 = 0; _i843 < _list841.size; ++_i843) + org.apache.thrift.protocol.TList _list857 = iprot.readListBegin(); + struct.poolTriggers = new ArrayList(_list857.size); + WMPoolTrigger _elem858; + for (int _i859 = 0; _i859 < _list857.size; ++_i859) { - _elem842 = new WMPoolTrigger(); - _elem842.read(iprot); - struct.poolTriggers.add(_elem842); + _elem858 = new WMPoolTrigger(); + _elem858.read(iprot); + struct.poolTriggers.add(_elem858); } 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 _iter844 : struct.pools) + for (WMPool _iter860 : struct.pools) { - _iter844.write(oprot); + _iter860.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 _iter845 : struct.mappings) + for (WMMapping _iter861 : struct.mappings) { - _iter845.write(oprot); + _iter861.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 _iter846 : struct.triggers) + for (WMTrigger _iter862 : struct.triggers) { - _iter846.write(oprot); + _iter862.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 _iter847 : struct.poolTriggers) + for (WMPoolTrigger _iter863 : struct.poolTriggers) { - _iter847.write(oprot); + _iter863.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 _iter848 : struct.pools) + for (WMPool _iter864 : struct.pools) { - _iter848.write(oprot); + _iter864.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 _iter849 : struct.mappings) + for (WMMapping _iter865 : struct.mappings) { - _iter849.write(oprot); + _iter865.write(oprot); } } } if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter850 : struct.triggers) + for (WMTrigger _iter866 : struct.triggers) { - _iter850.write(oprot); + _iter866.write(oprot); } } } if (struct.isSetPoolTriggers()) { { oprot.writeI32(struct.poolTriggers.size()); - for (WMPoolTrigger _iter851 : struct.poolTriggers) + for (WMPoolTrigger _iter867 : struct.poolTriggers) { - _iter851.write(oprot); + _iter867.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 _list852 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.pools = new ArrayList(_list852.size); - WMPool _elem853; - for (int _i854 = 0; _i854 < _list852.size; ++_i854) + org.apache.thrift.protocol.TList _list868 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.pools = new ArrayList(_list868.size); + WMPool _elem869; + for (int _i870 = 0; _i870 < _list868.size; ++_i870) { - _elem853 = new WMPool(); - _elem853.read(iprot); - struct.pools.add(_elem853); + _elem869 = new WMPool(); + _elem869.read(iprot); + struct.pools.add(_elem869); } } struct.setPoolsIsSet(true); BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list855 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.mappings = new ArrayList(_list855.size); - WMMapping _elem856; - for (int _i857 = 0; _i857 < _list855.size; ++_i857) + org.apache.thrift.protocol.TList _list871 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.mappings = new ArrayList(_list871.size); + WMMapping _elem872; + for (int _i873 = 0; _i873 < _list871.size; ++_i873) { - _elem856 = new WMMapping(); - _elem856.read(iprot); - struct.mappings.add(_elem856); + _elem872 = new WMMapping(); + _elem872.read(iprot); + struct.mappings.add(_elem872); } } struct.setMappingsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list858 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list858.size); - WMTrigger _elem859; - for (int _i860 = 0; _i860 < _list858.size; ++_i860) + org.apache.thrift.protocol.TList _list874 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list874.size); + WMTrigger _elem875; + for (int _i876 = 0; _i876 < _list874.size; ++_i876) { - _elem859 = new WMTrigger(); - _elem859.read(iprot); - struct.triggers.add(_elem859); + _elem875 = new WMTrigger(); + _elem875.read(iprot); + struct.triggers.add(_elem875); } } struct.setTriggersIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list861 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.poolTriggers = new ArrayList(_list861.size); - WMPoolTrigger _elem862; - for (int _i863 = 0; _i863 < _list861.size; ++_i863) + org.apache.thrift.protocol.TList _list877 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.poolTriggers = new ArrayList(_list877.size); + WMPoolTrigger _elem878; + for (int _i879 = 0; _i879 < _list877.size; ++_i879) { - _elem862 = new WMPoolTrigger(); - _elem862.read(iprot); - struct.poolTriggers.add(_elem862); + _elem878 = new WMPoolTrigger(); + _elem878.read(iprot); + struct.poolTriggers.add(_elem878); } } 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 cf502067a0..9bbc97b42e 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 _list864 = iprot.readListBegin(); - struct.resourcePlans = new ArrayList(_list864.size); - WMResourcePlan _elem865; - for (int _i866 = 0; _i866 < _list864.size; ++_i866) + org.apache.thrift.protocol.TList _list880 = iprot.readListBegin(); + struct.resourcePlans = new ArrayList(_list880.size); + WMResourcePlan _elem881; + for (int _i882 = 0; _i882 < _list880.size; ++_i882) { - _elem865 = new WMResourcePlan(); - _elem865.read(iprot); - struct.resourcePlans.add(_elem865); + _elem881 = new WMResourcePlan(); + _elem881.read(iprot); + struct.resourcePlans.add(_elem881); } 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 _iter867 : struct.resourcePlans) + for (WMResourcePlan _iter883 : struct.resourcePlans) { - _iter867.write(oprot); + _iter883.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 _iter868 : struct.resourcePlans) + for (WMResourcePlan _iter884 : struct.resourcePlans) { - _iter868.write(oprot); + _iter884.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 _list869 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.resourcePlans = new ArrayList(_list869.size); - WMResourcePlan _elem870; - for (int _i871 = 0; _i871 < _list869.size; ++_i871) + org.apache.thrift.protocol.TList _list885 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.resourcePlans = new ArrayList(_list885.size); + WMResourcePlan _elem886; + for (int _i887 = 0; _i887 < _list885.size; ++_i887) { - _elem870 = new WMResourcePlan(); - _elem870.read(iprot); - struct.resourcePlans.add(_elem870); + _elem886 = new WMResourcePlan(); + _elem886.read(iprot); + struct.resourcePlans.add(_elem886); } } 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 b23a7f89f8..6918953813 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 _list888 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list888.size); - WMTrigger _elem889; - for (int _i890 = 0; _i890 < _list888.size; ++_i890) + org.apache.thrift.protocol.TList _list904 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list904.size); + WMTrigger _elem905; + for (int _i906 = 0; _i906 < _list904.size; ++_i906) { - _elem889 = new WMTrigger(); - _elem889.read(iprot); - struct.triggers.add(_elem889); + _elem905 = new WMTrigger(); + _elem905.read(iprot); + struct.triggers.add(_elem905); } 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 _iter891 : struct.triggers) + for (WMTrigger _iter907 : struct.triggers) { - _iter891.write(oprot); + _iter907.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 _iter892 : struct.triggers) + for (WMTrigger _iter908 : struct.triggers) { - _iter892.write(oprot); + _iter908.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 _list893 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list893.size); - WMTrigger _elem894; - for (int _i895 = 0; _i895 < _list893.size; ++_i895) + org.apache.thrift.protocol.TList _list909 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list909.size); + WMTrigger _elem910; + for (int _i911 = 0; _i911 < _list909.size; ++_i911) { - _elem894 = new WMTrigger(); - _elem894.read(iprot); - struct.triggers.add(_elem894); + _elem910 = new WMTrigger(); + _elem910.read(iprot); + struct.triggers.add(_elem910); } } 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 53a0443c7d..66a478d964 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 _list872 = iprot.readListBegin(); - struct.errors = new ArrayList(_list872.size); - String _elem873; - for (int _i874 = 0; _i874 < _list872.size; ++_i874) + org.apache.thrift.protocol.TList _list888 = iprot.readListBegin(); + struct.errors = new ArrayList(_list888.size); + String _elem889; + for (int _i890 = 0; _i890 < _list888.size; ++_i890) { - _elem873 = iprot.readString(); - struct.errors.add(_elem873); + _elem889 = iprot.readString(); + struct.errors.add(_elem889); } 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 _list875 = iprot.readListBegin(); - struct.warnings = new ArrayList(_list875.size); - String _elem876; - for (int _i877 = 0; _i877 < _list875.size; ++_i877) + org.apache.thrift.protocol.TList _list891 = iprot.readListBegin(); + struct.warnings = new ArrayList(_list891.size); + String _elem892; + for (int _i893 = 0; _i893 < _list891.size; ++_i893) { - _elem876 = iprot.readString(); - struct.warnings.add(_elem876); + _elem892 = iprot.readString(); + struct.warnings.add(_elem892); } 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 _iter878 : struct.errors) + for (String _iter894 : struct.errors) { - oprot.writeString(_iter878); + oprot.writeString(_iter894); } 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 _iter879 : struct.warnings) + for (String _iter895 : struct.warnings) { - oprot.writeString(_iter879); + oprot.writeString(_iter895); } 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 _iter880 : struct.errors) + for (String _iter896 : struct.errors) { - oprot.writeString(_iter880); + oprot.writeString(_iter896); } } } if (struct.isSetWarnings()) { { oprot.writeI32(struct.warnings.size()); - for (String _iter881 : struct.warnings) + for (String _iter897 : struct.warnings) { - oprot.writeString(_iter881); + oprot.writeString(_iter897); } } } @@ -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 _list882 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.errors = new ArrayList(_list882.size); - String _elem883; - for (int _i884 = 0; _i884 < _list882.size; ++_i884) + org.apache.thrift.protocol.TList _list898 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.errors = new ArrayList(_list898.size); + String _elem899; + for (int _i900 = 0; _i900 < _list898.size; ++_i900) { - _elem883 = iprot.readString(); - struct.errors.add(_elem883); + _elem899 = iprot.readString(); + struct.errors.add(_elem899); } } struct.setErrorsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list885 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.warnings = new ArrayList(_list885.size); - String _elem886; - for (int _i887 = 0; _i887 < _list885.size; ++_i887) + org.apache.thrift.protocol.TList _list901 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.warnings = new ArrayList(_list901.size); + String _elem902; + for (int _i903 = 0; _i903 < _list901.size; ++_i903) { - _elem886 = iprot.readString(); - struct.warnings.add(_elem886); + _elem902 = iprot.readString(); + struct.warnings.add(_elem902); } } 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 5e3dff1a12..850989bd71 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -1171,6 +1171,13 @@ interface ThriftHiveMetastoreIf extends \FacebookServiceIf { * @throws \metastore\MetaException */ public function allocate_table_write_ids(\metastore\AllocateTableWriteIdsRequest $rqst); + /** + * @param \metastore\GetTargetTxnIdsRequest $rqst + * @return \metastore\GetTargetTxnIdsResponse + * @throws \metastore\NoSuchTxnException + * @throws \metastore\MetaException + */ + public function repl_get_target_txn_ids(\metastore\GetTargetTxnIdsRequest $rqst); /** * @param \metastore\LockRequest $rqst * @return \metastore\LockResponse @@ -9944,6 +9951,63 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("allocate_table_write_ids failed: unknown result"); } + public function repl_get_target_txn_ids(\metastore\GetTargetTxnIdsRequest $rqst) + { + $this->send_repl_get_target_txn_ids($rqst); + return $this->recv_repl_get_target_txn_ids(); + } + + public function send_repl_get_target_txn_ids(\metastore\GetTargetTxnIdsRequest $rqst) + { + $args = new \metastore\ThriftHiveMetastore_repl_get_target_txn_ids_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_, 'repl_get_target_txn_ids', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); + } + else + { + $this->output_->writeMessageBegin('repl_get_target_txn_ids', TMessageType::CALL, $this->seqid_); + $args->write($this->output_); + $this->output_->writeMessageEnd(); + $this->output_->getTransport()->flush(); + } + } + + public function recv_repl_get_target_txn_ids() + { + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); + if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_repl_get_target_txn_ids_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_repl_get_target_txn_ids_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("repl_get_target_txn_ids failed: unknown result"); + } + public function lock(\metastore\LockRequest $rqst) { $this->send_lock($rqst); @@ -14817,14 +14881,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size806 = 0; - $_etype809 = 0; - $xfer += $input->readListBegin($_etype809, $_size806); - for ($_i810 = 0; $_i810 < $_size806; ++$_i810) + $_size820 = 0; + $_etype823 = 0; + $xfer += $input->readListBegin($_etype823, $_size820); + for ($_i824 = 0; $_i824 < $_size820; ++$_i824) { - $elem811 = null; - $xfer += $input->readString($elem811); - $this->success []= $elem811; + $elem825 = null; + $xfer += $input->readString($elem825); + $this->success []= $elem825; } $xfer += $input->readListEnd(); } else { @@ -14860,9 +14924,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter812) + foreach ($this->success as $iter826) { - $xfer += $output->writeString($iter812); + $xfer += $output->writeString($iter826); } } $output->writeListEnd(); @@ -14993,14 +15057,14 @@ class ThriftHiveMetastore_get_all_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size813 = 0; - $_etype816 = 0; - $xfer += $input->readListBegin($_etype816, $_size813); - for ($_i817 = 0; $_i817 < $_size813; ++$_i817) + $_size827 = 0; + $_etype830 = 0; + $xfer += $input->readListBegin($_etype830, $_size827); + for ($_i831 = 0; $_i831 < $_size827; ++$_i831) { - $elem818 = null; - $xfer += $input->readString($elem818); - $this->success []= $elem818; + $elem832 = null; + $xfer += $input->readString($elem832); + $this->success []= $elem832; } $xfer += $input->readListEnd(); } else { @@ -15036,9 +15100,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter819) + foreach ($this->success as $iter833) { - $xfer += $output->writeString($iter819); + $xfer += $output->writeString($iter833); } } $output->writeListEnd(); @@ -16039,18 +16103,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size820 = 0; - $_ktype821 = 0; - $_vtype822 = 0; - $xfer += $input->readMapBegin($_ktype821, $_vtype822, $_size820); - for ($_i824 = 0; $_i824 < $_size820; ++$_i824) + $_size834 = 0; + $_ktype835 = 0; + $_vtype836 = 0; + $xfer += $input->readMapBegin($_ktype835, $_vtype836, $_size834); + for ($_i838 = 0; $_i838 < $_size834; ++$_i838) { - $key825 = ''; - $val826 = new \metastore\Type(); - $xfer += $input->readString($key825); - $val826 = new \metastore\Type(); - $xfer += $val826->read($input); - $this->success[$key825] = $val826; + $key839 = ''; + $val840 = new \metastore\Type(); + $xfer += $input->readString($key839); + $val840 = new \metastore\Type(); + $xfer += $val840->read($input); + $this->success[$key839] = $val840; } $xfer += $input->readMapEnd(); } else { @@ -16086,10 +16150,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter827 => $viter828) + foreach ($this->success as $kiter841 => $viter842) { - $xfer += $output->writeString($kiter827); - $xfer += $viter828->write($output); + $xfer += $output->writeString($kiter841); + $xfer += $viter842->write($output); } } $output->writeMapEnd(); @@ -16293,15 +16357,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size829 = 0; - $_etype832 = 0; - $xfer += $input->readListBegin($_etype832, $_size829); - for ($_i833 = 0; $_i833 < $_size829; ++$_i833) + $_size843 = 0; + $_etype846 = 0; + $xfer += $input->readListBegin($_etype846, $_size843); + for ($_i847 = 0; $_i847 < $_size843; ++$_i847) { - $elem834 = null; - $elem834 = new \metastore\FieldSchema(); - $xfer += $elem834->read($input); - $this->success []= $elem834; + $elem848 = null; + $elem848 = new \metastore\FieldSchema(); + $xfer += $elem848->read($input); + $this->success []= $elem848; } $xfer += $input->readListEnd(); } else { @@ -16353,9 +16417,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter835) + foreach ($this->success as $iter849) { - $xfer += $iter835->write($output); + $xfer += $iter849->write($output); } } $output->writeListEnd(); @@ -16597,15 +16661,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size836 = 0; - $_etype839 = 0; - $xfer += $input->readListBegin($_etype839, $_size836); - for ($_i840 = 0; $_i840 < $_size836; ++$_i840) + $_size850 = 0; + $_etype853 = 0; + $xfer += $input->readListBegin($_etype853, $_size850); + for ($_i854 = 0; $_i854 < $_size850; ++$_i854) { - $elem841 = null; - $elem841 = new \metastore\FieldSchema(); - $xfer += $elem841->read($input); - $this->success []= $elem841; + $elem855 = null; + $elem855 = new \metastore\FieldSchema(); + $xfer += $elem855->read($input); + $this->success []= $elem855; } $xfer += $input->readListEnd(); } else { @@ -16657,9 +16721,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter842) + foreach ($this->success as $iter856) { - $xfer += $iter842->write($output); + $xfer += $iter856->write($output); } } $output->writeListEnd(); @@ -16873,15 +16937,15 @@ class ThriftHiveMetastore_get_schema_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size843 = 0; - $_etype846 = 0; - $xfer += $input->readListBegin($_etype846, $_size843); - for ($_i847 = 0; $_i847 < $_size843; ++$_i847) + $_size857 = 0; + $_etype860 = 0; + $xfer += $input->readListBegin($_etype860, $_size857); + for ($_i861 = 0; $_i861 < $_size857; ++$_i861) { - $elem848 = null; - $elem848 = new \metastore\FieldSchema(); - $xfer += $elem848->read($input); - $this->success []= $elem848; + $elem862 = null; + $elem862 = new \metastore\FieldSchema(); + $xfer += $elem862->read($input); + $this->success []= $elem862; } $xfer += $input->readListEnd(); } else { @@ -16933,9 +16997,9 @@ class ThriftHiveMetastore_get_schema_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter849) + foreach ($this->success as $iter863) { - $xfer += $iter849->write($output); + $xfer += $iter863->write($output); } } $output->writeListEnd(); @@ -17177,15 +17241,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size850 = 0; - $_etype853 = 0; - $xfer += $input->readListBegin($_etype853, $_size850); - for ($_i854 = 0; $_i854 < $_size850; ++$_i854) + $_size864 = 0; + $_etype867 = 0; + $xfer += $input->readListBegin($_etype867, $_size864); + for ($_i868 = 0; $_i868 < $_size864; ++$_i868) { - $elem855 = null; - $elem855 = new \metastore\FieldSchema(); - $xfer += $elem855->read($input); - $this->success []= $elem855; + $elem869 = null; + $elem869 = new \metastore\FieldSchema(); + $xfer += $elem869->read($input); + $this->success []= $elem869; } $xfer += $input->readListEnd(); } else { @@ -17237,9 +17301,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter856) + foreach ($this->success as $iter870) { - $xfer += $iter856->write($output); + $xfer += $iter870->write($output); } } $output->writeListEnd(); @@ -17911,15 +17975,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 2: if ($ftype == TType::LST) { $this->primaryKeys = array(); - $_size857 = 0; - $_etype860 = 0; - $xfer += $input->readListBegin($_etype860, $_size857); - for ($_i861 = 0; $_i861 < $_size857; ++$_i861) + $_size871 = 0; + $_etype874 = 0; + $xfer += $input->readListBegin($_etype874, $_size871); + for ($_i875 = 0; $_i875 < $_size871; ++$_i875) { - $elem862 = null; - $elem862 = new \metastore\SQLPrimaryKey(); - $xfer += $elem862->read($input); - $this->primaryKeys []= $elem862; + $elem876 = null; + $elem876 = new \metastore\SQLPrimaryKey(); + $xfer += $elem876->read($input); + $this->primaryKeys []= $elem876; } $xfer += $input->readListEnd(); } else { @@ -17929,15 +17993,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 3: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size863 = 0; - $_etype866 = 0; - $xfer += $input->readListBegin($_etype866, $_size863); - for ($_i867 = 0; $_i867 < $_size863; ++$_i867) + $_size877 = 0; + $_etype880 = 0; + $xfer += $input->readListBegin($_etype880, $_size877); + for ($_i881 = 0; $_i881 < $_size877; ++$_i881) { - $elem868 = null; - $elem868 = new \metastore\SQLForeignKey(); - $xfer += $elem868->read($input); - $this->foreignKeys []= $elem868; + $elem882 = null; + $elem882 = new \metastore\SQLForeignKey(); + $xfer += $elem882->read($input); + $this->foreignKeys []= $elem882; } $xfer += $input->readListEnd(); } else { @@ -17947,15 +18011,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 4: if ($ftype == TType::LST) { $this->uniqueConstraints = array(); - $_size869 = 0; - $_etype872 = 0; - $xfer += $input->readListBegin($_etype872, $_size869); - for ($_i873 = 0; $_i873 < $_size869; ++$_i873) + $_size883 = 0; + $_etype886 = 0; + $xfer += $input->readListBegin($_etype886, $_size883); + for ($_i887 = 0; $_i887 < $_size883; ++$_i887) { - $elem874 = null; - $elem874 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem874->read($input); - $this->uniqueConstraints []= $elem874; + $elem888 = null; + $elem888 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem888->read($input); + $this->uniqueConstraints []= $elem888; } $xfer += $input->readListEnd(); } else { @@ -17965,15 +18029,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 5: if ($ftype == TType::LST) { $this->notNullConstraints = array(); - $_size875 = 0; - $_etype878 = 0; - $xfer += $input->readListBegin($_etype878, $_size875); - for ($_i879 = 0; $_i879 < $_size875; ++$_i879) + $_size889 = 0; + $_etype892 = 0; + $xfer += $input->readListBegin($_etype892, $_size889); + for ($_i893 = 0; $_i893 < $_size889; ++$_i893) { - $elem880 = null; - $elem880 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem880->read($input); - $this->notNullConstraints []= $elem880; + $elem894 = null; + $elem894 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem894->read($input); + $this->notNullConstraints []= $elem894; } $xfer += $input->readListEnd(); } else { @@ -17983,15 +18047,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 6: if ($ftype == TType::LST) { $this->defaultConstraints = array(); - $_size881 = 0; - $_etype884 = 0; - $xfer += $input->readListBegin($_etype884, $_size881); - for ($_i885 = 0; $_i885 < $_size881; ++$_i885) + $_size895 = 0; + $_etype898 = 0; + $xfer += $input->readListBegin($_etype898, $_size895); + for ($_i899 = 0; $_i899 < $_size895; ++$_i899) { - $elem886 = null; - $elem886 = new \metastore\SQLDefaultConstraint(); - $xfer += $elem886->read($input); - $this->defaultConstraints []= $elem886; + $elem900 = null; + $elem900 = new \metastore\SQLDefaultConstraint(); + $xfer += $elem900->read($input); + $this->defaultConstraints []= $elem900; } $xfer += $input->readListEnd(); } else { @@ -18001,15 +18065,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 7: if ($ftype == TType::LST) { $this->checkConstraints = array(); - $_size887 = 0; - $_etype890 = 0; - $xfer += $input->readListBegin($_etype890, $_size887); - for ($_i891 = 0; $_i891 < $_size887; ++$_i891) + $_size901 = 0; + $_etype904 = 0; + $xfer += $input->readListBegin($_etype904, $_size901); + for ($_i905 = 0; $_i905 < $_size901; ++$_i905) { - $elem892 = null; - $elem892 = new \metastore\SQLCheckConstraint(); - $xfer += $elem892->read($input); - $this->checkConstraints []= $elem892; + $elem906 = null; + $elem906 = new \metastore\SQLCheckConstraint(); + $xfer += $elem906->read($input); + $this->checkConstraints []= $elem906; } $xfer += $input->readListEnd(); } else { @@ -18045,9 +18109,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); { - foreach ($this->primaryKeys as $iter893) + foreach ($this->primaryKeys as $iter907) { - $xfer += $iter893->write($output); + $xfer += $iter907->write($output); } } $output->writeListEnd(); @@ -18062,9 +18126,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); { - foreach ($this->foreignKeys as $iter894) + foreach ($this->foreignKeys as $iter908) { - $xfer += $iter894->write($output); + $xfer += $iter908->write($output); } } $output->writeListEnd(); @@ -18079,9 +18143,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints)); { - foreach ($this->uniqueConstraints as $iter895) + foreach ($this->uniqueConstraints as $iter909) { - $xfer += $iter895->write($output); + $xfer += $iter909->write($output); } } $output->writeListEnd(); @@ -18096,9 +18160,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->notNullConstraints)); { - foreach ($this->notNullConstraints as $iter896) + foreach ($this->notNullConstraints as $iter910) { - $xfer += $iter896->write($output); + $xfer += $iter910->write($output); } } $output->writeListEnd(); @@ -18113,9 +18177,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->defaultConstraints)); { - foreach ($this->defaultConstraints as $iter897) + foreach ($this->defaultConstraints as $iter911) { - $xfer += $iter897->write($output); + $xfer += $iter911->write($output); } } $output->writeListEnd(); @@ -18130,9 +18194,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->checkConstraints)); { - foreach ($this->checkConstraints as $iter898) + foreach ($this->checkConstraints as $iter912) { - $xfer += $iter898->write($output); + $xfer += $iter912->write($output); } } $output->writeListEnd(); @@ -20132,14 +20196,14 @@ class ThriftHiveMetastore_truncate_table_args { case 3: if ($ftype == TType::LST) { $this->partNames = array(); - $_size899 = 0; - $_etype902 = 0; - $xfer += $input->readListBegin($_etype902, $_size899); - for ($_i903 = 0; $_i903 < $_size899; ++$_i903) + $_size913 = 0; + $_etype916 = 0; + $xfer += $input->readListBegin($_etype916, $_size913); + for ($_i917 = 0; $_i917 < $_size913; ++$_i917) { - $elem904 = null; - $xfer += $input->readString($elem904); - $this->partNames []= $elem904; + $elem918 = null; + $xfer += $input->readString($elem918); + $this->partNames []= $elem918; } $xfer += $input->readListEnd(); } else { @@ -20177,9 +20241,9 @@ class ThriftHiveMetastore_truncate_table_args { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter905) + foreach ($this->partNames as $iter919) { - $xfer += $output->writeString($iter905); + $xfer += $output->writeString($iter919); } } $output->writeListEnd(); @@ -20430,14 +20494,14 @@ class ThriftHiveMetastore_get_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) + $_size920 = 0; + $_etype923 = 0; + $xfer += $input->readListBegin($_etype923, $_size920); + for ($_i924 = 0; $_i924 < $_size920; ++$_i924) { - $elem911 = null; - $xfer += $input->readString($elem911); - $this->success []= $elem911; + $elem925 = null; + $xfer += $input->readString($elem925); + $this->success []= $elem925; } $xfer += $input->readListEnd(); } else { @@ -20473,9 +20537,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter912) + foreach ($this->success as $iter926) { - $xfer += $output->writeString($iter912); + $xfer += $output->writeString($iter926); } } $output->writeListEnd(); @@ -20677,14 +20741,14 @@ class ThriftHiveMetastore_get_tables_by_type_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size913 = 0; - $_etype916 = 0; - $xfer += $input->readListBegin($_etype916, $_size913); - for ($_i917 = 0; $_i917 < $_size913; ++$_i917) + $_size927 = 0; + $_etype930 = 0; + $xfer += $input->readListBegin($_etype930, $_size927); + for ($_i931 = 0; $_i931 < $_size927; ++$_i931) { - $elem918 = null; - $xfer += $input->readString($elem918); - $this->success []= $elem918; + $elem932 = null; + $xfer += $input->readString($elem932); + $this->success []= $elem932; } $xfer += $input->readListEnd(); } else { @@ -20720,9 +20784,9 @@ class ThriftHiveMetastore_get_tables_by_type_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter919) + foreach ($this->success as $iter933) { - $xfer += $output->writeString($iter919); + $xfer += $output->writeString($iter933); } } $output->writeListEnd(); @@ -20878,14 +20942,14 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_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) + $_size934 = 0; + $_etype937 = 0; + $xfer += $input->readListBegin($_etype937, $_size934); + for ($_i938 = 0; $_i938 < $_size934; ++$_i938) { - $elem925 = null; - $xfer += $input->readString($elem925); - $this->success []= $elem925; + $elem939 = null; + $xfer += $input->readString($elem939); + $this->success []= $elem939; } $xfer += $input->readListEnd(); } else { @@ -20921,9 +20985,9 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter926) + foreach ($this->success as $iter940) { - $xfer += $output->writeString($iter926); + $xfer += $output->writeString($iter940); } } $output->writeListEnd(); @@ -21028,14 +21092,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = array(); - $_size927 = 0; - $_etype930 = 0; - $xfer += $input->readListBegin($_etype930, $_size927); - for ($_i931 = 0; $_i931 < $_size927; ++$_i931) + $_size941 = 0; + $_etype944 = 0; + $xfer += $input->readListBegin($_etype944, $_size941); + for ($_i945 = 0; $_i945 < $_size941; ++$_i945) { - $elem932 = null; - $xfer += $input->readString($elem932); - $this->tbl_types []= $elem932; + $elem946 = null; + $xfer += $input->readString($elem946); + $this->tbl_types []= $elem946; } $xfer += $input->readListEnd(); } else { @@ -21073,9 +21137,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter933) + foreach ($this->tbl_types as $iter947) { - $xfer += $output->writeString($iter933); + $xfer += $output->writeString($iter947); } } $output->writeListEnd(); @@ -21152,15 +21216,15 @@ class ThriftHiveMetastore_get_table_meta_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size934 = 0; - $_etype937 = 0; - $xfer += $input->readListBegin($_etype937, $_size934); - for ($_i938 = 0; $_i938 < $_size934; ++$_i938) + $_size948 = 0; + $_etype951 = 0; + $xfer += $input->readListBegin($_etype951, $_size948); + for ($_i952 = 0; $_i952 < $_size948; ++$_i952) { - $elem939 = null; - $elem939 = new \metastore\TableMeta(); - $xfer += $elem939->read($input); - $this->success []= $elem939; + $elem953 = null; + $elem953 = new \metastore\TableMeta(); + $xfer += $elem953->read($input); + $this->success []= $elem953; } $xfer += $input->readListEnd(); } else { @@ -21196,9 +21260,9 @@ class ThriftHiveMetastore_get_table_meta_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter940) + foreach ($this->success as $iter954) { - $xfer += $iter940->write($output); + $xfer += $iter954->write($output); } } $output->writeListEnd(); @@ -21354,14 +21418,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size941 = 0; - $_etype944 = 0; - $xfer += $input->readListBegin($_etype944, $_size941); - for ($_i945 = 0; $_i945 < $_size941; ++$_i945) + $_size955 = 0; + $_etype958 = 0; + $xfer += $input->readListBegin($_etype958, $_size955); + for ($_i959 = 0; $_i959 < $_size955; ++$_i959) { - $elem946 = null; - $xfer += $input->readString($elem946); - $this->success []= $elem946; + $elem960 = null; + $xfer += $input->readString($elem960); + $this->success []= $elem960; } $xfer += $input->readListEnd(); } else { @@ -21397,9 +21461,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter947) + foreach ($this->success as $iter961) { - $xfer += $output->writeString($iter947); + $xfer += $output->writeString($iter961); } } $output->writeListEnd(); @@ -21714,14 +21778,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size948 = 0; - $_etype951 = 0; - $xfer += $input->readListBegin($_etype951, $_size948); - for ($_i952 = 0; $_i952 < $_size948; ++$_i952) + $_size962 = 0; + $_etype965 = 0; + $xfer += $input->readListBegin($_etype965, $_size962); + for ($_i966 = 0; $_i966 < $_size962; ++$_i966) { - $elem953 = null; - $xfer += $input->readString($elem953); - $this->tbl_names []= $elem953; + $elem967 = null; + $xfer += $input->readString($elem967); + $this->tbl_names []= $elem967; } $xfer += $input->readListEnd(); } else { @@ -21754,9 +21818,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter954) + foreach ($this->tbl_names as $iter968) { - $xfer += $output->writeString($iter954); + $xfer += $output->writeString($iter968); } } $output->writeListEnd(); @@ -21821,15 +21885,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size955 = 0; - $_etype958 = 0; - $xfer += $input->readListBegin($_etype958, $_size955); - for ($_i959 = 0; $_i959 < $_size955; ++$_i959) + $_size969 = 0; + $_etype972 = 0; + $xfer += $input->readListBegin($_etype972, $_size969); + for ($_i973 = 0; $_i973 < $_size969; ++$_i973) { - $elem960 = null; - $elem960 = new \metastore\Table(); - $xfer += $elem960->read($input); - $this->success []= $elem960; + $elem974 = null; + $elem974 = new \metastore\Table(); + $xfer += $elem974->read($input); + $this->success []= $elem974; } $xfer += $input->readListEnd(); } else { @@ -21857,9 +21921,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter961) + foreach ($this->success as $iter975) { - $xfer += $iter961->write($output); + $xfer += $iter975->write($output); } } $output->writeListEnd(); @@ -22386,14 +22450,14 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size962 = 0; - $_etype965 = 0; - $xfer += $input->readListBegin($_etype965, $_size962); - for ($_i966 = 0; $_i966 < $_size962; ++$_i966) + $_size976 = 0; + $_etype979 = 0; + $xfer += $input->readListBegin($_etype979, $_size976); + for ($_i980 = 0; $_i980 < $_size976; ++$_i980) { - $elem967 = null; - $xfer += $input->readString($elem967); - $this->tbl_names []= $elem967; + $elem981 = null; + $xfer += $input->readString($elem981); + $this->tbl_names []= $elem981; } $xfer += $input->readListEnd(); } else { @@ -22426,9 +22490,9 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter968) + foreach ($this->tbl_names as $iter982) { - $xfer += $output->writeString($iter968); + $xfer += $output->writeString($iter982); } } $output->writeListEnd(); @@ -22533,18 +22597,18 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size969 = 0; - $_ktype970 = 0; - $_vtype971 = 0; - $xfer += $input->readMapBegin($_ktype970, $_vtype971, $_size969); - for ($_i973 = 0; $_i973 < $_size969; ++$_i973) + $_size983 = 0; + $_ktype984 = 0; + $_vtype985 = 0; + $xfer += $input->readMapBegin($_ktype984, $_vtype985, $_size983); + for ($_i987 = 0; $_i987 < $_size983; ++$_i987) { - $key974 = ''; - $val975 = new \metastore\Materialization(); - $xfer += $input->readString($key974); - $val975 = new \metastore\Materialization(); - $xfer += $val975->read($input); - $this->success[$key974] = $val975; + $key988 = ''; + $val989 = new \metastore\Materialization(); + $xfer += $input->readString($key988); + $val989 = new \metastore\Materialization(); + $xfer += $val989->read($input); + $this->success[$key988] = $val989; } $xfer += $input->readMapEnd(); } else { @@ -22596,10 +22660,10 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter976 => $viter977) + foreach ($this->success as $kiter990 => $viter991) { - $xfer += $output->writeString($kiter976); - $xfer += $viter977->write($output); + $xfer += $output->writeString($kiter990); + $xfer += $viter991->write($output); } } $output->writeMapEnd(); @@ -23111,14 +23175,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size978 = 0; - $_etype981 = 0; - $xfer += $input->readListBegin($_etype981, $_size978); - for ($_i982 = 0; $_i982 < $_size978; ++$_i982) + $_size992 = 0; + $_etype995 = 0; + $xfer += $input->readListBegin($_etype995, $_size992); + for ($_i996 = 0; $_i996 < $_size992; ++$_i996) { - $elem983 = null; - $xfer += $input->readString($elem983); - $this->success []= $elem983; + $elem997 = null; + $xfer += $input->readString($elem997); + $this->success []= $elem997; } $xfer += $input->readListEnd(); } else { @@ -23170,9 +23234,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter984) + foreach ($this->success as $iter998) { - $xfer += $output->writeString($iter984); + $xfer += $output->writeString($iter998); } } $output->writeListEnd(); @@ -24485,15 +24549,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size985 = 0; - $_etype988 = 0; - $xfer += $input->readListBegin($_etype988, $_size985); - for ($_i989 = 0; $_i989 < $_size985; ++$_i989) + $_size999 = 0; + $_etype1002 = 0; + $xfer += $input->readListBegin($_etype1002, $_size999); + for ($_i1003 = 0; $_i1003 < $_size999; ++$_i1003) { - $elem990 = null; - $elem990 = new \metastore\Partition(); - $xfer += $elem990->read($input); - $this->new_parts []= $elem990; + $elem1004 = null; + $elem1004 = new \metastore\Partition(); + $xfer += $elem1004->read($input); + $this->new_parts []= $elem1004; } $xfer += $input->readListEnd(); } else { @@ -24521,9 +24585,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter991) + foreach ($this->new_parts as $iter1005) { - $xfer += $iter991->write($output); + $xfer += $iter1005->write($output); } } $output->writeListEnd(); @@ -24738,15 +24802,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size992 = 0; - $_etype995 = 0; - $xfer += $input->readListBegin($_etype995, $_size992); - for ($_i996 = 0; $_i996 < $_size992; ++$_i996) + $_size1006 = 0; + $_etype1009 = 0; + $xfer += $input->readListBegin($_etype1009, $_size1006); + for ($_i1010 = 0; $_i1010 < $_size1006; ++$_i1010) { - $elem997 = null; - $elem997 = new \metastore\PartitionSpec(); - $xfer += $elem997->read($input); - $this->new_parts []= $elem997; + $elem1011 = null; + $elem1011 = new \metastore\PartitionSpec(); + $xfer += $elem1011->read($input); + $this->new_parts []= $elem1011; } $xfer += $input->readListEnd(); } else { @@ -24774,9 +24838,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter998) + foreach ($this->new_parts as $iter1012) { - $xfer += $iter998->write($output); + $xfer += $iter1012->write($output); } } $output->writeListEnd(); @@ -25026,14 +25090,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size999 = 0; - $_etype1002 = 0; - $xfer += $input->readListBegin($_etype1002, $_size999); - for ($_i1003 = 0; $_i1003 < $_size999; ++$_i1003) + $_size1013 = 0; + $_etype1016 = 0; + $xfer += $input->readListBegin($_etype1016, $_size1013); + for ($_i1017 = 0; $_i1017 < $_size1013; ++$_i1017) { - $elem1004 = null; - $xfer += $input->readString($elem1004); - $this->part_vals []= $elem1004; + $elem1018 = null; + $xfer += $input->readString($elem1018); + $this->part_vals []= $elem1018; } $xfer += $input->readListEnd(); } else { @@ -25071,9 +25135,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1005) + foreach ($this->part_vals as $iter1019) { - $xfer += $output->writeString($iter1005); + $xfer += $output->writeString($iter1019); } } $output->writeListEnd(); @@ -25575,14 +25639,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1006 = 0; - $_etype1009 = 0; - $xfer += $input->readListBegin($_etype1009, $_size1006); - for ($_i1010 = 0; $_i1010 < $_size1006; ++$_i1010) + $_size1020 = 0; + $_etype1023 = 0; + $xfer += $input->readListBegin($_etype1023, $_size1020); + for ($_i1024 = 0; $_i1024 < $_size1020; ++$_i1024) { - $elem1011 = null; - $xfer += $input->readString($elem1011); - $this->part_vals []= $elem1011; + $elem1025 = null; + $xfer += $input->readString($elem1025); + $this->part_vals []= $elem1025; } $xfer += $input->readListEnd(); } else { @@ -25628,9 +25692,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1012) + foreach ($this->part_vals as $iter1026) { - $xfer += $output->writeString($iter1012); + $xfer += $output->writeString($iter1026); } } $output->writeListEnd(); @@ -26484,14 +26548,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1013 = 0; - $_etype1016 = 0; - $xfer += $input->readListBegin($_etype1016, $_size1013); - for ($_i1017 = 0; $_i1017 < $_size1013; ++$_i1017) + $_size1027 = 0; + $_etype1030 = 0; + $xfer += $input->readListBegin($_etype1030, $_size1027); + for ($_i1031 = 0; $_i1031 < $_size1027; ++$_i1031) { - $elem1018 = null; - $xfer += $input->readString($elem1018); - $this->part_vals []= $elem1018; + $elem1032 = null; + $xfer += $input->readString($elem1032); + $this->part_vals []= $elem1032; } $xfer += $input->readListEnd(); } else { @@ -26536,9 +26600,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1019) + foreach ($this->part_vals as $iter1033) { - $xfer += $output->writeString($iter1019); + $xfer += $output->writeString($iter1033); } } $output->writeListEnd(); @@ -26791,14 +26855,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1020 = 0; - $_etype1023 = 0; - $xfer += $input->readListBegin($_etype1023, $_size1020); - for ($_i1024 = 0; $_i1024 < $_size1020; ++$_i1024) + $_size1034 = 0; + $_etype1037 = 0; + $xfer += $input->readListBegin($_etype1037, $_size1034); + for ($_i1038 = 0; $_i1038 < $_size1034; ++$_i1038) { - $elem1025 = null; - $xfer += $input->readString($elem1025); - $this->part_vals []= $elem1025; + $elem1039 = null; + $xfer += $input->readString($elem1039); + $this->part_vals []= $elem1039; } $xfer += $input->readListEnd(); } else { @@ -26851,9 +26915,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1026) + foreach ($this->part_vals as $iter1040) { - $xfer += $output->writeString($iter1026); + $xfer += $output->writeString($iter1040); } } $output->writeListEnd(); @@ -27867,14 +27931,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1027 = 0; - $_etype1030 = 0; - $xfer += $input->readListBegin($_etype1030, $_size1027); - for ($_i1031 = 0; $_i1031 < $_size1027; ++$_i1031) + $_size1041 = 0; + $_etype1044 = 0; + $xfer += $input->readListBegin($_etype1044, $_size1041); + for ($_i1045 = 0; $_i1045 < $_size1041; ++$_i1045) { - $elem1032 = null; - $xfer += $input->readString($elem1032); - $this->part_vals []= $elem1032; + $elem1046 = null; + $xfer += $input->readString($elem1046); + $this->part_vals []= $elem1046; } $xfer += $input->readListEnd(); } else { @@ -27912,9 +27976,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1033) + foreach ($this->part_vals as $iter1047) { - $xfer += $output->writeString($iter1033); + $xfer += $output->writeString($iter1047); } } $output->writeListEnd(); @@ -28156,17 +28220,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1034 = 0; - $_ktype1035 = 0; - $_vtype1036 = 0; - $xfer += $input->readMapBegin($_ktype1035, $_vtype1036, $_size1034); - for ($_i1038 = 0; $_i1038 < $_size1034; ++$_i1038) + $_size1048 = 0; + $_ktype1049 = 0; + $_vtype1050 = 0; + $xfer += $input->readMapBegin($_ktype1049, $_vtype1050, $_size1048); + for ($_i1052 = 0; $_i1052 < $_size1048; ++$_i1052) { - $key1039 = ''; - $val1040 = ''; - $xfer += $input->readString($key1039); - $xfer += $input->readString($val1040); - $this->partitionSpecs[$key1039] = $val1040; + $key1053 = ''; + $val1054 = ''; + $xfer += $input->readString($key1053); + $xfer += $input->readString($val1054); + $this->partitionSpecs[$key1053] = $val1054; } $xfer += $input->readMapEnd(); } else { @@ -28222,10 +28286,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1041 => $viter1042) + foreach ($this->partitionSpecs as $kiter1055 => $viter1056) { - $xfer += $output->writeString($kiter1041); - $xfer += $output->writeString($viter1042); + $xfer += $output->writeString($kiter1055); + $xfer += $output->writeString($viter1056); } } $output->writeMapEnd(); @@ -28537,17 +28601,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1043 = 0; - $_ktype1044 = 0; - $_vtype1045 = 0; - $xfer += $input->readMapBegin($_ktype1044, $_vtype1045, $_size1043); - for ($_i1047 = 0; $_i1047 < $_size1043; ++$_i1047) + $_size1057 = 0; + $_ktype1058 = 0; + $_vtype1059 = 0; + $xfer += $input->readMapBegin($_ktype1058, $_vtype1059, $_size1057); + for ($_i1061 = 0; $_i1061 < $_size1057; ++$_i1061) { - $key1048 = ''; - $val1049 = ''; - $xfer += $input->readString($key1048); - $xfer += $input->readString($val1049); - $this->partitionSpecs[$key1048] = $val1049; + $key1062 = ''; + $val1063 = ''; + $xfer += $input->readString($key1062); + $xfer += $input->readString($val1063); + $this->partitionSpecs[$key1062] = $val1063; } $xfer += $input->readMapEnd(); } else { @@ -28603,10 +28667,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1050 => $viter1051) + foreach ($this->partitionSpecs as $kiter1064 => $viter1065) { - $xfer += $output->writeString($kiter1050); - $xfer += $output->writeString($viter1051); + $xfer += $output->writeString($kiter1064); + $xfer += $output->writeString($viter1065); } } $output->writeMapEnd(); @@ -28739,15 +28803,15 @@ class ThriftHiveMetastore_exchange_partitions_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) + $_size1066 = 0; + $_etype1069 = 0; + $xfer += $input->readListBegin($_etype1069, $_size1066); + for ($_i1070 = 0; $_i1070 < $_size1066; ++$_i1070) { - $elem1057 = null; - $elem1057 = new \metastore\Partition(); - $xfer += $elem1057->read($input); - $this->success []= $elem1057; + $elem1071 = null; + $elem1071 = new \metastore\Partition(); + $xfer += $elem1071->read($input); + $this->success []= $elem1071; } $xfer += $input->readListEnd(); } else { @@ -28807,9 +28871,9 @@ class ThriftHiveMetastore_exchange_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1058) + foreach ($this->success as $iter1072) { - $xfer += $iter1058->write($output); + $xfer += $iter1072->write($output); } } $output->writeListEnd(); @@ -28955,14 +29019,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1059 = 0; - $_etype1062 = 0; - $xfer += $input->readListBegin($_etype1062, $_size1059); - for ($_i1063 = 0; $_i1063 < $_size1059; ++$_i1063) + $_size1073 = 0; + $_etype1076 = 0; + $xfer += $input->readListBegin($_etype1076, $_size1073); + for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) { - $elem1064 = null; - $xfer += $input->readString($elem1064); - $this->part_vals []= $elem1064; + $elem1078 = null; + $xfer += $input->readString($elem1078); + $this->part_vals []= $elem1078; } $xfer += $input->readListEnd(); } else { @@ -28979,14 +29043,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1065 = 0; - $_etype1068 = 0; - $xfer += $input->readListBegin($_etype1068, $_size1065); - for ($_i1069 = 0; $_i1069 < $_size1065; ++$_i1069) + $_size1079 = 0; + $_etype1082 = 0; + $xfer += $input->readListBegin($_etype1082, $_size1079); + for ($_i1083 = 0; $_i1083 < $_size1079; ++$_i1083) { - $elem1070 = null; - $xfer += $input->readString($elem1070); - $this->group_names []= $elem1070; + $elem1084 = null; + $xfer += $input->readString($elem1084); + $this->group_names []= $elem1084; } $xfer += $input->readListEnd(); } else { @@ -29024,9 +29088,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1071) + foreach ($this->part_vals as $iter1085) { - $xfer += $output->writeString($iter1071); + $xfer += $output->writeString($iter1085); } } $output->writeListEnd(); @@ -29046,9 +29110,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1072) + foreach ($this->group_names as $iter1086) { - $xfer += $output->writeString($iter1072); + $xfer += $output->writeString($iter1086); } } $output->writeListEnd(); @@ -29639,15 +29703,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1073 = 0; - $_etype1076 = 0; - $xfer += $input->readListBegin($_etype1076, $_size1073); - for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) + $_size1087 = 0; + $_etype1090 = 0; + $xfer += $input->readListBegin($_etype1090, $_size1087); + for ($_i1091 = 0; $_i1091 < $_size1087; ++$_i1091) { - $elem1078 = null; - $elem1078 = new \metastore\Partition(); - $xfer += $elem1078->read($input); - $this->success []= $elem1078; + $elem1092 = null; + $elem1092 = new \metastore\Partition(); + $xfer += $elem1092->read($input); + $this->success []= $elem1092; } $xfer += $input->readListEnd(); } else { @@ -29691,9 +29755,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1079) + foreach ($this->success as $iter1093) { - $xfer += $iter1079->write($output); + $xfer += $iter1093->write($output); } } $output->writeListEnd(); @@ -29839,14 +29903,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1080 = 0; - $_etype1083 = 0; - $xfer += $input->readListBegin($_etype1083, $_size1080); - for ($_i1084 = 0; $_i1084 < $_size1080; ++$_i1084) + $_size1094 = 0; + $_etype1097 = 0; + $xfer += $input->readListBegin($_etype1097, $_size1094); + for ($_i1098 = 0; $_i1098 < $_size1094; ++$_i1098) { - $elem1085 = null; - $xfer += $input->readString($elem1085); - $this->group_names []= $elem1085; + $elem1099 = null; + $xfer += $input->readString($elem1099); + $this->group_names []= $elem1099; } $xfer += $input->readListEnd(); } else { @@ -29894,9 +29958,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1086) + foreach ($this->group_names as $iter1100) { - $xfer += $output->writeString($iter1086); + $xfer += $output->writeString($iter1100); } } $output->writeListEnd(); @@ -29985,15 +30049,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1087 = 0; - $_etype1090 = 0; - $xfer += $input->readListBegin($_etype1090, $_size1087); - for ($_i1091 = 0; $_i1091 < $_size1087; ++$_i1091) + $_size1101 = 0; + $_etype1104 = 0; + $xfer += $input->readListBegin($_etype1104, $_size1101); + for ($_i1105 = 0; $_i1105 < $_size1101; ++$_i1105) { - $elem1092 = null; - $elem1092 = new \metastore\Partition(); - $xfer += $elem1092->read($input); - $this->success []= $elem1092; + $elem1106 = null; + $elem1106 = new \metastore\Partition(); + $xfer += $elem1106->read($input); + $this->success []= $elem1106; } $xfer += $input->readListEnd(); } else { @@ -30037,9 +30101,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1093) + foreach ($this->success as $iter1107) { - $xfer += $iter1093->write($output); + $xfer += $iter1107->write($output); } } $output->writeListEnd(); @@ -30259,15 +30323,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1094 = 0; - $_etype1097 = 0; - $xfer += $input->readListBegin($_etype1097, $_size1094); - for ($_i1098 = 0; $_i1098 < $_size1094; ++$_i1098) + $_size1108 = 0; + $_etype1111 = 0; + $xfer += $input->readListBegin($_etype1111, $_size1108); + for ($_i1112 = 0; $_i1112 < $_size1108; ++$_i1112) { - $elem1099 = null; - $elem1099 = new \metastore\PartitionSpec(); - $xfer += $elem1099->read($input); - $this->success []= $elem1099; + $elem1113 = null; + $elem1113 = new \metastore\PartitionSpec(); + $xfer += $elem1113->read($input); + $this->success []= $elem1113; } $xfer += $input->readListEnd(); } else { @@ -30311,9 +30375,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1100) + foreach ($this->success as $iter1114) { - $xfer += $iter1100->write($output); + $xfer += $iter1114->write($output); } } $output->writeListEnd(); @@ -30532,14 +30596,14 @@ class ThriftHiveMetastore_get_partition_names_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) + $_size1115 = 0; + $_etype1118 = 0; + $xfer += $input->readListBegin($_etype1118, $_size1115); + for ($_i1119 = 0; $_i1119 < $_size1115; ++$_i1119) { - $elem1106 = null; - $xfer += $input->readString($elem1106); - $this->success []= $elem1106; + $elem1120 = null; + $xfer += $input->readString($elem1120); + $this->success []= $elem1120; } $xfer += $input->readListEnd(); } else { @@ -30583,9 +30647,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1107) + foreach ($this->success as $iter1121) { - $xfer += $output->writeString($iter1107); + $xfer += $output->writeString($iter1121); } } $output->writeListEnd(); @@ -30916,14 +30980,14 @@ class ThriftHiveMetastore_get_partitions_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) + $_size1122 = 0; + $_etype1125 = 0; + $xfer += $input->readListBegin($_etype1125, $_size1122); + for ($_i1126 = 0; $_i1126 < $_size1122; ++$_i1126) { - $elem1113 = null; - $xfer += $input->readString($elem1113); - $this->part_vals []= $elem1113; + $elem1127 = null; + $xfer += $input->readString($elem1127); + $this->part_vals []= $elem1127; } $xfer += $input->readListEnd(); } else { @@ -30968,9 +31032,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1114) + foreach ($this->part_vals as $iter1128) { - $xfer += $output->writeString($iter1114); + $xfer += $output->writeString($iter1128); } } $output->writeListEnd(); @@ -31064,15 +31128,15 @@ class ThriftHiveMetastore_get_partitions_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) + $_size1129 = 0; + $_etype1132 = 0; + $xfer += $input->readListBegin($_etype1132, $_size1129); + for ($_i1133 = 0; $_i1133 < $_size1129; ++$_i1133) { - $elem1120 = null; - $elem1120 = new \metastore\Partition(); - $xfer += $elem1120->read($input); - $this->success []= $elem1120; + $elem1134 = null; + $elem1134 = new \metastore\Partition(); + $xfer += $elem1134->read($input); + $this->success []= $elem1134; } $xfer += $input->readListEnd(); } else { @@ -31116,9 +31180,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1121) + foreach ($this->success as $iter1135) { - $xfer += $iter1121->write($output); + $xfer += $iter1135->write($output); } } $output->writeListEnd(); @@ -31265,14 +31329,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1122 = 0; - $_etype1125 = 0; - $xfer += $input->readListBegin($_etype1125, $_size1122); - for ($_i1126 = 0; $_i1126 < $_size1122; ++$_i1126) + $_size1136 = 0; + $_etype1139 = 0; + $xfer += $input->readListBegin($_etype1139, $_size1136); + for ($_i1140 = 0; $_i1140 < $_size1136; ++$_i1140) { - $elem1127 = null; - $xfer += $input->readString($elem1127); - $this->part_vals []= $elem1127; + $elem1141 = null; + $xfer += $input->readString($elem1141); + $this->part_vals []= $elem1141; } $xfer += $input->readListEnd(); } else { @@ -31296,14 +31360,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1128 = 0; - $_etype1131 = 0; - $xfer += $input->readListBegin($_etype1131, $_size1128); - for ($_i1132 = 0; $_i1132 < $_size1128; ++$_i1132) + $_size1142 = 0; + $_etype1145 = 0; + $xfer += $input->readListBegin($_etype1145, $_size1142); + for ($_i1146 = 0; $_i1146 < $_size1142; ++$_i1146) { - $elem1133 = null; - $xfer += $input->readString($elem1133); - $this->group_names []= $elem1133; + $elem1147 = null; + $xfer += $input->readString($elem1147); + $this->group_names []= $elem1147; } $xfer += $input->readListEnd(); } else { @@ -31341,9 +31405,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1134) + foreach ($this->part_vals as $iter1148) { - $xfer += $output->writeString($iter1134); + $xfer += $output->writeString($iter1148); } } $output->writeListEnd(); @@ -31368,9 +31432,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1135) + foreach ($this->group_names as $iter1149) { - $xfer += $output->writeString($iter1135); + $xfer += $output->writeString($iter1149); } } $output->writeListEnd(); @@ -31459,15 +31523,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1136 = 0; - $_etype1139 = 0; - $xfer += $input->readListBegin($_etype1139, $_size1136); - for ($_i1140 = 0; $_i1140 < $_size1136; ++$_i1140) + $_size1150 = 0; + $_etype1153 = 0; + $xfer += $input->readListBegin($_etype1153, $_size1150); + for ($_i1154 = 0; $_i1154 < $_size1150; ++$_i1154) { - $elem1141 = null; - $elem1141 = new \metastore\Partition(); - $xfer += $elem1141->read($input); - $this->success []= $elem1141; + $elem1155 = null; + $elem1155 = new \metastore\Partition(); + $xfer += $elem1155->read($input); + $this->success []= $elem1155; } $xfer += $input->readListEnd(); } else { @@ -31511,9 +31575,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1142) + foreach ($this->success as $iter1156) { - $xfer += $iter1142->write($output); + $xfer += $iter1156->write($output); } } $output->writeListEnd(); @@ -31634,14 +31698,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1143 = 0; - $_etype1146 = 0; - $xfer += $input->readListBegin($_etype1146, $_size1143); - for ($_i1147 = 0; $_i1147 < $_size1143; ++$_i1147) + $_size1157 = 0; + $_etype1160 = 0; + $xfer += $input->readListBegin($_etype1160, $_size1157); + for ($_i1161 = 0; $_i1161 < $_size1157; ++$_i1161) { - $elem1148 = null; - $xfer += $input->readString($elem1148); - $this->part_vals []= $elem1148; + $elem1162 = null; + $xfer += $input->readString($elem1162); + $this->part_vals []= $elem1162; } $xfer += $input->readListEnd(); } else { @@ -31686,9 +31750,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1149) + foreach ($this->part_vals as $iter1163) { - $xfer += $output->writeString($iter1149); + $xfer += $output->writeString($iter1163); } } $output->writeListEnd(); @@ -31781,14 +31845,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1150 = 0; - $_etype1153 = 0; - $xfer += $input->readListBegin($_etype1153, $_size1150); - for ($_i1154 = 0; $_i1154 < $_size1150; ++$_i1154) + $_size1164 = 0; + $_etype1167 = 0; + $xfer += $input->readListBegin($_etype1167, $_size1164); + for ($_i1168 = 0; $_i1168 < $_size1164; ++$_i1168) { - $elem1155 = null; - $xfer += $input->readString($elem1155); - $this->success []= $elem1155; + $elem1169 = null; + $xfer += $input->readString($elem1169); + $this->success []= $elem1169; } $xfer += $input->readListEnd(); } else { @@ -31832,9 +31896,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1156) + foreach ($this->success as $iter1170) { - $xfer += $output->writeString($iter1156); + $xfer += $output->writeString($iter1170); } } $output->writeListEnd(); @@ -32077,15 +32141,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1157 = 0; - $_etype1160 = 0; - $xfer += $input->readListBegin($_etype1160, $_size1157); - for ($_i1161 = 0; $_i1161 < $_size1157; ++$_i1161) + $_size1171 = 0; + $_etype1174 = 0; + $xfer += $input->readListBegin($_etype1174, $_size1171); + for ($_i1175 = 0; $_i1175 < $_size1171; ++$_i1175) { - $elem1162 = null; - $elem1162 = new \metastore\Partition(); - $xfer += $elem1162->read($input); - $this->success []= $elem1162; + $elem1176 = null; + $elem1176 = new \metastore\Partition(); + $xfer += $elem1176->read($input); + $this->success []= $elem1176; } $xfer += $input->readListEnd(); } else { @@ -32129,9 +32193,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1163) + foreach ($this->success as $iter1177) { - $xfer += $iter1163->write($output); + $xfer += $iter1177->write($output); } } $output->writeListEnd(); @@ -32374,15 +32438,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1164 = 0; - $_etype1167 = 0; - $xfer += $input->readListBegin($_etype1167, $_size1164); - for ($_i1168 = 0; $_i1168 < $_size1164; ++$_i1168) + $_size1178 = 0; + $_etype1181 = 0; + $xfer += $input->readListBegin($_etype1181, $_size1178); + for ($_i1182 = 0; $_i1182 < $_size1178; ++$_i1182) { - $elem1169 = null; - $elem1169 = new \metastore\PartitionSpec(); - $xfer += $elem1169->read($input); - $this->success []= $elem1169; + $elem1183 = null; + $elem1183 = new \metastore\PartitionSpec(); + $xfer += $elem1183->read($input); + $this->success []= $elem1183; } $xfer += $input->readListEnd(); } else { @@ -32426,9 +32490,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1170) + foreach ($this->success as $iter1184) { - $xfer += $iter1170->write($output); + $xfer += $iter1184->write($output); } } $output->writeListEnd(); @@ -32994,14 +33058,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size1171 = 0; - $_etype1174 = 0; - $xfer += $input->readListBegin($_etype1174, $_size1171); - for ($_i1175 = 0; $_i1175 < $_size1171; ++$_i1175) + $_size1185 = 0; + $_etype1188 = 0; + $xfer += $input->readListBegin($_etype1188, $_size1185); + for ($_i1189 = 0; $_i1189 < $_size1185; ++$_i1189) { - $elem1176 = null; - $xfer += $input->readString($elem1176); - $this->names []= $elem1176; + $elem1190 = null; + $xfer += $input->readString($elem1190); + $this->names []= $elem1190; } $xfer += $input->readListEnd(); } else { @@ -33039,9 +33103,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter1177) + foreach ($this->names as $iter1191) { - $xfer += $output->writeString($iter1177); + $xfer += $output->writeString($iter1191); } } $output->writeListEnd(); @@ -33130,15 +33194,15 @@ class ThriftHiveMetastore_get_partitions_by_names_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) + $_size1192 = 0; + $_etype1195 = 0; + $xfer += $input->readListBegin($_etype1195, $_size1192); + for ($_i1196 = 0; $_i1196 < $_size1192; ++$_i1196) { - $elem1183 = null; - $elem1183 = new \metastore\Partition(); - $xfer += $elem1183->read($input); - $this->success []= $elem1183; + $elem1197 = null; + $elem1197 = new \metastore\Partition(); + $xfer += $elem1197->read($input); + $this->success []= $elem1197; } $xfer += $input->readListEnd(); } else { @@ -33182,9 +33246,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1184) + foreach ($this->success as $iter1198) { - $xfer += $iter1184->write($output); + $xfer += $iter1198->write($output); } } $output->writeListEnd(); @@ -33523,15 +33587,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1185 = 0; - $_etype1188 = 0; - $xfer += $input->readListBegin($_etype1188, $_size1185); - for ($_i1189 = 0; $_i1189 < $_size1185; ++$_i1189) + $_size1199 = 0; + $_etype1202 = 0; + $xfer += $input->readListBegin($_etype1202, $_size1199); + for ($_i1203 = 0; $_i1203 < $_size1199; ++$_i1203) { - $elem1190 = null; - $elem1190 = new \metastore\Partition(); - $xfer += $elem1190->read($input); - $this->new_parts []= $elem1190; + $elem1204 = null; + $elem1204 = new \metastore\Partition(); + $xfer += $elem1204->read($input); + $this->new_parts []= $elem1204; } $xfer += $input->readListEnd(); } else { @@ -33569,9 +33633,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1191) + foreach ($this->new_parts as $iter1205) { - $xfer += $iter1191->write($output); + $xfer += $iter1205->write($output); } } $output->writeListEnd(); @@ -33786,15 +33850,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1192 = 0; - $_etype1195 = 0; - $xfer += $input->readListBegin($_etype1195, $_size1192); - for ($_i1196 = 0; $_i1196 < $_size1192; ++$_i1196) + $_size1206 = 0; + $_etype1209 = 0; + $xfer += $input->readListBegin($_etype1209, $_size1206); + for ($_i1210 = 0; $_i1210 < $_size1206; ++$_i1210) { - $elem1197 = null; - $elem1197 = new \metastore\Partition(); - $xfer += $elem1197->read($input); - $this->new_parts []= $elem1197; + $elem1211 = null; + $elem1211 = new \metastore\Partition(); + $xfer += $elem1211->read($input); + $this->new_parts []= $elem1211; } $xfer += $input->readListEnd(); } else { @@ -33840,9 +33904,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1198) + foreach ($this->new_parts as $iter1212) { - $xfer += $iter1198->write($output); + $xfer += $iter1212->write($output); } } $output->writeListEnd(); @@ -34320,14 +34384,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1199 = 0; - $_etype1202 = 0; - $xfer += $input->readListBegin($_etype1202, $_size1199); - for ($_i1203 = 0; $_i1203 < $_size1199; ++$_i1203) + $_size1213 = 0; + $_etype1216 = 0; + $xfer += $input->readListBegin($_etype1216, $_size1213); + for ($_i1217 = 0; $_i1217 < $_size1213; ++$_i1217) { - $elem1204 = null; - $xfer += $input->readString($elem1204); - $this->part_vals []= $elem1204; + $elem1218 = null; + $xfer += $input->readString($elem1218); + $this->part_vals []= $elem1218; } $xfer += $input->readListEnd(); } else { @@ -34373,9 +34437,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1205) + foreach ($this->part_vals as $iter1219) { - $xfer += $output->writeString($iter1205); + $xfer += $output->writeString($iter1219); } } $output->writeListEnd(); @@ -34560,14 +34624,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1206 = 0; - $_etype1209 = 0; - $xfer += $input->readListBegin($_etype1209, $_size1206); - for ($_i1210 = 0; $_i1210 < $_size1206; ++$_i1210) + $_size1220 = 0; + $_etype1223 = 0; + $xfer += $input->readListBegin($_etype1223, $_size1220); + for ($_i1224 = 0; $_i1224 < $_size1220; ++$_i1224) { - $elem1211 = null; - $xfer += $input->readString($elem1211); - $this->part_vals []= $elem1211; + $elem1225 = null; + $xfer += $input->readString($elem1225); + $this->part_vals []= $elem1225; } $xfer += $input->readListEnd(); } else { @@ -34602,9 +34666,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1212) + foreach ($this->part_vals as $iter1226) { - $xfer += $output->writeString($iter1212); + $xfer += $output->writeString($iter1226); } } $output->writeListEnd(); @@ -35058,14 +35122,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1213 = 0; - $_etype1216 = 0; - $xfer += $input->readListBegin($_etype1216, $_size1213); - for ($_i1217 = 0; $_i1217 < $_size1213; ++$_i1217) + $_size1227 = 0; + $_etype1230 = 0; + $xfer += $input->readListBegin($_etype1230, $_size1227); + for ($_i1231 = 0; $_i1231 < $_size1227; ++$_i1231) { - $elem1218 = null; - $xfer += $input->readString($elem1218); - $this->success []= $elem1218; + $elem1232 = null; + $xfer += $input->readString($elem1232); + $this->success []= $elem1232; } $xfer += $input->readListEnd(); } else { @@ -35101,9 +35165,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1219) + foreach ($this->success as $iter1233) { - $xfer += $output->writeString($iter1219); + $xfer += $output->writeString($iter1233); } } $output->writeListEnd(); @@ -35263,17 +35327,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1220 = 0; - $_ktype1221 = 0; - $_vtype1222 = 0; - $xfer += $input->readMapBegin($_ktype1221, $_vtype1222, $_size1220); - for ($_i1224 = 0; $_i1224 < $_size1220; ++$_i1224) + $_size1234 = 0; + $_ktype1235 = 0; + $_vtype1236 = 0; + $xfer += $input->readMapBegin($_ktype1235, $_vtype1236, $_size1234); + for ($_i1238 = 0; $_i1238 < $_size1234; ++$_i1238) { - $key1225 = ''; - $val1226 = ''; - $xfer += $input->readString($key1225); - $xfer += $input->readString($val1226); - $this->success[$key1225] = $val1226; + $key1239 = ''; + $val1240 = ''; + $xfer += $input->readString($key1239); + $xfer += $input->readString($val1240); + $this->success[$key1239] = $val1240; } $xfer += $input->readMapEnd(); } else { @@ -35309,10 +35373,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter1227 => $viter1228) + foreach ($this->success as $kiter1241 => $viter1242) { - $xfer += $output->writeString($kiter1227); - $xfer += $output->writeString($viter1228); + $xfer += $output->writeString($kiter1241); + $xfer += $output->writeString($viter1242); } } $output->writeMapEnd(); @@ -35432,17 +35496,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1229 = 0; - $_ktype1230 = 0; - $_vtype1231 = 0; - $xfer += $input->readMapBegin($_ktype1230, $_vtype1231, $_size1229); - for ($_i1233 = 0; $_i1233 < $_size1229; ++$_i1233) + $_size1243 = 0; + $_ktype1244 = 0; + $_vtype1245 = 0; + $xfer += $input->readMapBegin($_ktype1244, $_vtype1245, $_size1243); + for ($_i1247 = 0; $_i1247 < $_size1243; ++$_i1247) { - $key1234 = ''; - $val1235 = ''; - $xfer += $input->readString($key1234); - $xfer += $input->readString($val1235); - $this->part_vals[$key1234] = $val1235; + $key1248 = ''; + $val1249 = ''; + $xfer += $input->readString($key1248); + $xfer += $input->readString($val1249); + $this->part_vals[$key1248] = $val1249; } $xfer += $input->readMapEnd(); } else { @@ -35487,10 +35551,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1236 => $viter1237) + foreach ($this->part_vals as $kiter1250 => $viter1251) { - $xfer += $output->writeString($kiter1236); - $xfer += $output->writeString($viter1237); + $xfer += $output->writeString($kiter1250); + $xfer += $output->writeString($viter1251); } } $output->writeMapEnd(); @@ -35812,17 +35876,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1238 = 0; - $_ktype1239 = 0; - $_vtype1240 = 0; - $xfer += $input->readMapBegin($_ktype1239, $_vtype1240, $_size1238); - for ($_i1242 = 0; $_i1242 < $_size1238; ++$_i1242) + $_size1252 = 0; + $_ktype1253 = 0; + $_vtype1254 = 0; + $xfer += $input->readMapBegin($_ktype1253, $_vtype1254, $_size1252); + for ($_i1256 = 0; $_i1256 < $_size1252; ++$_i1256) { - $key1243 = ''; - $val1244 = ''; - $xfer += $input->readString($key1243); - $xfer += $input->readString($val1244); - $this->part_vals[$key1243] = $val1244; + $key1257 = ''; + $val1258 = ''; + $xfer += $input->readString($key1257); + $xfer += $input->readString($val1258); + $this->part_vals[$key1257] = $val1258; } $xfer += $input->readMapEnd(); } else { @@ -35867,10 +35931,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1245 => $viter1246) + foreach ($this->part_vals as $kiter1259 => $viter1260) { - $xfer += $output->writeString($kiter1245); - $xfer += $output->writeString($viter1246); + $xfer += $output->writeString($kiter1259); + $xfer += $output->writeString($viter1260); } } $output->writeMapEnd(); @@ -40829,14 +40893,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1247 = 0; - $_etype1250 = 0; - $xfer += $input->readListBegin($_etype1250, $_size1247); - for ($_i1251 = 0; $_i1251 < $_size1247; ++$_i1251) + $_size1261 = 0; + $_etype1264 = 0; + $xfer += $input->readListBegin($_etype1264, $_size1261); + for ($_i1265 = 0; $_i1265 < $_size1261; ++$_i1265) { - $elem1252 = null; - $xfer += $input->readString($elem1252); - $this->success []= $elem1252; + $elem1266 = null; + $xfer += $input->readString($elem1266); + $this->success []= $elem1266; } $xfer += $input->readListEnd(); } else { @@ -40872,9 +40936,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1253) + foreach ($this->success as $iter1267) { - $xfer += $output->writeString($iter1253); + $xfer += $output->writeString($iter1267); } } $output->writeListEnd(); @@ -41743,14 +41807,14 @@ class ThriftHiveMetastore_get_role_names_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) + $_size1268 = 0; + $_etype1271 = 0; + $xfer += $input->readListBegin($_etype1271, $_size1268); + for ($_i1272 = 0; $_i1272 < $_size1268; ++$_i1272) { - $elem1259 = null; - $xfer += $input->readString($elem1259); - $this->success []= $elem1259; + $elem1273 = null; + $xfer += $input->readString($elem1273); + $this->success []= $elem1273; } $xfer += $input->readListEnd(); } else { @@ -41786,9 +41850,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1260) + foreach ($this->success as $iter1274) { - $xfer += $output->writeString($iter1260); + $xfer += $output->writeString($iter1274); } } $output->writeListEnd(); @@ -42479,15 +42543,15 @@ class ThriftHiveMetastore_list_roles_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) + $_size1275 = 0; + $_etype1278 = 0; + $xfer += $input->readListBegin($_etype1278, $_size1275); + for ($_i1279 = 0; $_i1279 < $_size1275; ++$_i1279) { - $elem1266 = null; - $elem1266 = new \metastore\Role(); - $xfer += $elem1266->read($input); - $this->success []= $elem1266; + $elem1280 = null; + $elem1280 = new \metastore\Role(); + $xfer += $elem1280->read($input); + $this->success []= $elem1280; } $xfer += $input->readListEnd(); } else { @@ -42523,9 +42587,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1267) + foreach ($this->success as $iter1281) { - $xfer += $iter1267->write($output); + $xfer += $iter1281->write($output); } } $output->writeListEnd(); @@ -43187,14 +43251,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1268 = 0; - $_etype1271 = 0; - $xfer += $input->readListBegin($_etype1271, $_size1268); - for ($_i1272 = 0; $_i1272 < $_size1268; ++$_i1272) + $_size1282 = 0; + $_etype1285 = 0; + $xfer += $input->readListBegin($_etype1285, $_size1282); + for ($_i1286 = 0; $_i1286 < $_size1282; ++$_i1286) { - $elem1273 = null; - $xfer += $input->readString($elem1273); - $this->group_names []= $elem1273; + $elem1287 = null; + $xfer += $input->readString($elem1287); + $this->group_names []= $elem1287; } $xfer += $input->readListEnd(); } else { @@ -43235,9 +43299,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1274) + foreach ($this->group_names as $iter1288) { - $xfer += $output->writeString($iter1274); + $xfer += $output->writeString($iter1288); } } $output->writeListEnd(); @@ -43545,15 +43609,15 @@ class ThriftHiveMetastore_list_privileges_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) + $_size1289 = 0; + $_etype1292 = 0; + $xfer += $input->readListBegin($_etype1292, $_size1289); + for ($_i1293 = 0; $_i1293 < $_size1289; ++$_i1293) { - $elem1280 = null; - $elem1280 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem1280->read($input); - $this->success []= $elem1280; + $elem1294 = null; + $elem1294 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem1294->read($input); + $this->success []= $elem1294; } $xfer += $input->readListEnd(); } else { @@ -43589,9 +43653,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1281) + foreach ($this->success as $iter1295) { - $xfer += $iter1281->write($output); + $xfer += $iter1295->write($output); } } $output->writeListEnd(); @@ -44223,14 +44287,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1282 = 0; - $_etype1285 = 0; - $xfer += $input->readListBegin($_etype1285, $_size1282); - for ($_i1286 = 0; $_i1286 < $_size1282; ++$_i1286) + $_size1296 = 0; + $_etype1299 = 0; + $xfer += $input->readListBegin($_etype1299, $_size1296); + for ($_i1300 = 0; $_i1300 < $_size1296; ++$_i1300) { - $elem1287 = null; - $xfer += $input->readString($elem1287); - $this->group_names []= $elem1287; + $elem1301 = null; + $xfer += $input->readString($elem1301); + $this->group_names []= $elem1301; } $xfer += $input->readListEnd(); } else { @@ -44263,9 +44327,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1288) + foreach ($this->group_names as $iter1302) { - $xfer += $output->writeString($iter1288); + $xfer += $output->writeString($iter1302); } } $output->writeListEnd(); @@ -44341,14 +44405,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1289 = 0; - $_etype1292 = 0; - $xfer += $input->readListBegin($_etype1292, $_size1289); - for ($_i1293 = 0; $_i1293 < $_size1289; ++$_i1293) + $_size1303 = 0; + $_etype1306 = 0; + $xfer += $input->readListBegin($_etype1306, $_size1303); + for ($_i1307 = 0; $_i1307 < $_size1303; ++$_i1307) { - $elem1294 = null; - $xfer += $input->readString($elem1294); - $this->success []= $elem1294; + $elem1308 = null; + $xfer += $input->readString($elem1308); + $this->success []= $elem1308; } $xfer += $input->readListEnd(); } else { @@ -44384,9 +44448,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1295) + foreach ($this->success as $iter1309) { - $xfer += $output->writeString($iter1295); + $xfer += $output->writeString($iter1309); } } $output->writeListEnd(); @@ -45503,14 +45567,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1296 = 0; - $_etype1299 = 0; - $xfer += $input->readListBegin($_etype1299, $_size1296); - for ($_i1300 = 0; $_i1300 < $_size1296; ++$_i1300) + $_size1310 = 0; + $_etype1313 = 0; + $xfer += $input->readListBegin($_etype1313, $_size1310); + for ($_i1314 = 0; $_i1314 < $_size1310; ++$_i1314) { - $elem1301 = null; - $xfer += $input->readString($elem1301); - $this->success []= $elem1301; + $elem1315 = null; + $xfer += $input->readString($elem1315); + $this->success []= $elem1315; } $xfer += $input->readListEnd(); } else { @@ -45538,9 +45602,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1302) + foreach ($this->success as $iter1316) { - $xfer += $output->writeString($iter1302); + $xfer += $output->writeString($iter1316); } } $output->writeListEnd(); @@ -46179,14 +46243,14 @@ class ThriftHiveMetastore_get_master_keys_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1303 = 0; - $_etype1306 = 0; - $xfer += $input->readListBegin($_etype1306, $_size1303); - for ($_i1307 = 0; $_i1307 < $_size1303; ++$_i1307) + $_size1317 = 0; + $_etype1320 = 0; + $xfer += $input->readListBegin($_etype1320, $_size1317); + for ($_i1321 = 0; $_i1321 < $_size1317; ++$_i1321) { - $elem1308 = null; - $xfer += $input->readString($elem1308); - $this->success []= $elem1308; + $elem1322 = null; + $xfer += $input->readString($elem1322); + $this->success []= $elem1322; } $xfer += $input->readListEnd(); } else { @@ -46214,9 +46278,9 @@ class ThriftHiveMetastore_get_master_keys_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1309) + foreach ($this->success as $iter1323) { - $xfer += $output->writeString($iter1309); + $xfer += $output->writeString($iter1323); } } $output->writeListEnd(); @@ -47591,6 +47655,216 @@ class ThriftHiveMetastore_allocate_table_write_ids_result { } +class ThriftHiveMetastore_repl_get_target_txn_ids_args { + static $_TSPEC; + + /** + * @var \metastore\GetTargetTxnIdsRequest + */ + public $rqst = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'rqst', + 'type' => TType::STRUCT, + 'class' => '\metastore\GetTargetTxnIdsRequest', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['rqst'])) { + $this->rqst = $vals['rqst']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_repl_get_target_txn_ids_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\GetTargetTxnIdsRequest(); + $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_repl_get_target_txn_ids_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_repl_get_target_txn_ids_result { + static $_TSPEC; + + /** + * @var \metastore\GetTargetTxnIdsResponse + */ + 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\GetTargetTxnIdsResponse', + ), + 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_repl_get_target_txn_ids_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\GetTargetTxnIdsResponse(); + $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_repl_get_target_txn_ids_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_lock_args { static $_TSPEC; @@ -56755,15 +57029,15 @@ class ThriftHiveMetastore_get_schema_all_versions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1310 = 0; - $_etype1313 = 0; - $xfer += $input->readListBegin($_etype1313, $_size1310); - for ($_i1314 = 0; $_i1314 < $_size1310; ++$_i1314) + $_size1324 = 0; + $_etype1327 = 0; + $xfer += $input->readListBegin($_etype1327, $_size1324); + for ($_i1328 = 0; $_i1328 < $_size1324; ++$_i1328) { - $elem1315 = null; - $elem1315 = new \metastore\SchemaVersion(); - $xfer += $elem1315->read($input); - $this->success []= $elem1315; + $elem1329 = null; + $elem1329 = new \metastore\SchemaVersion(); + $xfer += $elem1329->read($input); + $this->success []= $elem1329; } $xfer += $input->readListEnd(); } else { @@ -56807,9 +57081,9 @@ class ThriftHiveMetastore_get_schema_all_versions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1316) + foreach ($this->success as $iter1330) { - $xfer += $iter1316->write($output); + $xfer += $iter1330->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 d4fcc888ed..514c90d34f 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -16496,6 +16496,231 @@ class CommitTxnRequest { } +class GetTargetTxnIdsRequest { + static $_TSPEC; + + /** + * @var int[] + */ + public $srcTxnIds = null; + /** + * @var string + */ + public $replPolicy = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'srcTxnIds', + 'type' => TType::LST, + 'etype' => TType::I64, + 'elem' => array( + 'type' => TType::I64, + ), + ), + 2 => array( + 'var' => 'replPolicy', + 'type' => TType::STRING, + ), + ); + } + if (is_array($vals)) { + if (isset($vals['srcTxnIds'])) { + $this->srcTxnIds = $vals['srcTxnIds']; + } + if (isset($vals['replPolicy'])) { + $this->replPolicy = $vals['replPolicy']; + } + } + } + + public function getName() { + return 'GetTargetTxnIdsRequest'; + } + + 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->srcTxnIds = array(); + $_size523 = 0; + $_etype526 = 0; + $xfer += $input->readListBegin($_etype526, $_size523); + for ($_i527 = 0; $_i527 < $_size523; ++$_i527) + { + $elem528 = null; + $xfer += $input->readI64($elem528); + $this->srcTxnIds []= $elem528; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->replPolicy); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('GetTargetTxnIdsRequest'); + if ($this->srcTxnIds !== null) { + if (!is_array($this->srcTxnIds)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('srcTxnIds', TType::LST, 1); + { + $output->writeListBegin(TType::I64, count($this->srcTxnIds)); + { + foreach ($this->srcTxnIds as $iter529) + { + $xfer += $output->writeI64($iter529); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + if ($this->replPolicy !== null) { + $xfer += $output->writeFieldBegin('replPolicy', TType::STRING, 2); + $xfer += $output->writeString($this->replPolicy); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class GetTargetTxnIdsResponse { + static $_TSPEC; + + /** + * @var int[] + */ + public $targetTxnIds = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'targetTxnIds', + 'type' => TType::LST, + 'etype' => TType::I64, + 'elem' => array( + 'type' => TType::I64, + ), + ), + ); + } + if (is_array($vals)) { + if (isset($vals['targetTxnIds'])) { + $this->targetTxnIds = $vals['targetTxnIds']; + } + } + } + + public function getName() { + return 'GetTargetTxnIdsResponse'; + } + + 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->targetTxnIds = array(); + $_size530 = 0; + $_etype533 = 0; + $xfer += $input->readListBegin($_etype533, $_size530); + for ($_i534 = 0; $_i534 < $_size530; ++$_i534) + { + $elem535 = null; + $xfer += $input->readI64($elem535); + $this->targetTxnIds []= $elem535; + } + $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('GetTargetTxnIdsResponse'); + if ($this->targetTxnIds !== null) { + if (!is_array($this->targetTxnIds)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('targetTxnIds', TType::LST, 1); + { + $output->writeListBegin(TType::I64, count($this->targetTxnIds)); + { + foreach ($this->targetTxnIds as $iter536) + { + $xfer += $output->writeI64($iter536); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class GetValidWriteIdsRequest { static $_TSPEC; @@ -16557,14 +16782,14 @@ class GetValidWriteIdsRequest { case 1: if ($ftype == TType::LST) { $this->fullTableNames = array(); - $_size523 = 0; - $_etype526 = 0; - $xfer += $input->readListBegin($_etype526, $_size523); - for ($_i527 = 0; $_i527 < $_size523; ++$_i527) + $_size537 = 0; + $_etype540 = 0; + $xfer += $input->readListBegin($_etype540, $_size537); + for ($_i541 = 0; $_i541 < $_size537; ++$_i541) { - $elem528 = null; - $xfer += $input->readString($elem528); - $this->fullTableNames []= $elem528; + $elem542 = null; + $xfer += $input->readString($elem542); + $this->fullTableNames []= $elem542; } $xfer += $input->readListEnd(); } else { @@ -16599,9 +16824,9 @@ class GetValidWriteIdsRequest { { $output->writeListBegin(TType::STRING, count($this->fullTableNames)); { - foreach ($this->fullTableNames as $iter529) + foreach ($this->fullTableNames as $iter543) { - $xfer += $output->writeString($iter529); + $xfer += $output->writeString($iter543); } } $output->writeListEnd(); @@ -16728,14 +16953,14 @@ class TableValidWriteIds { case 3: if ($ftype == TType::LST) { $this->invalidWriteIds = array(); - $_size530 = 0; - $_etype533 = 0; - $xfer += $input->readListBegin($_etype533, $_size530); - for ($_i534 = 0; $_i534 < $_size530; ++$_i534) + $_size544 = 0; + $_etype547 = 0; + $xfer += $input->readListBegin($_etype547, $_size544); + for ($_i548 = 0; $_i548 < $_size544; ++$_i548) { - $elem535 = null; - $xfer += $input->readI64($elem535); - $this->invalidWriteIds []= $elem535; + $elem549 = null; + $xfer += $input->readI64($elem549); + $this->invalidWriteIds []= $elem549; } $xfer += $input->readListEnd(); } else { @@ -16787,9 +17012,9 @@ class TableValidWriteIds { { $output->writeListBegin(TType::I64, count($this->invalidWriteIds)); { - foreach ($this->invalidWriteIds as $iter536) + foreach ($this->invalidWriteIds as $iter550) { - $xfer += $output->writeI64($iter536); + $xfer += $output->writeI64($iter550); } } $output->writeListEnd(); @@ -16864,15 +17089,15 @@ class GetValidWriteIdsResponse { case 1: if ($ftype == TType::LST) { $this->tblValidWriteIds = array(); - $_size537 = 0; - $_etype540 = 0; - $xfer += $input->readListBegin($_etype540, $_size537); - for ($_i541 = 0; $_i541 < $_size537; ++$_i541) + $_size551 = 0; + $_etype554 = 0; + $xfer += $input->readListBegin($_etype554, $_size551); + for ($_i555 = 0; $_i555 < $_size551; ++$_i555) { - $elem542 = null; - $elem542 = new \metastore\TableValidWriteIds(); - $xfer += $elem542->read($input); - $this->tblValidWriteIds []= $elem542; + $elem556 = null; + $elem556 = new \metastore\TableValidWriteIds(); + $xfer += $elem556->read($input); + $this->tblValidWriteIds []= $elem556; } $xfer += $input->readListEnd(); } else { @@ -16900,9 +17125,9 @@ class GetValidWriteIdsResponse { { $output->writeListBegin(TType::STRUCT, count($this->tblValidWriteIds)); { - foreach ($this->tblValidWriteIds as $iter543) + foreach ($this->tblValidWriteIds as $iter557) { - $xfer += $iter543->write($output); + $xfer += $iter557->write($output); } } $output->writeListEnd(); @@ -16988,14 +17213,14 @@ class AllocateTableWriteIdsRequest { case 1: if ($ftype == TType::LST) { $this->txnIds = array(); - $_size544 = 0; - $_etype547 = 0; - $xfer += $input->readListBegin($_etype547, $_size544); - for ($_i548 = 0; $_i548 < $_size544; ++$_i548) + $_size558 = 0; + $_etype561 = 0; + $xfer += $input->readListBegin($_etype561, $_size558); + for ($_i562 = 0; $_i562 < $_size558; ++$_i562) { - $elem549 = null; - $xfer += $input->readI64($elem549); - $this->txnIds []= $elem549; + $elem563 = null; + $xfer += $input->readI64($elem563); + $this->txnIds []= $elem563; } $xfer += $input->readListEnd(); } else { @@ -17037,9 +17262,9 @@ class AllocateTableWriteIdsRequest { { $output->writeListBegin(TType::I64, count($this->txnIds)); { - foreach ($this->txnIds as $iter550) + foreach ($this->txnIds as $iter564) { - $xfer += $output->writeI64($iter550); + $xfer += $output->writeI64($iter564); } } $output->writeListEnd(); @@ -17212,15 +17437,15 @@ class AllocateTableWriteIdsResponse { case 1: if ($ftype == TType::LST) { $this->txnToWriteIds = array(); - $_size551 = 0; - $_etype554 = 0; - $xfer += $input->readListBegin($_etype554, $_size551); - for ($_i555 = 0; $_i555 < $_size551; ++$_i555) + $_size565 = 0; + $_etype568 = 0; + $xfer += $input->readListBegin($_etype568, $_size565); + for ($_i569 = 0; $_i569 < $_size565; ++$_i569) { - $elem556 = null; - $elem556 = new \metastore\TxnToWriteId(); - $xfer += $elem556->read($input); - $this->txnToWriteIds []= $elem556; + $elem570 = null; + $elem570 = new \metastore\TxnToWriteId(); + $xfer += $elem570->read($input); + $this->txnToWriteIds []= $elem570; } $xfer += $input->readListEnd(); } else { @@ -17248,9 +17473,9 @@ class AllocateTableWriteIdsResponse { { $output->writeListBegin(TType::STRUCT, count($this->txnToWriteIds)); { - foreach ($this->txnToWriteIds as $iter557) + foreach ($this->txnToWriteIds as $iter571) { - $xfer += $iter557->write($output); + $xfer += $iter571->write($output); } } $output->writeListEnd(); @@ -17595,15 +17820,15 @@ class LockRequest { case 1: if ($ftype == TType::LST) { $this->component = array(); - $_size558 = 0; - $_etype561 = 0; - $xfer += $input->readListBegin($_etype561, $_size558); - for ($_i562 = 0; $_i562 < $_size558; ++$_i562) + $_size572 = 0; + $_etype575 = 0; + $xfer += $input->readListBegin($_etype575, $_size572); + for ($_i576 = 0; $_i576 < $_size572; ++$_i576) { - $elem563 = null; - $elem563 = new \metastore\LockComponent(); - $xfer += $elem563->read($input); - $this->component []= $elem563; + $elem577 = null; + $elem577 = new \metastore\LockComponent(); + $xfer += $elem577->read($input); + $this->component []= $elem577; } $xfer += $input->readListEnd(); } else { @@ -17659,9 +17884,9 @@ class LockRequest { { $output->writeListBegin(TType::STRUCT, count($this->component)); { - foreach ($this->component as $iter564) + foreach ($this->component as $iter578) { - $xfer += $iter564->write($output); + $xfer += $iter578->write($output); } } $output->writeListEnd(); @@ -18604,15 +18829,15 @@ class ShowLocksResponse { case 1: if ($ftype == TType::LST) { $this->locks = array(); - $_size565 = 0; - $_etype568 = 0; - $xfer += $input->readListBegin($_etype568, $_size565); - for ($_i569 = 0; $_i569 < $_size565; ++$_i569) + $_size579 = 0; + $_etype582 = 0; + $xfer += $input->readListBegin($_etype582, $_size579); + for ($_i583 = 0; $_i583 < $_size579; ++$_i583) { - $elem570 = null; - $elem570 = new \metastore\ShowLocksResponseElement(); - $xfer += $elem570->read($input); - $this->locks []= $elem570; + $elem584 = null; + $elem584 = new \metastore\ShowLocksResponseElement(); + $xfer += $elem584->read($input); + $this->locks []= $elem584; } $xfer += $input->readListEnd(); } else { @@ -18640,9 +18865,9 @@ class ShowLocksResponse { { $output->writeListBegin(TType::STRUCT, count($this->locks)); { - foreach ($this->locks as $iter571) + foreach ($this->locks as $iter585) { - $xfer += $iter571->write($output); + $xfer += $iter585->write($output); } } $output->writeListEnd(); @@ -18917,17 +19142,17 @@ class HeartbeatTxnRangeResponse { case 1: if ($ftype == TType::SET) { $this->aborted = array(); - $_size572 = 0; - $_etype575 = 0; - $xfer += $input->readSetBegin($_etype575, $_size572); - for ($_i576 = 0; $_i576 < $_size572; ++$_i576) + $_size586 = 0; + $_etype589 = 0; + $xfer += $input->readSetBegin($_etype589, $_size586); + for ($_i590 = 0; $_i590 < $_size586; ++$_i590) { - $elem577 = null; - $xfer += $input->readI64($elem577); - if (is_scalar($elem577)) { - $this->aborted[$elem577] = true; + $elem591 = null; + $xfer += $input->readI64($elem591); + if (is_scalar($elem591)) { + $this->aborted[$elem591] = true; } else { - $this->aborted []= $elem577; + $this->aborted []= $elem591; } } $xfer += $input->readSetEnd(); @@ -18938,17 +19163,17 @@ class HeartbeatTxnRangeResponse { case 2: if ($ftype == TType::SET) { $this->nosuch = array(); - $_size578 = 0; - $_etype581 = 0; - $xfer += $input->readSetBegin($_etype581, $_size578); - for ($_i582 = 0; $_i582 < $_size578; ++$_i582) + $_size592 = 0; + $_etype595 = 0; + $xfer += $input->readSetBegin($_etype595, $_size592); + for ($_i596 = 0; $_i596 < $_size592; ++$_i596) { - $elem583 = null; - $xfer += $input->readI64($elem583); - if (is_scalar($elem583)) { - $this->nosuch[$elem583] = true; + $elem597 = null; + $xfer += $input->readI64($elem597); + if (is_scalar($elem597)) { + $this->nosuch[$elem597] = true; } else { - $this->nosuch []= $elem583; + $this->nosuch []= $elem597; } } $xfer += $input->readSetEnd(); @@ -18977,12 +19202,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->aborted)); { - foreach ($this->aborted as $iter584 => $iter585) + foreach ($this->aborted as $iter598 => $iter599) { - if (is_scalar($iter585)) { - $xfer += $output->writeI64($iter584); + if (is_scalar($iter599)) { + $xfer += $output->writeI64($iter598); } else { - $xfer += $output->writeI64($iter585); + $xfer += $output->writeI64($iter599); } } } @@ -18998,12 +19223,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->nosuch)); { - foreach ($this->nosuch as $iter586 => $iter587) + foreach ($this->nosuch as $iter600 => $iter601) { - if (is_scalar($iter587)) { - $xfer += $output->writeI64($iter586); + if (is_scalar($iter601)) { + $xfer += $output->writeI64($iter600); } else { - $xfer += $output->writeI64($iter587); + $xfer += $output->writeI64($iter601); } } } @@ -19162,17 +19387,17 @@ class CompactionRequest { case 6: if ($ftype == TType::MAP) { $this->properties = array(); - $_size588 = 0; - $_ktype589 = 0; - $_vtype590 = 0; - $xfer += $input->readMapBegin($_ktype589, $_vtype590, $_size588); - for ($_i592 = 0; $_i592 < $_size588; ++$_i592) + $_size602 = 0; + $_ktype603 = 0; + $_vtype604 = 0; + $xfer += $input->readMapBegin($_ktype603, $_vtype604, $_size602); + for ($_i606 = 0; $_i606 < $_size602; ++$_i606) { - $key593 = ''; - $val594 = ''; - $xfer += $input->readString($key593); - $xfer += $input->readString($val594); - $this->properties[$key593] = $val594; + $key607 = ''; + $val608 = ''; + $xfer += $input->readString($key607); + $xfer += $input->readString($val608); + $this->properties[$key607] = $val608; } $xfer += $input->readMapEnd(); } else { @@ -19225,10 +19450,10 @@ class CompactionRequest { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties)); { - foreach ($this->properties as $kiter595 => $viter596) + foreach ($this->properties as $kiter609 => $viter610) { - $xfer += $output->writeString($kiter595); - $xfer += $output->writeString($viter596); + $xfer += $output->writeString($kiter609); + $xfer += $output->writeString($viter610); } } $output->writeMapEnd(); @@ -19815,15 +20040,15 @@ class ShowCompactResponse { case 1: if ($ftype == TType::LST) { $this->compacts = array(); - $_size597 = 0; - $_etype600 = 0; - $xfer += $input->readListBegin($_etype600, $_size597); - for ($_i601 = 0; $_i601 < $_size597; ++$_i601) + $_size611 = 0; + $_etype614 = 0; + $xfer += $input->readListBegin($_etype614, $_size611); + for ($_i615 = 0; $_i615 < $_size611; ++$_i615) { - $elem602 = null; - $elem602 = new \metastore\ShowCompactResponseElement(); - $xfer += $elem602->read($input); - $this->compacts []= $elem602; + $elem616 = null; + $elem616 = new \metastore\ShowCompactResponseElement(); + $xfer += $elem616->read($input); + $this->compacts []= $elem616; } $xfer += $input->readListEnd(); } else { @@ -19851,9 +20076,9 @@ class ShowCompactResponse { { $output->writeListBegin(TType::STRUCT, count($this->compacts)); { - foreach ($this->compacts as $iter603) + foreach ($this->compacts as $iter617) { - $xfer += $iter603->write($output); + $xfer += $iter617->write($output); } } $output->writeListEnd(); @@ -20000,14 +20225,14 @@ class AddDynamicPartitions { case 5: if ($ftype == TType::LST) { $this->partitionnames = array(); - $_size604 = 0; - $_etype607 = 0; - $xfer += $input->readListBegin($_etype607, $_size604); - for ($_i608 = 0; $_i608 < $_size604; ++$_i608) + $_size618 = 0; + $_etype621 = 0; + $xfer += $input->readListBegin($_etype621, $_size618); + for ($_i622 = 0; $_i622 < $_size618; ++$_i622) { - $elem609 = null; - $xfer += $input->readString($elem609); - $this->partitionnames []= $elem609; + $elem623 = null; + $xfer += $input->readString($elem623); + $this->partitionnames []= $elem623; } $xfer += $input->readListEnd(); } else { @@ -20062,9 +20287,9 @@ class AddDynamicPartitions { { $output->writeListBegin(TType::STRING, count($this->partitionnames)); { - foreach ($this->partitionnames as $iter610) + foreach ($this->partitionnames as $iter624) { - $xfer += $output->writeString($iter610); + $xfer += $output->writeString($iter624); } } $output->writeListEnd(); @@ -20388,17 +20613,17 @@ class CreationMetadata { case 4: if ($ftype == TType::SET) { $this->tablesUsed = array(); - $_size611 = 0; - $_etype614 = 0; - $xfer += $input->readSetBegin($_etype614, $_size611); - for ($_i615 = 0; $_i615 < $_size611; ++$_i615) + $_size625 = 0; + $_etype628 = 0; + $xfer += $input->readSetBegin($_etype628, $_size625); + for ($_i629 = 0; $_i629 < $_size625; ++$_i629) { - $elem616 = null; - $xfer += $input->readString($elem616); - if (is_scalar($elem616)) { - $this->tablesUsed[$elem616] = true; + $elem630 = null; + $xfer += $input->readString($elem630); + if (is_scalar($elem630)) { + $this->tablesUsed[$elem630] = true; } else { - $this->tablesUsed []= $elem616; + $this->tablesUsed []= $elem630; } } $xfer += $input->readSetEnd(); @@ -20449,12 +20674,12 @@ class CreationMetadata { { $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); { - foreach ($this->tablesUsed as $iter617 => $iter618) + foreach ($this->tablesUsed as $iter631 => $iter632) { - if (is_scalar($iter618)) { - $xfer += $output->writeString($iter617); + if (is_scalar($iter632)) { + $xfer += $output->writeString($iter631); } else { - $xfer += $output->writeString($iter618); + $xfer += $output->writeString($iter632); } } } @@ -20859,15 +21084,15 @@ class NotificationEventResponse { case 1: if ($ftype == TType::LST) { $this->events = array(); - $_size619 = 0; - $_etype622 = 0; - $xfer += $input->readListBegin($_etype622, $_size619); - for ($_i623 = 0; $_i623 < $_size619; ++$_i623) + $_size633 = 0; + $_etype636 = 0; + $xfer += $input->readListBegin($_etype636, $_size633); + for ($_i637 = 0; $_i637 < $_size633; ++$_i637) { - $elem624 = null; - $elem624 = new \metastore\NotificationEvent(); - $xfer += $elem624->read($input); - $this->events []= $elem624; + $elem638 = null; + $elem638 = new \metastore\NotificationEvent(); + $xfer += $elem638->read($input); + $this->events []= $elem638; } $xfer += $input->readListEnd(); } else { @@ -20895,9 +21120,9 @@ class NotificationEventResponse { { $output->writeListBegin(TType::STRUCT, count($this->events)); { - foreach ($this->events as $iter625) + foreach ($this->events as $iter639) { - $xfer += $iter625->write($output); + $xfer += $iter639->write($output); } } $output->writeListEnd(); @@ -21265,14 +21490,14 @@ class InsertEventRequestData { case 2: if ($ftype == TType::LST) { $this->filesAdded = array(); - $_size626 = 0; - $_etype629 = 0; - $xfer += $input->readListBegin($_etype629, $_size626); - for ($_i630 = 0; $_i630 < $_size626; ++$_i630) + $_size640 = 0; + $_etype643 = 0; + $xfer += $input->readListBegin($_etype643, $_size640); + for ($_i644 = 0; $_i644 < $_size640; ++$_i644) { - $elem631 = null; - $xfer += $input->readString($elem631); - $this->filesAdded []= $elem631; + $elem645 = null; + $xfer += $input->readString($elem645); + $this->filesAdded []= $elem645; } $xfer += $input->readListEnd(); } else { @@ -21282,14 +21507,14 @@ class InsertEventRequestData { case 3: if ($ftype == TType::LST) { $this->filesAddedChecksum = array(); - $_size632 = 0; - $_etype635 = 0; - $xfer += $input->readListBegin($_etype635, $_size632); - for ($_i636 = 0; $_i636 < $_size632; ++$_i636) + $_size646 = 0; + $_etype649 = 0; + $xfer += $input->readListBegin($_etype649, $_size646); + for ($_i650 = 0; $_i650 < $_size646; ++$_i650) { - $elem637 = null; - $xfer += $input->readString($elem637); - $this->filesAddedChecksum []= $elem637; + $elem651 = null; + $xfer += $input->readString($elem651); + $this->filesAddedChecksum []= $elem651; } $xfer += $input->readListEnd(); } else { @@ -21322,9 +21547,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAdded)); { - foreach ($this->filesAdded as $iter638) + foreach ($this->filesAdded as $iter652) { - $xfer += $output->writeString($iter638); + $xfer += $output->writeString($iter652); } } $output->writeListEnd(); @@ -21339,9 +21564,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAddedChecksum)); { - foreach ($this->filesAddedChecksum as $iter639) + foreach ($this->filesAddedChecksum as $iter653) { - $xfer += $output->writeString($iter639); + $xfer += $output->writeString($iter653); } } $output->writeListEnd(); @@ -21570,14 +21795,14 @@ class FireEventRequest { case 5: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size640 = 0; - $_etype643 = 0; - $xfer += $input->readListBegin($_etype643, $_size640); - for ($_i644 = 0; $_i644 < $_size640; ++$_i644) + $_size654 = 0; + $_etype657 = 0; + $xfer += $input->readListBegin($_etype657, $_size654); + for ($_i658 = 0; $_i658 < $_size654; ++$_i658) { - $elem645 = null; - $xfer += $input->readString($elem645); - $this->partitionVals []= $elem645; + $elem659 = null; + $xfer += $input->readString($elem659); + $this->partitionVals []= $elem659; } $xfer += $input->readListEnd(); } else { @@ -21635,9 +21860,9 @@ class FireEventRequest { { $output->writeListBegin(TType::STRING, count($this->partitionVals)); { - foreach ($this->partitionVals as $iter646) + foreach ($this->partitionVals as $iter660) { - $xfer += $output->writeString($iter646); + $xfer += $output->writeString($iter660); } } $output->writeListEnd(); @@ -21870,18 +22095,18 @@ class GetFileMetadataByExprResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size647 = 0; - $_ktype648 = 0; - $_vtype649 = 0; - $xfer += $input->readMapBegin($_ktype648, $_vtype649, $_size647); - for ($_i651 = 0; $_i651 < $_size647; ++$_i651) + $_size661 = 0; + $_ktype662 = 0; + $_vtype663 = 0; + $xfer += $input->readMapBegin($_ktype662, $_vtype663, $_size661); + for ($_i665 = 0; $_i665 < $_size661; ++$_i665) { - $key652 = 0; - $val653 = new \metastore\MetadataPpdResult(); - $xfer += $input->readI64($key652); - $val653 = new \metastore\MetadataPpdResult(); - $xfer += $val653->read($input); - $this->metadata[$key652] = $val653; + $key666 = 0; + $val667 = new \metastore\MetadataPpdResult(); + $xfer += $input->readI64($key666); + $val667 = new \metastore\MetadataPpdResult(); + $xfer += $val667->read($input); + $this->metadata[$key666] = $val667; } $xfer += $input->readMapEnd(); } else { @@ -21916,10 +22141,10 @@ class GetFileMetadataByExprResult { { $output->writeMapBegin(TType::I64, TType::STRUCT, count($this->metadata)); { - foreach ($this->metadata as $kiter654 => $viter655) + foreach ($this->metadata as $kiter668 => $viter669) { - $xfer += $output->writeI64($kiter654); - $xfer += $viter655->write($output); + $xfer += $output->writeI64($kiter668); + $xfer += $viter669->write($output); } } $output->writeMapEnd(); @@ -22021,14 +22246,14 @@ class GetFileMetadataByExprRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size656 = 0; - $_etype659 = 0; - $xfer += $input->readListBegin($_etype659, $_size656); - for ($_i660 = 0; $_i660 < $_size656; ++$_i660) + $_size670 = 0; + $_etype673 = 0; + $xfer += $input->readListBegin($_etype673, $_size670); + for ($_i674 = 0; $_i674 < $_size670; ++$_i674) { - $elem661 = null; - $xfer += $input->readI64($elem661); - $this->fileIds []= $elem661; + $elem675 = null; + $xfer += $input->readI64($elem675); + $this->fileIds []= $elem675; } $xfer += $input->readListEnd(); } else { @@ -22077,9 +22302,9 @@ class GetFileMetadataByExprRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter662) + foreach ($this->fileIds as $iter676) { - $xfer += $output->writeI64($iter662); + $xfer += $output->writeI64($iter676); } } $output->writeListEnd(); @@ -22173,17 +22398,17 @@ class GetFileMetadataResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size663 = 0; - $_ktype664 = 0; - $_vtype665 = 0; - $xfer += $input->readMapBegin($_ktype664, $_vtype665, $_size663); - for ($_i667 = 0; $_i667 < $_size663; ++$_i667) + $_size677 = 0; + $_ktype678 = 0; + $_vtype679 = 0; + $xfer += $input->readMapBegin($_ktype678, $_vtype679, $_size677); + for ($_i681 = 0; $_i681 < $_size677; ++$_i681) { - $key668 = 0; - $val669 = ''; - $xfer += $input->readI64($key668); - $xfer += $input->readString($val669); - $this->metadata[$key668] = $val669; + $key682 = 0; + $val683 = ''; + $xfer += $input->readI64($key682); + $xfer += $input->readString($val683); + $this->metadata[$key682] = $val683; } $xfer += $input->readMapEnd(); } else { @@ -22218,10 +22443,10 @@ class GetFileMetadataResult { { $output->writeMapBegin(TType::I64, TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $kiter670 => $viter671) + foreach ($this->metadata as $kiter684 => $viter685) { - $xfer += $output->writeI64($kiter670); - $xfer += $output->writeString($viter671); + $xfer += $output->writeI64($kiter684); + $xfer += $output->writeString($viter685); } } $output->writeMapEnd(); @@ -22290,14 +22515,14 @@ class GetFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size672 = 0; - $_etype675 = 0; - $xfer += $input->readListBegin($_etype675, $_size672); - for ($_i676 = 0; $_i676 < $_size672; ++$_i676) + $_size686 = 0; + $_etype689 = 0; + $xfer += $input->readListBegin($_etype689, $_size686); + for ($_i690 = 0; $_i690 < $_size686; ++$_i690) { - $elem677 = null; - $xfer += $input->readI64($elem677); - $this->fileIds []= $elem677; + $elem691 = null; + $xfer += $input->readI64($elem691); + $this->fileIds []= $elem691; } $xfer += $input->readListEnd(); } else { @@ -22325,9 +22550,9 @@ class GetFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter678) + foreach ($this->fileIds as $iter692) { - $xfer += $output->writeI64($iter678); + $xfer += $output->writeI64($iter692); } } $output->writeListEnd(); @@ -22467,14 +22692,14 @@ class PutFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size679 = 0; - $_etype682 = 0; - $xfer += $input->readListBegin($_etype682, $_size679); - for ($_i683 = 0; $_i683 < $_size679; ++$_i683) + $_size693 = 0; + $_etype696 = 0; + $xfer += $input->readListBegin($_etype696, $_size693); + for ($_i697 = 0; $_i697 < $_size693; ++$_i697) { - $elem684 = null; - $xfer += $input->readI64($elem684); - $this->fileIds []= $elem684; + $elem698 = null; + $xfer += $input->readI64($elem698); + $this->fileIds []= $elem698; } $xfer += $input->readListEnd(); } else { @@ -22484,14 +22709,14 @@ class PutFileMetadataRequest { case 2: if ($ftype == TType::LST) { $this->metadata = array(); - $_size685 = 0; - $_etype688 = 0; - $xfer += $input->readListBegin($_etype688, $_size685); - for ($_i689 = 0; $_i689 < $_size685; ++$_i689) + $_size699 = 0; + $_etype702 = 0; + $xfer += $input->readListBegin($_etype702, $_size699); + for ($_i703 = 0; $_i703 < $_size699; ++$_i703) { - $elem690 = null; - $xfer += $input->readString($elem690); - $this->metadata []= $elem690; + $elem704 = null; + $xfer += $input->readString($elem704); + $this->metadata []= $elem704; } $xfer += $input->readListEnd(); } else { @@ -22526,9 +22751,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter691) + foreach ($this->fileIds as $iter705) { - $xfer += $output->writeI64($iter691); + $xfer += $output->writeI64($iter705); } } $output->writeListEnd(); @@ -22543,9 +22768,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $iter692) + foreach ($this->metadata as $iter706) { - $xfer += $output->writeString($iter692); + $xfer += $output->writeString($iter706); } } $output->writeListEnd(); @@ -22664,14 +22889,14 @@ class ClearFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size693 = 0; - $_etype696 = 0; - $xfer += $input->readListBegin($_etype696, $_size693); - for ($_i697 = 0; $_i697 < $_size693; ++$_i697) + $_size707 = 0; + $_etype710 = 0; + $xfer += $input->readListBegin($_etype710, $_size707); + for ($_i711 = 0; $_i711 < $_size707; ++$_i711) { - $elem698 = null; - $xfer += $input->readI64($elem698); - $this->fileIds []= $elem698; + $elem712 = null; + $xfer += $input->readI64($elem712); + $this->fileIds []= $elem712; } $xfer += $input->readListEnd(); } else { @@ -22699,9 +22924,9 @@ class ClearFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter699) + foreach ($this->fileIds as $iter713) { - $xfer += $output->writeI64($iter699); + $xfer += $output->writeI64($iter713); } } $output->writeListEnd(); @@ -22985,15 +23210,15 @@ class GetAllFunctionsResponse { case 1: if ($ftype == TType::LST) { $this->functions = array(); - $_size700 = 0; - $_etype703 = 0; - $xfer += $input->readListBegin($_etype703, $_size700); - for ($_i704 = 0; $_i704 < $_size700; ++$_i704) + $_size714 = 0; + $_etype717 = 0; + $xfer += $input->readListBegin($_etype717, $_size714); + for ($_i718 = 0; $_i718 < $_size714; ++$_i718) { - $elem705 = null; - $elem705 = new \metastore\Function(); - $xfer += $elem705->read($input); - $this->functions []= $elem705; + $elem719 = null; + $elem719 = new \metastore\Function(); + $xfer += $elem719->read($input); + $this->functions []= $elem719; } $xfer += $input->readListEnd(); } else { @@ -23021,9 +23246,9 @@ class GetAllFunctionsResponse { { $output->writeListBegin(TType::STRUCT, count($this->functions)); { - foreach ($this->functions as $iter706) + foreach ($this->functions as $iter720) { - $xfer += $iter706->write($output); + $xfer += $iter720->write($output); } } $output->writeListEnd(); @@ -23087,14 +23312,14 @@ class ClientCapabilities { case 1: if ($ftype == TType::LST) { $this->values = array(); - $_size707 = 0; - $_etype710 = 0; - $xfer += $input->readListBegin($_etype710, $_size707); - for ($_i711 = 0; $_i711 < $_size707; ++$_i711) + $_size721 = 0; + $_etype724 = 0; + $xfer += $input->readListBegin($_etype724, $_size721); + for ($_i725 = 0; $_i725 < $_size721; ++$_i725) { - $elem712 = null; - $xfer += $input->readI32($elem712); - $this->values []= $elem712; + $elem726 = null; + $xfer += $input->readI32($elem726); + $this->values []= $elem726; } $xfer += $input->readListEnd(); } else { @@ -23122,9 +23347,9 @@ class ClientCapabilities { { $output->writeListBegin(TType::I32, count($this->values)); { - foreach ($this->values as $iter713) + foreach ($this->values as $iter727) { - $xfer += $output->writeI32($iter713); + $xfer += $output->writeI32($iter727); } } $output->writeListEnd(); @@ -23458,14 +23683,14 @@ class GetTablesRequest { case 2: if ($ftype == TType::LST) { $this->tblNames = array(); - $_size714 = 0; - $_etype717 = 0; - $xfer += $input->readListBegin($_etype717, $_size714); - for ($_i718 = 0; $_i718 < $_size714; ++$_i718) + $_size728 = 0; + $_etype731 = 0; + $xfer += $input->readListBegin($_etype731, $_size728); + for ($_i732 = 0; $_i732 < $_size728; ++$_i732) { - $elem719 = null; - $xfer += $input->readString($elem719); - $this->tblNames []= $elem719; + $elem733 = null; + $xfer += $input->readString($elem733); + $this->tblNames []= $elem733; } $xfer += $input->readListEnd(); } else { @@ -23513,9 +23738,9 @@ class GetTablesRequest { { $output->writeListBegin(TType::STRING, count($this->tblNames)); { - foreach ($this->tblNames as $iter720) + foreach ($this->tblNames as $iter734) { - $xfer += $output->writeString($iter720); + $xfer += $output->writeString($iter734); } } $output->writeListEnd(); @@ -23593,15 +23818,15 @@ class GetTablesResult { case 1: if ($ftype == TType::LST) { $this->tables = array(); - $_size721 = 0; - $_etype724 = 0; - $xfer += $input->readListBegin($_etype724, $_size721); - for ($_i725 = 0; $_i725 < $_size721; ++$_i725) + $_size735 = 0; + $_etype738 = 0; + $xfer += $input->readListBegin($_etype738, $_size735); + for ($_i739 = 0; $_i739 < $_size735; ++$_i739) { - $elem726 = null; - $elem726 = new \metastore\Table(); - $xfer += $elem726->read($input); - $this->tables []= $elem726; + $elem740 = null; + $elem740 = new \metastore\Table(); + $xfer += $elem740->read($input); + $this->tables []= $elem740; } $xfer += $input->readListEnd(); } else { @@ -23629,9 +23854,9 @@ class GetTablesResult { { $output->writeListBegin(TType::STRUCT, count($this->tables)); { - foreach ($this->tables as $iter727) + foreach ($this->tables as $iter741) { - $xfer += $iter727->write($output); + $xfer += $iter741->write($output); } } $output->writeListEnd(); @@ -24032,17 +24257,17 @@ class Materialization { case 1: if ($ftype == TType::SET) { $this->tablesUsed = array(); - $_size728 = 0; - $_etype731 = 0; - $xfer += $input->readSetBegin($_etype731, $_size728); - for ($_i732 = 0; $_i732 < $_size728; ++$_i732) + $_size742 = 0; + $_etype745 = 0; + $xfer += $input->readSetBegin($_etype745, $_size742); + for ($_i746 = 0; $_i746 < $_size742; ++$_i746) { - $elem733 = null; - $xfer += $input->readString($elem733); - if (is_scalar($elem733)) { - $this->tablesUsed[$elem733] = true; + $elem747 = null; + $xfer += $input->readString($elem747); + if (is_scalar($elem747)) { + $this->tablesUsed[$elem747] = true; } else { - $this->tablesUsed []= $elem733; + $this->tablesUsed []= $elem747; } } $xfer += $input->readSetEnd(); @@ -24085,12 +24310,12 @@ class Materialization { { $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); { - foreach ($this->tablesUsed as $iter734 => $iter735) + foreach ($this->tablesUsed as $iter748 => $iter749) { - if (is_scalar($iter735)) { - $xfer += $output->writeString($iter734); + if (is_scalar($iter749)) { + $xfer += $output->writeString($iter748); } else { - $xfer += $output->writeString($iter735); + $xfer += $output->writeString($iter749); } } } @@ -25357,15 +25582,15 @@ class WMFullResourcePlan { case 2: if ($ftype == TType::LST) { $this->pools = array(); - $_size736 = 0; - $_etype739 = 0; - $xfer += $input->readListBegin($_etype739, $_size736); - for ($_i740 = 0; $_i740 < $_size736; ++$_i740) + $_size750 = 0; + $_etype753 = 0; + $xfer += $input->readListBegin($_etype753, $_size750); + for ($_i754 = 0; $_i754 < $_size750; ++$_i754) { - $elem741 = null; - $elem741 = new \metastore\WMPool(); - $xfer += $elem741->read($input); - $this->pools []= $elem741; + $elem755 = null; + $elem755 = new \metastore\WMPool(); + $xfer += $elem755->read($input); + $this->pools []= $elem755; } $xfer += $input->readListEnd(); } else { @@ -25375,15 +25600,15 @@ class WMFullResourcePlan { case 3: if ($ftype == TType::LST) { $this->mappings = array(); - $_size742 = 0; - $_etype745 = 0; - $xfer += $input->readListBegin($_etype745, $_size742); - for ($_i746 = 0; $_i746 < $_size742; ++$_i746) + $_size756 = 0; + $_etype759 = 0; + $xfer += $input->readListBegin($_etype759, $_size756); + for ($_i760 = 0; $_i760 < $_size756; ++$_i760) { - $elem747 = null; - $elem747 = new \metastore\WMMapping(); - $xfer += $elem747->read($input); - $this->mappings []= $elem747; + $elem761 = null; + $elem761 = new \metastore\WMMapping(); + $xfer += $elem761->read($input); + $this->mappings []= $elem761; } $xfer += $input->readListEnd(); } else { @@ -25393,15 +25618,15 @@ class WMFullResourcePlan { case 4: if ($ftype == TType::LST) { $this->triggers = array(); - $_size748 = 0; - $_etype751 = 0; - $xfer += $input->readListBegin($_etype751, $_size748); - for ($_i752 = 0; $_i752 < $_size748; ++$_i752) + $_size762 = 0; + $_etype765 = 0; + $xfer += $input->readListBegin($_etype765, $_size762); + for ($_i766 = 0; $_i766 < $_size762; ++$_i766) { - $elem753 = null; - $elem753 = new \metastore\WMTrigger(); - $xfer += $elem753->read($input); - $this->triggers []= $elem753; + $elem767 = null; + $elem767 = new \metastore\WMTrigger(); + $xfer += $elem767->read($input); + $this->triggers []= $elem767; } $xfer += $input->readListEnd(); } else { @@ -25411,15 +25636,15 @@ class WMFullResourcePlan { case 5: if ($ftype == TType::LST) { $this->poolTriggers = array(); - $_size754 = 0; - $_etype757 = 0; - $xfer += $input->readListBegin($_etype757, $_size754); - for ($_i758 = 0; $_i758 < $_size754; ++$_i758) + $_size768 = 0; + $_etype771 = 0; + $xfer += $input->readListBegin($_etype771, $_size768); + for ($_i772 = 0; $_i772 < $_size768; ++$_i772) { - $elem759 = null; - $elem759 = new \metastore\WMPoolTrigger(); - $xfer += $elem759->read($input); - $this->poolTriggers []= $elem759; + $elem773 = null; + $elem773 = new \metastore\WMPoolTrigger(); + $xfer += $elem773->read($input); + $this->poolTriggers []= $elem773; } $xfer += $input->readListEnd(); } else { @@ -25455,9 +25680,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->pools)); { - foreach ($this->pools as $iter760) + foreach ($this->pools as $iter774) { - $xfer += $iter760->write($output); + $xfer += $iter774->write($output); } } $output->writeListEnd(); @@ -25472,9 +25697,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->mappings)); { - foreach ($this->mappings as $iter761) + foreach ($this->mappings as $iter775) { - $xfer += $iter761->write($output); + $xfer += $iter775->write($output); } } $output->writeListEnd(); @@ -25489,9 +25714,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter762) + foreach ($this->triggers as $iter776) { - $xfer += $iter762->write($output); + $xfer += $iter776->write($output); } } $output->writeListEnd(); @@ -25506,9 +25731,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->poolTriggers)); { - foreach ($this->poolTriggers as $iter763) + foreach ($this->poolTriggers as $iter777) { - $xfer += $iter763->write($output); + $xfer += $iter777->write($output); } } $output->writeListEnd(); @@ -26061,15 +26286,15 @@ class WMGetAllResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->resourcePlans = array(); - $_size764 = 0; - $_etype767 = 0; - $xfer += $input->readListBegin($_etype767, $_size764); - for ($_i768 = 0; $_i768 < $_size764; ++$_i768) + $_size778 = 0; + $_etype781 = 0; + $xfer += $input->readListBegin($_etype781, $_size778); + for ($_i782 = 0; $_i782 < $_size778; ++$_i782) { - $elem769 = null; - $elem769 = new \metastore\WMResourcePlan(); - $xfer += $elem769->read($input); - $this->resourcePlans []= $elem769; + $elem783 = null; + $elem783 = new \metastore\WMResourcePlan(); + $xfer += $elem783->read($input); + $this->resourcePlans []= $elem783; } $xfer += $input->readListEnd(); } else { @@ -26097,9 +26322,9 @@ class WMGetAllResourcePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->resourcePlans)); { - foreach ($this->resourcePlans as $iter770) + foreach ($this->resourcePlans as $iter784) { - $xfer += $iter770->write($output); + $xfer += $iter784->write($output); } } $output->writeListEnd(); @@ -26505,14 +26730,14 @@ class WMValidateResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->errors = array(); - $_size771 = 0; - $_etype774 = 0; - $xfer += $input->readListBegin($_etype774, $_size771); - for ($_i775 = 0; $_i775 < $_size771; ++$_i775) + $_size785 = 0; + $_etype788 = 0; + $xfer += $input->readListBegin($_etype788, $_size785); + for ($_i789 = 0; $_i789 < $_size785; ++$_i789) { - $elem776 = null; - $xfer += $input->readString($elem776); - $this->errors []= $elem776; + $elem790 = null; + $xfer += $input->readString($elem790); + $this->errors []= $elem790; } $xfer += $input->readListEnd(); } else { @@ -26522,14 +26747,14 @@ class WMValidateResourcePlanResponse { case 2: if ($ftype == TType::LST) { $this->warnings = array(); - $_size777 = 0; - $_etype780 = 0; - $xfer += $input->readListBegin($_etype780, $_size777); - for ($_i781 = 0; $_i781 < $_size777; ++$_i781) + $_size791 = 0; + $_etype794 = 0; + $xfer += $input->readListBegin($_etype794, $_size791); + for ($_i795 = 0; $_i795 < $_size791; ++$_i795) { - $elem782 = null; - $xfer += $input->readString($elem782); - $this->warnings []= $elem782; + $elem796 = null; + $xfer += $input->readString($elem796); + $this->warnings []= $elem796; } $xfer += $input->readListEnd(); } else { @@ -26557,9 +26782,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->errors)); { - foreach ($this->errors as $iter783) + foreach ($this->errors as $iter797) { - $xfer += $output->writeString($iter783); + $xfer += $output->writeString($iter797); } } $output->writeListEnd(); @@ -26574,9 +26799,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->warnings)); { - foreach ($this->warnings as $iter784) + foreach ($this->warnings as $iter798) { - $xfer += $output->writeString($iter784); + $xfer += $output->writeString($iter798); } } $output->writeListEnd(); @@ -27249,15 +27474,15 @@ class WMGetTriggersForResourePlanResponse { case 1: if ($ftype == TType::LST) { $this->triggers = array(); - $_size785 = 0; - $_etype788 = 0; - $xfer += $input->readListBegin($_etype788, $_size785); - for ($_i789 = 0; $_i789 < $_size785; ++$_i789) + $_size799 = 0; + $_etype802 = 0; + $xfer += $input->readListBegin($_etype802, $_size799); + for ($_i803 = 0; $_i803 < $_size799; ++$_i803) { - $elem790 = null; - $elem790 = new \metastore\WMTrigger(); - $xfer += $elem790->read($input); - $this->triggers []= $elem790; + $elem804 = null; + $elem804 = new \metastore\WMTrigger(); + $xfer += $elem804->read($input); + $this->triggers []= $elem804; } $xfer += $input->readListEnd(); } else { @@ -27285,9 +27510,9 @@ class WMGetTriggersForResourePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter791) + foreach ($this->triggers as $iter805) { - $xfer += $iter791->write($output); + $xfer += $iter805->write($output); } } $output->writeListEnd(); @@ -28871,15 +29096,15 @@ class SchemaVersion { case 4: if ($ftype == TType::LST) { $this->cols = array(); - $_size792 = 0; - $_etype795 = 0; - $xfer += $input->readListBegin($_etype795, $_size792); - for ($_i796 = 0; $_i796 < $_size792; ++$_i796) + $_size806 = 0; + $_etype809 = 0; + $xfer += $input->readListBegin($_etype809, $_size806); + for ($_i810 = 0; $_i810 < $_size806; ++$_i810) { - $elem797 = null; - $elem797 = new \metastore\FieldSchema(); - $xfer += $elem797->read($input); - $this->cols []= $elem797; + $elem811 = null; + $elem811 = new \metastore\FieldSchema(); + $xfer += $elem811->read($input); + $this->cols []= $elem811; } $xfer += $input->readListEnd(); } else { @@ -28968,9 +29193,9 @@ class SchemaVersion { { $output->writeListBegin(TType::STRUCT, count($this->cols)); { - foreach ($this->cols as $iter798) + foreach ($this->cols as $iter812) { - $xfer += $iter798->write($output); + $xfer += $iter812->write($output); } } $output->writeListEnd(); @@ -29292,15 +29517,15 @@ class FindSchemasByColsResp { case 1: if ($ftype == TType::LST) { $this->schemaVersions = array(); - $_size799 = 0; - $_etype802 = 0; - $xfer += $input->readListBegin($_etype802, $_size799); - for ($_i803 = 0; $_i803 < $_size799; ++$_i803) + $_size813 = 0; + $_etype816 = 0; + $xfer += $input->readListBegin($_etype816, $_size813); + for ($_i817 = 0; $_i817 < $_size813; ++$_i817) { - $elem804 = null; - $elem804 = new \metastore\SchemaVersionDescriptor(); - $xfer += $elem804->read($input); - $this->schemaVersions []= $elem804; + $elem818 = null; + $elem818 = new \metastore\SchemaVersionDescriptor(); + $xfer += $elem818->read($input); + $this->schemaVersions []= $elem818; } $xfer += $input->readListEnd(); } else { @@ -29328,9 +29553,9 @@ class FindSchemasByColsResp { { $output->writeListBegin(TType::STRUCT, count($this->schemaVersions)); { - foreach ($this->schemaVersions as $iter805) + foreach ($this->schemaVersions as $iter819) { - $xfer += $iter805->write($output); + $xfer += $iter819->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 d39690f31c..edd9110413 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 @@ -171,6 +171,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print(' void commit_txn(CommitTxnRequest rqst)') print(' GetValidWriteIdsResponse get_valid_write_ids(GetValidWriteIdsRequest rqst)') print(' AllocateTableWriteIdsResponse allocate_table_write_ids(AllocateTableWriteIdsRequest rqst)') + print(' GetTargetTxnIdsResponse repl_get_target_txn_ids(GetTargetTxnIdsRequest rqst)') print(' LockResponse lock(LockRequest rqst)') print(' LockResponse check_lock(CheckLockRequest rqst)') print(' void unlock(UnlockRequest rqst)') @@ -1175,6 +1176,12 @@ elif cmd == 'allocate_table_write_ids': sys.exit(1) pp.pprint(client.allocate_table_write_ids(eval(args[0]),)) +elif cmd == 'repl_get_target_txn_ids': + if len(args) != 1: + print('repl_get_target_txn_ids requires 1 args') + sys.exit(1) + pp.pprint(client.repl_get_target_txn_ids(eval(args[0]),)) + elif cmd == 'lock': if len(args) != 1: print('lock 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 f8ffeac605..be1bb8ea54 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 @@ -1189,6 +1189,13 @@ def allocate_table_write_ids(self, rqst): """ pass + def repl_get_target_txn_ids(self, rqst): + """ + Parameters: + - rqst + """ + pass + def lock(self, rqst): """ Parameters: @@ -6921,6 +6928,41 @@ def recv_allocate_table_write_ids(self): raise result.o3 raise TApplicationException(TApplicationException.MISSING_RESULT, "allocate_table_write_ids failed: unknown result") + def repl_get_target_txn_ids(self, rqst): + """ + Parameters: + - rqst + """ + self.send_repl_get_target_txn_ids(rqst) + return self.recv_repl_get_target_txn_ids() + + def send_repl_get_target_txn_ids(self, rqst): + self._oprot.writeMessageBegin('repl_get_target_txn_ids', TMessageType.CALL, self._seqid) + args = repl_get_target_txn_ids_args() + args.rqst = rqst + args.write(self._oprot) + self._oprot.writeMessageEnd() + self._oprot.trans.flush() + + def recv_repl_get_target_txn_ids(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() + if mtype == TMessageType.EXCEPTION: + x = TApplicationException() + x.read(iprot) + iprot.readMessageEnd() + raise x + result = repl_get_target_txn_ids_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, "repl_get_target_txn_ids failed: unknown result") + def lock(self, rqst): """ Parameters: @@ -8862,6 +8904,7 @@ def __init__(self, handler): self._processMap["commit_txn"] = Processor.process_commit_txn 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["repl_get_target_txn_ids"] = Processor.process_repl_get_target_txn_ids self._processMap["lock"] = Processor.process_lock self._processMap["check_lock"] = Processor.process_check_lock self._processMap["unlock"] = Processor.process_unlock @@ -12600,6 +12643,31 @@ def process_allocate_table_write_ids(self, seqid, iprot, oprot): oprot.writeMessageEnd() oprot.trans.flush() + def process_repl_get_target_txn_ids(self, seqid, iprot, oprot): + args = repl_get_target_txn_ids_args() + args.read(iprot) + iprot.readMessageEnd() + result = repl_get_target_txn_ids_result() + try: + result.success = self._handler.repl_get_target_txn_ids(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("repl_get_target_txn_ids", msg_type, seqid) + result.write(oprot) + oprot.writeMessageEnd() + oprot.trans.flush() + def process_lock(self, seqid, iprot, oprot): args = lock_args() args.read(iprot) @@ -15379,10 +15447,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype805, _size802) = iprot.readListBegin() - for _i806 in xrange(_size802): - _elem807 = iprot.readString() - self.success.append(_elem807) + (_etype819, _size816) = iprot.readListBegin() + for _i820 in xrange(_size816): + _elem821 = iprot.readString() + self.success.append(_elem821) iprot.readListEnd() else: iprot.skip(ftype) @@ -15405,8 +15473,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 iter808 in self.success: - oprot.writeString(iter808) + for iter822 in self.success: + oprot.writeString(iter822) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15511,10 +15579,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype812, _size809) = iprot.readListBegin() - for _i813 in xrange(_size809): - _elem814 = iprot.readString() - self.success.append(_elem814) + (_etype826, _size823) = iprot.readListBegin() + for _i827 in xrange(_size823): + _elem828 = iprot.readString() + self.success.append(_elem828) iprot.readListEnd() else: iprot.skip(ftype) @@ -15537,8 +15605,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 iter815 in self.success: - oprot.writeString(iter815) + for iter829 in self.success: + oprot.writeString(iter829) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16308,12 +16376,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype817, _vtype818, _size816 ) = iprot.readMapBegin() - for _i820 in xrange(_size816): - _key821 = iprot.readString() - _val822 = Type() - _val822.read(iprot) - self.success[_key821] = _val822 + (_ktype831, _vtype832, _size830 ) = iprot.readMapBegin() + for _i834 in xrange(_size830): + _key835 = iprot.readString() + _val836 = Type() + _val836.read(iprot) + self.success[_key835] = _val836 iprot.readMapEnd() else: iprot.skip(ftype) @@ -16336,9 +16404,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 kiter823,viter824 in self.success.items(): - oprot.writeString(kiter823) - viter824.write(oprot) + for kiter837,viter838 in self.success.items(): + oprot.writeString(kiter837) + viter838.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -16481,11 +16549,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype828, _size825) = iprot.readListBegin() - for _i829 in xrange(_size825): - _elem830 = FieldSchema() - _elem830.read(iprot) - self.success.append(_elem830) + (_etype842, _size839) = iprot.readListBegin() + for _i843 in xrange(_size839): + _elem844 = FieldSchema() + _elem844.read(iprot) + self.success.append(_elem844) iprot.readListEnd() else: iprot.skip(ftype) @@ -16520,8 +16588,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter831 in self.success: - iter831.write(oprot) + for iter845 in self.success: + iter845.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16688,11 +16756,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype835, _size832) = iprot.readListBegin() - for _i836 in xrange(_size832): - _elem837 = FieldSchema() - _elem837.read(iprot) - self.success.append(_elem837) + (_etype849, _size846) = iprot.readListBegin() + for _i850 in xrange(_size846): + _elem851 = FieldSchema() + _elem851.read(iprot) + self.success.append(_elem851) iprot.readListEnd() else: iprot.skip(ftype) @@ -16727,8 +16795,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter838 in self.success: - iter838.write(oprot) + for iter852 in self.success: + iter852.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16881,11 +16949,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype842, _size839) = iprot.readListBegin() - for _i843 in xrange(_size839): - _elem844 = FieldSchema() - _elem844.read(iprot) - self.success.append(_elem844) + (_etype856, _size853) = iprot.readListBegin() + for _i857 in xrange(_size853): + _elem858 = FieldSchema() + _elem858.read(iprot) + self.success.append(_elem858) iprot.readListEnd() else: iprot.skip(ftype) @@ -16920,8 +16988,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 iter845 in self.success: - iter845.write(oprot) + for iter859 in self.success: + iter859.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17088,11 +17156,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype849, _size846) = iprot.readListBegin() - for _i850 in xrange(_size846): - _elem851 = FieldSchema() - _elem851.read(iprot) - self.success.append(_elem851) + (_etype863, _size860) = iprot.readListBegin() + for _i864 in xrange(_size860): + _elem865 = FieldSchema() + _elem865.read(iprot) + self.success.append(_elem865) iprot.readListEnd() else: iprot.skip(ftype) @@ -17127,8 +17195,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 iter852 in self.success: - iter852.write(oprot) + for iter866 in self.success: + iter866.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17581,66 +17649,66 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.primaryKeys = [] - (_etype856, _size853) = iprot.readListBegin() - for _i857 in xrange(_size853): - _elem858 = SQLPrimaryKey() - _elem858.read(iprot) - self.primaryKeys.append(_elem858) + (_etype870, _size867) = iprot.readListBegin() + for _i871 in xrange(_size867): + _elem872 = SQLPrimaryKey() + _elem872.read(iprot) + self.primaryKeys.append(_elem872) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.foreignKeys = [] - (_etype862, _size859) = iprot.readListBegin() - for _i863 in xrange(_size859): - _elem864 = SQLForeignKey() - _elem864.read(iprot) - self.foreignKeys.append(_elem864) + (_etype876, _size873) = iprot.readListBegin() + for _i877 in xrange(_size873): + _elem878 = SQLForeignKey() + _elem878.read(iprot) + self.foreignKeys.append(_elem878) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.uniqueConstraints = [] - (_etype868, _size865) = iprot.readListBegin() - for _i869 in xrange(_size865): - _elem870 = SQLUniqueConstraint() - _elem870.read(iprot) - self.uniqueConstraints.append(_elem870) + (_etype882, _size879) = iprot.readListBegin() + for _i883 in xrange(_size879): + _elem884 = SQLUniqueConstraint() + _elem884.read(iprot) + self.uniqueConstraints.append(_elem884) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.notNullConstraints = [] - (_etype874, _size871) = iprot.readListBegin() - for _i875 in xrange(_size871): - _elem876 = SQLNotNullConstraint() - _elem876.read(iprot) - self.notNullConstraints.append(_elem876) + (_etype888, _size885) = iprot.readListBegin() + for _i889 in xrange(_size885): + _elem890 = SQLNotNullConstraint() + _elem890.read(iprot) + self.notNullConstraints.append(_elem890) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.LIST: self.defaultConstraints = [] - (_etype880, _size877) = iprot.readListBegin() - for _i881 in xrange(_size877): - _elem882 = SQLDefaultConstraint() - _elem882.read(iprot) - self.defaultConstraints.append(_elem882) + (_etype894, _size891) = iprot.readListBegin() + for _i895 in xrange(_size891): + _elem896 = SQLDefaultConstraint() + _elem896.read(iprot) + self.defaultConstraints.append(_elem896) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 7: if ftype == TType.LIST: self.checkConstraints = [] - (_etype886, _size883) = iprot.readListBegin() - for _i887 in xrange(_size883): - _elem888 = SQLCheckConstraint() - _elem888.read(iprot) - self.checkConstraints.append(_elem888) + (_etype900, _size897) = iprot.readListBegin() + for _i901 in xrange(_size897): + _elem902 = SQLCheckConstraint() + _elem902.read(iprot) + self.checkConstraints.append(_elem902) iprot.readListEnd() else: iprot.skip(ftype) @@ -17661,43 +17729,43 @@ def write(self, oprot): if self.primaryKeys is not None: oprot.writeFieldBegin('primaryKeys', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.primaryKeys)) - for iter889 in self.primaryKeys: - iter889.write(oprot) + for iter903 in self.primaryKeys: + iter903.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 iter890 in self.foreignKeys: - iter890.write(oprot) + for iter904 in self.foreignKeys: + iter904.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 iter891 in self.uniqueConstraints: - iter891.write(oprot) + for iter905 in self.uniqueConstraints: + iter905.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 iter892 in self.notNullConstraints: - iter892.write(oprot) + for iter906 in self.notNullConstraints: + iter906.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 iter893 in self.defaultConstraints: - iter893.write(oprot) + for iter907 in self.defaultConstraints: + iter907.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.checkConstraints is not None: oprot.writeFieldBegin('checkConstraints', TType.LIST, 7) oprot.writeListBegin(TType.STRUCT, len(self.checkConstraints)) - for iter894 in self.checkConstraints: - iter894.write(oprot) + for iter908 in self.checkConstraints: + iter908.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19257,10 +19325,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.partNames = [] - (_etype898, _size895) = iprot.readListBegin() - for _i899 in xrange(_size895): - _elem900 = iprot.readString() - self.partNames.append(_elem900) + (_etype912, _size909) = iprot.readListBegin() + for _i913 in xrange(_size909): + _elem914 = iprot.readString() + self.partNames.append(_elem914) iprot.readListEnd() else: iprot.skip(ftype) @@ -19285,8 +19353,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 iter901 in self.partNames: - oprot.writeString(iter901) + for iter915 in self.partNames: + oprot.writeString(iter915) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19486,10 +19554,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) + (_etype919, _size916) = iprot.readListBegin() + for _i920 in xrange(_size916): + _elem921 = iprot.readString() + self.success.append(_elem921) iprot.readListEnd() else: iprot.skip(ftype) @@ -19512,8 +19580,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 iter922 in self.success: + oprot.writeString(iter922) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19663,10 +19731,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype912, _size909) = iprot.readListBegin() - for _i913 in xrange(_size909): - _elem914 = iprot.readString() - self.success.append(_elem914) + (_etype926, _size923) = iprot.readListBegin() + for _i927 in xrange(_size923): + _elem928 = iprot.readString() + self.success.append(_elem928) iprot.readListEnd() else: iprot.skip(ftype) @@ -19689,8 +19757,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 iter915 in self.success: - oprot.writeString(iter915) + for iter929 in self.success: + oprot.writeString(iter929) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19814,10 +19882,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype919, _size916) = iprot.readListBegin() - for _i920 in xrange(_size916): - _elem921 = iprot.readString() - self.success.append(_elem921) + (_etype933, _size930) = iprot.readListBegin() + for _i934 in xrange(_size930): + _elem935 = iprot.readString() + self.success.append(_elem935) iprot.readListEnd() else: iprot.skip(ftype) @@ -19840,8 +19908,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 iter922 in self.success: - oprot.writeString(iter922) + for iter936 in self.success: + oprot.writeString(iter936) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19914,10 +19982,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype926, _size923) = iprot.readListBegin() - for _i927 in xrange(_size923): - _elem928 = iprot.readString() - self.tbl_types.append(_elem928) + (_etype940, _size937) = iprot.readListBegin() + for _i941 in xrange(_size937): + _elem942 = iprot.readString() + self.tbl_types.append(_elem942) iprot.readListEnd() else: iprot.skip(ftype) @@ -19942,8 +20010,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 iter929 in self.tbl_types: - oprot.writeString(iter929) + for iter943 in self.tbl_types: + oprot.writeString(iter943) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19999,11 +20067,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype933, _size930) = iprot.readListBegin() - for _i934 in xrange(_size930): - _elem935 = TableMeta() - _elem935.read(iprot) - self.success.append(_elem935) + (_etype947, _size944) = iprot.readListBegin() + for _i948 in xrange(_size944): + _elem949 = TableMeta() + _elem949.read(iprot) + self.success.append(_elem949) iprot.readListEnd() else: iprot.skip(ftype) @@ -20026,8 +20094,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 iter936 in self.success: - iter936.write(oprot) + for iter950 in self.success: + iter950.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20151,10 +20219,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype940, _size937) = iprot.readListBegin() - for _i941 in xrange(_size937): - _elem942 = iprot.readString() - self.success.append(_elem942) + (_etype954, _size951) = iprot.readListBegin() + for _i955 in xrange(_size951): + _elem956 = iprot.readString() + self.success.append(_elem956) iprot.readListEnd() else: iprot.skip(ftype) @@ -20177,8 +20245,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 iter943 in self.success: - oprot.writeString(iter943) + for iter957 in self.success: + oprot.writeString(iter957) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20414,10 +20482,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype947, _size944) = iprot.readListBegin() - for _i948 in xrange(_size944): - _elem949 = iprot.readString() - self.tbl_names.append(_elem949) + (_etype961, _size958) = iprot.readListBegin() + for _i962 in xrange(_size958): + _elem963 = iprot.readString() + self.tbl_names.append(_elem963) iprot.readListEnd() else: iprot.skip(ftype) @@ -20438,8 +20506,8 @@ def write(self, oprot): if self.tbl_names is not None: oprot.writeFieldBegin('tbl_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.tbl_names)) - for iter950 in self.tbl_names: - oprot.writeString(iter950) + for iter964 in self.tbl_names: + oprot.writeString(iter964) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20491,11 +20559,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype954, _size951) = iprot.readListBegin() - for _i955 in xrange(_size951): - _elem956 = Table() - _elem956.read(iprot) - self.success.append(_elem956) + (_etype968, _size965) = iprot.readListBegin() + for _i969 in xrange(_size965): + _elem970 = Table() + _elem970.read(iprot) + self.success.append(_elem970) iprot.readListEnd() else: iprot.skip(ftype) @@ -20512,8 +20580,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 iter957 in self.success: - iter957.write(oprot) + for iter971 in self.success: + iter971.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20905,10 +20973,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype961, _size958) = iprot.readListBegin() - for _i962 in xrange(_size958): - _elem963 = iprot.readString() - self.tbl_names.append(_elem963) + (_etype975, _size972) = iprot.readListBegin() + for _i976 in xrange(_size972): + _elem977 = iprot.readString() + self.tbl_names.append(_elem977) iprot.readListEnd() else: iprot.skip(ftype) @@ -20929,8 +20997,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 iter964 in self.tbl_names: - oprot.writeString(iter964) + for iter978 in self.tbl_names: + oprot.writeString(iter978) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20991,12 +21059,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype966, _vtype967, _size965 ) = iprot.readMapBegin() - for _i969 in xrange(_size965): - _key970 = iprot.readString() - _val971 = Materialization() - _val971.read(iprot) - self.success[_key970] = _val971 + (_ktype980, _vtype981, _size979 ) = iprot.readMapBegin() + for _i983 in xrange(_size979): + _key984 = iprot.readString() + _val985 = Materialization() + _val985.read(iprot) + self.success[_key984] = _val985 iprot.readMapEnd() else: iprot.skip(ftype) @@ -21031,9 +21099,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 kiter972,viter973 in self.success.items(): - oprot.writeString(kiter972) - viter973.write(oprot) + for kiter986,viter987 in self.success.items(): + oprot.writeString(kiter986) + viter987.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21398,10 +21466,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype977, _size974) = iprot.readListBegin() - for _i978 in xrange(_size974): - _elem979 = iprot.readString() - self.success.append(_elem979) + (_etype991, _size988) = iprot.readListBegin() + for _i992 in xrange(_size988): + _elem993 = iprot.readString() + self.success.append(_elem993) iprot.readListEnd() else: iprot.skip(ftype) @@ -21436,8 +21504,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 iter980 in self.success: - oprot.writeString(iter980) + for iter994 in self.success: + oprot.writeString(iter994) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22407,11 +22475,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype984, _size981) = iprot.readListBegin() - for _i985 in xrange(_size981): - _elem986 = Partition() - _elem986.read(iprot) - self.new_parts.append(_elem986) + (_etype998, _size995) = iprot.readListBegin() + for _i999 in xrange(_size995): + _elem1000 = Partition() + _elem1000.read(iprot) + self.new_parts.append(_elem1000) iprot.readListEnd() else: iprot.skip(ftype) @@ -22428,8 +22496,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 iter987 in self.new_parts: - iter987.write(oprot) + for iter1001 in self.new_parts: + iter1001.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22587,11 +22655,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype991, _size988) = iprot.readListBegin() - for _i992 in xrange(_size988): - _elem993 = PartitionSpec() - _elem993.read(iprot) - self.new_parts.append(_elem993) + (_etype1005, _size1002) = iprot.readListBegin() + for _i1006 in xrange(_size1002): + _elem1007 = PartitionSpec() + _elem1007.read(iprot) + self.new_parts.append(_elem1007) iprot.readListEnd() else: iprot.skip(ftype) @@ -22608,8 +22676,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 iter994 in self.new_parts: - iter994.write(oprot) + for iter1008 in self.new_parts: + iter1008.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22783,10 +22851,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype998, _size995) = iprot.readListBegin() - for _i999 in xrange(_size995): - _elem1000 = iprot.readString() - self.part_vals.append(_elem1000) + (_etype1012, _size1009) = iprot.readListBegin() + for _i1013 in xrange(_size1009): + _elem1014 = iprot.readString() + self.part_vals.append(_elem1014) iprot.readListEnd() else: iprot.skip(ftype) @@ -22811,8 +22879,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1001 in self.part_vals: - oprot.writeString(iter1001) + for iter1015 in self.part_vals: + oprot.writeString(iter1015) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23165,10 +23233,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1005, _size1002) = iprot.readListBegin() - for _i1006 in xrange(_size1002): - _elem1007 = iprot.readString() - self.part_vals.append(_elem1007) + (_etype1019, _size1016) = iprot.readListBegin() + for _i1020 in xrange(_size1016): + _elem1021 = iprot.readString() + self.part_vals.append(_elem1021) iprot.readListEnd() else: iprot.skip(ftype) @@ -23199,8 +23267,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1008 in self.part_vals: - oprot.writeString(iter1008) + for iter1022 in self.part_vals: + oprot.writeString(iter1022) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -23795,10 +23863,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1012, _size1009) = iprot.readListBegin() - for _i1013 in xrange(_size1009): - _elem1014 = iprot.readString() - self.part_vals.append(_elem1014) + (_etype1026, _size1023) = iprot.readListBegin() + for _i1027 in xrange(_size1023): + _elem1028 = iprot.readString() + self.part_vals.append(_elem1028) iprot.readListEnd() else: iprot.skip(ftype) @@ -23828,8 +23896,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter1015 in self.part_vals: - oprot.writeString(iter1015) + for iter1029 in self.part_vals: + oprot.writeString(iter1029) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -24002,10 +24070,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1019, _size1016) = iprot.readListBegin() - for _i1020 in xrange(_size1016): - _elem1021 = iprot.readString() - self.part_vals.append(_elem1021) + (_etype1033, _size1030) = iprot.readListBegin() + for _i1034 in xrange(_size1030): + _elem1035 = iprot.readString() + self.part_vals.append(_elem1035) iprot.readListEnd() else: iprot.skip(ftype) @@ -24041,8 +24109,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 iter1022 in self.part_vals: - oprot.writeString(iter1022) + for iter1036 in self.part_vals: + oprot.writeString(iter1036) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -24779,10 +24847,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1026, _size1023) = iprot.readListBegin() - for _i1027 in xrange(_size1023): - _elem1028 = iprot.readString() - self.part_vals.append(_elem1028) + (_etype1040, _size1037) = iprot.readListBegin() + for _i1041 in xrange(_size1037): + _elem1042 = iprot.readString() + self.part_vals.append(_elem1042) iprot.readListEnd() else: iprot.skip(ftype) @@ -24807,8 +24875,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 iter1029 in self.part_vals: - oprot.writeString(iter1029) + for iter1043 in self.part_vals: + oprot.writeString(iter1043) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24967,11 +25035,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1031, _vtype1032, _size1030 ) = iprot.readMapBegin() - for _i1034 in xrange(_size1030): - _key1035 = iprot.readString() - _val1036 = iprot.readString() - self.partitionSpecs[_key1035] = _val1036 + (_ktype1045, _vtype1046, _size1044 ) = iprot.readMapBegin() + for _i1048 in xrange(_size1044): + _key1049 = iprot.readString() + _val1050 = iprot.readString() + self.partitionSpecs[_key1049] = _val1050 iprot.readMapEnd() else: iprot.skip(ftype) @@ -25008,9 +25076,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 kiter1037,viter1038 in self.partitionSpecs.items(): - oprot.writeString(kiter1037) - oprot.writeString(viter1038) + for kiter1051,viter1052 in self.partitionSpecs.items(): + oprot.writeString(kiter1051) + oprot.writeString(viter1052) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -25215,11 +25283,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1040, _vtype1041, _size1039 ) = iprot.readMapBegin() - for _i1043 in xrange(_size1039): - _key1044 = iprot.readString() - _val1045 = iprot.readString() - self.partitionSpecs[_key1044] = _val1045 + (_ktype1054, _vtype1055, _size1053 ) = iprot.readMapBegin() + for _i1057 in xrange(_size1053): + _key1058 = iprot.readString() + _val1059 = iprot.readString() + self.partitionSpecs[_key1058] = _val1059 iprot.readMapEnd() else: iprot.skip(ftype) @@ -25256,9 +25324,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 kiter1046,viter1047 in self.partitionSpecs.items(): - oprot.writeString(kiter1046) - oprot.writeString(viter1047) + for kiter1060,viter1061 in self.partitionSpecs.items(): + oprot.writeString(kiter1060) + oprot.writeString(viter1061) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -25341,11 +25409,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) + (_etype1065, _size1062) = iprot.readListBegin() + for _i1066 in xrange(_size1062): + _elem1067 = Partition() + _elem1067.read(iprot) + self.success.append(_elem1067) iprot.readListEnd() else: iprot.skip(ftype) @@ -25386,8 +25454,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 iter1068 in self.success: + iter1068.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25481,10 +25549,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1058, _size1055) = iprot.readListBegin() - for _i1059 in xrange(_size1055): - _elem1060 = iprot.readString() - self.part_vals.append(_elem1060) + (_etype1072, _size1069) = iprot.readListBegin() + for _i1073 in xrange(_size1069): + _elem1074 = iprot.readString() + self.part_vals.append(_elem1074) iprot.readListEnd() else: iprot.skip(ftype) @@ -25496,10 +25564,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1064, _size1061) = iprot.readListBegin() - for _i1065 in xrange(_size1061): - _elem1066 = iprot.readString() - self.group_names.append(_elem1066) + (_etype1078, _size1075) = iprot.readListBegin() + for _i1079 in xrange(_size1075): + _elem1080 = iprot.readString() + self.group_names.append(_elem1080) iprot.readListEnd() else: iprot.skip(ftype) @@ -25524,8 +25592,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 iter1067 in self.part_vals: - oprot.writeString(iter1067) + for iter1081 in self.part_vals: + oprot.writeString(iter1081) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -25535,8 +25603,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1068 in self.group_names: - oprot.writeString(iter1068) + for iter1082 in self.group_names: + oprot.writeString(iter1082) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -25965,11 +26033,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1072, _size1069) = iprot.readListBegin() - for _i1073 in xrange(_size1069): - _elem1074 = Partition() - _elem1074.read(iprot) - self.success.append(_elem1074) + (_etype1086, _size1083) = iprot.readListBegin() + for _i1087 in xrange(_size1083): + _elem1088 = Partition() + _elem1088.read(iprot) + self.success.append(_elem1088) iprot.readListEnd() else: iprot.skip(ftype) @@ -25998,8 +26066,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1075 in self.success: - iter1075.write(oprot) + for iter1089 in self.success: + iter1089.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26093,10 +26161,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1079, _size1076) = iprot.readListBegin() - for _i1080 in xrange(_size1076): - _elem1081 = iprot.readString() - self.group_names.append(_elem1081) + (_etype1093, _size1090) = iprot.readListBegin() + for _i1094 in xrange(_size1090): + _elem1095 = iprot.readString() + self.group_names.append(_elem1095) iprot.readListEnd() else: iprot.skip(ftype) @@ -26129,8 +26197,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 iter1082 in self.group_names: - oprot.writeString(iter1082) + for iter1096 in self.group_names: + oprot.writeString(iter1096) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26191,11 +26259,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1086, _size1083) = iprot.readListBegin() - for _i1087 in xrange(_size1083): - _elem1088 = Partition() - _elem1088.read(iprot) - self.success.append(_elem1088) + (_etype1100, _size1097) = iprot.readListBegin() + for _i1101 in xrange(_size1097): + _elem1102 = Partition() + _elem1102.read(iprot) + self.success.append(_elem1102) iprot.readListEnd() else: iprot.skip(ftype) @@ -26224,8 +26292,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 iter1089 in self.success: - iter1089.write(oprot) + for iter1103 in self.success: + iter1103.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26383,11 +26451,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1093, _size1090) = iprot.readListBegin() - for _i1094 in xrange(_size1090): - _elem1095 = PartitionSpec() - _elem1095.read(iprot) - self.success.append(_elem1095) + (_etype1107, _size1104) = iprot.readListBegin() + for _i1108 in xrange(_size1104): + _elem1109 = PartitionSpec() + _elem1109.read(iprot) + self.success.append(_elem1109) iprot.readListEnd() else: iprot.skip(ftype) @@ -26416,8 +26484,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 iter1096 in self.success: - iter1096.write(oprot) + for iter1110 in self.success: + iter1110.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26575,10 +26643,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1100, _size1097) = iprot.readListBegin() - for _i1101 in xrange(_size1097): - _elem1102 = iprot.readString() - self.success.append(_elem1102) + (_etype1114, _size1111) = iprot.readListBegin() + for _i1115 in xrange(_size1111): + _elem1116 = iprot.readString() + self.success.append(_elem1116) iprot.readListEnd() else: iprot.skip(ftype) @@ -26607,8 +26675,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 iter1103 in self.success: - oprot.writeString(iter1103) + for iter1117 in self.success: + oprot.writeString(iter1117) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26848,10 +26916,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) + (_etype1121, _size1118) = iprot.readListBegin() + for _i1122 in xrange(_size1118): + _elem1123 = iprot.readString() + self.part_vals.append(_elem1123) iprot.readListEnd() else: iprot.skip(ftype) @@ -26881,8 +26949,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 iter1124 in self.part_vals: + oprot.writeString(iter1124) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -26946,11 +27014,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1114, _size1111) = iprot.readListBegin() - for _i1115 in xrange(_size1111): - _elem1116 = Partition() - _elem1116.read(iprot) - self.success.append(_elem1116) + (_etype1128, _size1125) = iprot.readListBegin() + for _i1129 in xrange(_size1125): + _elem1130 = Partition() + _elem1130.read(iprot) + self.success.append(_elem1130) iprot.readListEnd() else: iprot.skip(ftype) @@ -26979,8 +27047,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 iter1117 in self.success: - iter1117.write(oprot) + for iter1131 in self.success: + iter1131.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27067,10 +27135,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1121, _size1118) = iprot.readListBegin() - for _i1122 in xrange(_size1118): - _elem1123 = iprot.readString() - self.part_vals.append(_elem1123) + (_etype1135, _size1132) = iprot.readListBegin() + for _i1136 in xrange(_size1132): + _elem1137 = iprot.readString() + self.part_vals.append(_elem1137) iprot.readListEnd() else: iprot.skip(ftype) @@ -27087,10 +27155,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype1127, _size1124) = iprot.readListBegin() - for _i1128 in xrange(_size1124): - _elem1129 = iprot.readString() - self.group_names.append(_elem1129) + (_etype1141, _size1138) = iprot.readListBegin() + for _i1142 in xrange(_size1138): + _elem1143 = iprot.readString() + self.group_names.append(_elem1143) iprot.readListEnd() else: iprot.skip(ftype) @@ -27115,8 +27183,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 iter1130 in self.part_vals: - oprot.writeString(iter1130) + for iter1144 in self.part_vals: + oprot.writeString(iter1144) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -27130,8 +27198,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 iter1131 in self.group_names: - oprot.writeString(iter1131) + for iter1145 in self.group_names: + oprot.writeString(iter1145) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27193,11 +27261,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1135, _size1132) = iprot.readListBegin() - for _i1136 in xrange(_size1132): - _elem1137 = Partition() - _elem1137.read(iprot) - self.success.append(_elem1137) + (_etype1149, _size1146) = iprot.readListBegin() + for _i1150 in xrange(_size1146): + _elem1151 = Partition() + _elem1151.read(iprot) + self.success.append(_elem1151) iprot.readListEnd() else: iprot.skip(ftype) @@ -27226,8 +27294,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 iter1138 in self.success: - iter1138.write(oprot) + for iter1152 in self.success: + iter1152.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27308,10 +27376,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1142, _size1139) = iprot.readListBegin() - for _i1143 in xrange(_size1139): - _elem1144 = iprot.readString() - self.part_vals.append(_elem1144) + (_etype1156, _size1153) = iprot.readListBegin() + for _i1157 in xrange(_size1153): + _elem1158 = iprot.readString() + self.part_vals.append(_elem1158) iprot.readListEnd() else: iprot.skip(ftype) @@ -27341,8 +27409,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 iter1145 in self.part_vals: - oprot.writeString(iter1145) + for iter1159 in self.part_vals: + oprot.writeString(iter1159) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -27406,10 +27474,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1149, _size1146) = iprot.readListBegin() - for _i1150 in xrange(_size1146): - _elem1151 = iprot.readString() - self.success.append(_elem1151) + (_etype1163, _size1160) = iprot.readListBegin() + for _i1164 in xrange(_size1160): + _elem1165 = iprot.readString() + self.success.append(_elem1165) iprot.readListEnd() else: iprot.skip(ftype) @@ -27438,8 +27506,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 iter1152 in self.success: - oprot.writeString(iter1152) + for iter1166 in self.success: + oprot.writeString(iter1166) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27610,11 +27678,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1156, _size1153) = iprot.readListBegin() - for _i1157 in xrange(_size1153): - _elem1158 = Partition() - _elem1158.read(iprot) - self.success.append(_elem1158) + (_etype1170, _size1167) = iprot.readListBegin() + for _i1171 in xrange(_size1167): + _elem1172 = Partition() + _elem1172.read(iprot) + self.success.append(_elem1172) iprot.readListEnd() else: iprot.skip(ftype) @@ -27643,8 +27711,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 iter1159 in self.success: - iter1159.write(oprot) + for iter1173 in self.success: + iter1173.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27815,11 +27883,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1163, _size1160) = iprot.readListBegin() - for _i1164 in xrange(_size1160): - _elem1165 = PartitionSpec() - _elem1165.read(iprot) - self.success.append(_elem1165) + (_etype1177, _size1174) = iprot.readListBegin() + for _i1178 in xrange(_size1174): + _elem1179 = PartitionSpec() + _elem1179.read(iprot) + self.success.append(_elem1179) iprot.readListEnd() else: iprot.skip(ftype) @@ -27848,8 +27916,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1166 in self.success: - iter1166.write(oprot) + for iter1180 in self.success: + iter1180.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28269,10 +28337,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype1170, _size1167) = iprot.readListBegin() - for _i1171 in xrange(_size1167): - _elem1172 = iprot.readString() - self.names.append(_elem1172) + (_etype1184, _size1181) = iprot.readListBegin() + for _i1185 in xrange(_size1181): + _elem1186 = iprot.readString() + self.names.append(_elem1186) iprot.readListEnd() else: iprot.skip(ftype) @@ -28297,8 +28365,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 iter1173 in self.names: - oprot.writeString(iter1173) + for iter1187 in self.names: + oprot.writeString(iter1187) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -28357,11 +28425,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1177, _size1174) = iprot.readListBegin() - for _i1178 in xrange(_size1174): - _elem1179 = Partition() - _elem1179.read(iprot) - self.success.append(_elem1179) + (_etype1191, _size1188) = iprot.readListBegin() + for _i1192 in xrange(_size1188): + _elem1193 = Partition() + _elem1193.read(iprot) + self.success.append(_elem1193) iprot.readListEnd() else: iprot.skip(ftype) @@ -28390,8 +28458,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 iter1180 in self.success: - iter1180.write(oprot) + for iter1194 in self.success: + iter1194.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28641,11 +28709,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1184, _size1181) = iprot.readListBegin() - for _i1185 in xrange(_size1181): - _elem1186 = Partition() - _elem1186.read(iprot) - self.new_parts.append(_elem1186) + (_etype1198, _size1195) = iprot.readListBegin() + for _i1199 in xrange(_size1195): + _elem1200 = Partition() + _elem1200.read(iprot) + self.new_parts.append(_elem1200) iprot.readListEnd() else: iprot.skip(ftype) @@ -28670,8 +28738,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 iter1187 in self.new_parts: - iter1187.write(oprot) + for iter1201 in self.new_parts: + iter1201.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -28824,11 +28892,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1191, _size1188) = iprot.readListBegin() - for _i1192 in xrange(_size1188): - _elem1193 = Partition() - _elem1193.read(iprot) - self.new_parts.append(_elem1193) + (_etype1205, _size1202) = iprot.readListBegin() + for _i1206 in xrange(_size1202): + _elem1207 = Partition() + _elem1207.read(iprot) + self.new_parts.append(_elem1207) iprot.readListEnd() else: iprot.skip(ftype) @@ -28859,8 +28927,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 iter1194 in self.new_parts: - iter1194.write(oprot) + for iter1208 in self.new_parts: + iter1208.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -29204,10 +29272,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1198, _size1195) = iprot.readListBegin() - for _i1199 in xrange(_size1195): - _elem1200 = iprot.readString() - self.part_vals.append(_elem1200) + (_etype1212, _size1209) = iprot.readListBegin() + for _i1213 in xrange(_size1209): + _elem1214 = iprot.readString() + self.part_vals.append(_elem1214) iprot.readListEnd() else: iprot.skip(ftype) @@ -29238,8 +29306,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 iter1201 in self.part_vals: - oprot.writeString(iter1201) + for iter1215 in self.part_vals: + oprot.writeString(iter1215) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -29381,10 +29449,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype1205, _size1202) = iprot.readListBegin() - for _i1206 in xrange(_size1202): - _elem1207 = iprot.readString() - self.part_vals.append(_elem1207) + (_etype1219, _size1216) = iprot.readListBegin() + for _i1220 in xrange(_size1216): + _elem1221 = iprot.readString() + self.part_vals.append(_elem1221) iprot.readListEnd() else: iprot.skip(ftype) @@ -29406,8 +29474,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 iter1208 in self.part_vals: - oprot.writeString(iter1208) + for iter1222 in self.part_vals: + oprot.writeString(iter1222) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -29765,10 +29833,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1212, _size1209) = iprot.readListBegin() - for _i1213 in xrange(_size1209): - _elem1214 = iprot.readString() - self.success.append(_elem1214) + (_etype1226, _size1223) = iprot.readListBegin() + for _i1227 in xrange(_size1223): + _elem1228 = iprot.readString() + self.success.append(_elem1228) iprot.readListEnd() else: iprot.skip(ftype) @@ -29791,8 +29859,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 iter1215 in self.success: - oprot.writeString(iter1215) + for iter1229 in self.success: + oprot.writeString(iter1229) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29916,11 +29984,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1217, _vtype1218, _size1216 ) = iprot.readMapBegin() - for _i1220 in xrange(_size1216): - _key1221 = iprot.readString() - _val1222 = iprot.readString() - self.success[_key1221] = _val1222 + (_ktype1231, _vtype1232, _size1230 ) = iprot.readMapBegin() + for _i1234 in xrange(_size1230): + _key1235 = iprot.readString() + _val1236 = iprot.readString() + self.success[_key1235] = _val1236 iprot.readMapEnd() else: iprot.skip(ftype) @@ -29943,9 +30011,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 kiter1223,viter1224 in self.success.items(): - oprot.writeString(kiter1223) - oprot.writeString(viter1224) + for kiter1237,viter1238 in self.success.items(): + oprot.writeString(kiter1237) + oprot.writeString(viter1238) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30021,11 +30089,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1226, _vtype1227, _size1225 ) = iprot.readMapBegin() - for _i1229 in xrange(_size1225): - _key1230 = iprot.readString() - _val1231 = iprot.readString() - self.part_vals[_key1230] = _val1231 + (_ktype1240, _vtype1241, _size1239 ) = iprot.readMapBegin() + for _i1243 in xrange(_size1239): + _key1244 = iprot.readString() + _val1245 = iprot.readString() + self.part_vals[_key1244] = _val1245 iprot.readMapEnd() else: iprot.skip(ftype) @@ -30055,9 +30123,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 kiter1232,viter1233 in self.part_vals.items(): - oprot.writeString(kiter1232) - oprot.writeString(viter1233) + for kiter1246,viter1247 in self.part_vals.items(): + oprot.writeString(kiter1246) + oprot.writeString(viter1247) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -30271,11 +30339,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1235, _vtype1236, _size1234 ) = iprot.readMapBegin() - for _i1238 in xrange(_size1234): - _key1239 = iprot.readString() - _val1240 = iprot.readString() - self.part_vals[_key1239] = _val1240 + (_ktype1249, _vtype1250, _size1248 ) = iprot.readMapBegin() + for _i1252 in xrange(_size1248): + _key1253 = iprot.readString() + _val1254 = iprot.readString() + self.part_vals[_key1253] = _val1254 iprot.readMapEnd() else: iprot.skip(ftype) @@ -30305,9 +30373,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 kiter1241,viter1242 in self.part_vals.items(): - oprot.writeString(kiter1241) - oprot.writeString(viter1242) + for kiter1255,viter1256 in self.part_vals.items(): + oprot.writeString(kiter1255) + oprot.writeString(viter1256) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -33959,10 +34027,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1246, _size1243) = iprot.readListBegin() - for _i1247 in xrange(_size1243): - _elem1248 = iprot.readString() - self.success.append(_elem1248) + (_etype1260, _size1257) = iprot.readListBegin() + for _i1261 in xrange(_size1257): + _elem1262 = iprot.readString() + self.success.append(_elem1262) iprot.readListEnd() else: iprot.skip(ftype) @@ -33985,8 +34053,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 iter1249 in self.success: - oprot.writeString(iter1249) + for iter1263 in self.success: + oprot.writeString(iter1263) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -34674,10 +34742,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) + (_etype1267, _size1264) = iprot.readListBegin() + for _i1268 in xrange(_size1264): + _elem1269 = iprot.readString() + self.success.append(_elem1269) iprot.readListEnd() else: iprot.skip(ftype) @@ -34700,8 +34768,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 iter1270 in self.success: + oprot.writeString(iter1270) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -35215,11 +35283,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1260, _size1257) = iprot.readListBegin() - for _i1261 in xrange(_size1257): - _elem1262 = Role() - _elem1262.read(iprot) - self.success.append(_elem1262) + (_etype1274, _size1271) = iprot.readListBegin() + for _i1275 in xrange(_size1271): + _elem1276 = Role() + _elem1276.read(iprot) + self.success.append(_elem1276) iprot.readListEnd() else: iprot.skip(ftype) @@ -35242,8 +35310,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1263 in self.success: - iter1263.write(oprot) + for iter1277 in self.success: + iter1277.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -35752,10 +35820,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype1267, _size1264) = iprot.readListBegin() - for _i1268 in xrange(_size1264): - _elem1269 = iprot.readString() - self.group_names.append(_elem1269) + (_etype1281, _size1278) = iprot.readListBegin() + for _i1282 in xrange(_size1278): + _elem1283 = iprot.readString() + self.group_names.append(_elem1283) iprot.readListEnd() else: iprot.skip(ftype) @@ -35780,8 +35848,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 iter1270 in self.group_names: - oprot.writeString(iter1270) + for iter1284 in self.group_names: + oprot.writeString(iter1284) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -36008,11 +36076,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1274, _size1271) = iprot.readListBegin() - for _i1275 in xrange(_size1271): - _elem1276 = HiveObjectPrivilege() - _elem1276.read(iprot) - self.success.append(_elem1276) + (_etype1288, _size1285) = iprot.readListBegin() + for _i1289 in xrange(_size1285): + _elem1290 = HiveObjectPrivilege() + _elem1290.read(iprot) + self.success.append(_elem1290) iprot.readListEnd() else: iprot.skip(ftype) @@ -36035,8 +36103,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 iter1291 in self.success: + iter1291.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -36534,10 +36602,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype1281, _size1278) = iprot.readListBegin() - for _i1282 in xrange(_size1278): - _elem1283 = iprot.readString() - self.group_names.append(_elem1283) + (_etype1295, _size1292) = iprot.readListBegin() + for _i1296 in xrange(_size1292): + _elem1297 = iprot.readString() + self.group_names.append(_elem1297) iprot.readListEnd() else: iprot.skip(ftype) @@ -36558,8 +36626,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 iter1284 in self.group_names: - oprot.writeString(iter1284) + for iter1298 in self.group_names: + oprot.writeString(iter1298) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -36614,10 +36682,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1288, _size1285) = iprot.readListBegin() - for _i1289 in xrange(_size1285): - _elem1290 = iprot.readString() - self.success.append(_elem1290) + (_etype1302, _size1299) = iprot.readListBegin() + for _i1303 in xrange(_size1299): + _elem1304 = iprot.readString() + self.success.append(_elem1304) iprot.readListEnd() else: iprot.skip(ftype) @@ -36640,8 +36708,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter1291 in self.success: - oprot.writeString(iter1291) + for iter1305 in self.success: + oprot.writeString(iter1305) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -37573,10 +37641,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1295, _size1292) = iprot.readListBegin() - for _i1296 in xrange(_size1292): - _elem1297 = iprot.readString() - self.success.append(_elem1297) + (_etype1309, _size1306) = iprot.readListBegin() + for _i1310 in xrange(_size1306): + _elem1311 = iprot.readString() + self.success.append(_elem1311) iprot.readListEnd() else: iprot.skip(ftype) @@ -37593,8 +37661,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 iter1298 in self.success: - oprot.writeString(iter1298) + for iter1312 in self.success: + oprot.writeString(iter1312) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -38121,10 +38189,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1302, _size1299) = iprot.readListBegin() - for _i1303 in xrange(_size1299): - _elem1304 = iprot.readString() - self.success.append(_elem1304) + (_etype1316, _size1313) = iprot.readListBegin() + for _i1317 in xrange(_size1313): + _elem1318 = iprot.readString() + self.success.append(_elem1318) iprot.readListEnd() else: iprot.skip(ftype) @@ -38141,8 +38209,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 iter1305 in self.success: - oprot.writeString(iter1305) + for iter1319 in self.success: + oprot.writeString(iter1319) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -39263,6 +39331,165 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class repl_get_target_txn_ids_args: + """ + Attributes: + - rqst + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRUCT, 'rqst', (GetTargetTxnIdsRequest, GetTargetTxnIdsRequest.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 = GetTargetTxnIdsRequest() + 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('repl_get_target_txn_ids_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 repl_get_target_txn_ids_result: + """ + Attributes: + - success + - o1 + - o2 + """ + + thrift_spec = ( + (0, TType.STRUCT, 'success', (GetTargetTxnIdsResponse, GetTargetTxnIdsResponse.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 = GetTargetTxnIdsResponse() + 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('repl_get_target_txn_ids_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 lock_args: """ Attributes: @@ -46310,11 +46537,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1309, _size1306) = iprot.readListBegin() - for _i1310 in xrange(_size1306): - _elem1311 = SchemaVersion() - _elem1311.read(iprot) - self.success.append(_elem1311) + (_etype1323, _size1320) = iprot.readListBegin() + for _i1324 in xrange(_size1320): + _elem1325 = SchemaVersion() + _elem1325.read(iprot) + self.success.append(_elem1325) iprot.readListEnd() else: iprot.skip(ftype) @@ -46343,8 +46570,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 iter1312 in self.success: - iter1312.write(oprot) + for iter1326 in self.success: + iter1326.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 972db1f0a3..e907e32abf 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 @@ -11532,6 +11532,171 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class GetTargetTxnIdsRequest: + """ + Attributes: + - srcTxnIds + - replPolicy + """ + + thrift_spec = ( + None, # 0 + (1, TType.LIST, 'srcTxnIds', (TType.I64,None), None, ), # 1 + (2, TType.STRING, 'replPolicy', None, None, ), # 2 + ) + + def __init__(self, srcTxnIds=None, replPolicy=None,): + self.srcTxnIds = srcTxnIds + self.replPolicy = replPolicy + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + 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.LIST: + self.srcTxnIds = [] + (_etype526, _size523) = iprot.readListBegin() + for _i527 in xrange(_size523): + _elem528 = iprot.readI64() + self.srcTxnIds.append(_elem528) + iprot.readListEnd() + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRING: + self.replPolicy = iprot.readString() + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + 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('GetTargetTxnIdsRequest') + if self.srcTxnIds is not None: + oprot.writeFieldBegin('srcTxnIds', TType.LIST, 1) + oprot.writeListBegin(TType.I64, len(self.srcTxnIds)) + for iter529 in self.srcTxnIds: + oprot.writeI64(iter529) + oprot.writeListEnd() + oprot.writeFieldEnd() + if self.replPolicy is not None: + oprot.writeFieldBegin('replPolicy', TType.STRING, 2) + oprot.writeString(self.replPolicy) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + if self.srcTxnIds is None: + raise TProtocol.TProtocolException(message='Required field srcTxnIds is unset!') + if self.replPolicy is None: + raise TProtocol.TProtocolException(message='Required field replPolicy is unset!') + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.srcTxnIds) + value = (value * 31) ^ hash(self.replPolicy) + 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 GetTargetTxnIdsResponse: + """ + Attributes: + - targetTxnIds + """ + + thrift_spec = ( + None, # 0 + (1, TType.LIST, 'targetTxnIds', (TType.I64,None), None, ), # 1 + ) + + def __init__(self, targetTxnIds=None,): + self.targetTxnIds = targetTxnIds + + 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.LIST: + self.targetTxnIds = [] + (_etype533, _size530) = iprot.readListBegin() + for _i534 in xrange(_size530): + _elem535 = iprot.readI64() + self.targetTxnIds.append(_elem535) + iprot.readListEnd() + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('GetTargetTxnIdsResponse') + if self.targetTxnIds is not None: + oprot.writeFieldBegin('targetTxnIds', TType.LIST, 1) + oprot.writeListBegin(TType.I64, len(self.targetTxnIds)) + for iter536 in self.targetTxnIds: + oprot.writeI64(iter536) + oprot.writeListEnd() + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + if self.targetTxnIds is None: + raise TProtocol.TProtocolException(message='Required field targetTxnIds is unset!') + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.targetTxnIds) + 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: @@ -11561,10 +11726,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fullTableNames = [] - (_etype526, _size523) = iprot.readListBegin() - for _i527 in xrange(_size523): - _elem528 = iprot.readString() - self.fullTableNames.append(_elem528) + (_etype540, _size537) = iprot.readListBegin() + for _i541 in xrange(_size537): + _elem542 = iprot.readString() + self.fullTableNames.append(_elem542) iprot.readListEnd() else: iprot.skip(ftype) @@ -11586,8 +11751,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 iter529 in self.fullTableNames: - oprot.writeString(iter529) + for iter543 in self.fullTableNames: + oprot.writeString(iter543) oprot.writeListEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -11670,10 +11835,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.invalidWriteIds = [] - (_etype533, _size530) = iprot.readListBegin() - for _i534 in xrange(_size530): - _elem535 = iprot.readI64() - self.invalidWriteIds.append(_elem535) + (_etype547, _size544) = iprot.readListBegin() + for _i548 in xrange(_size544): + _elem549 = iprot.readI64() + self.invalidWriteIds.append(_elem549) iprot.readListEnd() else: iprot.skip(ftype) @@ -11708,8 +11873,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 iter536 in self.invalidWriteIds: - oprot.writeI64(iter536) + for iter550 in self.invalidWriteIds: + oprot.writeI64(iter550) oprot.writeListEnd() oprot.writeFieldEnd() if self.minOpenWriteId is not None: @@ -11781,11 +11946,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tblValidWriteIds = [] - (_etype540, _size537) = iprot.readListBegin() - for _i541 in xrange(_size537): - _elem542 = TableValidWriteIds() - _elem542.read(iprot) - self.tblValidWriteIds.append(_elem542) + (_etype554, _size551) = iprot.readListBegin() + for _i555 in xrange(_size551): + _elem556 = TableValidWriteIds() + _elem556.read(iprot) + self.tblValidWriteIds.append(_elem556) iprot.readListEnd() else: iprot.skip(ftype) @@ -11802,8 +11967,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 iter543 in self.tblValidWriteIds: - iter543.write(oprot) + for iter557 in self.tblValidWriteIds: + iter557.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11863,10 +12028,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txnIds = [] - (_etype547, _size544) = iprot.readListBegin() - for _i548 in xrange(_size544): - _elem549 = iprot.readI64() - self.txnIds.append(_elem549) + (_etype561, _size558) = iprot.readListBegin() + for _i562 in xrange(_size558): + _elem563 = iprot.readI64() + self.txnIds.append(_elem563) iprot.readListEnd() else: iprot.skip(ftype) @@ -11893,8 +12058,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 iter550 in self.txnIds: - oprot.writeI64(iter550) + for iter564 in self.txnIds: + oprot.writeI64(iter564) oprot.writeListEnd() oprot.writeFieldEnd() if self.dbName is not None: @@ -12044,11 +12209,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txnToWriteIds = [] - (_etype554, _size551) = iprot.readListBegin() - for _i555 in xrange(_size551): - _elem556 = TxnToWriteId() - _elem556.read(iprot) - self.txnToWriteIds.append(_elem556) + (_etype568, _size565) = iprot.readListBegin() + for _i569 in xrange(_size565): + _elem570 = TxnToWriteId() + _elem570.read(iprot) + self.txnToWriteIds.append(_elem570) iprot.readListEnd() else: iprot.skip(ftype) @@ -12065,8 +12230,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 iter557 in self.txnToWriteIds: - iter557.write(oprot) + for iter571 in self.txnToWriteIds: + iter571.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12294,11 +12459,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.component = [] - (_etype561, _size558) = iprot.readListBegin() - for _i562 in xrange(_size558): - _elem563 = LockComponent() - _elem563.read(iprot) - self.component.append(_elem563) + (_etype575, _size572) = iprot.readListBegin() + for _i576 in xrange(_size572): + _elem577 = LockComponent() + _elem577.read(iprot) + self.component.append(_elem577) iprot.readListEnd() else: iprot.skip(ftype) @@ -12335,8 +12500,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 iter564 in self.component: - iter564.write(oprot) + for iter578 in self.component: + iter578.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.txnid is not None: @@ -13034,11 +13199,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.locks = [] - (_etype568, _size565) = iprot.readListBegin() - for _i569 in xrange(_size565): - _elem570 = ShowLocksResponseElement() - _elem570.read(iprot) - self.locks.append(_elem570) + (_etype582, _size579) = iprot.readListBegin() + for _i583 in xrange(_size579): + _elem584 = ShowLocksResponseElement() + _elem584.read(iprot) + self.locks.append(_elem584) iprot.readListEnd() else: iprot.skip(ftype) @@ -13055,8 +13220,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 iter571 in self.locks: - iter571.write(oprot) + for iter585 in self.locks: + iter585.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13271,20 +13436,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.aborted = set() - (_etype575, _size572) = iprot.readSetBegin() - for _i576 in xrange(_size572): - _elem577 = iprot.readI64() - self.aborted.add(_elem577) + (_etype589, _size586) = iprot.readSetBegin() + for _i590 in xrange(_size586): + _elem591 = iprot.readI64() + self.aborted.add(_elem591) iprot.readSetEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.SET: self.nosuch = set() - (_etype581, _size578) = iprot.readSetBegin() - for _i582 in xrange(_size578): - _elem583 = iprot.readI64() - self.nosuch.add(_elem583) + (_etype595, _size592) = iprot.readSetBegin() + for _i596 in xrange(_size592): + _elem597 = iprot.readI64() + self.nosuch.add(_elem597) iprot.readSetEnd() else: iprot.skip(ftype) @@ -13301,15 +13466,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 iter584 in self.aborted: - oprot.writeI64(iter584) + for iter598 in self.aborted: + oprot.writeI64(iter598) oprot.writeSetEnd() oprot.writeFieldEnd() if self.nosuch is not None: oprot.writeFieldBegin('nosuch', TType.SET, 2) oprot.writeSetBegin(TType.I64, len(self.nosuch)) - for iter585 in self.nosuch: - oprot.writeI64(iter585) + for iter599 in self.nosuch: + oprot.writeI64(iter599) oprot.writeSetEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13406,11 +13571,11 @@ def read(self, iprot): elif fid == 6: if ftype == TType.MAP: self.properties = {} - (_ktype587, _vtype588, _size586 ) = iprot.readMapBegin() - for _i590 in xrange(_size586): - _key591 = iprot.readString() - _val592 = iprot.readString() - self.properties[_key591] = _val592 + (_ktype601, _vtype602, _size600 ) = iprot.readMapBegin() + for _i604 in xrange(_size600): + _key605 = iprot.readString() + _val606 = iprot.readString() + self.properties[_key605] = _val606 iprot.readMapEnd() else: iprot.skip(ftype) @@ -13447,9 +13612,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 kiter593,viter594 in self.properties.items(): - oprot.writeString(kiter593) - oprot.writeString(viter594) + for kiter607,viter608 in self.properties.items(): + oprot.writeString(kiter607) + oprot.writeString(viter608) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13884,11 +14049,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.compacts = [] - (_etype598, _size595) = iprot.readListBegin() - for _i599 in xrange(_size595): - _elem600 = ShowCompactResponseElement() - _elem600.read(iprot) - self.compacts.append(_elem600) + (_etype612, _size609) = iprot.readListBegin() + for _i613 in xrange(_size609): + _elem614 = ShowCompactResponseElement() + _elem614.read(iprot) + self.compacts.append(_elem614) iprot.readListEnd() else: iprot.skip(ftype) @@ -13905,8 +14070,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 iter601 in self.compacts: - iter601.write(oprot) + for iter615 in self.compacts: + iter615.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13995,10 +14160,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionnames = [] - (_etype605, _size602) = iprot.readListBegin() - for _i606 in xrange(_size602): - _elem607 = iprot.readString() - self.partitionnames.append(_elem607) + (_etype619, _size616) = iprot.readListBegin() + for _i620 in xrange(_size616): + _elem621 = iprot.readString() + self.partitionnames.append(_elem621) iprot.readListEnd() else: iprot.skip(ftype) @@ -14036,8 +14201,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 iter608 in self.partitionnames: - oprot.writeString(iter608) + for iter622 in self.partitionnames: + oprot.writeString(iter622) oprot.writeListEnd() oprot.writeFieldEnd() if self.operationType is not None: @@ -14267,10 +14432,10 @@ def read(self, iprot): elif fid == 4: if ftype == TType.SET: self.tablesUsed = set() - (_etype612, _size609) = iprot.readSetBegin() - for _i613 in xrange(_size609): - _elem614 = iprot.readString() - self.tablesUsed.add(_elem614) + (_etype626, _size623) = iprot.readSetBegin() + for _i627 in xrange(_size623): + _elem628 = iprot.readString() + self.tablesUsed.add(_elem628) iprot.readSetEnd() else: iprot.skip(ftype) @@ -14304,8 +14469,8 @@ def write(self, oprot): if self.tablesUsed is not None: oprot.writeFieldBegin('tablesUsed', TType.SET, 4) oprot.writeSetBegin(TType.STRING, len(self.tablesUsed)) - for iter615 in self.tablesUsed: - oprot.writeString(iter615) + for iter629 in self.tablesUsed: + oprot.writeString(iter629) oprot.writeSetEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -14617,11 +14782,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.events = [] - (_etype619, _size616) = iprot.readListBegin() - for _i620 in xrange(_size616): - _elem621 = NotificationEvent() - _elem621.read(iprot) - self.events.append(_elem621) + (_etype633, _size630) = iprot.readListBegin() + for _i634 in xrange(_size630): + _elem635 = NotificationEvent() + _elem635.read(iprot) + self.events.append(_elem635) iprot.readListEnd() else: iprot.skip(ftype) @@ -14638,8 +14803,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 iter622 in self.events: - iter622.write(oprot) + for iter636 in self.events: + iter636.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14933,20 +15098,20 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.filesAdded = [] - (_etype626, _size623) = iprot.readListBegin() - for _i627 in xrange(_size623): - _elem628 = iprot.readString() - self.filesAdded.append(_elem628) + (_etype640, _size637) = iprot.readListBegin() + for _i641 in xrange(_size637): + _elem642 = iprot.readString() + self.filesAdded.append(_elem642) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.filesAddedChecksum = [] - (_etype632, _size629) = iprot.readListBegin() - for _i633 in xrange(_size629): - _elem634 = iprot.readString() - self.filesAddedChecksum.append(_elem634) + (_etype646, _size643) = iprot.readListBegin() + for _i647 in xrange(_size643): + _elem648 = iprot.readString() + self.filesAddedChecksum.append(_elem648) iprot.readListEnd() else: iprot.skip(ftype) @@ -14967,15 +15132,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 iter635 in self.filesAdded: - oprot.writeString(iter635) + for iter649 in self.filesAdded: + oprot.writeString(iter649) oprot.writeListEnd() oprot.writeFieldEnd() if self.filesAddedChecksum is not None: oprot.writeFieldBegin('filesAddedChecksum', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.filesAddedChecksum)) - for iter636 in self.filesAddedChecksum: - oprot.writeString(iter636) + for iter650 in self.filesAddedChecksum: + oprot.writeString(iter650) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15133,10 +15298,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionVals = [] - (_etype640, _size637) = iprot.readListBegin() - for _i641 in xrange(_size637): - _elem642 = iprot.readString() - self.partitionVals.append(_elem642) + (_etype654, _size651) = iprot.readListBegin() + for _i655 in xrange(_size651): + _elem656 = iprot.readString() + self.partitionVals.append(_elem656) iprot.readListEnd() else: iprot.skip(ftype) @@ -15174,8 +15339,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 iter643 in self.partitionVals: - oprot.writeString(iter643) + for iter657 in self.partitionVals: + oprot.writeString(iter657) oprot.writeListEnd() oprot.writeFieldEnd() if self.catName is not None: @@ -15367,12 +15532,12 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype645, _vtype646, _size644 ) = iprot.readMapBegin() - for _i648 in xrange(_size644): - _key649 = iprot.readI64() - _val650 = MetadataPpdResult() - _val650.read(iprot) - self.metadata[_key649] = _val650 + (_ktype659, _vtype660, _size658 ) = iprot.readMapBegin() + for _i662 in xrange(_size658): + _key663 = iprot.readI64() + _val664 = MetadataPpdResult() + _val664.read(iprot) + self.metadata[_key663] = _val664 iprot.readMapEnd() else: iprot.skip(ftype) @@ -15394,9 +15559,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 kiter651,viter652 in self.metadata.items(): - oprot.writeI64(kiter651) - viter652.write(oprot) + for kiter665,viter666 in self.metadata.items(): + oprot.writeI64(kiter665) + viter666.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -15466,10 +15631,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype656, _size653) = iprot.readListBegin() - for _i657 in xrange(_size653): - _elem658 = iprot.readI64() - self.fileIds.append(_elem658) + (_etype670, _size667) = iprot.readListBegin() + for _i671 in xrange(_size667): + _elem672 = iprot.readI64() + self.fileIds.append(_elem672) iprot.readListEnd() else: iprot.skip(ftype) @@ -15501,8 +15666,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 iter659 in self.fileIds: - oprot.writeI64(iter659) + for iter673 in self.fileIds: + oprot.writeI64(iter673) oprot.writeListEnd() oprot.writeFieldEnd() if self.expr is not None: @@ -15576,11 +15741,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype661, _vtype662, _size660 ) = iprot.readMapBegin() - for _i664 in xrange(_size660): - _key665 = iprot.readI64() - _val666 = iprot.readString() - self.metadata[_key665] = _val666 + (_ktype675, _vtype676, _size674 ) = iprot.readMapBegin() + for _i678 in xrange(_size674): + _key679 = iprot.readI64() + _val680 = iprot.readString() + self.metadata[_key679] = _val680 iprot.readMapEnd() else: iprot.skip(ftype) @@ -15602,9 +15767,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 kiter667,viter668 in self.metadata.items(): - oprot.writeI64(kiter667) - oprot.writeString(viter668) + for kiter681,viter682 in self.metadata.items(): + oprot.writeI64(kiter681) + oprot.writeString(viter682) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -15665,10 +15830,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype672, _size669) = iprot.readListBegin() - for _i673 in xrange(_size669): - _elem674 = iprot.readI64() - self.fileIds.append(_elem674) + (_etype686, _size683) = iprot.readListBegin() + for _i687 in xrange(_size683): + _elem688 = iprot.readI64() + self.fileIds.append(_elem688) iprot.readListEnd() else: iprot.skip(ftype) @@ -15685,8 +15850,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 iter675 in self.fileIds: - oprot.writeI64(iter675) + for iter689 in self.fileIds: + oprot.writeI64(iter689) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15792,20 +15957,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype679, _size676) = iprot.readListBegin() - for _i680 in xrange(_size676): - _elem681 = iprot.readI64() - self.fileIds.append(_elem681) + (_etype693, _size690) = iprot.readListBegin() + for _i694 in xrange(_size690): + _elem695 = iprot.readI64() + self.fileIds.append(_elem695) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.metadata = [] - (_etype685, _size682) = iprot.readListBegin() - for _i686 in xrange(_size682): - _elem687 = iprot.readString() - self.metadata.append(_elem687) + (_etype699, _size696) = iprot.readListBegin() + for _i700 in xrange(_size696): + _elem701 = iprot.readString() + self.metadata.append(_elem701) iprot.readListEnd() else: iprot.skip(ftype) @@ -15827,15 +15992,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 iter688 in self.fileIds: - oprot.writeI64(iter688) + for iter702 in self.fileIds: + oprot.writeI64(iter702) oprot.writeListEnd() oprot.writeFieldEnd() if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.metadata)) - for iter689 in self.metadata: - oprot.writeString(iter689) + for iter703 in self.metadata: + oprot.writeString(iter703) oprot.writeListEnd() oprot.writeFieldEnd() if self.type is not None: @@ -15943,10 +16108,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype693, _size690) = iprot.readListBegin() - for _i694 in xrange(_size690): - _elem695 = iprot.readI64() - self.fileIds.append(_elem695) + (_etype707, _size704) = iprot.readListBegin() + for _i708 in xrange(_size704): + _elem709 = iprot.readI64() + self.fileIds.append(_elem709) iprot.readListEnd() else: iprot.skip(ftype) @@ -15963,8 +16128,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 iter696 in self.fileIds: - oprot.writeI64(iter696) + for iter710 in self.fileIds: + oprot.writeI64(iter710) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16193,11 +16358,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.functions = [] - (_etype700, _size697) = iprot.readListBegin() - for _i701 in xrange(_size697): - _elem702 = Function() - _elem702.read(iprot) - self.functions.append(_elem702) + (_etype714, _size711) = iprot.readListBegin() + for _i715 in xrange(_size711): + _elem716 = Function() + _elem716.read(iprot) + self.functions.append(_elem716) iprot.readListEnd() else: iprot.skip(ftype) @@ -16214,8 +16379,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 iter703 in self.functions: - iter703.write(oprot) + for iter717 in self.functions: + iter717.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16267,10 +16432,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.values = [] - (_etype707, _size704) = iprot.readListBegin() - for _i708 in xrange(_size704): - _elem709 = iprot.readI32() - self.values.append(_elem709) + (_etype721, _size718) = iprot.readListBegin() + for _i722 in xrange(_size718): + _elem723 = iprot.readI32() + self.values.append(_elem723) iprot.readListEnd() else: iprot.skip(ftype) @@ -16287,8 +16452,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 iter710 in self.values: - oprot.writeI32(iter710) + for iter724 in self.values: + oprot.writeI32(iter724) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16533,10 +16698,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tblNames = [] - (_etype714, _size711) = iprot.readListBegin() - for _i715 in xrange(_size711): - _elem716 = iprot.readString() - self.tblNames.append(_elem716) + (_etype728, _size725) = iprot.readListBegin() + for _i729 in xrange(_size725): + _elem730 = iprot.readString() + self.tblNames.append(_elem730) iprot.readListEnd() else: iprot.skip(ftype) @@ -16568,8 +16733,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 iter717 in self.tblNames: - oprot.writeString(iter717) + for iter731 in self.tblNames: + oprot.writeString(iter731) oprot.writeListEnd() oprot.writeFieldEnd() if self.capabilities is not None: @@ -16634,11 +16799,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tables = [] - (_etype721, _size718) = iprot.readListBegin() - for _i722 in xrange(_size718): - _elem723 = Table() - _elem723.read(iprot) - self.tables.append(_elem723) + (_etype735, _size732) = iprot.readListBegin() + for _i736 in xrange(_size732): + _elem737 = Table() + _elem737.read(iprot) + self.tables.append(_elem737) iprot.readListEnd() else: iprot.skip(ftype) @@ -16655,8 +16820,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 iter724 in self.tables: - iter724.write(oprot) + for iter738 in self.tables: + iter738.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16967,10 +17132,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.tablesUsed = set() - (_etype728, _size725) = iprot.readSetBegin() - for _i729 in xrange(_size725): - _elem730 = iprot.readString() - self.tablesUsed.add(_elem730) + (_etype742, _size739) = iprot.readSetBegin() + for _i743 in xrange(_size739): + _elem744 = iprot.readString() + self.tablesUsed.add(_elem744) iprot.readSetEnd() else: iprot.skip(ftype) @@ -16997,8 +17162,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 iter731 in self.tablesUsed: - oprot.writeString(iter731) + for iter745 in self.tablesUsed: + oprot.writeString(iter745) oprot.writeSetEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -17900,44 +18065,44 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.pools = [] - (_etype735, _size732) = iprot.readListBegin() - for _i736 in xrange(_size732): - _elem737 = WMPool() - _elem737.read(iprot) - self.pools.append(_elem737) + (_etype749, _size746) = iprot.readListBegin() + for _i750 in xrange(_size746): + _elem751 = WMPool() + _elem751.read(iprot) + self.pools.append(_elem751) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.mappings = [] - (_etype741, _size738) = iprot.readListBegin() - for _i742 in xrange(_size738): - _elem743 = WMMapping() - _elem743.read(iprot) - self.mappings.append(_elem743) + (_etype755, _size752) = iprot.readListBegin() + for _i756 in xrange(_size752): + _elem757 = WMMapping() + _elem757.read(iprot) + self.mappings.append(_elem757) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.triggers = [] - (_etype747, _size744) = iprot.readListBegin() - for _i748 in xrange(_size744): - _elem749 = WMTrigger() - _elem749.read(iprot) - self.triggers.append(_elem749) + (_etype761, _size758) = iprot.readListBegin() + for _i762 in xrange(_size758): + _elem763 = WMTrigger() + _elem763.read(iprot) + self.triggers.append(_elem763) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.poolTriggers = [] - (_etype753, _size750) = iprot.readListBegin() - for _i754 in xrange(_size750): - _elem755 = WMPoolTrigger() - _elem755.read(iprot) - self.poolTriggers.append(_elem755) + (_etype767, _size764) = iprot.readListBegin() + for _i768 in xrange(_size764): + _elem769 = WMPoolTrigger() + _elem769.read(iprot) + self.poolTriggers.append(_elem769) iprot.readListEnd() else: iprot.skip(ftype) @@ -17958,29 +18123,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 iter756 in self.pools: - iter756.write(oprot) + for iter770 in self.pools: + iter770.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 iter757 in self.mappings: - iter757.write(oprot) + for iter771 in self.mappings: + iter771.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 iter758 in self.triggers: - iter758.write(oprot) + for iter772 in self.triggers: + iter772.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 iter759 in self.poolTriggers: - iter759.write(oprot) + for iter773 in self.poolTriggers: + iter773.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18454,11 +18619,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.resourcePlans = [] - (_etype763, _size760) = iprot.readListBegin() - for _i764 in xrange(_size760): - _elem765 = WMResourcePlan() - _elem765.read(iprot) - self.resourcePlans.append(_elem765) + (_etype777, _size774) = iprot.readListBegin() + for _i778 in xrange(_size774): + _elem779 = WMResourcePlan() + _elem779.read(iprot) + self.resourcePlans.append(_elem779) iprot.readListEnd() else: iprot.skip(ftype) @@ -18475,8 +18640,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 iter766 in self.resourcePlans: - iter766.write(oprot) + for iter780 in self.resourcePlans: + iter780.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18780,20 +18945,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.errors = [] - (_etype770, _size767) = iprot.readListBegin() - for _i771 in xrange(_size767): - _elem772 = iprot.readString() - self.errors.append(_elem772) + (_etype784, _size781) = iprot.readListBegin() + for _i785 in xrange(_size781): + _elem786 = iprot.readString() + self.errors.append(_elem786) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.warnings = [] - (_etype776, _size773) = iprot.readListBegin() - for _i777 in xrange(_size773): - _elem778 = iprot.readString() - self.warnings.append(_elem778) + (_etype790, _size787) = iprot.readListBegin() + for _i791 in xrange(_size787): + _elem792 = iprot.readString() + self.warnings.append(_elem792) iprot.readListEnd() else: iprot.skip(ftype) @@ -18810,15 +18975,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 iter779 in self.errors: - oprot.writeString(iter779) + for iter793 in self.errors: + oprot.writeString(iter793) oprot.writeListEnd() oprot.writeFieldEnd() if self.warnings is not None: oprot.writeFieldBegin('warnings', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.warnings)) - for iter780 in self.warnings: - oprot.writeString(iter780) + for iter794 in self.warnings: + oprot.writeString(iter794) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19395,11 +19560,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.triggers = [] - (_etype784, _size781) = iprot.readListBegin() - for _i785 in xrange(_size781): - _elem786 = WMTrigger() - _elem786.read(iprot) - self.triggers.append(_elem786) + (_etype798, _size795) = iprot.readListBegin() + for _i799 in xrange(_size795): + _elem800 = WMTrigger() + _elem800.read(iprot) + self.triggers.append(_elem800) iprot.readListEnd() else: iprot.skip(ftype) @@ -19416,8 +19581,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 iter787 in self.triggers: - iter787.write(oprot) + for iter801 in self.triggers: + iter801.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20601,11 +20766,11 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.cols = [] - (_etype791, _size788) = iprot.readListBegin() - for _i792 in xrange(_size788): - _elem793 = FieldSchema() - _elem793.read(iprot) - self.cols.append(_elem793) + (_etype805, _size802) = iprot.readListBegin() + for _i806 in xrange(_size802): + _elem807 = FieldSchema() + _elem807.read(iprot) + self.cols.append(_elem807) iprot.readListEnd() else: iprot.skip(ftype) @@ -20665,8 +20830,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 iter794 in self.cols: - iter794.write(oprot) + for iter808 in self.cols: + iter808.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.state is not None: @@ -20921,11 +21086,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.schemaVersions = [] - (_etype798, _size795) = iprot.readListBegin() - for _i799 in xrange(_size795): - _elem800 = SchemaVersionDescriptor() - _elem800.read(iprot) - self.schemaVersions.append(_elem800) + (_etype812, _size809) = iprot.readListBegin() + for _i813 in xrange(_size809): + _elem814 = SchemaVersionDescriptor() + _elem814.read(iprot) + self.schemaVersions.append(_elem814) iprot.readListEnd() else: iprot.skip(ftype) @@ -20942,8 +21107,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 iter801 in self.schemaVersions: - iter801.write(oprot) + for iter815 in self.schemaVersions: + iter815.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 94454a1499..64dfdafe61 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 @@ -2572,6 +2572,43 @@ class CommitTxnRequest ::Thrift::Struct.generate_accessors self end +class GetTargetTxnIdsRequest + include ::Thrift::Struct, ::Thrift::Struct_Union + SRCTXNIDS = 1 + REPLPOLICY = 2 + + FIELDS = { + SRCTXNIDS => {:type => ::Thrift::Types::LIST, :name => 'srcTxnIds', :element => {:type => ::Thrift::Types::I64}}, + REPLPOLICY => {:type => ::Thrift::Types::STRING, :name => 'replPolicy'} + } + + def struct_fields; FIELDS; end + + def validate + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field srcTxnIds is unset!') unless @srcTxnIds + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field replPolicy is unset!') unless @replPolicy + end + + ::Thrift::Struct.generate_accessors self +end + +class GetTargetTxnIdsResponse + include ::Thrift::Struct, ::Thrift::Struct_Union + TARGETTXNIDS = 1 + + FIELDS = { + TARGETTXNIDS => {:type => ::Thrift::Types::LIST, :name => 'targetTxnIds', :element => {:type => ::Thrift::Types::I64}} + } + + def struct_fields; FIELDS; end + + def validate + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field targetTxnIds is unset!') unless @targetTxnIds + 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 c1036755b4..c788ebd214 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 @@ -2472,6 +2472,23 @@ module ThriftHiveMetastore raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'allocate_table_write_ids failed: unknown result') end + def repl_get_target_txn_ids(rqst) + send_repl_get_target_txn_ids(rqst) + return recv_repl_get_target_txn_ids() + end + + def send_repl_get_target_txn_ids(rqst) + send_message('repl_get_target_txn_ids', Repl_get_target_txn_ids_args, :rqst => rqst) + end + + def recv_repl_get_target_txn_ids() + result = receive_message(Repl_get_target_txn_ids_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, 'repl_get_target_txn_ids failed: unknown result') + end + def lock(rqst) send_lock(rqst) return recv_lock() @@ -5240,6 +5257,19 @@ module ThriftHiveMetastore write_result(result, oprot, 'allocate_table_write_ids', seqid) end + def process_repl_get_target_txn_ids(seqid, iprot, oprot) + args = read_args(iprot, Repl_get_target_txn_ids_args) + result = Repl_get_target_txn_ids_result.new() + begin + result.success = @handler.repl_get_target_txn_ids(args.rqst) + rescue ::NoSuchTxnException => o1 + result.o1 = o1 + rescue ::MetaException => o2 + result.o2 = o2 + end + write_result(result, oprot, 'repl_get_target_txn_ids', seqid) + end + def process_lock(seqid, iprot, oprot) args = read_args(iprot, Lock_args) result = Lock_result.new() @@ -11444,6 +11474,42 @@ module ThriftHiveMetastore ::Thrift::Struct.generate_accessors self end + class Repl_get_target_txn_ids_args + include ::Thrift::Struct, ::Thrift::Struct_Union + RQST = 1 + + FIELDS = { + RQST => {:type => ::Thrift::Types::STRUCT, :name => 'rqst', :class => ::GetTargetTxnIdsRequest} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + + class Repl_get_target_txn_ids_result + include ::Thrift::Struct, ::Thrift::Struct_Union + SUCCESS = 0 + O1 = 1 + O2 = 2 + + FIELDS = { + SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::GetTargetTxnIdsResponse}, + 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 Lock_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 8539fea42f..1d41a62bb9 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 @@ -88,6 +88,7 @@ import org.apache.hadoop.hive.metastore.events.AddPartitionEvent; import org.apache.hadoop.hive.metastore.events.AddPrimaryKeyEvent; import org.apache.hadoop.hive.metastore.events.AddUniqueConstraintEvent; +import org.apache.hadoop.hive.metastore.events.AllocWriteIdEvent; import org.apache.hadoop.hive.metastore.events.AlterDatabaseEvent; import org.apache.hadoop.hive.metastore.events.AlterISchemaEvent; import org.apache.hadoop.hive.metastore.events.AlterPartitionEvent; @@ -6952,8 +6953,8 @@ public OpenTxnsResponse open_txns(OpenTxnRequest rqst) throws TException { OpenTxnsResponse response = getTxnHandler().openTxns(rqst); List txnIds = response.getTxn_ids(); if (txnIds != null && listeners != null && !listeners.isEmpty()) { - MetaStoreListenerNotifier.notifyEvent(listeners, EventType.OPEN_TXN, - new OpenTxnEvent(txnIds, this)); + MetaStoreListenerNotifier.notifyTxnEvent(listeners, EventType.OPEN_TXN, + new OpenTxnEvent(txnIds, this), null, null); } return response; } @@ -6962,8 +6963,8 @@ public OpenTxnsResponse open_txns(OpenTxnRequest rqst) throws TException { public void abort_txn(AbortTxnRequest rqst) throws TException { getTxnHandler().abortTxn(rqst); if (listeners != null && !listeners.isEmpty()) { - MetaStoreListenerNotifier.notifyEvent(listeners, EventType.ABORT_TXN, - new AbortTxnEvent(rqst.getTxnid(), this)); + MetaStoreListenerNotifier.notifyTxnEvent(listeners, EventType.ABORT_TXN, + new AbortTxnEvent(rqst.getTxnid(), this), null, null); } } @@ -6972,8 +6973,8 @@ public void abort_txns(AbortTxnsRequest rqst) throws TException { getTxnHandler().abortTxns(rqst); if (listeners != null && !listeners.isEmpty()) { for (Long txnId : rqst.getTxn_ids()) { - MetaStoreListenerNotifier.notifyEvent(listeners, EventType.ABORT_TXN, - new AbortTxnEvent(txnId, this)); + MetaStoreListenerNotifier.notifyTxnEvent(listeners, EventType.ABORT_TXN, + new AbortTxnEvent(txnId, this), null, null); } } } @@ -6982,8 +6983,8 @@ public void abort_txns(AbortTxnsRequest rqst) throws TException { public void commit_txn(CommitTxnRequest rqst) throws TException { getTxnHandler().commitTxn(rqst); if (listeners != null && !listeners.isEmpty()) { - MetaStoreListenerNotifier.notifyEvent(listeners, EventType.COMMIT_TXN, - new CommitTxnEvent(rqst.getTxnid(), this)); + MetaStoreListenerNotifier.notifyTxnEvent(listeners, EventType.COMMIT_TXN, + new CommitTxnEvent(rqst.getTxnid(), this), null, null); } } @@ -6995,7 +6996,17 @@ public GetValidWriteIdsResponse get_valid_write_ids(GetValidWriteIdsRequest rqst @Override public AllocateTableWriteIdsResponse allocate_table_write_ids( AllocateTableWriteIdsRequest rqst) throws TException { - return getTxnHandler().allocateTableWriteIds(rqst); + AllocateTableWriteIdsResponse response = getTxnHandler().allocateTableWriteIds(rqst); + if (listeners != null && !listeners.isEmpty()) { + MetaStoreListenerNotifier.notifyTxnEvent(listeners, EventType.ALLOC_WRITE_ID, + new AllocWriteIdEvent(rqst.getTxnIds(), rqst.getTableName(), this), null, null); + } + return response; + } + + @Override + public GetTargetTxnIdsResponse repl_get_target_txn_ids(GetTargetTxnIdsRequest rqst) throws TException { + return getTxnHandler().replGetTargetTxnIds(rqst); } @Override diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index ebbf465244..8eea396bf1 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 @@ -2383,6 +2383,12 @@ private OpenTxnsResponse openTxnsIntr(String user, int numTxns, String replPolic return client.open_txns(rqst); } + @Override + public GetTargetTxnIdsResponse replGetTargetTxnIds(String replPolicy, List srcTxnIds) + throws NoSuchTxnException, TException { + return client.repl_get_target_txn_ids(new GetTargetTxnIdsRequest(srcTxnIds, replPolicy)); + } + @Override public void rollbackTxn(long txnid) throws NoSuchTxnException, TException { client.abort_txn(new AbortTxnRequest(txnid)); diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java index b2c40c25f2..be8a90ad01 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java @@ -130,6 +130,7 @@ import org.apache.hadoop.hive.metastore.utils.MetaStoreUtils; import org.apache.hadoop.hive.metastore.utils.ObjectPair; import org.apache.thrift.TException; +import org.apache.hadoop.hive.metastore.api.GetTargetTxnIdsResponse; /** * Wrapper around hive metastore thrift api @@ -2830,6 +2831,15 @@ ValidTxnWriteIdList getValidWriteIds(Long currentTxnId, List tablesList, */ void replRollbackTxn(long txnid, String replPolicy) throws NoSuchTxnException, TException; + /** + * replGetTargetTxnIds - Get the set of target txn ids from txn map table + * @param replPolicy Replication policy to uniquely identify the source cluster. + * @param srcTxnIds The ids of the transaction at the source cluster + * @return The list of mapping target txn ids. + * @throws TException if not able to get the txn ids from metastore. + */ + GetTargetTxnIdsResponse replGetTargetTxnIds(String replPolicy, List srcTxnIds) throws TException; + /** * Commit a transaction. This will also unlock any locks associated with * this transaction. diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreEventListener.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreEventListener.java index 7b3a80ca4a..6d5f7a4cfa 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreEventListener.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreEventListener.java @@ -53,6 +53,9 @@ import org.apache.hadoop.hive.metastore.events.OpenTxnEvent; import org.apache.hadoop.hive.metastore.events.CommitTxnEvent; import org.apache.hadoop.hive.metastore.events.AbortTxnEvent; +import org.apache.hadoop.hive.metastore.events.AllocWriteIdEvent; +import org.apache.hadoop.hive.metastore.tools.SQLGenerator; +import java.sql.Connection; /** * This abstract class needs to be extended to provide implementation of actions that needs @@ -234,26 +237,43 @@ public void onDropCatalog(DropCatalogEvent dropCatalogEvent) throws MetaExceptio /** * This will be called when a new transaction is started. - * @param openTxnEvent + * @param openTxnEvent event to be processed + * @param dbConn jdbc connection to remote meta store db. + * @param sqlGenerator helper class to generate db specific sql string. * @throws MetaException */ - public void onOpenTxn(OpenTxnEvent openTxnEvent) throws MetaException { + public void onOpenTxn(OpenTxnEvent openTxnEvent, Connection dbConn, SQLGenerator sqlGenerator) throws MetaException { } /** * This will be called to commit a transaction. - * @param commitTxnEvent + * @param commitTxnEvent event to be processed + * @param dbConn jdbc connection to remote meta store db. + * @param sqlGenerator helper class to generate db specific sql string. * @throws MetaException */ - public void onCommitTxn(CommitTxnEvent commitTxnEvent) throws MetaException { + public void onCommitTxn(CommitTxnEvent commitTxnEvent, Connection dbConn, SQLGenerator sqlGenerator) throws + MetaException { } /** * This will be called to abort a transaction. - * @param abortTxnEvent + * @param abortTxnEvent event to be processed + * @param dbConn jdbc connection to remote meta store db. + * @param sqlGenerator helper class to generate db specific sql string. * @throws MetaException */ - public void onAbortTxn(AbortTxnEvent abortTxnEvent) throws MetaException { + public void onAbortTxn(AbortTxnEvent abortTxnEvent, Connection dbConn, SQLGenerator sqlGenerator) throws MetaException { + } + + /** + * This will be called to alloc a new write id. + * @param allocWriteIdEvent event to be processed + * @param dbConn jdbc connection to remote meta store db. + * @param sqlGenerator helper class to generate db specific sql string. + * @throws MetaException + */ + public void onAllocWriteId(AllocWriteIdEvent allocWriteIdEvent, Connection dbConn, SQLGenerator sqlGenerator) throws MetaException { } @Override diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreListenerNotifier.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreListenerNotifier.java index e9bbfdcc0a..29e5c72aa4 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreListenerNotifier.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreListenerNotifier.java @@ -52,10 +52,11 @@ import org.apache.hadoop.hive.metastore.events.OpenTxnEvent; import org.apache.hadoop.hive.metastore.events.CommitTxnEvent; import org.apache.hadoop.hive.metastore.events.AbortTxnEvent; - +import org.apache.hadoop.hive.metastore.events.AllocWriteIdEvent; +import org.apache.hadoop.hive.metastore.tools.SQLGenerator; +import java.sql.Connection; import java.util.List; import java.util.Map; - import static org.apache.hadoop.hive.metastore.MetaStoreEventListenerConstants.HIVE_METASTORE_TRANSACTION_ACTIVE; import static org.apache.hadoop.hive.metastore.messaging.EventMessage.EventType; @@ -209,29 +210,32 @@ public void notify(MetaStoreEventListener listener, ListenerEvent event) throws (listener, event) -> listener.onCreateCatalog((CreateCatalogEvent)event)) .put(EventType.DROP_CATALOG, (listener, event) -> listener.onDropCatalog((DropCatalogEvent)event)) - .put(EventType.OPEN_TXN, new EventNotifier() { - @Override - public void notify(MetaStoreEventListener listener, ListenerEvent event) throws MetaException { - listener.onOpenTxn((OpenTxnEvent)event); - } - }) - .put(EventType.COMMIT_TXN, new EventNotifier() { - @Override - public void notify(MetaStoreEventListener listener, ListenerEvent event) - throws MetaException { - listener.onCommitTxn((CommitTxnEvent) event); - } - }) - .put(EventType.ABORT_TXN, new EventNotifier() { - @Override - public void notify(MetaStoreEventListener listener, ListenerEvent event) - throws MetaException { - listener.onAbortTxn((AbortTxnEvent) event); - } - }) .build() ); + + private interface TxnEventNotifier { + void notify(MetaStoreEventListener listener, ListenerEvent event, Connection dbConn, SQLGenerator sqlGenerator) + throws MetaException; + } + + private static Map txnNotificationEvents = Maps.newHashMap( + ImmutableMap.builder() + .put(EventType.OPEN_TXN, + (listener, event, dbConn, sqlGenerator) -> listener.onOpenTxn((OpenTxnEvent) event, dbConn, sqlGenerator) + ) + .put(EventType.COMMIT_TXN, + (listener, event, dbConn, sqlGenerator) -> listener.onCommitTxn((CommitTxnEvent) event, dbConn, sqlGenerator) + ) + .put(EventType.ABORT_TXN, + (listener, event, dbConn, sqlGenerator) -> listener.onAbortTxn((AbortTxnEvent) event, dbConn, sqlGenerator) + ) + .put(EventType.ALLOC_WRITE_ID, + (listener, event, dbConn, sqlGenerator) -> listener.onAllocWriteId((AllocWriteIdEvent) event, dbConn, sqlGenerator) + ) + .build() + ); + /** * Notify a list of listeners about a specific metastore event. Each listener notified might update * the (ListenerEvent) event by setting a parameter key/value pair. These updated parameters will @@ -261,6 +265,38 @@ public void notify(MetaStoreEventListener listener, ListenerEvent event) return event.getParameters(); } + /** + * Notify a list of listeners about a specific metastore event related to txn. Each listener notified might update + * the (ListenerEvent) event by setting a parameter key/value pair. These updated parameters will + * be returned to the caller. + * + * @param listeners List of MetaStoreEventListener listeners. + * @param eventType Type of the notification event. + * @param event The ListenerEvent with information about the event. + * @param dbConn The JDBC connection to the remote meta store db. + * @param sqlGenerator The helper class to generate db specific SQL string. + * @return A list of key/value pair parameters that the listeners set. The returned object will return an empty + * map if no parameters were updated or if no listeners were notified. + * @throws MetaException If an error occurred while calling the listeners. + */ + public static Map notifyTxnEvent(List listeners, + EventType eventType, + ListenerEvent event, + Connection dbConn, SQLGenerator sqlGenerator) throws MetaException { + + Preconditions.checkNotNull(listeners, "Listeners must not be null."); + Preconditions.checkNotNull(event, "The event must not be null."); + + for (MetaStoreEventListener listener : listeners) { + txnNotificationEvents.get(eventType).notify(listener, event, dbConn, sqlGenerator); + } + + // Each listener called above might set a different parameter on the event. + // This write permission is allowed on the listener side to avoid breaking compatibility if we change the API + // method calls. + return event.getParameters(); + } + /** * Notify a list of listeners about a specific metastore event. Each listener notified might update * the (ListenerEvent) event by setting a parameter key/value pair. These updated parameters will diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/AbortTxnEvent.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/AbortTxnEvent.java index 062e719f2b..fe4b97432a 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/AbortTxnEvent.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/AbortTxnEvent.java @@ -21,8 +21,6 @@ import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.classification.InterfaceStability; import org.apache.hadoop.hive.metastore.IHMSHandler; -import org.apache.hadoop.hive.metastore.tools.SQLGenerator; -import java.sql.Connection; /** * AbortTxnEvent @@ -33,8 +31,6 @@ public class AbortTxnEvent extends ListenerEvent { private final Long txnId; - Connection connection; - SQLGenerator sqlGenerator; /** * @@ -44,20 +40,6 @@ public AbortTxnEvent(Long transactionId, IHMSHandler handler) { super(true, handler); txnId = transactionId; - connection = null; - sqlGenerator = null; - } - - /** - * @param transactionId Unique identification for the transaction just got aborted. - * @param connection connection to execute direct SQL statement within same transaction - * @param sqlGenerator generates db specific SQL query - */ - public AbortTxnEvent(Long transactionId, Connection connection, SQLGenerator sqlGenerator) { - super(true, null); - this.txnId = transactionId; - this.connection = connection; - this.sqlGenerator = sqlGenerator; } /** @@ -66,18 +48,4 @@ public AbortTxnEvent(Long transactionId, Connection connection, SQLGenerator sql public Long getTxnId() { return txnId; } - - /** - * @return Connection connection - used only by DbNotificationListener - */ - public Connection getConnection() { - return connection; - } - - /** - * @return SQLGenerator sqlGenerator - used only by DbNotificationListener - */ - public SQLGenerator getSqlGenerator() { - return sqlGenerator; - } } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/AllocWriteIdEvent.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/AllocWriteIdEvent.java new file mode 100644 index 0000000000..ed32359788 --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/AllocWriteIdEvent.java @@ -0,0 +1,46 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.hadoop.hive.metastore.events; + +import org.apache.hadoop.classification.InterfaceAudience; +import org.apache.hadoop.classification.InterfaceStability; +import org.apache.hadoop.hive.metastore.IHMSHandler; +import java.util.List; + +@InterfaceAudience.Public +@InterfaceStability.Stable +public class AllocWriteIdEvent extends ListenerEvent { + + private final List txnIds; + private final String tableName; + + public AllocWriteIdEvent(List txnIds, String tableName, IHMSHandler handler) { + super(true, handler); + this.txnIds = txnIds; + this.tableName = tableName; + } + + public List getTxnIds() { + return txnIds; + } + + public String getTableName() { + return tableName; + } +} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/CommitTxnEvent.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/CommitTxnEvent.java index 7262e6bc3d..ba382cd175 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/CommitTxnEvent.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/CommitTxnEvent.java @@ -21,8 +21,6 @@ import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.classification.InterfaceStability; import org.apache.hadoop.hive.metastore.IHMSHandler; -import org.apache.hadoop.hive.metastore.tools.SQLGenerator; -import java.sql.Connection; /** * CommitTxnEvent @@ -33,8 +31,6 @@ public class CommitTxnEvent extends ListenerEvent { private final Long txnId; - Connection connection; - SQLGenerator sqlGenerator; /** * @@ -44,20 +40,6 @@ public CommitTxnEvent(Long transactionId, IHMSHandler handler) { super(true, handler); this.txnId = transactionId; - this.connection = null; - this.sqlGenerator = null; - } - - /** - * @param transactionId Unique identification for the transaction just got committed. - * @param connection connection to execute direct SQL statement within same transaction - * @param sqlGenerator generates db specific SQL query - */ - public CommitTxnEvent(Long transactionId, Connection connection, SQLGenerator sqlGenerator) { - super(true, null); - this.txnId = transactionId; - this.connection = connection; - this.sqlGenerator = sqlGenerator; } /** @@ -66,18 +48,4 @@ public CommitTxnEvent(Long transactionId, Connection connection, SQLGenerator sq public Long getTxnId() { return txnId; } - - /** - * @return Connection connection - used only by DbNotificationListener - */ - public Connection getConnection() { - return connection; - } - - /** - * @return SQLGenerator sqlGenerator - used only by DbNotificationListener - */ - public SQLGenerator getSqlGenerator() { - return sqlGenerator; - } } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/ListenerEvent.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/ListenerEvent.java index b542afccae..93f1c2b968 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/ListenerEvent.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/ListenerEvent.java @@ -23,9 +23,7 @@ import org.apache.hadoop.hive.metastore.HiveMetaStore; import org.apache.hadoop.hive.metastore.IHMSHandler; import org.apache.hadoop.hive.metastore.api.EnvironmentContext; -import org.apache.hadoop.hive.metastore.tools.SQLGenerator; import javax.annotation.concurrent.NotThreadSafe; -import java.sql.Connection; import java.util.Collections; import java.util.HashMap; import java.util.Map; @@ -162,20 +160,6 @@ public void putParameters(final Map parameters) { } } - /** - * Used by ACID/transaction related events for generating direct SQL in DBNotificationListener. - */ - public Connection getConnection() { - return null; - } - - /** - * Used by ACID/transaction related events for generating direct SQL in DBNotificationListener. - */ - public SQLGenerator getSqlGenerator() { - return null; - } - /** * Put a parameter to the listener event only if the parameter is absent. * diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/OpenTxnEvent.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/OpenTxnEvent.java index 088a6a1698..547c43e388 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/OpenTxnEvent.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/OpenTxnEvent.java @@ -22,8 +22,6 @@ import org.apache.hadoop.classification.InterfaceStability; import org.apache.hadoop.hive.metastore.IHMSHandler; import com.google.common.collect.Lists; -import org.apache.hadoop.hive.metastore.tools.SQLGenerator; -import java.sql.Connection; import java.util.List; /** @@ -34,8 +32,6 @@ @InterfaceStability.Stable public class OpenTxnEvent extends ListenerEvent { private List txnIds; - Connection connection; - SQLGenerator sqlGenerator; /** * @param txnIds List of unique identification for the transaction just opened. @@ -44,20 +40,6 @@ public OpenTxnEvent(List txnIds, IHMSHandler handler) { super(true, handler); this.txnIds = Lists.newArrayList(txnIds); - this.connection = null; - this.sqlGenerator = null; - } - - /** - * @param txnIds List of unique identification for the transaction just opened. - * @param connection connection to execute direct SQL statement within same transaction - * @param sqlGenerator generates db specific SQL query - */ - public OpenTxnEvent(List txnIds, Connection connection, SQLGenerator sqlGenerator) { - super(true, null); - this.txnIds = Lists.newArrayList(txnIds); - this.connection = connection; - this.sqlGenerator = sqlGenerator; } /** @@ -66,18 +48,4 @@ public OpenTxnEvent(List txnIds, Connection connection, SQLGenerator sqlGe public List getTxnIds() { return txnIds; } - - /** - * @return Connection connection - used only by DbNotificationListener - */ - public Connection getConnection() { - return connection; - } - - /** - * @return SQLGenerator sqlGenerator - used only by DbNotificationListener - */ - public SQLGenerator getSqlGenerator() { - return sqlGenerator; - } } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/AllocWriteIdMessage.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/AllocWriteIdMessage.java new file mode 100644 index 0000000000..edda692677 --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/AllocWriteIdMessage.java @@ -0,0 +1,31 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.hadoop.hive.metastore.messaging; + +import java.util.List; + +public abstract class AllocWriteIdMessage extends EventMessage { + protected AllocWriteIdMessage() { + super(EventType.ALLOC_WRITE_ID); + } + + public abstract List getTxnIds(); + + public abstract String getTableName(); +} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/EventMessage.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/EventMessage.java index 5137c8608c..ffbce1d13b 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/EventMessage.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/EventMessage.java @@ -58,7 +58,8 @@ DROP_CATALOG(MessageFactory.DROP_CATALOG_EVENT), OPEN_TXN(MessageFactory.OPEN_TXN_EVENT), COMMIT_TXN(MessageFactory.COMMIT_TXN_EVENT), - ABORT_TXN(MessageFactory.ABORT_TXN_EVENT); + ABORT_TXN(MessageFactory.ABORT_TXN_EVENT), + ALLOC_WRITE_ID(MessageFactory.ALLOC_WRITE_ID_EVENT); private String typeString; diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageDeserializer.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageDeserializer.java index 6583cc7c72..ca335790ce 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageDeserializer.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageDeserializer.java @@ -181,6 +181,11 @@ public EventMessage getEventMessage(String eventTypeString, String messageBody) */ public abstract AbortTxnMessage getAbortTxnMessage(String messageBody); + /* + * Method to de-serialize AllocWriteIdMessage instance. + */ + public abstract AllocWriteIdMessage getAllocWriteIdMessage(String messageBody); + // Protection against construction. protected MessageDeserializer() {} } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageFactory.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageFactory.java index dc4420ebdc..938edd6b2d 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageFactory.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageFactory.java @@ -71,6 +71,7 @@ public static final String OPEN_TXN_EVENT = "OPEN_TXN"; public static final String COMMIT_TXN_EVENT = "COMMIT_TXN"; public static final String ABORT_TXN_EVENT = "ABORT_TXN"; + public static final String ALLOC_WRITE_ID_EVENT = "ALLOC_WRITE_ID_EVENT"; private static MessageFactory instance = null; @@ -265,6 +266,15 @@ public abstract InsertMessage buildInsertMessage(Table tableObj, Partition ptnOb */ public abstract AbortTxnMessage buildAbortTxnMessage(Long txnId); + /** + * Factory method for building alloc write id message + * + * @param txnIds List of Ids of the transaction to allocate the write id + * @param tableName table for which write ids to be allocated + * @return instance of AllocWriteIdMessage + */ + public abstract AllocWriteIdMessage buildAllocWriteIdMessage(List txnIds, String tableName); + /*** * Factory method for building add primary key message * diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/event/filters/DatabaseAndTableFilter.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/event/filters/DatabaseAndTableFilter.java index 09292a32a7..8f8ea4dc4a 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/event/filters/DatabaseAndTableFilter.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/event/filters/DatabaseAndTableFilter.java @@ -43,7 +43,8 @@ public DatabaseAndTableFilter(final String databaseNameOrPattern, final String t private boolean isTxnRelatedEvent(final NotificationEvent event) { return ((event.getEventType().equals(MessageFactory.OPEN_TXN_EVENT)) || (event.getEventType().equals(MessageFactory.COMMIT_TXN_EVENT)) || - (event.getEventType().equals(MessageFactory.ABORT_TXN_EVENT)) + (event.getEventType().equals(MessageFactory.ABORT_TXN_EVENT)) || + (event.getEventType().equals(MessageFactory.ALLOC_WRITE_ID_EVENT)) ); } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONAllocWriteIdMessage.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONAllocWriteIdMessage.java new file mode 100644 index 0000000000..b00a6ab29c --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONAllocWriteIdMessage.java @@ -0,0 +1,92 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.hadoop.hive.metastore.messaging.json; + +import org.apache.hadoop.hive.metastore.messaging.AllocWriteIdMessage; +import org.codehaus.jackson.annotate.JsonProperty; +import java.util.List; + +/** + * JSON implementation of AllocWriteId + */ +public class JSONAllocWriteIdMessage extends AllocWriteIdMessage { + + @JsonProperty + private String server, servicePrincipal, tableName; + + @JsonProperty + private List txnIds; + + @JsonProperty + private Long timestamp; + + /** + * Default constructor, needed for Jackson. + */ + public JSONAllocWriteIdMessage() { + } + + public JSONAllocWriteIdMessage(String server, String servicePrincipal, List txnIds, String tableName, Long timestamp) { + this.server = server; + this.servicePrincipal = servicePrincipal; + this.timestamp = timestamp; + this.txnIds = txnIds; + this.tableName = tableName; + } + + @Override + public String getServer() { + return server; + } + + @Override + public String getServicePrincipal() { + return servicePrincipal; + } + + @Override + public String getDB() { + return null; + } + + @Override + public List getTxnIds() { + return txnIds; + } + + @Override + public Long getTimestamp() { + return timestamp; + } + + @Override + public String getTableName() { + return tableName; + } + + @Override + public String toString() { + try { + return JSONMessageDeserializer.mapper.writeValueAsString(this); + } catch (Exception exception) { + throw new IllegalArgumentException("Could not serialize: ", exception); + } + } +} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageDeserializer.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageDeserializer.java index d019ec1263..f54e24d41f 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageDeserializer.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageDeserializer.java @@ -40,6 +40,7 @@ import org.apache.hadoop.hive.metastore.messaging.OpenTxnMessage; import org.apache.hadoop.hive.metastore.messaging.CommitTxnMessage; import org.apache.hadoop.hive.metastore.messaging.AbortTxnMessage; +import org.apache.hadoop.hive.metastore.messaging.AllocWriteIdMessage; import org.codehaus.jackson.map.DeserializationConfig; import org.codehaus.jackson.map.ObjectMapper; import org.codehaus.jackson.map.SerializationConfig; @@ -250,4 +251,12 @@ public AbortTxnMessage getAbortTxnMessage(String messageBody) { throw new IllegalArgumentException("Could not construct AbortTxnMessage", e); } } + + public AllocWriteIdMessage getAllocWriteIdMessage(String messageBody) { + try { + return mapper.readValue(messageBody, JSONAllocWriteIdMessage.class); + } catch (Exception e) { + throw new IllegalArgumentException("Could not construct AllocWriteIdMessage", e); + } + } } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageFactory.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageFactory.java index 65a6f78978..4772172c2e 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageFactory.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageFactory.java @@ -63,6 +63,7 @@ import org.apache.hadoop.hive.metastore.messaging.OpenTxnMessage; import org.apache.hadoop.hive.metastore.messaging.CommitTxnMessage; import org.apache.hadoop.hive.metastore.messaging.AbortTxnMessage; +import org.apache.hadoop.hive.metastore.messaging.AllocWriteIdMessage; import org.apache.thrift.TBase; import org.apache.thrift.TDeserializer; import org.apache.thrift.TException; @@ -221,6 +222,10 @@ public AbortTxnMessage buildAbortTxnMessage(Long txnId) { return new JSONAbortTxnMessage(MS_SERVER_URL, MS_SERVICE_PRINCIPAL, txnId, now()); } + public AllocWriteIdMessage buildAllocWriteIdMessage(List txnIds, String tableName) { + return new JSONAllocWriteIdMessage(MS_SERVER_URL, MS_SERVICE_PRINCIPAL, txnIds, tableName, now()); + } + private long now() { return System.currentTimeMillis() / 1000; } 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 b5d9126724..ce1d867fb7 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 @@ -116,12 +116,15 @@ import org.apache.hadoop.hive.metastore.api.TxnState; import org.apache.hadoop.hive.metastore.api.TxnToWriteId; import org.apache.hadoop.hive.metastore.api.UnlockRequest; +import org.apache.hadoop.hive.metastore.api.GetTargetTxnIdsRequest; +import org.apache.hadoop.hive.metastore.api.GetTargetTxnIdsResponse; import org.apache.hadoop.hive.metastore.conf.MetastoreConf; import org.apache.hadoop.hive.metastore.conf.MetastoreConf.ConfVars; import org.apache.hadoop.hive.metastore.datasource.BoneCPDataSourceProvider; import org.apache.hadoop.hive.metastore.datasource.DataSourceProvider; import org.apache.hadoop.hive.metastore.datasource.HikariCPDataSourceProvider; import org.apache.hadoop.hive.metastore.events.AbortTxnEvent; +import org.apache.hadoop.hive.metastore.events.AllocWriteIdEvent; import org.apache.hadoop.hive.metastore.events.CommitTxnEvent; import org.apache.hadoop.hive.metastore.events.OpenTxnEvent; import org.apache.hadoop.hive.metastore.messaging.EventMessage; @@ -644,8 +647,8 @@ public OpenTxnsResponse openTxns(OpenTxnRequest rqst) throws MetaException { } if (transactionalListeners != null) { - MetaStoreListenerNotifier.notifyEvent(transactionalListeners, - EventMessage.EventType.OPEN_TXN, new OpenTxnEvent(txnIds, dbConn, sqlGenerator)); + MetaStoreListenerNotifier.notifyTxnEvent(transactionalListeners, + EventMessage.EventType.OPEN_TXN, new OpenTxnEvent(txnIds, null), dbConn, sqlGenerator); } LOG.debug("Going to commit"); @@ -736,8 +739,8 @@ public void abortTxn(AbortTxnRequest rqst) throws NoSuchTxnException, MetaExcept } if (transactionalListeners != null) { - MetaStoreListenerNotifier.notifyEvent(transactionalListeners, - EventMessage.EventType.ABORT_TXN, new AbortTxnEvent(txnid, dbConn, sqlGenerator)); + MetaStoreListenerNotifier.notifyTxnEvent(transactionalListeners, + EventMessage.EventType.ABORT_TXN, new AbortTxnEvent(txnid, null), dbConn, sqlGenerator); } LOG.debug("Going to commit"); @@ -775,8 +778,8 @@ public void abortTxns(AbortTxnsRequest rqst) throws NoSuchTxnException, MetaExce for (Long txnId : txnids) { if (transactionalListeners != null) { - MetaStoreListenerNotifier.notifyEvent(transactionalListeners, - EventMessage.EventType.ABORT_TXN, new AbortTxnEvent(txnId, dbConn, sqlGenerator)); + MetaStoreListenerNotifier.notifyTxnEvent(transactionalListeners, + EventMessage.EventType.ABORT_TXN, new AbortTxnEvent(txnId, null), dbConn, sqlGenerator); } } LOG.debug("Going to commit"); @@ -1006,8 +1009,8 @@ public void commitTxn(CommitTxnRequest rqst) } if (transactionalListeners != null) { - MetaStoreListenerNotifier.notifyEvent(transactionalListeners, - EventMessage.EventType.COMMIT_TXN, new CommitTxnEvent(txnid, dbConn, sqlGenerator)); + MetaStoreListenerNotifier.notifyTxnEvent(transactionalListeners, + EventMessage.EventType.COMMIT_TXN, new CommitTxnEvent(txnid, null), dbConn, sqlGenerator); } close(rs); @@ -1259,6 +1262,13 @@ public AllocateTableWriteIdsResponse allocateTableWriteIds(AllocateTableWriteIds stmt.execute(insert); } + //TODO : change it to notify with sql generator and conn + if (transactionalListeners != null) { + MetaStoreListenerNotifier.notifyTxnEvent(transactionalListeners, + EventMessage.EventType.ALLOC_WRITE_ID, new AllocWriteIdEvent(txnIds, rqst.getTableName(), null), + dbConn, sqlGenerator); + } + LOG.debug("Going to commit"); dbConn.commit(); return new AllocateTableWriteIdsResponse(txnToWriteIds); @@ -1280,6 +1290,54 @@ public AllocateTableWriteIdsResponse allocateTableWriteIds(AllocateTableWriteIds } } + @Override + public GetTargetTxnIdsResponse replGetTargetTxnIds(GetTargetTxnIdsRequest rqst) throws MetaException { + List targteTxnIds = new ArrayList<>(); + ResultSet rs = null; + Connection dbConn = null; + Statement stmt = null; + try { + try { + lockInternal(); + dbConn = getDbConn(Connection.TRANSACTION_READ_COMMITTED); + stmt = dbConn.createStatement(); + + List inQueries = new ArrayList<>(); + StringBuilder prefix = new StringBuilder(); + StringBuilder suffix = new StringBuilder(); + + prefix.append("select RTM_TARGET_TXN_ID from REPL_TXN_MAP where "); + suffix.append(" and RTM_REPL_POLICY = " + quoteString(rqst.getReplPolicy())); + + TxnUtils.buildQueryWithINClause(conf, inQueries, prefix, suffix, rqst.getSrcTxnIds(), + "RTM_SRC_TXN_ID", false, false); + + for (String query : inQueries) { + LOG.debug("Going to execute select <" + query + ">"); + rs = stmt.executeQuery(query); + while (rs.next()) { + targteTxnIds.add(rs.getLong(1)); + } + } + + LOG.debug("Going to commit"); + dbConn.commit(); + return new GetTargetTxnIdsResponse(targteTxnIds); + } catch (SQLException e) { + LOG.debug("Going to rollback"); + rollbackDBConn(dbConn); + checkRetryable(dbConn, e, "replGetTargetTxnIds(" + rqst + ")"); + throw new MetaException("Unable to get target transaction ids " + + StringUtils.stringifyException(e)); + } finally{ + close(rs, stmt, dbConn); + unlockInternal(); + } + } catch (RetryException e) { + return replGetTargetTxnIds(rqst); + } + } + @Override @RetrySemantics.SafeToRetry public void performWriteSetGC() { diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java index 38fa0e2daa..fc84fff5bd 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 @@ -145,6 +145,14 @@ GetValidWriteIdsResponse getValidWriteIds(GetValidWriteIdsRequest rqst) AllocateTableWriteIdsResponse allocateTableWriteIds(AllocateTableWriteIdsRequest rqst) throws NoSuchTxnException, TxnAbortedException, MetaException; + /** + * Gets the list of mapping target transaction id. + * @param rqst info on transaction and table to get txn ids + * @throws TxnAbortedException + * @throws MetaException + */ + GetTargetTxnIdsResponse replGetTargetTxnIds(GetTargetTxnIdsRequest rqst) + throws TxnAbortedException, MetaException; /** * Obtain a lock. * @param rqst information on the lock to obtain. If the requester is part of a transaction diff --git a/standalone-metastore/src/main/thrift/hive_metastore.thrift b/standalone-metastore/src/main/thrift/hive_metastore.thrift index 7450439885..9a73a7b4c0 100644 --- a/standalone-metastore/src/main/thrift/hive_metastore.thrift +++ b/standalone-metastore/src/main/thrift/hive_metastore.thrift @@ -862,6 +862,15 @@ struct CommitTxnRequest { 2: optional string replPolicy, } +struct GetTargetTxnIdsRequest { + 1: required list srcTxnIds, + 2: required string replPolicy; +} + +struct GetTargetTxnIdsResponse { + 1: required list targetTxnIds, +} + // 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 . @@ -2049,6 +2058,8 @@ service ThriftHiveMetastore extends fb303.FacebookService throws (1:NoSuchTxnException o1, 2:MetaException o2) AllocateTableWriteIdsResponse allocate_table_write_ids(1:AllocateTableWriteIdsRequest rqst) throws (1:NoSuchTxnException o1, 2:TxnAbortedException o2, 3:MetaException o3) + GetTargetTxnIdsResponse repl_get_target_txn_ids(1:GetTargetTxnIdsRequest rqst) + throws (1:NoSuchTxnException o1, 2:MetaException o2) LockResponse lock(1:LockRequest rqst) throws (1:NoSuchTxnException o1, 2:TxnAbortedException o2) LockResponse check_lock(1:CheckLockRequest rqst) throws (1:NoSuchTxnException o1, 2:TxnAbortedException o2, 3:NoSuchLockException o3) diff --git a/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java b/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java index 7d372627a4..20d78cab02 100644 --- a/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java +++ b/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java @@ -2236,6 +2236,11 @@ public long allocateTableWriteId(long txnId, String dbName, String tableName) th return writeIds.getTxnToWriteIds(); } + @Override + public GetTargetTxnIdsResponse replGetTargetTxnIds(String replPolicy, List srcTxnIds) throws TException { + return client.repl_get_target_txn_ids(new GetTargetTxnIdsRequest(srcTxnIds, replPolicy)); + } + @Override public LockResponse lock(LockRequest request) throws NoSuchTxnException, TxnAbortedException, TException {