commit 289987d8a91de1a7f2773a6081a89506600f6cdb Author: Alan Gates Date: Wed Jan 7 12:28:13 2015 -0800 HIVE-9273 WIP, tests not working yet. HIVE-9273 Have basic notificaiton on insert working. HIVE-9273 Added list of copied files to insert message. Also added deserializer stuff for insert that I previously missed. HIVE-9273 Modified fire_notification_event to be fire_listener_event, changed struct to contain union for different event request types, and changed call to return a struct so if different types want to return data in the future they can. diff --git common/src/java/org/apache/hadoop/hive/conf/HiveConf.java common/src/java/org/apache/hadoop/hive/conf/HiveConf.java index 66f436b..4539427 100644 --- common/src/java/org/apache/hadoop/hive/conf/HiveConf.java +++ common/src/java/org/apache/hadoop/hive/conf/HiveConf.java @@ -593,6 +593,8 @@ public void setSparkConfigUpdated(boolean isSparkConfigUpdated) { "* implies all the keys will get inherited."), METASTORE_FILTER_HOOK("hive.metastore.filter.hook", "org.apache.hadoop.hive.metastore.DefaultMetaStoreFilterHookImpl", "Metastore hook class for filtering the metadata read results"), + FIRE_EVENTS_FOR_DML("hive.metastore.dml.events", false, "If true, the metastore will be asked" + + " to fire events for DML operations"), // Parameters for exporting metadata on table drop (requires the use of the) // org.apache.hadoop.hive.ql.parse.MetaDataExportListener preevent listener diff --git hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java index f6706f1..da9a7ac 100644 --- hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java +++ hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java @@ -29,6 +29,7 @@ import org.apache.hadoop.hive.metastore.api.NotificationEvent; import org.apache.hadoop.hive.metastore.api.Partition; import org.apache.hadoop.hive.metastore.api.Table; +import org.apache.hadoop.hive.metastore.api.hive_metastoreConstants; import org.apache.hadoop.hive.metastore.events.AddPartitionEvent; import org.apache.hadoop.hive.metastore.events.AlterPartitionEvent; import org.apache.hadoop.hive.metastore.events.AlterTableEvent; @@ -43,8 +44,7 @@ import org.apache.hive.hcatalog.common.HCatConstants; import org.apache.hive.hcatalog.messaging.MessageFactory; -import java.util.ArrayDeque; -import java.util.Queue; +import java.util.Map; import java.util.concurrent.TimeUnit; /** @@ -231,8 +231,8 @@ public void onDropDatabase (DropDatabaseEvent dbEvent) throws MetaException { @Override public void onInsert(InsertEvent insertEvent) throws MetaException { NotificationEvent event = new NotificationEvent(0, now(), HCatConstants.HCAT_INSERT_EVENT, - msgFactory.buildInsertMessage(insertEvent.getDb(), insertEvent.getTable(), insertEvent - .getPartitions()).toString()); + msgFactory.buildInsertMessage(insertEvent.getDb(), insertEvent.getTable(), + insertEvent.getPartitions(), insertEvent.getFiles()).toString()); event.setDbName(insertEvent.getDb()); event.setTableName(insertEvent.getTable()); enqueue(event); diff --git hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/InsertMessage.java hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/InsertMessage.java index 4d03670..b25da29 100644 --- hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/InsertMessage.java +++ hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/InsertMessage.java @@ -43,6 +43,12 @@ protected InsertMessage() { */ public abstract List getPartitionValues(); + /** + * Get the list of files created as a result of this DML operation. May be null. + * @return List of new files, or null. + */ + public abstract List getFiles(); + @Override public HCatEventMessage checkValid() { if (getTable() == null) diff --git hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/MessageDeserializer.java hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/MessageDeserializer.java index 0bf3948..8ea3998 100644 --- hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/MessageDeserializer.java +++ hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/MessageDeserializer.java @@ -46,6 +46,8 @@ public HCatEventMessage getHCatEventMessage(String eventTypeString, String messa return getAlterPartitionMessage(messageBody); case DROP_PARTITION: return getDropPartitionMessage(messageBody); + case INSERT: + return getInsertMessage(messageBody); default: throw new IllegalArgumentException("Unsupported event-type: " + eventTypeString); @@ -96,6 +98,13 @@ public HCatEventMessage getHCatEventMessage(String eventTypeString, String messa */ public abstract DropPartitionMessage getDropPartitionMessage(String messageBody); + /** + * Method to deserialize InsertMessage + * @param messageBody the message in serialized form + * @return message in object form + */ + public abstract InsertMessage getInsertMessage(String messageBody); + // Protection against construction. protected MessageDeserializer() {} } diff --git hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/MessageFactory.java hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/MessageFactory.java index d9641e7..88df982 100644 --- hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/MessageFactory.java +++ hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/MessageFactory.java @@ -171,5 +171,15 @@ public abstract AlterPartitionMessage buildAlterPartitionMessage(Partition befor */ public abstract DropPartitionMessage buildDropPartitionMessage(Table table, Partition partition); - public abstract InsertMessage buildInsertMessage(String db, String table, List partVals); + /** + * Factory method for building insert message + * @param db Name of the database the insert occurred in + * @param table Name of the table the insert occurred in + * @param partVals Partition values for the partition that the insert occurred in, may be null + * if the insert was done into a non-partitioned table + * @param files List of files created as a result of the insert, may be null. + * @return instance of InsertMessage + */ + public abstract InsertMessage buildInsertMessage(String db, String table, + List partVals, List files); } diff --git hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/json/JSONInsertMessage.java hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/json/JSONInsertMessage.java index dd3403d..f1554e3 100644 --- hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/json/JSONInsertMessage.java +++ hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/json/JSONInsertMessage.java @@ -37,7 +37,7 @@ Long timestamp; @JsonProperty - List partitionValues; + List partitionValues, files; /** * Default constructor, needed for Jackson. @@ -45,13 +45,14 @@ public JSONInsertMessage() {} public JSONInsertMessage(String server, String servicePrincipal, String db, String table, - List partVals, Long timestamp) { + List partVals, List files, Long timestamp) { this.server = server; this.servicePrincipal = servicePrincipal; this.db = db; this.table = table; this.timestamp = timestamp; partitionValues = partVals; + this.files = files; checkValid(); } @@ -68,6 +69,11 @@ public JSONInsertMessage(String server, String servicePrincipal, String db, Stri } @Override + public List getFiles() { + return files; + } + + @Override public String getServicePrincipal() { return servicePrincipal; } @Override diff --git hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/json/JSONMessageDeserializer.java hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/json/JSONMessageDeserializer.java index f33ca2f..834fdde 100644 --- hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/json/JSONMessageDeserializer.java +++ hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/json/JSONMessageDeserializer.java @@ -28,6 +28,7 @@ import org.apache.hive.hcatalog.messaging.DropDatabaseMessage; import org.apache.hive.hcatalog.messaging.DropPartitionMessage; import org.apache.hive.hcatalog.messaging.DropTableMessage; +import org.apache.hive.hcatalog.messaging.InsertMessage; import org.apache.hive.hcatalog.messaging.MessageDeserializer; import org.codehaus.jackson.map.DeserializationConfig; import org.codehaus.jackson.map.ObjectMapper; @@ -122,4 +123,13 @@ public DropPartitionMessage getDropPartitionMessage(String messageBody) { throw new IllegalArgumentException("Could not construct DropPartitionMessage.", exception); } } + + @Override + public InsertMessage getInsertMessage(String messageBody) { + try { + return mapper.readValue(messageBody, JSONInsertMessage.class); + } catch (Exception e) { + throw new IllegalArgumentException("Could not construct InsertMessage", e); + } + } } diff --git hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/json/JSONMessageFactory.java hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/json/JSONMessageFactory.java index ad12efc..0232f58 100644 --- hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/json/JSONMessageFactory.java +++ hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/messaging/json/JSONMessageFactory.java @@ -124,9 +124,10 @@ public DropPartitionMessage buildDropPartitionMessage(Table table, Partition par } @Override - public InsertMessage buildInsertMessage(String db, String table, List partVals) { + public InsertMessage buildInsertMessage(String db, String table, List partVals, + List files) { return new JSONInsertMessage(HCAT_SERVER_URL, HCAT_SERVICE_PRINCIPAL, db, table, partVals, - now()); + files, now()); } private long now() { diff --git itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java index c95187c..863038c 100644 --- itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java +++ itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java @@ -23,9 +23,9 @@ import static junit.framework.Assert.assertTrue; import static junit.framework.Assert.fail; -import junit.framework.Assert; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; +import org.apache.hadoop.hive.cli.CliSessionState; import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.metastore.HiveMetaStoreClient; import org.apache.hadoop.hive.metastore.IMetaStoreClient; @@ -33,17 +33,17 @@ import org.apache.hadoop.hive.metastore.api.EventRequestType; import org.apache.hadoop.hive.metastore.api.FieldSchema; import org.apache.hadoop.hive.metastore.api.FireEventRequest; +import org.apache.hadoop.hive.metastore.api.FireEventRequestData; +import org.apache.hadoop.hive.metastore.api.InsertEventRequestData; import org.apache.hadoop.hive.metastore.api.NotificationEvent; import org.apache.hadoop.hive.metastore.api.NotificationEventResponse; import org.apache.hadoop.hive.metastore.api.Partition; import org.apache.hadoop.hive.metastore.api.SerDeInfo; import org.apache.hadoop.hive.metastore.api.StorageDescriptor; import org.apache.hadoop.hive.metastore.api.Table; -import org.apache.hadoop.hive.serde2.typeinfo.TypeInfoFactory; +import org.apache.hadoop.hive.ql.Driver; +import org.apache.hadoop.hive.ql.session.SessionState; import org.apache.hive.hcatalog.common.HCatConstants; -import org.apache.hive.hcatalog.data.schema.HCatFieldSchema; -import org.apache.hive.hcatalog.listener.DbNotificationListener; -import org.apache.hive.hcatalog.messaging.HCatEventMessage; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; @@ -59,6 +59,7 @@ private static final Log LOG = LogFactory.getLog(TestDbNotificationListener.class.getName()); private static Map emptyParameters = new HashMap(); private static IMetaStoreClient msClient; + private static Driver driver; private int startTime; private long firstEventId; @@ -67,7 +68,12 @@ public static void connectToMetastore() throws Exception { HiveConf conf = new HiveConf(); conf.setVar(HiveConf.ConfVars.METASTORE_EVENT_LISTENERS, DbNotificationListener.class.getName()); + conf.setBoolVar(HiveConf.ConfVars.HIVE_SUPPORT_CONCURRENCY, false); + conf.setBoolVar(HiveConf.ConfVars.FIRE_EVENTS_FOR_DML, true); + conf.setVar(HiveConf.ConfVars.DYNAMICPARTITIONINGMODE, "nonstrict"); + SessionState.start(new CliSessionState(conf)); msClient = new HiveMetaStoreClient(conf); + driver = new Driver(conf); } @Before @@ -151,7 +157,8 @@ public void alterTable() throws Exception { new ArrayList(), emptyParameters, null, null, null); msClient.createTable(table); - table = new Table("alttable", "default", "me", startTime, startTime + 1, 0, sd, + cols.add(new FieldSchema("col2", "int", "")); + table = new Table("alttable", "default", "me", startTime, startTime, 0, sd, new ArrayList(), emptyParameters, null, null, null); msClient.alter_table("default", "alttable", table); @@ -296,9 +303,14 @@ public void dropPartition() throws Exception { @Test public void insertTable() throws Exception { - FireEventRequest rqst = new FireEventRequest(EventRequestType.INSERT, "mydb", true); + FireEventRequest rqst = new FireEventRequest("mydb", true); rqst.setTableName("mytable"); - msClient.fireNotificationEvent(rqst); + FireEventRequestData data = new FireEventRequestData(); + InsertEventRequestData insertData = new InsertEventRequestData(); + data.setInsertData(insertData); + rqst.setData(data); + insertData.addToFilesAdded("/warehouse/mytable/b1"); + msClient.fireListenerEvent(rqst); NotificationEventResponse rsp = msClient.getNextNotification(firstEventId, 0, null); assertEquals(1, rsp.getEventsSize()); @@ -309,18 +321,23 @@ public void insertTable() throws Exception { assertEquals(HCatConstants.HCAT_INSERT_EVENT, event.getEventType()); assertEquals("mydb", event.getDbName()); assertEquals("mytable", event.getTableName()); - System.out.println(event.getMessage()); assertTrue(event.getMessage().matches("\\{\"eventType\":\"INSERT\",\"server\":\"\"," + "\"servicePrincipal\":\"\",\"db\":\"mydb\",\"table\":" + - "\"mytable\",\"timestamp\":[0-9]+,\"partitionValues\":null}")); + "\"mytable\",\"timestamp\":[0-9]+,\"partitionValues\":null," + + "\"files\":\\[\"/warehouse/mytable/b1\"]}")); } @Test public void insertPartition() throws Exception { - FireEventRequest rqst = new FireEventRequest(EventRequestType.INSERT, "mydb", true); + FireEventRequest rqst = new FireEventRequest("mydb", true); rqst.setTableName("mytable"); rqst.setPartitionVals(Arrays.asList("today")); - msClient.fireNotificationEvent(rqst); + FireEventRequestData data = new FireEventRequestData(); + InsertEventRequestData insertData = new InsertEventRequestData(); + data.setInsertData(insertData); + rqst.setData(data); + insertData.addToFilesAdded("/warehouse/mytable/today/b1"); + msClient.fireListenerEvent(rqst); NotificationEventResponse rsp = msClient.getNextNotification(firstEventId, 0, null); assertEquals(1, rsp.getEventsSize()); @@ -331,10 +348,10 @@ public void insertPartition() throws Exception { assertEquals(HCatConstants.HCAT_INSERT_EVENT, event.getEventType()); assertEquals("mydb", event.getDbName()); assertEquals("mytable", event.getTableName()); - System.out.println(event.getMessage()); assertTrue(event.getMessage().matches("\\{\"eventType\":\"INSERT\",\"server\":\"\"," + "\"servicePrincipal\":\"\",\"db\":\"mydb\",\"table\":" + - "\"mytable\",\"timestamp\":[0-9]+,\"partitionValues\":\\[\"today\"]}")); + "\"mytable\",\"timestamp\":[0-9]+,\"partitionValues\":\\[\"today\"]," + + "\"files\":\\[\"/warehouse/mytable/today/b1\"]}")); } @Test @@ -391,4 +408,99 @@ public boolean accept(NotificationEvent event) { assertEquals(1, rsp.getEventsSize()); assertEquals(firstEventId + 1, rsp.getEvents().get(0).getEventId()); } + + @Test + public void sqlInsertTable() throws Exception { + + driver.run("create table sit (c int)"); + driver.run("insert into table sit values (1)"); + driver.run("alter table sit add columns (c2 int)"); + driver.run("drop table sit"); + + NotificationEventResponse rsp = msClient.getNextNotification(firstEventId, 0, null); + // For reasons not clear to me there's an alter after the create table and one after the + // insert. I think the one after the insert is a stats calculation. + assertEquals(6, rsp.getEventsSize()); + NotificationEvent event = rsp.getEvents().get(0); + assertEquals(firstEventId + 1, event.getEventId()); + assertEquals(HCatConstants.HCAT_CREATE_TABLE_EVENT, event.getEventType()); + event = rsp.getEvents().get(2); + assertEquals(firstEventId + 3, event.getEventId()); + assertEquals(HCatConstants.HCAT_INSERT_EVENT, event.getEventType()); + // Make sure the files are listed in the insert + assertTrue(event.getMessage().matches(".*\"files\":\\[\"pfile.*")); + event = rsp.getEvents().get(4); + assertEquals(firstEventId + 5, event.getEventId()); + assertEquals(HCatConstants.HCAT_ALTER_TABLE_EVENT, event.getEventType()); + event = rsp.getEvents().get(5); + assertEquals(firstEventId + 6, event.getEventId()); + assertEquals(HCatConstants.HCAT_DROP_TABLE_EVENT, event.getEventType()); + } + + @Test + public void sqlDb() throws Exception { + + driver.run("create database sd"); + driver.run("drop database sd"); + + NotificationEventResponse rsp = msClient.getNextNotification(firstEventId, 0, null); + assertEquals(2, rsp.getEventsSize()); + NotificationEvent event = rsp.getEvents().get(0); + assertEquals(firstEventId + 1, event.getEventId()); + assertEquals(HCatConstants.HCAT_CREATE_DATABASE_EVENT, event.getEventType()); + event = rsp.getEvents().get(1); + assertEquals(firstEventId + 2, event.getEventId()); + assertEquals(HCatConstants.HCAT_DROP_DATABASE_EVENT, event.getEventType()); + } + + @Test + public void sqlInsertPartition() throws Exception { + + driver.run("create table sip (c int) partitioned by (ds string)"); + driver.run("insert into table sip partition (ds = 'today') values (1)"); + driver.run("insert into table sip partition (ds = 'today') values (2)"); + driver.run("insert into table sip partition (ds) values (3, 'today')"); + driver.run("alter table sip add partition (ds = 'yesterday')"); + driver.run("insert into table sip partition (ds = 'yesterday') values (2)"); + + driver.run("insert into table sip partition (ds) values (3, 'yesterday')"); + driver.run("insert into table sip partition (ds) values (3, 'tomorrow')"); + driver.run("alter table sip drop partition (ds = 'tomorrow')"); + + NotificationEventResponse rsp = msClient.getNextNotification(firstEventId, 0, null); + + for (NotificationEvent ne : rsp.getEvents()) LOG.debug("EVENT: " + ne.getMessage()); + // For reasons not clear to me there's one or more alter partitions after add partition and + // insert. + assertEquals(19, rsp.getEventsSize()); + NotificationEvent event = rsp.getEvents().get(1); + assertEquals(firstEventId + 2, event.getEventId()); + assertEquals(HCatConstants.HCAT_ADD_PARTITION_EVENT, event.getEventType()); + event = rsp.getEvents().get(4); + assertEquals(firstEventId + 5, event.getEventId()); + assertEquals(HCatConstants.HCAT_INSERT_EVENT, event.getEventType()); + // Make sure the files are listed in the insert + assertTrue(event.getMessage().matches(".*\"files\":\\[\"pfile.*")); + event = rsp.getEvents().get(7); + assertEquals(firstEventId + 8, event.getEventId()); + assertEquals(HCatConstants.HCAT_INSERT_EVENT, event.getEventType()); + assertTrue(event.getMessage().matches(".*\"files\":\\[\"pfile.*")); + event = rsp.getEvents().get(9); + assertEquals(firstEventId + 10, event.getEventId()); + assertEquals(HCatConstants.HCAT_ADD_PARTITION_EVENT, event.getEventType()); + event = rsp.getEvents().get(11); + assertEquals(firstEventId + 12, event.getEventId()); + assertEquals(HCatConstants.HCAT_INSERT_EVENT, event.getEventType()); + assertTrue(event.getMessage().matches(".*\"files\":\\[\"pfile.*")); + event = rsp.getEvents().get(14); + assertEquals(firstEventId + 15, event.getEventId()); + assertEquals(HCatConstants.HCAT_INSERT_EVENT, event.getEventType()); + assertTrue(event.getMessage().matches(".*\"files\":\\[\"pfile.*")); + event = rsp.getEvents().get(16); + assertEquals(firstEventId + 17, event.getEventId()); + assertEquals(HCatConstants.HCAT_ADD_PARTITION_EVENT, event.getEventType()); + event = rsp.getEvents().get(18); + assertEquals(firstEventId + 19, event.getEventId()); + assertEquals(HCatConstants.HCAT_DROP_PARTITION_EVENT, event.getEventType()); + } } \ No newline at end of file diff --git metastore/if/hive_metastore.thrift metastore/if/hive_metastore.thrift index 720245d..5ea4c1e 100755 --- metastore/if/hive_metastore.thrift +++ metastore/if/hive_metastore.thrift @@ -673,13 +673,26 @@ struct CurrentNotificationEventId { 1: required i64 eventId, } +struct InsertEventRequestData { + 1: required list filesAdded +} + +union FireEventRequestData { + 1: InsertEventRequestData insertData +} + struct FireEventRequest { - 1: required EventRequestType eventType, - 2: required string dbName, - 3: required bool successful, - 4: optional string tableName, - 5: optional list partitionVals + 1: required string dbName, + 2: required bool successful, + 3: optional string tableName, + 4: optional list partitionVals, + 5: optional FireEventRequestData data +} + +struct FireEventResponse { + // NOP for now, this is just a place holder for future responses } + exception MetaException { @@ -1151,7 +1164,7 @@ service ThriftHiveMetastore extends fb303.FacebookService // Notification logging calls NotificationEventResponse get_next_notification(1:NotificationEventRequest rqst) CurrentNotificationEventId get_current_notificationEventId() - void fire_notification_event(1:FireEventRequest rqst) + FireEventResponse fire_listener_event(1:FireEventRequest rqst) } // * Note about the DDL_TIME: When creating or altering a table or a partition, diff --git metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index e9377b6..f0b0559 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp @@ -1096,14 +1096,14 @@ uint32_t ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size414; - ::apache::thrift::protocol::TType _etype417; - xfer += iprot->readListBegin(_etype417, _size414); - this->success.resize(_size414); - uint32_t _i418; - for (_i418 = 0; _i418 < _size414; ++_i418) + uint32_t _size419; + ::apache::thrift::protocol::TType _etype422; + xfer += iprot->readListBegin(_etype422, _size419); + this->success.resize(_size419); + uint32_t _i423; + for (_i423 = 0; _i423 < _size419; ++_i423) { - xfer += iprot->readString(this->success[_i418]); + xfer += iprot->readString(this->success[_i423]); } xfer += iprot->readListEnd(); } @@ -1142,10 +1142,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 _iter419; - for (_iter419 = this->success.begin(); _iter419 != this->success.end(); ++_iter419) + std::vector ::const_iterator _iter424; + for (_iter424 = this->success.begin(); _iter424 != this->success.end(); ++_iter424) { - xfer += oprot->writeString((*_iter419)); + xfer += oprot->writeString((*_iter424)); } xfer += oprot->writeListEnd(); } @@ -1184,14 +1184,14 @@ uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size420; - ::apache::thrift::protocol::TType _etype423; - xfer += iprot->readListBegin(_etype423, _size420); - (*(this->success)).resize(_size420); - uint32_t _i424; - for (_i424 = 0; _i424 < _size420; ++_i424) + uint32_t _size425; + ::apache::thrift::protocol::TType _etype428; + xfer += iprot->readListBegin(_etype428, _size425); + (*(this->success)).resize(_size425); + uint32_t _i429; + for (_i429 = 0; _i429 < _size425; ++_i429) { - xfer += iprot->readString((*(this->success))[_i424]); + xfer += iprot->readString((*(this->success))[_i429]); } xfer += iprot->readListEnd(); } @@ -1289,14 +1289,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size425; - ::apache::thrift::protocol::TType _etype428; - xfer += iprot->readListBegin(_etype428, _size425); - this->success.resize(_size425); - uint32_t _i429; - for (_i429 = 0; _i429 < _size425; ++_i429) + uint32_t _size430; + ::apache::thrift::protocol::TType _etype433; + xfer += iprot->readListBegin(_etype433, _size430); + this->success.resize(_size430); + uint32_t _i434; + for (_i434 = 0; _i434 < _size430; ++_i434) { - xfer += iprot->readString(this->success[_i429]); + xfer += iprot->readString(this->success[_i434]); } xfer += iprot->readListEnd(); } @@ -1335,10 +1335,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 _iter430; - for (_iter430 = this->success.begin(); _iter430 != this->success.end(); ++_iter430) + std::vector ::const_iterator _iter435; + for (_iter435 = this->success.begin(); _iter435 != this->success.end(); ++_iter435) { - xfer += oprot->writeString((*_iter430)); + xfer += oprot->writeString((*_iter435)); } xfer += oprot->writeListEnd(); } @@ -1377,14 +1377,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size431; - ::apache::thrift::protocol::TType _etype434; - xfer += iprot->readListBegin(_etype434, _size431); - (*(this->success)).resize(_size431); - uint32_t _i435; - for (_i435 = 0; _i435 < _size431; ++_i435) + uint32_t _size436; + ::apache::thrift::protocol::TType _etype439; + xfer += iprot->readListBegin(_etype439, _size436); + (*(this->success)).resize(_size436); + uint32_t _i440; + for (_i440 = 0; _i440 < _size436; ++_i440) { - xfer += iprot->readString((*(this->success))[_i435]); + xfer += iprot->readString((*(this->success))[_i440]); } xfer += iprot->readListEnd(); } @@ -2327,17 +2327,17 @@ uint32_t ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size436; - ::apache::thrift::protocol::TType _ktype437; - ::apache::thrift::protocol::TType _vtype438; - xfer += iprot->readMapBegin(_ktype437, _vtype438, _size436); - uint32_t _i440; - for (_i440 = 0; _i440 < _size436; ++_i440) + uint32_t _size441; + ::apache::thrift::protocol::TType _ktype442; + ::apache::thrift::protocol::TType _vtype443; + xfer += iprot->readMapBegin(_ktype442, _vtype443, _size441); + uint32_t _i445; + for (_i445 = 0; _i445 < _size441; ++_i445) { - std::string _key441; - xfer += iprot->readString(_key441); - Type& _val442 = this->success[_key441]; - xfer += _val442.read(iprot); + std::string _key446; + xfer += iprot->readString(_key446); + Type& _val447 = this->success[_key446]; + xfer += _val447.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2376,11 +2376,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 _iter443; - for (_iter443 = this->success.begin(); _iter443 != this->success.end(); ++_iter443) + std::map ::const_iterator _iter448; + for (_iter448 = this->success.begin(); _iter448 != this->success.end(); ++_iter448) { - xfer += oprot->writeString(_iter443->first); - xfer += _iter443->second.write(oprot); + xfer += oprot->writeString(_iter448->first); + xfer += _iter448->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -2419,17 +2419,17 @@ uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size444; - ::apache::thrift::protocol::TType _ktype445; - ::apache::thrift::protocol::TType _vtype446; - xfer += iprot->readMapBegin(_ktype445, _vtype446, _size444); - uint32_t _i448; - for (_i448 = 0; _i448 < _size444; ++_i448) + uint32_t _size449; + ::apache::thrift::protocol::TType _ktype450; + ::apache::thrift::protocol::TType _vtype451; + xfer += iprot->readMapBegin(_ktype450, _vtype451, _size449); + uint32_t _i453; + for (_i453 = 0; _i453 < _size449; ++_i453) { - std::string _key449; - xfer += iprot->readString(_key449); - Type& _val450 = (*(this->success))[_key449]; - xfer += _val450.read(iprot); + std::string _key454; + xfer += iprot->readString(_key454); + Type& _val455 = (*(this->success))[_key454]; + xfer += _val455.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2564,14 +2564,14 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size451; - ::apache::thrift::protocol::TType _etype454; - xfer += iprot->readListBegin(_etype454, _size451); - this->success.resize(_size451); - uint32_t _i455; - for (_i455 = 0; _i455 < _size451; ++_i455) + uint32_t _size456; + ::apache::thrift::protocol::TType _etype459; + xfer += iprot->readListBegin(_etype459, _size456); + this->success.resize(_size456); + uint32_t _i460; + for (_i460 = 0; _i460 < _size456; ++_i460) { - xfer += this->success[_i455].read(iprot); + xfer += this->success[_i460].read(iprot); } xfer += iprot->readListEnd(); } @@ -2626,10 +2626,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 _iter456; - for (_iter456 = this->success.begin(); _iter456 != this->success.end(); ++_iter456) + std::vector ::const_iterator _iter461; + for (_iter461 = this->success.begin(); _iter461 != this->success.end(); ++_iter461) { - xfer += (*_iter456).write(oprot); + xfer += (*_iter461).write(oprot); } xfer += oprot->writeListEnd(); } @@ -2676,14 +2676,14 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size457; - ::apache::thrift::protocol::TType _etype460; - xfer += iprot->readListBegin(_etype460, _size457); - (*(this->success)).resize(_size457); - uint32_t _i461; - for (_i461 = 0; _i461 < _size457; ++_i461) + uint32_t _size462; + ::apache::thrift::protocol::TType _etype465; + xfer += iprot->readListBegin(_etype465, _size462); + (*(this->success)).resize(_size462); + uint32_t _i466; + for (_i466 = 0; _i466 < _size462; ++_i466) { - xfer += (*(this->success))[_i461].read(iprot); + xfer += (*(this->success))[_i466].read(iprot); } xfer += iprot->readListEnd(); } @@ -2834,14 +2834,14 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size462; - ::apache::thrift::protocol::TType _etype465; - xfer += iprot->readListBegin(_etype465, _size462); - this->success.resize(_size462); - uint32_t _i466; - for (_i466 = 0; _i466 < _size462; ++_i466) + uint32_t _size467; + ::apache::thrift::protocol::TType _etype470; + xfer += iprot->readListBegin(_etype470, _size467); + this->success.resize(_size467); + uint32_t _i471; + for (_i471 = 0; _i471 < _size467; ++_i471) { - xfer += this->success[_i466].read(iprot); + xfer += this->success[_i471].read(iprot); } xfer += iprot->readListEnd(); } @@ -2896,10 +2896,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 _iter467; - for (_iter467 = this->success.begin(); _iter467 != this->success.end(); ++_iter467) + std::vector ::const_iterator _iter472; + for (_iter472 = this->success.begin(); _iter472 != this->success.end(); ++_iter472) { - xfer += (*_iter467).write(oprot); + xfer += (*_iter472).write(oprot); } xfer += oprot->writeListEnd(); } @@ -2946,14 +2946,14 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size468; - ::apache::thrift::protocol::TType _etype471; - xfer += iprot->readListBegin(_etype471, _size468); - (*(this->success)).resize(_size468); - uint32_t _i472; - for (_i472 = 0; _i472 < _size468; ++_i472) + uint32_t _size473; + ::apache::thrift::protocol::TType _etype476; + xfer += iprot->readListBegin(_etype476, _size473); + (*(this->success)).resize(_size473); + uint32_t _i477; + for (_i477 = 0; _i477 < _size473; ++_i477) { - xfer += (*(this->success))[_i472].read(iprot); + xfer += (*(this->success))[_i477].read(iprot); } xfer += iprot->readListEnd(); } @@ -4008,14 +4008,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size473; - ::apache::thrift::protocol::TType _etype476; - xfer += iprot->readListBegin(_etype476, _size473); - this->success.resize(_size473); - uint32_t _i477; - for (_i477 = 0; _i477 < _size473; ++_i477) + uint32_t _size478; + ::apache::thrift::protocol::TType _etype481; + xfer += iprot->readListBegin(_etype481, _size478); + this->success.resize(_size478); + uint32_t _i482; + for (_i482 = 0; _i482 < _size478; ++_i482) { - xfer += iprot->readString(this->success[_i477]); + xfer += iprot->readString(this->success[_i482]); } xfer += iprot->readListEnd(); } @@ -4054,10 +4054,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 _iter478; - for (_iter478 = this->success.begin(); _iter478 != this->success.end(); ++_iter478) + std::vector ::const_iterator _iter483; + for (_iter483 = this->success.begin(); _iter483 != this->success.end(); ++_iter483) { - xfer += oprot->writeString((*_iter478)); + xfer += oprot->writeString((*_iter483)); } xfer += oprot->writeListEnd(); } @@ -4096,14 +4096,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size479; - ::apache::thrift::protocol::TType _etype482; - xfer += iprot->readListBegin(_etype482, _size479); - (*(this->success)).resize(_size479); - uint32_t _i483; - for (_i483 = 0; _i483 < _size479; ++_i483) + uint32_t _size484; + ::apache::thrift::protocol::TType _etype487; + xfer += iprot->readListBegin(_etype487, _size484); + (*(this->success)).resize(_size484); + uint32_t _i488; + for (_i488 = 0; _i488 < _size484; ++_i488) { - xfer += iprot->readString((*(this->success))[_i483]); + xfer += iprot->readString((*(this->success))[_i488]); } xfer += iprot->readListEnd(); } @@ -4222,14 +4222,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size484; - ::apache::thrift::protocol::TType _etype487; - xfer += iprot->readListBegin(_etype487, _size484); - this->success.resize(_size484); - uint32_t _i488; - for (_i488 = 0; _i488 < _size484; ++_i488) + uint32_t _size489; + ::apache::thrift::protocol::TType _etype492; + xfer += iprot->readListBegin(_etype492, _size489); + this->success.resize(_size489); + uint32_t _i493; + for (_i493 = 0; _i493 < _size489; ++_i493) { - xfer += iprot->readString(this->success[_i488]); + xfer += iprot->readString(this->success[_i493]); } xfer += iprot->readListEnd(); } @@ -4268,10 +4268,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 _iter489; - for (_iter489 = this->success.begin(); _iter489 != this->success.end(); ++_iter489) + std::vector ::const_iterator _iter494; + for (_iter494 = this->success.begin(); _iter494 != this->success.end(); ++_iter494) { - xfer += oprot->writeString((*_iter489)); + xfer += oprot->writeString((*_iter494)); } xfer += oprot->writeListEnd(); } @@ -4310,14 +4310,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size490; - ::apache::thrift::protocol::TType _etype493; - xfer += iprot->readListBegin(_etype493, _size490); - (*(this->success)).resize(_size490); - uint32_t _i494; - for (_i494 = 0; _i494 < _size490; ++_i494) + uint32_t _size495; + ::apache::thrift::protocol::TType _etype498; + xfer += iprot->readListBegin(_etype498, _size495); + (*(this->success)).resize(_size495); + uint32_t _i499; + for (_i499 = 0; _i499 < _size495; ++_i499) { - xfer += iprot->readString((*(this->success))[_i494]); + xfer += iprot->readString((*(this->success))[_i499]); } xfer += iprot->readListEnd(); } @@ -4596,14 +4596,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 _size495; - ::apache::thrift::protocol::TType _etype498; - xfer += iprot->readListBegin(_etype498, _size495); - this->tbl_names.resize(_size495); - uint32_t _i499; - for (_i499 = 0; _i499 < _size495; ++_i499) + uint32_t _size500; + ::apache::thrift::protocol::TType _etype503; + xfer += iprot->readListBegin(_etype503, _size500); + this->tbl_names.resize(_size500); + uint32_t _i504; + for (_i504 = 0; _i504 < _size500; ++_i504) { - xfer += iprot->readString(this->tbl_names[_i499]); + xfer += iprot->readString(this->tbl_names[_i504]); } xfer += iprot->readListEnd(); } @@ -4635,10 +4635,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 _iter500; - for (_iter500 = this->tbl_names.begin(); _iter500 != this->tbl_names.end(); ++_iter500) + std::vector ::const_iterator _iter505; + for (_iter505 = this->tbl_names.begin(); _iter505 != this->tbl_names.end(); ++_iter505) { - xfer += oprot->writeString((*_iter500)); + xfer += oprot->writeString((*_iter505)); } xfer += oprot->writeListEnd(); } @@ -4660,10 +4660,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 _iter501; - for (_iter501 = (*(this->tbl_names)).begin(); _iter501 != (*(this->tbl_names)).end(); ++_iter501) + std::vector ::const_iterator _iter506; + for (_iter506 = (*(this->tbl_names)).begin(); _iter506 != (*(this->tbl_names)).end(); ++_iter506) { - xfer += oprot->writeString((*_iter501)); + xfer += oprot->writeString((*_iter506)); } xfer += oprot->writeListEnd(); } @@ -4698,14 +4698,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 _size502; - ::apache::thrift::protocol::TType _etype505; - xfer += iprot->readListBegin(_etype505, _size502); - this->success.resize(_size502); - uint32_t _i506; - for (_i506 = 0; _i506 < _size502; ++_i506) + uint32_t _size507; + ::apache::thrift::protocol::TType _etype510; + xfer += iprot->readListBegin(_etype510, _size507); + this->success.resize(_size507); + uint32_t _i511; + for (_i511 = 0; _i511 < _size507; ++_i511) { - xfer += this->success[_i506].read(iprot); + xfer += this->success[_i511].read(iprot); } xfer += iprot->readListEnd(); } @@ -4760,10 +4760,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 _iter507; - for (_iter507 = this->success.begin(); _iter507 != this->success.end(); ++_iter507) + std::vector
::const_iterator _iter512; + for (_iter512 = this->success.begin(); _iter512 != this->success.end(); ++_iter512) { - xfer += (*_iter507).write(oprot); + xfer += (*_iter512).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4810,14 +4810,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 _size508; - ::apache::thrift::protocol::TType _etype511; - xfer += iprot->readListBegin(_etype511, _size508); - (*(this->success)).resize(_size508); - uint32_t _i512; - for (_i512 = 0; _i512 < _size508; ++_i512) + uint32_t _size513; + ::apache::thrift::protocol::TType _etype516; + xfer += iprot->readListBegin(_etype516, _size513); + (*(this->success)).resize(_size513); + uint32_t _i517; + for (_i517 = 0; _i517 < _size513; ++_i517) { - xfer += (*(this->success))[_i512].read(iprot); + xfer += (*(this->success))[_i517].read(iprot); } xfer += iprot->readListEnd(); } @@ -4984,14 +4984,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 _size513; - ::apache::thrift::protocol::TType _etype516; - xfer += iprot->readListBegin(_etype516, _size513); - this->success.resize(_size513); - uint32_t _i517; - for (_i517 = 0; _i517 < _size513; ++_i517) + uint32_t _size518; + ::apache::thrift::protocol::TType _etype521; + xfer += iprot->readListBegin(_etype521, _size518); + this->success.resize(_size518); + uint32_t _i522; + for (_i522 = 0; _i522 < _size518; ++_i522) { - xfer += iprot->readString(this->success[_i517]); + xfer += iprot->readString(this->success[_i522]); } xfer += iprot->readListEnd(); } @@ -5046,10 +5046,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 _iter518; - for (_iter518 = this->success.begin(); _iter518 != this->success.end(); ++_iter518) + std::vector ::const_iterator _iter523; + for (_iter523 = this->success.begin(); _iter523 != this->success.end(); ++_iter523) { - xfer += oprot->writeString((*_iter518)); + xfer += oprot->writeString((*_iter523)); } xfer += oprot->writeListEnd(); } @@ -5096,14 +5096,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 _size519; - ::apache::thrift::protocol::TType _etype522; - xfer += iprot->readListBegin(_etype522, _size519); - (*(this->success)).resize(_size519); - uint32_t _i523; - for (_i523 = 0; _i523 < _size519; ++_i523) + uint32_t _size524; + ::apache::thrift::protocol::TType _etype527; + xfer += iprot->readListBegin(_etype527, _size524); + (*(this->success)).resize(_size524); + uint32_t _i528; + for (_i528 = 0; _i528 < _size524; ++_i528) { - xfer += iprot->readString((*(this->success))[_i523]); + xfer += iprot->readString((*(this->success))[_i528]); } xfer += iprot->readListEnd(); } @@ -6306,14 +6306,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size524; - ::apache::thrift::protocol::TType _etype527; - xfer += iprot->readListBegin(_etype527, _size524); - this->new_parts.resize(_size524); - uint32_t _i528; - for (_i528 = 0; _i528 < _size524; ++_i528) + uint32_t _size529; + ::apache::thrift::protocol::TType _etype532; + xfer += iprot->readListBegin(_etype532, _size529); + this->new_parts.resize(_size529); + uint32_t _i533; + for (_i533 = 0; _i533 < _size529; ++_i533) { - xfer += this->new_parts[_i528].read(iprot); + xfer += this->new_parts[_i533].read(iprot); } xfer += iprot->readListEnd(); } @@ -6341,10 +6341,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 _iter529; - for (_iter529 = this->new_parts.begin(); _iter529 != this->new_parts.end(); ++_iter529) + std::vector ::const_iterator _iter534; + for (_iter534 = this->new_parts.begin(); _iter534 != this->new_parts.end(); ++_iter534) { - xfer += (*_iter529).write(oprot); + xfer += (*_iter534).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6362,10 +6362,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 _iter530; - for (_iter530 = (*(this->new_parts)).begin(); _iter530 != (*(this->new_parts)).end(); ++_iter530) + std::vector ::const_iterator _iter535; + for (_iter535 = (*(this->new_parts)).begin(); _iter535 != (*(this->new_parts)).end(); ++_iter535) { - xfer += (*_iter530).write(oprot); + xfer += (*_iter535).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6556,14 +6556,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 _size531; - ::apache::thrift::protocol::TType _etype534; - xfer += iprot->readListBegin(_etype534, _size531); - this->new_parts.resize(_size531); - uint32_t _i535; - for (_i535 = 0; _i535 < _size531; ++_i535) + uint32_t _size536; + ::apache::thrift::protocol::TType _etype539; + xfer += iprot->readListBegin(_etype539, _size536); + this->new_parts.resize(_size536); + uint32_t _i540; + for (_i540 = 0; _i540 < _size536; ++_i540) { - xfer += this->new_parts[_i535].read(iprot); + xfer += this->new_parts[_i540].read(iprot); } xfer += iprot->readListEnd(); } @@ -6591,10 +6591,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 _iter536; - for (_iter536 = this->new_parts.begin(); _iter536 != this->new_parts.end(); ++_iter536) + std::vector ::const_iterator _iter541; + for (_iter541 = this->new_parts.begin(); _iter541 != this->new_parts.end(); ++_iter541) { - xfer += (*_iter536).write(oprot); + xfer += (*_iter541).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6612,10 +6612,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 _iter537; - for (_iter537 = (*(this->new_parts)).begin(); _iter537 != (*(this->new_parts)).end(); ++_iter537) + std::vector ::const_iterator _iter542; + for (_iter542 = (*(this->new_parts)).begin(); _iter542 != (*(this->new_parts)).end(); ++_iter542) { - xfer += (*_iter537).write(oprot); + xfer += (*_iter542).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6822,14 +6822,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size538; - ::apache::thrift::protocol::TType _etype541; - xfer += iprot->readListBegin(_etype541, _size538); - this->part_vals.resize(_size538); - uint32_t _i542; - for (_i542 = 0; _i542 < _size538; ++_i542) + uint32_t _size543; + ::apache::thrift::protocol::TType _etype546; + xfer += iprot->readListBegin(_etype546, _size543); + this->part_vals.resize(_size543); + uint32_t _i547; + for (_i547 = 0; _i547 < _size543; ++_i547) { - xfer += iprot->readString(this->part_vals[_i542]); + xfer += iprot->readString(this->part_vals[_i547]); } xfer += iprot->readListEnd(); } @@ -6865,10 +6865,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 _iter543; - for (_iter543 = this->part_vals.begin(); _iter543 != this->part_vals.end(); ++_iter543) + std::vector ::const_iterator _iter548; + for (_iter548 = this->part_vals.begin(); _iter548 != this->part_vals.end(); ++_iter548) { - xfer += oprot->writeString((*_iter543)); + xfer += oprot->writeString((*_iter548)); } xfer += oprot->writeListEnd(); } @@ -6894,10 +6894,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 _iter544; - for (_iter544 = (*(this->part_vals)).begin(); _iter544 != (*(this->part_vals)).end(); ++_iter544) + std::vector ::const_iterator _iter549; + for (_iter549 = (*(this->part_vals)).begin(); _iter549 != (*(this->part_vals)).end(); ++_iter549) { - xfer += oprot->writeString((*_iter544)); + xfer += oprot->writeString((*_iter549)); } xfer += oprot->writeListEnd(); } @@ -7326,14 +7326,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size545; - ::apache::thrift::protocol::TType _etype548; - xfer += iprot->readListBegin(_etype548, _size545); - this->part_vals.resize(_size545); - uint32_t _i549; - for (_i549 = 0; _i549 < _size545; ++_i549) + uint32_t _size550; + ::apache::thrift::protocol::TType _etype553; + xfer += iprot->readListBegin(_etype553, _size550); + this->part_vals.resize(_size550); + uint32_t _i554; + for (_i554 = 0; _i554 < _size550; ++_i554) { - xfer += iprot->readString(this->part_vals[_i549]); + xfer += iprot->readString(this->part_vals[_i554]); } xfer += iprot->readListEnd(); } @@ -7377,10 +7377,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 _iter550; - for (_iter550 = this->part_vals.begin(); _iter550 != this->part_vals.end(); ++_iter550) + std::vector ::const_iterator _iter555; + for (_iter555 = this->part_vals.begin(); _iter555 != this->part_vals.end(); ++_iter555) { - xfer += oprot->writeString((*_iter550)); + xfer += oprot->writeString((*_iter555)); } xfer += oprot->writeListEnd(); } @@ -7410,10 +7410,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 _iter551; - for (_iter551 = (*(this->part_vals)).begin(); _iter551 != (*(this->part_vals)).end(); ++_iter551) + std::vector ::const_iterator _iter556; + for (_iter556 = (*(this->part_vals)).begin(); _iter556 != (*(this->part_vals)).end(); ++_iter556) { - xfer += oprot->writeString((*_iter551)); + xfer += oprot->writeString((*_iter556)); } xfer += oprot->writeListEnd(); } @@ -8148,14 +8148,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size552; - ::apache::thrift::protocol::TType _etype555; - xfer += iprot->readListBegin(_etype555, _size552); - this->part_vals.resize(_size552); - uint32_t _i556; - for (_i556 = 0; _i556 < _size552; ++_i556) + uint32_t _size557; + ::apache::thrift::protocol::TType _etype560; + xfer += iprot->readListBegin(_etype560, _size557); + this->part_vals.resize(_size557); + uint32_t _i561; + for (_i561 = 0; _i561 < _size557; ++_i561) { - xfer += iprot->readString(this->part_vals[_i556]); + xfer += iprot->readString(this->part_vals[_i561]); } xfer += iprot->readListEnd(); } @@ -8199,10 +8199,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 _iter557; - for (_iter557 = this->part_vals.begin(); _iter557 != this->part_vals.end(); ++_iter557) + std::vector ::const_iterator _iter562; + for (_iter562 = this->part_vals.begin(); _iter562 != this->part_vals.end(); ++_iter562) { - xfer += oprot->writeString((*_iter557)); + xfer += oprot->writeString((*_iter562)); } xfer += oprot->writeListEnd(); } @@ -8232,10 +8232,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 _iter558; - for (_iter558 = (*(this->part_vals)).begin(); _iter558 != (*(this->part_vals)).end(); ++_iter558) + std::vector ::const_iterator _iter563; + for (_iter563 = (*(this->part_vals)).begin(); _iter563 != (*(this->part_vals)).end(); ++_iter563) { - xfer += oprot->writeString((*_iter558)); + xfer += oprot->writeString((*_iter563)); } xfer += oprot->writeListEnd(); } @@ -8426,14 +8426,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size559; - ::apache::thrift::protocol::TType _etype562; - xfer += iprot->readListBegin(_etype562, _size559); - this->part_vals.resize(_size559); - uint32_t _i563; - for (_i563 = 0; _i563 < _size559; ++_i563) + uint32_t _size564; + ::apache::thrift::protocol::TType _etype567; + xfer += iprot->readListBegin(_etype567, _size564); + this->part_vals.resize(_size564); + uint32_t _i568; + for (_i568 = 0; _i568 < _size564; ++_i568) { - xfer += iprot->readString(this->part_vals[_i563]); + xfer += iprot->readString(this->part_vals[_i568]); } xfer += iprot->readListEnd(); } @@ -8485,10 +8485,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 _iter564; - for (_iter564 = this->part_vals.begin(); _iter564 != this->part_vals.end(); ++_iter564) + std::vector ::const_iterator _iter569; + for (_iter569 = this->part_vals.begin(); _iter569 != this->part_vals.end(); ++_iter569) { - xfer += oprot->writeString((*_iter564)); + xfer += oprot->writeString((*_iter569)); } xfer += oprot->writeListEnd(); } @@ -8522,10 +8522,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 _iter565; - for (_iter565 = (*(this->part_vals)).begin(); _iter565 != (*(this->part_vals)).end(); ++_iter565) + std::vector ::const_iterator _iter570; + for (_iter570 = (*(this->part_vals)).begin(); _iter570 != (*(this->part_vals)).end(); ++_iter570) { - xfer += oprot->writeString((*_iter565)); + xfer += oprot->writeString((*_iter570)); } xfer += oprot->writeListEnd(); } @@ -9438,14 +9438,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size566; - ::apache::thrift::protocol::TType _etype569; - xfer += iprot->readListBegin(_etype569, _size566); - this->part_vals.resize(_size566); - uint32_t _i570; - for (_i570 = 0; _i570 < _size566; ++_i570) + uint32_t _size571; + ::apache::thrift::protocol::TType _etype574; + xfer += iprot->readListBegin(_etype574, _size571); + this->part_vals.resize(_size571); + uint32_t _i575; + for (_i575 = 0; _i575 < _size571; ++_i575) { - xfer += iprot->readString(this->part_vals[_i570]); + xfer += iprot->readString(this->part_vals[_i575]); } xfer += iprot->readListEnd(); } @@ -9481,10 +9481,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 _iter571; - for (_iter571 = this->part_vals.begin(); _iter571 != this->part_vals.end(); ++_iter571) + std::vector ::const_iterator _iter576; + for (_iter576 = this->part_vals.begin(); _iter576 != this->part_vals.end(); ++_iter576) { - xfer += oprot->writeString((*_iter571)); + xfer += oprot->writeString((*_iter576)); } xfer += oprot->writeListEnd(); } @@ -9510,10 +9510,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 _iter572; - for (_iter572 = (*(this->part_vals)).begin(); _iter572 != (*(this->part_vals)).end(); ++_iter572) + std::vector ::const_iterator _iter577; + for (_iter577 = (*(this->part_vals)).begin(); _iter577 != (*(this->part_vals)).end(); ++_iter577) { - xfer += oprot->writeString((*_iter572)); + xfer += oprot->writeString((*_iter577)); } xfer += oprot->writeListEnd(); } @@ -9684,17 +9684,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size573; - ::apache::thrift::protocol::TType _ktype574; - ::apache::thrift::protocol::TType _vtype575; - xfer += iprot->readMapBegin(_ktype574, _vtype575, _size573); - uint32_t _i577; - for (_i577 = 0; _i577 < _size573; ++_i577) + uint32_t _size578; + ::apache::thrift::protocol::TType _ktype579; + ::apache::thrift::protocol::TType _vtype580; + xfer += iprot->readMapBegin(_ktype579, _vtype580, _size578); + uint32_t _i582; + for (_i582 = 0; _i582 < _size578; ++_i582) { - std::string _key578; - xfer += iprot->readString(_key578); - std::string& _val579 = this->partitionSpecs[_key578]; - xfer += iprot->readString(_val579); + std::string _key583; + xfer += iprot->readString(_key583); + std::string& _val584 = this->partitionSpecs[_key583]; + xfer += iprot->readString(_val584); } xfer += iprot->readMapEnd(); } @@ -9754,11 +9754,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 _iter580; - for (_iter580 = this->partitionSpecs.begin(); _iter580 != this->partitionSpecs.end(); ++_iter580) + std::map ::const_iterator _iter585; + for (_iter585 = this->partitionSpecs.begin(); _iter585 != this->partitionSpecs.end(); ++_iter585) { - xfer += oprot->writeString(_iter580->first); - xfer += oprot->writeString(_iter580->second); + xfer += oprot->writeString(_iter585->first); + xfer += oprot->writeString(_iter585->second); } xfer += oprot->writeMapEnd(); } @@ -9792,11 +9792,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 _iter581; - for (_iter581 = (*(this->partitionSpecs)).begin(); _iter581 != (*(this->partitionSpecs)).end(); ++_iter581) + std::map ::const_iterator _iter586; + for (_iter586 = (*(this->partitionSpecs)).begin(); _iter586 != (*(this->partitionSpecs)).end(); ++_iter586) { - xfer += oprot->writeString(_iter581->first); - xfer += oprot->writeString(_iter581->second); + xfer += oprot->writeString(_iter586->first); + xfer += oprot->writeString(_iter586->second); } xfer += oprot->writeMapEnd(); } @@ -10039,14 +10039,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 _size582; - ::apache::thrift::protocol::TType _etype585; - xfer += iprot->readListBegin(_etype585, _size582); - this->part_vals.resize(_size582); - uint32_t _i586; - for (_i586 = 0; _i586 < _size582; ++_i586) + uint32_t _size587; + ::apache::thrift::protocol::TType _etype590; + xfer += iprot->readListBegin(_etype590, _size587); + this->part_vals.resize(_size587); + uint32_t _i591; + for (_i591 = 0; _i591 < _size587; ++_i591) { - xfer += iprot->readString(this->part_vals[_i586]); + xfer += iprot->readString(this->part_vals[_i591]); } xfer += iprot->readListEnd(); } @@ -10067,14 +10067,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 _size587; - ::apache::thrift::protocol::TType _etype590; - xfer += iprot->readListBegin(_etype590, _size587); - this->group_names.resize(_size587); - uint32_t _i591; - for (_i591 = 0; _i591 < _size587; ++_i591) + uint32_t _size592; + ::apache::thrift::protocol::TType _etype595; + xfer += iprot->readListBegin(_etype595, _size592); + this->group_names.resize(_size592); + uint32_t _i596; + for (_i596 = 0; _i596 < _size592; ++_i596) { - xfer += iprot->readString(this->group_names[_i591]); + xfer += iprot->readString(this->group_names[_i596]); } xfer += iprot->readListEnd(); } @@ -10110,10 +10110,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 _iter592; - for (_iter592 = this->part_vals.begin(); _iter592 != this->part_vals.end(); ++_iter592) + std::vector ::const_iterator _iter597; + for (_iter597 = this->part_vals.begin(); _iter597 != this->part_vals.end(); ++_iter597) { - xfer += oprot->writeString((*_iter592)); + xfer += oprot->writeString((*_iter597)); } xfer += oprot->writeListEnd(); } @@ -10126,10 +10126,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 _iter593; - for (_iter593 = this->group_names.begin(); _iter593 != this->group_names.end(); ++_iter593) + std::vector ::const_iterator _iter598; + for (_iter598 = this->group_names.begin(); _iter598 != this->group_names.end(); ++_iter598) { - xfer += oprot->writeString((*_iter593)); + xfer += oprot->writeString((*_iter598)); } xfer += oprot->writeListEnd(); } @@ -10155,10 +10155,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 _iter594; - for (_iter594 = (*(this->part_vals)).begin(); _iter594 != (*(this->part_vals)).end(); ++_iter594) + std::vector ::const_iterator _iter599; + for (_iter599 = (*(this->part_vals)).begin(); _iter599 != (*(this->part_vals)).end(); ++_iter599) { - xfer += oprot->writeString((*_iter594)); + xfer += oprot->writeString((*_iter599)); } xfer += oprot->writeListEnd(); } @@ -10171,10 +10171,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 _iter595; - for (_iter595 = (*(this->group_names)).begin(); _iter595 != (*(this->group_names)).end(); ++_iter595) + std::vector ::const_iterator _iter600; + for (_iter600 = (*(this->group_names)).begin(); _iter600 != (*(this->group_names)).end(); ++_iter600) { - xfer += oprot->writeString((*_iter595)); + xfer += oprot->writeString((*_iter600)); } xfer += oprot->writeListEnd(); } @@ -10677,14 +10677,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size596; - ::apache::thrift::protocol::TType _etype599; - xfer += iprot->readListBegin(_etype599, _size596); - this->success.resize(_size596); - uint32_t _i600; - for (_i600 = 0; _i600 < _size596; ++_i600) + uint32_t _size601; + ::apache::thrift::protocol::TType _etype604; + xfer += iprot->readListBegin(_etype604, _size601); + this->success.resize(_size601); + uint32_t _i605; + for (_i605 = 0; _i605 < _size601; ++_i605) { - xfer += this->success[_i600].read(iprot); + xfer += this->success[_i605].read(iprot); } xfer += iprot->readListEnd(); } @@ -10731,10 +10731,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 _iter601; - for (_iter601 = this->success.begin(); _iter601 != this->success.end(); ++_iter601) + std::vector ::const_iterator _iter606; + for (_iter606 = this->success.begin(); _iter606 != this->success.end(); ++_iter606) { - xfer += (*_iter601).write(oprot); + xfer += (*_iter606).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10777,14 +10777,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size602; - ::apache::thrift::protocol::TType _etype605; - xfer += iprot->readListBegin(_etype605, _size602); - (*(this->success)).resize(_size602); - uint32_t _i606; - for (_i606 = 0; _i606 < _size602; ++_i606) + uint32_t _size607; + ::apache::thrift::protocol::TType _etype610; + xfer += iprot->readListBegin(_etype610, _size607); + (*(this->success)).resize(_size607); + uint32_t _i611; + for (_i611 = 0; _i611 < _size607; ++_i611) { - xfer += (*(this->success))[_i606].read(iprot); + xfer += (*(this->success))[_i611].read(iprot); } xfer += iprot->readListEnd(); } @@ -10877,14 +10877,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 _size607; - ::apache::thrift::protocol::TType _etype610; - xfer += iprot->readListBegin(_etype610, _size607); - this->group_names.resize(_size607); - uint32_t _i611; - for (_i611 = 0; _i611 < _size607; ++_i611) + uint32_t _size612; + ::apache::thrift::protocol::TType _etype615; + xfer += iprot->readListBegin(_etype615, _size612); + this->group_names.resize(_size612); + uint32_t _i616; + for (_i616 = 0; _i616 < _size612; ++_i616) { - xfer += iprot->readString(this->group_names[_i611]); + xfer += iprot->readString(this->group_names[_i616]); } xfer += iprot->readListEnd(); } @@ -10928,10 +10928,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 _iter612; - for (_iter612 = this->group_names.begin(); _iter612 != this->group_names.end(); ++_iter612) + std::vector ::const_iterator _iter617; + for (_iter617 = this->group_names.begin(); _iter617 != this->group_names.end(); ++_iter617) { - xfer += oprot->writeString((*_iter612)); + xfer += oprot->writeString((*_iter617)); } xfer += oprot->writeListEnd(); } @@ -10965,10 +10965,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 _iter613; - for (_iter613 = (*(this->group_names)).begin(); _iter613 != (*(this->group_names)).end(); ++_iter613) + std::vector ::const_iterator _iter618; + for (_iter618 = (*(this->group_names)).begin(); _iter618 != (*(this->group_names)).end(); ++_iter618) { - xfer += oprot->writeString((*_iter613)); + xfer += oprot->writeString((*_iter618)); } xfer += oprot->writeListEnd(); } @@ -11003,14 +11003,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size614; - ::apache::thrift::protocol::TType _etype617; - xfer += iprot->readListBegin(_etype617, _size614); - this->success.resize(_size614); - uint32_t _i618; - for (_i618 = 0; _i618 < _size614; ++_i618) + uint32_t _size619; + ::apache::thrift::protocol::TType _etype622; + xfer += iprot->readListBegin(_etype622, _size619); + this->success.resize(_size619); + uint32_t _i623; + for (_i623 = 0; _i623 < _size619; ++_i623) { - xfer += this->success[_i618].read(iprot); + xfer += this->success[_i623].read(iprot); } xfer += iprot->readListEnd(); } @@ -11057,10 +11057,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 _iter619; - for (_iter619 = this->success.begin(); _iter619 != this->success.end(); ++_iter619) + std::vector ::const_iterator _iter624; + for (_iter624 = this->success.begin(); _iter624 != this->success.end(); ++_iter624) { - xfer += (*_iter619).write(oprot); + xfer += (*_iter624).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11103,14 +11103,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size620; - ::apache::thrift::protocol::TType _etype623; - xfer += iprot->readListBegin(_etype623, _size620); - (*(this->success)).resize(_size620); - uint32_t _i624; - for (_i624 = 0; _i624 < _size620; ++_i624) + uint32_t _size625; + ::apache::thrift::protocol::TType _etype628; + xfer += iprot->readListBegin(_etype628, _size625); + (*(this->success)).resize(_size625); + uint32_t _i629; + for (_i629 = 0; _i629 < _size625; ++_i629) { - xfer += (*(this->success))[_i624].read(iprot); + xfer += (*(this->success))[_i629].read(iprot); } xfer += iprot->readListEnd(); } @@ -11269,14 +11269,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size625; - ::apache::thrift::protocol::TType _etype628; - xfer += iprot->readListBegin(_etype628, _size625); - this->success.resize(_size625); - uint32_t _i629; - for (_i629 = 0; _i629 < _size625; ++_i629) + uint32_t _size630; + ::apache::thrift::protocol::TType _etype633; + xfer += iprot->readListBegin(_etype633, _size630); + this->success.resize(_size630); + uint32_t _i634; + for (_i634 = 0; _i634 < _size630; ++_i634) { - xfer += this->success[_i629].read(iprot); + xfer += this->success[_i634].read(iprot); } xfer += iprot->readListEnd(); } @@ -11323,10 +11323,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 _iter630; - for (_iter630 = this->success.begin(); _iter630 != this->success.end(); ++_iter630) + std::vector ::const_iterator _iter635; + for (_iter635 = this->success.begin(); _iter635 != this->success.end(); ++_iter635) { - xfer += (*_iter630).write(oprot); + xfer += (*_iter635).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11369,14 +11369,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size631; - ::apache::thrift::protocol::TType _etype634; - xfer += iprot->readListBegin(_etype634, _size631); - (*(this->success)).resize(_size631); - uint32_t _i635; - for (_i635 = 0; _i635 < _size631; ++_i635) + uint32_t _size636; + ::apache::thrift::protocol::TType _etype639; + xfer += iprot->readListBegin(_etype639, _size636); + (*(this->success)).resize(_size636); + uint32_t _i640; + for (_i640 = 0; _i640 < _size636; ++_i640) { - xfer += (*(this->success))[_i635].read(iprot); + xfer += (*(this->success))[_i640].read(iprot); } xfer += iprot->readListEnd(); } @@ -11535,14 +11535,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size636; - ::apache::thrift::protocol::TType _etype639; - xfer += iprot->readListBegin(_etype639, _size636); - this->success.resize(_size636); - uint32_t _i640; - for (_i640 = 0; _i640 < _size636; ++_i640) + uint32_t _size641; + ::apache::thrift::protocol::TType _etype644; + xfer += iprot->readListBegin(_etype644, _size641); + this->success.resize(_size641); + uint32_t _i645; + for (_i645 = 0; _i645 < _size641; ++_i645) { - xfer += iprot->readString(this->success[_i640]); + xfer += iprot->readString(this->success[_i645]); } xfer += iprot->readListEnd(); } @@ -11581,10 +11581,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 _iter641; - for (_iter641 = this->success.begin(); _iter641 != this->success.end(); ++_iter641) + std::vector ::const_iterator _iter646; + for (_iter646 = this->success.begin(); _iter646 != this->success.end(); ++_iter646) { - xfer += oprot->writeString((*_iter641)); + xfer += oprot->writeString((*_iter646)); } xfer += oprot->writeListEnd(); } @@ -11623,14 +11623,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size642; - ::apache::thrift::protocol::TType _etype645; - xfer += iprot->readListBegin(_etype645, _size642); - (*(this->success)).resize(_size642); - uint32_t _i646; - for (_i646 = 0; _i646 < _size642; ++_i646) + uint32_t _size647; + ::apache::thrift::protocol::TType _etype650; + xfer += iprot->readListBegin(_etype650, _size647); + (*(this->success)).resize(_size647); + uint32_t _i651; + for (_i651 = 0; _i651 < _size647; ++_i651) { - xfer += iprot->readString((*(this->success))[_i646]); + xfer += iprot->readString((*(this->success))[_i651]); } xfer += iprot->readListEnd(); } @@ -11699,14 +11699,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 _size647; - ::apache::thrift::protocol::TType _etype650; - xfer += iprot->readListBegin(_etype650, _size647); - this->part_vals.resize(_size647); - uint32_t _i651; - for (_i651 = 0; _i651 < _size647; ++_i651) + uint32_t _size652; + ::apache::thrift::protocol::TType _etype655; + xfer += iprot->readListBegin(_etype655, _size652); + this->part_vals.resize(_size652); + uint32_t _i656; + for (_i656 = 0; _i656 < _size652; ++_i656) { - xfer += iprot->readString(this->part_vals[_i651]); + xfer += iprot->readString(this->part_vals[_i656]); } xfer += iprot->readListEnd(); } @@ -11750,10 +11750,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 _iter652; - for (_iter652 = this->part_vals.begin(); _iter652 != this->part_vals.end(); ++_iter652) + std::vector ::const_iterator _iter657; + for (_iter657 = this->part_vals.begin(); _iter657 != this->part_vals.end(); ++_iter657) { - xfer += oprot->writeString((*_iter652)); + xfer += oprot->writeString((*_iter657)); } xfer += oprot->writeListEnd(); } @@ -11783,10 +11783,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 _iter653; - for (_iter653 = (*(this->part_vals)).begin(); _iter653 != (*(this->part_vals)).end(); ++_iter653) + std::vector ::const_iterator _iter658; + for (_iter658 = (*(this->part_vals)).begin(); _iter658 != (*(this->part_vals)).end(); ++_iter658) { - xfer += oprot->writeString((*_iter653)); + xfer += oprot->writeString((*_iter658)); } xfer += oprot->writeListEnd(); } @@ -11825,14 +11825,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size654; - ::apache::thrift::protocol::TType _etype657; - xfer += iprot->readListBegin(_etype657, _size654); - this->success.resize(_size654); - uint32_t _i658; - for (_i658 = 0; _i658 < _size654; ++_i658) + uint32_t _size659; + ::apache::thrift::protocol::TType _etype662; + xfer += iprot->readListBegin(_etype662, _size659); + this->success.resize(_size659); + uint32_t _i663; + for (_i663 = 0; _i663 < _size659; ++_i663) { - xfer += this->success[_i658].read(iprot); + xfer += this->success[_i663].read(iprot); } xfer += iprot->readListEnd(); } @@ -11879,10 +11879,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 _iter659; - for (_iter659 = this->success.begin(); _iter659 != this->success.end(); ++_iter659) + std::vector ::const_iterator _iter664; + for (_iter664 = this->success.begin(); _iter664 != this->success.end(); ++_iter664) { - xfer += (*_iter659).write(oprot); + xfer += (*_iter664).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11925,14 +11925,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size660; - ::apache::thrift::protocol::TType _etype663; - xfer += iprot->readListBegin(_etype663, _size660); - (*(this->success)).resize(_size660); - uint32_t _i664; - for (_i664 = 0; _i664 < _size660; ++_i664) + uint32_t _size665; + ::apache::thrift::protocol::TType _etype668; + xfer += iprot->readListBegin(_etype668, _size665); + (*(this->success)).resize(_size665); + uint32_t _i669; + for (_i669 = 0; _i669 < _size665; ++_i669) { - xfer += (*(this->success))[_i664].read(iprot); + xfer += (*(this->success))[_i669].read(iprot); } xfer += iprot->readListEnd(); } @@ -12009,14 +12009,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 _size665; - ::apache::thrift::protocol::TType _etype668; - xfer += iprot->readListBegin(_etype668, _size665); - this->part_vals.resize(_size665); - uint32_t _i669; - for (_i669 = 0; _i669 < _size665; ++_i669) + uint32_t _size670; + ::apache::thrift::protocol::TType _etype673; + xfer += iprot->readListBegin(_etype673, _size670); + this->part_vals.resize(_size670); + uint32_t _i674; + for (_i674 = 0; _i674 < _size670; ++_i674) { - xfer += iprot->readString(this->part_vals[_i669]); + xfer += iprot->readString(this->part_vals[_i674]); } xfer += iprot->readListEnd(); } @@ -12045,14 +12045,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 _size670; - ::apache::thrift::protocol::TType _etype673; - xfer += iprot->readListBegin(_etype673, _size670); - this->group_names.resize(_size670); - uint32_t _i674; - for (_i674 = 0; _i674 < _size670; ++_i674) + uint32_t _size675; + ::apache::thrift::protocol::TType _etype678; + xfer += iprot->readListBegin(_etype678, _size675); + this->group_names.resize(_size675); + uint32_t _i679; + for (_i679 = 0; _i679 < _size675; ++_i679) { - xfer += iprot->readString(this->group_names[_i674]); + xfer += iprot->readString(this->group_names[_i679]); } xfer += iprot->readListEnd(); } @@ -12088,10 +12088,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 _iter675; - for (_iter675 = this->part_vals.begin(); _iter675 != this->part_vals.end(); ++_iter675) + std::vector ::const_iterator _iter680; + for (_iter680 = this->part_vals.begin(); _iter680 != this->part_vals.end(); ++_iter680) { - xfer += oprot->writeString((*_iter675)); + xfer += oprot->writeString((*_iter680)); } xfer += oprot->writeListEnd(); } @@ -12108,10 +12108,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 _iter676; - for (_iter676 = this->group_names.begin(); _iter676 != this->group_names.end(); ++_iter676) + std::vector ::const_iterator _iter681; + for (_iter681 = this->group_names.begin(); _iter681 != this->group_names.end(); ++_iter681) { - xfer += oprot->writeString((*_iter676)); + xfer += oprot->writeString((*_iter681)); } xfer += oprot->writeListEnd(); } @@ -12137,10 +12137,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 _iter677; - for (_iter677 = (*(this->part_vals)).begin(); _iter677 != (*(this->part_vals)).end(); ++_iter677) + std::vector ::const_iterator _iter682; + for (_iter682 = (*(this->part_vals)).begin(); _iter682 != (*(this->part_vals)).end(); ++_iter682) { - xfer += oprot->writeString((*_iter677)); + xfer += oprot->writeString((*_iter682)); } xfer += oprot->writeListEnd(); } @@ -12157,10 +12157,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 _iter678; - for (_iter678 = (*(this->group_names)).begin(); _iter678 != (*(this->group_names)).end(); ++_iter678) + std::vector ::const_iterator _iter683; + for (_iter683 = (*(this->group_names)).begin(); _iter683 != (*(this->group_names)).end(); ++_iter683) { - xfer += oprot->writeString((*_iter678)); + xfer += oprot->writeString((*_iter683)); } xfer += oprot->writeListEnd(); } @@ -12195,14 +12195,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size679; - ::apache::thrift::protocol::TType _etype682; - xfer += iprot->readListBegin(_etype682, _size679); - this->success.resize(_size679); - uint32_t _i683; - for (_i683 = 0; _i683 < _size679; ++_i683) + uint32_t _size684; + ::apache::thrift::protocol::TType _etype687; + xfer += iprot->readListBegin(_etype687, _size684); + this->success.resize(_size684); + uint32_t _i688; + for (_i688 = 0; _i688 < _size684; ++_i688) { - xfer += this->success[_i683].read(iprot); + xfer += this->success[_i688].read(iprot); } xfer += iprot->readListEnd(); } @@ -12249,10 +12249,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 _iter684; - for (_iter684 = this->success.begin(); _iter684 != this->success.end(); ++_iter684) + std::vector ::const_iterator _iter689; + for (_iter689 = this->success.begin(); _iter689 != this->success.end(); ++_iter689) { - xfer += (*_iter684).write(oprot); + xfer += (*_iter689).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12295,14 +12295,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size685; - ::apache::thrift::protocol::TType _etype688; - xfer += iprot->readListBegin(_etype688, _size685); - (*(this->success)).resize(_size685); - uint32_t _i689; - for (_i689 = 0; _i689 < _size685; ++_i689) + uint32_t _size690; + ::apache::thrift::protocol::TType _etype693; + xfer += iprot->readListBegin(_etype693, _size690); + (*(this->success)).resize(_size690); + uint32_t _i694; + for (_i694 = 0; _i694 < _size690; ++_i694) { - xfer += (*(this->success))[_i689].read(iprot); + xfer += (*(this->success))[_i694].read(iprot); } xfer += iprot->readListEnd(); } @@ -12379,14 +12379,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 _size690; - ::apache::thrift::protocol::TType _etype693; - xfer += iprot->readListBegin(_etype693, _size690); - this->part_vals.resize(_size690); - uint32_t _i694; - for (_i694 = 0; _i694 < _size690; ++_i694) + uint32_t _size695; + ::apache::thrift::protocol::TType _etype698; + xfer += iprot->readListBegin(_etype698, _size695); + this->part_vals.resize(_size695); + uint32_t _i699; + for (_i699 = 0; _i699 < _size695; ++_i699) { - xfer += iprot->readString(this->part_vals[_i694]); + xfer += iprot->readString(this->part_vals[_i699]); } xfer += iprot->readListEnd(); } @@ -12430,10 +12430,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 _iter695; - for (_iter695 = this->part_vals.begin(); _iter695 != this->part_vals.end(); ++_iter695) + std::vector ::const_iterator _iter700; + for (_iter700 = this->part_vals.begin(); _iter700 != this->part_vals.end(); ++_iter700) { - xfer += oprot->writeString((*_iter695)); + xfer += oprot->writeString((*_iter700)); } xfer += oprot->writeListEnd(); } @@ -12463,10 +12463,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 _iter696; - for (_iter696 = (*(this->part_vals)).begin(); _iter696 != (*(this->part_vals)).end(); ++_iter696) + std::vector ::const_iterator _iter701; + for (_iter701 = (*(this->part_vals)).begin(); _iter701 != (*(this->part_vals)).end(); ++_iter701) { - xfer += oprot->writeString((*_iter696)); + xfer += oprot->writeString((*_iter701)); } xfer += oprot->writeListEnd(); } @@ -12505,14 +12505,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size697; - ::apache::thrift::protocol::TType _etype700; - xfer += iprot->readListBegin(_etype700, _size697); - this->success.resize(_size697); - uint32_t _i701; - for (_i701 = 0; _i701 < _size697; ++_i701) + uint32_t _size702; + ::apache::thrift::protocol::TType _etype705; + xfer += iprot->readListBegin(_etype705, _size702); + this->success.resize(_size702); + uint32_t _i706; + for (_i706 = 0; _i706 < _size702; ++_i706) { - xfer += iprot->readString(this->success[_i701]); + xfer += iprot->readString(this->success[_i706]); } xfer += iprot->readListEnd(); } @@ -12559,10 +12559,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 _iter702; - for (_iter702 = this->success.begin(); _iter702 != this->success.end(); ++_iter702) + std::vector ::const_iterator _iter707; + for (_iter707 = this->success.begin(); _iter707 != this->success.end(); ++_iter707) { - xfer += oprot->writeString((*_iter702)); + xfer += oprot->writeString((*_iter707)); } xfer += oprot->writeListEnd(); } @@ -12605,14 +12605,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size703; - ::apache::thrift::protocol::TType _etype706; - xfer += iprot->readListBegin(_etype706, _size703); - (*(this->success)).resize(_size703); - uint32_t _i707; - for (_i707 = 0; _i707 < _size703; ++_i707) + uint32_t _size708; + ::apache::thrift::protocol::TType _etype711; + xfer += iprot->readListBegin(_etype711, _size708); + (*(this->success)).resize(_size708); + uint32_t _i712; + for (_i712 = 0; _i712 < _size708; ++_i712) { - xfer += iprot->readString((*(this->success))[_i707]); + xfer += iprot->readString((*(this->success))[_i712]); } xfer += iprot->readListEnd(); } @@ -12787,14 +12787,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size708; - ::apache::thrift::protocol::TType _etype711; - xfer += iprot->readListBegin(_etype711, _size708); - this->success.resize(_size708); - uint32_t _i712; - for (_i712 = 0; _i712 < _size708; ++_i712) + uint32_t _size713; + ::apache::thrift::protocol::TType _etype716; + xfer += iprot->readListBegin(_etype716, _size713); + this->success.resize(_size713); + uint32_t _i717; + for (_i717 = 0; _i717 < _size713; ++_i717) { - xfer += this->success[_i712].read(iprot); + xfer += this->success[_i717].read(iprot); } xfer += iprot->readListEnd(); } @@ -12841,10 +12841,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 _iter713; - for (_iter713 = this->success.begin(); _iter713 != this->success.end(); ++_iter713) + std::vector ::const_iterator _iter718; + for (_iter718 = this->success.begin(); _iter718 != this->success.end(); ++_iter718) { - xfer += (*_iter713).write(oprot); + xfer += (*_iter718).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12887,14 +12887,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size714; - ::apache::thrift::protocol::TType _etype717; - xfer += iprot->readListBegin(_etype717, _size714); - (*(this->success)).resize(_size714); - uint32_t _i718; - for (_i718 = 0; _i718 < _size714; ++_i718) + uint32_t _size719; + ::apache::thrift::protocol::TType _etype722; + xfer += iprot->readListBegin(_etype722, _size719); + (*(this->success)).resize(_size719); + uint32_t _i723; + for (_i723 = 0; _i723 < _size719; ++_i723) { - xfer += (*(this->success))[_i718].read(iprot); + xfer += (*(this->success))[_i723].read(iprot); } xfer += iprot->readListEnd(); } @@ -13069,14 +13069,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 _size719; - ::apache::thrift::protocol::TType _etype722; - xfer += iprot->readListBegin(_etype722, _size719); - this->success.resize(_size719); - uint32_t _i723; - for (_i723 = 0; _i723 < _size719; ++_i723) + uint32_t _size724; + ::apache::thrift::protocol::TType _etype727; + xfer += iprot->readListBegin(_etype727, _size724); + this->success.resize(_size724); + uint32_t _i728; + for (_i728 = 0; _i728 < _size724; ++_i728) { - xfer += this->success[_i723].read(iprot); + xfer += this->success[_i728].read(iprot); } xfer += iprot->readListEnd(); } @@ -13123,10 +13123,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 _iter724; - for (_iter724 = this->success.begin(); _iter724 != this->success.end(); ++_iter724) + std::vector ::const_iterator _iter729; + for (_iter729 = this->success.begin(); _iter729 != this->success.end(); ++_iter729) { - xfer += (*_iter724).write(oprot); + xfer += (*_iter729).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13169,14 +13169,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 _size725; - ::apache::thrift::protocol::TType _etype728; - xfer += iprot->readListBegin(_etype728, _size725); - (*(this->success)).resize(_size725); - uint32_t _i729; - for (_i729 = 0; _i729 < _size725; ++_i729) + uint32_t _size730; + ::apache::thrift::protocol::TType _etype733; + xfer += iprot->readListBegin(_etype733, _size730); + (*(this->success)).resize(_size730); + uint32_t _i734; + for (_i734 = 0; _i734 < _size730; ++_i734) { - xfer += (*(this->success))[_i729].read(iprot); + xfer += (*(this->success))[_i734].read(iprot); } xfer += iprot->readListEnd(); } @@ -13455,14 +13455,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size730; - ::apache::thrift::protocol::TType _etype733; - xfer += iprot->readListBegin(_etype733, _size730); - this->names.resize(_size730); - uint32_t _i734; - for (_i734 = 0; _i734 < _size730; ++_i734) + uint32_t _size735; + ::apache::thrift::protocol::TType _etype738; + xfer += iprot->readListBegin(_etype738, _size735); + this->names.resize(_size735); + uint32_t _i739; + for (_i739 = 0; _i739 < _size735; ++_i739) { - xfer += iprot->readString(this->names[_i734]); + xfer += iprot->readString(this->names[_i739]); } xfer += iprot->readListEnd(); } @@ -13498,10 +13498,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 _iter735; - for (_iter735 = this->names.begin(); _iter735 != this->names.end(); ++_iter735) + std::vector ::const_iterator _iter740; + for (_iter740 = this->names.begin(); _iter740 != this->names.end(); ++_iter740) { - xfer += oprot->writeString((*_iter735)); + xfer += oprot->writeString((*_iter740)); } xfer += oprot->writeListEnd(); } @@ -13527,10 +13527,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 _iter736; - for (_iter736 = (*(this->names)).begin(); _iter736 != (*(this->names)).end(); ++_iter736) + std::vector ::const_iterator _iter741; + for (_iter741 = (*(this->names)).begin(); _iter741 != (*(this->names)).end(); ++_iter741) { - xfer += oprot->writeString((*_iter736)); + xfer += oprot->writeString((*_iter741)); } xfer += oprot->writeListEnd(); } @@ -13565,14 +13565,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size737; - ::apache::thrift::protocol::TType _etype740; - xfer += iprot->readListBegin(_etype740, _size737); - this->success.resize(_size737); - uint32_t _i741; - for (_i741 = 0; _i741 < _size737; ++_i741) + uint32_t _size742; + ::apache::thrift::protocol::TType _etype745; + xfer += iprot->readListBegin(_etype745, _size742); + this->success.resize(_size742); + uint32_t _i746; + for (_i746 = 0; _i746 < _size742; ++_i746) { - xfer += this->success[_i741].read(iprot); + xfer += this->success[_i746].read(iprot); } xfer += iprot->readListEnd(); } @@ -13619,10 +13619,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 _iter742; - for (_iter742 = this->success.begin(); _iter742 != this->success.end(); ++_iter742) + std::vector ::const_iterator _iter747; + for (_iter747 = this->success.begin(); _iter747 != this->success.end(); ++_iter747) { - xfer += (*_iter742).write(oprot); + xfer += (*_iter747).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13665,14 +13665,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size743; - ::apache::thrift::protocol::TType _etype746; - xfer += iprot->readListBegin(_etype746, _size743); - (*(this->success)).resize(_size743); - uint32_t _i747; - for (_i747 = 0; _i747 < _size743; ++_i747) + uint32_t _size748; + ::apache::thrift::protocol::TType _etype751; + xfer += iprot->readListBegin(_etype751, _size748); + (*(this->success)).resize(_size748); + uint32_t _i752; + for (_i752 = 0; _i752 < _size748; ++_i752) { - xfer += (*(this->success))[_i747].read(iprot); + xfer += (*(this->success))[_i752].read(iprot); } xfer += iprot->readListEnd(); } @@ -13963,14 +13963,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size748; - ::apache::thrift::protocol::TType _etype751; - xfer += iprot->readListBegin(_etype751, _size748); - this->new_parts.resize(_size748); - uint32_t _i752; - for (_i752 = 0; _i752 < _size748; ++_i752) + uint32_t _size753; + ::apache::thrift::protocol::TType _etype756; + xfer += iprot->readListBegin(_etype756, _size753); + this->new_parts.resize(_size753); + uint32_t _i757; + for (_i757 = 0; _i757 < _size753; ++_i757) { - xfer += this->new_parts[_i752].read(iprot); + xfer += this->new_parts[_i757].read(iprot); } xfer += iprot->readListEnd(); } @@ -14006,10 +14006,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 _iter753; - for (_iter753 = this->new_parts.begin(); _iter753 != this->new_parts.end(); ++_iter753) + std::vector ::const_iterator _iter758; + for (_iter758 = this->new_parts.begin(); _iter758 != this->new_parts.end(); ++_iter758) { - xfer += (*_iter753).write(oprot); + xfer += (*_iter758).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14035,10 +14035,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 _iter754; - for (_iter754 = (*(this->new_parts)).begin(); _iter754 != (*(this->new_parts)).end(); ++_iter754) + std::vector ::const_iterator _iter759; + for (_iter759 = (*(this->new_parts)).begin(); _iter759 != (*(this->new_parts)).end(); ++_iter759) { - xfer += (*_iter754).write(oprot); + xfer += (*_iter759).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14435,14 +14435,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size755; - ::apache::thrift::protocol::TType _etype758; - xfer += iprot->readListBegin(_etype758, _size755); - this->part_vals.resize(_size755); - uint32_t _i759; - for (_i759 = 0; _i759 < _size755; ++_i759) + uint32_t _size760; + ::apache::thrift::protocol::TType _etype763; + xfer += iprot->readListBegin(_etype763, _size760); + this->part_vals.resize(_size760); + uint32_t _i764; + for (_i764 = 0; _i764 < _size760; ++_i764) { - xfer += iprot->readString(this->part_vals[_i759]); + xfer += iprot->readString(this->part_vals[_i764]); } xfer += iprot->readListEnd(); } @@ -14486,10 +14486,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 _iter760; - for (_iter760 = this->part_vals.begin(); _iter760 != this->part_vals.end(); ++_iter760) + std::vector ::const_iterator _iter765; + for (_iter765 = this->part_vals.begin(); _iter765 != this->part_vals.end(); ++_iter765) { - xfer += oprot->writeString((*_iter760)); + xfer += oprot->writeString((*_iter765)); } xfer += oprot->writeListEnd(); } @@ -14519,10 +14519,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 _iter761; - for (_iter761 = (*(this->part_vals)).begin(); _iter761 != (*(this->part_vals)).end(); ++_iter761) + std::vector ::const_iterator _iter766; + for (_iter766 = (*(this->part_vals)).begin(); _iter766 != (*(this->part_vals)).end(); ++_iter766) { - xfer += oprot->writeString((*_iter761)); + xfer += oprot->writeString((*_iter766)); } xfer += oprot->writeListEnd(); } @@ -14677,14 +14677,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 _size762; - ::apache::thrift::protocol::TType _etype765; - xfer += iprot->readListBegin(_etype765, _size762); - this->part_vals.resize(_size762); - uint32_t _i766; - for (_i766 = 0; _i766 < _size762; ++_i766) + uint32_t _size767; + ::apache::thrift::protocol::TType _etype770; + xfer += iprot->readListBegin(_etype770, _size767); + this->part_vals.resize(_size767); + uint32_t _i771; + for (_i771 = 0; _i771 < _size767; ++_i771) { - xfer += iprot->readString(this->part_vals[_i766]); + xfer += iprot->readString(this->part_vals[_i771]); } xfer += iprot->readListEnd(); } @@ -14720,10 +14720,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 _iter767; - for (_iter767 = this->part_vals.begin(); _iter767 != this->part_vals.end(); ++_iter767) + std::vector ::const_iterator _iter772; + for (_iter772 = this->part_vals.begin(); _iter772 != this->part_vals.end(); ++_iter772) { - xfer += oprot->writeString((*_iter767)); + xfer += oprot->writeString((*_iter772)); } xfer += oprot->writeListEnd(); } @@ -14745,10 +14745,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 _iter768; - for (_iter768 = (*(this->part_vals)).begin(); _iter768 != (*(this->part_vals)).end(); ++_iter768) + std::vector ::const_iterator _iter773; + for (_iter773 = (*(this->part_vals)).begin(); _iter773 != (*(this->part_vals)).end(); ++_iter773) { - xfer += oprot->writeString((*_iter768)); + xfer += oprot->writeString((*_iter773)); } xfer += oprot->writeListEnd(); } @@ -15167,14 +15167,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size769; - ::apache::thrift::protocol::TType _etype772; - xfer += iprot->readListBegin(_etype772, _size769); - this->success.resize(_size769); - uint32_t _i773; - for (_i773 = 0; _i773 < _size769; ++_i773) + uint32_t _size774; + ::apache::thrift::protocol::TType _etype777; + xfer += iprot->readListBegin(_etype777, _size774); + this->success.resize(_size774); + uint32_t _i778; + for (_i778 = 0; _i778 < _size774; ++_i778) { - xfer += iprot->readString(this->success[_i773]); + xfer += iprot->readString(this->success[_i778]); } xfer += iprot->readListEnd(); } @@ -15213,10 +15213,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 _iter774; - for (_iter774 = this->success.begin(); _iter774 != this->success.end(); ++_iter774) + std::vector ::const_iterator _iter779; + for (_iter779 = this->success.begin(); _iter779 != this->success.end(); ++_iter779) { - xfer += oprot->writeString((*_iter774)); + xfer += oprot->writeString((*_iter779)); } xfer += oprot->writeListEnd(); } @@ -15255,14 +15255,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size775; - ::apache::thrift::protocol::TType _etype778; - xfer += iprot->readListBegin(_etype778, _size775); - (*(this->success)).resize(_size775); - uint32_t _i779; - for (_i779 = 0; _i779 < _size775; ++_i779) + uint32_t _size780; + ::apache::thrift::protocol::TType _etype783; + xfer += iprot->readListBegin(_etype783, _size780); + (*(this->success)).resize(_size780); + uint32_t _i784; + for (_i784 = 0; _i784 < _size780; ++_i784) { - xfer += iprot->readString((*(this->success))[_i779]); + xfer += iprot->readString((*(this->success))[_i784]); } xfer += iprot->readListEnd(); } @@ -15381,17 +15381,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size780; - ::apache::thrift::protocol::TType _ktype781; - ::apache::thrift::protocol::TType _vtype782; - xfer += iprot->readMapBegin(_ktype781, _vtype782, _size780); - uint32_t _i784; - for (_i784 = 0; _i784 < _size780; ++_i784) + 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 _key785; - xfer += iprot->readString(_key785); - std::string& _val786 = this->success[_key785]; - xfer += iprot->readString(_val786); + std::string _key790; + xfer += iprot->readString(_key790); + std::string& _val791 = this->success[_key790]; + xfer += iprot->readString(_val791); } xfer += iprot->readMapEnd(); } @@ -15430,11 +15430,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 _iter787; - for (_iter787 = this->success.begin(); _iter787 != this->success.end(); ++_iter787) + std::map ::const_iterator _iter792; + for (_iter792 = this->success.begin(); _iter792 != this->success.end(); ++_iter792) { - xfer += oprot->writeString(_iter787->first); - xfer += oprot->writeString(_iter787->second); + xfer += oprot->writeString(_iter792->first); + xfer += oprot->writeString(_iter792->second); } xfer += oprot->writeMapEnd(); } @@ -15473,17 +15473,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size788; - ::apache::thrift::protocol::TType _ktype789; - ::apache::thrift::protocol::TType _vtype790; - xfer += iprot->readMapBegin(_ktype789, _vtype790, _size788); - uint32_t _i792; - for (_i792 = 0; _i792 < _size788; ++_i792) + uint32_t _size793; + ::apache::thrift::protocol::TType _ktype794; + ::apache::thrift::protocol::TType _vtype795; + xfer += iprot->readMapBegin(_ktype794, _vtype795, _size793); + uint32_t _i797; + for (_i797 = 0; _i797 < _size793; ++_i797) { - std::string _key793; - xfer += iprot->readString(_key793); - std::string& _val794 = (*(this->success))[_key793]; - xfer += iprot->readString(_val794); + std::string _key798; + xfer += iprot->readString(_key798); + std::string& _val799 = (*(this->success))[_key798]; + xfer += iprot->readString(_val799); } xfer += iprot->readMapEnd(); } @@ -15552,17 +15552,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size795; - ::apache::thrift::protocol::TType _ktype796; - ::apache::thrift::protocol::TType _vtype797; - xfer += iprot->readMapBegin(_ktype796, _vtype797, _size795); - uint32_t _i799; - for (_i799 = 0; _i799 < _size795; ++_i799) + uint32_t _size800; + ::apache::thrift::protocol::TType _ktype801; + ::apache::thrift::protocol::TType _vtype802; + xfer += iprot->readMapBegin(_ktype801, _vtype802, _size800); + uint32_t _i804; + for (_i804 = 0; _i804 < _size800; ++_i804) { - std::string _key800; - xfer += iprot->readString(_key800); - std::string& _val801 = this->part_vals[_key800]; - xfer += iprot->readString(_val801); + std::string _key805; + xfer += iprot->readString(_key805); + std::string& _val806 = this->part_vals[_key805]; + xfer += iprot->readString(_val806); } xfer += iprot->readMapEnd(); } @@ -15573,9 +15573,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast802; - xfer += iprot->readI32(ecast802); - this->eventType = (PartitionEventType::type)ecast802; + int32_t ecast807; + xfer += iprot->readI32(ecast807); + this->eventType = (PartitionEventType::type)ecast807; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -15608,11 +15608,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 _iter803; - for (_iter803 = this->part_vals.begin(); _iter803 != this->part_vals.end(); ++_iter803) + std::map ::const_iterator _iter808; + for (_iter808 = this->part_vals.begin(); _iter808 != this->part_vals.end(); ++_iter808) { - xfer += oprot->writeString(_iter803->first); - xfer += oprot->writeString(_iter803->second); + xfer += oprot->writeString(_iter808->first); + xfer += oprot->writeString(_iter808->second); } xfer += oprot->writeMapEnd(); } @@ -15642,11 +15642,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 _iter804; - for (_iter804 = (*(this->part_vals)).begin(); _iter804 != (*(this->part_vals)).end(); ++_iter804) + std::map ::const_iterator _iter809; + for (_iter809 = (*(this->part_vals)).begin(); _iter809 != (*(this->part_vals)).end(); ++_iter809) { - xfer += oprot->writeString(_iter804->first); - xfer += oprot->writeString(_iter804->second); + xfer += oprot->writeString(_iter809->first); + xfer += oprot->writeString(_iter809->second); } xfer += oprot->writeMapEnd(); } @@ -15897,17 +15897,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size805; - ::apache::thrift::protocol::TType _ktype806; - ::apache::thrift::protocol::TType _vtype807; - xfer += iprot->readMapBegin(_ktype806, _vtype807, _size805); - uint32_t _i809; - for (_i809 = 0; _i809 < _size805; ++_i809) + uint32_t _size810; + ::apache::thrift::protocol::TType _ktype811; + ::apache::thrift::protocol::TType _vtype812; + xfer += iprot->readMapBegin(_ktype811, _vtype812, _size810); + uint32_t _i814; + for (_i814 = 0; _i814 < _size810; ++_i814) { - std::string _key810; - xfer += iprot->readString(_key810); - std::string& _val811 = this->part_vals[_key810]; - xfer += iprot->readString(_val811); + std::string _key815; + xfer += iprot->readString(_key815); + std::string& _val816 = this->part_vals[_key815]; + xfer += iprot->readString(_val816); } xfer += iprot->readMapEnd(); } @@ -15918,9 +15918,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast812; - xfer += iprot->readI32(ecast812); - this->eventType = (PartitionEventType::type)ecast812; + int32_t ecast817; + xfer += iprot->readI32(ecast817); + this->eventType = (PartitionEventType::type)ecast817; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -15953,11 +15953,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 _iter813; - for (_iter813 = this->part_vals.begin(); _iter813 != this->part_vals.end(); ++_iter813) + std::map ::const_iterator _iter818; + for (_iter818 = this->part_vals.begin(); _iter818 != this->part_vals.end(); ++_iter818) { - xfer += oprot->writeString(_iter813->first); - xfer += oprot->writeString(_iter813->second); + xfer += oprot->writeString(_iter818->first); + xfer += oprot->writeString(_iter818->second); } xfer += oprot->writeMapEnd(); } @@ -15987,11 +15987,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 _iter814; - for (_iter814 = (*(this->part_vals)).begin(); _iter814 != (*(this->part_vals)).end(); ++_iter814) + std::map ::const_iterator _iter819; + for (_iter819 = (*(this->part_vals)).begin(); _iter819 != (*(this->part_vals)).end(); ++_iter819) { - xfer += oprot->writeString(_iter814->first); - xfer += oprot->writeString(_iter814->second); + xfer += oprot->writeString(_iter819->first); + xfer += oprot->writeString(_iter819->second); } xfer += oprot->writeMapEnd(); } @@ -17296,14 +17296,14 @@ uint32_t ThriftHiveMetastore_get_indexes_result::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size815; - ::apache::thrift::protocol::TType _etype818; - xfer += iprot->readListBegin(_etype818, _size815); - this->success.resize(_size815); - uint32_t _i819; - for (_i819 = 0; _i819 < _size815; ++_i819) + uint32_t _size820; + ::apache::thrift::protocol::TType _etype823; + xfer += iprot->readListBegin(_etype823, _size820); + this->success.resize(_size820); + uint32_t _i824; + for (_i824 = 0; _i824 < _size820; ++_i824) { - xfer += this->success[_i819].read(iprot); + xfer += this->success[_i824].read(iprot); } xfer += iprot->readListEnd(); } @@ -17350,10 +17350,10 @@ uint32_t ThriftHiveMetastore_get_indexes_result::write(::apache::thrift::protoco xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter820; - for (_iter820 = this->success.begin(); _iter820 != this->success.end(); ++_iter820) + std::vector ::const_iterator _iter825; + for (_iter825 = this->success.begin(); _iter825 != this->success.end(); ++_iter825) { - xfer += (*_iter820).write(oprot); + xfer += (*_iter825).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17396,14 +17396,14 @@ uint32_t ThriftHiveMetastore_get_indexes_presult::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size821; - ::apache::thrift::protocol::TType _etype824; - xfer += iprot->readListBegin(_etype824, _size821); - (*(this->success)).resize(_size821); - uint32_t _i825; - for (_i825 = 0; _i825 < _size821; ++_i825) + uint32_t _size826; + ::apache::thrift::protocol::TType _etype829; + xfer += iprot->readListBegin(_etype829, _size826); + (*(this->success)).resize(_size826); + uint32_t _i830; + for (_i830 = 0; _i830 < _size826; ++_i830) { - xfer += (*(this->success))[_i825].read(iprot); + xfer += (*(this->success))[_i830].read(iprot); } xfer += iprot->readListEnd(); } @@ -17562,14 +17562,14 @@ uint32_t ThriftHiveMetastore_get_index_names_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size826; - ::apache::thrift::protocol::TType _etype829; - xfer += iprot->readListBegin(_etype829, _size826); - this->success.resize(_size826); - uint32_t _i830; - for (_i830 = 0; _i830 < _size826; ++_i830) + uint32_t _size831; + ::apache::thrift::protocol::TType _etype834; + xfer += iprot->readListBegin(_etype834, _size831); + this->success.resize(_size831); + uint32_t _i835; + for (_i835 = 0; _i835 < _size831; ++_i835) { - xfer += iprot->readString(this->success[_i830]); + xfer += iprot->readString(this->success[_i835]); } xfer += iprot->readListEnd(); } @@ -17608,10 +17608,10 @@ uint32_t ThriftHiveMetastore_get_index_names_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter831; - for (_iter831 = this->success.begin(); _iter831 != this->success.end(); ++_iter831) + std::vector ::const_iterator _iter836; + for (_iter836 = this->success.begin(); _iter836 != this->success.end(); ++_iter836) { - xfer += oprot->writeString((*_iter831)); + xfer += oprot->writeString((*_iter836)); } xfer += oprot->writeListEnd(); } @@ -17650,14 +17650,14 @@ uint32_t ThriftHiveMetastore_get_index_names_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size832; - ::apache::thrift::protocol::TType _etype835; - xfer += iprot->readListBegin(_etype835, _size832); - (*(this->success)).resize(_size832); - uint32_t _i836; - for (_i836 = 0; _i836 < _size832; ++_i836) + uint32_t _size837; + ::apache::thrift::protocol::TType _etype840; + xfer += iprot->readListBegin(_etype840, _size837); + (*(this->success)).resize(_size837); + uint32_t _i841; + for (_i841 = 0; _i841 < _size837; ++_i841) { - xfer += iprot->readString((*(this->success))[_i836]); + xfer += iprot->readString((*(this->success))[_i841]); } xfer += iprot->readListEnd(); } @@ -20886,14 +20886,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size837; - ::apache::thrift::protocol::TType _etype840; - xfer += iprot->readListBegin(_etype840, _size837); - this->success.resize(_size837); - uint32_t _i841; - for (_i841 = 0; _i841 < _size837; ++_i841) + uint32_t _size842; + ::apache::thrift::protocol::TType _etype845; + xfer += iprot->readListBegin(_etype845, _size842); + this->success.resize(_size842); + uint32_t _i846; + for (_i846 = 0; _i846 < _size842; ++_i846) { - xfer += iprot->readString(this->success[_i841]); + xfer += iprot->readString(this->success[_i846]); } xfer += iprot->readListEnd(); } @@ -20932,10 +20932,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 _iter842; - for (_iter842 = this->success.begin(); _iter842 != this->success.end(); ++_iter842) + std::vector ::const_iterator _iter847; + for (_iter847 = this->success.begin(); _iter847 != this->success.end(); ++_iter847) { - xfer += oprot->writeString((*_iter842)); + xfer += oprot->writeString((*_iter847)); } xfer += oprot->writeListEnd(); } @@ -20974,14 +20974,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size843; - ::apache::thrift::protocol::TType _etype846; - xfer += iprot->readListBegin(_etype846, _size843); - (*(this->success)).resize(_size843); - uint32_t _i847; - for (_i847 = 0; _i847 < _size843; ++_i847) + uint32_t _size848; + ::apache::thrift::protocol::TType _etype851; + xfer += iprot->readListBegin(_etype851, _size848); + (*(this->success)).resize(_size848); + uint32_t _i852; + for (_i852 = 0; _i852 < _size848; ++_i852) { - xfer += iprot->readString((*(this->success))[_i847]); + xfer += iprot->readString((*(this->success))[_i852]); } xfer += iprot->readListEnd(); } @@ -21661,14 +21661,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size848; - ::apache::thrift::protocol::TType _etype851; - xfer += iprot->readListBegin(_etype851, _size848); - this->success.resize(_size848); - uint32_t _i852; - for (_i852 = 0; _i852 < _size848; ++_i852) + uint32_t _size853; + ::apache::thrift::protocol::TType _etype856; + xfer += iprot->readListBegin(_etype856, _size853); + this->success.resize(_size853); + uint32_t _i857; + for (_i857 = 0; _i857 < _size853; ++_i857) { - xfer += iprot->readString(this->success[_i852]); + xfer += iprot->readString(this->success[_i857]); } xfer += iprot->readListEnd(); } @@ -21707,10 +21707,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 _iter853; - for (_iter853 = this->success.begin(); _iter853 != this->success.end(); ++_iter853) + std::vector ::const_iterator _iter858; + for (_iter858 = this->success.begin(); _iter858 != this->success.end(); ++_iter858) { - xfer += oprot->writeString((*_iter853)); + xfer += oprot->writeString((*_iter858)); } xfer += oprot->writeListEnd(); } @@ -21749,14 +21749,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size854; - ::apache::thrift::protocol::TType _etype857; - xfer += iprot->readListBegin(_etype857, _size854); - (*(this->success)).resize(_size854); - uint32_t _i858; - for (_i858 = 0; _i858 < _size854; ++_i858) + uint32_t _size859; + ::apache::thrift::protocol::TType _etype862; + xfer += iprot->readListBegin(_etype862, _size859); + (*(this->success)).resize(_size859); + uint32_t _i863; + for (_i863 = 0; _i863 < _size859; ++_i863) { - xfer += iprot->readString((*(this->success))[_i858]); + xfer += iprot->readString((*(this->success))[_i863]); } xfer += iprot->readListEnd(); } @@ -21823,9 +21823,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast859; - xfer += iprot->readI32(ecast859); - this->principal_type = (PrincipalType::type)ecast859; + int32_t ecast864; + xfer += iprot->readI32(ecast864); + this->principal_type = (PrincipalType::type)ecast864; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -21841,9 +21841,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast860; - xfer += iprot->readI32(ecast860); - this->grantorType = (PrincipalType::type)ecast860; + int32_t ecast865; + xfer += iprot->readI32(ecast865); + this->grantorType = (PrincipalType::type)ecast865; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -22089,9 +22089,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast861; - xfer += iprot->readI32(ecast861); - this->principal_type = (PrincipalType::type)ecast861; + int32_t ecast866; + xfer += iprot->readI32(ecast866); + this->principal_type = (PrincipalType::type)ecast866; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -22297,9 +22297,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast862; - xfer += iprot->readI32(ecast862); - this->principal_type = (PrincipalType::type)ecast862; + int32_t ecast867; + xfer += iprot->readI32(ecast867); + this->principal_type = (PrincipalType::type)ecast867; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -22375,14 +22375,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size863; - ::apache::thrift::protocol::TType _etype866; - xfer += iprot->readListBegin(_etype866, _size863); - this->success.resize(_size863); - uint32_t _i867; - for (_i867 = 0; _i867 < _size863; ++_i867) + uint32_t _size868; + ::apache::thrift::protocol::TType _etype871; + xfer += iprot->readListBegin(_etype871, _size868); + this->success.resize(_size868); + uint32_t _i872; + for (_i872 = 0; _i872 < _size868; ++_i872) { - xfer += this->success[_i867].read(iprot); + xfer += this->success[_i872].read(iprot); } xfer += iprot->readListEnd(); } @@ -22421,10 +22421,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 _iter868; - for (_iter868 = this->success.begin(); _iter868 != this->success.end(); ++_iter868) + std::vector ::const_iterator _iter873; + for (_iter873 = this->success.begin(); _iter873 != this->success.end(); ++_iter873) { - xfer += (*_iter868).write(oprot); + xfer += (*_iter873).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22463,14 +22463,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size869; - ::apache::thrift::protocol::TType _etype872; - xfer += iprot->readListBegin(_etype872, _size869); - (*(this->success)).resize(_size869); - uint32_t _i873; - for (_i873 = 0; _i873 < _size869; ++_i873) + uint32_t _size874; + ::apache::thrift::protocol::TType _etype877; + xfer += iprot->readListBegin(_etype877, _size874); + (*(this->success)).resize(_size874); + uint32_t _i878; + for (_i878 = 0; _i878 < _size874; ++_i878) { - xfer += (*(this->success))[_i873].read(iprot); + xfer += (*(this->success))[_i878].read(iprot); } xfer += iprot->readListEnd(); } @@ -23085,14 +23085,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 _size874; - ::apache::thrift::protocol::TType _etype877; - xfer += iprot->readListBegin(_etype877, _size874); - this->group_names.resize(_size874); - uint32_t _i878; - for (_i878 = 0; _i878 < _size874; ++_i878) + uint32_t _size879; + ::apache::thrift::protocol::TType _etype882; + xfer += iprot->readListBegin(_etype882, _size879); + this->group_names.resize(_size879); + uint32_t _i883; + for (_i883 = 0; _i883 < _size879; ++_i883) { - xfer += iprot->readString(this->group_names[_i878]); + xfer += iprot->readString(this->group_names[_i883]); } xfer += iprot->readListEnd(); } @@ -23128,10 +23128,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 _iter879; - for (_iter879 = this->group_names.begin(); _iter879 != this->group_names.end(); ++_iter879) + std::vector ::const_iterator _iter884; + for (_iter884 = this->group_names.begin(); _iter884 != this->group_names.end(); ++_iter884) { - xfer += oprot->writeString((*_iter879)); + xfer += oprot->writeString((*_iter884)); } xfer += oprot->writeListEnd(); } @@ -23157,10 +23157,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 _iter880; - for (_iter880 = (*(this->group_names)).begin(); _iter880 != (*(this->group_names)).end(); ++_iter880) + std::vector ::const_iterator _iter885; + for (_iter885 = (*(this->group_names)).begin(); _iter885 != (*(this->group_names)).end(); ++_iter885) { - xfer += oprot->writeString((*_iter880)); + xfer += oprot->writeString((*_iter885)); } xfer += oprot->writeListEnd(); } @@ -23317,9 +23317,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast881; - xfer += iprot->readI32(ecast881); - this->principal_type = (PrincipalType::type)ecast881; + int32_t ecast886; + xfer += iprot->readI32(ecast886); + this->principal_type = (PrincipalType::type)ecast886; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -23411,14 +23411,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size882; - ::apache::thrift::protocol::TType _etype885; - xfer += iprot->readListBegin(_etype885, _size882); - this->success.resize(_size882); - uint32_t _i886; - for (_i886 = 0; _i886 < _size882; ++_i886) + uint32_t _size887; + ::apache::thrift::protocol::TType _etype890; + xfer += iprot->readListBegin(_etype890, _size887); + this->success.resize(_size887); + uint32_t _i891; + for (_i891 = 0; _i891 < _size887; ++_i891) { - xfer += this->success[_i886].read(iprot); + xfer += this->success[_i891].read(iprot); } xfer += iprot->readListEnd(); } @@ -23457,10 +23457,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 _iter887; - for (_iter887 = this->success.begin(); _iter887 != this->success.end(); ++_iter887) + std::vector ::const_iterator _iter892; + for (_iter892 = this->success.begin(); _iter892 != this->success.end(); ++_iter892) { - xfer += (*_iter887).write(oprot); + xfer += (*_iter892).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23499,14 +23499,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size888; - ::apache::thrift::protocol::TType _etype891; - xfer += iprot->readListBegin(_etype891, _size888); - (*(this->success)).resize(_size888); - uint32_t _i892; - for (_i892 = 0; _i892 < _size888; ++_i892) + uint32_t _size893; + ::apache::thrift::protocol::TType _etype896; + xfer += iprot->readListBegin(_etype896, _size893); + (*(this->success)).resize(_size893); + uint32_t _i897; + for (_i897 = 0; _i897 < _size893; ++_i897) { - xfer += (*(this->success))[_i892].read(iprot); + xfer += (*(this->success))[_i897].read(iprot); } xfer += iprot->readListEnd(); } @@ -24113,14 +24113,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 _size893; - ::apache::thrift::protocol::TType _etype896; - xfer += iprot->readListBegin(_etype896, _size893); - this->group_names.resize(_size893); - uint32_t _i897; - for (_i897 = 0; _i897 < _size893; ++_i897) + uint32_t _size898; + ::apache::thrift::protocol::TType _etype901; + xfer += iprot->readListBegin(_etype901, _size898); + this->group_names.resize(_size898); + uint32_t _i902; + for (_i902 = 0; _i902 < _size898; ++_i902) { - xfer += iprot->readString(this->group_names[_i897]); + xfer += iprot->readString(this->group_names[_i902]); } xfer += iprot->readListEnd(); } @@ -24152,10 +24152,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 _iter898; - for (_iter898 = this->group_names.begin(); _iter898 != this->group_names.end(); ++_iter898) + std::vector ::const_iterator _iter903; + for (_iter903 = this->group_names.begin(); _iter903 != this->group_names.end(); ++_iter903) { - xfer += oprot->writeString((*_iter898)); + xfer += oprot->writeString((*_iter903)); } xfer += oprot->writeListEnd(); } @@ -24177,10 +24177,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 _iter899; - for (_iter899 = (*(this->group_names)).begin(); _iter899 != (*(this->group_names)).end(); ++_iter899) + std::vector ::const_iterator _iter904; + for (_iter904 = (*(this->group_names)).begin(); _iter904 != (*(this->group_names)).end(); ++_iter904) { - xfer += oprot->writeString((*_iter899)); + xfer += oprot->writeString((*_iter904)); } xfer += oprot->writeListEnd(); } @@ -24215,14 +24215,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size900; - ::apache::thrift::protocol::TType _etype903; - xfer += iprot->readListBegin(_etype903, _size900); - this->success.resize(_size900); - uint32_t _i904; - for (_i904 = 0; _i904 < _size900; ++_i904) + uint32_t _size905; + ::apache::thrift::protocol::TType _etype908; + xfer += iprot->readListBegin(_etype908, _size905); + this->success.resize(_size905); + uint32_t _i909; + for (_i909 = 0; _i909 < _size905; ++_i909) { - xfer += iprot->readString(this->success[_i904]); + xfer += iprot->readString(this->success[_i909]); } xfer += iprot->readListEnd(); } @@ -24261,10 +24261,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 _iter905; - for (_iter905 = this->success.begin(); _iter905 != this->success.end(); ++_iter905) + std::vector ::const_iterator _iter910; + for (_iter910 = this->success.begin(); _iter910 != this->success.end(); ++_iter910) { - xfer += oprot->writeString((*_iter905)); + xfer += oprot->writeString((*_iter910)); } xfer += oprot->writeListEnd(); } @@ -24303,14 +24303,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size906; - ::apache::thrift::protocol::TType _etype909; - xfer += iprot->readListBegin(_etype909, _size906); - (*(this->success)).resize(_size906); - uint32_t _i910; - for (_i910 = 0; _i910 < _size906; ++_i910) + uint32_t _size911; + ::apache::thrift::protocol::TType _etype914; + xfer += iprot->readListBegin(_etype914, _size911); + (*(this->success)).resize(_size911); + uint32_t _i915; + for (_i915 = 0; _i915 < _size911; ++_i915) { - xfer += iprot->readString((*(this->success))[_i910]); + xfer += iprot->readString((*(this->success))[_i915]); } xfer += iprot->readListEnd(); } @@ -27397,7 +27397,7 @@ uint32_t ThriftHiveMetastore_get_current_notificationEventId_presult::read(::apa return xfer; } -uint32_t ThriftHiveMetastore_fire_notification_event_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_fire_listener_event_args::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; std::string fname; @@ -27437,9 +27437,9 @@ uint32_t ThriftHiveMetastore_fire_notification_event_args::read(::apache::thrift return xfer; } -uint32_t ThriftHiveMetastore_fire_notification_event_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_fire_listener_event_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("ThriftHiveMetastore_fire_notification_event_args"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_fire_listener_event_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->rqst.write(oprot); @@ -27450,9 +27450,9 @@ uint32_t ThriftHiveMetastore_fire_notification_event_args::write(::apache::thrif return xfer; } -uint32_t ThriftHiveMetastore_fire_notification_event_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_fire_listener_event_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("ThriftHiveMetastore_fire_notification_event_pargs"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_fire_listener_event_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->rqst)).write(oprot); @@ -27463,7 +27463,7 @@ uint32_t ThriftHiveMetastore_fire_notification_event_pargs::write(::apache::thri return xfer; } -uint32_t ThriftHiveMetastore_fire_notification_event_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_fire_listener_event_result::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; std::string fname; @@ -27481,7 +27481,20 @@ uint32_t ThriftHiveMetastore_fire_notification_event_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_STOP) { break; } - xfer += iprot->skip(ftype); + 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; + default: + xfer += iprot->skip(ftype); + break; + } xfer += iprot->readFieldEnd(); } @@ -27490,18 +27503,23 @@ uint32_t ThriftHiveMetastore_fire_notification_event_result::read(::apache::thri return xfer; } -uint32_t ThriftHiveMetastore_fire_notification_event_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_fire_listener_event_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("ThriftHiveMetastore_fire_notification_event_result"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_fire_listener_event_result"); + if (this->__isset.success) { + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); + xfer += this->success.write(oprot); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; } -uint32_t ThriftHiveMetastore_fire_notification_event_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_fire_listener_event_presult::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; std::string fname; @@ -27519,7 +27537,20 @@ uint32_t ThriftHiveMetastore_fire_notification_event_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_STOP) { break; } - xfer += iprot->skip(ftype); + 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; + default: + xfer += iprot->skip(ftype); + break; + } xfer += iprot->readFieldEnd(); } @@ -35154,18 +35185,18 @@ void ThriftHiveMetastoreClient::recv_get_current_notificationEventId(CurrentNoti throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_current_notificationEventId failed: unknown result"); } -void ThriftHiveMetastoreClient::fire_notification_event(const FireEventRequest& rqst) +void ThriftHiveMetastoreClient::fire_listener_event(FireEventResponse& _return, const FireEventRequest& rqst) { - send_fire_notification_event(rqst); - recv_fire_notification_event(); + send_fire_listener_event(rqst); + recv_fire_listener_event(_return); } -void ThriftHiveMetastoreClient::send_fire_notification_event(const FireEventRequest& rqst) +void ThriftHiveMetastoreClient::send_fire_listener_event(const FireEventRequest& rqst) { int32_t cseqid = 0; - oprot_->writeMessageBegin("fire_notification_event", ::apache::thrift::protocol::T_CALL, cseqid); + oprot_->writeMessageBegin("fire_listener_event", ::apache::thrift::protocol::T_CALL, cseqid); - ThriftHiveMetastore_fire_notification_event_pargs args; + ThriftHiveMetastore_fire_listener_event_pargs args; args.rqst = &rqst; args.write(oprot_); @@ -35174,7 +35205,7 @@ void ThriftHiveMetastoreClient::send_fire_notification_event(const FireEventRequ oprot_->getTransport()->flush(); } -void ThriftHiveMetastoreClient::recv_fire_notification_event() +void ThriftHiveMetastoreClient::recv_fire_listener_event(FireEventResponse& _return) { int32_t rseqid = 0; @@ -35194,17 +35225,22 @@ void ThriftHiveMetastoreClient::recv_fire_notification_event() iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); } - if (fname.compare("fire_notification_event") != 0) { + if (fname.compare("fire_listener_event") != 0) { iprot_->skip(::apache::thrift::protocol::T_STRUCT); iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); } - ThriftHiveMetastore_fire_notification_event_presult result; + ThriftHiveMetastore_fire_listener_event_presult result; + result.success = &_return; result.read(iprot_); iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); - return; + if (result.__isset.success) { + // _return pointer has now been filled + return; + } + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "fire_listener_event failed: unknown result"); } bool ThriftHiveMetastoreProcessor::dispatchCall(::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, const std::string& fname, int32_t seqid, void* callContext) { @@ -42325,37 +42361,38 @@ void ThriftHiveMetastoreProcessor::process_get_current_notificationEventId(int32 } } -void ThriftHiveMetastoreProcessor::process_fire_notification_event(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) +void ThriftHiveMetastoreProcessor::process_fire_listener_event(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.fire_notification_event", callContext); + ctx = this->eventHandler_->getContext("ThriftHiveMetastore.fire_listener_event", callContext); } - ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "ThriftHiveMetastore.fire_notification_event"); + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "ThriftHiveMetastore.fire_listener_event"); if (this->eventHandler_.get() != NULL) { - this->eventHandler_->preRead(ctx, "ThriftHiveMetastore.fire_notification_event"); + this->eventHandler_->preRead(ctx, "ThriftHiveMetastore.fire_listener_event"); } - ThriftHiveMetastore_fire_notification_event_args args; + ThriftHiveMetastore_fire_listener_event_args args; args.read(iprot); iprot->readMessageEnd(); uint32_t bytes = iprot->getTransport()->readEnd(); if (this->eventHandler_.get() != NULL) { - this->eventHandler_->postRead(ctx, "ThriftHiveMetastore.fire_notification_event", bytes); + this->eventHandler_->postRead(ctx, "ThriftHiveMetastore.fire_listener_event", bytes); } - ThriftHiveMetastore_fire_notification_event_result result; + ThriftHiveMetastore_fire_listener_event_result result; try { - iface_->fire_notification_event(args.rqst); + iface_->fire_listener_event(result.success, args.rqst); + result.__isset.success = true; } catch (const std::exception& e) { if (this->eventHandler_.get() != NULL) { - this->eventHandler_->handlerError(ctx, "ThriftHiveMetastore.fire_notification_event"); + this->eventHandler_->handlerError(ctx, "ThriftHiveMetastore.fire_listener_event"); } ::apache::thrift::TApplicationException x(e.what()); - oprot->writeMessageBegin("fire_notification_event", ::apache::thrift::protocol::T_EXCEPTION, seqid); + oprot->writeMessageBegin("fire_listener_event", ::apache::thrift::protocol::T_EXCEPTION, seqid); x.write(oprot); oprot->writeMessageEnd(); oprot->getTransport()->writeEnd(); @@ -42364,17 +42401,17 @@ void ThriftHiveMetastoreProcessor::process_fire_notification_event(int32_t seqid } if (this->eventHandler_.get() != NULL) { - this->eventHandler_->preWrite(ctx, "ThriftHiveMetastore.fire_notification_event"); + this->eventHandler_->preWrite(ctx, "ThriftHiveMetastore.fire_listener_event"); } - oprot->writeMessageBegin("fire_notification_event", ::apache::thrift::protocol::T_REPLY, seqid); + oprot->writeMessageBegin("fire_listener_event", ::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.fire_notification_event", bytes); + this->eventHandler_->postWrite(ctx, "ThriftHiveMetastore.fire_listener_event", bytes); } } diff --git metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h index 56ade15..dfa4f2a 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h @@ -135,7 +135,7 @@ class ThriftHiveMetastoreIf : virtual public ::facebook::fb303::FacebookService virtual void show_compact(ShowCompactResponse& _return, const ShowCompactRequest& rqst) = 0; virtual void get_next_notification(NotificationEventResponse& _return, const NotificationEventRequest& rqst) = 0; virtual void get_current_notificationEventId(CurrentNotificationEventId& _return) = 0; - virtual void fire_notification_event(const FireEventRequest& rqst) = 0; + virtual void fire_listener_event(FireEventResponse& _return, const FireEventRequest& rqst) = 0; }; class ThriftHiveMetastoreIfFactory : virtual public ::facebook::fb303::FacebookServiceIfFactory { @@ -545,7 +545,7 @@ class ThriftHiveMetastoreNull : virtual public ThriftHiveMetastoreIf , virtual p void get_current_notificationEventId(CurrentNotificationEventId& /* _return */) { return; } - void fire_notification_event(const FireEventRequest& /* rqst */) { + void fire_listener_event(FireEventResponse& /* _return */, const FireEventRequest& /* rqst */) { return; } }; @@ -16781,38 +16781,38 @@ class ThriftHiveMetastore_get_current_notificationEventId_presult { }; -typedef struct _ThriftHiveMetastore_fire_notification_event_args__isset { - _ThriftHiveMetastore_fire_notification_event_args__isset() : rqst(false) {} +typedef struct _ThriftHiveMetastore_fire_listener_event_args__isset { + _ThriftHiveMetastore_fire_listener_event_args__isset() : rqst(false) {} bool rqst; -} _ThriftHiveMetastore_fire_notification_event_args__isset; +} _ThriftHiveMetastore_fire_listener_event_args__isset; -class ThriftHiveMetastore_fire_notification_event_args { +class ThriftHiveMetastore_fire_listener_event_args { public: - ThriftHiveMetastore_fire_notification_event_args() { + ThriftHiveMetastore_fire_listener_event_args() { } - virtual ~ThriftHiveMetastore_fire_notification_event_args() throw() {} + virtual ~ThriftHiveMetastore_fire_listener_event_args() throw() {} FireEventRequest rqst; - _ThriftHiveMetastore_fire_notification_event_args__isset __isset; + _ThriftHiveMetastore_fire_listener_event_args__isset __isset; void __set_rqst(const FireEventRequest& val) { rqst = val; } - bool operator == (const ThriftHiveMetastore_fire_notification_event_args & rhs) const + bool operator == (const ThriftHiveMetastore_fire_listener_event_args & rhs) const { if (!(rqst == rhs.rqst)) return false; return true; } - bool operator != (const ThriftHiveMetastore_fire_notification_event_args &rhs) const { + bool operator != (const ThriftHiveMetastore_fire_listener_event_args &rhs) const { return !(*this == rhs); } - bool operator < (const ThriftHiveMetastore_fire_notification_event_args & ) const; + bool operator < (const ThriftHiveMetastore_fire_listener_event_args & ) const; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; @@ -16820,11 +16820,11 @@ class ThriftHiveMetastore_fire_notification_event_args { }; -class ThriftHiveMetastore_fire_notification_event_pargs { +class ThriftHiveMetastore_fire_listener_event_pargs { public: - virtual ~ThriftHiveMetastore_fire_notification_event_pargs() throw() {} + virtual ~ThriftHiveMetastore_fire_listener_event_pargs() throw() {} const FireEventRequest* rqst; @@ -16832,38 +16832,58 @@ class ThriftHiveMetastore_fire_notification_event_pargs { }; +typedef struct _ThriftHiveMetastore_fire_listener_event_result__isset { + _ThriftHiveMetastore_fire_listener_event_result__isset() : success(false) {} + bool success; +} _ThriftHiveMetastore_fire_listener_event_result__isset; -class ThriftHiveMetastore_fire_notification_event_result { +class ThriftHiveMetastore_fire_listener_event_result { public: - ThriftHiveMetastore_fire_notification_event_result() { + ThriftHiveMetastore_fire_listener_event_result() { } - virtual ~ThriftHiveMetastore_fire_notification_event_result() throw() {} + virtual ~ThriftHiveMetastore_fire_listener_event_result() throw() {} + + FireEventResponse success; + + _ThriftHiveMetastore_fire_listener_event_result__isset __isset; + void __set_success(const FireEventResponse& val) { + success = val; + } - bool operator == (const ThriftHiveMetastore_fire_notification_event_result & /* rhs */) const + bool operator == (const ThriftHiveMetastore_fire_listener_event_result & rhs) const { + if (!(success == rhs.success)) + return false; return true; } - bool operator != (const ThriftHiveMetastore_fire_notification_event_result &rhs) const { + bool operator != (const ThriftHiveMetastore_fire_listener_event_result &rhs) const { return !(*this == rhs); } - bool operator < (const ThriftHiveMetastore_fire_notification_event_result & ) const; + bool operator < (const ThriftHiveMetastore_fire_listener_event_result & ) const; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; }; +typedef struct _ThriftHiveMetastore_fire_listener_event_presult__isset { + _ThriftHiveMetastore_fire_listener_event_presult__isset() : success(false) {} + bool success; +} _ThriftHiveMetastore_fire_listener_event_presult__isset; -class ThriftHiveMetastore_fire_notification_event_presult { +class ThriftHiveMetastore_fire_listener_event_presult { public: - virtual ~ThriftHiveMetastore_fire_notification_event_presult() throw() {} + virtual ~ThriftHiveMetastore_fire_listener_event_presult() throw() {} + FireEventResponse* success; + + _ThriftHiveMetastore_fire_listener_event_presult__isset __isset; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); @@ -17238,9 +17258,9 @@ class ThriftHiveMetastoreClient : virtual public ThriftHiveMetastoreIf, public void get_current_notificationEventId(CurrentNotificationEventId& _return); void send_get_current_notificationEventId(); void recv_get_current_notificationEventId(CurrentNotificationEventId& _return); - void fire_notification_event(const FireEventRequest& rqst); - void send_fire_notification_event(const FireEventRequest& rqst); - void recv_fire_notification_event(); + void fire_listener_event(FireEventResponse& _return, const FireEventRequest& rqst); + void send_fire_listener_event(const FireEventRequest& rqst); + void recv_fire_listener_event(FireEventResponse& _return); }; class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceProcessor { @@ -17370,7 +17390,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP void process_show_compact(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_next_notification(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_current_notificationEventId(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); - void process_fire_notification_event(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); + void process_fire_listener_event(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); public: ThriftHiveMetastoreProcessor(boost::shared_ptr iface) : ::facebook::fb303::FacebookServiceProcessor(iface), @@ -17494,7 +17514,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP processMap_["show_compact"] = &ThriftHiveMetastoreProcessor::process_show_compact; processMap_["get_next_notification"] = &ThriftHiveMetastoreProcessor::process_get_next_notification; processMap_["get_current_notificationEventId"] = &ThriftHiveMetastoreProcessor::process_get_current_notificationEventId; - processMap_["fire_notification_event"] = &ThriftHiveMetastoreProcessor::process_fire_notification_event; + processMap_["fire_listener_event"] = &ThriftHiveMetastoreProcessor::process_fire_listener_event; } virtual ~ThriftHiveMetastoreProcessor() {} @@ -18669,13 +18689,14 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi return; } - void fire_notification_event(const FireEventRequest& rqst) { + void fire_listener_event(FireEventResponse& _return, const FireEventRequest& rqst) { size_t sz = ifaces_.size(); size_t i = 0; for (; i < (sz - 1); ++i) { - ifaces_[i]->fire_notification_event(rqst); + ifaces_[i]->fire_listener_event(_return, rqst); } - ifaces_[i]->fire_notification_event(rqst); + ifaces_[i]->fire_listener_event(_return, rqst); + return; } }; diff --git metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp index 7ebcc12..b33e40b 100644 --- metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp +++ metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp @@ -617,9 +617,9 @@ class ThriftHiveMetastoreHandler : virtual public ThriftHiveMetastoreIf { printf("get_current_notificationEventId\n"); } - void fire_notification_event(const FireEventRequest& rqst) { + void fire_listener_event(FireEventResponse& _return, const FireEventRequest& rqst) { // Your implementation goes here - printf("fire_notification_event\n"); + printf("fire_listener_event\n"); } }; diff --git metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp index ea43802..55374de 100644 --- metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp +++ metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp @@ -9662,10 +9662,10 @@ void swap(CurrentNotificationEventId &a, CurrentNotificationEventId &b) { swap(a.eventId, b.eventId); } -const char* FireEventRequest::ascii_fingerprint = "252423A2C6348E0FFCA35061FD783C8F"; -const uint8_t FireEventRequest::binary_fingerprint[16] = {0x25,0x24,0x23,0xA2,0xC6,0x34,0x8E,0x0F,0xFC,0xA3,0x50,0x61,0xFD,0x78,0x3C,0x8F}; +const char* InsertEventRequestData::ascii_fingerprint = "ACE4F644F0FDD289DDC4EE5B83BC13C0"; +const uint8_t InsertEventRequestData::binary_fingerprint[16] = {0xAC,0xE4,0xF6,0x44,0xF0,0xFD,0xD2,0x89,0xDD,0xC4,0xEE,0x5B,0x83,0xBC,0x13,0xC0}; -uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* iprot) { uint32_t xfer = 0; std::string fname; @@ -9676,9 +9676,7 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { using ::apache::thrift::protocol::TProtocolException; - bool isset_eventType = false; - bool isset_dbName = false; - bool isset_successful = false; + bool isset_filesAdded = false; while (true) { @@ -9689,16 +9687,153 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { switch (fid) { case 1: - if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast407; - xfer += iprot->readI32(ecast407); - this->eventType = (EventRequestType::type)ecast407; - isset_eventType = true; + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->filesAdded.clear(); + uint32_t _size407; + ::apache::thrift::protocol::TType _etype410; + xfer += iprot->readListBegin(_etype410, _size407); + this->filesAdded.resize(_size407); + uint32_t _i411; + for (_i411 = 0; _i411 < _size407; ++_i411) + { + xfer += iprot->readString(this->filesAdded[_i411]); + } + xfer += iprot->readListEnd(); + } + isset_filesAdded = true; } else { xfer += iprot->skip(ftype); } break; - case 2: + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_filesAdded) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t InsertEventRequestData::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + xfer += oprot->writeStructBegin("InsertEventRequestData"); + + xfer += oprot->writeFieldBegin("filesAdded", ::apache::thrift::protocol::T_LIST, 1); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->filesAdded.size())); + std::vector ::const_iterator _iter412; + for (_iter412 = this->filesAdded.begin(); _iter412 != this->filesAdded.end(); ++_iter412) + { + xfer += oprot->writeString((*_iter412)); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(InsertEventRequestData &a, InsertEventRequestData &b) { + using ::std::swap; + swap(a.filesAdded, b.filesAdded); +} + +const char* FireEventRequestData::ascii_fingerprint = "187E754B26707EE32451E6A27FB672CE"; +const uint8_t FireEventRequestData::binary_fingerprint[16] = {0x18,0x7E,0x75,0x4B,0x26,0x70,0x7E,0xE3,0x24,0x51,0xE6,0xA2,0x7F,0xB6,0x72,0xCE}; + +uint32_t FireEventRequestData::read(::apache::thrift::protocol::TProtocol* iprot) { + + 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->insertData.read(iprot); + this->__isset.insertData = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t FireEventRequestData::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + xfer += oprot->writeStructBegin("FireEventRequestData"); + + xfer += oprot->writeFieldBegin("insertData", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->insertData.write(oprot); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(FireEventRequestData &a, FireEventRequestData &b) { + using ::std::swap; + swap(a.insertData, b.insertData); + swap(a.__isset, b.__isset); +} + +const char* FireEventRequest::ascii_fingerprint = "2BCAEC6831E1669F793B97B3484C0BE8"; +const uint8_t FireEventRequest::binary_fingerprint[16] = {0x2B,0xCA,0xEC,0x68,0x31,0xE1,0x66,0x9F,0x79,0x3B,0x97,0xB3,0x48,0x4C,0x0B,0xE8}; + +uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* 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_dbName = false; + bool isset_successful = 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_STRING) { xfer += iprot->readString(this->dbName); isset_dbName = true; @@ -9706,7 +9841,7 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; - case 3: + case 2: if (ftype == ::apache::thrift::protocol::T_BOOL) { xfer += iprot->readBool(this->successful); isset_successful = true; @@ -9714,7 +9849,7 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; - case 4: + case 3: if (ftype == ::apache::thrift::protocol::T_STRING) { xfer += iprot->readString(this->tableName); this->__isset.tableName = true; @@ -9722,18 +9857,18 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; - case 5: + case 4: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionVals.clear(); - uint32_t _size408; - ::apache::thrift::protocol::TType _etype411; - xfer += iprot->readListBegin(_etype411, _size408); - this->partitionVals.resize(_size408); - uint32_t _i412; - for (_i412 = 0; _i412 < _size408; ++_i412) + uint32_t _size413; + ::apache::thrift::protocol::TType _etype416; + xfer += iprot->readListBegin(_etype416, _size413); + this->partitionVals.resize(_size413); + uint32_t _i417; + for (_i417 = 0; _i417 < _size413; ++_i417) { - xfer += iprot->readString(this->partitionVals[_i412]); + xfer += iprot->readString(this->partitionVals[_i417]); } xfer += iprot->readListEnd(); } @@ -9742,6 +9877,14 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->data.read(iprot); + this->__isset.data = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -9751,8 +9894,6 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->readStructEnd(); - if (!isset_eventType) - throw TProtocolException(TProtocolException::INVALID_DATA); if (!isset_dbName) throw TProtocolException(TProtocolException::INVALID_DATA); if (!isset_successful) @@ -9764,36 +9905,37 @@ uint32_t FireEventRequest::write(::apache::thrift::protocol::TProtocol* oprot) c uint32_t xfer = 0; xfer += oprot->writeStructBegin("FireEventRequest"); - xfer += oprot->writeFieldBegin("eventType", ::apache::thrift::protocol::T_I32, 1); - xfer += oprot->writeI32((int32_t)this->eventType); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); xfer += oprot->writeString(this->dbName); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("successful", ::apache::thrift::protocol::T_BOOL, 3); + xfer += oprot->writeFieldBegin("successful", ::apache::thrift::protocol::T_BOOL, 2); xfer += oprot->writeBool(this->successful); xfer += oprot->writeFieldEnd(); if (this->__isset.tableName) { - xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 3); xfer += oprot->writeString(this->tableName); xfer += oprot->writeFieldEnd(); } if (this->__isset.partitionVals) { - xfer += oprot->writeFieldBegin("partitionVals", ::apache::thrift::protocol::T_LIST, 5); + xfer += oprot->writeFieldBegin("partitionVals", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionVals.size())); - std::vector ::const_iterator _iter413; - for (_iter413 = this->partitionVals.begin(); _iter413 != this->partitionVals.end(); ++_iter413) + std::vector ::const_iterator _iter418; + for (_iter418 = this->partitionVals.begin(); _iter418 != this->partitionVals.end(); ++_iter418) { - xfer += oprot->writeString((*_iter413)); + xfer += oprot->writeString((*_iter418)); } xfer += oprot->writeListEnd(); } xfer += oprot->writeFieldEnd(); } + if (this->__isset.data) { + xfer += oprot->writeFieldBegin("data", ::apache::thrift::protocol::T_STRUCT, 5); + xfer += this->data.write(oprot); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -9801,14 +9943,59 @@ uint32_t FireEventRequest::write(::apache::thrift::protocol::TProtocol* oprot) c void swap(FireEventRequest &a, FireEventRequest &b) { using ::std::swap; - swap(a.eventType, b.eventType); swap(a.dbName, b.dbName); swap(a.successful, b.successful); swap(a.tableName, b.tableName); swap(a.partitionVals, b.partitionVals); + swap(a.data, b.data); swap(a.__isset, b.__isset); } +const char* FireEventResponse::ascii_fingerprint = "99914B932BD37A50B983C5E7C90AE93B"; +const uint8_t FireEventResponse::binary_fingerprint[16] = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; + +uint32_t FireEventResponse::read(::apache::thrift::protocol::TProtocol* iprot) { + + 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; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t FireEventResponse::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + xfer += oprot->writeStructBegin("FireEventResponse"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(FireEventResponse &a, FireEventResponse &b) { + using ::std::swap; + (void) a; + (void) b; +} + const char* MetaException::ascii_fingerprint = "EFB929595D312AC8F305D5A794CFEDA1"; const uint8_t MetaException::binary_fingerprint[16] = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1}; diff --git metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h index bd936ab..675e87b 100644 --- metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h +++ metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h @@ -5300,35 +5300,112 @@ class CurrentNotificationEventId { void swap(CurrentNotificationEventId &a, CurrentNotificationEventId &b); + +class InsertEventRequestData { + public: + + static const char* ascii_fingerprint; // = "ACE4F644F0FDD289DDC4EE5B83BC13C0"; + static const uint8_t binary_fingerprint[16]; // = {0xAC,0xE4,0xF6,0x44,0xF0,0xFD,0xD2,0x89,0xDD,0xC4,0xEE,0x5B,0x83,0xBC,0x13,0xC0}; + + InsertEventRequestData() { + } + + virtual ~InsertEventRequestData() throw() {} + + std::vector filesAdded; + + void __set_filesAdded(const std::vector & val) { + filesAdded = val; + } + + bool operator == (const InsertEventRequestData & rhs) const + { + if (!(filesAdded == rhs.filesAdded)) + return false; + return true; + } + bool operator != (const InsertEventRequestData &rhs) const { + return !(*this == rhs); + } + + bool operator < (const InsertEventRequestData & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +void swap(InsertEventRequestData &a, InsertEventRequestData &b); + +typedef struct _FireEventRequestData__isset { + _FireEventRequestData__isset() : insertData(false) {} + bool insertData; +} _FireEventRequestData__isset; + +class FireEventRequestData { + public: + + static const char* ascii_fingerprint; // = "187E754B26707EE32451E6A27FB672CE"; + static const uint8_t binary_fingerprint[16]; // = {0x18,0x7E,0x75,0x4B,0x26,0x70,0x7E,0xE3,0x24,0x51,0xE6,0xA2,0x7F,0xB6,0x72,0xCE}; + + FireEventRequestData() { + } + + virtual ~FireEventRequestData() throw() {} + + InsertEventRequestData insertData; + + _FireEventRequestData__isset __isset; + + void __set_insertData(const InsertEventRequestData& val) { + insertData = val; + } + + bool operator == (const FireEventRequestData & rhs) const + { + if (!(insertData == rhs.insertData)) + return false; + return true; + } + bool operator != (const FireEventRequestData &rhs) const { + return !(*this == rhs); + } + + bool operator < (const FireEventRequestData & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +void swap(FireEventRequestData &a, FireEventRequestData &b); + typedef struct _FireEventRequest__isset { - _FireEventRequest__isset() : tableName(false), partitionVals(false) {} + _FireEventRequest__isset() : tableName(false), partitionVals(false), data(false) {} bool tableName; bool partitionVals; + bool data; } _FireEventRequest__isset; class FireEventRequest { public: - static const char* ascii_fingerprint; // = "252423A2C6348E0FFCA35061FD783C8F"; - static const uint8_t binary_fingerprint[16]; // = {0x25,0x24,0x23,0xA2,0xC6,0x34,0x8E,0x0F,0xFC,0xA3,0x50,0x61,0xFD,0x78,0x3C,0x8F}; + static const char* ascii_fingerprint; // = "2BCAEC6831E1669F793B97B3484C0BE8"; + static const uint8_t binary_fingerprint[16]; // = {0x2B,0xCA,0xEC,0x68,0x31,0xE1,0x66,0x9F,0x79,0x3B,0x97,0xB3,0x48,0x4C,0x0B,0xE8}; - FireEventRequest() : eventType((EventRequestType::type)0), dbName(), successful(0), tableName() { + FireEventRequest() : dbName(), successful(0), tableName() { } virtual ~FireEventRequest() throw() {} - EventRequestType::type eventType; std::string dbName; bool successful; std::string tableName; std::vector partitionVals; + FireEventRequestData data; _FireEventRequest__isset __isset; - void __set_eventType(const EventRequestType::type val) { - eventType = val; - } - void __set_dbName(const std::string& val) { dbName = val; } @@ -5347,10 +5424,13 @@ class FireEventRequest { __isset.partitionVals = true; } + void __set_data(const FireEventRequestData& val) { + data = val; + __isset.data = true; + } + bool operator == (const FireEventRequest & rhs) const { - if (!(eventType == rhs.eventType)) - return false; if (!(dbName == rhs.dbName)) return false; if (!(successful == rhs.successful)) @@ -5363,6 +5443,10 @@ class FireEventRequest { return false; else if (__isset.partitionVals && !(partitionVals == rhs.partitionVals)) return false; + if (__isset.data != rhs.__isset.data) + return false; + else if (__isset.data && !(data == rhs.data)) + return false; return true; } bool operator != (const FireEventRequest &rhs) const { @@ -5378,6 +5462,36 @@ class FireEventRequest { void swap(FireEventRequest &a, FireEventRequest &b); + +class FireEventResponse { + public: + + static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B"; + static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B}; + + FireEventResponse() { + } + + virtual ~FireEventResponse() throw() {} + + + bool operator == (const FireEventResponse & /* rhs */) const + { + return true; + } + bool operator != (const FireEventResponse &rhs) const { + return !(*this == rhs); + } + + bool operator < (const FireEventResponse & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + +void swap(FireEventResponse &a, FireEventResponse &b); + typedef struct _MetaException__isset { _MetaException__isset() : message(false) {} bool message; diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java index 3e837f8..3a969f3 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java @@ -34,11 +34,11 @@ public class FireEventRequest implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("FireEventRequest"); - private static final org.apache.thrift.protocol.TField EVENT_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("eventType", org.apache.thrift.protocol.TType.I32, (short)1); - private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbName", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField SUCCESSFUL_FIELD_DESC = new org.apache.thrift.protocol.TField("successful", org.apache.thrift.protocol.TType.BOOL, (short)3); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)4); - private static final org.apache.thrift.protocol.TField PARTITION_VALS_FIELD_DESC = new org.apache.thrift.protocol.TField("partitionVals", org.apache.thrift.protocol.TType.LIST, (short)5); + private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbName", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.thrift.protocol.TField SUCCESSFUL_FIELD_DESC = new org.apache.thrift.protocol.TField("successful", org.apache.thrift.protocol.TType.BOOL, (short)2); + private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tableName", org.apache.thrift.protocol.TType.STRING, (short)3); + private static final org.apache.thrift.protocol.TField PARTITION_VALS_FIELD_DESC = new org.apache.thrift.protocol.TField("partitionVals", org.apache.thrift.protocol.TType.LIST, (short)4); + private static final org.apache.thrift.protocol.TField DATA_FIELD_DESC = new org.apache.thrift.protocol.TField("data", org.apache.thrift.protocol.TType.STRUCT, (short)5); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -46,23 +46,19 @@ schemes.put(TupleScheme.class, new FireEventRequestTupleSchemeFactory()); } - private EventRequestType eventType; // required private String dbName; // required private boolean successful; // required private String tableName; // optional private List partitionVals; // optional + private FireEventRequestData data; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - /** - * - * @see EventRequestType - */ - EVENT_TYPE((short)1, "eventType"), - DB_NAME((short)2, "dbName"), - SUCCESSFUL((short)3, "successful"), - TABLE_NAME((short)4, "tableName"), - PARTITION_VALS((short)5, "partitionVals"); + DB_NAME((short)1, "dbName"), + SUCCESSFUL((short)2, "successful"), + TABLE_NAME((short)3, "tableName"), + PARTITION_VALS((short)4, "partitionVals"), + DATA((short)5, "data"); private static final Map byName = new HashMap(); @@ -77,16 +73,16 @@ */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 1: // EVENT_TYPE - return EVENT_TYPE; - case 2: // DB_NAME + case 1: // DB_NAME return DB_NAME; - case 3: // SUCCESSFUL + case 2: // SUCCESSFUL return SUCCESSFUL; - case 4: // TABLE_NAME + case 3: // TABLE_NAME return TABLE_NAME; - case 5: // PARTITION_VALS + case 4: // PARTITION_VALS return PARTITION_VALS; + case 5: // DATA + return DATA; default: return null; } @@ -129,12 +125,10 @@ public String getFieldName() { // isset id assignments private static final int __SUCCESSFUL_ISSET_ID = 0; private byte __isset_bitfield = 0; - private _Fields optionals[] = {_Fields.TABLE_NAME,_Fields.PARTITION_VALS}; + private _Fields optionals[] = {_Fields.TABLE_NAME,_Fields.PARTITION_VALS,_Fields.DATA}; 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.EVENT_TYPE, new org.apache.thrift.meta_data.FieldMetaData("eventType", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, EventRequestType.class))); tmpMap.put(_Fields.DB_NAME, new org.apache.thrift.meta_data.FieldMetaData("dbName", org.apache.thrift.TFieldRequirementType.REQUIRED, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.SUCCESSFUL, new org.apache.thrift.meta_data.FieldMetaData("successful", org.apache.thrift.TFieldRequirementType.REQUIRED, @@ -144,6 +138,8 @@ public String getFieldName() { tmpMap.put(_Fields.PARTITION_VALS, new org.apache.thrift.meta_data.FieldMetaData("partitionVals", org.apache.thrift.TFieldRequirementType.OPTIONAL, new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.DATA, new org.apache.thrift.meta_data.FieldMetaData("data", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, FireEventRequestData.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(FireEventRequest.class, metaDataMap); } @@ -152,12 +148,10 @@ public FireEventRequest() { } public FireEventRequest( - EventRequestType eventType, String dbName, boolean successful) { this(); - this.eventType = eventType; this.dbName = dbName; this.successful = successful; setSuccessfulIsSet(true); @@ -168,9 +162,6 @@ public FireEventRequest( */ public FireEventRequest(FireEventRequest other) { __isset_bitfield = other.__isset_bitfield; - if (other.isSetEventType()) { - this.eventType = other.eventType; - } if (other.isSetDbName()) { this.dbName = other.dbName; } @@ -185,6 +176,9 @@ public FireEventRequest(FireEventRequest other) { } this.partitionVals = __this__partitionVals; } + if (other.isSetData()) { + this.data = new FireEventRequestData(other.data); + } } public FireEventRequest deepCopy() { @@ -193,43 +187,12 @@ public FireEventRequest deepCopy() { @Override public void clear() { - this.eventType = null; this.dbName = null; setSuccessfulIsSet(false); this.successful = false; this.tableName = null; this.partitionVals = null; - } - - /** - * - * @see EventRequestType - */ - public EventRequestType getEventType() { - return this.eventType; - } - - /** - * - * @see EventRequestType - */ - public void setEventType(EventRequestType eventType) { - this.eventType = eventType; - } - - public void unsetEventType() { - this.eventType = null; - } - - /** Returns true if field eventType is set (has been assigned a value) and false otherwise */ - public boolean isSetEventType() { - return this.eventType != null; - } - - public void setEventTypeIsSet(boolean value) { - if (!value) { - this.eventType = null; - } + this.data = null; } public String getDbName() { @@ -338,16 +301,31 @@ public void setPartitionValsIsSet(boolean value) { } } + public FireEventRequestData getData() { + return this.data; + } + + public void setData(FireEventRequestData data) { + this.data = data; + } + + public void unsetData() { + this.data = null; + } + + /** Returns true if field data is set (has been assigned a value) and false otherwise */ + public boolean isSetData() { + return this.data != null; + } + + public void setDataIsSet(boolean value) { + if (!value) { + this.data = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { - case EVENT_TYPE: - if (value == null) { - unsetEventType(); - } else { - setEventType((EventRequestType)value); - } - break; - case DB_NAME: if (value == null) { unsetDbName(); @@ -380,14 +358,19 @@ public void setFieldValue(_Fields field, Object value) { } break; + case DATA: + if (value == null) { + unsetData(); + } else { + setData((FireEventRequestData)value); + } + break; + } } public Object getFieldValue(_Fields field) { switch (field) { - case EVENT_TYPE: - return getEventType(); - case DB_NAME: return getDbName(); @@ -400,6 +383,9 @@ public Object getFieldValue(_Fields field) { case PARTITION_VALS: return getPartitionVals(); + case DATA: + return getData(); + } throw new IllegalStateException(); } @@ -411,8 +397,6 @@ public boolean isSet(_Fields field) { } switch (field) { - case EVENT_TYPE: - return isSetEventType(); case DB_NAME: return isSetDbName(); case SUCCESSFUL: @@ -421,6 +405,8 @@ public boolean isSet(_Fields field) { return isSetTableName(); case PARTITION_VALS: return isSetPartitionVals(); + case DATA: + return isSetData(); } throw new IllegalStateException(); } @@ -438,15 +424,6 @@ public boolean equals(FireEventRequest that) { if (that == null) return false; - boolean this_present_eventType = true && this.isSetEventType(); - boolean that_present_eventType = true && that.isSetEventType(); - if (this_present_eventType || that_present_eventType) { - if (!(this_present_eventType && that_present_eventType)) - return false; - if (!this.eventType.equals(that.eventType)) - return false; - } - boolean this_present_dbName = true && this.isSetDbName(); boolean that_present_dbName = true && that.isSetDbName(); if (this_present_dbName || that_present_dbName) { @@ -483,6 +460,15 @@ public boolean equals(FireEventRequest that) { return false; } + boolean this_present_data = true && this.isSetData(); + boolean that_present_data = true && that.isSetData(); + if (this_present_data || that_present_data) { + if (!(this_present_data && that_present_data)) + return false; + if (!this.data.equals(that.data)) + return false; + } + return true; } @@ -490,11 +476,6 @@ public boolean equals(FireEventRequest that) { public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); - boolean present_eventType = true && (isSetEventType()); - builder.append(present_eventType); - if (present_eventType) - builder.append(eventType.getValue()); - boolean present_dbName = true && (isSetDbName()); builder.append(present_dbName); if (present_dbName) @@ -515,6 +496,11 @@ public int hashCode() { if (present_partitionVals) builder.append(partitionVals); + boolean present_data = true && (isSetData()); + builder.append(present_data); + if (present_data) + builder.append(data); + return builder.toHashCode(); } @@ -526,16 +512,6 @@ public int compareTo(FireEventRequest other) { int lastComparison = 0; FireEventRequest typedOther = (FireEventRequest)other; - lastComparison = Boolean.valueOf(isSetEventType()).compareTo(typedOther.isSetEventType()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetEventType()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.eventType, typedOther.eventType); - if (lastComparison != 0) { - return lastComparison; - } - } lastComparison = Boolean.valueOf(isSetDbName()).compareTo(typedOther.isSetDbName()); if (lastComparison != 0) { return lastComparison; @@ -576,6 +552,16 @@ public int compareTo(FireEventRequest other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetData()).compareTo(typedOther.isSetData()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetData()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.data, typedOther.data); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -596,14 +582,6 @@ public String toString() { StringBuilder sb = new StringBuilder("FireEventRequest("); boolean first = true; - sb.append("eventType:"); - if (this.eventType == null) { - sb.append("null"); - } else { - sb.append(this.eventType); - } - first = false; - if (!first) sb.append(", "); sb.append("dbName:"); if (this.dbName == null) { sb.append("null"); @@ -635,16 +613,22 @@ public String toString() { } first = false; } + if (isSetData()) { + if (!first) sb.append(", "); + sb.append("data:"); + if (this.data == null) { + sb.append("null"); + } else { + sb.append(this.data); + } + first = false; + } sb.append(")"); return sb.toString(); } public void validate() throws org.apache.thrift.TException { // check for required fields - if (!isSetEventType()) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'eventType' is unset! Struct:" + toString()); - } - if (!isSetDbName()) { throw new org.apache.thrift.protocol.TProtocolException("Required field 'dbName' is unset! Struct:" + toString()); } @@ -692,15 +676,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventRequest st break; } switch (schemeField.id) { - case 1: // EVENT_TYPE - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.eventType = EventRequestType.findByValue(iprot.readI32()); - struct.setEventTypeIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // DB_NAME + case 1: // DB_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.dbName = iprot.readString(); struct.setDbNameIsSet(true); @@ -708,7 +684,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventRequest st org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 3: // SUCCESSFUL + case 2: // SUCCESSFUL if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { struct.successful = iprot.readBool(); struct.setSuccessfulIsSet(true); @@ -716,7 +692,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventRequest st org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // TABLE_NAME + case 3: // TABLE_NAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); @@ -724,16 +700,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventRequest st org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 5: // PARTITION_VALS + case 4: // PARTITION_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list500 = iprot.readListBegin(); - struct.partitionVals = new ArrayList(_list500.size); - for (int _i501 = 0; _i501 < _list500.size; ++_i501) + org.apache.thrift.protocol.TList _list508 = iprot.readListBegin(); + struct.partitionVals = new ArrayList(_list508.size); + for (int _i509 = 0; _i509 < _list508.size; ++_i509) { - String _elem502; // required - _elem502 = iprot.readString(); - struct.partitionVals.add(_elem502); + String _elem510; // required + _elem510 = iprot.readString(); + struct.partitionVals.add(_elem510); } iprot.readListEnd(); } @@ -742,6 +718,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventRequest st org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 5: // DATA + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.data = new FireEventRequestData(); + struct.data.read(iprot); + struct.setDataIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -755,11 +740,6 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FireEventRequest s struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.eventType != null) { - oprot.writeFieldBegin(EVENT_TYPE_FIELD_DESC); - oprot.writeI32(struct.eventType.getValue()); - oprot.writeFieldEnd(); - } if (struct.dbName != null) { oprot.writeFieldBegin(DB_NAME_FIELD_DESC); oprot.writeString(struct.dbName); @@ -780,15 +760,22 @@ 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 _iter503 : struct.partitionVals) + for (String _iter511 : struct.partitionVals) { - oprot.writeString(_iter503); + oprot.writeString(_iter511); } oprot.writeListEnd(); } oprot.writeFieldEnd(); } } + if (struct.data != null) { + if (struct.isSetData()) { + oprot.writeFieldBegin(DATA_FIELD_DESC); + struct.data.write(oprot); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -806,7 +793,6 @@ public FireEventRequestTupleScheme getScheme() { @Override public void write(org.apache.thrift.protocol.TProtocol prot, FireEventRequest struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; - oprot.writeI32(struct.eventType.getValue()); oprot.writeString(struct.dbName); oprot.writeBool(struct.successful); BitSet optionals = new BitSet(); @@ -816,48 +802,57 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FireEventRequest st if (struct.isSetPartitionVals()) { optionals.set(1); } - oprot.writeBitSet(optionals, 2); + if (struct.isSetData()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); if (struct.isSetTableName()) { oprot.writeString(struct.tableName); } if (struct.isSetPartitionVals()) { { oprot.writeI32(struct.partitionVals.size()); - for (String _iter504 : struct.partitionVals) + for (String _iter512 : struct.partitionVals) { - oprot.writeString(_iter504); + oprot.writeString(_iter512); } } } + if (struct.isSetData()) { + struct.data.write(oprot); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - struct.eventType = EventRequestType.findByValue(iprot.readI32()); - struct.setEventTypeIsSet(true); struct.dbName = iprot.readString(); struct.setDbNameIsSet(true); struct.successful = iprot.readBool(); struct.setSuccessfulIsSet(true); - BitSet incoming = iprot.readBitSet(2); + BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionVals = new ArrayList(_list505.size); - for (int _i506 = 0; _i506 < _list505.size; ++_i506) + org.apache.thrift.protocol.TList _list513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionVals = new ArrayList(_list513.size); + for (int _i514 = 0; _i514 < _list513.size; ++_i514) { - String _elem507; // required - _elem507 = iprot.readString(); - struct.partitionVals.add(_elem507); + String _elem515; // required + _elem515 = iprot.readString(); + struct.partitionVals.add(_elem515); } } struct.setPartitionValsIsSet(true); } + if (incoming.get(2)) { + struct.data = new FireEventRequestData(); + struct.data.read(iprot); + struct.setDataIsSet(true); + } } } diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java new file mode 100644 index 0000000..008682e --- /dev/null +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequestData.java @@ -0,0 +1,305 @@ +/** + * Autogenerated by Thrift Compiler (0.9.0) + * + * 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.commons.lang.builder.HashCodeBuilder; +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 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 org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public class FireEventRequestData extends org.apache.thrift.TUnion { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("FireEventRequestData"); + private static final org.apache.thrift.protocol.TField INSERT_DATA_FIELD_DESC = new org.apache.thrift.protocol.TField("insertData", org.apache.thrift.protocol.TType.STRUCT, (short)1); + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + INSERT_DATA((short)1, "insertData"); + + 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: // INSERT_DATA + return INSERT_DATA; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.INSERT_DATA, new org.apache.thrift.meta_data.FieldMetaData("insertData", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, InsertEventRequestData.class))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(FireEventRequestData.class, metaDataMap); + } + + public FireEventRequestData() { + super(); + } + + public FireEventRequestData(_Fields setField, Object value) { + super(setField, value); + } + + public FireEventRequestData(FireEventRequestData other) { + super(other); + } + public FireEventRequestData deepCopy() { + return new FireEventRequestData(this); + } + + public static FireEventRequestData insertData(InsertEventRequestData value) { + FireEventRequestData x = new FireEventRequestData(); + x.setInsertData(value); + return x; + } + + + @Override + protected void checkType(_Fields setField, Object value) throws ClassCastException { + switch (setField) { + case INSERT_DATA: + if (value instanceof InsertEventRequestData) { + break; + } + throw new ClassCastException("Was expecting value of type InsertEventRequestData for field 'insertData', but got " + value.getClass().getSimpleName()); + default: + throw new IllegalArgumentException("Unknown field id " + setField); + } + } + + @Override + protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) throws org.apache.thrift.TException { + _Fields setField = _Fields.findByThriftId(field.id); + if (setField != null) { + switch (setField) { + case INSERT_DATA: + if (field.type == INSERT_DATA_FIELD_DESC.type) { + InsertEventRequestData insertData; + insertData = new InsertEventRequestData(); + insertData.read(iprot); + return insertData; + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); + return null; + } + default: + throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!"); + } + } else { + return null; + } + } + + @Override + protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + switch (setField_) { + case INSERT_DATA: + InsertEventRequestData insertData = (InsertEventRequestData)value_; + insertData.write(oprot); + return; + default: + throw new IllegalStateException("Cannot write union with unknown field " + setField_); + } + } + + @Override + protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException { + _Fields setField = _Fields.findByThriftId(fieldID); + if (setField != null) { + switch (setField) { + case INSERT_DATA: + InsertEventRequestData insertData; + insertData = new InsertEventRequestData(); + insertData.read(iprot); + return insertData; + default: + throw new IllegalStateException("setField wasn't null, but didn't match any of the case statements!"); + } + } else { + throw new TProtocolException("Couldn't find a field with field id " + fieldID); + } + } + + @Override + protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + switch (setField_) { + case INSERT_DATA: + InsertEventRequestData insertData = (InsertEventRequestData)value_; + insertData.write(oprot); + return; + default: + throw new IllegalStateException("Cannot write union with unknown field " + setField_); + } + } + + @Override + protected org.apache.thrift.protocol.TField getFieldDesc(_Fields setField) { + switch (setField) { + case INSERT_DATA: + return INSERT_DATA_FIELD_DESC; + default: + throw new IllegalArgumentException("Unknown field id " + setField); + } + } + + @Override + protected org.apache.thrift.protocol.TStruct getStructDesc() { + return STRUCT_DESC; + } + + @Override + protected _Fields enumForId(short id) { + return _Fields.findByThriftIdOrThrow(id); + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + + public InsertEventRequestData getInsertData() { + if (getSetField() == _Fields.INSERT_DATA) { + return (InsertEventRequestData)getFieldValue(); + } else { + throw new RuntimeException("Cannot get field 'insertData' because union is currently set to " + getFieldDesc(getSetField()).name); + } + } + + public void setInsertData(InsertEventRequestData value) { + if (value == null) throw new NullPointerException(); + setField_ = _Fields.INSERT_DATA; + value_ = value; + } + + public boolean isSetInsertData() { + return setField_ == _Fields.INSERT_DATA; + } + + + public boolean equals(Object other) { + if (other instanceof FireEventRequestData) { + return equals((FireEventRequestData)other); + } else { + return false; + } + } + + public boolean equals(FireEventRequestData other) { + return other != null && getSetField() == other.getSetField() && getFieldValue().equals(other.getFieldValue()); + } + + @Override + public int compareTo(FireEventRequestData other) { + int lastComparison = org.apache.thrift.TBaseHelper.compareTo(getSetField(), other.getSetField()); + if (lastComparison == 0) { + return org.apache.thrift.TBaseHelper.compareTo(getFieldValue(), other.getFieldValue()); + } + return lastComparison; + } + + + @Override + public int hashCode() { + HashCodeBuilder hcb = new HashCodeBuilder(); + hcb.append(this.getClass().getName()); + org.apache.thrift.TFieldIdEnum setField = getSetField(); + if (setField != null) { + hcb.append(setField.getThriftFieldId()); + Object value = getFieldValue(); + if (value instanceof org.apache.thrift.TEnum) { + hcb.append(((org.apache.thrift.TEnum)getFieldValue()).getValue()); + } else { + hcb.append(value); + } + } + return hcb.toHashCode(); + } + 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); + } + } + + +} diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java new file mode 100644 index 0000000..051f411 --- /dev/null +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventResponse.java @@ -0,0 +1,279 @@ +/** + * Autogenerated by Thrift Compiler (0.9.0) + * + * 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.commons.lang.builder.HashCodeBuilder; +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 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 org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public class FireEventResponse implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("FireEventResponse"); + + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new FireEventResponseStandardSchemeFactory()); + schemes.put(TupleScheme.class, new FireEventResponseTupleSchemeFactory()); + } + + + /** 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(FireEventResponse.class, metaDataMap); + } + + public FireEventResponse() { + } + + /** + * Performs a deep copy on other. + */ + public FireEventResponse(FireEventResponse other) { + } + + public FireEventResponse deepCopy() { + return new FireEventResponse(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 FireEventResponse) + return this.equals((FireEventResponse)that); + return false; + } + + public boolean equals(FireEventResponse that) { + if (that == null) + return false; + + return true; + } + + @Override + public int hashCode() { + HashCodeBuilder builder = new HashCodeBuilder(); + + return builder.toHashCode(); + } + + public int compareTo(FireEventResponse other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + FireEventResponse typedOther = (FireEventResponse)other; + + 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("FireEventResponse("); + 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 FireEventResponseStandardSchemeFactory implements SchemeFactory { + public FireEventResponseStandardScheme getScheme() { + return new FireEventResponseStandardScheme(); + } + } + + private static class FireEventResponseStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventResponse 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, FireEventResponse struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class FireEventResponseTupleSchemeFactory implements SchemeFactory { + public FireEventResponseTupleScheme getScheme() { + return new FireEventResponseTupleScheme(); + } + } + + private static class FireEventResponseTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, FireEventResponse struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, FireEventResponse struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + } + } + +} + diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java new file mode 100644 index 0000000..5a9de92 --- /dev/null +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java @@ -0,0 +1,437 @@ +/** + * Autogenerated by Thrift Compiler (0.9.0) + * + * 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.commons.lang.builder.HashCodeBuilder; +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 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 org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public class InsertEventRequestData implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InsertEventRequestData"); + + private static final org.apache.thrift.protocol.TField FILES_ADDED_FIELD_DESC = new org.apache.thrift.protocol.TField("filesAdded", org.apache.thrift.protocol.TType.LIST, (short)1); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new InsertEventRequestDataStandardSchemeFactory()); + schemes.put(TupleScheme.class, new InsertEventRequestDataTupleSchemeFactory()); + } + + private List filesAdded; // 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 { + FILES_ADDED((short)1, "filesAdded"); + + 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: // FILES_ADDED + return FILES_ADDED; + 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.FILES_ADDED, new org.apache.thrift.meta_data.FieldMetaData("filesAdded", 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.STRING)))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(InsertEventRequestData.class, metaDataMap); + } + + public InsertEventRequestData() { + } + + public InsertEventRequestData( + List filesAdded) + { + this(); + this.filesAdded = filesAdded; + } + + /** + * Performs a deep copy on other. + */ + public InsertEventRequestData(InsertEventRequestData other) { + if (other.isSetFilesAdded()) { + List __this__filesAdded = new ArrayList(); + for (String other_element : other.filesAdded) { + __this__filesAdded.add(other_element); + } + this.filesAdded = __this__filesAdded; + } + } + + public InsertEventRequestData deepCopy() { + return new InsertEventRequestData(this); + } + + @Override + public void clear() { + this.filesAdded = null; + } + + public int getFilesAddedSize() { + return (this.filesAdded == null) ? 0 : this.filesAdded.size(); + } + + public java.util.Iterator getFilesAddedIterator() { + return (this.filesAdded == null) ? null : this.filesAdded.iterator(); + } + + public void addToFilesAdded(String elem) { + if (this.filesAdded == null) { + this.filesAdded = new ArrayList(); + } + this.filesAdded.add(elem); + } + + public List getFilesAdded() { + return this.filesAdded; + } + + public void setFilesAdded(List filesAdded) { + this.filesAdded = filesAdded; + } + + public void unsetFilesAdded() { + this.filesAdded = null; + } + + /** Returns true if field filesAdded is set (has been assigned a value) and false otherwise */ + public boolean isSetFilesAdded() { + return this.filesAdded != null; + } + + public void setFilesAddedIsSet(boolean value) { + if (!value) { + this.filesAdded = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case FILES_ADDED: + if (value == null) { + unsetFilesAdded(); + } else { + setFilesAdded((List)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case FILES_ADDED: + return getFilesAdded(); + + } + 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 FILES_ADDED: + return isSetFilesAdded(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof InsertEventRequestData) + return this.equals((InsertEventRequestData)that); + return false; + } + + public boolean equals(InsertEventRequestData that) { + if (that == null) + return false; + + boolean this_present_filesAdded = true && this.isSetFilesAdded(); + boolean that_present_filesAdded = true && that.isSetFilesAdded(); + if (this_present_filesAdded || that_present_filesAdded) { + if (!(this_present_filesAdded && that_present_filesAdded)) + return false; + if (!this.filesAdded.equals(that.filesAdded)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + HashCodeBuilder builder = new HashCodeBuilder(); + + boolean present_filesAdded = true && (isSetFilesAdded()); + builder.append(present_filesAdded); + if (present_filesAdded) + builder.append(filesAdded); + + return builder.toHashCode(); + } + + public int compareTo(InsertEventRequestData other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + InsertEventRequestData typedOther = (InsertEventRequestData)other; + + lastComparison = Boolean.valueOf(isSetFilesAdded()).compareTo(typedOther.isSetFilesAdded()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetFilesAdded()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.filesAdded, typedOther.filesAdded); + 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("InsertEventRequestData("); + boolean first = true; + + sb.append("filesAdded:"); + if (this.filesAdded == null) { + sb.append("null"); + } else { + sb.append(this.filesAdded); + } + first = false; + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + if (!isSetFilesAdded()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'filesAdded' 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 InsertEventRequestDataStandardSchemeFactory implements SchemeFactory { + public InsertEventRequestDataStandardScheme getScheme() { + return new InsertEventRequestDataStandardScheme(); + } + } + + private static class InsertEventRequestDataStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestData 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: // FILES_ADDED + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list500 = iprot.readListBegin(); + struct.filesAdded = new ArrayList(_list500.size); + for (int _i501 = 0; _i501 < _list500.size; ++_i501) + { + String _elem502; // required + _elem502 = iprot.readString(); + struct.filesAdded.add(_elem502); + } + iprot.readListEnd(); + } + struct.setFilesAddedIsSet(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, InsertEventRequestData struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.filesAdded != null) { + 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 _iter503 : struct.filesAdded) + { + oprot.writeString(_iter503); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class InsertEventRequestDataTupleSchemeFactory implements SchemeFactory { + public InsertEventRequestDataTupleScheme getScheme() { + return new InsertEventRequestDataTupleScheme(); + } + } + + private static class InsertEventRequestDataTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestData struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + { + oprot.writeI32(struct.filesAdded.size()); + for (String _iter504 : struct.filesAdded) + { + oprot.writeString(_iter504); + } + } + } + + @Override + 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 _list505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAdded = new ArrayList(_list505.size); + for (int _i506 = 0; _i506 < _list505.size; ++_i506) + { + String _elem507; // required + _elem507 = iprot.readString(); + struct.filesAdded.add(_elem507); + } + } + struct.setFilesAddedIsSet(true); + } + } + +} + diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java index 9df36b6..83438c7 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java @@ -184,7 +184,7 @@ public SkewedInfo(SkewedInfo other) { __this__skewedColValueLocationMaps.put(__this__skewedColValueLocationMaps_copy_key, __this__skewedColValueLocationMaps_copy_value); } - this.skewedColValueLocationMaps = __this__skewedColValueLocationMaps; + this.skewedColValueLocationMaps = __this__skewedColValueLocationMaps; } } diff --git metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index 37466e0..c3e9829 100644 --- metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -276,7 +276,7 @@ public CurrentNotificationEventId get_current_notificationEventId() throws org.apache.thrift.TException; - public void fire_notification_event(FireEventRequest rqst) throws org.apache.thrift.TException; + public FireEventResponse fire_listener_event(FireEventRequest rqst) throws org.apache.thrift.TException; } @@ -520,7 +520,7 @@ public void get_current_notificationEventId(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void fire_notification_event(FireEventRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void fire_listener_event(FireEventRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; } @@ -4057,24 +4057,27 @@ public CurrentNotificationEventId recv_get_current_notificationEventId() throws throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_current_notificationEventId failed: unknown result"); } - public void fire_notification_event(FireEventRequest rqst) throws org.apache.thrift.TException + public FireEventResponse fire_listener_event(FireEventRequest rqst) throws org.apache.thrift.TException { - send_fire_notification_event(rqst); - recv_fire_notification_event(); + send_fire_listener_event(rqst); + return recv_fire_listener_event(); } - public void send_fire_notification_event(FireEventRequest rqst) throws org.apache.thrift.TException + public void send_fire_listener_event(FireEventRequest rqst) throws org.apache.thrift.TException { - fire_notification_event_args args = new fire_notification_event_args(); + fire_listener_event_args args = new fire_listener_event_args(); args.setRqst(rqst); - sendBase("fire_notification_event", args); + sendBase("fire_listener_event", args); } - public void recv_fire_notification_event() throws org.apache.thrift.TException + public FireEventResponse recv_fire_listener_event() throws org.apache.thrift.TException { - fire_notification_event_result result = new fire_notification_event_result(); - receiveBase(result, "fire_notification_event"); - return; + fire_listener_event_result result = new fire_listener_event_result(); + receiveBase(result, "fire_listener_event"); + if (result.isSetSuccess()) { + return result.success; + } + throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "fire_listener_event failed: unknown result"); } } @@ -8341,35 +8344,35 @@ public CurrentNotificationEventId getResult() throws org.apache.thrift.TExceptio } } - public void fire_notification_event(FireEventRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void fire_listener_event(FireEventRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - fire_notification_event_call method_call = new fire_notification_event_call(rqst, resultHandler, this, ___protocolFactory, ___transport); + fire_listener_event_call method_call = new fire_listener_event_call(rqst, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } - public static class fire_notification_event_call extends org.apache.thrift.async.TAsyncMethodCall { + public static class fire_listener_event_call extends org.apache.thrift.async.TAsyncMethodCall { private FireEventRequest rqst; - public fire_notification_event_call(FireEventRequest 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 { + public fire_listener_event_call(FireEventRequest 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("fire_notification_event", org.apache.thrift.protocol.TMessageType.CALL, 0)); - fire_notification_event_args args = new fire_notification_event_args(); + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("fire_listener_event", org.apache.thrift.protocol.TMessageType.CALL, 0)); + fire_listener_event_args args = new fire_listener_event_args(); args.setRqst(rqst); args.write(prot); prot.writeMessageEnd(); } - public void getResult() throws org.apache.thrift.TException { + public FireEventResponse getResult() throws 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); - (new Client(prot)).recv_fire_notification_event(); + return (new Client(prot)).recv_fire_listener_event(); } } @@ -8505,7 +8508,7 @@ protected Processor(I iface, Map extends org.apache.thrift.ProcessFunction { - public fire_notification_event() { - super("fire_notification_event"); + public static class fire_listener_event extends org.apache.thrift.ProcessFunction { + public fire_listener_event() { + super("fire_listener_event"); } - public fire_notification_event_args getEmptyArgsInstance() { - return new fire_notification_event_args(); + public fire_listener_event_args getEmptyArgsInstance() { + return new fire_listener_event_args(); } protected boolean isOneway() { return false; } - public fire_notification_event_result getResult(I iface, fire_notification_event_args args) throws org.apache.thrift.TException { - fire_notification_event_result result = new fire_notification_event_result(); - iface.fire_notification_event(args.rqst); + public fire_listener_event_result getResult(I iface, fire_listener_event_args args) throws org.apache.thrift.TException { + fire_listener_event_result result = new fire_listener_event_result(); + result.success = iface.fire_listener_event(args.rqst); return result; } } @@ -17022,13 +17025,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 _list508 = iprot.readListBegin(); - struct.success = new ArrayList(_list508.size); - for (int _i509 = 0; _i509 < _list508.size; ++_i509) + org.apache.thrift.protocol.TList _list516 = iprot.readListBegin(); + struct.success = new ArrayList(_list516.size); + for (int _i517 = 0; _i517 < _list516.size; ++_i517) { - String _elem510; // required - _elem510 = iprot.readString(); - struct.success.add(_elem510); + String _elem518; // required + _elem518 = iprot.readString(); + struct.success.add(_elem518); } iprot.readListEnd(); } @@ -17063,9 +17066,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 _iter511 : struct.success) + for (String _iter519 : struct.success) { - oprot.writeString(_iter511); + oprot.writeString(_iter519); } oprot.writeListEnd(); } @@ -17104,9 +17107,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter512 : struct.success) + for (String _iter520 : struct.success) { - oprot.writeString(_iter512); + oprot.writeString(_iter520); } } } @@ -17121,13 +17124,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 _list513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list513.size); - for (int _i514 = 0; _i514 < _list513.size; ++_i514) + org.apache.thrift.protocol.TList _list521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list521.size); + for (int _i522 = 0; _i522 < _list521.size; ++_i522) { - String _elem515; // required - _elem515 = iprot.readString(); - struct.success.add(_elem515); + String _elem523; // required + _elem523 = iprot.readString(); + struct.success.add(_elem523); } } struct.setSuccessIsSet(true); @@ -17784,13 +17787,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 _list516 = iprot.readListBegin(); - struct.success = new ArrayList(_list516.size); - for (int _i517 = 0; _i517 < _list516.size; ++_i517) + org.apache.thrift.protocol.TList _list524 = iprot.readListBegin(); + struct.success = new ArrayList(_list524.size); + for (int _i525 = 0; _i525 < _list524.size; ++_i525) { - String _elem518; // required - _elem518 = iprot.readString(); - struct.success.add(_elem518); + String _elem526; // required + _elem526 = iprot.readString(); + struct.success.add(_elem526); } iprot.readListEnd(); } @@ -17825,9 +17828,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 _iter519 : struct.success) + for (String _iter527 : struct.success) { - oprot.writeString(_iter519); + oprot.writeString(_iter527); } oprot.writeListEnd(); } @@ -17866,9 +17869,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter520 : struct.success) + for (String _iter528 : struct.success) { - oprot.writeString(_iter520); + oprot.writeString(_iter528); } } } @@ -17883,13 +17886,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 _list521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list521.size); - for (int _i522 = 0; _i522 < _list521.size; ++_i522) + org.apache.thrift.protocol.TList _list529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list529.size); + for (int _i530 = 0; _i530 < _list529.size; ++_i530) { - String _elem523; // required - _elem523 = iprot.readString(); - struct.success.add(_elem523); + String _elem531; // required + _elem531 = iprot.readString(); + struct.success.add(_elem531); } } struct.setSuccessIsSet(true); @@ -22496,16 +22499,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 _map524 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map524.size); - for (int _i525 = 0; _i525 < _map524.size; ++_i525) + org.apache.thrift.protocol.TMap _map532 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map532.size); + for (int _i533 = 0; _i533 < _map532.size; ++_i533) { - String _key526; // required - Type _val527; // required - _key526 = iprot.readString(); - _val527 = new Type(); - _val527.read(iprot); - struct.success.put(_key526, _val527); + String _key534; // required + Type _val535; // required + _key534 = iprot.readString(); + _val535 = new Type(); + _val535.read(iprot); + struct.success.put(_key534, _val535); } iprot.readMapEnd(); } @@ -22540,10 +22543,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 _iter528 : struct.success.entrySet()) + for (Map.Entry _iter536 : struct.success.entrySet()) { - oprot.writeString(_iter528.getKey()); - _iter528.getValue().write(oprot); + oprot.writeString(_iter536.getKey()); + _iter536.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -22582,10 +22585,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 _iter529 : struct.success.entrySet()) + for (Map.Entry _iter537 : struct.success.entrySet()) { - oprot.writeString(_iter529.getKey()); - _iter529.getValue().write(oprot); + oprot.writeString(_iter537.getKey()); + _iter537.getValue().write(oprot); } } } @@ -22600,16 +22603,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 _map530 = 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*_map530.size); - for (int _i531 = 0; _i531 < _map530.size; ++_i531) + org.apache.thrift.protocol.TMap _map538 = 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*_map538.size); + for (int _i539 = 0; _i539 < _map538.size; ++_i539) { - String _key532; // required - Type _val533; // required - _key532 = iprot.readString(); - _val533 = new Type(); - _val533.read(iprot); - struct.success.put(_key532, _val533); + String _key540; // required + Type _val541; // required + _key540 = iprot.readString(); + _val541 = new Type(); + _val541.read(iprot); + struct.success.put(_key540, _val541); } } struct.setSuccessIsSet(true); @@ -23644,14 +23647,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 _list534 = iprot.readListBegin(); - struct.success = new ArrayList(_list534.size); - for (int _i535 = 0; _i535 < _list534.size; ++_i535) + org.apache.thrift.protocol.TList _list542 = iprot.readListBegin(); + struct.success = new ArrayList(_list542.size); + for (int _i543 = 0; _i543 < _list542.size; ++_i543) { - FieldSchema _elem536; // required - _elem536 = new FieldSchema(); - _elem536.read(iprot); - struct.success.add(_elem536); + FieldSchema _elem544; // required + _elem544 = new FieldSchema(); + _elem544.read(iprot); + struct.success.add(_elem544); } iprot.readListEnd(); } @@ -23704,9 +23707,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 _iter537 : struct.success) + for (FieldSchema _iter545 : struct.success) { - _iter537.write(oprot); + _iter545.write(oprot); } oprot.writeListEnd(); } @@ -23761,9 +23764,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter538 : struct.success) + for (FieldSchema _iter546 : struct.success) { - _iter538.write(oprot); + _iter546.write(oprot); } } } @@ -23784,14 +23787,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 _list539 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list539.size); - for (int _i540 = 0; _i540 < _list539.size; ++_i540) + org.apache.thrift.protocol.TList _list547 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list547.size); + for (int _i548 = 0; _i548 < _list547.size; ++_i548) { - FieldSchema _elem541; // required - _elem541 = new FieldSchema(); - _elem541.read(iprot); - struct.success.add(_elem541); + FieldSchema _elem549; // required + _elem549 = new FieldSchema(); + _elem549.read(iprot); + struct.success.add(_elem549); } } struct.setSuccessIsSet(true); @@ -24836,14 +24839,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 _list542 = iprot.readListBegin(); - struct.success = new ArrayList(_list542.size); - for (int _i543 = 0; _i543 < _list542.size; ++_i543) + org.apache.thrift.protocol.TList _list550 = iprot.readListBegin(); + struct.success = new ArrayList(_list550.size); + for (int _i551 = 0; _i551 < _list550.size; ++_i551) { - FieldSchema _elem544; // required - _elem544 = new FieldSchema(); - _elem544.read(iprot); - struct.success.add(_elem544); + FieldSchema _elem552; // required + _elem552 = new FieldSchema(); + _elem552.read(iprot); + struct.success.add(_elem552); } iprot.readListEnd(); } @@ -24896,9 +24899,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 _iter545 : struct.success) + for (FieldSchema _iter553 : struct.success) { - _iter545.write(oprot); + _iter553.write(oprot); } oprot.writeListEnd(); } @@ -24953,9 +24956,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter546 : struct.success) + for (FieldSchema _iter554 : struct.success) { - _iter546.write(oprot); + _iter554.write(oprot); } } } @@ -24976,14 +24979,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 _list547 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list547.size); - for (int _i548 = 0; _i548 < _list547.size; ++_i548) + org.apache.thrift.protocol.TList _list555 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list555.size); + for (int _i556 = 0; _i556 < _list555.size; ++_i556) { - FieldSchema _elem549; // required - _elem549 = new FieldSchema(); - _elem549.read(iprot); - struct.success.add(_elem549); + FieldSchema _elem557; // required + _elem557 = new FieldSchema(); + _elem557.read(iprot); + struct.success.add(_elem557); } } struct.setSuccessIsSet(true); @@ -30226,13 +30229,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 _list550 = iprot.readListBegin(); - struct.success = new ArrayList(_list550.size); - for (int _i551 = 0; _i551 < _list550.size; ++_i551) + org.apache.thrift.protocol.TList _list558 = iprot.readListBegin(); + struct.success = new ArrayList(_list558.size); + for (int _i559 = 0; _i559 < _list558.size; ++_i559) { - String _elem552; // required - _elem552 = iprot.readString(); - struct.success.add(_elem552); + String _elem560; // required + _elem560 = iprot.readString(); + struct.success.add(_elem560); } iprot.readListEnd(); } @@ -30267,9 +30270,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 _iter553 : struct.success) + for (String _iter561 : struct.success) { - oprot.writeString(_iter553); + oprot.writeString(_iter561); } oprot.writeListEnd(); } @@ -30308,9 +30311,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter554 : struct.success) + for (String _iter562 : struct.success) { - oprot.writeString(_iter554); + oprot.writeString(_iter562); } } } @@ -30325,13 +30328,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 _list555 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list555.size); - for (int _i556 = 0; _i556 < _list555.size; ++_i556) + org.apache.thrift.protocol.TList _list563 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list563.size); + for (int _i564 = 0; _i564 < _list563.size; ++_i564) { - String _elem557; // required - _elem557 = iprot.readString(); - struct.success.add(_elem557); + String _elem565; // required + _elem565 = iprot.readString(); + struct.success.add(_elem565); } } struct.setSuccessIsSet(true); @@ -31100,13 +31103,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 _list558 = iprot.readListBegin(); - struct.success = new ArrayList(_list558.size); - for (int _i559 = 0; _i559 < _list558.size; ++_i559) + org.apache.thrift.protocol.TList _list566 = iprot.readListBegin(); + struct.success = new ArrayList(_list566.size); + for (int _i567 = 0; _i567 < _list566.size; ++_i567) { - String _elem560; // required - _elem560 = iprot.readString(); - struct.success.add(_elem560); + String _elem568; // required + _elem568 = iprot.readString(); + struct.success.add(_elem568); } iprot.readListEnd(); } @@ -31141,9 +31144,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 _iter561 : struct.success) + for (String _iter569 : struct.success) { - oprot.writeString(_iter561); + oprot.writeString(_iter569); } oprot.writeListEnd(); } @@ -31182,9 +31185,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter562 : struct.success) + for (String _iter570 : struct.success) { - oprot.writeString(_iter562); + oprot.writeString(_iter570); } } } @@ -31199,13 +31202,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 _list563 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list563.size); - for (int _i564 = 0; _i564 < _list563.size; ++_i564) + org.apache.thrift.protocol.TList _list571 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list571.size); + for (int _i572 = 0; _i572 < _list571.size; ++_i572) { - String _elem565; // required - _elem565 = iprot.readString(); - struct.success.add(_elem565); + String _elem573; // required + _elem573 = iprot.readString(); + struct.success.add(_elem573); } } struct.setSuccessIsSet(true); @@ -32661,13 +32664,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 _list566 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list566.size); - for (int _i567 = 0; _i567 < _list566.size; ++_i567) + org.apache.thrift.protocol.TList _list574 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list574.size); + for (int _i575 = 0; _i575 < _list574.size; ++_i575) { - String _elem568; // required - _elem568 = iprot.readString(); - struct.tbl_names.add(_elem568); + String _elem576; // required + _elem576 = iprot.readString(); + struct.tbl_names.add(_elem576); } iprot.readListEnd(); } @@ -32698,9 +32701,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 _iter569 : struct.tbl_names) + for (String _iter577 : struct.tbl_names) { - oprot.writeString(_iter569); + oprot.writeString(_iter577); } oprot.writeListEnd(); } @@ -32737,9 +32740,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 _iter570 : struct.tbl_names) + for (String _iter578 : struct.tbl_names) { - oprot.writeString(_iter570); + oprot.writeString(_iter578); } } } @@ -32755,13 +32758,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list571 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list571.size); - for (int _i572 = 0; _i572 < _list571.size; ++_i572) + org.apache.thrift.protocol.TList _list579 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list579.size); + for (int _i580 = 0; _i580 < _list579.size; ++_i580) { - String _elem573; // required - _elem573 = iprot.readString(); - struct.tbl_names.add(_elem573); + String _elem581; // required + _elem581 = iprot.readString(); + struct.tbl_names.add(_elem581); } } struct.setTbl_namesIsSet(true); @@ -33329,14 +33332,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 _list574 = iprot.readListBegin(); - struct.success = new ArrayList
(_list574.size); - for (int _i575 = 0; _i575 < _list574.size; ++_i575) + org.apache.thrift.protocol.TList _list582 = iprot.readListBegin(); + struct.success = new ArrayList
(_list582.size); + for (int _i583 = 0; _i583 < _list582.size; ++_i583) { - Table _elem576; // required - _elem576 = new Table(); - _elem576.read(iprot); - struct.success.add(_elem576); + Table _elem584; // required + _elem584 = new Table(); + _elem584.read(iprot); + struct.success.add(_elem584); } iprot.readListEnd(); } @@ -33389,9 +33392,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 _iter577 : struct.success) + for (Table _iter585 : struct.success) { - _iter577.write(oprot); + _iter585.write(oprot); } oprot.writeListEnd(); } @@ -33446,9 +33449,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter578 : struct.success) + for (Table _iter586 : struct.success) { - _iter578.write(oprot); + _iter586.write(oprot); } } } @@ -33469,14 +33472,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list579 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list579.size); - for (int _i580 = 0; _i580 < _list579.size; ++_i580) + org.apache.thrift.protocol.TList _list587 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list587.size); + for (int _i588 = 0; _i588 < _list587.size; ++_i588) { - Table _elem581; // required - _elem581 = new Table(); - _elem581.read(iprot); - struct.success.add(_elem581); + Table _elem589; // required + _elem589 = new Table(); + _elem589.read(iprot); + struct.success.add(_elem589); } } struct.setSuccessIsSet(true); @@ -34625,13 +34628,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 _list582 = iprot.readListBegin(); - struct.success = new ArrayList(_list582.size); - for (int _i583 = 0; _i583 < _list582.size; ++_i583) + org.apache.thrift.protocol.TList _list590 = iprot.readListBegin(); + struct.success = new ArrayList(_list590.size); + for (int _i591 = 0; _i591 < _list590.size; ++_i591) { - String _elem584; // required - _elem584 = iprot.readString(); - struct.success.add(_elem584); + String _elem592; // required + _elem592 = iprot.readString(); + struct.success.add(_elem592); } iprot.readListEnd(); } @@ -34684,9 +34687,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 _iter585 : struct.success) + for (String _iter593 : struct.success) { - oprot.writeString(_iter585); + oprot.writeString(_iter593); } oprot.writeListEnd(); } @@ -34741,9 +34744,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter586 : struct.success) + for (String _iter594 : struct.success) { - oprot.writeString(_iter586); + oprot.writeString(_iter594); } } } @@ -34764,13 +34767,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 _list587 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list587.size); - for (int _i588 = 0; _i588 < _list587.size; ++_i588) + org.apache.thrift.protocol.TList _list595 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list595.size); + for (int _i596 = 0; _i596 < _list595.size; ++_i596) { - String _elem589; // required - _elem589 = iprot.readString(); - struct.success.add(_elem589); + String _elem597; // required + _elem597 = iprot.readString(); + struct.success.add(_elem597); } } struct.setSuccessIsSet(true); @@ -40629,14 +40632,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 _list590 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list590.size); - for (int _i591 = 0; _i591 < _list590.size; ++_i591) + org.apache.thrift.protocol.TList _list598 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list598.size); + for (int _i599 = 0; _i599 < _list598.size; ++_i599) { - Partition _elem592; // required - _elem592 = new Partition(); - _elem592.read(iprot); - struct.new_parts.add(_elem592); + Partition _elem600; // required + _elem600 = new Partition(); + _elem600.read(iprot); + struct.new_parts.add(_elem600); } iprot.readListEnd(); } @@ -40662,9 +40665,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 _iter593 : struct.new_parts) + for (Partition _iter601 : struct.new_parts) { - _iter593.write(oprot); + _iter601.write(oprot); } oprot.writeListEnd(); } @@ -40695,9 +40698,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 _iter594 : struct.new_parts) + for (Partition _iter602 : struct.new_parts) { - _iter594.write(oprot); + _iter602.write(oprot); } } } @@ -40709,14 +40712,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 _list595 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list595.size); - for (int _i596 = 0; _i596 < _list595.size; ++_i596) + org.apache.thrift.protocol.TList _list603 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list603.size); + for (int _i604 = 0; _i604 < _list603.size; ++_i604) { - Partition _elem597; // required - _elem597 = new Partition(); - _elem597.read(iprot); - struct.new_parts.add(_elem597); + Partition _elem605; // required + _elem605 = new Partition(); + _elem605.read(iprot); + struct.new_parts.add(_elem605); } } struct.setNew_partsIsSet(true); @@ -41717,14 +41720,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 _list598 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list598.size); - for (int _i599 = 0; _i599 < _list598.size; ++_i599) + org.apache.thrift.protocol.TList _list606 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list606.size); + for (int _i607 = 0; _i607 < _list606.size; ++_i607) { - PartitionSpec _elem600; // required - _elem600 = new PartitionSpec(); - _elem600.read(iprot); - struct.new_parts.add(_elem600); + PartitionSpec _elem608; // required + _elem608 = new PartitionSpec(); + _elem608.read(iprot); + struct.new_parts.add(_elem608); } iprot.readListEnd(); } @@ -41750,9 +41753,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 _iter601 : struct.new_parts) + for (PartitionSpec _iter609 : struct.new_parts) { - _iter601.write(oprot); + _iter609.write(oprot); } oprot.writeListEnd(); } @@ -41783,9 +41786,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 _iter602 : struct.new_parts) + for (PartitionSpec _iter610 : struct.new_parts) { - _iter602.write(oprot); + _iter610.write(oprot); } } } @@ -41797,14 +41800,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 _list603 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list603.size); - for (int _i604 = 0; _i604 < _list603.size; ++_i604) + org.apache.thrift.protocol.TList _list611 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list611.size); + for (int _i612 = 0; _i612 < _list611.size; ++_i612) { - PartitionSpec _elem605; // required - _elem605 = new PartitionSpec(); - _elem605.read(iprot); - struct.new_parts.add(_elem605); + PartitionSpec _elem613; // required + _elem613 = new PartitionSpec(); + _elem613.read(iprot); + struct.new_parts.add(_elem613); } } struct.setNew_partsIsSet(true); @@ -42983,13 +42986,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 _list606 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list606.size); - for (int _i607 = 0; _i607 < _list606.size; ++_i607) + org.apache.thrift.protocol.TList _list614 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list614.size); + for (int _i615 = 0; _i615 < _list614.size; ++_i615) { - String _elem608; // required - _elem608 = iprot.readString(); - struct.part_vals.add(_elem608); + String _elem616; // required + _elem616 = iprot.readString(); + struct.part_vals.add(_elem616); } iprot.readListEnd(); } @@ -43025,9 +43028,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 _iter609 : struct.part_vals) + for (String _iter617 : struct.part_vals) { - oprot.writeString(_iter609); + oprot.writeString(_iter617); } oprot.writeListEnd(); } @@ -43070,9 +43073,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 _iter610 : struct.part_vals) + for (String _iter618 : struct.part_vals) { - oprot.writeString(_iter610); + oprot.writeString(_iter618); } } } @@ -43092,13 +43095,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list611 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list611.size); - for (int _i612 = 0; _i612 < _list611.size; ++_i612) + org.apache.thrift.protocol.TList _list619 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list619.size); + for (int _i620 = 0; _i620 < _list619.size; ++_i620) { - String _elem613; // required - _elem613 = iprot.readString(); - struct.part_vals.add(_elem613); + String _elem621; // required + _elem621 = iprot.readString(); + struct.part_vals.add(_elem621); } } struct.setPart_valsIsSet(true); @@ -45410,13 +45413,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 _list614 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list614.size); - for (int _i615 = 0; _i615 < _list614.size; ++_i615) + org.apache.thrift.protocol.TList _list622 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list622.size); + for (int _i623 = 0; _i623 < _list622.size; ++_i623) { - String _elem616; // required - _elem616 = iprot.readString(); - struct.part_vals.add(_elem616); + String _elem624; // required + _elem624 = iprot.readString(); + struct.part_vals.add(_elem624); } iprot.readListEnd(); } @@ -45461,9 +45464,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 _iter617 : struct.part_vals) + for (String _iter625 : struct.part_vals) { - oprot.writeString(_iter617); + oprot.writeString(_iter625); } oprot.writeListEnd(); } @@ -45514,9 +45517,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 _iter618 : struct.part_vals) + for (String _iter626 : struct.part_vals) { - oprot.writeString(_iter618); + oprot.writeString(_iter626); } } } @@ -45539,13 +45542,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list619 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list619.size); - for (int _i620 = 0; _i620 < _list619.size; ++_i620) + org.apache.thrift.protocol.TList _list627 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list627.size); + for (int _i628 = 0; _i628 < _list627.size; ++_i628) { - String _elem621; // required - _elem621 = iprot.readString(); - struct.part_vals.add(_elem621); + String _elem629; // required + _elem629 = iprot.readString(); + struct.part_vals.add(_elem629); } } struct.setPart_valsIsSet(true); @@ -49418,13 +49421,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 _list622 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list622.size); - for (int _i623 = 0; _i623 < _list622.size; ++_i623) + org.apache.thrift.protocol.TList _list630 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list630.size); + for (int _i631 = 0; _i631 < _list630.size; ++_i631) { - String _elem624; // required - _elem624 = iprot.readString(); - struct.part_vals.add(_elem624); + String _elem632; // required + _elem632 = iprot.readString(); + struct.part_vals.add(_elem632); } iprot.readListEnd(); } @@ -49468,9 +49471,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 _iter625 : struct.part_vals) + for (String _iter633 : struct.part_vals) { - oprot.writeString(_iter625); + oprot.writeString(_iter633); } oprot.writeListEnd(); } @@ -49519,9 +49522,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 _iter626 : struct.part_vals) + for (String _iter634 : struct.part_vals) { - oprot.writeString(_iter626); + oprot.writeString(_iter634); } } } @@ -49544,13 +49547,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list627 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list627.size); - for (int _i628 = 0; _i628 < _list627.size; ++_i628) + org.apache.thrift.protocol.TList _list635 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list635.size); + for (int _i636 = 0; _i636 < _list635.size; ++_i636) { - String _elem629; // required - _elem629 = iprot.readString(); - struct.part_vals.add(_elem629); + String _elem637; // required + _elem637 = iprot.readString(); + struct.part_vals.add(_elem637); } } struct.setPart_valsIsSet(true); @@ -50792,13 +50795,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 _list630 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list630.size); - for (int _i631 = 0; _i631 < _list630.size; ++_i631) + org.apache.thrift.protocol.TList _list638 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list638.size); + for (int _i639 = 0; _i639 < _list638.size; ++_i639) { - String _elem632; // required - _elem632 = iprot.readString(); - struct.part_vals.add(_elem632); + String _elem640; // required + _elem640 = iprot.readString(); + struct.part_vals.add(_elem640); } iprot.readListEnd(); } @@ -50851,9 +50854,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 _iter633 : struct.part_vals) + for (String _iter641 : struct.part_vals) { - oprot.writeString(_iter633); + oprot.writeString(_iter641); } oprot.writeListEnd(); } @@ -50910,9 +50913,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 _iter634 : struct.part_vals) + for (String _iter642 : struct.part_vals) { - oprot.writeString(_iter634); + oprot.writeString(_iter642); } } } @@ -50938,13 +50941,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list635 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list635.size); - for (int _i636 = 0; _i636 < _list635.size; ++_i636) + org.apache.thrift.protocol.TList _list643 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list643.size); + for (int _i644 = 0; _i644 < _list643.size; ++_i644) { - String _elem637; // required - _elem637 = iprot.readString(); - struct.part_vals.add(_elem637); + String _elem645; // required + _elem645 = iprot.readString(); + struct.part_vals.add(_elem645); } } struct.setPart_valsIsSet(true); @@ -55549,13 +55552,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 _list638 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list638.size); - for (int _i639 = 0; _i639 < _list638.size; ++_i639) + org.apache.thrift.protocol.TList _list646 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list646.size); + for (int _i647 = 0; _i647 < _list646.size; ++_i647) { - String _elem640; // required - _elem640 = iprot.readString(); - struct.part_vals.add(_elem640); + String _elem648; // required + _elem648 = iprot.readString(); + struct.part_vals.add(_elem648); } iprot.readListEnd(); } @@ -55591,9 +55594,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 _iter641 : struct.part_vals) + for (String _iter649 : struct.part_vals) { - oprot.writeString(_iter641); + oprot.writeString(_iter649); } oprot.writeListEnd(); } @@ -55636,9 +55639,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 _iter642 : struct.part_vals) + for (String _iter650 : struct.part_vals) { - oprot.writeString(_iter642); + oprot.writeString(_iter650); } } } @@ -55658,13 +55661,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list643 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list643.size); - for (int _i644 = 0; _i644 < _list643.size; ++_i644) + org.apache.thrift.protocol.TList _list651 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list651.size); + for (int _i652 = 0; _i652 < _list651.size; ++_i652) { - String _elem645; // required - _elem645 = iprot.readString(); - struct.part_vals.add(_elem645); + String _elem653; // required + _elem653 = iprot.readString(); + struct.part_vals.add(_elem653); } } struct.setPart_valsIsSet(true); @@ -56893,15 +56896,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 _map646 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map646.size); - for (int _i647 = 0; _i647 < _map646.size; ++_i647) + org.apache.thrift.protocol.TMap _map654 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map654.size); + for (int _i655 = 0; _i655 < _map654.size; ++_i655) { - String _key648; // required - String _val649; // required - _key648 = iprot.readString(); - _val649 = iprot.readString(); - struct.partitionSpecs.put(_key648, _val649); + String _key656; // required + String _val657; // required + _key656 = iprot.readString(); + _val657 = iprot.readString(); + struct.partitionSpecs.put(_key656, _val657); } iprot.readMapEnd(); } @@ -56959,10 +56962,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 _iter650 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter658 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter650.getKey()); - oprot.writeString(_iter650.getValue()); + oprot.writeString(_iter658.getKey()); + oprot.writeString(_iter658.getValue()); } oprot.writeMapEnd(); } @@ -57025,10 +57028,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter651 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter659 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter651.getKey()); - oprot.writeString(_iter651.getValue()); + oprot.writeString(_iter659.getKey()); + oprot.writeString(_iter659.getValue()); } } } @@ -57052,15 +57055,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 _map652 = 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*_map652.size); - for (int _i653 = 0; _i653 < _map652.size; ++_i653) + org.apache.thrift.protocol.TMap _map660 = 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*_map660.size); + for (int _i661 = 0; _i661 < _map660.size; ++_i661) { - String _key654; // required - String _val655; // required - _key654 = iprot.readString(); - _val655 = iprot.readString(); - struct.partitionSpecs.put(_key654, _val655); + String _key662; // required + String _val663; // required + _key662 = iprot.readString(); + _val663 = iprot.readString(); + struct.partitionSpecs.put(_key662, _val663); } } struct.setPartitionSpecsIsSet(true); @@ -58548,13 +58551,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 _list656 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list656.size); - for (int _i657 = 0; _i657 < _list656.size; ++_i657) + org.apache.thrift.protocol.TList _list664 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list664.size); + for (int _i665 = 0; _i665 < _list664.size; ++_i665) { - String _elem658; // required - _elem658 = iprot.readString(); - struct.part_vals.add(_elem658); + String _elem666; // required + _elem666 = iprot.readString(); + struct.part_vals.add(_elem666); } iprot.readListEnd(); } @@ -58574,13 +58577,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 _list659 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list659.size); - for (int _i660 = 0; _i660 < _list659.size; ++_i660) + org.apache.thrift.protocol.TList _list667 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list667.size); + for (int _i668 = 0; _i668 < _list667.size; ++_i668) { - String _elem661; // required - _elem661 = iprot.readString(); - struct.group_names.add(_elem661); + String _elem669; // required + _elem669 = iprot.readString(); + struct.group_names.add(_elem669); } iprot.readListEnd(); } @@ -58616,9 +58619,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 _iter662 : struct.part_vals) + for (String _iter670 : struct.part_vals) { - oprot.writeString(_iter662); + oprot.writeString(_iter670); } oprot.writeListEnd(); } @@ -58633,9 +58636,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 _iter663 : struct.group_names) + for (String _iter671 : struct.group_names) { - oprot.writeString(_iter663); + oprot.writeString(_iter671); } oprot.writeListEnd(); } @@ -58684,9 +58687,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 _iter664 : struct.part_vals) + for (String _iter672 : struct.part_vals) { - oprot.writeString(_iter664); + oprot.writeString(_iter672); } } } @@ -58696,9 +58699,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 _iter665 : struct.group_names) + for (String _iter673 : struct.group_names) { - oprot.writeString(_iter665); + oprot.writeString(_iter673); } } } @@ -58718,13 +58721,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list666 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list666.size); - for (int _i667 = 0; _i667 < _list666.size; ++_i667) + org.apache.thrift.protocol.TList _list674 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list674.size); + for (int _i675 = 0; _i675 < _list674.size; ++_i675) { - String _elem668; // required - _elem668 = iprot.readString(); - struct.part_vals.add(_elem668); + String _elem676; // required + _elem676 = iprot.readString(); + struct.part_vals.add(_elem676); } } struct.setPart_valsIsSet(true); @@ -58735,13 +58738,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list669 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list669.size); - for (int _i670 = 0; _i670 < _list669.size; ++_i670) + org.apache.thrift.protocol.TList _list677 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list677.size); + for (int _i678 = 0; _i678 < _list677.size; ++_i678) { - String _elem671; // required - _elem671 = iprot.readString(); - struct.group_names.add(_elem671); + String _elem679; // required + _elem679 = iprot.readString(); + struct.group_names.add(_elem679); } } struct.setGroup_namesIsSet(true); @@ -61510,14 +61513,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 _list672 = iprot.readListBegin(); - struct.success = new ArrayList(_list672.size); - for (int _i673 = 0; _i673 < _list672.size; ++_i673) + org.apache.thrift.protocol.TList _list680 = iprot.readListBegin(); + struct.success = new ArrayList(_list680.size); + for (int _i681 = 0; _i681 < _list680.size; ++_i681) { - Partition _elem674; // required - _elem674 = new Partition(); - _elem674.read(iprot); - struct.success.add(_elem674); + Partition _elem682; // required + _elem682 = new Partition(); + _elem682.read(iprot); + struct.success.add(_elem682); } iprot.readListEnd(); } @@ -61561,9 +61564,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 _iter675 : struct.success) + for (Partition _iter683 : struct.success) { - _iter675.write(oprot); + _iter683.write(oprot); } oprot.writeListEnd(); } @@ -61610,9 +61613,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter676 : struct.success) + for (Partition _iter684 : struct.success) { - _iter676.write(oprot); + _iter684.write(oprot); } } } @@ -61630,14 +61633,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 _list677 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list677.size); - for (int _i678 = 0; _i678 < _list677.size; ++_i678) + org.apache.thrift.protocol.TList _list685 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list685.size); + for (int _i686 = 0; _i686 < _list685.size; ++_i686) { - Partition _elem679; // required - _elem679 = new Partition(); - _elem679.read(iprot); - struct.success.add(_elem679); + Partition _elem687; // required + _elem687 = new Partition(); + _elem687.read(iprot); + struct.success.add(_elem687); } } struct.setSuccessIsSet(true); @@ -62330,13 +62333,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 _list680 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list680.size); - for (int _i681 = 0; _i681 < _list680.size; ++_i681) + org.apache.thrift.protocol.TList _list688 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list688.size); + for (int _i689 = 0; _i689 < _list688.size; ++_i689) { - String _elem682; // required - _elem682 = iprot.readString(); - struct.group_names.add(_elem682); + String _elem690; // required + _elem690 = iprot.readString(); + struct.group_names.add(_elem690); } iprot.readListEnd(); } @@ -62380,9 +62383,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 _iter683 : struct.group_names) + for (String _iter691 : struct.group_names) { - oprot.writeString(_iter683); + oprot.writeString(_iter691); } oprot.writeListEnd(); } @@ -62437,9 +62440,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 _iter684 : struct.group_names) + for (String _iter692 : struct.group_names) { - oprot.writeString(_iter684); + oprot.writeString(_iter692); } } } @@ -62467,13 +62470,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list685 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list685.size); - for (int _i686 = 0; _i686 < _list685.size; ++_i686) + org.apache.thrift.protocol.TList _list693 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list693.size); + for (int _i694 = 0; _i694 < _list693.size; ++_i694) { - String _elem687; // required - _elem687 = iprot.readString(); - struct.group_names.add(_elem687); + String _elem695; // required + _elem695 = iprot.readString(); + struct.group_names.add(_elem695); } } struct.setGroup_namesIsSet(true); @@ -62960,14 +62963,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 _list688 = iprot.readListBegin(); - struct.success = new ArrayList(_list688.size); - for (int _i689 = 0; _i689 < _list688.size; ++_i689) + org.apache.thrift.protocol.TList _list696 = iprot.readListBegin(); + struct.success = new ArrayList(_list696.size); + for (int _i697 = 0; _i697 < _list696.size; ++_i697) { - Partition _elem690; // required - _elem690 = new Partition(); - _elem690.read(iprot); - struct.success.add(_elem690); + Partition _elem698; // required + _elem698 = new Partition(); + _elem698.read(iprot); + struct.success.add(_elem698); } iprot.readListEnd(); } @@ -63011,9 +63014,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 _iter691 : struct.success) + for (Partition _iter699 : struct.success) { - _iter691.write(oprot); + _iter699.write(oprot); } oprot.writeListEnd(); } @@ -63060,9 +63063,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter692 : struct.success) + for (Partition _iter700 : struct.success) { - _iter692.write(oprot); + _iter700.write(oprot); } } } @@ -63080,14 +63083,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 _list693 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list693.size); - for (int _i694 = 0; _i694 < _list693.size; ++_i694) + org.apache.thrift.protocol.TList _list701 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list701.size); + for (int _i702 = 0; _i702 < _list701.size; ++_i702) { - Partition _elem695; // required - _elem695 = new Partition(); - _elem695.read(iprot); - struct.success.add(_elem695); + Partition _elem703; // required + _elem703 = new Partition(); + _elem703.read(iprot); + struct.success.add(_elem703); } } struct.setSuccessIsSet(true); @@ -64150,14 +64153,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 _list696 = iprot.readListBegin(); - struct.success = new ArrayList(_list696.size); - for (int _i697 = 0; _i697 < _list696.size; ++_i697) + org.apache.thrift.protocol.TList _list704 = iprot.readListBegin(); + struct.success = new ArrayList(_list704.size); + for (int _i705 = 0; _i705 < _list704.size; ++_i705) { - PartitionSpec _elem698; // required - _elem698 = new PartitionSpec(); - _elem698.read(iprot); - struct.success.add(_elem698); + PartitionSpec _elem706; // required + _elem706 = new PartitionSpec(); + _elem706.read(iprot); + struct.success.add(_elem706); } iprot.readListEnd(); } @@ -64201,9 +64204,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 _iter699 : struct.success) + for (PartitionSpec _iter707 : struct.success) { - _iter699.write(oprot); + _iter707.write(oprot); } oprot.writeListEnd(); } @@ -64250,9 +64253,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter700 : struct.success) + for (PartitionSpec _iter708 : struct.success) { - _iter700.write(oprot); + _iter708.write(oprot); } } } @@ -64270,14 +64273,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 _list701 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list701.size); - for (int _i702 = 0; _i702 < _list701.size; ++_i702) + org.apache.thrift.protocol.TList _list709 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list709.size); + for (int _i710 = 0; _i710 < _list709.size; ++_i710) { - PartitionSpec _elem703; // required - _elem703 = new PartitionSpec(); - _elem703.read(iprot); - struct.success.add(_elem703); + PartitionSpec _elem711; // required + _elem711 = new PartitionSpec(); + _elem711.read(iprot); + struct.success.add(_elem711); } } struct.setSuccessIsSet(true); @@ -65259,13 +65262,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 _list704 = iprot.readListBegin(); - struct.success = new ArrayList(_list704.size); - for (int _i705 = 0; _i705 < _list704.size; ++_i705) + org.apache.thrift.protocol.TList _list712 = iprot.readListBegin(); + struct.success = new ArrayList(_list712.size); + for (int _i713 = 0; _i713 < _list712.size; ++_i713) { - String _elem706; // required - _elem706 = iprot.readString(); - struct.success.add(_elem706); + String _elem714; // required + _elem714 = iprot.readString(); + struct.success.add(_elem714); } iprot.readListEnd(); } @@ -65300,9 +65303,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 _iter707 : struct.success) + for (String _iter715 : struct.success) { - oprot.writeString(_iter707); + oprot.writeString(_iter715); } oprot.writeListEnd(); } @@ -65341,9 +65344,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter708 : struct.success) + for (String _iter716 : struct.success) { - oprot.writeString(_iter708); + oprot.writeString(_iter716); } } } @@ -65358,13 +65361,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list709 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list709.size); - for (int _i710 = 0; _i710 < _list709.size; ++_i710) + org.apache.thrift.protocol.TList _list717 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list717.size); + for (int _i718 = 0; _i718 < _list717.size; ++_i718) { - String _elem711; // required - _elem711 = iprot.readString(); - struct.success.add(_elem711); + String _elem719; // required + _elem719 = iprot.readString(); + struct.success.add(_elem719); } } struct.setSuccessIsSet(true); @@ -65955,13 +65958,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 _list712 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list712.size); - for (int _i713 = 0; _i713 < _list712.size; ++_i713) + org.apache.thrift.protocol.TList _list720 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list720.size); + for (int _i721 = 0; _i721 < _list720.size; ++_i721) { - String _elem714; // required - _elem714 = iprot.readString(); - struct.part_vals.add(_elem714); + String _elem722; // required + _elem722 = iprot.readString(); + struct.part_vals.add(_elem722); } iprot.readListEnd(); } @@ -66005,9 +66008,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 _iter715 : struct.part_vals) + for (String _iter723 : struct.part_vals) { - oprot.writeString(_iter715); + oprot.writeString(_iter723); } oprot.writeListEnd(); } @@ -66056,9 +66059,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 _iter716 : struct.part_vals) + for (String _iter724 : struct.part_vals) { - oprot.writeString(_iter716); + oprot.writeString(_iter724); } } } @@ -66081,13 +66084,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list717 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list717.size); - for (int _i718 = 0; _i718 < _list717.size; ++_i718) + org.apache.thrift.protocol.TList _list725 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list725.size); + for (int _i726 = 0; _i726 < _list725.size; ++_i726) { - String _elem719; // required - _elem719 = iprot.readString(); - struct.part_vals.add(_elem719); + String _elem727; // required + _elem727 = iprot.readString(); + struct.part_vals.add(_elem727); } } struct.setPart_valsIsSet(true); @@ -66578,14 +66581,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 _list720 = iprot.readListBegin(); - struct.success = new ArrayList(_list720.size); - for (int _i721 = 0; _i721 < _list720.size; ++_i721) + org.apache.thrift.protocol.TList _list728 = iprot.readListBegin(); + struct.success = new ArrayList(_list728.size); + for (int _i729 = 0; _i729 < _list728.size; ++_i729) { - Partition _elem722; // required - _elem722 = new Partition(); - _elem722.read(iprot); - struct.success.add(_elem722); + Partition _elem730; // required + _elem730 = new Partition(); + _elem730.read(iprot); + struct.success.add(_elem730); } iprot.readListEnd(); } @@ -66629,9 +66632,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 _iter723 : struct.success) + for (Partition _iter731 : struct.success) { - _iter723.write(oprot); + _iter731.write(oprot); } oprot.writeListEnd(); } @@ -66678,9 +66681,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter724 : struct.success) + for (Partition _iter732 : struct.success) { - _iter724.write(oprot); + _iter732.write(oprot); } } } @@ -66698,14 +66701,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 _list725 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list725.size); - for (int _i726 = 0; _i726 < _list725.size; ++_i726) + org.apache.thrift.protocol.TList _list733 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list733.size); + for (int _i734 = 0; _i734 < _list733.size; ++_i734) { - Partition _elem727; // required - _elem727 = new Partition(); - _elem727.read(iprot); - struct.success.add(_elem727); + Partition _elem735; // required + _elem735 = new Partition(); + _elem735.read(iprot); + struct.success.add(_elem735); } } struct.setSuccessIsSet(true); @@ -67483,13 +67486,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 _list728 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list728.size); - for (int _i729 = 0; _i729 < _list728.size; ++_i729) + org.apache.thrift.protocol.TList _list736 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list736.size); + for (int _i737 = 0; _i737 < _list736.size; ++_i737) { - String _elem730; // required - _elem730 = iprot.readString(); - struct.part_vals.add(_elem730); + String _elem738; // required + _elem738 = iprot.readString(); + struct.part_vals.add(_elem738); } iprot.readListEnd(); } @@ -67517,13 +67520,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 _list731 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list731.size); - for (int _i732 = 0; _i732 < _list731.size; ++_i732) + org.apache.thrift.protocol.TList _list739 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list739.size); + for (int _i740 = 0; _i740 < _list739.size; ++_i740) { - String _elem733; // required - _elem733 = iprot.readString(); - struct.group_names.add(_elem733); + String _elem741; // required + _elem741 = iprot.readString(); + struct.group_names.add(_elem741); } iprot.readListEnd(); } @@ -67559,9 +67562,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 _iter734 : struct.part_vals) + for (String _iter742 : struct.part_vals) { - oprot.writeString(_iter734); + oprot.writeString(_iter742); } oprot.writeListEnd(); } @@ -67579,9 +67582,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 _iter735 : struct.group_names) + for (String _iter743 : struct.group_names) { - oprot.writeString(_iter735); + oprot.writeString(_iter743); } oprot.writeListEnd(); } @@ -67633,9 +67636,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 _iter736 : struct.part_vals) + for (String _iter744 : struct.part_vals) { - oprot.writeString(_iter736); + oprot.writeString(_iter744); } } } @@ -67648,9 +67651,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 _iter737 : struct.group_names) + for (String _iter745 : struct.group_names) { - oprot.writeString(_iter737); + oprot.writeString(_iter745); } } } @@ -67670,13 +67673,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list738 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list738.size); - for (int _i739 = 0; _i739 < _list738.size; ++_i739) + org.apache.thrift.protocol.TList _list746 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list746.size); + for (int _i747 = 0; _i747 < _list746.size; ++_i747) { - String _elem740; // required - _elem740 = iprot.readString(); - struct.part_vals.add(_elem740); + String _elem748; // required + _elem748 = iprot.readString(); + struct.part_vals.add(_elem748); } } struct.setPart_valsIsSet(true); @@ -67691,13 +67694,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list741 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list741.size); - for (int _i742 = 0; _i742 < _list741.size; ++_i742) + org.apache.thrift.protocol.TList _list749 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list749.size); + for (int _i750 = 0; _i750 < _list749.size; ++_i750) { - String _elem743; // required - _elem743 = iprot.readString(); - struct.group_names.add(_elem743); + String _elem751; // required + _elem751 = iprot.readString(); + struct.group_names.add(_elem751); } } struct.setGroup_namesIsSet(true); @@ -68184,14 +68187,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 _list744 = iprot.readListBegin(); - struct.success = new ArrayList(_list744.size); - for (int _i745 = 0; _i745 < _list744.size; ++_i745) + org.apache.thrift.protocol.TList _list752 = iprot.readListBegin(); + struct.success = new ArrayList(_list752.size); + for (int _i753 = 0; _i753 < _list752.size; ++_i753) { - Partition _elem746; // required - _elem746 = new Partition(); - _elem746.read(iprot); - struct.success.add(_elem746); + Partition _elem754; // required + _elem754 = new Partition(); + _elem754.read(iprot); + struct.success.add(_elem754); } iprot.readListEnd(); } @@ -68235,9 +68238,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 _iter747 : struct.success) + for (Partition _iter755 : struct.success) { - _iter747.write(oprot); + _iter755.write(oprot); } oprot.writeListEnd(); } @@ -68284,9 +68287,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter748 : struct.success) + for (Partition _iter756 : struct.success) { - _iter748.write(oprot); + _iter756.write(oprot); } } } @@ -68304,14 +68307,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 _list749 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list749.size); - for (int _i750 = 0; _i750 < _list749.size; ++_i750) + org.apache.thrift.protocol.TList _list757 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list757.size); + for (int _i758 = 0; _i758 < _list757.size; ++_i758) { - Partition _elem751; // required - _elem751 = new Partition(); - _elem751.read(iprot); - struct.success.add(_elem751); + Partition _elem759; // required + _elem759 = new Partition(); + _elem759.read(iprot); + struct.success.add(_elem759); } } struct.setSuccessIsSet(true); @@ -68907,13 +68910,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 _list752 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list752.size); - for (int _i753 = 0; _i753 < _list752.size; ++_i753) + org.apache.thrift.protocol.TList _list760 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list760.size); + for (int _i761 = 0; _i761 < _list760.size; ++_i761) { - String _elem754; // required - _elem754 = iprot.readString(); - struct.part_vals.add(_elem754); + String _elem762; // required + _elem762 = iprot.readString(); + struct.part_vals.add(_elem762); } iprot.readListEnd(); } @@ -68957,9 +68960,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 _iter755 : struct.part_vals) + for (String _iter763 : struct.part_vals) { - oprot.writeString(_iter755); + oprot.writeString(_iter763); } oprot.writeListEnd(); } @@ -69008,9 +69011,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 _iter756 : struct.part_vals) + for (String _iter764 : struct.part_vals) { - oprot.writeString(_iter756); + oprot.writeString(_iter764); } } } @@ -69033,13 +69036,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list757 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list757.size); - for (int _i758 = 0; _i758 < _list757.size; ++_i758) + org.apache.thrift.protocol.TList _list765 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list765.size); + for (int _i766 = 0; _i766 < _list765.size; ++_i766) { - String _elem759; // required - _elem759 = iprot.readString(); - struct.part_vals.add(_elem759); + String _elem767; // required + _elem767 = iprot.readString(); + struct.part_vals.add(_elem767); } } struct.setPart_valsIsSet(true); @@ -69530,13 +69533,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 _list760 = iprot.readListBegin(); - struct.success = new ArrayList(_list760.size); - for (int _i761 = 0; _i761 < _list760.size; ++_i761) + org.apache.thrift.protocol.TList _list768 = iprot.readListBegin(); + struct.success = new ArrayList(_list768.size); + for (int _i769 = 0; _i769 < _list768.size; ++_i769) { - String _elem762; // required - _elem762 = iprot.readString(); - struct.success.add(_elem762); + String _elem770; // required + _elem770 = iprot.readString(); + struct.success.add(_elem770); } iprot.readListEnd(); } @@ -69580,9 +69583,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 _iter763 : struct.success) + for (String _iter771 : struct.success) { - oprot.writeString(_iter763); + oprot.writeString(_iter771); } oprot.writeListEnd(); } @@ -69629,9 +69632,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter764 : struct.success) + for (String _iter772 : struct.success) { - oprot.writeString(_iter764); + oprot.writeString(_iter772); } } } @@ -69649,13 +69652,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 _list765 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list765.size); - for (int _i766 = 0; _i766 < _list765.size; ++_i766) + org.apache.thrift.protocol.TList _list773 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list773.size); + for (int _i774 = 0; _i774 < _list773.size; ++_i774) { - String _elem767; // required - _elem767 = iprot.readString(); - struct.success.add(_elem767); + String _elem775; // required + _elem775 = iprot.readString(); + struct.success.add(_elem775); } } struct.setSuccessIsSet(true); @@ -70822,14 +70825,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 _list768 = iprot.readListBegin(); - struct.success = new ArrayList(_list768.size); - for (int _i769 = 0; _i769 < _list768.size; ++_i769) + org.apache.thrift.protocol.TList _list776 = iprot.readListBegin(); + struct.success = new ArrayList(_list776.size); + for (int _i777 = 0; _i777 < _list776.size; ++_i777) { - Partition _elem770; // required - _elem770 = new Partition(); - _elem770.read(iprot); - struct.success.add(_elem770); + Partition _elem778; // required + _elem778 = new Partition(); + _elem778.read(iprot); + struct.success.add(_elem778); } iprot.readListEnd(); } @@ -70873,9 +70876,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 _iter771 : struct.success) + for (Partition _iter779 : struct.success) { - _iter771.write(oprot); + _iter779.write(oprot); } oprot.writeListEnd(); } @@ -70922,9 +70925,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter772 : struct.success) + for (Partition _iter780 : struct.success) { - _iter772.write(oprot); + _iter780.write(oprot); } } } @@ -70942,14 +70945,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 _list773 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list773.size); - for (int _i774 = 0; _i774 < _list773.size; ++_i774) + org.apache.thrift.protocol.TList _list781 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list781.size); + for (int _i782 = 0; _i782 < _list781.size; ++_i782) { - Partition _elem775; // required - _elem775 = new Partition(); - _elem775.read(iprot); - struct.success.add(_elem775); + Partition _elem783; // required + _elem783 = new Partition(); + _elem783.read(iprot); + struct.success.add(_elem783); } } struct.setSuccessIsSet(true); @@ -72116,14 +72119,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 _list776 = iprot.readListBegin(); - struct.success = new ArrayList(_list776.size); - for (int _i777 = 0; _i777 < _list776.size; ++_i777) + org.apache.thrift.protocol.TList _list784 = iprot.readListBegin(); + struct.success = new ArrayList(_list784.size); + for (int _i785 = 0; _i785 < _list784.size; ++_i785) { - PartitionSpec _elem778; // required - _elem778 = new PartitionSpec(); - _elem778.read(iprot); - struct.success.add(_elem778); + PartitionSpec _elem786; // required + _elem786 = new PartitionSpec(); + _elem786.read(iprot); + struct.success.add(_elem786); } iprot.readListEnd(); } @@ -72167,9 +72170,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 _iter779 : struct.success) + for (PartitionSpec _iter787 : struct.success) { - _iter779.write(oprot); + _iter787.write(oprot); } oprot.writeListEnd(); } @@ -72216,9 +72219,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 _iter780 : struct.success) + for (PartitionSpec _iter788 : struct.success) { - _iter780.write(oprot); + _iter788.write(oprot); } } } @@ -72236,14 +72239,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 _list781 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list781.size); - for (int _i782 = 0; _i782 < _list781.size; ++_i782) + org.apache.thrift.protocol.TList _list789 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list789.size); + for (int _i790 = 0; _i790 < _list789.size; ++_i790) { - PartitionSpec _elem783; // required - _elem783 = new PartitionSpec(); - _elem783.read(iprot); - struct.success.add(_elem783); + PartitionSpec _elem791; // required + _elem791 = new PartitionSpec(); + _elem791.read(iprot); + struct.success.add(_elem791); } } struct.setSuccessIsSet(true); @@ -73694,13 +73697,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 _list784 = iprot.readListBegin(); - struct.names = new ArrayList(_list784.size); - for (int _i785 = 0; _i785 < _list784.size; ++_i785) + org.apache.thrift.protocol.TList _list792 = iprot.readListBegin(); + struct.names = new ArrayList(_list792.size); + for (int _i793 = 0; _i793 < _list792.size; ++_i793) { - String _elem786; // required - _elem786 = iprot.readString(); - struct.names.add(_elem786); + String _elem794; // required + _elem794 = iprot.readString(); + struct.names.add(_elem794); } iprot.readListEnd(); } @@ -73736,9 +73739,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 _iter787 : struct.names) + for (String _iter795 : struct.names) { - oprot.writeString(_iter787); + oprot.writeString(_iter795); } oprot.writeListEnd(); } @@ -73781,9 +73784,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter788 : struct.names) + for (String _iter796 : struct.names) { - oprot.writeString(_iter788); + oprot.writeString(_iter796); } } } @@ -73803,13 +73806,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list789 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list789.size); - for (int _i790 = 0; _i790 < _list789.size; ++_i790) + org.apache.thrift.protocol.TList _list797 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list797.size); + for (int _i798 = 0; _i798 < _list797.size; ++_i798) { - String _elem791; // required - _elem791 = iprot.readString(); - struct.names.add(_elem791); + String _elem799; // required + _elem799 = iprot.readString(); + struct.names.add(_elem799); } } struct.setNamesIsSet(true); @@ -74296,14 +74299,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 _list792 = iprot.readListBegin(); - struct.success = new ArrayList(_list792.size); - for (int _i793 = 0; _i793 < _list792.size; ++_i793) + org.apache.thrift.protocol.TList _list800 = iprot.readListBegin(); + struct.success = new ArrayList(_list800.size); + for (int _i801 = 0; _i801 < _list800.size; ++_i801) { - Partition _elem794; // required - _elem794 = new Partition(); - _elem794.read(iprot); - struct.success.add(_elem794); + Partition _elem802; // required + _elem802 = new Partition(); + _elem802.read(iprot); + struct.success.add(_elem802); } iprot.readListEnd(); } @@ -74347,9 +74350,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 _iter795 : struct.success) + for (Partition _iter803 : struct.success) { - _iter795.write(oprot); + _iter803.write(oprot); } oprot.writeListEnd(); } @@ -74396,9 +74399,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter796 : struct.success) + for (Partition _iter804 : struct.success) { - _iter796.write(oprot); + _iter804.write(oprot); } } } @@ -74416,14 +74419,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 _list797 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list797.size); - for (int _i798 = 0; _i798 < _list797.size; ++_i798) + org.apache.thrift.protocol.TList _list805 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list805.size); + for (int _i806 = 0; _i806 < _list805.size; ++_i806) { - Partition _elem799; // required - _elem799 = new Partition(); - _elem799.read(iprot); - struct.success.add(_elem799); + Partition _elem807; // required + _elem807 = new Partition(); + _elem807.read(iprot); + struct.success.add(_elem807); } } struct.setSuccessIsSet(true); @@ -75973,14 +75976,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 _list800 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list800.size); - for (int _i801 = 0; _i801 < _list800.size; ++_i801) + org.apache.thrift.protocol.TList _list808 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list808.size); + for (int _i809 = 0; _i809 < _list808.size; ++_i809) { - Partition _elem802; // required - _elem802 = new Partition(); - _elem802.read(iprot); - struct.new_parts.add(_elem802); + Partition _elem810; // required + _elem810 = new Partition(); + _elem810.read(iprot); + struct.new_parts.add(_elem810); } iprot.readListEnd(); } @@ -76016,9 +76019,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 _iter803 : struct.new_parts) + for (Partition _iter811 : struct.new_parts) { - _iter803.write(oprot); + _iter811.write(oprot); } oprot.writeListEnd(); } @@ -76061,9 +76064,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 _iter804 : struct.new_parts) + for (Partition _iter812 : struct.new_parts) { - _iter804.write(oprot); + _iter812.write(oprot); } } } @@ -76083,14 +76086,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list805 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list805.size); - for (int _i806 = 0; _i806 < _list805.size; ++_i806) + org.apache.thrift.protocol.TList _list813 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list813.size); + for (int _i814 = 0; _i814 < _list813.size; ++_i814) { - Partition _elem807; // required - _elem807 = new Partition(); - _elem807.read(iprot); - struct.new_parts.add(_elem807); + Partition _elem815; // required + _elem815 = new Partition(); + _elem815.read(iprot); + struct.new_parts.add(_elem815); } } struct.setNew_partsIsSet(true); @@ -78289,13 +78292,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 _list808 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list808.size); - for (int _i809 = 0; _i809 < _list808.size; ++_i809) + org.apache.thrift.protocol.TList _list816 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list816.size); + for (int _i817 = 0; _i817 < _list816.size; ++_i817) { - String _elem810; // required - _elem810 = iprot.readString(); - struct.part_vals.add(_elem810); + String _elem818; // required + _elem818 = iprot.readString(); + struct.part_vals.add(_elem818); } iprot.readListEnd(); } @@ -78340,9 +78343,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 _iter811 : struct.part_vals) + for (String _iter819 : struct.part_vals) { - oprot.writeString(_iter811); + oprot.writeString(_iter819); } oprot.writeListEnd(); } @@ -78393,9 +78396,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 _iter812 : struct.part_vals) + for (String _iter820 : struct.part_vals) { - oprot.writeString(_iter812); + oprot.writeString(_iter820); } } } @@ -78418,13 +78421,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list813 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list813.size); - for (int _i814 = 0; _i814 < _list813.size; ++_i814) + org.apache.thrift.protocol.TList _list821 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list821.size); + for (int _i822 = 0; _i822 < _list821.size; ++_i822) { - String _elem815; // required - _elem815 = iprot.readString(); - struct.part_vals.add(_elem815); + String _elem823; // required + _elem823 = iprot.readString(); + struct.part_vals.add(_elem823); } } struct.setPart_valsIsSet(true); @@ -79301,13 +79304,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 _list816 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list816.size); - for (int _i817 = 0; _i817 < _list816.size; ++_i817) + org.apache.thrift.protocol.TList _list824 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list824.size); + for (int _i825 = 0; _i825 < _list824.size; ++_i825) { - String _elem818; // required - _elem818 = iprot.readString(); - struct.part_vals.add(_elem818); + String _elem826; // required + _elem826 = iprot.readString(); + struct.part_vals.add(_elem826); } iprot.readListEnd(); } @@ -79341,9 +79344,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 _iter819 : struct.part_vals) + for (String _iter827 : struct.part_vals) { - oprot.writeString(_iter819); + oprot.writeString(_iter827); } oprot.writeListEnd(); } @@ -79380,9 +79383,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 _iter820 : struct.part_vals) + for (String _iter828 : struct.part_vals) { - oprot.writeString(_iter820); + oprot.writeString(_iter828); } } } @@ -79397,13 +79400,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 _list821 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list821.size); - for (int _i822 = 0; _i822 < _list821.size; ++_i822) + org.apache.thrift.protocol.TList _list829 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list829.size); + for (int _i830 = 0; _i830 < _list829.size; ++_i830) { - String _elem823; // required - _elem823 = iprot.readString(); - struct.part_vals.add(_elem823); + String _elem831; // required + _elem831 = iprot.readString(); + struct.part_vals.add(_elem831); } } struct.setPart_valsIsSet(true); @@ -81561,13 +81564,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 _list824 = iprot.readListBegin(); - struct.success = new ArrayList(_list824.size); - for (int _i825 = 0; _i825 < _list824.size; ++_i825) + org.apache.thrift.protocol.TList _list832 = iprot.readListBegin(); + struct.success = new ArrayList(_list832.size); + for (int _i833 = 0; _i833 < _list832.size; ++_i833) { - String _elem826; // required - _elem826 = iprot.readString(); - struct.success.add(_elem826); + String _elem834; // required + _elem834 = iprot.readString(); + struct.success.add(_elem834); } iprot.readListEnd(); } @@ -81602,9 +81605,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 _iter827 : struct.success) + for (String _iter835 : struct.success) { - oprot.writeString(_iter827); + oprot.writeString(_iter835); } oprot.writeListEnd(); } @@ -81643,9 +81646,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter828 : struct.success) + for (String _iter836 : struct.success) { - oprot.writeString(_iter828); + oprot.writeString(_iter836); } } } @@ -81660,13 +81663,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 _list829 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list829.size); - for (int _i830 = 0; _i830 < _list829.size; ++_i830) + org.apache.thrift.protocol.TList _list837 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list837.size); + for (int _i838 = 0; _i838 < _list837.size; ++_i838) { - String _elem831; // required - _elem831 = iprot.readString(); - struct.success.add(_elem831); + String _elem839; // required + _elem839 = iprot.readString(); + struct.success.add(_elem839); } } struct.setSuccessIsSet(true); @@ -82440,15 +82443,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 _map832 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map832.size); - for (int _i833 = 0; _i833 < _map832.size; ++_i833) + org.apache.thrift.protocol.TMap _map840 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map840.size); + for (int _i841 = 0; _i841 < _map840.size; ++_i841) { - String _key834; // required - String _val835; // required - _key834 = iprot.readString(); - _val835 = iprot.readString(); - struct.success.put(_key834, _val835); + String _key842; // required + String _val843; // required + _key842 = iprot.readString(); + _val843 = iprot.readString(); + struct.success.put(_key842, _val843); } iprot.readMapEnd(); } @@ -82483,10 +82486,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 _iter836 : struct.success.entrySet()) + for (Map.Entry _iter844 : struct.success.entrySet()) { - oprot.writeString(_iter836.getKey()); - oprot.writeString(_iter836.getValue()); + oprot.writeString(_iter844.getKey()); + oprot.writeString(_iter844.getValue()); } oprot.writeMapEnd(); } @@ -82525,10 +82528,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 _iter837 : struct.success.entrySet()) + for (Map.Entry _iter845 : struct.success.entrySet()) { - oprot.writeString(_iter837.getKey()); - oprot.writeString(_iter837.getValue()); + oprot.writeString(_iter845.getKey()); + oprot.writeString(_iter845.getValue()); } } } @@ -82543,15 +82546,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 _map838 = 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*_map838.size); - for (int _i839 = 0; _i839 < _map838.size; ++_i839) + org.apache.thrift.protocol.TMap _map846 = 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*_map846.size); + for (int _i847 = 0; _i847 < _map846.size; ++_i847) { - String _key840; // required - String _val841; // required - _key840 = iprot.readString(); - _val841 = iprot.readString(); - struct.success.put(_key840, _val841); + String _key848; // required + String _val849; // required + _key848 = iprot.readString(); + _val849 = iprot.readString(); + struct.success.put(_key848, _val849); } } struct.setSuccessIsSet(true); @@ -83157,15 +83160,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 _map842 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map842.size); - for (int _i843 = 0; _i843 < _map842.size; ++_i843) + org.apache.thrift.protocol.TMap _map850 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map850.size); + for (int _i851 = 0; _i851 < _map850.size; ++_i851) { - String _key844; // required - String _val845; // required - _key844 = iprot.readString(); - _val845 = iprot.readString(); - struct.part_vals.put(_key844, _val845); + String _key852; // required + String _val853; // required + _key852 = iprot.readString(); + _val853 = iprot.readString(); + struct.part_vals.put(_key852, _val853); } iprot.readMapEnd(); } @@ -83209,10 +83212,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 _iter846 : struct.part_vals.entrySet()) + for (Map.Entry _iter854 : struct.part_vals.entrySet()) { - oprot.writeString(_iter846.getKey()); - oprot.writeString(_iter846.getValue()); + oprot.writeString(_iter854.getKey()); + oprot.writeString(_iter854.getValue()); } oprot.writeMapEnd(); } @@ -83263,10 +83266,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter847 : struct.part_vals.entrySet()) + for (Map.Entry _iter855 : struct.part_vals.entrySet()) { - oprot.writeString(_iter847.getKey()); - oprot.writeString(_iter847.getValue()); + oprot.writeString(_iter855.getKey()); + oprot.writeString(_iter855.getValue()); } } } @@ -83289,15 +83292,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map848 = 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*_map848.size); - for (int _i849 = 0; _i849 < _map848.size; ++_i849) + org.apache.thrift.protocol.TMap _map856 = 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*_map856.size); + for (int _i857 = 0; _i857 < _map856.size; ++_i857) { - String _key850; // required - String _val851; // required - _key850 = iprot.readString(); - _val851 = iprot.readString(); - struct.part_vals.put(_key850, _val851); + String _key858; // required + String _val859; // required + _key858 = iprot.readString(); + _val859 = iprot.readString(); + struct.part_vals.put(_key858, _val859); } } struct.setPart_valsIsSet(true); @@ -84792,15 +84795,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 _map852 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map852.size); - for (int _i853 = 0; _i853 < _map852.size; ++_i853) + org.apache.thrift.protocol.TMap _map860 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map860.size); + for (int _i861 = 0; _i861 < _map860.size; ++_i861) { - String _key854; // required - String _val855; // required - _key854 = iprot.readString(); - _val855 = iprot.readString(); - struct.part_vals.put(_key854, _val855); + String _key862; // required + String _val863; // required + _key862 = iprot.readString(); + _val863 = iprot.readString(); + struct.part_vals.put(_key862, _val863); } iprot.readMapEnd(); } @@ -84844,10 +84847,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 _iter856 : struct.part_vals.entrySet()) + for (Map.Entry _iter864 : struct.part_vals.entrySet()) { - oprot.writeString(_iter856.getKey()); - oprot.writeString(_iter856.getValue()); + oprot.writeString(_iter864.getKey()); + oprot.writeString(_iter864.getValue()); } oprot.writeMapEnd(); } @@ -84898,10 +84901,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter857 : struct.part_vals.entrySet()) + for (Map.Entry _iter865 : struct.part_vals.entrySet()) { - oprot.writeString(_iter857.getKey()); - oprot.writeString(_iter857.getValue()); + oprot.writeString(_iter865.getKey()); + oprot.writeString(_iter865.getValue()); } } } @@ -84924,15 +84927,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map858 = 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*_map858.size); - for (int _i859 = 0; _i859 < _map858.size; ++_i859) + org.apache.thrift.protocol.TMap _map866 = 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*_map866.size); + for (int _i867 = 0; _i867 < _map866.size; ++_i867) { - String _key860; // required - String _val861; // required - _key860 = iprot.readString(); - _val861 = iprot.readString(); - struct.part_vals.put(_key860, _val861); + String _key868; // required + String _val869; // required + _key868 = iprot.readString(); + _val869 = iprot.readString(); + struct.part_vals.put(_key868, _val869); } } struct.setPart_valsIsSet(true); @@ -91656,14 +91659,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_indexes_result case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list862 = iprot.readListBegin(); - struct.success = new ArrayList(_list862.size); - for (int _i863 = 0; _i863 < _list862.size; ++_i863) + org.apache.thrift.protocol.TList _list870 = iprot.readListBegin(); + struct.success = new ArrayList(_list870.size); + for (int _i871 = 0; _i871 < _list870.size; ++_i871) { - Index _elem864; // required - _elem864 = new Index(); - _elem864.read(iprot); - struct.success.add(_elem864); + Index _elem872; // required + _elem872 = new Index(); + _elem872.read(iprot); + struct.success.add(_elem872); } iprot.readListEnd(); } @@ -91707,9 +91710,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_indexes_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Index _iter865 : struct.success) + for (Index _iter873 : struct.success) { - _iter865.write(oprot); + _iter873.write(oprot); } oprot.writeListEnd(); } @@ -91756,9 +91759,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_indexes_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Index _iter866 : struct.success) + for (Index _iter874 : struct.success) { - _iter866.write(oprot); + _iter874.write(oprot); } } } @@ -91776,14 +91779,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_indexes_result s BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list867 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list867.size); - for (int _i868 = 0; _i868 < _list867.size; ++_i868) + org.apache.thrift.protocol.TList _list875 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list875.size); + for (int _i876 = 0; _i876 < _list875.size; ++_i876) { - Index _elem869; // required - _elem869 = new Index(); - _elem869.read(iprot); - struct.success.add(_elem869); + Index _elem877; // required + _elem877 = new Index(); + _elem877.read(iprot); + struct.success.add(_elem877); } } struct.setSuccessIsSet(true); @@ -92765,13 +92768,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_names_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list870 = iprot.readListBegin(); - struct.success = new ArrayList(_list870.size); - for (int _i871 = 0; _i871 < _list870.size; ++_i871) + org.apache.thrift.protocol.TList _list878 = iprot.readListBegin(); + struct.success = new ArrayList(_list878.size); + for (int _i879 = 0; _i879 < _list878.size; ++_i879) { - String _elem872; // required - _elem872 = iprot.readString(); - struct.success.add(_elem872); + String _elem880; // required + _elem880 = iprot.readString(); + struct.success.add(_elem880); } iprot.readListEnd(); } @@ -92806,9 +92809,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_index_names_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter873 : struct.success) + for (String _iter881 : struct.success) { - oprot.writeString(_iter873); + oprot.writeString(_iter881); } oprot.writeListEnd(); } @@ -92847,9 +92850,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_index_names_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter874 : struct.success) + for (String _iter882 : struct.success) { - oprot.writeString(_iter874); + oprot.writeString(_iter882); } } } @@ -92864,13 +92867,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_index_names_resu BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list875 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list875.size); - for (int _i876 = 0; _i876 < _list875.size; ++_i876) + org.apache.thrift.protocol.TList _list883 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list883.size); + for (int _i884 = 0; _i884 < _list883.size; ++_i884) { - String _elem877; // required - _elem877 = iprot.readString(); - struct.success.add(_elem877); + String _elem885; // required + _elem885 = iprot.readString(); + struct.success.add(_elem885); } } struct.setSuccessIsSet(true); @@ -108608,13 +108611,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 _list878 = iprot.readListBegin(); - struct.success = new ArrayList(_list878.size); - for (int _i879 = 0; _i879 < _list878.size; ++_i879) + org.apache.thrift.protocol.TList _list886 = iprot.readListBegin(); + struct.success = new ArrayList(_list886.size); + for (int _i887 = 0; _i887 < _list886.size; ++_i887) { - String _elem880; // required - _elem880 = iprot.readString(); - struct.success.add(_elem880); + String _elem888; // required + _elem888 = iprot.readString(); + struct.success.add(_elem888); } iprot.readListEnd(); } @@ -108649,9 +108652,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 _iter881 : struct.success) + for (String _iter889 : struct.success) { - oprot.writeString(_iter881); + oprot.writeString(_iter889); } oprot.writeListEnd(); } @@ -108690,9 +108693,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter882 : struct.success) + for (String _iter890 : struct.success) { - oprot.writeString(_iter882); + oprot.writeString(_iter890); } } } @@ -108707,13 +108710,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 _list883 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list883.size); - for (int _i884 = 0; _i884 < _list883.size; ++_i884) + org.apache.thrift.protocol.TList _list891 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list891.size); + for (int _i892 = 0; _i892 < _list891.size; ++_i892) { - String _elem885; // required - _elem885 = iprot.readString(); - struct.success.add(_elem885); + String _elem893; // required + _elem893 = iprot.readString(); + struct.success.add(_elem893); } } struct.setSuccessIsSet(true); @@ -112056,13 +112059,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 _list886 = iprot.readListBegin(); - struct.success = new ArrayList(_list886.size); - for (int _i887 = 0; _i887 < _list886.size; ++_i887) + org.apache.thrift.protocol.TList _list894 = iprot.readListBegin(); + struct.success = new ArrayList(_list894.size); + for (int _i895 = 0; _i895 < _list894.size; ++_i895) { - String _elem888; // required - _elem888 = iprot.readString(); - struct.success.add(_elem888); + String _elem896; // required + _elem896 = iprot.readString(); + struct.success.add(_elem896); } iprot.readListEnd(); } @@ -112097,9 +112100,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 _iter889 : struct.success) + for (String _iter897 : struct.success) { - oprot.writeString(_iter889); + oprot.writeString(_iter897); } oprot.writeListEnd(); } @@ -112138,9 +112141,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter890 : struct.success) + for (String _iter898 : struct.success) { - oprot.writeString(_iter890); + oprot.writeString(_iter898); } } } @@ -112155,13 +112158,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 _list891 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list891.size); - for (int _i892 = 0; _i892 < _list891.size; ++_i892) + org.apache.thrift.protocol.TList _list899 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list899.size); + for (int _i900 = 0; _i900 < _list899.size; ++_i900) { - String _elem893; // required - _elem893 = iprot.readString(); - struct.success.add(_elem893); + String _elem901; // required + _elem901 = iprot.readString(); + struct.success.add(_elem901); } } struct.setSuccessIsSet(true); @@ -115452,14 +115455,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 _list894 = iprot.readListBegin(); - struct.success = new ArrayList(_list894.size); - for (int _i895 = 0; _i895 < _list894.size; ++_i895) + org.apache.thrift.protocol.TList _list902 = iprot.readListBegin(); + struct.success = new ArrayList(_list902.size); + for (int _i903 = 0; _i903 < _list902.size; ++_i903) { - Role _elem896; // required - _elem896 = new Role(); - _elem896.read(iprot); - struct.success.add(_elem896); + Role _elem904; // required + _elem904 = new Role(); + _elem904.read(iprot); + struct.success.add(_elem904); } iprot.readListEnd(); } @@ -115494,9 +115497,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 _iter897 : struct.success) + for (Role _iter905 : struct.success) { - _iter897.write(oprot); + _iter905.write(oprot); } oprot.writeListEnd(); } @@ -115535,9 +115538,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter898 : struct.success) + for (Role _iter906 : struct.success) { - _iter898.write(oprot); + _iter906.write(oprot); } } } @@ -115552,14 +115555,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 _list899 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list899.size); - for (int _i900 = 0; _i900 < _list899.size; ++_i900) + org.apache.thrift.protocol.TList _list907 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list907.size); + for (int _i908 = 0; _i908 < _list907.size; ++_i908) { - Role _elem901; // required - _elem901 = new Role(); - _elem901.read(iprot); - struct.success.add(_elem901); + Role _elem909; // required + _elem909 = new Role(); + _elem909.read(iprot); + struct.success.add(_elem909); } } struct.setSuccessIsSet(true); @@ -118567,13 +118570,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 _list902 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list902.size); - for (int _i903 = 0; _i903 < _list902.size; ++_i903) + org.apache.thrift.protocol.TList _list910 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list910.size); + for (int _i911 = 0; _i911 < _list910.size; ++_i911) { - String _elem904; // required - _elem904 = iprot.readString(); - struct.group_names.add(_elem904); + String _elem912; // required + _elem912 = iprot.readString(); + struct.group_names.add(_elem912); } iprot.readListEnd(); } @@ -118609,9 +118612,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 _iter905 : struct.group_names) + for (String _iter913 : struct.group_names) { - oprot.writeString(_iter905); + oprot.writeString(_iter913); } oprot.writeListEnd(); } @@ -118654,9 +118657,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 _iter906 : struct.group_names) + for (String _iter914 : struct.group_names) { - oprot.writeString(_iter906); + oprot.writeString(_iter914); } } } @@ -118677,13 +118680,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list907 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list907.size); - for (int _i908 = 0; _i908 < _list907.size; ++_i908) + org.apache.thrift.protocol.TList _list915 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list915.size); + for (int _i916 = 0; _i916 < _list915.size; ++_i916) { - String _elem909; // required - _elem909 = iprot.readString(); - struct.group_names.add(_elem909); + String _elem917; // required + _elem917 = iprot.readString(); + struct.group_names.add(_elem917); } } struct.setGroup_namesIsSet(true); @@ -120141,14 +120144,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 _list910 = iprot.readListBegin(); - struct.success = new ArrayList(_list910.size); - for (int _i911 = 0; _i911 < _list910.size; ++_i911) + org.apache.thrift.protocol.TList _list918 = iprot.readListBegin(); + struct.success = new ArrayList(_list918.size); + for (int _i919 = 0; _i919 < _list918.size; ++_i919) { - HiveObjectPrivilege _elem912; // required - _elem912 = new HiveObjectPrivilege(); - _elem912.read(iprot); - struct.success.add(_elem912); + HiveObjectPrivilege _elem920; // required + _elem920 = new HiveObjectPrivilege(); + _elem920.read(iprot); + struct.success.add(_elem920); } iprot.readListEnd(); } @@ -120183,9 +120186,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 _iter913 : struct.success) + for (HiveObjectPrivilege _iter921 : struct.success) { - _iter913.write(oprot); + _iter921.write(oprot); } oprot.writeListEnd(); } @@ -120224,9 +120227,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter914 : struct.success) + for (HiveObjectPrivilege _iter922 : struct.success) { - _iter914.write(oprot); + _iter922.write(oprot); } } } @@ -120241,14 +120244,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 _list915 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list915.size); - for (int _i916 = 0; _i916 < _list915.size; ++_i916) + org.apache.thrift.protocol.TList _list923 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list923.size); + for (int _i924 = 0; _i924 < _list923.size; ++_i924) { - HiveObjectPrivilege _elem917; // required - _elem917 = new HiveObjectPrivilege(); - _elem917.read(iprot); - struct.success.add(_elem917); + HiveObjectPrivilege _elem925; // required + _elem925 = new HiveObjectPrivilege(); + _elem925.read(iprot); + struct.success.add(_elem925); } } struct.setSuccessIsSet(true); @@ -123153,13 +123156,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 _list918 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list918.size); - for (int _i919 = 0; _i919 < _list918.size; ++_i919) + org.apache.thrift.protocol.TList _list926 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list926.size); + for (int _i927 = 0; _i927 < _list926.size; ++_i927) { - String _elem920; // required - _elem920 = iprot.readString(); - struct.group_names.add(_elem920); + String _elem928; // required + _elem928 = iprot.readString(); + struct.group_names.add(_elem928); } iprot.readListEnd(); } @@ -123190,9 +123193,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 _iter921 : struct.group_names) + for (String _iter929 : struct.group_names) { - oprot.writeString(_iter921); + oprot.writeString(_iter929); } oprot.writeListEnd(); } @@ -123229,9 +123232,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 _iter922 : struct.group_names) + for (String _iter930 : struct.group_names) { - oprot.writeString(_iter922); + oprot.writeString(_iter930); } } } @@ -123247,13 +123250,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list923 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list923.size); - for (int _i924 = 0; _i924 < _list923.size; ++_i924) + org.apache.thrift.protocol.TList _list931 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list931.size); + for (int _i932 = 0; _i932 < _list931.size; ++_i932) { - String _elem925; // required - _elem925 = iprot.readString(); - struct.group_names.add(_elem925); + String _elem933; // required + _elem933 = iprot.readString(); + struct.group_names.add(_elem933); } } struct.setGroup_namesIsSet(true); @@ -123659,13 +123662,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 _list926 = iprot.readListBegin(); - struct.success = new ArrayList(_list926.size); - for (int _i927 = 0; _i927 < _list926.size; ++_i927) + org.apache.thrift.protocol.TList _list934 = iprot.readListBegin(); + struct.success = new ArrayList(_list934.size); + for (int _i935 = 0; _i935 < _list934.size; ++_i935) { - String _elem928; // required - _elem928 = iprot.readString(); - struct.success.add(_elem928); + String _elem936; // required + _elem936 = iprot.readString(); + struct.success.add(_elem936); } iprot.readListEnd(); } @@ -123700,9 +123703,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 _iter929 : struct.success) + for (String _iter937 : struct.success) { - oprot.writeString(_iter929); + oprot.writeString(_iter937); } oprot.writeListEnd(); } @@ -123741,9 +123744,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter930 : struct.success) + for (String _iter938 : struct.success) { - oprot.writeString(_iter930); + oprot.writeString(_iter938); } } } @@ -123758,13 +123761,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 _list931 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list931.size); - for (int _i932 = 0; _i932 < _list931.size; ++_i932) + org.apache.thrift.protocol.TList _list939 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list939.size); + for (int _i940 = 0; _i940 < _list939.size; ++_i940) { - String _elem933; // required - _elem933 = iprot.readString(); - struct.success.add(_elem933); + String _elem941; // required + _elem941 = iprot.readString(); + struct.success.add(_elem941); } } struct.setSuccessIsSet(true); @@ -137609,15 +137612,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_current_notifica } - public static class fire_notification_event_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("fire_notification_event_args"); + public static class fire_listener_event_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("fire_listener_event_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 fire_notification_event_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new fire_notification_event_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new fire_listener_event_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new fire_listener_event_argsTupleSchemeFactory()); } private FireEventRequest rqst; // required @@ -137687,13 +137690,13 @@ public String getFieldName() { 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, FireEventRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(fire_notification_event_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(fire_listener_event_args.class, metaDataMap); } - public fire_notification_event_args() { + public fire_listener_event_args() { } - public fire_notification_event_args( + public fire_listener_event_args( FireEventRequest rqst) { this(); @@ -137703,14 +137706,14 @@ public fire_notification_event_args( /** * Performs a deep copy on other. */ - public fire_notification_event_args(fire_notification_event_args other) { + public fire_listener_event_args(fire_listener_event_args other) { if (other.isSetRqst()) { this.rqst = new FireEventRequest(other.rqst); } } - public fire_notification_event_args deepCopy() { - return new fire_notification_event_args(this); + public fire_listener_event_args deepCopy() { + return new fire_listener_event_args(this); } @Override @@ -137780,12 +137783,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof fire_notification_event_args) - return this.equals((fire_notification_event_args)that); + if (that instanceof fire_listener_event_args) + return this.equals((fire_listener_event_args)that); return false; } - public boolean equals(fire_notification_event_args that) { + public boolean equals(fire_listener_event_args that) { if (that == null) return false; @@ -137813,13 +137816,13 @@ public int hashCode() { return builder.toHashCode(); } - public int compareTo(fire_notification_event_args other) { + public int compareTo(fire_listener_event_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - fire_notification_event_args typedOther = (fire_notification_event_args)other; + fire_listener_event_args typedOther = (fire_listener_event_args)other; lastComparison = Boolean.valueOf(isSetRqst()).compareTo(typedOther.isSetRqst()); if (lastComparison != 0) { @@ -137848,7 +137851,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("fire_notification_event_args("); + StringBuilder sb = new StringBuilder("fire_listener_event_args("); boolean first = true; sb.append("rqst:"); @@ -137886,15 +137889,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class fire_notification_event_argsStandardSchemeFactory implements SchemeFactory { - public fire_notification_event_argsStandardScheme getScheme() { - return new fire_notification_event_argsStandardScheme(); + private static class fire_listener_event_argsStandardSchemeFactory implements SchemeFactory { + public fire_listener_event_argsStandardScheme getScheme() { + return new fire_listener_event_argsStandardScheme(); } } - private static class fire_notification_event_argsStandardScheme extends StandardScheme { + private static class fire_listener_event_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, fire_notification_event_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, fire_listener_event_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -137922,7 +137925,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, fire_notification_e struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, fire_notification_event_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, fire_listener_event_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -137937,16 +137940,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, fire_notification_ } - private static class fire_notification_event_argsTupleSchemeFactory implements SchemeFactory { - public fire_notification_event_argsTupleScheme getScheme() { - return new fire_notification_event_argsTupleScheme(); + private static class fire_listener_event_argsTupleSchemeFactory implements SchemeFactory { + public fire_listener_event_argsTupleScheme getScheme() { + return new fire_listener_event_argsTupleScheme(); } } - private static class fire_notification_event_argsTupleScheme extends TupleScheme { + private static class fire_listener_event_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, fire_notification_event_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, fire_listener_event_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetRqst()) { @@ -137959,7 +137962,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, fire_notification_e } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, fire_notification_event_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, fire_listener_event_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { @@ -137972,20 +137975,22 @@ public void read(org.apache.thrift.protocol.TProtocol prot, fire_notification_ev } - public static class fire_notification_event_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("fire_notification_event_result"); + public static class fire_listener_event_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("fire_listener_event_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 fire_notification_event_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new fire_notification_event_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new fire_listener_event_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new fire_listener_event_resultTupleSchemeFactory()); } + private FireEventResponse 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(); @@ -138000,6 +138005,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, fire_notification_ev */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { + case 0: // SUCCESS + return SUCCESS; default: return null; } @@ -138038,37 +138045,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.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, FireEventResponse.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(fire_notification_event_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(fire_listener_event_result.class, metaDataMap); + } + + public fire_listener_event_result() { } - public fire_notification_event_result() { + public fire_listener_event_result( + FireEventResponse success) + { + this(); + this.success = success; } /** * Performs a deep copy on other. */ - public fire_notification_event_result(fire_notification_event_result other) { + public fire_listener_event_result(fire_listener_event_result other) { + if (other.isSetSuccess()) { + this.success = new FireEventResponse(other.success); + } } - public fire_notification_event_result deepCopy() { - return new fire_notification_event_result(this); + public fire_listener_event_result deepCopy() { + return new fire_listener_event_result(this); } @Override public void clear() { + this.success = null; + } + + public FireEventResponse getSuccess() { + return this.success; + } + + public void setSuccess(FireEventResponse 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((FireEventResponse)value); + } + break; + } } public Object getFieldValue(_Fields field) { switch (field) { + case SUCCESS: + return getSuccess(); + } throw new IllegalStateException(); } @@ -138080,6 +138136,8 @@ public boolean isSet(_Fields field) { } switch (field) { + case SUCCESS: + return isSetSuccess(); } throw new IllegalStateException(); } @@ -138088,15 +138146,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof fire_notification_event_result) - return this.equals((fire_notification_event_result)that); + if (that instanceof fire_listener_event_result) + return this.equals((fire_listener_event_result)that); return false; } - public boolean equals(fire_notification_event_result that) { + public boolean equals(fire_listener_event_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; } @@ -138104,17 +138171,32 @@ public boolean equals(fire_notification_event_result that) { public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); + boolean present_success = true && (isSetSuccess()); + builder.append(present_success); + if (present_success) + builder.append(success); + return builder.toHashCode(); } - public int compareTo(fire_notification_event_result other) { + public int compareTo(fire_listener_event_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - fire_notification_event_result typedOther = (fire_notification_event_result)other; + fire_listener_event_result typedOther = (fire_listener_event_result)other; + lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetSuccess()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -138132,9 +138214,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("fire_notification_event_result("); + StringBuilder sb = new StringBuilder("fire_listener_event_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(); } @@ -138142,6 +138231,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 { @@ -138160,15 +138252,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class fire_notification_event_resultStandardSchemeFactory implements SchemeFactory { - public fire_notification_event_resultStandardScheme getScheme() { - return new fire_notification_event_resultStandardScheme(); + private static class fire_listener_event_resultStandardSchemeFactory implements SchemeFactory { + public fire_listener_event_resultStandardScheme getScheme() { + return new fire_listener_event_resultStandardScheme(); } } - private static class fire_notification_event_resultStandardScheme extends StandardScheme { + private static class fire_listener_event_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, fire_notification_event_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, fire_listener_event_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -138178,6 +138270,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, fire_notification_e break; } switch (schemeField.id) { + case 0: // SUCCESS + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new FireEventResponse(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -138187,32 +138288,51 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, fire_notification_e struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, fire_notification_event_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, fire_listener_event_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(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class fire_notification_event_resultTupleSchemeFactory implements SchemeFactory { - public fire_notification_event_resultTupleScheme getScheme() { - return new fire_notification_event_resultTupleScheme(); + private static class fire_listener_event_resultTupleSchemeFactory implements SchemeFactory { + public fire_listener_event_resultTupleScheme getScheme() { + return new fire_listener_event_resultTupleScheme(); } } - private static class fire_notification_event_resultTupleScheme extends TupleScheme { + private static class fire_listener_event_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, fire_notification_event_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, fire_listener_event_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()) { + struct.success.write(oprot); + } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, fire_notification_event_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, fire_listener_event_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.success = new FireEventResponse(); + struct.success.read(iprot); + struct.setSuccessIsSet(true); + } } } diff --git metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php index add3bc7..1899457 100644 --- metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -135,7 +135,7 @@ interface ThriftHiveMetastoreIf extends \FacebookServiceIf { public function show_compact(\metastore\ShowCompactRequest $rqst); public function get_next_notification(\metastore\NotificationEventRequest $rqst); public function get_current_notificationEventId(); - public function fire_notification_event(\metastore\FireEventRequest $rqst); + public function fire_listener_event(\metastore\FireEventRequest $rqst); } class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metastore\ThriftHiveMetastoreIf { @@ -6988,34 +6988,34 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas throw new \Exception("get_current_notificationEventId failed: unknown result"); } - public function fire_notification_event(\metastore\FireEventRequest $rqst) + public function fire_listener_event(\metastore\FireEventRequest $rqst) { - $this->send_fire_notification_event($rqst); - $this->recv_fire_notification_event(); + $this->send_fire_listener_event($rqst); + return $this->recv_fire_listener_event(); } - public function send_fire_notification_event(\metastore\FireEventRequest $rqst) + public function send_fire_listener_event(\metastore\FireEventRequest $rqst) { - $args = new \metastore\ThriftHiveMetastore_fire_notification_event_args(); + $args = new \metastore\ThriftHiveMetastore_fire_listener_event_args(); $args->rqst = $rqst; $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { - thrift_protocol_write_binary($this->output_, 'fire_notification_event', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); + thrift_protocol_write_binary($this->output_, 'fire_listener_event', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); } else { - $this->output_->writeMessageBegin('fire_notification_event', TMessageType::CALL, $this->seqid_); + $this->output_->writeMessageBegin('fire_listener_event', TMessageType::CALL, $this->seqid_); $args->write($this->output_); $this->output_->writeMessageEnd(); $this->output_->getTransport()->flush(); } } - public function recv_fire_notification_event() + public function recv_fire_listener_event() { $bin_accel = ($this->input_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_read_binary'); - if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_fire_notification_event_result', $this->input_->isStrictRead()); + if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_fire_listener_event_result', $this->input_->isStrictRead()); else { $rseqid = 0; @@ -7029,11 +7029,14 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas $this->input_->readMessageEnd(); throw $x; } - $result = new \metastore\ThriftHiveMetastore_fire_notification_event_result(); + $result = new \metastore\ThriftHiveMetastore_fire_listener_event_result(); $result->read($this->input_); $this->input_->readMessageEnd(); } - return; + if ($result->success !== null) { + return $result->success; + } + throw new \Exception("fire_listener_event failed: unknown result"); } } @@ -8118,14 +8121,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size451 = 0; - $_etype454 = 0; - $xfer += $input->readListBegin($_etype454, $_size451); - for ($_i455 = 0; $_i455 < $_size451; ++$_i455) + $_size458 = 0; + $_etype461 = 0; + $xfer += $input->readListBegin($_etype461, $_size458); + for ($_i462 = 0; $_i462 < $_size458; ++$_i462) { - $elem456 = null; - $xfer += $input->readString($elem456); - $this->success []= $elem456; + $elem463 = null; + $xfer += $input->readString($elem463); + $this->success []= $elem463; } $xfer += $input->readListEnd(); } else { @@ -8161,9 +8164,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter457) + foreach ($this->success as $iter464) { - $xfer += $output->writeString($iter457); + $xfer += $output->writeString($iter464); } } $output->writeListEnd(); @@ -8288,14 +8291,14 @@ class ThriftHiveMetastore_get_all_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size458 = 0; - $_etype461 = 0; - $xfer += $input->readListBegin($_etype461, $_size458); - for ($_i462 = 0; $_i462 < $_size458; ++$_i462) + $_size465 = 0; + $_etype468 = 0; + $xfer += $input->readListBegin($_etype468, $_size465); + for ($_i469 = 0; $_i469 < $_size465; ++$_i469) { - $elem463 = null; - $xfer += $input->readString($elem463); - $this->success []= $elem463; + $elem470 = null; + $xfer += $input->readString($elem470); + $this->success []= $elem470; } $xfer += $input->readListEnd(); } else { @@ -8331,9 +8334,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter464) + foreach ($this->success as $iter471) { - $xfer += $output->writeString($iter464); + $xfer += $output->writeString($iter471); } } $output->writeListEnd(); @@ -9274,18 +9277,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size465 = 0; - $_ktype466 = 0; - $_vtype467 = 0; - $xfer += $input->readMapBegin($_ktype466, $_vtype467, $_size465); - for ($_i469 = 0; $_i469 < $_size465; ++$_i469) + $_size472 = 0; + $_ktype473 = 0; + $_vtype474 = 0; + $xfer += $input->readMapBegin($_ktype473, $_vtype474, $_size472); + for ($_i476 = 0; $_i476 < $_size472; ++$_i476) { - $key470 = ''; - $val471 = new \metastore\Type(); - $xfer += $input->readString($key470); - $val471 = new \metastore\Type(); - $xfer += $val471->read($input); - $this->success[$key470] = $val471; + $key477 = ''; + $val478 = new \metastore\Type(); + $xfer += $input->readString($key477); + $val478 = new \metastore\Type(); + $xfer += $val478->read($input); + $this->success[$key477] = $val478; } $xfer += $input->readMapEnd(); } else { @@ -9321,10 +9324,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter472 => $viter473) + foreach ($this->success as $kiter479 => $viter480) { - $xfer += $output->writeString($kiter472); - $xfer += $viter473->write($output); + $xfer += $output->writeString($kiter479); + $xfer += $viter480->write($output); } } $output->writeMapEnd(); @@ -9510,15 +9513,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size474 = 0; - $_etype477 = 0; - $xfer += $input->readListBegin($_etype477, $_size474); - for ($_i478 = 0; $_i478 < $_size474; ++$_i478) + $_size481 = 0; + $_etype484 = 0; + $xfer += $input->readListBegin($_etype484, $_size481); + for ($_i485 = 0; $_i485 < $_size481; ++$_i485) { - $elem479 = null; - $elem479 = new \metastore\FieldSchema(); - $xfer += $elem479->read($input); - $this->success []= $elem479; + $elem486 = null; + $elem486 = new \metastore\FieldSchema(); + $xfer += $elem486->read($input); + $this->success []= $elem486; } $xfer += $input->readListEnd(); } else { @@ -9570,9 +9573,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter480) + foreach ($this->success as $iter487) { - $xfer += $iter480->write($output); + $xfer += $iter487->write($output); } } $output->writeListEnd(); @@ -9768,15 +9771,15 @@ class ThriftHiveMetastore_get_schema_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size481 = 0; - $_etype484 = 0; - $xfer += $input->readListBegin($_etype484, $_size481); - for ($_i485 = 0; $_i485 < $_size481; ++$_i485) + $_size488 = 0; + $_etype491 = 0; + $xfer += $input->readListBegin($_etype491, $_size488); + for ($_i492 = 0; $_i492 < $_size488; ++$_i492) { - $elem486 = null; - $elem486 = new \metastore\FieldSchema(); - $xfer += $elem486->read($input); - $this->success []= $elem486; + $elem493 = null; + $elem493 = new \metastore\FieldSchema(); + $xfer += $elem493->read($input); + $this->success []= $elem493; } $xfer += $input->readListEnd(); } else { @@ -9828,9 +9831,9 @@ class ThriftHiveMetastore_get_schema_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter487) + foreach ($this->success as $iter494) { - $xfer += $iter487->write($output); + $xfer += $iter494->write($output); } } $output->writeListEnd(); @@ -10907,14 +10910,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size488 = 0; - $_etype491 = 0; - $xfer += $input->readListBegin($_etype491, $_size488); - for ($_i492 = 0; $_i492 < $_size488; ++$_i492) + $_size495 = 0; + $_etype498 = 0; + $xfer += $input->readListBegin($_etype498, $_size495); + for ($_i499 = 0; $_i499 < $_size495; ++$_i499) { - $elem493 = null; - $xfer += $input->readString($elem493); - $this->success []= $elem493; + $elem500 = null; + $xfer += $input->readString($elem500); + $this->success []= $elem500; } $xfer += $input->readListEnd(); } else { @@ -10950,9 +10953,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter494) + foreach ($this->success as $iter501) { - $xfer += $output->writeString($iter494); + $xfer += $output->writeString($iter501); } } $output->writeListEnd(); @@ -11099,14 +11102,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size495 = 0; - $_etype498 = 0; - $xfer += $input->readListBegin($_etype498, $_size495); - for ($_i499 = 0; $_i499 < $_size495; ++$_i499) + $_size502 = 0; + $_etype505 = 0; + $xfer += $input->readListBegin($_etype505, $_size502); + for ($_i506 = 0; $_i506 < $_size502; ++$_i506) { - $elem500 = null; - $xfer += $input->readString($elem500); - $this->success []= $elem500; + $elem507 = null; + $xfer += $input->readString($elem507); + $this->success []= $elem507; } $xfer += $input->readListEnd(); } else { @@ -11142,9 +11145,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter501) + foreach ($this->success as $iter508) { - $xfer += $output->writeString($iter501); + $xfer += $output->writeString($iter508); } } $output->writeListEnd(); @@ -11438,14 +11441,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size502 = 0; - $_etype505 = 0; - $xfer += $input->readListBegin($_etype505, $_size502); - for ($_i506 = 0; $_i506 < $_size502; ++$_i506) + $_size509 = 0; + $_etype512 = 0; + $xfer += $input->readListBegin($_etype512, $_size509); + for ($_i513 = 0; $_i513 < $_size509; ++$_i513) { - $elem507 = null; - $xfer += $input->readString($elem507); - $this->tbl_names []= $elem507; + $elem514 = null; + $xfer += $input->readString($elem514); + $this->tbl_names []= $elem514; } $xfer += $input->readListEnd(); } else { @@ -11478,9 +11481,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter508) + foreach ($this->tbl_names as $iter515) { - $xfer += $output->writeString($iter508); + $xfer += $output->writeString($iter515); } } $output->writeListEnd(); @@ -11569,15 +11572,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size509 = 0; - $_etype512 = 0; - $xfer += $input->readListBegin($_etype512, $_size509); - for ($_i513 = 0; $_i513 < $_size509; ++$_i513) + $_size516 = 0; + $_etype519 = 0; + $xfer += $input->readListBegin($_etype519, $_size516); + for ($_i520 = 0; $_i520 < $_size516; ++$_i520) { - $elem514 = null; - $elem514 = new \metastore\Table(); - $xfer += $elem514->read($input); - $this->success []= $elem514; + $elem521 = null; + $elem521 = new \metastore\Table(); + $xfer += $elem521->read($input); + $this->success []= $elem521; } $xfer += $input->readListEnd(); } else { @@ -11629,9 +11632,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter515) + foreach ($this->success as $iter522) { - $xfer += $iter515->write($output); + $xfer += $iter522->write($output); } } $output->writeListEnd(); @@ -11846,14 +11849,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size516 = 0; - $_etype519 = 0; - $xfer += $input->readListBegin($_etype519, $_size516); - for ($_i520 = 0; $_i520 < $_size516; ++$_i520) + $_size523 = 0; + $_etype526 = 0; + $xfer += $input->readListBegin($_etype526, $_size523); + for ($_i527 = 0; $_i527 < $_size523; ++$_i527) { - $elem521 = null; - $xfer += $input->readString($elem521); - $this->success []= $elem521; + $elem528 = null; + $xfer += $input->readString($elem528); + $this->success []= $elem528; } $xfer += $input->readListEnd(); } else { @@ -11905,9 +11908,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter522) + foreach ($this->success as $iter529) { - $xfer += $output->writeString($iter522); + $xfer += $output->writeString($iter529); } } $output->writeListEnd(); @@ -13133,15 +13136,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size523 = 0; - $_etype526 = 0; - $xfer += $input->readListBegin($_etype526, $_size523); - for ($_i527 = 0; $_i527 < $_size523; ++$_i527) + $_size530 = 0; + $_etype533 = 0; + $xfer += $input->readListBegin($_etype533, $_size530); + for ($_i534 = 0; $_i534 < $_size530; ++$_i534) { - $elem528 = null; - $elem528 = new \metastore\Partition(); - $xfer += $elem528->read($input); - $this->new_parts []= $elem528; + $elem535 = null; + $elem535 = new \metastore\Partition(); + $xfer += $elem535->read($input); + $this->new_parts []= $elem535; } $xfer += $input->readListEnd(); } else { @@ -13169,9 +13172,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter529) + foreach ($this->new_parts as $iter536) { - $xfer += $iter529->write($output); + $xfer += $iter536->write($output); } } $output->writeListEnd(); @@ -13371,15 +13374,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size530 = 0; - $_etype533 = 0; - $xfer += $input->readListBegin($_etype533, $_size530); - for ($_i534 = 0; $_i534 < $_size530; ++$_i534) + $_size537 = 0; + $_etype540 = 0; + $xfer += $input->readListBegin($_etype540, $_size537); + for ($_i541 = 0; $_i541 < $_size537; ++$_i541) { - $elem535 = null; - $elem535 = new \metastore\PartitionSpec(); - $xfer += $elem535->read($input); - $this->new_parts []= $elem535; + $elem542 = null; + $elem542 = new \metastore\PartitionSpec(); + $xfer += $elem542->read($input); + $this->new_parts []= $elem542; } $xfer += $input->readListEnd(); } else { @@ -13407,9 +13410,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter536) + foreach ($this->new_parts as $iter543) { - $xfer += $iter536->write($output); + $xfer += $iter543->write($output); } } $output->writeListEnd(); @@ -13638,14 +13641,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size537 = 0; - $_etype540 = 0; - $xfer += $input->readListBegin($_etype540, $_size537); - for ($_i541 = 0; $_i541 < $_size537; ++$_i541) + $_size544 = 0; + $_etype547 = 0; + $xfer += $input->readListBegin($_etype547, $_size544); + for ($_i548 = 0; $_i548 < $_size544; ++$_i548) { - $elem542 = null; - $xfer += $input->readString($elem542); - $this->part_vals []= $elem542; + $elem549 = null; + $xfer += $input->readString($elem549); + $this->part_vals []= $elem549; } $xfer += $input->readListEnd(); } else { @@ -13683,9 +13686,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter543) + foreach ($this->part_vals as $iter550) { - $xfer += $output->writeString($iter543); + $xfer += $output->writeString($iter550); } } $output->writeListEnd(); @@ -14148,14 +14151,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size544 = 0; - $_etype547 = 0; - $xfer += $input->readListBegin($_etype547, $_size544); - for ($_i548 = 0; $_i548 < $_size544; ++$_i548) + $_size551 = 0; + $_etype554 = 0; + $xfer += $input->readListBegin($_etype554, $_size551); + for ($_i555 = 0; $_i555 < $_size551; ++$_i555) { - $elem549 = null; - $xfer += $input->readString($elem549); - $this->part_vals []= $elem549; + $elem556 = null; + $xfer += $input->readString($elem556); + $this->part_vals []= $elem556; } $xfer += $input->readListEnd(); } else { @@ -14201,9 +14204,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter550) + foreach ($this->part_vals as $iter557) { - $xfer += $output->writeString($iter550); + $xfer += $output->writeString($iter557); } } $output->writeListEnd(); @@ -14988,14 +14991,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size551 = 0; - $_etype554 = 0; - $xfer += $input->readListBegin($_etype554, $_size551); - for ($_i555 = 0; $_i555 < $_size551; ++$_i555) + $_size558 = 0; + $_etype561 = 0; + $xfer += $input->readListBegin($_etype561, $_size558); + for ($_i562 = 0; $_i562 < $_size558; ++$_i562) { - $elem556 = null; - $xfer += $input->readString($elem556); - $this->part_vals []= $elem556; + $elem563 = null; + $xfer += $input->readString($elem563); + $this->part_vals []= $elem563; } $xfer += $input->readListEnd(); } else { @@ -15040,9 +15043,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter557) + foreach ($this->part_vals as $iter564) { - $xfer += $output->writeString($iter557); + $xfer += $output->writeString($iter564); } } $output->writeListEnd(); @@ -15271,14 +15274,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size558 = 0; - $_etype561 = 0; - $xfer += $input->readListBegin($_etype561, $_size558); - for ($_i562 = 0; $_i562 < $_size558; ++$_i562) + $_size565 = 0; + $_etype568 = 0; + $xfer += $input->readListBegin($_etype568, $_size565); + for ($_i569 = 0; $_i569 < $_size565; ++$_i569) { - $elem563 = null; - $xfer += $input->readString($elem563); - $this->part_vals []= $elem563; + $elem570 = null; + $xfer += $input->readString($elem570); + $this->part_vals []= $elem570; } $xfer += $input->readListEnd(); } else { @@ -15331,9 +15334,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter564) + foreach ($this->part_vals as $iter571) { - $xfer += $output->writeString($iter564); + $xfer += $output->writeString($iter571); } } $output->writeListEnd(); @@ -16272,14 +16275,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size565 = 0; - $_etype568 = 0; - $xfer += $input->readListBegin($_etype568, $_size565); - for ($_i569 = 0; $_i569 < $_size565; ++$_i569) + $_size572 = 0; + $_etype575 = 0; + $xfer += $input->readListBegin($_etype575, $_size572); + for ($_i576 = 0; $_i576 < $_size572; ++$_i576) { - $elem570 = null; - $xfer += $input->readString($elem570); - $this->part_vals []= $elem570; + $elem577 = null; + $xfer += $input->readString($elem577); + $this->part_vals []= $elem577; } $xfer += $input->readListEnd(); } else { @@ -16317,9 +16320,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter571) + foreach ($this->part_vals as $iter578) { - $xfer += $output->writeString($iter571); + $xfer += $output->writeString($iter578); } } $output->writeListEnd(); @@ -16537,17 +16540,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size572 = 0; - $_ktype573 = 0; - $_vtype574 = 0; - $xfer += $input->readMapBegin($_ktype573, $_vtype574, $_size572); - for ($_i576 = 0; $_i576 < $_size572; ++$_i576) + $_size579 = 0; + $_ktype580 = 0; + $_vtype581 = 0; + $xfer += $input->readMapBegin($_ktype580, $_vtype581, $_size579); + for ($_i583 = 0; $_i583 < $_size579; ++$_i583) { - $key577 = ''; - $val578 = ''; - $xfer += $input->readString($key577); - $xfer += $input->readString($val578); - $this->partitionSpecs[$key577] = $val578; + $key584 = ''; + $val585 = ''; + $xfer += $input->readString($key584); + $xfer += $input->readString($val585); + $this->partitionSpecs[$key584] = $val585; } $xfer += $input->readMapEnd(); } else { @@ -16603,10 +16606,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter579 => $viter580) + foreach ($this->partitionSpecs as $kiter586 => $viter587) { - $xfer += $output->writeString($kiter579); - $xfer += $output->writeString($viter580); + $xfer += $output->writeString($kiter586); + $xfer += $output->writeString($viter587); } } $output->writeMapEnd(); @@ -16902,14 +16905,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size581 = 0; - $_etype584 = 0; - $xfer += $input->readListBegin($_etype584, $_size581); - for ($_i585 = 0; $_i585 < $_size581; ++$_i585) + $_size588 = 0; + $_etype591 = 0; + $xfer += $input->readListBegin($_etype591, $_size588); + for ($_i592 = 0; $_i592 < $_size588; ++$_i592) { - $elem586 = null; - $xfer += $input->readString($elem586); - $this->part_vals []= $elem586; + $elem593 = null; + $xfer += $input->readString($elem593); + $this->part_vals []= $elem593; } $xfer += $input->readListEnd(); } else { @@ -16926,14 +16929,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size587 = 0; - $_etype590 = 0; - $xfer += $input->readListBegin($_etype590, $_size587); - for ($_i591 = 0; $_i591 < $_size587; ++$_i591) + $_size594 = 0; + $_etype597 = 0; + $xfer += $input->readListBegin($_etype597, $_size594); + for ($_i598 = 0; $_i598 < $_size594; ++$_i598) { - $elem592 = null; - $xfer += $input->readString($elem592); - $this->group_names []= $elem592; + $elem599 = null; + $xfer += $input->readString($elem599); + $this->group_names []= $elem599; } $xfer += $input->readListEnd(); } else { @@ -16971,9 +16974,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter593) + foreach ($this->part_vals as $iter600) { - $xfer += $output->writeString($iter593); + $xfer += $output->writeString($iter600); } } $output->writeListEnd(); @@ -16993,9 +16996,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter594) + foreach ($this->group_names as $iter601) { - $xfer += $output->writeString($iter594); + $xfer += $output->writeString($iter601); } } $output->writeListEnd(); @@ -17541,15 +17544,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size595 = 0; - $_etype598 = 0; - $xfer += $input->readListBegin($_etype598, $_size595); - for ($_i599 = 0; $_i599 < $_size595; ++$_i599) + $_size602 = 0; + $_etype605 = 0; + $xfer += $input->readListBegin($_etype605, $_size602); + for ($_i606 = 0; $_i606 < $_size602; ++$_i606) { - $elem600 = null; - $elem600 = new \metastore\Partition(); - $xfer += $elem600->read($input); - $this->success []= $elem600; + $elem607 = null; + $elem607 = new \metastore\Partition(); + $xfer += $elem607->read($input); + $this->success []= $elem607; } $xfer += $input->readListEnd(); } else { @@ -17593,9 +17596,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter601) + foreach ($this->success as $iter608) { - $xfer += $iter601->write($output); + $xfer += $iter608->write($output); } } $output->writeListEnd(); @@ -17726,14 +17729,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size602 = 0; - $_etype605 = 0; - $xfer += $input->readListBegin($_etype605, $_size602); - for ($_i606 = 0; $_i606 < $_size602; ++$_i606) + $_size609 = 0; + $_etype612 = 0; + $xfer += $input->readListBegin($_etype612, $_size609); + for ($_i613 = 0; $_i613 < $_size609; ++$_i613) { - $elem607 = null; - $xfer += $input->readString($elem607); - $this->group_names []= $elem607; + $elem614 = null; + $xfer += $input->readString($elem614); + $this->group_names []= $elem614; } $xfer += $input->readListEnd(); } else { @@ -17781,9 +17784,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter608) + foreach ($this->group_names as $iter615) { - $xfer += $output->writeString($iter608); + $xfer += $output->writeString($iter615); } } $output->writeListEnd(); @@ -17863,15 +17866,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size609 = 0; - $_etype612 = 0; - $xfer += $input->readListBegin($_etype612, $_size609); - for ($_i613 = 0; $_i613 < $_size609; ++$_i613) + $_size616 = 0; + $_etype619 = 0; + $xfer += $input->readListBegin($_etype619, $_size616); + for ($_i620 = 0; $_i620 < $_size616; ++$_i620) { - $elem614 = null; - $elem614 = new \metastore\Partition(); - $xfer += $elem614->read($input); - $this->success []= $elem614; + $elem621 = null; + $elem621 = new \metastore\Partition(); + $xfer += $elem621->read($input); + $this->success []= $elem621; } $xfer += $input->readListEnd(); } else { @@ -17915,9 +17918,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter615) + foreach ($this->success as $iter622) { - $xfer += $iter615->write($output); + $xfer += $iter622->write($output); } } $output->writeListEnd(); @@ -18119,15 +18122,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size616 = 0; - $_etype619 = 0; - $xfer += $input->readListBegin($_etype619, $_size616); - for ($_i620 = 0; $_i620 < $_size616; ++$_i620) + $_size623 = 0; + $_etype626 = 0; + $xfer += $input->readListBegin($_etype626, $_size623); + for ($_i627 = 0; $_i627 < $_size623; ++$_i627) { - $elem621 = null; - $elem621 = new \metastore\PartitionSpec(); - $xfer += $elem621->read($input); - $this->success []= $elem621; + $elem628 = null; + $elem628 = new \metastore\PartitionSpec(); + $xfer += $elem628->read($input); + $this->success []= $elem628; } $xfer += $input->readListEnd(); } else { @@ -18171,9 +18174,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter622) + foreach ($this->success as $iter629) { - $xfer += $iter622->write($output); + $xfer += $iter629->write($output); } } $output->writeListEnd(); @@ -18365,14 +18368,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size623 = 0; - $_etype626 = 0; - $xfer += $input->readListBegin($_etype626, $_size623); - for ($_i627 = 0; $_i627 < $_size623; ++$_i627) + $_size630 = 0; + $_etype633 = 0; + $xfer += $input->readListBegin($_etype633, $_size630); + for ($_i634 = 0; $_i634 < $_size630; ++$_i634) { - $elem628 = null; - $xfer += $input->readString($elem628); - $this->success []= $elem628; + $elem635 = null; + $xfer += $input->readString($elem635); + $this->success []= $elem635; } $xfer += $input->readListEnd(); } else { @@ -18408,9 +18411,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter629) + foreach ($this->success as $iter636) { - $xfer += $output->writeString($iter629); + $xfer += $output->writeString($iter636); } } $output->writeListEnd(); @@ -18514,14 +18517,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size630 = 0; - $_etype633 = 0; - $xfer += $input->readListBegin($_etype633, $_size630); - for ($_i634 = 0; $_i634 < $_size630; ++$_i634) + $_size637 = 0; + $_etype640 = 0; + $xfer += $input->readListBegin($_etype640, $_size637); + for ($_i641 = 0; $_i641 < $_size637; ++$_i641) { - $elem635 = null; - $xfer += $input->readString($elem635); - $this->part_vals []= $elem635; + $elem642 = null; + $xfer += $input->readString($elem642); + $this->part_vals []= $elem642; } $xfer += $input->readListEnd(); } else { @@ -18566,9 +18569,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter636) + foreach ($this->part_vals as $iter643) { - $xfer += $output->writeString($iter636); + $xfer += $output->writeString($iter643); } } $output->writeListEnd(); @@ -18653,15 +18656,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size637 = 0; - $_etype640 = 0; - $xfer += $input->readListBegin($_etype640, $_size637); - for ($_i641 = 0; $_i641 < $_size637; ++$_i641) + $_size644 = 0; + $_etype647 = 0; + $xfer += $input->readListBegin($_etype647, $_size644); + for ($_i648 = 0; $_i648 < $_size644; ++$_i648) { - $elem642 = null; - $elem642 = new \metastore\Partition(); - $xfer += $elem642->read($input); - $this->success []= $elem642; + $elem649 = null; + $elem649 = new \metastore\Partition(); + $xfer += $elem649->read($input); + $this->success []= $elem649; } $xfer += $input->readListEnd(); } else { @@ -18705,9 +18708,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter643) + foreach ($this->success as $iter650) { - $xfer += $iter643->write($output); + $xfer += $iter650->write($output); } } $output->writeListEnd(); @@ -18836,14 +18839,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size644 = 0; - $_etype647 = 0; - $xfer += $input->readListBegin($_etype647, $_size644); - for ($_i648 = 0; $_i648 < $_size644; ++$_i648) + $_size651 = 0; + $_etype654 = 0; + $xfer += $input->readListBegin($_etype654, $_size651); + for ($_i655 = 0; $_i655 < $_size651; ++$_i655) { - $elem649 = null; - $xfer += $input->readString($elem649); - $this->part_vals []= $elem649; + $elem656 = null; + $xfer += $input->readString($elem656); + $this->part_vals []= $elem656; } $xfer += $input->readListEnd(); } else { @@ -18867,14 +18870,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size650 = 0; - $_etype653 = 0; - $xfer += $input->readListBegin($_etype653, $_size650); - for ($_i654 = 0; $_i654 < $_size650; ++$_i654) + $_size657 = 0; + $_etype660 = 0; + $xfer += $input->readListBegin($_etype660, $_size657); + for ($_i661 = 0; $_i661 < $_size657; ++$_i661) { - $elem655 = null; - $xfer += $input->readString($elem655); - $this->group_names []= $elem655; + $elem662 = null; + $xfer += $input->readString($elem662); + $this->group_names []= $elem662; } $xfer += $input->readListEnd(); } else { @@ -18912,9 +18915,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter656) + foreach ($this->part_vals as $iter663) { - $xfer += $output->writeString($iter656); + $xfer += $output->writeString($iter663); } } $output->writeListEnd(); @@ -18939,9 +18942,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter657) + foreach ($this->group_names as $iter664) { - $xfer += $output->writeString($iter657); + $xfer += $output->writeString($iter664); } } $output->writeListEnd(); @@ -19021,15 +19024,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size658 = 0; - $_etype661 = 0; - $xfer += $input->readListBegin($_etype661, $_size658); - for ($_i662 = 0; $_i662 < $_size658; ++$_i662) + $_size665 = 0; + $_etype668 = 0; + $xfer += $input->readListBegin($_etype668, $_size665); + for ($_i669 = 0; $_i669 < $_size665; ++$_i669) { - $elem663 = null; - $elem663 = new \metastore\Partition(); - $xfer += $elem663->read($input); - $this->success []= $elem663; + $elem670 = null; + $elem670 = new \metastore\Partition(); + $xfer += $elem670->read($input); + $this->success []= $elem670; } $xfer += $input->readListEnd(); } else { @@ -19073,9 +19076,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter664) + foreach ($this->success as $iter671) { - $xfer += $iter664->write($output); + $xfer += $iter671->write($output); } } $output->writeListEnd(); @@ -19184,14 +19187,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size665 = 0; - $_etype668 = 0; - $xfer += $input->readListBegin($_etype668, $_size665); - for ($_i669 = 0; $_i669 < $_size665; ++$_i669) + $_size672 = 0; + $_etype675 = 0; + $xfer += $input->readListBegin($_etype675, $_size672); + for ($_i676 = 0; $_i676 < $_size672; ++$_i676) { - $elem670 = null; - $xfer += $input->readString($elem670); - $this->part_vals []= $elem670; + $elem677 = null; + $xfer += $input->readString($elem677); + $this->part_vals []= $elem677; } $xfer += $input->readListEnd(); } else { @@ -19236,9 +19239,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter671) + foreach ($this->part_vals as $iter678) { - $xfer += $output->writeString($iter671); + $xfer += $output->writeString($iter678); } } $output->writeListEnd(); @@ -19322,14 +19325,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size672 = 0; - $_etype675 = 0; - $xfer += $input->readListBegin($_etype675, $_size672); - for ($_i676 = 0; $_i676 < $_size672; ++$_i676) + $_size679 = 0; + $_etype682 = 0; + $xfer += $input->readListBegin($_etype682, $_size679); + for ($_i683 = 0; $_i683 < $_size679; ++$_i683) { - $elem677 = null; - $xfer += $input->readString($elem677); - $this->success []= $elem677; + $elem684 = null; + $xfer += $input->readString($elem684); + $this->success []= $elem684; } $xfer += $input->readListEnd(); } else { @@ -19373,9 +19376,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter678) + foreach ($this->success as $iter685) { - $xfer += $output->writeString($iter678); + $xfer += $output->writeString($iter685); } } $output->writeListEnd(); @@ -19597,15 +19600,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size679 = 0; - $_etype682 = 0; - $xfer += $input->readListBegin($_etype682, $_size679); - for ($_i683 = 0; $_i683 < $_size679; ++$_i683) + $_size686 = 0; + $_etype689 = 0; + $xfer += $input->readListBegin($_etype689, $_size686); + for ($_i690 = 0; $_i690 < $_size686; ++$_i690) { - $elem684 = null; - $elem684 = new \metastore\Partition(); - $xfer += $elem684->read($input); - $this->success []= $elem684; + $elem691 = null; + $elem691 = new \metastore\Partition(); + $xfer += $elem691->read($input); + $this->success []= $elem691; } $xfer += $input->readListEnd(); } else { @@ -19649,9 +19652,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter685) + foreach ($this->success as $iter692) { - $xfer += $iter685->write($output); + $xfer += $iter692->write($output); } } $output->writeListEnd(); @@ -19873,15 +19876,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size686 = 0; - $_etype689 = 0; - $xfer += $input->readListBegin($_etype689, $_size686); - for ($_i690 = 0; $_i690 < $_size686; ++$_i690) + $_size693 = 0; + $_etype696 = 0; + $xfer += $input->readListBegin($_etype696, $_size693); + for ($_i697 = 0; $_i697 < $_size693; ++$_i697) { - $elem691 = null; - $elem691 = new \metastore\PartitionSpec(); - $xfer += $elem691->read($input); - $this->success []= $elem691; + $elem698 = null; + $elem698 = new \metastore\PartitionSpec(); + $xfer += $elem698->read($input); + $this->success []= $elem698; } $xfer += $input->readListEnd(); } else { @@ -19925,9 +19928,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter692) + foreach ($this->success as $iter699) { - $xfer += $iter692->write($output); + $xfer += $iter699->write($output); } } $output->writeListEnd(); @@ -20226,14 +20229,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size693 = 0; - $_etype696 = 0; - $xfer += $input->readListBegin($_etype696, $_size693); - for ($_i697 = 0; $_i697 < $_size693; ++$_i697) + $_size700 = 0; + $_etype703 = 0; + $xfer += $input->readListBegin($_etype703, $_size700); + for ($_i704 = 0; $_i704 < $_size700; ++$_i704) { - $elem698 = null; - $xfer += $input->readString($elem698); - $this->names []= $elem698; + $elem705 = null; + $xfer += $input->readString($elem705); + $this->names []= $elem705; } $xfer += $input->readListEnd(); } else { @@ -20271,9 +20274,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter699) + foreach ($this->names as $iter706) { - $xfer += $output->writeString($iter699); + $xfer += $output->writeString($iter706); } } $output->writeListEnd(); @@ -20353,15 +20356,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size700 = 0; - $_etype703 = 0; - $xfer += $input->readListBegin($_etype703, $_size700); - for ($_i704 = 0; $_i704 < $_size700; ++$_i704) + $_size707 = 0; + $_etype710 = 0; + $xfer += $input->readListBegin($_etype710, $_size707); + for ($_i711 = 0; $_i711 < $_size707; ++$_i711) { - $elem705 = null; - $elem705 = new \metastore\Partition(); - $xfer += $elem705->read($input); - $this->success []= $elem705; + $elem712 = null; + $elem712 = new \metastore\Partition(); + $xfer += $elem712->read($input); + $this->success []= $elem712; } $xfer += $input->readListEnd(); } else { @@ -20405,9 +20408,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter706) + foreach ($this->success as $iter713) { - $xfer += $iter706->write($output); + $xfer += $iter713->write($output); } } $output->writeListEnd(); @@ -20722,15 +20725,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size707 = 0; - $_etype710 = 0; - $xfer += $input->readListBegin($_etype710, $_size707); - for ($_i711 = 0; $_i711 < $_size707; ++$_i711) + $_size714 = 0; + $_etype717 = 0; + $xfer += $input->readListBegin($_etype717, $_size714); + for ($_i718 = 0; $_i718 < $_size714; ++$_i718) { - $elem712 = null; - $elem712 = new \metastore\Partition(); - $xfer += $elem712->read($input); - $this->new_parts []= $elem712; + $elem719 = null; + $elem719 = new \metastore\Partition(); + $xfer += $elem719->read($input); + $this->new_parts []= $elem719; } $xfer += $input->readListEnd(); } else { @@ -20768,9 +20771,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter713) + foreach ($this->new_parts as $iter720) { - $xfer += $iter713->write($output); + $xfer += $iter720->write($output); } } $output->writeListEnd(); @@ -21204,14 +21207,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size714 = 0; - $_etype717 = 0; - $xfer += $input->readListBegin($_etype717, $_size714); - for ($_i718 = 0; $_i718 < $_size714; ++$_i718) + $_size721 = 0; + $_etype724 = 0; + $xfer += $input->readListBegin($_etype724, $_size721); + for ($_i725 = 0; $_i725 < $_size721; ++$_i725) { - $elem719 = null; - $xfer += $input->readString($elem719); - $this->part_vals []= $elem719; + $elem726 = null; + $xfer += $input->readString($elem726); + $this->part_vals []= $elem726; } $xfer += $input->readListEnd(); } else { @@ -21257,9 +21260,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter720) + foreach ($this->part_vals as $iter727) { - $xfer += $output->writeString($iter720); + $xfer += $output->writeString($iter727); } } $output->writeListEnd(); @@ -21432,14 +21435,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size721 = 0; - $_etype724 = 0; - $xfer += $input->readListBegin($_etype724, $_size721); - for ($_i725 = 0; $_i725 < $_size721; ++$_i725) + $_size728 = 0; + $_etype731 = 0; + $xfer += $input->readListBegin($_etype731, $_size728); + for ($_i732 = 0; $_i732 < $_size728; ++$_i732) { - $elem726 = null; - $xfer += $input->readString($elem726); - $this->part_vals []= $elem726; + $elem733 = null; + $xfer += $input->readString($elem733); + $this->part_vals []= $elem733; } $xfer += $input->readListEnd(); } else { @@ -21474,9 +21477,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter727) + foreach ($this->part_vals as $iter734) { - $xfer += $output->writeString($iter727); + $xfer += $output->writeString($iter734); } } $output->writeListEnd(); @@ -21903,14 +21906,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size728 = 0; - $_etype731 = 0; - $xfer += $input->readListBegin($_etype731, $_size728); - for ($_i732 = 0; $_i732 < $_size728; ++$_i732) + $_size735 = 0; + $_etype738 = 0; + $xfer += $input->readListBegin($_etype738, $_size735); + for ($_i739 = 0; $_i739 < $_size735; ++$_i739) { - $elem733 = null; - $xfer += $input->readString($elem733); - $this->success []= $elem733; + $elem740 = null; + $xfer += $input->readString($elem740); + $this->success []= $elem740; } $xfer += $input->readListEnd(); } else { @@ -21946,9 +21949,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter734) + foreach ($this->success as $iter741) { - $xfer += $output->writeString($iter734); + $xfer += $output->writeString($iter741); } } $output->writeListEnd(); @@ -22099,17 +22102,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size735 = 0; - $_ktype736 = 0; - $_vtype737 = 0; - $xfer += $input->readMapBegin($_ktype736, $_vtype737, $_size735); - for ($_i739 = 0; $_i739 < $_size735; ++$_i739) + $_size742 = 0; + $_ktype743 = 0; + $_vtype744 = 0; + $xfer += $input->readMapBegin($_ktype743, $_vtype744, $_size742); + for ($_i746 = 0; $_i746 < $_size742; ++$_i746) { - $key740 = ''; - $val741 = ''; - $xfer += $input->readString($key740); - $xfer += $input->readString($val741); - $this->success[$key740] = $val741; + $key747 = ''; + $val748 = ''; + $xfer += $input->readString($key747); + $xfer += $input->readString($val748); + $this->success[$key747] = $val748; } $xfer += $input->readMapEnd(); } else { @@ -22145,10 +22148,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter742 => $viter743) + foreach ($this->success as $kiter749 => $viter750) { - $xfer += $output->writeString($kiter742); - $xfer += $output->writeString($viter743); + $xfer += $output->writeString($kiter749); + $xfer += $output->writeString($viter750); } } $output->writeMapEnd(); @@ -22256,17 +22259,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size744 = 0; - $_ktype745 = 0; - $_vtype746 = 0; - $xfer += $input->readMapBegin($_ktype745, $_vtype746, $_size744); - for ($_i748 = 0; $_i748 < $_size744; ++$_i748) + $_size751 = 0; + $_ktype752 = 0; + $_vtype753 = 0; + $xfer += $input->readMapBegin($_ktype752, $_vtype753, $_size751); + for ($_i755 = 0; $_i755 < $_size751; ++$_i755) { - $key749 = ''; - $val750 = ''; - $xfer += $input->readString($key749); - $xfer += $input->readString($val750); - $this->part_vals[$key749] = $val750; + $key756 = ''; + $val757 = ''; + $xfer += $input->readString($key756); + $xfer += $input->readString($val757); + $this->part_vals[$key756] = $val757; } $xfer += $input->readMapEnd(); } else { @@ -22311,10 +22314,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter751 => $viter752) + foreach ($this->part_vals as $kiter758 => $viter759) { - $xfer += $output->writeString($kiter751); - $xfer += $output->writeString($viter752); + $xfer += $output->writeString($kiter758); + $xfer += $output->writeString($viter759); } } $output->writeMapEnd(); @@ -22606,17 +22609,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size753 = 0; - $_ktype754 = 0; - $_vtype755 = 0; - $xfer += $input->readMapBegin($_ktype754, $_vtype755, $_size753); - for ($_i757 = 0; $_i757 < $_size753; ++$_i757) + $_size760 = 0; + $_ktype761 = 0; + $_vtype762 = 0; + $xfer += $input->readMapBegin($_ktype761, $_vtype762, $_size760); + for ($_i764 = 0; $_i764 < $_size760; ++$_i764) { - $key758 = ''; - $val759 = ''; - $xfer += $input->readString($key758); - $xfer += $input->readString($val759); - $this->part_vals[$key758] = $val759; + $key765 = ''; + $val766 = ''; + $xfer += $input->readString($key765); + $xfer += $input->readString($val766); + $this->part_vals[$key765] = $val766; } $xfer += $input->readMapEnd(); } else { @@ -22661,10 +22664,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter760 => $viter761) + foreach ($this->part_vals as $kiter767 => $viter768) { - $xfer += $output->writeString($kiter760); - $xfer += $output->writeString($viter761); + $xfer += $output->writeString($kiter767); + $xfer += $output->writeString($viter768); } } $output->writeMapEnd(); @@ -24024,15 +24027,15 @@ class ThriftHiveMetastore_get_indexes_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size762 = 0; - $_etype765 = 0; - $xfer += $input->readListBegin($_etype765, $_size762); - for ($_i766 = 0; $_i766 < $_size762; ++$_i766) + $_size769 = 0; + $_etype772 = 0; + $xfer += $input->readListBegin($_etype772, $_size769); + for ($_i773 = 0; $_i773 < $_size769; ++$_i773) { - $elem767 = null; - $elem767 = new \metastore\Index(); - $xfer += $elem767->read($input); - $this->success []= $elem767; + $elem774 = null; + $elem774 = new \metastore\Index(); + $xfer += $elem774->read($input); + $this->success []= $elem774; } $xfer += $input->readListEnd(); } else { @@ -24076,9 +24079,9 @@ class ThriftHiveMetastore_get_indexes_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter768) + foreach ($this->success as $iter775) { - $xfer += $iter768->write($output); + $xfer += $iter775->write($output); } } $output->writeListEnd(); @@ -24270,14 +24273,14 @@ class ThriftHiveMetastore_get_index_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size769 = 0; - $_etype772 = 0; - $xfer += $input->readListBegin($_etype772, $_size769); - for ($_i773 = 0; $_i773 < $_size769; ++$_i773) + $_size776 = 0; + $_etype779 = 0; + $xfer += $input->readListBegin($_etype779, $_size776); + for ($_i780 = 0; $_i780 < $_size776; ++$_i780) { - $elem774 = null; - $xfer += $input->readString($elem774); - $this->success []= $elem774; + $elem781 = null; + $xfer += $input->readString($elem781); + $this->success []= $elem781; } $xfer += $input->readListEnd(); } else { @@ -24313,9 +24316,9 @@ class ThriftHiveMetastore_get_index_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter775) + foreach ($this->success as $iter782) { - $xfer += $output->writeString($iter775); + $xfer += $output->writeString($iter782); } } $output->writeListEnd(); @@ -27543,14 +27546,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size776 = 0; - $_etype779 = 0; - $xfer += $input->readListBegin($_etype779, $_size776); - for ($_i780 = 0; $_i780 < $_size776; ++$_i780) + $_size783 = 0; + $_etype786 = 0; + $xfer += $input->readListBegin($_etype786, $_size783); + for ($_i787 = 0; $_i787 < $_size783; ++$_i787) { - $elem781 = null; - $xfer += $input->readString($elem781); - $this->success []= $elem781; + $elem788 = null; + $xfer += $input->readString($elem788); + $this->success []= $elem788; } $xfer += $input->readListEnd(); } else { @@ -27586,9 +27589,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter782) + foreach ($this->success as $iter789) { - $xfer += $output->writeString($iter782); + $xfer += $output->writeString($iter789); } } $output->writeListEnd(); @@ -28263,14 +28266,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size783 = 0; - $_etype786 = 0; - $xfer += $input->readListBegin($_etype786, $_size783); - for ($_i787 = 0; $_i787 < $_size783; ++$_i787) + $_size790 = 0; + $_etype793 = 0; + $xfer += $input->readListBegin($_etype793, $_size790); + for ($_i794 = 0; $_i794 < $_size790; ++$_i794) { - $elem788 = null; - $xfer += $input->readString($elem788); - $this->success []= $elem788; + $elem795 = null; + $xfer += $input->readString($elem795); + $this->success []= $elem795; } $xfer += $input->readListEnd(); } else { @@ -28306,9 +28309,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter789) + foreach ($this->success as $iter796) { - $xfer += $output->writeString($iter789); + $xfer += $output->writeString($iter796); } } $output->writeListEnd(); @@ -28948,15 +28951,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size790 = 0; - $_etype793 = 0; - $xfer += $input->readListBegin($_etype793, $_size790); - for ($_i794 = 0; $_i794 < $_size790; ++$_i794) + $_size797 = 0; + $_etype800 = 0; + $xfer += $input->readListBegin($_etype800, $_size797); + for ($_i801 = 0; $_i801 < $_size797; ++$_i801) { - $elem795 = null; - $elem795 = new \metastore\Role(); - $xfer += $elem795->read($input); - $this->success []= $elem795; + $elem802 = null; + $elem802 = new \metastore\Role(); + $xfer += $elem802->read($input); + $this->success []= $elem802; } $xfer += $input->readListEnd(); } else { @@ -28992,9 +28995,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter796) + foreach ($this->success as $iter803) { - $xfer += $iter796->write($output); + $xfer += $iter803->write($output); } } $output->writeListEnd(); @@ -29620,14 +29623,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size797 = 0; - $_etype800 = 0; - $xfer += $input->readListBegin($_etype800, $_size797); - for ($_i801 = 0; $_i801 < $_size797; ++$_i801) + $_size804 = 0; + $_etype807 = 0; + $xfer += $input->readListBegin($_etype807, $_size804); + for ($_i808 = 0; $_i808 < $_size804; ++$_i808) { - $elem802 = null; - $xfer += $input->readString($elem802); - $this->group_names []= $elem802; + $elem809 = null; + $xfer += $input->readString($elem809); + $this->group_names []= $elem809; } $xfer += $input->readListEnd(); } else { @@ -29668,9 +29671,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter803) + foreach ($this->group_names as $iter810) { - $xfer += $output->writeString($iter803); + $xfer += $output->writeString($iter810); } } $output->writeListEnd(); @@ -29957,15 +29960,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size804 = 0; - $_etype807 = 0; - $xfer += $input->readListBegin($_etype807, $_size804); - for ($_i808 = 0; $_i808 < $_size804; ++$_i808) + $_size811 = 0; + $_etype814 = 0; + $xfer += $input->readListBegin($_etype814, $_size811); + for ($_i815 = 0; $_i815 < $_size811; ++$_i815) { - $elem809 = null; - $elem809 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem809->read($input); - $this->success []= $elem809; + $elem816 = null; + $elem816 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem816->read($input); + $this->success []= $elem816; } $xfer += $input->readListEnd(); } else { @@ -30001,9 +30004,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter810) + foreach ($this->success as $iter817) { - $xfer += $iter810->write($output); + $xfer += $iter817->write($output); } } $output->writeListEnd(); @@ -30602,14 +30605,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size811 = 0; - $_etype814 = 0; - $xfer += $input->readListBegin($_etype814, $_size811); - for ($_i815 = 0; $_i815 < $_size811; ++$_i815) + $_size818 = 0; + $_etype821 = 0; + $xfer += $input->readListBegin($_etype821, $_size818); + for ($_i822 = 0; $_i822 < $_size818; ++$_i822) { - $elem816 = null; - $xfer += $input->readString($elem816); - $this->group_names []= $elem816; + $elem823 = null; + $xfer += $input->readString($elem823); + $this->group_names []= $elem823; } $xfer += $input->readListEnd(); } else { @@ -30642,9 +30645,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter817) + foreach ($this->group_names as $iter824) { - $xfer += $output->writeString($iter817); + $xfer += $output->writeString($iter824); } } $output->writeListEnd(); @@ -30714,14 +30717,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size818 = 0; - $_etype821 = 0; - $xfer += $input->readListBegin($_etype821, $_size818); - for ($_i822 = 0; $_i822 < $_size818; ++$_i822) + $_size825 = 0; + $_etype828 = 0; + $xfer += $input->readListBegin($_etype828, $_size825); + for ($_i829 = 0; $_i829 < $_size825; ++$_i829) { - $elem823 = null; - $xfer += $input->readString($elem823); - $this->success []= $elem823; + $elem830 = null; + $xfer += $input->readString($elem830); + $this->success []= $elem830; } $xfer += $input->readListEnd(); } else { @@ -30757,9 +30760,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter824) + foreach ($this->success as $iter831) { - $xfer += $output->writeString($iter824); + $xfer += $output->writeString($iter831); } } $output->writeListEnd(); @@ -33664,7 +33667,7 @@ class ThriftHiveMetastore_get_current_notificationEventId_result { } -class ThriftHiveMetastore_fire_notification_event_args { +class ThriftHiveMetastore_fire_listener_event_args { static $_TSPEC; public $rqst = null; @@ -33687,7 +33690,7 @@ class ThriftHiveMetastore_fire_notification_event_args { } public function getName() { - return 'ThriftHiveMetastore_fire_notification_event_args'; + return 'ThriftHiveMetastore_fire_listener_event_args'; } public function read($input) @@ -33725,7 +33728,7 @@ class ThriftHiveMetastore_fire_notification_event_args { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('ThriftHiveMetastore_fire_notification_event_args'); + $xfer += $output->writeStructBegin('ThriftHiveMetastore_fire_listener_event_args'); if ($this->rqst !== null) { if (!is_object($this->rqst)) { throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); @@ -33741,19 +33744,30 @@ class ThriftHiveMetastore_fire_notification_event_args { } -class ThriftHiveMetastore_fire_notification_event_result { +class ThriftHiveMetastore_fire_listener_event_result { static $_TSPEC; + public $success = null; - public function __construct() { + public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array( + 0 => array( + 'var' => 'success', + 'type' => TType::STRUCT, + 'class' => '\metastore\FireEventResponse', + ), ); } + if (is_array($vals)) { + if (isset($vals['success'])) { + $this->success = $vals['success']; + } + } } public function getName() { - return 'ThriftHiveMetastore_fire_notification_event_result'; + return 'ThriftHiveMetastore_fire_listener_event_result'; } public function read($input) @@ -33771,6 +33785,14 @@ class ThriftHiveMetastore_fire_notification_event_result { } switch ($fid) { + case 0: + if ($ftype == TType::STRUCT) { + $this->success = new \metastore\FireEventResponse(); + $xfer += $this->success->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -33783,7 +33805,15 @@ class ThriftHiveMetastore_fire_notification_event_result { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('ThriftHiveMetastore_fire_notification_event_result'); + $xfer += $output->writeStructBegin('ThriftHiveMetastore_fire_listener_event_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(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; diff --git metastore/src/gen/thrift/gen-php/metastore/Types.php metastore/src/gen/thrift/gen-php/metastore/Types.php index 077b232..2341f37 100644 --- metastore/src/gen/thrift/gen-php/metastore/Types.php +++ metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -12143,35 +12143,206 @@ class CurrentNotificationEventId { } +class InsertEventRequestData { + static $_TSPEC; + + public $filesAdded = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'filesAdded', + 'type' => TType::LST, + 'etype' => TType::STRING, + 'elem' => array( + 'type' => TType::STRING, + ), + ), + ); + } + if (is_array($vals)) { + if (isset($vals['filesAdded'])) { + $this->filesAdded = $vals['filesAdded']; + } + } + } + + public function getName() { + return 'InsertEventRequestData'; + } + + 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->filesAdded = array(); + $_size444 = 0; + $_etype447 = 0; + $xfer += $input->readListBegin($_etype447, $_size444); + for ($_i448 = 0; $_i448 < $_size444; ++$_i448) + { + $elem449 = null; + $xfer += $input->readString($elem449); + $this->filesAdded []= $elem449; + } + $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('InsertEventRequestData'); + if ($this->filesAdded !== null) { + if (!is_array($this->filesAdded)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('filesAdded', TType::LST, 1); + { + $output->writeListBegin(TType::STRING, count($this->filesAdded)); + { + foreach ($this->filesAdded as $iter450) + { + $xfer += $output->writeString($iter450); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class FireEventRequestData { + static $_TSPEC; + + public $insertData = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'insertData', + 'type' => TType::STRUCT, + 'class' => '\metastore\InsertEventRequestData', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['insertData'])) { + $this->insertData = $vals['insertData']; + } + } + } + + public function getName() { + return 'FireEventRequestData'; + } + + 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->insertData = new \metastore\InsertEventRequestData(); + $xfer += $this->insertData->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('FireEventRequestData'); + if ($this->insertData !== null) { + if (!is_object($this->insertData)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('insertData', TType::STRUCT, 1); + $xfer += $this->insertData->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class FireEventRequest { static $_TSPEC; - public $eventType = null; public $dbName = null; public $successful = null; public $tableName = null; public $partitionVals = null; + public $data = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array( 1 => array( - 'var' => 'eventType', - 'type' => TType::I32, - ), - 2 => array( 'var' => 'dbName', 'type' => TType::STRING, ), - 3 => array( + 2 => array( 'var' => 'successful', 'type' => TType::BOOL, ), - 4 => array( + 3 => array( 'var' => 'tableName', 'type' => TType::STRING, ), - 5 => array( + 4 => array( 'var' => 'partitionVals', 'type' => TType::LST, 'etype' => TType::STRING, @@ -12179,12 +12350,14 @@ class FireEventRequest { 'type' => TType::STRING, ), ), + 5 => array( + 'var' => 'data', + 'type' => TType::STRUCT, + 'class' => '\metastore\FireEventRequestData', + ), ); } if (is_array($vals)) { - if (isset($vals['eventType'])) { - $this->eventType = $vals['eventType']; - } if (isset($vals['dbName'])) { $this->dbName = $vals['dbName']; } @@ -12197,6 +12370,9 @@ class FireEventRequest { if (isset($vals['partitionVals'])) { $this->partitionVals = $vals['partitionVals']; } + if (isset($vals['data'])) { + $this->data = $vals['data']; + } } } @@ -12220,50 +12396,51 @@ class FireEventRequest { switch ($fid) { case 1: - if ($ftype == TType::I32) { - $xfer += $input->readI32($this->eventType); - } else { - $xfer += $input->skip($ftype); - } - break; - case 2: if ($ftype == TType::STRING) { $xfer += $input->readString($this->dbName); } else { $xfer += $input->skip($ftype); } break; - case 3: + case 2: if ($ftype == TType::BOOL) { $xfer += $input->readBool($this->successful); } else { $xfer += $input->skip($ftype); } break; - case 4: + case 3: if ($ftype == TType::STRING) { $xfer += $input->readString($this->tableName); } else { $xfer += $input->skip($ftype); } break; - case 5: + case 4: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size444 = 0; - $_etype447 = 0; - $xfer += $input->readListBegin($_etype447, $_size444); - for ($_i448 = 0; $_i448 < $_size444; ++$_i448) + $_size451 = 0; + $_etype454 = 0; + $xfer += $input->readListBegin($_etype454, $_size451); + for ($_i455 = 0; $_i455 < $_size451; ++$_i455) { - $elem449 = null; - $xfer += $input->readString($elem449); - $this->partitionVals []= $elem449; + $elem456 = null; + $xfer += $input->readString($elem456); + $this->partitionVals []= $elem456; } $xfer += $input->readListEnd(); } else { $xfer += $input->skip($ftype); } break; + case 5: + if ($ftype == TType::STRUCT) { + $this->data = new \metastore\FireEventRequestData(); + $xfer += $this->data->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -12277,23 +12454,18 @@ class FireEventRequest { public function write($output) { $xfer = 0; $xfer += $output->writeStructBegin('FireEventRequest'); - if ($this->eventType !== null) { - $xfer += $output->writeFieldBegin('eventType', TType::I32, 1); - $xfer += $output->writeI32($this->eventType); - $xfer += $output->writeFieldEnd(); - } if ($this->dbName !== null) { - $xfer += $output->writeFieldBegin('dbName', TType::STRING, 2); + $xfer += $output->writeFieldBegin('dbName', TType::STRING, 1); $xfer += $output->writeString($this->dbName); $xfer += $output->writeFieldEnd(); } if ($this->successful !== null) { - $xfer += $output->writeFieldBegin('successful', TType::BOOL, 3); + $xfer += $output->writeFieldBegin('successful', TType::BOOL, 2); $xfer += $output->writeBool($this->successful); $xfer += $output->writeFieldEnd(); } if ($this->tableName !== null) { - $xfer += $output->writeFieldBegin('tableName', TType::STRING, 4); + $xfer += $output->writeFieldBegin('tableName', TType::STRING, 3); $xfer += $output->writeString($this->tableName); $xfer += $output->writeFieldEnd(); } @@ -12301,19 +12473,77 @@ class FireEventRequest { if (!is_array($this->partitionVals)) { throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); } - $xfer += $output->writeFieldBegin('partitionVals', TType::LST, 5); + $xfer += $output->writeFieldBegin('partitionVals', TType::LST, 4); { $output->writeListBegin(TType::STRING, count($this->partitionVals)); { - foreach ($this->partitionVals as $iter450) + foreach ($this->partitionVals as $iter457) { - $xfer += $output->writeString($iter450); + $xfer += $output->writeString($iter457); } } $output->writeListEnd(); } $xfer += $output->writeFieldEnd(); } + if ($this->data !== null) { + if (!is_object($this->data)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('data', TType::STRUCT, 5); + $xfer += $this->data->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class FireEventResponse { + static $_TSPEC; + + + public function __construct() { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + ); + } + } + + public function getName() { + return 'FireEventResponse'; + } + + 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) + { + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('FireEventResponse'); $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; diff --git metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote old mode 100644 new mode 100755 index a3be320..c257622 --- metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote @@ -142,7 +142,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print ' ShowCompactResponse show_compact(ShowCompactRequest rqst)' print ' NotificationEventResponse get_next_notification(NotificationEventRequest rqst)' print ' CurrentNotificationEventId get_current_notificationEventId()' - print ' void fire_notification_event(FireEventRequest rqst)' + print ' FireEventResponse fire_listener_event(FireEventRequest rqst)' print '' sys.exit(0) @@ -908,11 +908,11 @@ elif cmd == 'get_current_notificationEventId': sys.exit(1) pp.pprint(client.get_current_notificationEventId()) -elif cmd == 'fire_notification_event': +elif cmd == 'fire_listener_event': if len(args) != 1: - print 'fire_notification_event requires 1 args' + print 'fire_listener_event requires 1 args' sys.exit(1) - pp.pprint(client.fire_notification_event(eval(args[0]),)) + pp.pprint(client.fire_listener_event(eval(args[0]),)) else: print 'Unrecognized method %s' % cmd diff --git metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index a9e7db3..901bd1c 100644 --- metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -986,7 +986,7 @@ def get_next_notification(self, rqst): def get_current_notificationEventId(self, ): pass - def fire_notification_event(self, rqst): + def fire_listener_event(self, rqst): """ Parameters: - rqst @@ -5268,33 +5268,35 @@ def recv_get_current_notificationEventId(self, ): return result.success raise TApplicationException(TApplicationException.MISSING_RESULT, "get_current_notificationEventId failed: unknown result"); - def fire_notification_event(self, rqst): + def fire_listener_event(self, rqst): """ Parameters: - rqst """ - self.send_fire_notification_event(rqst) - self.recv_fire_notification_event() + self.send_fire_listener_event(rqst) + return self.recv_fire_listener_event() - def send_fire_notification_event(self, rqst): - self._oprot.writeMessageBegin('fire_notification_event', TMessageType.CALL, self._seqid) - args = fire_notification_event_args() + def send_fire_listener_event(self, rqst): + self._oprot.writeMessageBegin('fire_listener_event', TMessageType.CALL, self._seqid) + args = fire_listener_event_args() args.rqst = rqst args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() - def recv_fire_notification_event(self, ): + def recv_fire_listener_event(self, ): (fname, mtype, rseqid) = self._iprot.readMessageBegin() if mtype == TMessageType.EXCEPTION: x = TApplicationException() x.read(self._iprot) self._iprot.readMessageEnd() raise x - result = fire_notification_event_result() + result = fire_listener_event_result() result.read(self._iprot) self._iprot.readMessageEnd() - return + if result.success is not None: + return result.success + raise TApplicationException(TApplicationException.MISSING_RESULT, "fire_listener_event failed: unknown result"); class Processor(fb303.FacebookService.Processor, Iface, TProcessor): @@ -5419,7 +5421,7 @@ def __init__(self, handler): self._processMap["show_compact"] = Processor.process_show_compact self._processMap["get_next_notification"] = Processor.process_get_next_notification self._processMap["get_current_notificationEventId"] = Processor.process_get_current_notificationEventId - self._processMap["fire_notification_event"] = Processor.process_fire_notification_event + self._processMap["fire_listener_event"] = Processor.process_fire_listener_event def process(self, iprot, oprot): (name, type, seqid) = iprot.readMessageBegin() @@ -7327,13 +7329,13 @@ def process_get_current_notificationEventId(self, seqid, iprot, oprot): oprot.writeMessageEnd() oprot.trans.flush() - def process_fire_notification_event(self, seqid, iprot, oprot): - args = fire_notification_event_args() + def process_fire_listener_event(self, seqid, iprot, oprot): + args = fire_listener_event_args() args.read(iprot) iprot.readMessageEnd() - result = fire_notification_event_result() - self._handler.fire_notification_event(args.rqst) - oprot.writeMessageBegin("fire_notification_event", TMessageType.REPLY, seqid) + result = fire_listener_event_result() + result.success = self._handler.fire_listener_event(args.rqst) + oprot.writeMessageBegin("fire_listener_event", TMessageType.REPLY, seqid) result.write(oprot) oprot.writeMessageEnd() oprot.trans.flush() @@ -8159,10 +8161,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype451, _size448) = iprot.readListBegin() - for _i452 in xrange(_size448): - _elem453 = iprot.readString(); - self.success.append(_elem453) + (_etype458, _size455) = iprot.readListBegin() + for _i459 in xrange(_size455): + _elem460 = iprot.readString(); + self.success.append(_elem460) iprot.readListEnd() else: iprot.skip(ftype) @@ -8185,8 +8187,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 iter454 in self.success: - oprot.writeString(iter454) + for iter461 in self.success: + oprot.writeString(iter461) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -8281,10 +8283,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype458, _size455) = iprot.readListBegin() - for _i459 in xrange(_size455): - _elem460 = iprot.readString(); - self.success.append(_elem460) + (_etype465, _size462) = iprot.readListBegin() + for _i466 in xrange(_size462): + _elem467 = iprot.readString(); + self.success.append(_elem467) iprot.readListEnd() else: iprot.skip(ftype) @@ -8307,8 +8309,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 iter461 in self.success: - oprot.writeString(iter461) + for iter468 in self.success: + oprot.writeString(iter468) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -9018,12 +9020,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype463, _vtype464, _size462 ) = iprot.readMapBegin() - for _i466 in xrange(_size462): - _key467 = iprot.readString(); - _val468 = Type() - _val468.read(iprot) - self.success[_key467] = _val468 + (_ktype470, _vtype471, _size469 ) = iprot.readMapBegin() + for _i473 in xrange(_size469): + _key474 = iprot.readString(); + _val475 = Type() + _val475.read(iprot) + self.success[_key474] = _val475 iprot.readMapEnd() else: iprot.skip(ftype) @@ -9046,9 +9048,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 kiter469,viter470 in self.success.items(): - oprot.writeString(kiter469) - viter470.write(oprot) + for kiter476,viter477 in self.success.items(): + oprot.writeString(kiter476) + viter477.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -9179,11 +9181,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype474, _size471) = iprot.readListBegin() - for _i475 in xrange(_size471): - _elem476 = FieldSchema() - _elem476.read(iprot) - self.success.append(_elem476) + (_etype481, _size478) = iprot.readListBegin() + for _i482 in xrange(_size478): + _elem483 = FieldSchema() + _elem483.read(iprot) + self.success.append(_elem483) iprot.readListEnd() else: iprot.skip(ftype) @@ -9218,8 +9220,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 iter477 in self.success: - iter477.write(oprot) + for iter484 in self.success: + iter484.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -9358,11 +9360,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype481, _size478) = iprot.readListBegin() - for _i482 in xrange(_size478): - _elem483 = FieldSchema() - _elem483.read(iprot) - self.success.append(_elem483) + (_etype488, _size485) = iprot.readListBegin() + for _i489 in xrange(_size485): + _elem490 = FieldSchema() + _elem490.read(iprot) + self.success.append(_elem490) iprot.readListEnd() else: iprot.skip(ftype) @@ -9397,8 +9399,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 iter484 in self.success: - iter484.write(oprot) + for iter491 in self.success: + iter491.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -10195,10 +10197,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype488, _size485) = iprot.readListBegin() - for _i489 in xrange(_size485): - _elem490 = iprot.readString(); - self.success.append(_elem490) + (_etype495, _size492) = iprot.readListBegin() + for _i496 in xrange(_size492): + _elem497 = iprot.readString(); + self.success.append(_elem497) iprot.readListEnd() else: iprot.skip(ftype) @@ -10221,8 +10223,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 iter491 in self.success: - oprot.writeString(iter491) + for iter498 in self.success: + oprot.writeString(iter498) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -10335,10 +10337,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype495, _size492) = iprot.readListBegin() - for _i496 in xrange(_size492): - _elem497 = iprot.readString(); - self.success.append(_elem497) + (_etype502, _size499) = iprot.readListBegin() + for _i503 in xrange(_size499): + _elem504 = iprot.readString(); + self.success.append(_elem504) iprot.readListEnd() else: iprot.skip(ftype) @@ -10361,8 +10363,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 iter498 in self.success: - oprot.writeString(iter498) + for iter505 in self.success: + oprot.writeString(iter505) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -10579,10 +10581,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype502, _size499) = iprot.readListBegin() - for _i503 in xrange(_size499): - _elem504 = iprot.readString(); - self.tbl_names.append(_elem504) + (_etype509, _size506) = iprot.readListBegin() + for _i510 in xrange(_size506): + _elem511 = iprot.readString(); + self.tbl_names.append(_elem511) iprot.readListEnd() else: iprot.skip(ftype) @@ -10603,8 +10605,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 iter505 in self.tbl_names: - oprot.writeString(iter505) + for iter512 in self.tbl_names: + oprot.writeString(iter512) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10659,11 +10661,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype509, _size506) = iprot.readListBegin() - for _i510 in xrange(_size506): - _elem511 = Table() - _elem511.read(iprot) - self.success.append(_elem511) + (_etype516, _size513) = iprot.readListBegin() + for _i517 in xrange(_size513): + _elem518 = Table() + _elem518.read(iprot) + self.success.append(_elem518) iprot.readListEnd() else: iprot.skip(ftype) @@ -10698,8 +10700,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 iter512 in self.success: - iter512.write(oprot) + for iter519 in self.success: + iter519.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -10850,10 +10852,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype516, _size513) = iprot.readListBegin() - for _i517 in xrange(_size513): - _elem518 = iprot.readString(); - self.success.append(_elem518) + (_etype523, _size520) = iprot.readListBegin() + for _i524 in xrange(_size520): + _elem525 = iprot.readString(); + self.success.append(_elem525) iprot.readListEnd() else: iprot.skip(ftype) @@ -10888,8 +10890,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 iter519 in self.success: - oprot.writeString(iter519) + for iter526 in self.success: + oprot.writeString(iter526) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -11783,11 +11785,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype523, _size520) = iprot.readListBegin() - for _i524 in xrange(_size520): - _elem525 = Partition() - _elem525.read(iprot) - self.new_parts.append(_elem525) + (_etype530, _size527) = iprot.readListBegin() + for _i531 in xrange(_size527): + _elem532 = Partition() + _elem532.read(iprot) + self.new_parts.append(_elem532) iprot.readListEnd() else: iprot.skip(ftype) @@ -11804,8 +11806,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 iter526 in self.new_parts: - iter526.write(oprot) + for iter533 in self.new_parts: + iter533.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11950,11 +11952,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype530, _size527) = iprot.readListBegin() - for _i531 in xrange(_size527): - _elem532 = PartitionSpec() - _elem532.read(iprot) - self.new_parts.append(_elem532) + (_etype537, _size534) = iprot.readListBegin() + for _i538 in xrange(_size534): + _elem539 = PartitionSpec() + _elem539.read(iprot) + self.new_parts.append(_elem539) iprot.readListEnd() else: iprot.skip(ftype) @@ -11971,8 +11973,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 iter533 in self.new_parts: - iter533.write(oprot) + for iter540 in self.new_parts: + iter540.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12133,10 +12135,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype537, _size534) = iprot.readListBegin() - for _i538 in xrange(_size534): - _elem539 = iprot.readString(); - self.part_vals.append(_elem539) + (_etype544, _size541) = iprot.readListBegin() + for _i545 in xrange(_size541): + _elem546 = iprot.readString(); + self.part_vals.append(_elem546) iprot.readListEnd() else: iprot.skip(ftype) @@ -12161,8 +12163,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 iter540 in self.part_vals: - oprot.writeString(iter540) + for iter547 in self.part_vals: + oprot.writeString(iter547) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12487,10 +12489,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype544, _size541) = iprot.readListBegin() - for _i545 in xrange(_size541): - _elem546 = iprot.readString(); - self.part_vals.append(_elem546) + (_etype551, _size548) = iprot.readListBegin() + for _i552 in xrange(_size548): + _elem553 = iprot.readString(); + self.part_vals.append(_elem553) iprot.readListEnd() else: iprot.skip(ftype) @@ -12521,8 +12523,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 iter547 in self.part_vals: - oprot.writeString(iter547) + for iter554 in self.part_vals: + oprot.writeString(iter554) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -13070,10 +13072,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype551, _size548) = iprot.readListBegin() - for _i552 in xrange(_size548): - _elem553 = iprot.readString(); - self.part_vals.append(_elem553) + (_etype558, _size555) = iprot.readListBegin() + for _i559 in xrange(_size555): + _elem560 = iprot.readString(); + self.part_vals.append(_elem560) iprot.readListEnd() else: iprot.skip(ftype) @@ -13103,8 +13105,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 iter554 in self.part_vals: - oprot.writeString(iter554) + for iter561 in self.part_vals: + oprot.writeString(iter561) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -13262,10 +13264,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype558, _size555) = iprot.readListBegin() - for _i559 in xrange(_size555): - _elem560 = iprot.readString(); - self.part_vals.append(_elem560) + (_etype565, _size562) = iprot.readListBegin() + for _i566 in xrange(_size562): + _elem567 = iprot.readString(); + self.part_vals.append(_elem567) iprot.readListEnd() else: iprot.skip(ftype) @@ -13301,8 +13303,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 iter561 in self.part_vals: - oprot.writeString(iter561) + for iter568 in self.part_vals: + oprot.writeString(iter568) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -13980,10 +13982,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype565, _size562) = iprot.readListBegin() - for _i566 in xrange(_size562): - _elem567 = iprot.readString(); - self.part_vals.append(_elem567) + (_etype572, _size569) = iprot.readListBegin() + for _i573 in xrange(_size569): + _elem574 = iprot.readString(); + self.part_vals.append(_elem574) iprot.readListEnd() else: iprot.skip(ftype) @@ -14008,8 +14010,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 iter568 in self.part_vals: - oprot.writeString(iter568) + for iter575 in self.part_vals: + oprot.writeString(iter575) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14154,11 +14156,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype570, _vtype571, _size569 ) = iprot.readMapBegin() - for _i573 in xrange(_size569): - _key574 = iprot.readString(); - _val575 = iprot.readString(); - self.partitionSpecs[_key574] = _val575 + (_ktype577, _vtype578, _size576 ) = iprot.readMapBegin() + for _i580 in xrange(_size576): + _key581 = iprot.readString(); + _val582 = iprot.readString(); + self.partitionSpecs[_key581] = _val582 iprot.readMapEnd() else: iprot.skip(ftype) @@ -14195,9 +14197,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 kiter576,viter577 in self.partitionSpecs.items(): - oprot.writeString(kiter576) - oprot.writeString(viter577) + for kiter583,viter584 in self.partitionSpecs.items(): + oprot.writeString(kiter583) + oprot.writeString(viter584) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -14394,10 +14396,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype581, _size578) = iprot.readListBegin() - for _i582 in xrange(_size578): - _elem583 = iprot.readString(); - self.part_vals.append(_elem583) + (_etype588, _size585) = iprot.readListBegin() + for _i589 in xrange(_size585): + _elem590 = iprot.readString(); + self.part_vals.append(_elem590) iprot.readListEnd() else: iprot.skip(ftype) @@ -14409,10 +14411,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype587, _size584) = iprot.readListBegin() - for _i588 in xrange(_size584): - _elem589 = iprot.readString(); - self.group_names.append(_elem589) + (_etype594, _size591) = iprot.readListBegin() + for _i595 in xrange(_size591): + _elem596 = iprot.readString(); + self.group_names.append(_elem596) iprot.readListEnd() else: iprot.skip(ftype) @@ -14437,8 +14439,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 iter590 in self.part_vals: - oprot.writeString(iter590) + for iter597 in self.part_vals: + oprot.writeString(iter597) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -14448,8 +14450,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 iter591 in self.group_names: - oprot.writeString(iter591) + for iter598 in self.group_names: + oprot.writeString(iter598) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14841,11 +14843,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype595, _size592) = iprot.readListBegin() - for _i596 in xrange(_size592): - _elem597 = Partition() - _elem597.read(iprot) - self.success.append(_elem597) + (_etype602, _size599) = iprot.readListBegin() + for _i603 in xrange(_size599): + _elem604 = Partition() + _elem604.read(iprot) + self.success.append(_elem604) iprot.readListEnd() else: iprot.skip(ftype) @@ -14874,8 +14876,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 iter598 in self.success: - iter598.write(oprot) + for iter605 in self.success: + iter605.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14962,10 +14964,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype602, _size599) = iprot.readListBegin() - for _i603 in xrange(_size599): - _elem604 = iprot.readString(); - self.group_names.append(_elem604) + (_etype609, _size606) = iprot.readListBegin() + for _i610 in xrange(_size606): + _elem611 = iprot.readString(); + self.group_names.append(_elem611) iprot.readListEnd() else: iprot.skip(ftype) @@ -14998,8 +15000,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 iter605 in self.group_names: - oprot.writeString(iter605) + for iter612 in self.group_names: + oprot.writeString(iter612) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15051,11 +15053,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype609, _size606) = iprot.readListBegin() - for _i610 in xrange(_size606): - _elem611 = Partition() - _elem611.read(iprot) - self.success.append(_elem611) + (_etype616, _size613) = iprot.readListBegin() + for _i617 in xrange(_size613): + _elem618 = Partition() + _elem618.read(iprot) + self.success.append(_elem618) iprot.readListEnd() else: iprot.skip(ftype) @@ -15084,8 +15086,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 iter612 in self.success: - iter612.write(oprot) + for iter619 in self.success: + iter619.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15229,11 +15231,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype616, _size613) = iprot.readListBegin() - for _i617 in xrange(_size613): - _elem618 = PartitionSpec() - _elem618.read(iprot) - self.success.append(_elem618) + (_etype623, _size620) = iprot.readListBegin() + for _i624 in xrange(_size620): + _elem625 = PartitionSpec() + _elem625.read(iprot) + self.success.append(_elem625) iprot.readListEnd() else: iprot.skip(ftype) @@ -15262,8 +15264,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 iter619 in self.success: - iter619.write(oprot) + for iter626 in self.success: + iter626.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15404,10 +15406,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype623, _size620) = iprot.readListBegin() - for _i624 in xrange(_size620): - _elem625 = iprot.readString(); - self.success.append(_elem625) + (_etype630, _size627) = iprot.readListBegin() + for _i631 in xrange(_size627): + _elem632 = iprot.readString(); + self.success.append(_elem632) iprot.readListEnd() else: iprot.skip(ftype) @@ -15430,8 +15432,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 iter626 in self.success: - oprot.writeString(iter626) + for iter633 in self.success: + oprot.writeString(iter633) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -15501,10 +15503,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype630, _size627) = iprot.readListBegin() - for _i631 in xrange(_size627): - _elem632 = iprot.readString(); - self.part_vals.append(_elem632) + (_etype637, _size634) = iprot.readListBegin() + for _i638 in xrange(_size634): + _elem639 = iprot.readString(); + self.part_vals.append(_elem639) iprot.readListEnd() else: iprot.skip(ftype) @@ -15534,8 +15536,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 iter633 in self.part_vals: - oprot.writeString(iter633) + for iter640 in self.part_vals: + oprot.writeString(iter640) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -15591,11 +15593,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype637, _size634) = iprot.readListBegin() - for _i638 in xrange(_size634): - _elem639 = Partition() - _elem639.read(iprot) - self.success.append(_elem639) + (_etype644, _size641) = iprot.readListBegin() + for _i645 in xrange(_size641): + _elem646 = Partition() + _elem646.read(iprot) + self.success.append(_elem646) iprot.readListEnd() else: iprot.skip(ftype) @@ -15624,8 +15626,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 iter640 in self.success: - iter640.write(oprot) + for iter647 in self.success: + iter647.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15705,10 +15707,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype644, _size641) = iprot.readListBegin() - for _i645 in xrange(_size641): - _elem646 = iprot.readString(); - self.part_vals.append(_elem646) + (_etype651, _size648) = iprot.readListBegin() + for _i652 in xrange(_size648): + _elem653 = iprot.readString(); + self.part_vals.append(_elem653) iprot.readListEnd() else: iprot.skip(ftype) @@ -15725,10 +15727,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype650, _size647) = iprot.readListBegin() - for _i651 in xrange(_size647): - _elem652 = iprot.readString(); - self.group_names.append(_elem652) + (_etype657, _size654) = iprot.readListBegin() + for _i658 in xrange(_size654): + _elem659 = iprot.readString(); + self.group_names.append(_elem659) iprot.readListEnd() else: iprot.skip(ftype) @@ -15753,8 +15755,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 iter653 in self.part_vals: - oprot.writeString(iter653) + for iter660 in self.part_vals: + oprot.writeString(iter660) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -15768,8 +15770,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 iter654 in self.group_names: - oprot.writeString(iter654) + for iter661 in self.group_names: + oprot.writeString(iter661) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15821,11 +15823,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype658, _size655) = iprot.readListBegin() - for _i659 in xrange(_size655): - _elem660 = Partition() - _elem660.read(iprot) - self.success.append(_elem660) + (_etype665, _size662) = iprot.readListBegin() + for _i666 in xrange(_size662): + _elem667 = Partition() + _elem667.read(iprot) + self.success.append(_elem667) iprot.readListEnd() else: iprot.skip(ftype) @@ -15854,8 +15856,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 iter661 in self.success: - iter661.write(oprot) + for iter668 in self.success: + iter668.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15929,10 +15931,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype665, _size662) = iprot.readListBegin() - for _i666 in xrange(_size662): - _elem667 = iprot.readString(); - self.part_vals.append(_elem667) + (_etype672, _size669) = iprot.readListBegin() + for _i673 in xrange(_size669): + _elem674 = iprot.readString(); + self.part_vals.append(_elem674) iprot.readListEnd() else: iprot.skip(ftype) @@ -15962,8 +15964,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 iter668 in self.part_vals: - oprot.writeString(iter668) + for iter675 in self.part_vals: + oprot.writeString(iter675) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -16019,10 +16021,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype672, _size669) = iprot.readListBegin() - for _i673 in xrange(_size669): - _elem674 = iprot.readString(); - self.success.append(_elem674) + (_etype679, _size676) = iprot.readListBegin() + for _i680 in xrange(_size676): + _elem681 = iprot.readString(); + self.success.append(_elem681) iprot.readListEnd() else: iprot.skip(ftype) @@ -16051,8 +16053,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 iter675 in self.success: - oprot.writeString(iter675) + for iter682 in self.success: + oprot.writeString(iter682) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16208,11 +16210,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype679, _size676) = iprot.readListBegin() - for _i680 in xrange(_size676): - _elem681 = Partition() - _elem681.read(iprot) - self.success.append(_elem681) + (_etype686, _size683) = iprot.readListBegin() + for _i687 in xrange(_size683): + _elem688 = Partition() + _elem688.read(iprot) + self.success.append(_elem688) iprot.readListEnd() else: iprot.skip(ftype) @@ -16241,8 +16243,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 iter682 in self.success: - iter682.write(oprot) + for iter689 in self.success: + iter689.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16398,11 +16400,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype686, _size683) = iprot.readListBegin() - for _i687 in xrange(_size683): - _elem688 = PartitionSpec() - _elem688.read(iprot) - self.success.append(_elem688) + (_etype693, _size690) = iprot.readListBegin() + for _i694 in xrange(_size690): + _elem695 = PartitionSpec() + _elem695.read(iprot) + self.success.append(_elem695) iprot.readListEnd() else: iprot.skip(ftype) @@ -16431,8 +16433,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 iter689 in self.success: - iter689.write(oprot) + for iter696 in self.success: + iter696.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16650,10 +16652,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype693, _size690) = iprot.readListBegin() - for _i694 in xrange(_size690): - _elem695 = iprot.readString(); - self.names.append(_elem695) + (_etype700, _size697) = iprot.readListBegin() + for _i701 in xrange(_size697): + _elem702 = iprot.readString(); + self.names.append(_elem702) iprot.readListEnd() else: iprot.skip(ftype) @@ -16678,8 +16680,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 iter696 in self.names: - oprot.writeString(iter696) + for iter703 in self.names: + oprot.writeString(iter703) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16731,11 +16733,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype700, _size697) = iprot.readListBegin() - for _i701 in xrange(_size697): - _elem702 = Partition() - _elem702.read(iprot) - self.success.append(_elem702) + (_etype707, _size704) = iprot.readListBegin() + for _i708 in xrange(_size704): + _elem709 = Partition() + _elem709.read(iprot) + self.success.append(_elem709) iprot.readListEnd() else: iprot.skip(ftype) @@ -16764,8 +16766,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 iter703 in self.success: - iter703.write(oprot) + for iter710 in self.success: + iter710.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16995,11 +16997,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype707, _size704) = iprot.readListBegin() - for _i708 in xrange(_size704): - _elem709 = Partition() - _elem709.read(iprot) - self.new_parts.append(_elem709) + (_etype714, _size711) = iprot.readListBegin() + for _i715 in xrange(_size711): + _elem716 = Partition() + _elem716.read(iprot) + self.new_parts.append(_elem716) iprot.readListEnd() else: iprot.skip(ftype) @@ -17024,8 +17026,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 iter710 in self.new_parts: - iter710.write(oprot) + for iter717 in self.new_parts: + iter717.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17337,10 +17339,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype714, _size711) = iprot.readListBegin() - for _i715 in xrange(_size711): - _elem716 = iprot.readString(); - self.part_vals.append(_elem716) + (_etype721, _size718) = iprot.readListBegin() + for _i722 in xrange(_size718): + _elem723 = iprot.readString(); + self.part_vals.append(_elem723) iprot.readListEnd() else: iprot.skip(ftype) @@ -17371,8 +17373,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 iter717 in self.part_vals: - oprot.writeString(iter717) + for iter724 in self.part_vals: + oprot.writeString(iter724) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -17500,10 +17502,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype721, _size718) = iprot.readListBegin() - for _i722 in xrange(_size718): - _elem723 = iprot.readString(); - self.part_vals.append(_elem723) + (_etype728, _size725) = iprot.readListBegin() + for _i729 in xrange(_size725): + _elem730 = iprot.readString(); + self.part_vals.append(_elem730) iprot.readListEnd() else: iprot.skip(ftype) @@ -17525,8 +17527,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 iter724 in self.part_vals: - oprot.writeString(iter724) + for iter731 in self.part_vals: + oprot.writeString(iter731) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -17855,10 +17857,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype728, _size725) = iprot.readListBegin() - for _i729 in xrange(_size725): - _elem730 = iprot.readString(); - self.success.append(_elem730) + (_etype735, _size732) = iprot.readListBegin() + for _i736 in xrange(_size732): + _elem737 = iprot.readString(); + self.success.append(_elem737) iprot.readListEnd() else: iprot.skip(ftype) @@ -17881,8 +17883,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 iter731 in self.success: - oprot.writeString(iter731) + for iter738 in self.success: + oprot.writeString(iter738) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17995,11 +17997,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype733, _vtype734, _size732 ) = iprot.readMapBegin() - for _i736 in xrange(_size732): - _key737 = iprot.readString(); - _val738 = iprot.readString(); - self.success[_key737] = _val738 + (_ktype740, _vtype741, _size739 ) = iprot.readMapBegin() + for _i743 in xrange(_size739): + _key744 = iprot.readString(); + _val745 = iprot.readString(); + self.success[_key744] = _val745 iprot.readMapEnd() else: iprot.skip(ftype) @@ -18022,9 +18024,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 kiter739,viter740 in self.success.items(): - oprot.writeString(kiter739) - oprot.writeString(viter740) + for kiter746,viter747 in self.success.items(): + oprot.writeString(kiter746) + oprot.writeString(viter747) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18094,11 +18096,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype742, _vtype743, _size741 ) = iprot.readMapBegin() - for _i745 in xrange(_size741): - _key746 = iprot.readString(); - _val747 = iprot.readString(); - self.part_vals[_key746] = _val747 + (_ktype749, _vtype750, _size748 ) = iprot.readMapBegin() + for _i752 in xrange(_size748): + _key753 = iprot.readString(); + _val754 = iprot.readString(); + self.part_vals[_key753] = _val754 iprot.readMapEnd() else: iprot.skip(ftype) @@ -18128,9 +18130,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 kiter748,viter749 in self.part_vals.items(): - oprot.writeString(kiter748) - oprot.writeString(viter749) + for kiter755,viter756 in self.part_vals.items(): + oprot.writeString(kiter755) + oprot.writeString(viter756) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -18326,11 +18328,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype751, _vtype752, _size750 ) = iprot.readMapBegin() - for _i754 in xrange(_size750): - _key755 = iprot.readString(); - _val756 = iprot.readString(); - self.part_vals[_key755] = _val756 + (_ktype758, _vtype759, _size757 ) = iprot.readMapBegin() + for _i761 in xrange(_size757): + _key762 = iprot.readString(); + _val763 = iprot.readString(); + self.part_vals[_key762] = _val763 iprot.readMapEnd() else: iprot.skip(ftype) @@ -18360,9 +18362,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 kiter757,viter758 in self.part_vals.items(): - oprot.writeString(kiter757) - oprot.writeString(viter758) + for kiter764,viter765 in self.part_vals.items(): + oprot.writeString(kiter764) + oprot.writeString(viter765) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -19334,11 +19336,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype762, _size759) = iprot.readListBegin() - for _i763 in xrange(_size759): - _elem764 = Index() - _elem764.read(iprot) - self.success.append(_elem764) + (_etype769, _size766) = iprot.readListBegin() + for _i770 in xrange(_size766): + _elem771 = Index() + _elem771.read(iprot) + self.success.append(_elem771) iprot.readListEnd() else: iprot.skip(ftype) @@ -19367,8 +19369,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 iter765 in self.success: - iter765.write(oprot) + for iter772 in self.success: + iter772.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19509,10 +19511,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype769, _size766) = iprot.readListBegin() - for _i770 in xrange(_size766): - _elem771 = iprot.readString(); - self.success.append(_elem771) + (_etype776, _size773) = iprot.readListBegin() + for _i777 in xrange(_size773): + _elem778 = iprot.readString(); + self.success.append(_elem778) iprot.readListEnd() else: iprot.skip(ftype) @@ -19535,8 +19537,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 iter772 in self.success: - oprot.writeString(iter772) + for iter779 in self.success: + oprot.writeString(iter779) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -21890,10 +21892,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype776, _size773) = iprot.readListBegin() - for _i777 in xrange(_size773): - _elem778 = iprot.readString(); - self.success.append(_elem778) + (_etype783, _size780) = iprot.readListBegin() + for _i784 in xrange(_size780): + _elem785 = iprot.readString(); + self.success.append(_elem785) iprot.readListEnd() else: iprot.skip(ftype) @@ -21916,8 +21918,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 iter779 in self.success: - oprot.writeString(iter779) + for iter786 in self.success: + oprot.writeString(iter786) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22435,10 +22437,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype783, _size780) = iprot.readListBegin() - for _i784 in xrange(_size780): - _elem785 = iprot.readString(); - self.success.append(_elem785) + (_etype790, _size787) = iprot.readListBegin() + for _i791 in xrange(_size787): + _elem792 = iprot.readString(); + self.success.append(_elem792) iprot.readListEnd() else: iprot.skip(ftype) @@ -22461,8 +22463,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 iter786 in self.success: - oprot.writeString(iter786) + for iter793 in self.success: + oprot.writeString(iter793) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22935,11 +22937,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype790, _size787) = iprot.readListBegin() - for _i791 in xrange(_size787): - _elem792 = Role() - _elem792.read(iprot) - self.success.append(_elem792) + (_etype797, _size794) = iprot.readListBegin() + for _i798 in xrange(_size794): + _elem799 = Role() + _elem799.read(iprot) + self.success.append(_elem799) iprot.readListEnd() else: iprot.skip(ftype) @@ -22962,8 +22964,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 iter793 in self.success: - iter793.write(oprot) + for iter800 in self.success: + iter800.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23433,10 +23435,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype797, _size794) = iprot.readListBegin() - for _i798 in xrange(_size794): - _elem799 = iprot.readString(); - self.group_names.append(_elem799) + (_etype804, _size801) = iprot.readListBegin() + for _i805 in xrange(_size801): + _elem806 = iprot.readString(); + self.group_names.append(_elem806) iprot.readListEnd() else: iprot.skip(ftype) @@ -23461,8 +23463,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 iter800 in self.group_names: - oprot.writeString(iter800) + for iter807 in self.group_names: + oprot.writeString(iter807) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23669,11 +23671,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype804, _size801) = iprot.readListBegin() - for _i805 in xrange(_size801): - _elem806 = HiveObjectPrivilege() - _elem806.read(iprot) - self.success.append(_elem806) + (_etype811, _size808) = iprot.readListBegin() + for _i812 in xrange(_size808): + _elem813 = HiveObjectPrivilege() + _elem813.read(iprot) + self.success.append(_elem813) iprot.readListEnd() else: iprot.skip(ftype) @@ -23696,8 +23698,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 iter807 in self.success: - iter807.write(oprot) + for iter814 in self.success: + iter814.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24156,10 +24158,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype811, _size808) = iprot.readListBegin() - for _i812 in xrange(_size808): - _elem813 = iprot.readString(); - self.group_names.append(_elem813) + (_etype818, _size815) = iprot.readListBegin() + for _i819 in xrange(_size815): + _elem820 = iprot.readString(); + self.group_names.append(_elem820) iprot.readListEnd() else: iprot.skip(ftype) @@ -24180,8 +24182,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 iter814 in self.group_names: - oprot.writeString(iter814) + for iter821 in self.group_names: + oprot.writeString(iter821) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24230,10 +24232,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype818, _size815) = iprot.readListBegin() - for _i819 in xrange(_size815): - _elem820 = iprot.readString(); - self.success.append(_elem820) + (_etype825, _size822) = iprot.readListBegin() + for _i826 in xrange(_size822): + _elem827 = iprot.readString(); + self.success.append(_elem827) iprot.readListEnd() else: iprot.skip(ftype) @@ -24256,8 +24258,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 iter821 in self.success: - oprot.writeString(iter821) + for iter828 in self.success: + oprot.writeString(iter828) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26540,7 +26542,7 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class fire_notification_event_args: +class fire_listener_event_args: """ Attributes: - rqst @@ -26578,7 +26580,7 @@ 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('fire_notification_event_args') + oprot.writeStructBegin('fire_listener_event_args') if self.rqst is not None: oprot.writeFieldBegin('rqst', TType.STRUCT, 1) self.rqst.write(oprot) @@ -26601,11 +26603,19 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class fire_notification_event_result: +class fire_listener_event_result: + """ + Attributes: + - success + """ thrift_spec = ( + (0, TType.STRUCT, 'success', (FireEventResponse, FireEventResponse.thrift_spec), None, ), # 0 ) + def __init__(self, success=None,): + self.success = success + 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)) @@ -26615,6 +26625,12 @@ def read(self, iprot): (fname, ftype, fid) = iprot.readFieldBegin() if ftype == TType.STOP: break + if fid == 0: + if ftype == TType.STRUCT: + self.success = FireEventResponse() + self.success.read(iprot) + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -26624,7 +26640,11 @@ 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('fire_notification_event_result') + oprot.writeStructBegin('fire_listener_event_result') + if self.success is not None: + oprot.writeFieldBegin('success', TType.STRUCT, 0) + self.success.write(oprot) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() diff --git metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py index 2a8082f..22c3811 100644 --- metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -8495,31 +8495,162 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class InsertEventRequestData: + """ + Attributes: + - filesAdded + """ + + thrift_spec = ( + None, # 0 + (1, TType.LIST, 'filesAdded', (TType.STRING,None), None, ), # 1 + ) + + def __init__(self, filesAdded=None,): + self.filesAdded = filesAdded + + 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.filesAdded = [] + (_etype444, _size441) = iprot.readListBegin() + for _i445 in xrange(_size441): + _elem446 = iprot.readString(); + self.filesAdded.append(_elem446) + 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('InsertEventRequestData') + if self.filesAdded is not None: + oprot.writeFieldBegin('filesAdded', TType.LIST, 1) + oprot.writeListBegin(TType.STRING, len(self.filesAdded)) + for iter447 in self.filesAdded: + oprot.writeString(iter447) + oprot.writeListEnd() + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + if self.filesAdded is None: + raise TProtocol.TProtocolException(message='Required field filesAdded is unset!') + return + + + 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 FireEventRequestData: + """ + Attributes: + - insertData + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRUCT, 'insertData', (InsertEventRequestData, InsertEventRequestData.thrift_spec), None, ), # 1 + ) + + def __init__(self, insertData=None,): + self.insertData = insertData + + 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.insertData = InsertEventRequestData() + self.insertData.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('FireEventRequestData') + if self.insertData is not None: + oprot.writeFieldBegin('insertData', TType.STRUCT, 1) + self.insertData.write(oprot) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + 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 FireEventRequest: """ Attributes: - - eventType - dbName - successful - tableName - partitionVals + - data """ thrift_spec = ( None, # 0 - (1, TType.I32, 'eventType', None, None, ), # 1 - (2, TType.STRING, 'dbName', None, None, ), # 2 - (3, TType.BOOL, 'successful', None, None, ), # 3 - (4, TType.STRING, 'tableName', None, None, ), # 4 - (5, TType.LIST, 'partitionVals', (TType.STRING,None), None, ), # 5 + (1, TType.STRING, 'dbName', None, None, ), # 1 + (2, TType.BOOL, 'successful', None, None, ), # 2 + (3, TType.STRING, 'tableName', None, None, ), # 3 + (4, TType.LIST, 'partitionVals', (TType.STRING,None), None, ), # 4 + (5, TType.STRUCT, 'data', (FireEventRequestData, FireEventRequestData.thrift_spec), None, ), # 5 ) - def __init__(self, eventType=None, dbName=None, successful=None, tableName=None, partitionVals=None,): - self.eventType = eventType + def __init__(self, dbName=None, successful=None, tableName=None, partitionVals=None, data=None,): self.dbName = dbName self.successful = successful self.tableName = tableName self.partitionVals = partitionVals + self.data = data 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: @@ -8531,35 +8662,36 @@ def read(self, iprot): if ftype == TType.STOP: break if fid == 1: - if ftype == TType.I32: - self.eventType = iprot.readI32(); - else: - iprot.skip(ftype) - elif fid == 2: if ftype == TType.STRING: self.dbName = iprot.readString(); else: iprot.skip(ftype) - elif fid == 3: + elif fid == 2: if ftype == TType.BOOL: self.successful = iprot.readBool(); else: iprot.skip(ftype) - elif fid == 4: + elif fid == 3: if ftype == TType.STRING: self.tableName = iprot.readString(); else: iprot.skip(ftype) - elif fid == 5: + elif fid == 4: if ftype == TType.LIST: self.partitionVals = [] - (_etype444, _size441) = iprot.readListBegin() - for _i445 in xrange(_size441): - _elem446 = iprot.readString(); - self.partitionVals.append(_elem446) + (_etype451, _size448) = iprot.readListBegin() + for _i452 in xrange(_size448): + _elem453 = iprot.readString(); + self.partitionVals.append(_elem453) iprot.readListEnd() else: iprot.skip(ftype) + elif fid == 5: + if ftype == TType.STRUCT: + self.data = FireEventRequestData() + self.data.read(iprot) + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -8570,35 +8702,33 @@ def write(self, oprot): oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) return oprot.writeStructBegin('FireEventRequest') - if self.eventType is not None: - oprot.writeFieldBegin('eventType', TType.I32, 1) - oprot.writeI32(self.eventType) - oprot.writeFieldEnd() if self.dbName is not None: - oprot.writeFieldBegin('dbName', TType.STRING, 2) + oprot.writeFieldBegin('dbName', TType.STRING, 1) oprot.writeString(self.dbName) oprot.writeFieldEnd() if self.successful is not None: - oprot.writeFieldBegin('successful', TType.BOOL, 3) + oprot.writeFieldBegin('successful', TType.BOOL, 2) oprot.writeBool(self.successful) oprot.writeFieldEnd() if self.tableName is not None: - oprot.writeFieldBegin('tableName', TType.STRING, 4) + oprot.writeFieldBegin('tableName', TType.STRING, 3) oprot.writeString(self.tableName) oprot.writeFieldEnd() if self.partitionVals is not None: - oprot.writeFieldBegin('partitionVals', TType.LIST, 5) + oprot.writeFieldBegin('partitionVals', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.partitionVals)) - for iter447 in self.partitionVals: - oprot.writeString(iter447) + for iter454 in self.partitionVals: + oprot.writeString(iter454) oprot.writeListEnd() oprot.writeFieldEnd() + if self.data is not None: + oprot.writeFieldBegin('data', TType.STRUCT, 5) + self.data.write(oprot) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() def validate(self): - if self.eventType is None: - raise TProtocol.TProtocolException(message='Required field eventType is unset!') if self.dbName is None: raise TProtocol.TProtocolException(message='Required field dbName is unset!') if self.successful is None: @@ -8617,6 +8747,48 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class FireEventResponse: + + thrift_spec = ( + ) + + 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 + 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('FireEventResponse') + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + 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 MetaException(TException): """ Attributes: diff --git metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb index 05c4d0b..744e493 100644 --- metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -2077,31 +2077,82 @@ class CurrentNotificationEventId ::Thrift::Struct.generate_accessors self end +class InsertEventRequestData + include ::Thrift::Struct, ::Thrift::Struct_Union + FILESADDED = 1 + + FIELDS = { + FILESADDED => {:type => ::Thrift::Types::LIST, :name => 'filesAdded', :element => {:type => ::Thrift::Types::STRING}} + } + + def struct_fields; FIELDS; end + + def validate + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field filesAdded is unset!') unless @filesAdded + end + + ::Thrift::Struct.generate_accessors self +end + +class FireEventRequestData < ::Thrift::Union + include ::Thrift::Struct_Union + class << self + def insertData(val) + FireEventRequestData.new(:insertData, val) + end + end + + INSERTDATA = 1 + + FIELDS = { + INSERTDATA => {:type => ::Thrift::Types::STRUCT, :name => 'insertData', :class => ::InsertEventRequestData} + } + + def struct_fields; FIELDS; end + + def validate + raise(StandardError, 'Union fields are not set.') if get_set_field.nil? || get_value.nil? + end + + ::Thrift::Union.generate_accessors self +end + class FireEventRequest include ::Thrift::Struct, ::Thrift::Struct_Union - EVENTTYPE = 1 - DBNAME = 2 - SUCCESSFUL = 3 - TABLENAME = 4 - PARTITIONVALS = 5 + DBNAME = 1 + SUCCESSFUL = 2 + TABLENAME = 3 + PARTITIONVALS = 4 + DATA = 5 FIELDS = { - EVENTTYPE => {:type => ::Thrift::Types::I32, :name => 'eventType', :enum_class => ::EventRequestType}, DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'}, SUCCESSFUL => {:type => ::Thrift::Types::BOOL, :name => 'successful'}, TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName', :optional => true}, - PARTITIONVALS => {:type => ::Thrift::Types::LIST, :name => 'partitionVals', :element => {:type => ::Thrift::Types::STRING}, :optional => true} + PARTITIONVALS => {:type => ::Thrift::Types::LIST, :name => 'partitionVals', :element => {:type => ::Thrift::Types::STRING}, :optional => true}, + DATA => {:type => ::Thrift::Types::STRUCT, :name => 'data', :class => ::FireEventRequestData, :optional => true} } def struct_fields; FIELDS; end def validate - raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field eventType is unset!') unless @eventType raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field dbName is unset!') unless @dbName raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field successful is unset!') if @successful.nil? - unless @eventType.nil? || ::EventRequestType::VALID_VALUES.include?(@eventType) - raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field eventType!') - end + end + + ::Thrift::Struct.generate_accessors self +end + +class FireEventResponse + include ::Thrift::Struct, ::Thrift::Struct_Union + + FIELDS = { + + } + + def struct_fields; FIELDS; end + + def validate end ::Thrift::Struct.generate_accessors self diff --git metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb index 348b0c2..6857a72 100644 --- metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb @@ -2007,18 +2007,19 @@ module ThriftHiveMetastore raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_current_notificationEventId failed: unknown result') end - def fire_notification_event(rqst) - send_fire_notification_event(rqst) - recv_fire_notification_event() + def fire_listener_event(rqst) + send_fire_listener_event(rqst) + return recv_fire_listener_event() end - def send_fire_notification_event(rqst) - send_message('fire_notification_event', Fire_notification_event_args, :rqst => rqst) + def send_fire_listener_event(rqst) + send_message('fire_listener_event', Fire_listener_event_args, :rqst => rqst) end - def recv_fire_notification_event() - result = receive_message(Fire_notification_event_result) - return + def recv_fire_listener_event() + result = receive_message(Fire_listener_event_result) + return result.success unless result.success.nil? + raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'fire_listener_event failed: unknown result') end end @@ -3551,11 +3552,11 @@ module ThriftHiveMetastore write_result(result, oprot, 'get_current_notificationEventId', seqid) end - def process_fire_notification_event(seqid, iprot, oprot) - args = read_args(iprot, Fire_notification_event_args) - result = Fire_notification_event_result.new() - @handler.fire_notification_event(args.rqst) - write_result(result, oprot, 'fire_notification_event', seqid) + def process_fire_listener_event(seqid, iprot, oprot) + args = read_args(iprot, Fire_listener_event_args) + result = Fire_listener_event_result.new() + result.success = @handler.fire_listener_event(args.rqst) + write_result(result, oprot, 'fire_listener_event', seqid) end end @@ -8109,7 +8110,7 @@ module ThriftHiveMetastore ::Thrift::Struct.generate_accessors self end - class Fire_notification_event_args + class Fire_listener_event_args include ::Thrift::Struct, ::Thrift::Struct_Union RQST = 1 @@ -8125,11 +8126,12 @@ module ThriftHiveMetastore ::Thrift::Struct.generate_accessors self end - class Fire_notification_event_result + class Fire_listener_event_result include ::Thrift::Struct, ::Thrift::Struct_Union + SUCCESS = 0 FIELDS = { - + SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::FireEventResponse} } def struct_fields; FIELDS; end diff --git metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java index fc6f067..26ca208 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -85,6 +85,7 @@ import org.apache.hadoop.hive.metastore.api.EnvironmentContext; import org.apache.hadoop.hive.metastore.api.FieldSchema; import org.apache.hadoop.hive.metastore.api.FireEventRequest; +import org.apache.hadoop.hive.metastore.api.FireEventResponse; import org.apache.hadoop.hive.metastore.api.Function; import org.apache.hadoop.hive.metastore.api.GetOpenTxnsInfoResponse; import org.apache.hadoop.hive.metastore.api.GetOpenTxnsResponse; @@ -5559,19 +5560,20 @@ public CurrentNotificationEventId get_current_notificationEventId() throws TExce } @Override - public void fire_notification_event(FireEventRequest rqst) throws TException { - switch (rqst.getEventType()) { - case INSERT: + public FireEventResponse fire_listener_event(FireEventRequest rqst) throws TException { + switch (rqst.getData().getSetField()) { + case INSERT_DATA: InsertEvent event = new InsertEvent(rqst.getDbName(), rqst.getTableName(), - rqst.getPartitionVals(), rqst.isSuccessful(), this); + rqst.getPartitionVals(), rqst.getData().getInsertData().getFilesAdded(), + rqst.isSuccessful(), this); for (MetaStoreEventListener listener : listeners) { listener.onInsert(event); } - break; + return new FireEventResponse(); default: - throw new TException("Event type " + rqst.getEventType().toString() + " not currently " + - "supported."); + throw new TException("Event type " + rqst.getData().getSetField().toString() + + " not currently supported."); } } diff --git metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index e2c2860..f5ef69d 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java @@ -71,6 +71,7 @@ import org.apache.hadoop.hive.metastore.api.EnvironmentContext; import org.apache.hadoop.hive.metastore.api.FieldSchema; import org.apache.hadoop.hive.metastore.api.FireEventRequest; +import org.apache.hadoop.hive.metastore.api.FireEventResponse; import org.apache.hadoop.hive.metastore.api.Function; import org.apache.hadoop.hive.metastore.api.GetOpenTxnsInfoResponse; import org.apache.hadoop.hive.metastore.api.GetPrincipalsInRoleRequest; @@ -1874,8 +1875,8 @@ public CurrentNotificationEventId getCurrentNotificationEventId() throws TExcept } @Override - public void fireNotificationEvent(FireEventRequest rqst) throws TException { - client.fire_notification_event(rqst); + public FireEventResponse fireListenerEvent(FireEventRequest rqst) throws TException { + return client.fire_listener_event(rqst); } /** diff --git metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java index 2e1d1d4..0aa0f51 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java @@ -18,31 +18,47 @@ package org.apache.hadoop.hive.metastore; + +import org.apache.hadoop.hive.common.ValidTxnList; +import org.apache.hadoop.hive.conf.HiveConf; +import org.apache.hadoop.hive.metastore.api.CompactionType; +import org.apache.hadoop.hive.metastore.api.CurrentNotificationEventId; +import org.apache.hadoop.hive.metastore.api.FireEventRequest; +import org.apache.hadoop.hive.metastore.api.FireEventResponse; +import org.apache.hadoop.hive.metastore.api.GetOpenTxnsInfoResponse; +import org.apache.hadoop.hive.metastore.api.HeartbeatTxnRangeResponse; +import org.apache.hadoop.hive.metastore.api.LockRequest; +import org.apache.hadoop.hive.metastore.api.LockResponse; +import org.apache.hadoop.hive.metastore.api.NoSuchLockException; +import org.apache.hadoop.hive.metastore.api.NoSuchTxnException; +import org.apache.hadoop.hive.metastore.api.NotificationEvent; +import org.apache.hadoop.hive.metastore.api.NotificationEventResponse; +import org.apache.hadoop.hive.metastore.api.OpenTxnsResponse; +import org.apache.hadoop.hive.metastore.api.ShowCompactResponse; +import org.apache.hadoop.hive.metastore.api.ShowLocksResponse; +import org.apache.hadoop.hive.metastore.api.TxnAbortedException; +import org.apache.hadoop.hive.metastore.api.TxnOpenException; +import org.apache.hadoop.hive.metastore.partition.spec.PartitionSpecProxy; +import org.apache.thrift.TException; + import java.util.List; import java.util.Map; import org.apache.hadoop.hive.common.ObjectPair; -import org.apache.hadoop.hive.common.ValidTxnList; import org.apache.hadoop.hive.common.classification.InterfaceAudience.Public; import org.apache.hadoop.hive.common.classification.InterfaceStability.Evolving; -import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.metastore.api.AggrStats; import org.apache.hadoop.hive.metastore.api.AlreadyExistsException; import org.apache.hadoop.hive.metastore.api.ColumnStatistics; import org.apache.hadoop.hive.metastore.api.ColumnStatisticsObj; -import org.apache.hadoop.hive.metastore.api.CompactionType; import org.apache.hadoop.hive.metastore.api.ConfigValSecurityException; -import org.apache.hadoop.hive.metastore.api.CurrentNotificationEventId; -import org.apache.hadoop.hive.metastore.api.FireEventRequest; import org.apache.hadoop.hive.metastore.api.Database; import org.apache.hadoop.hive.metastore.api.FieldSchema; import org.apache.hadoop.hive.metastore.api.Function; -import org.apache.hadoop.hive.metastore.api.GetOpenTxnsInfoResponse; import org.apache.hadoop.hive.metastore.api.GetPrincipalsInRoleRequest; import org.apache.hadoop.hive.metastore.api.GetPrincipalsInRoleResponse; import org.apache.hadoop.hive.metastore.api.GetRoleGrantsForPrincipalRequest; import org.apache.hadoop.hive.metastore.api.GetRoleGrantsForPrincipalResponse; -import org.apache.hadoop.hive.metastore.api.HeartbeatTxnRangeResponse; import org.apache.hadoop.hive.metastore.api.HiveObjectPrivilege; import org.apache.hadoop.hive.metastore.api.HiveObjectRef; import org.apache.hadoop.hive.metastore.api.Index; @@ -50,15 +66,8 @@ import org.apache.hadoop.hive.metastore.api.InvalidObjectException; import org.apache.hadoop.hive.metastore.api.InvalidOperationException; import org.apache.hadoop.hive.metastore.api.InvalidPartitionException; -import org.apache.hadoop.hive.metastore.api.LockRequest; -import org.apache.hadoop.hive.metastore.api.LockResponse; import org.apache.hadoop.hive.metastore.api.MetaException; -import org.apache.hadoop.hive.metastore.api.NoSuchLockException; import org.apache.hadoop.hive.metastore.api.NoSuchObjectException; -import org.apache.hadoop.hive.metastore.api.NoSuchTxnException; -import org.apache.hadoop.hive.metastore.api.NotificationEvent; -import org.apache.hadoop.hive.metastore.api.NotificationEventResponse; -import org.apache.hadoop.hive.metastore.api.OpenTxnsResponse; import org.apache.hadoop.hive.metastore.api.Partition; import org.apache.hadoop.hive.metastore.api.PartitionEventType; import org.apache.hadoop.hive.metastore.api.PrincipalPrivilegeSet; @@ -66,16 +75,10 @@ import org.apache.hadoop.hive.metastore.api.PrivilegeBag; import org.apache.hadoop.hive.metastore.api.Role; import org.apache.hadoop.hive.metastore.api.SetPartitionsStatsRequest; -import org.apache.hadoop.hive.metastore.api.ShowCompactResponse; -import org.apache.hadoop.hive.metastore.api.ShowLocksResponse; import org.apache.hadoop.hive.metastore.api.Table; -import org.apache.hadoop.hive.metastore.api.TxnAbortedException; -import org.apache.hadoop.hive.metastore.api.TxnOpenException; import org.apache.hadoop.hive.metastore.api.UnknownDBException; import org.apache.hadoop.hive.metastore.api.UnknownPartitionException; import org.apache.hadoop.hive.metastore.api.UnknownTableException; -import org.apache.hadoop.hive.metastore.partition.spec.PartitionSpecProxy; -import org.apache.thrift.TException; /** * Wrapper around hive metastore thrift api @@ -1350,9 +1353,10 @@ NotificationEventResponse getNextNotification(long lastEventId, int maxEvents, * Request that the metastore fire an event. Currently this is only supported for DML * operations, since the metastore knows when DDL operations happen. * @param request + * @return response, type depends on type of request * @throws TException */ - void fireNotificationEvent(FireEventRequest request) throws TException; + FireEventResponse fireListenerEvent(FireEventRequest request) throws TException; class IncompatibleMetastoreException extends MetaException { IncompatibleMetastoreException(String message) { diff --git metastore/src/java/org/apache/hadoop/hive/metastore/events/InsertEvent.java metastore/src/java/org/apache/hadoop/hive/metastore/events/InsertEvent.java index 3a04b7e..be66cbe 100644 --- metastore/src/java/org/apache/hadoop/hive/metastore/events/InsertEvent.java +++ metastore/src/java/org/apache/hadoop/hive/metastore/events/InsertEvent.java @@ -34,6 +34,7 @@ private final String db; private final String table; private final List partVals; + private final List files; /** * @@ -43,12 +44,13 @@ * @param status status of insert, true = success, false = failure * @param handler handler that is firing the event */ - public InsertEvent(String db, String table, List partitions, boolean status, - HMSHandler handler) { + public InsertEvent(String db, String table, List partitions, List files, + boolean status, HMSHandler handler) { super(status, handler); this.db = db; this.table = table; this.partVals = partitions; + this.files = files; } public String getDb() { @@ -67,4 +69,12 @@ public String getTable() { public List getPartitions() { return partVals; } + + /** + * Get list of files created as a result of this DML operation + * @return list of new files + */ + public List getFiles() { + return files; + } } diff --git ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java index 8312e05..4290d2f 100644 --- ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java +++ ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java @@ -73,7 +73,10 @@ import org.apache.hadoop.hive.metastore.api.ColumnStatisticsObj; import org.apache.hadoop.hive.metastore.api.CompactionType; import org.apache.hadoop.hive.metastore.api.Database; +import org.apache.hadoop.hive.metastore.api.EventRequestType; import org.apache.hadoop.hive.metastore.api.FieldSchema; +import org.apache.hadoop.hive.metastore.api.FireEventRequest; +import org.apache.hadoop.hive.metastore.api.FireEventRequestData; import org.apache.hadoop.hive.metastore.api.Function; import org.apache.hadoop.hive.metastore.api.GetOpenTxnsInfoResponse; import org.apache.hadoop.hive.metastore.api.GetRoleGrantsForPrincipalRequest; @@ -82,6 +85,7 @@ import org.apache.hadoop.hive.metastore.api.HiveObjectRef; import org.apache.hadoop.hive.metastore.api.HiveObjectType; import org.apache.hadoop.hive.metastore.api.Index; +import org.apache.hadoop.hive.metastore.api.InsertEventRequestData; import org.apache.hadoop.hive.metastore.api.InvalidOperationException; import org.apache.hadoop.hive.metastore.api.MetaException; import org.apache.hadoop.hive.metastore.api.NoSuchObjectException; @@ -1307,6 +1311,7 @@ public void loadPartition(Path loadPath, String tableName, * location/inputformat/outputformat/serde details from table spec * @param isSrcLocal * If the source directory is LOCAL + * @param isAcid true if this is an ACID operation */ public Partition loadPartition(Path loadPath, Table tbl, Map partSpec, boolean replace, boolean holdDDLTime, @@ -1354,16 +1359,19 @@ public Partition loadPartition(Path loadPath, Table tbl, newPartPath = oldPartPath; } + List newFiles = null; if (replace) { Hive.replaceFiles(tbl.getPath(), loadPath, newPartPath, oldPartPath, getConf(), isSrcLocal); } else { + newFiles = new ArrayList(); FileSystem fs = tbl.getDataLocation().getFileSystem(conf); - Hive.copyFiles(conf, loadPath, newPartPath, fs, isSrcLocal, isAcid); + Hive.copyFiles(conf, loadPath, newPartPath, fs, isSrcLocal, isAcid, newFiles); } boolean forceCreate = (!holdDDLTime) ? true : false; - newTPart = getPartition(tbl, partSpec, forceCreate, newPartPath.toString(), inheritTableSpecs); + newTPart = getPartition(tbl, partSpec, forceCreate, newPartPath.toString(), + inheritTableSpecs, newFiles); // recreate the partition if it existed before if (!holdDDLTime) { if (isSkewedStoreAsSubdir) { @@ -1376,7 +1384,8 @@ public Partition loadPartition(Path loadPath, Table tbl, skewedInfo.setSkewedColValueLocationMaps(skewedColValueLocationMaps); newCreatedTpart.getSd().setSkewedInfo(skewedInfo); alterPartition(tbl.getDbName(), tbl.getTableName(), new Partition(tbl, newCreatedTpart)); - newTPart = getPartition(tbl, partSpec, true, newPartPath.toString(), inheritTableSpecs); + newTPart = getPartition(tbl, partSpec, true, newPartPath.toString(), inheritTableSpecs, + newFiles); return new Partition(tbl, newCreatedTpart); } } @@ -1486,6 +1495,8 @@ private void constructOneLBLocationMap(FileStatus fSta, * @param replace * @param numDP number of dynamic partitions * @param holdDDLTime + * @param listBucketingEnabled + * @param isAcid true if this is an ACID operation * @return partition map details (PartitionSpec and Partition) * @throws HiveException */ @@ -1577,11 +1588,12 @@ private void constructOneLBLocationMap(FileStatus fSta, public void loadTable(Path loadPath, String tableName, boolean replace, boolean holdDDLTime, boolean isSrcLocal, boolean isSkewedStoreAsSubdir, boolean isAcid) throws HiveException { + List newFiles = new ArrayList(); Table tbl = getTable(tableName); if (replace) { tbl.replaceFiles(loadPath, isSrcLocal); } else { - tbl.copyFiles(loadPath, isSrcLocal, isAcid); + tbl.copyFiles(loadPath, isSrcLocal, isAcid, newFiles); tbl.getParameters().put(StatsSetupConst.STATS_GENERATED_VIA_STATS_TASK, "true"); } @@ -1606,6 +1618,7 @@ public void loadTable(Path loadPath, String tableName, boolean replace, throw new HiveException(e); } } + fireInsertEvent(tbl, null, newFiles); } /** @@ -1693,7 +1706,7 @@ public Partition createPartition(Table tbl, Map partSpec) throws public Partition getPartition(Table tbl, Map partSpec, boolean forceCreate) throws HiveException { - return getPartition(tbl, partSpec, forceCreate, null, true); + return getPartition(tbl, partSpec, forceCreate, null, true, null); } /** @@ -1711,8 +1724,32 @@ public Partition getPartition(Table tbl, Map partSpec, * @return result partition object or null if there is no partition * @throws HiveException */ + public Partition getPartition(Table tbl, Map partSpec, boolean forceCreate, + String partPath, boolean inheritTableSpecs) + throws HiveException { + return getPartition(tbl, partSpec, forceCreate, partPath, inheritTableSpecs, null); + } + + /** + * Returns partition metadata + * + * @param tbl + * the partition's table + * @param partSpec + * partition keys and values + * @param forceCreate + * if this is true and partition doesn't exist then a partition is + * created + * @param partPath the path where the partition data is located + * @param inheritTableSpecs whether to copy over the table specs for if/of/serde + * @param newFiles An optional list of new files that were moved into this partition. If + * non-null these will be included in the DML event sent to the metastore. + * @return result partition object or null if there is no partition + * @throws HiveException + */ public Partition getPartition(Table tbl, Map partSpec, - boolean forceCreate, String partPath, boolean inheritTableSpecs) throws HiveException { + boolean forceCreate, String partPath, boolean inheritTableSpecs, List newFiles) + throws HiveException { tbl.validatePartColumnNames(partSpec, true); List pvals = new ArrayList(); for (FieldSchema field : tbl.getPartCols()) { @@ -1772,6 +1809,7 @@ public Partition getPartition(Table tbl, Map partSpec, } else { alterPartitionSpec(tbl, partSpec, tpart, inheritTableSpecs, partPath); + fireInsertEvent(tbl, partSpec, newFiles); } } if (tpart == null) { @@ -1813,6 +1851,36 @@ private void alterPartitionSpec(Table tbl, alterPartition(fullName, new Partition(tbl, tpart)); } + private void fireInsertEvent(Table tbl, Map partitionSpec, List newFiles) + throws HiveException { + if (conf.getBoolVar(ConfVars.FIRE_EVENTS_FOR_DML)) { + LOG.debug("Firing dml event"); + FireEventRequest rqst = new FireEventRequest(tbl.getDbName(), true); + rqst.setTableName(tbl.getTableName()); + if (partitionSpec != null && partitionSpec.size() > 0) { + List partVals = new ArrayList(partitionSpec.size()); + for (FieldSchema fs : tbl.getPartitionKeys()) { + partVals.add(partitionSpec.get(fs.getName())); + } + rqst.setPartitionVals(partVals); + } + FireEventRequestData data = new FireEventRequestData(); + InsertEventRequestData insertData = new InsertEventRequestData(); + data.setInsertData(insertData); + rqst.setData(data); + if (newFiles != null && newFiles.size() > 0) { + for (Path p : newFiles) { + insertData.addToFilesAdded(p.toString()); + } + } + try { + getMSC().fireListenerEvent(rqst); + } catch (TException e) { + throw new HiveException(e); + } + } + } + public boolean dropPartition(String tblName, List part_vals, boolean deleteData) throws HiveException { String[] names = Utilities.getDbTableName(tblName); @@ -2502,10 +2570,12 @@ public static boolean moveFile(HiveConf conf, Path srcf, Path destf, * @param fs Filesystem * @param isSrcLocal true if source is on local file system * @param isAcid true if this is an ACID based write + * @param newFiles if this is non-null, a list of files that were created as a result of this + * move will be returned. * @throws HiveException */ static protected void copyFiles(HiveConf conf, Path srcf, Path destf, - FileSystem fs, boolean isSrcLocal, boolean isAcid) throws HiveException { + FileSystem fs, boolean isSrcLocal, boolean isAcid, List newFiles) throws HiveException { boolean inheritPerms = HiveConf.getBoolVar(conf, HiveConf.ConfVars.HIVE_WAREHOUSE_SUBDIR_INHERIT_PERMS); try { @@ -2537,7 +2607,7 @@ static protected void copyFiles(HiveConf conf, Path srcf, Path destf, // If we're moving files around for an ACID write then the rules and paths are all different. // You can blame this on Owen. if (isAcid) { - moveAcidFiles(srcFs, srcs, destf); + moveAcidFiles(srcFs, srcs, destf, newFiles); } else { // check that source and target paths exist List> result = checkPaths(conf, fs, srcs, srcFs, destf, false); @@ -2549,6 +2619,7 @@ static protected void copyFiles(HiveConf conf, Path srcf, Path destf, throw new IOException("Cannot move " + sdpair[0] + " to " + sdpair[1]); } + if (newFiles != null) newFiles.add(sdpair[1]); } } } catch (IOException e) { @@ -2557,8 +2628,8 @@ static protected void copyFiles(HiveConf conf, Path srcf, Path destf, } } - private static void moveAcidFiles(FileSystem fs, FileStatus[] stats, Path dst) - throws HiveException { + private static void moveAcidFiles(FileSystem fs, FileStatus[] stats, Path dst, + List newFiles) throws HiveException { // The layout for ACID files is table|partname/base|delta/bucket // We will always only be writing delta files. In the buckets created by FileSinkOperator // it will look like bucket/delta/bucket. So we need to move that into the above structure. @@ -2622,6 +2693,7 @@ private static void moveAcidFiles(FileSystem fs, FileStatus[] stats, Path dst) LOG.info("Moving bucket " + bucketSrc.toUri().toString() + " to " + bucketDest.toUri().toString()); fs.rename(bucketSrc, bucketDest); + if (newFiles != null) newFiles.add(bucketDest); } } catch (IOException e) { throw new HiveException("Error moving acid files " + e.getMessage(), e); diff --git ql/src/java/org/apache/hadoop/hive/ql/metadata/Table.java ql/src/java/org/apache/hadoop/hive/ql/metadata/Table.java index a996adf..69a4545 100644 --- ql/src/java/org/apache/hadoop/hive/ql/metadata/Table.java +++ ql/src/java/org/apache/hadoop/hive/ql/metadata/Table.java @@ -650,12 +650,15 @@ protected void replaceFiles(Path srcf, boolean isSrcLocal) * If the source directory is LOCAL * @param isAcid * True if this is an ACID based insert, update, or delete + * @param newFiles optional list of paths. If non-null, then all files copyied to the table + * will be added to this list. */ - protected void copyFiles(Path srcf, boolean isSrcLocal, boolean isAcid) throws HiveException { + protected void copyFiles(Path srcf, boolean isSrcLocal, boolean isAcid, List newFiles) + throws HiveException { FileSystem fs; try { fs = getDataLocation().getFileSystem(Hive.get().getConf()); - Hive.copyFiles(Hive.get().getConf(), srcf, getPath(), fs, isSrcLocal, isAcid); + Hive.copyFiles(Hive.get().getConf(), srcf, getPath(), fs, isSrcLocal, isAcid, newFiles); } catch (IOException e) { throw new HiveException("addFiles: filesystem error in check phase", e); } diff --git service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote service/src/gen/thrift/gen-py/TCLIService/TCLIService-remote old mode 100644 new mode 100755 diff --git service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote service/src/gen/thrift/gen-py/hive_service/ThriftHive-remote old mode 100644 new mode 100755