diff --git itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetastoreTransformer.java itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetastoreTransformer.java index fdf60c98d8..41d7c95894 100644 --- itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetastoreTransformer.java +++ itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetastoreTransformer.java @@ -18,12 +18,16 @@ package org.apache.hadoop.hive.metastore; +import java.io.File; +import java.io.IOException; + import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.hadoop.hive.metastore.HiveMetaStoreClient.GetTablesRequestBuilder; +import org.apache.hadoop.hive.metastore.api.Database; import org.apache.hadoop.hive.metastore.api.ExtendedTableInfo; import org.apache.hadoop.hive.metastore.api.FieldSchema; import org.apache.hadoop.hive.metastore.api.GetTablesExtRequestFields; @@ -44,6 +48,7 @@ import static org.apache.hadoop.hive.metastore.api.hive_metastoreConstants.ACCESSTYPE_READONLY; import static org.apache.hadoop.hive.metastore.api.hive_metastoreConstants.ACCESSTYPE_READWRITE; import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; @@ -64,16 +69,27 @@ private static final Logger LOG = LoggerFactory.getLogger(TestHiveMetastoreTransformer.class); protected static HiveMetaStoreClient client; protected static Configuration conf; + File ext_wh = null; + File wh = null; - protected static boolean isThriftClient = false; + protected static boolean isThriftClient = true; private static final String CAPABILITIES_KEY = "OBJCAPABILITIES"; @Before public void setUp() throws Exception { conf = MetastoreConf.newMetastoreConf(); + wh = new File(System.getProperty("java.io.tmpdir") + File.separator + + "hive" + File.separator + "warehouse" + File.separator + "managed" + File.separator); + wh.mkdirs(); + + ext_wh = new File(System.getProperty("java.io.tmpdir") + File.separator + + "hive" + File.separator + "warehouse" + File.separator + "external" + File.separator); + ext_wh.mkdirs(); - MetastoreConf.setVar(conf, ConfVars.METASTORE_METADATA_TRANSFORMER_CLASS, "org.apache.hadoop.hive.metastore.MetastoreDefaultTransformer"); + MetastoreConf.setVar(conf, ConfVars.METASTORE_METADATA_TRANSFORMER_CLASS, + "org.apache.hadoop.hive.metastore.MetastoreDefaultTransformer"); MetastoreConf.setBoolVar(conf, ConfVars.HIVE_IN_TEST, false); + MetastoreConf.setVar(conf, ConfVars.WAREHOUSE_EXTERNAL, ext_wh.getAbsolutePath()); client = new HiveMetaStoreClient(conf); } @@ -1110,6 +1126,159 @@ public void testCreateTable() throws Exception { } } + @Test + public void testTransformerDatabase() throws Exception { + try { + resetHMSClient(); + + final String dbName = "testdb"; + try { + silentDropDatabase(dbName); + } catch (Exception e) { + LOG.info("Drop database failed for " + dbName); + } + + new DatabaseBuilder() + .setName(dbName) + .create(client, conf); + + List capabilities = new ArrayList<>(); + capabilities.add("EXTWRITE"); + setHMSClient("TestGetDatabaseEXTWRITE", (String[])(capabilities.toArray(new String[0]))); + Database db = client.getDatabase(dbName); + LOG.info("DBLocation for " + dbName + " is " + db.getLocationUri()); + LOG.info("External warehouse location is " + conf.get(MetastoreConf.ConfVars.WAREHOUSE_EXTERNAL.getVarname())); + assertTrue("Database location not as expected:actual=" + db.getLocationUri(), + db.getLocationUri().contains(conf.get(MetastoreConf.ConfVars.WAREHOUSE_EXTERNAL.getVarname()))); + + capabilities = new ArrayList<>(); + capabilities.add("HIVEFULLACIDWRITE"); + setHMSClient("TestGetDatabaseACIDWRITE", (String[])(capabilities.toArray(new String[0]))); + + db = client.getDatabase(dbName); + LOG.info("DBLocation for " + dbName + " is " + db.getLocationUri()); + LOG.info("WarehouseLocation is " + conf.get(MetastoreConf.ConfVars.WAREHOUSE.getVarname())); + assertFalse("Database location not expected to be external warehouse:actual=" + db.getLocationUri(), + db.getLocationUri().contains(conf.get(MetastoreConf.ConfVars.WAREHOUSE_EXTERNAL.getVarname()))); + resetHMSClient(); + + capabilities = new ArrayList<>(); + capabilities.add("HIVEMANAGEDINSERTWRITE"); + setHMSClient("TestGetDatabaseINSERTWRITE", (String[])(capabilities.toArray(new String[0]))); + + db = client.getDatabase(dbName); + LOG.info("DBLocation for " + dbName + " is " + db.getLocationUri()); + assertFalse("Database location not expected to be external warehouse:actual=" + db.getLocationUri(), + db.getLocationUri().contains(conf.get(MetastoreConf.ConfVars.WAREHOUSE_EXTERNAL.getVarname()))); + resetHMSClient(); + } catch (Exception e) { + System.err.println(org.apache.hadoop.util.StringUtils.stringifyException(e)); + System.err.println("testTransformerDatabase() failed."); + fail("testTransformerDatabase failed:" + e.getMessage()); + } finally { + resetHMSClient(); + } + } + + @Test + public void testTransformerMultiTable() throws Exception { + try { + resetHMSClient(); + + final String dbName = "testdb"; + final String ext_table = "ext_table"; + final String acidTable = "managed_table"; + final String part_ext = "part_ext"; + + try { + silentDropDatabase(dbName); + } catch (Exception e) { + LOG.info("Drop database failed for " + dbName); + } + + new DatabaseBuilder() + .setName(dbName) + .create(client, conf); + + List capabilities = new ArrayList<>(); + capabilities.add("HIVEFULLACIDWRITE"); + setHMSClient("TestTransformerMultiTable", (String[])(capabilities.toArray(new String[0]))); + + Map tProps = new HashMap<>(); + tProps.put("DBNAME", dbName); + tProps.put("TBLNAME", ext_table); + tProps.put("TBLTYPE", TableType.EXTERNAL_TABLE); + tProps.put("DROPDB", Boolean.FALSE); + StringBuilder properties = new StringBuilder(); + properties.append("EXTERNAL").append("=").append("TRUE"); + tProps.put("PROPERTIES", properties.toString()); + Table tbl = createTableWithCapabilities(tProps); + + tProps.put("TBLNAME", acidTable); + tProps.put("TBLTYPE", TableType.MANAGED_TABLE); + properties = new StringBuilder(); + properties.append("transactional").append("=").append("true"); + tProps.put("PROPERTIES", properties.toString()); + tProps.put("DROPDB", Boolean.FALSE); + tbl = createTableWithCapabilities(tProps); + + + tProps = new HashMap<>(); + tProps.put("DBNAME", dbName); + tProps.put("TBLNAME", part_ext); + tProps.put("TBLTYPE", TableType.EXTERNAL_TABLE); + tProps.put("DROPDB", Boolean.FALSE); + properties = new StringBuilder(); + properties.append("EXTERNAL").append("=").append("TRUE"); + tProps.put("PROPERTIES", properties.toString()); + tProps.put("PARTITIONS", 10); + tbl = createTableWithCapabilities(tProps); + + + resetHMSClient(); + capabilities = new ArrayList<>(); + capabilities.add("EXTWRITE"); + capabilities.add("EXTREAD"); + setHMSClient("TestTransformerMultiTable", (String[])(capabilities.toArray(new String[0]))); + tbl = client.getTable(dbName, acidTable); + assertEquals("AccessType does not match", ACCESSTYPE_NONE, tbl.getAccessType()); + tbl = client.getTable(dbName, acidTable); + assertEquals("AccessType does not match", ACCESSTYPE_NONE, tbl.getAccessType()); + + tbl = client.getTable(dbName, ext_table); + assertEquals("AccessType does not match", ACCESSTYPE_READWRITE, tbl.getAccessType()); + tbl = client.getTable(dbName, acidTable); + assertEquals("AccessType does not match", ACCESSTYPE_NONE, tbl.getAccessType()); + resetHMSClient(); + + capabilities = new ArrayList<>(); + capabilities.add("EXTWRITE"); + capabilities.add("EXTREAD"); + capabilities.add("HIVESQL"); + capabilities.add("SPARKSQL"); + capabilities.add("HIVEBUCKET2"); + setHMSClient("TestTransformerMultiTable", (String[])(capabilities.toArray(new String[0]))); + tbl = client.getTable(dbName, acidTable); + assertEquals("AccessType does not match", ACCESSTYPE_NONE, tbl.getAccessType()); + tbl = client.getTable(dbName, acidTable); + assertEquals("AccessType does not match", ACCESSTYPE_NONE, tbl.getAccessType()); + + tbl = client.getTable(dbName, part_ext); + assertEquals("AccessType does not match", ACCESSTYPE_READWRITE, tbl.getAccessType()); + tbl = client.getTable(dbName, acidTable); + assertEquals("AccessType does not match", ACCESSTYPE_NONE, tbl.getAccessType()); + resetHMSClient(); + + } catch (Exception e) { + e.printStackTrace(); + System.err.println(org.apache.hadoop.util.StringUtils.stringifyException(e)); + System.err.println("testTransformerDatabase() failed."); + fail("testTransformerDatabase failed:" + e.getMessage()); + } finally { + resetHMSClient(); + } + } + private List createTables(Map props) throws Exception { int count = ((Integer)props.get("TABLECOUNT")).intValue(); String tblName = (String)props.get("TBLNAME"); @@ -1166,14 +1335,15 @@ private Table createTableWithCapabilities(Map props) throws Exce try { client.dropTable(dbName, tblName); } catch (Exception e) { - LOG.info("Drop table failed for " + dbName + "." + tblName); + LOG.info("Drop table failed for " + dbName + "." + tblName + ",message=" + e.getMessage()); } try { if (dropDb) silentDropDatabase(dbName); } catch (Exception e) { - LOG.info("Drop database failed for " + dbName); + LOG.info("Drop database failed for " + dbName + ",exception:" + e.getMessage()); + e.printStackTrace(); } if (dropDb) 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 53208cce0d..a40b20ba2d 100644 --- ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java +++ ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java @@ -341,15 +341,17 @@ private static Hive create(HiveConf c, boolean doRegisterAllFns) throws HiveExce } c.set("fs.scheme.class", "dfs"); Hive newdb = new Hive(c, doRegisterAllFns); - if (c.get(HiveConf.ConfVars.METASTORE_CLIENT_CAPABILITIES.varname) != null) { - String[] capabilities = c.get(HiveConf.ConfVars.METASTORE_CLIENT_CAPABILITIES.varname).split(","); - newdb.setHMSClientCapabilities(capabilities); - String hostName = "unknown"; - try { - hostName = InetAddress.getLocalHost().getCanonicalHostName(); - } catch (UnknownHostException ue) { + if (newdb.getHMSClientCapabilities() == null || newdb.getHMSClientCapabilities().length == 0) { + if (c.get(HiveConf.ConfVars.METASTORE_CLIENT_CAPABILITIES.varname) != null) { + String[] capabilities = c.get(HiveConf.ConfVars.METASTORE_CLIENT_CAPABILITIES.varname).split(","); + newdb.setHMSClientCapabilities(capabilities); + String hostName = "unknown"; + try { + hostName = InetAddress.getLocalHost().getCanonicalHostName(); + } catch (UnknownHostException ue) { + } + newdb.setHMSClientIdentifier("Hiveserver2#" + HiveVersionInfo.getVersion() + "@" + hostName); } - newdb.setHMSClientIdentifier("Hiveserver2#" + HiveVersionInfo.getVersion() + "@" + hostName); } hiveDB.set(newdb); return newdb; @@ -368,6 +370,14 @@ public void setHMSClientIdentifier(final String id) { HiveMetaStoreClient.setProcessorIdentifier(id); } + public String[] getHMSClientCapabilities() { + return HiveMetaStoreClient.getProcessorCapabilities(); + } + + public String getHMSClientIdentifier() { + return HiveMetaStoreClient.getProcessorIdentifier(); + } + private static boolean isCompatible(Hive db, HiveConf c, boolean isFastCheck) { if (isFastCheck) { return (db.metaStoreClient == null || db.metaStoreClient.isSameConfObj(c)) diff --git ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java index 463236135c..88a8919d09 100644 --- ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java +++ ql/src/java/org/apache/hadoop/hive/ql/session/SessionState.java @@ -457,7 +457,7 @@ public void updateThreadName() { final String currThreadName = Thread.currentThread().getName(); if (!currThreadName.contains(logPrefix)) { final String newThreadName = logPrefix + " " + currThreadName; - LOG.info("Updating thread name to {}", newThreadName); + LOG.debug("Updating thread name to {}", newThreadName); Thread.currentThread().setName(newThreadName); } } @@ -468,7 +468,7 @@ public void resetThreadName() { final String currThreadName = Thread.currentThread().getName(); if (currThreadName.contains(logPrefix)) { final String[] names = currThreadName.split(logPrefix); - LOG.info("Resetting thread name to {}", names[names.length - 1]); + LOG.debug("Resetting thread name to {}", names[names.length - 1]); Thread.currentThread().setName(names[names.length - 1].trim()); } } diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index cd9af7eed2..1d409e5374 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -58,7 +58,7 @@ public void create_database(Database database) throws AlreadyExistsException, InvalidObjectException, MetaException, org.apache.thrift.TException; - public Database get_database(String name) throws NoSuchObjectException, MetaException, org.apache.thrift.TException; + public Database get_database(String name, List processorCapabilities, String processorIdentifier) throws org.apache.thrift.TException; public void drop_database(String name, boolean deleteData, boolean cascade) throws NoSuchObjectException, InvalidOperationException, MetaException, org.apache.thrift.TException; @@ -514,7 +514,7 @@ public void create_database(Database database, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_database(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_database(String name, List processorCapabilities, String processorIdentifier, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; public void drop_database(String name, boolean deleteData, boolean cascade, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; @@ -1192,32 +1192,28 @@ public void recv_create_database() throws AlreadyExistsException, InvalidObjectE return; } - public Database get_database(String name) throws NoSuchObjectException, MetaException, org.apache.thrift.TException + public Database get_database(String name, List processorCapabilities, String processorIdentifier) throws org.apache.thrift.TException { - send_get_database(name); + send_get_database(name, processorCapabilities, processorIdentifier); return recv_get_database(); } - public void send_get_database(String name) throws org.apache.thrift.TException + public void send_get_database(String name, List processorCapabilities, String processorIdentifier) throws org.apache.thrift.TException { get_database_args args = new get_database_args(); args.setName(name); + args.setProcessorCapabilities(processorCapabilities); + args.setProcessorIdentifier(processorIdentifier); sendBase("get_database", args); } - public Database recv_get_database() throws NoSuchObjectException, MetaException, org.apache.thrift.TException + public Database recv_get_database() throws org.apache.thrift.TException { get_database_result result = new get_database_result(); receiveBase(result, "get_database"); if (result.isSetSuccess()) { return result.success; } - if (result.o1 != null) { - throw result.o1; - } - if (result.o2 != null) { - throw result.o2; - } throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_database failed: unknown result"); } @@ -7692,29 +7688,35 @@ public void getResult() throws AlreadyExistsException, InvalidObjectException, M } } - public void get_database(String name, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + public void get_database(String name, List processorCapabilities, String processorIdentifier, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); - get_database_call method_call = new get_database_call(name, resultHandler, this, ___protocolFactory, ___transport); + get_database_call method_call = new get_database_call(name, processorCapabilities, processorIdentifier, resultHandler, this, ___protocolFactory, ___transport); this.___currentMethod = method_call; ___manager.call(method_call); } @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_database_call extends org.apache.thrift.async.TAsyncMethodCall { private String name; - public get_database_call(String name, 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 { + private List processorCapabilities; + private String processorIdentifier; + public get_database_call(String name, List processorCapabilities, String processorIdentifier, 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.name = name; + this.processorCapabilities = processorCapabilities; + this.processorIdentifier = processorIdentifier; } public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get_database", org.apache.thrift.protocol.TMessageType.CALL, 0)); get_database_args args = new get_database_args(); args.setName(name); + args.setProcessorCapabilities(processorCapabilities); + args.setProcessorIdentifier(processorIdentifier); args.write(prot); prot.writeMessageEnd(); } - public Database getResult() throws NoSuchObjectException, MetaException, org.apache.thrift.TException { + public Database getResult() throws org.apache.thrift.TException { if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { throw new IllegalStateException("Method call not finished!"); } @@ -15630,13 +15632,7 @@ protected boolean isOneway() { public get_database_result getResult(I iface, get_database_args args) throws org.apache.thrift.TException { get_database_result result = new get_database_result(); - try { - result.success = iface.get_database(args.name); - } catch (NoSuchObjectException o1) { - result.o1 = o1; - } catch (MetaException o2) { - result.o2 = o2; - } + result.success = iface.get_database(args.name, args.processorCapabilities, args.processorIdentifier); return result; } } @@ -21946,17 +21942,6 @@ public void onError(Exception e) { byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; org.apache.thrift.TBase msg; get_database_result result = new get_database_result(); - if (e instanceof NoSuchObjectException) { - result.o1 = (NoSuchObjectException) e; - result.setO1IsSet(true); - msg = result; - } - else if (e instanceof MetaException) { - result.o2 = (MetaException) e; - result.setO2IsSet(true); - msg = result; - } - else { msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); @@ -21977,7 +21962,7 @@ protected boolean isOneway() { } public void start(I iface, get_database_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.get_database(args.name,resultHandler); + iface.get_database(args.name, args.processorCapabilities, args.processorIdentifier,resultHandler); } } @@ -42255,6 +42240,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_database_resu private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_database_args"); private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.thrift.protocol.TField PROCESSOR_CAPABILITIES_FIELD_DESC = new org.apache.thrift.protocol.TField("processorCapabilities", org.apache.thrift.protocol.TType.LIST, (short)2); + private static final org.apache.thrift.protocol.TField PROCESSOR_IDENTIFIER_FIELD_DESC = new org.apache.thrift.protocol.TField("processorIdentifier", org.apache.thrift.protocol.TType.STRING, (short)3); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -42263,10 +42250,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_database_resu } private String name; // required + private List processorCapabilities; // required + private String processorIdentifier; // 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 { - NAME((short)1, "name"); + NAME((short)1, "name"), + PROCESSOR_CAPABILITIES((short)2, "processorCapabilities"), + PROCESSOR_IDENTIFIER((short)3, "processorIdentifier"); private static final Map byName = new HashMap(); @@ -42283,6 +42274,10 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // NAME return NAME; + case 2: // PROCESSOR_CAPABILITIES + return PROCESSOR_CAPABILITIES; + case 3: // PROCESSOR_IDENTIFIER + return PROCESSOR_IDENTIFIER; default: return null; } @@ -42328,6 +42323,11 @@ public String getFieldName() { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.PROCESSOR_CAPABILITIES, new org.apache.thrift.meta_data.FieldMetaData("processorCapabilities", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.PROCESSOR_IDENTIFIER, new org.apache.thrift.meta_data.FieldMetaData("processorIdentifier", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_database_args.class, metaDataMap); } @@ -42336,10 +42336,14 @@ public get_database_args() { } public get_database_args( - String name) + String name, + List processorCapabilities, + String processorIdentifier) { this(); this.name = name; + this.processorCapabilities = processorCapabilities; + this.processorIdentifier = processorIdentifier; } /** @@ -42349,6 +42353,13 @@ public get_database_args(get_database_args other) { if (other.isSetName()) { this.name = other.name; } + if (other.isSetProcessorCapabilities()) { + List __this__processorCapabilities = new ArrayList(other.processorCapabilities); + this.processorCapabilities = __this__processorCapabilities; + } + if (other.isSetProcessorIdentifier()) { + this.processorIdentifier = other.processorIdentifier; + } } public get_database_args deepCopy() { @@ -42358,6 +42369,8 @@ public get_database_args deepCopy() { @Override public void clear() { this.name = null; + this.processorCapabilities = null; + this.processorIdentifier = null; } public String getName() { @@ -42383,6 +42396,67 @@ public void setNameIsSet(boolean value) { } } + public int getProcessorCapabilitiesSize() { + return (this.processorCapabilities == null) ? 0 : this.processorCapabilities.size(); + } + + public java.util.Iterator getProcessorCapabilitiesIterator() { + return (this.processorCapabilities == null) ? null : this.processorCapabilities.iterator(); + } + + public void addToProcessorCapabilities(String elem) { + if (this.processorCapabilities == null) { + this.processorCapabilities = new ArrayList(); + } + this.processorCapabilities.add(elem); + } + + public List getProcessorCapabilities() { + return this.processorCapabilities; + } + + public void setProcessorCapabilities(List processorCapabilities) { + this.processorCapabilities = processorCapabilities; + } + + public void unsetProcessorCapabilities() { + this.processorCapabilities = null; + } + + /** Returns true if field processorCapabilities is set (has been assigned a value) and false otherwise */ + public boolean isSetProcessorCapabilities() { + return this.processorCapabilities != null; + } + + public void setProcessorCapabilitiesIsSet(boolean value) { + if (!value) { + this.processorCapabilities = null; + } + } + + public String getProcessorIdentifier() { + return this.processorIdentifier; + } + + public void setProcessorIdentifier(String processorIdentifier) { + this.processorIdentifier = processorIdentifier; + } + + public void unsetProcessorIdentifier() { + this.processorIdentifier = null; + } + + /** Returns true if field processorIdentifier is set (has been assigned a value) and false otherwise */ + public boolean isSetProcessorIdentifier() { + return this.processorIdentifier != null; + } + + public void setProcessorIdentifierIsSet(boolean value) { + if (!value) { + this.processorIdentifier = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case NAME: @@ -42393,6 +42467,22 @@ public void setFieldValue(_Fields field, Object value) { } break; + case PROCESSOR_CAPABILITIES: + if (value == null) { + unsetProcessorCapabilities(); + } else { + setProcessorCapabilities((List)value); + } + break; + + case PROCESSOR_IDENTIFIER: + if (value == null) { + unsetProcessorIdentifier(); + } else { + setProcessorIdentifier((String)value); + } + break; + } } @@ -42401,6 +42491,12 @@ public Object getFieldValue(_Fields field) { case NAME: return getName(); + case PROCESSOR_CAPABILITIES: + return getProcessorCapabilities(); + + case PROCESSOR_IDENTIFIER: + return getProcessorIdentifier(); + } throw new IllegalStateException(); } @@ -42414,6 +42510,10 @@ public boolean isSet(_Fields field) { switch (field) { case NAME: return isSetName(); + case PROCESSOR_CAPABILITIES: + return isSetProcessorCapabilities(); + case PROCESSOR_IDENTIFIER: + return isSetProcessorIdentifier(); } throw new IllegalStateException(); } @@ -42440,6 +42540,24 @@ public boolean equals(get_database_args that) { return false; } + boolean this_present_processorCapabilities = true && this.isSetProcessorCapabilities(); + boolean that_present_processorCapabilities = true && that.isSetProcessorCapabilities(); + if (this_present_processorCapabilities || that_present_processorCapabilities) { + if (!(this_present_processorCapabilities && that_present_processorCapabilities)) + return false; + if (!this.processorCapabilities.equals(that.processorCapabilities)) + return false; + } + + boolean this_present_processorIdentifier = true && this.isSetProcessorIdentifier(); + boolean that_present_processorIdentifier = true && that.isSetProcessorIdentifier(); + if (this_present_processorIdentifier || that_present_processorIdentifier) { + if (!(this_present_processorIdentifier && that_present_processorIdentifier)) + return false; + if (!this.processorIdentifier.equals(that.processorIdentifier)) + return false; + } + return true; } @@ -42452,6 +42570,16 @@ public int hashCode() { if (present_name) list.add(name); + boolean present_processorCapabilities = true && (isSetProcessorCapabilities()); + list.add(present_processorCapabilities); + if (present_processorCapabilities) + list.add(processorCapabilities); + + boolean present_processorIdentifier = true && (isSetProcessorIdentifier()); + list.add(present_processorIdentifier); + if (present_processorIdentifier) + list.add(processorIdentifier); + return list.hashCode(); } @@ -42473,6 +42601,26 @@ public int compareTo(get_database_args other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetProcessorCapabilities()).compareTo(other.isSetProcessorCapabilities()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetProcessorCapabilities()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.processorCapabilities, other.processorCapabilities); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetProcessorIdentifier()).compareTo(other.isSetProcessorIdentifier()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetProcessorIdentifier()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.processorIdentifier, other.processorIdentifier); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -42500,6 +42648,22 @@ public String toString() { sb.append(this.name); } first = false; + if (!first) sb.append(", "); + sb.append("processorCapabilities:"); + if (this.processorCapabilities == null) { + sb.append("null"); + } else { + sb.append(this.processorCapabilities); + } + first = false; + if (!first) sb.append(", "); + sb.append("processorIdentifier:"); + if (this.processorIdentifier == null) { + sb.append("null"); + } else { + sb.append(this.processorIdentifier); + } + first = false; sb.append(")"); return sb.toString(); } @@ -42551,6 +42715,32 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_database_args s org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 2: // PROCESSOR_CAPABILITIES + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1160 = iprot.readListBegin(); + struct.processorCapabilities = new ArrayList(_list1160.size); + String _elem1161; + for (int _i1162 = 0; _i1162 < _list1160.size; ++_i1162) + { + _elem1161 = iprot.readString(); + struct.processorCapabilities.add(_elem1161); + } + iprot.readListEnd(); + } + struct.setProcessorCapabilitiesIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // PROCESSOR_IDENTIFIER + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.processorIdentifier = iprot.readString(); + struct.setProcessorIdentifierIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -42569,6 +42759,23 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_database_args oprot.writeString(struct.name); oprot.writeFieldEnd(); } + if (struct.processorCapabilities != null) { + oprot.writeFieldBegin(PROCESSOR_CAPABILITIES_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.processorCapabilities.size())); + for (String _iter1163 : struct.processorCapabilities) + { + oprot.writeString(_iter1163); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if (struct.processorIdentifier != null) { + oprot.writeFieldBegin(PROCESSOR_IDENTIFIER_FIELD_DESC); + oprot.writeString(struct.processorIdentifier); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -42590,20 +42797,55 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_database_args s if (struct.isSetName()) { optionals.set(0); } - oprot.writeBitSet(optionals, 1); + if (struct.isSetProcessorCapabilities()) { + optionals.set(1); + } + if (struct.isSetProcessorIdentifier()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); if (struct.isSetName()) { oprot.writeString(struct.name); } + if (struct.isSetProcessorCapabilities()) { + { + oprot.writeI32(struct.processorCapabilities.size()); + for (String _iter1164 : struct.processorCapabilities) + { + oprot.writeString(_iter1164); + } + } + } + if (struct.isSetProcessorIdentifier()) { + oprot.writeString(struct.processorIdentifier); + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, get_database_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(1); + BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.name = iprot.readString(); struct.setNameIsSet(true); } + if (incoming.get(1)) { + { + org.apache.thrift.protocol.TList _list1165 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.processorCapabilities = new ArrayList(_list1165.size); + String _elem1166; + for (int _i1167 = 0; _i1167 < _list1165.size; ++_i1167) + { + _elem1166 = iprot.readString(); + struct.processorCapabilities.add(_elem1166); + } + } + struct.setProcessorCapabilitiesIsSet(true); + } + if (incoming.get(2)) { + struct.processorIdentifier = iprot.readString(); + struct.setProcessorIdentifierIsSet(true); + } } } @@ -42613,8 +42855,6 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_database_args st private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_database_result"); private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); - private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -42623,14 +42863,10 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_database_args st } private Database success; // required - private NoSuchObjectException o1; // required - private MetaException o2; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - SUCCESS((short)0, "success"), - O1((short)1, "o1"), - O2((short)2, "o2"); + SUCCESS((short)0, "success"); private static final Map byName = new HashMap(); @@ -42647,10 +42883,6 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 0: // SUCCESS return SUCCESS; - case 1: // O1 - return O1; - case 2: // O2 - return O2; default: return null; } @@ -42696,10 +42928,6 @@ public String getFieldName() { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.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, Database.class))); - tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_database_result.class, metaDataMap); } @@ -42708,14 +42936,10 @@ public get_database_result() { } public get_database_result( - Database success, - NoSuchObjectException o1, - MetaException o2) + Database success) { this(); this.success = success; - this.o1 = o1; - this.o2 = o2; } /** @@ -42725,12 +42949,6 @@ public get_database_result(get_database_result other) { if (other.isSetSuccess()) { this.success = new Database(other.success); } - if (other.isSetO1()) { - this.o1 = new NoSuchObjectException(other.o1); - } - if (other.isSetO2()) { - this.o2 = new MetaException(other.o2); - } } public get_database_result deepCopy() { @@ -42740,8 +42958,6 @@ public get_database_result deepCopy() { @Override public void clear() { this.success = null; - this.o1 = null; - this.o2 = null; } public Database getSuccess() { @@ -42767,52 +42983,6 @@ public void setSuccessIsSet(boolean value) { } } - public NoSuchObjectException getO1() { - return this.o1; - } - - public void setO1(NoSuchObjectException o1) { - this.o1 = o1; - } - - public void unsetO1() { - this.o1 = null; - } - - /** Returns true if field o1 is set (has been assigned a value) and false otherwise */ - public boolean isSetO1() { - return this.o1 != null; - } - - public void setO1IsSet(boolean value) { - if (!value) { - this.o1 = null; - } - } - - public MetaException getO2() { - return this.o2; - } - - public void setO2(MetaException o2) { - this.o2 = o2; - } - - public void unsetO2() { - this.o2 = null; - } - - /** Returns true if field o2 is set (has been assigned a value) and false otherwise */ - public boolean isSetO2() { - return this.o2 != null; - } - - public void setO2IsSet(boolean value) { - if (!value) { - this.o2 = null; - } - } - public void setFieldValue(_Fields field, Object value) { switch (field) { case SUCCESS: @@ -42823,22 +42993,6 @@ public void setFieldValue(_Fields field, Object value) { } break; - case O1: - if (value == null) { - unsetO1(); - } else { - setO1((NoSuchObjectException)value); - } - break; - - case O2: - if (value == null) { - unsetO2(); - } else { - setO2((MetaException)value); - } - break; - } } @@ -42847,12 +43001,6 @@ public Object getFieldValue(_Fields field) { case SUCCESS: return getSuccess(); - case O1: - return getO1(); - - case O2: - return getO2(); - } throw new IllegalStateException(); } @@ -42866,10 +43014,6 @@ public boolean isSet(_Fields field) { switch (field) { case SUCCESS: return isSetSuccess(); - case O1: - return isSetO1(); - case O2: - return isSetO2(); } throw new IllegalStateException(); } @@ -42896,24 +43040,6 @@ public boolean equals(get_database_result that) { return false; } - boolean this_present_o1 = true && this.isSetO1(); - boolean that_present_o1 = true && that.isSetO1(); - if (this_present_o1 || that_present_o1) { - if (!(this_present_o1 && that_present_o1)) - return false; - if (!this.o1.equals(that.o1)) - return false; - } - - boolean this_present_o2 = true && this.isSetO2(); - boolean that_present_o2 = true && that.isSetO2(); - if (this_present_o2 || that_present_o2) { - if (!(this_present_o2 && that_present_o2)) - return false; - if (!this.o2.equals(that.o2)) - return false; - } - return true; } @@ -42926,16 +43052,6 @@ public int hashCode() { if (present_success) list.add(success); - boolean present_o1 = true && (isSetO1()); - list.add(present_o1); - if (present_o1) - list.add(o1); - - boolean present_o2 = true && (isSetO2()); - list.add(present_o2); - if (present_o2) - list.add(o2); - return list.hashCode(); } @@ -42957,26 +43073,6 @@ public int compareTo(get_database_result other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); - if (lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -43004,22 +43100,6 @@ public String toString() { sb.append(this.success); } first = false; - if (!first) sb.append(", "); - sb.append("o1:"); - if (this.o1 == null) { - sb.append("null"); - } else { - sb.append(this.o1); - } - first = false; - if (!first) sb.append(", "); - sb.append("o2:"); - if (this.o2 == null) { - sb.append("null"); - } else { - sb.append(this.o2); - } - first = false; sb.append(")"); return sb.toString(); } @@ -43075,24 +43155,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_database_result org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 1: // O1 - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o1 = new NoSuchObjectException(); - struct.o1.read(iprot); - struct.setO1IsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // O2 - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o2 = new MetaException(); - struct.o2.read(iprot); - struct.setO2IsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -43111,16 +43173,6 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_database_resul struct.success.write(oprot); oprot.writeFieldEnd(); } - if (struct.o1 != null) { - oprot.writeFieldBegin(O1_FIELD_DESC); - struct.o1.write(oprot); - oprot.writeFieldEnd(); - } - if (struct.o2 != null) { - oprot.writeFieldBegin(O2_FIELD_DESC); - struct.o2.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -43142,43 +43194,21 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_database_result if (struct.isSetSuccess()) { optionals.set(0); } - if (struct.isSetO1()) { - optionals.set(1); - } - if (struct.isSetO2()) { - optionals.set(2); - } - oprot.writeBitSet(optionals, 3); + oprot.writeBitSet(optionals, 1); if (struct.isSetSuccess()) { struct.success.write(oprot); } - if (struct.isSetO1()) { - struct.o1.write(oprot); - } - if (struct.isSetO2()) { - struct.o2.write(oprot); - } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, get_database_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); + BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { struct.success = new Database(); struct.success.read(iprot); struct.setSuccessIsSet(true); } - if (incoming.get(1)) { - struct.o1 = new NoSuchObjectException(); - struct.o1.read(iprot); - struct.setO1IsSet(true); - } - if (incoming.get(2)) { - struct.o2 = new MetaException(); - struct.o2.read(iprot); - struct.setO2IsSet(true); - } } } @@ -45065,13 +45095,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 _list1160 = iprot.readListBegin(); - struct.success = new ArrayList(_list1160.size); - String _elem1161; - for (int _i1162 = 0; _i1162 < _list1160.size; ++_i1162) + org.apache.thrift.protocol.TList _list1168 = iprot.readListBegin(); + struct.success = new ArrayList(_list1168.size); + String _elem1169; + for (int _i1170 = 0; _i1170 < _list1168.size; ++_i1170) { - _elem1161 = iprot.readString(); - struct.success.add(_elem1161); + _elem1169 = iprot.readString(); + struct.success.add(_elem1169); } iprot.readListEnd(); } @@ -45106,9 +45136,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 _iter1163 : struct.success) + for (String _iter1171 : struct.success) { - oprot.writeString(_iter1163); + oprot.writeString(_iter1171); } oprot.writeListEnd(); } @@ -45147,9 +45177,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1164 : struct.success) + for (String _iter1172 : struct.success) { - oprot.writeString(_iter1164); + oprot.writeString(_iter1172); } } } @@ -45164,13 +45194,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 _list1165 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1165.size); - String _elem1166; - for (int _i1167 = 0; _i1167 < _list1165.size; ++_i1167) + org.apache.thrift.protocol.TList _list1173 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1173.size); + String _elem1174; + for (int _i1175 = 0; _i1175 < _list1173.size; ++_i1175) { - _elem1166 = iprot.readString(); - struct.success.add(_elem1166); + _elem1174 = iprot.readString(); + struct.success.add(_elem1174); } } struct.setSuccessIsSet(true); @@ -45824,13 +45854,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 _list1168 = iprot.readListBegin(); - struct.success = new ArrayList(_list1168.size); - String _elem1169; - for (int _i1170 = 0; _i1170 < _list1168.size; ++_i1170) + org.apache.thrift.protocol.TList _list1176 = iprot.readListBegin(); + struct.success = new ArrayList(_list1176.size); + String _elem1177; + for (int _i1178 = 0; _i1178 < _list1176.size; ++_i1178) { - _elem1169 = iprot.readString(); - struct.success.add(_elem1169); + _elem1177 = iprot.readString(); + struct.success.add(_elem1177); } iprot.readListEnd(); } @@ -45865,9 +45895,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 _iter1171 : struct.success) + for (String _iter1179 : struct.success) { - oprot.writeString(_iter1171); + oprot.writeString(_iter1179); } oprot.writeListEnd(); } @@ -45906,9 +45936,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1172 : struct.success) + for (String _iter1180 : struct.success) { - oprot.writeString(_iter1172); + oprot.writeString(_iter1180); } } } @@ -45923,13 +45953,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 _list1173 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1173.size); - String _elem1174; - for (int _i1175 = 0; _i1175 < _list1173.size; ++_i1175) + org.apache.thrift.protocol.TList _list1181 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1181.size); + String _elem1182; + for (int _i1183 = 0; _i1183 < _list1181.size; ++_i1183) { - _elem1174 = iprot.readString(); - struct.success.add(_elem1174); + _elem1182 = iprot.readString(); + struct.success.add(_elem1182); } } struct.setSuccessIsSet(true); @@ -50536,16 +50566,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 _map1176 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1176.size); - String _key1177; - Type _val1178; - for (int _i1179 = 0; _i1179 < _map1176.size; ++_i1179) + org.apache.thrift.protocol.TMap _map1184 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1184.size); + String _key1185; + Type _val1186; + for (int _i1187 = 0; _i1187 < _map1184.size; ++_i1187) { - _key1177 = iprot.readString(); - _val1178 = new Type(); - _val1178.read(iprot); - struct.success.put(_key1177, _val1178); + _key1185 = iprot.readString(); + _val1186 = new Type(); + _val1186.read(iprot); + struct.success.put(_key1185, _val1186); } iprot.readMapEnd(); } @@ -50580,10 +50610,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 _iter1180 : struct.success.entrySet()) + for (Map.Entry _iter1188 : struct.success.entrySet()) { - oprot.writeString(_iter1180.getKey()); - _iter1180.getValue().write(oprot); + oprot.writeString(_iter1188.getKey()); + _iter1188.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -50622,10 +50652,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 _iter1181 : struct.success.entrySet()) + for (Map.Entry _iter1189 : struct.success.entrySet()) { - oprot.writeString(_iter1181.getKey()); - _iter1181.getValue().write(oprot); + oprot.writeString(_iter1189.getKey()); + _iter1189.getValue().write(oprot); } } } @@ -50640,16 +50670,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 _map1182 = 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*_map1182.size); - String _key1183; - Type _val1184; - for (int _i1185 = 0; _i1185 < _map1182.size; ++_i1185) + org.apache.thrift.protocol.TMap _map1190 = 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*_map1190.size); + String _key1191; + Type _val1192; + for (int _i1193 = 0; _i1193 < _map1190.size; ++_i1193) { - _key1183 = iprot.readString(); - _val1184 = new Type(); - _val1184.read(iprot); - struct.success.put(_key1183, _val1184); + _key1191 = iprot.readString(); + _val1192 = new Type(); + _val1192.read(iprot); + struct.success.put(_key1191, _val1192); } } struct.setSuccessIsSet(true); @@ -51684,14 +51714,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 _list1186 = iprot.readListBegin(); - struct.success = new ArrayList(_list1186.size); - FieldSchema _elem1187; - for (int _i1188 = 0; _i1188 < _list1186.size; ++_i1188) + org.apache.thrift.protocol.TList _list1194 = iprot.readListBegin(); + struct.success = new ArrayList(_list1194.size); + FieldSchema _elem1195; + for (int _i1196 = 0; _i1196 < _list1194.size; ++_i1196) { - _elem1187 = new FieldSchema(); - _elem1187.read(iprot); - struct.success.add(_elem1187); + _elem1195 = new FieldSchema(); + _elem1195.read(iprot); + struct.success.add(_elem1195); } iprot.readListEnd(); } @@ -51744,9 +51774,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 _iter1189 : struct.success) + for (FieldSchema _iter1197 : struct.success) { - _iter1189.write(oprot); + _iter1197.write(oprot); } oprot.writeListEnd(); } @@ -51801,9 +51831,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter1190 : struct.success) + for (FieldSchema _iter1198 : struct.success) { - _iter1190.write(oprot); + _iter1198.write(oprot); } } } @@ -51824,14 +51854,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 _list1191 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1191.size); - FieldSchema _elem1192; - for (int _i1193 = 0; _i1193 < _list1191.size; ++_i1193) + org.apache.thrift.protocol.TList _list1199 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1199.size); + FieldSchema _elem1200; + for (int _i1201 = 0; _i1201 < _list1199.size; ++_i1201) { - _elem1192 = new FieldSchema(); - _elem1192.read(iprot); - struct.success.add(_elem1192); + _elem1200 = new FieldSchema(); + _elem1200.read(iprot); + struct.success.add(_elem1200); } } struct.setSuccessIsSet(true); @@ -52985,14 +53015,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_fields_with_env case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1194 = iprot.readListBegin(); - struct.success = new ArrayList(_list1194.size); - FieldSchema _elem1195; - for (int _i1196 = 0; _i1196 < _list1194.size; ++_i1196) + org.apache.thrift.protocol.TList _list1202 = iprot.readListBegin(); + struct.success = new ArrayList(_list1202.size); + FieldSchema _elem1203; + for (int _i1204 = 0; _i1204 < _list1202.size; ++_i1204) { - _elem1195 = new FieldSchema(); - _elem1195.read(iprot); - struct.success.add(_elem1195); + _elem1203 = new FieldSchema(); + _elem1203.read(iprot); + struct.success.add(_elem1203); } iprot.readListEnd(); } @@ -53045,9 +53075,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_fields_with_en oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter1197 : struct.success) + for (FieldSchema _iter1205 : struct.success) { - _iter1197.write(oprot); + _iter1205.write(oprot); } oprot.writeListEnd(); } @@ -53102,9 +53132,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter1198 : struct.success) + for (FieldSchema _iter1206 : struct.success) { - _iter1198.write(oprot); + _iter1206.write(oprot); } } } @@ -53125,14 +53155,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_fields_with_envi BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1199 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1199.size); - FieldSchema _elem1200; - for (int _i1201 = 0; _i1201 < _list1199.size; ++_i1201) + org.apache.thrift.protocol.TList _list1207 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1207.size); + FieldSchema _elem1208; + for (int _i1209 = 0; _i1209 < _list1207.size; ++_i1209) { - _elem1200 = new FieldSchema(); - _elem1200.read(iprot); - struct.success.add(_elem1200); + _elem1208 = new FieldSchema(); + _elem1208.read(iprot); + struct.success.add(_elem1208); } } struct.setSuccessIsSet(true); @@ -54177,14 +54207,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 _list1202 = iprot.readListBegin(); - struct.success = new ArrayList(_list1202.size); - FieldSchema _elem1203; - for (int _i1204 = 0; _i1204 < _list1202.size; ++_i1204) + org.apache.thrift.protocol.TList _list1210 = iprot.readListBegin(); + struct.success = new ArrayList(_list1210.size); + FieldSchema _elem1211; + for (int _i1212 = 0; _i1212 < _list1210.size; ++_i1212) { - _elem1203 = new FieldSchema(); - _elem1203.read(iprot); - struct.success.add(_elem1203); + _elem1211 = new FieldSchema(); + _elem1211.read(iprot); + struct.success.add(_elem1211); } iprot.readListEnd(); } @@ -54237,9 +54267,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 _iter1205 : struct.success) + for (FieldSchema _iter1213 : struct.success) { - _iter1205.write(oprot); + _iter1213.write(oprot); } oprot.writeListEnd(); } @@ -54294,9 +54324,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter1206 : struct.success) + for (FieldSchema _iter1214 : struct.success) { - _iter1206.write(oprot); + _iter1214.write(oprot); } } } @@ -54317,14 +54347,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 _list1207 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1207.size); - FieldSchema _elem1208; - for (int _i1209 = 0; _i1209 < _list1207.size; ++_i1209) + org.apache.thrift.protocol.TList _list1215 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1215.size); + FieldSchema _elem1216; + for (int _i1217 = 0; _i1217 < _list1215.size; ++_i1217) { - _elem1208 = new FieldSchema(); - _elem1208.read(iprot); - struct.success.add(_elem1208); + _elem1216 = new FieldSchema(); + _elem1216.read(iprot); + struct.success.add(_elem1216); } } struct.setSuccessIsSet(true); @@ -55478,14 +55508,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_with_env case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1210 = iprot.readListBegin(); - struct.success = new ArrayList(_list1210.size); - FieldSchema _elem1211; - for (int _i1212 = 0; _i1212 < _list1210.size; ++_i1212) + org.apache.thrift.protocol.TList _list1218 = iprot.readListBegin(); + struct.success = new ArrayList(_list1218.size); + FieldSchema _elem1219; + for (int _i1220 = 0; _i1220 < _list1218.size; ++_i1220) { - _elem1211 = new FieldSchema(); - _elem1211.read(iprot); - struct.success.add(_elem1211); + _elem1219 = new FieldSchema(); + _elem1219.read(iprot); + struct.success.add(_elem1219); } iprot.readListEnd(); } @@ -55538,9 +55568,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_with_en oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (FieldSchema _iter1213 : struct.success) + for (FieldSchema _iter1221 : struct.success) { - _iter1213.write(oprot); + _iter1221.write(oprot); } oprot.writeListEnd(); } @@ -55595,9 +55625,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter1214 : struct.success) + for (FieldSchema _iter1222 : struct.success) { - _iter1214.write(oprot); + _iter1222.write(oprot); } } } @@ -55618,14 +55648,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_with_envi BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1215 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1215.size); - FieldSchema _elem1216; - for (int _i1217 = 0; _i1217 < _list1215.size; ++_i1217) + org.apache.thrift.protocol.TList _list1223 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1223.size); + FieldSchema _elem1224; + for (int _i1225 = 0; _i1225 < _list1223.size; ++_i1225) { - _elem1216 = new FieldSchema(); - _elem1216.read(iprot); - struct.success.add(_elem1216); + _elem1224 = new FieldSchema(); + _elem1224.read(iprot); + struct.success.add(_elem1224); } } struct.setSuccessIsSet(true); @@ -58754,14 +58784,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 2: // PRIMARY_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1218 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list1218.size); - SQLPrimaryKey _elem1219; - for (int _i1220 = 0; _i1220 < _list1218.size; ++_i1220) + org.apache.thrift.protocol.TList _list1226 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list1226.size); + SQLPrimaryKey _elem1227; + for (int _i1228 = 0; _i1228 < _list1226.size; ++_i1228) { - _elem1219 = new SQLPrimaryKey(); - _elem1219.read(iprot); - struct.primaryKeys.add(_elem1219); + _elem1227 = new SQLPrimaryKey(); + _elem1227.read(iprot); + struct.primaryKeys.add(_elem1227); } iprot.readListEnd(); } @@ -58773,14 +58803,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 3: // FOREIGN_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1221 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list1221.size); - SQLForeignKey _elem1222; - for (int _i1223 = 0; _i1223 < _list1221.size; ++_i1223) + org.apache.thrift.protocol.TList _list1229 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list1229.size); + SQLForeignKey _elem1230; + for (int _i1231 = 0; _i1231 < _list1229.size; ++_i1231) { - _elem1222 = new SQLForeignKey(); - _elem1222.read(iprot); - struct.foreignKeys.add(_elem1222); + _elem1230 = new SQLForeignKey(); + _elem1230.read(iprot); + struct.foreignKeys.add(_elem1230); } iprot.readListEnd(); } @@ -58792,14 +58822,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 4: // UNIQUE_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1224 = iprot.readListBegin(); - struct.uniqueConstraints = new ArrayList(_list1224.size); - SQLUniqueConstraint _elem1225; - for (int _i1226 = 0; _i1226 < _list1224.size; ++_i1226) + org.apache.thrift.protocol.TList _list1232 = iprot.readListBegin(); + struct.uniqueConstraints = new ArrayList(_list1232.size); + SQLUniqueConstraint _elem1233; + for (int _i1234 = 0; _i1234 < _list1232.size; ++_i1234) { - _elem1225 = new SQLUniqueConstraint(); - _elem1225.read(iprot); - struct.uniqueConstraints.add(_elem1225); + _elem1233 = new SQLUniqueConstraint(); + _elem1233.read(iprot); + struct.uniqueConstraints.add(_elem1233); } iprot.readListEnd(); } @@ -58811,14 +58841,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 5: // NOT_NULL_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1227 = iprot.readListBegin(); - struct.notNullConstraints = new ArrayList(_list1227.size); - SQLNotNullConstraint _elem1228; - for (int _i1229 = 0; _i1229 < _list1227.size; ++_i1229) + org.apache.thrift.protocol.TList _list1235 = iprot.readListBegin(); + struct.notNullConstraints = new ArrayList(_list1235.size); + SQLNotNullConstraint _elem1236; + for (int _i1237 = 0; _i1237 < _list1235.size; ++_i1237) { - _elem1228 = new SQLNotNullConstraint(); - _elem1228.read(iprot); - struct.notNullConstraints.add(_elem1228); + _elem1236 = new SQLNotNullConstraint(); + _elem1236.read(iprot); + struct.notNullConstraints.add(_elem1236); } iprot.readListEnd(); } @@ -58830,14 +58860,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 6: // DEFAULT_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1230 = iprot.readListBegin(); - struct.defaultConstraints = new ArrayList(_list1230.size); - SQLDefaultConstraint _elem1231; - for (int _i1232 = 0; _i1232 < _list1230.size; ++_i1232) + org.apache.thrift.protocol.TList _list1238 = iprot.readListBegin(); + struct.defaultConstraints = new ArrayList(_list1238.size); + SQLDefaultConstraint _elem1239; + for (int _i1240 = 0; _i1240 < _list1238.size; ++_i1240) { - _elem1231 = new SQLDefaultConstraint(); - _elem1231.read(iprot); - struct.defaultConstraints.add(_elem1231); + _elem1239 = new SQLDefaultConstraint(); + _elem1239.read(iprot); + struct.defaultConstraints.add(_elem1239); } iprot.readListEnd(); } @@ -58849,14 +58879,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 7: // CHECK_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1233 = iprot.readListBegin(); - struct.checkConstraints = new ArrayList(_list1233.size); - SQLCheckConstraint _elem1234; - for (int _i1235 = 0; _i1235 < _list1233.size; ++_i1235) + org.apache.thrift.protocol.TList _list1241 = iprot.readListBegin(); + struct.checkConstraints = new ArrayList(_list1241.size); + SQLCheckConstraint _elem1242; + for (int _i1243 = 0; _i1243 < _list1241.size; ++_i1243) { - _elem1234 = new SQLCheckConstraint(); - _elem1234.read(iprot); - struct.checkConstraints.add(_elem1234); + _elem1242 = new SQLCheckConstraint(); + _elem1242.read(iprot); + struct.checkConstraints.add(_elem1242); } iprot.readListEnd(); } @@ -58887,9 +58917,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(PRIMARY_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.primaryKeys.size())); - for (SQLPrimaryKey _iter1236 : struct.primaryKeys) + for (SQLPrimaryKey _iter1244 : struct.primaryKeys) { - _iter1236.write(oprot); + _iter1244.write(oprot); } oprot.writeListEnd(); } @@ -58899,9 +58929,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(FOREIGN_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.foreignKeys.size())); - for (SQLForeignKey _iter1237 : struct.foreignKeys) + for (SQLForeignKey _iter1245 : struct.foreignKeys) { - _iter1237.write(oprot); + _iter1245.write(oprot); } oprot.writeListEnd(); } @@ -58911,9 +58941,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(UNIQUE_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.uniqueConstraints.size())); - for (SQLUniqueConstraint _iter1238 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter1246 : struct.uniqueConstraints) { - _iter1238.write(oprot); + _iter1246.write(oprot); } oprot.writeListEnd(); } @@ -58923,9 +58953,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(NOT_NULL_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.notNullConstraints.size())); - for (SQLNotNullConstraint _iter1239 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter1247 : struct.notNullConstraints) { - _iter1239.write(oprot); + _iter1247.write(oprot); } oprot.writeListEnd(); } @@ -58935,9 +58965,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(DEFAULT_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.defaultConstraints.size())); - for (SQLDefaultConstraint _iter1240 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1248 : struct.defaultConstraints) { - _iter1240.write(oprot); + _iter1248.write(oprot); } oprot.writeListEnd(); } @@ -58947,9 +58977,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(CHECK_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.checkConstraints.size())); - for (SQLCheckConstraint _iter1241 : struct.checkConstraints) + for (SQLCheckConstraint _iter1249 : struct.checkConstraints) { - _iter1241.write(oprot); + _iter1249.write(oprot); } oprot.writeListEnd(); } @@ -59001,54 +59031,54 @@ public void write(org.apache.thrift.protocol.TProtocol prot, create_table_with_c if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter1242 : struct.primaryKeys) + for (SQLPrimaryKey _iter1250 : struct.primaryKeys) { - _iter1242.write(oprot); + _iter1250.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter1243 : struct.foreignKeys) + for (SQLForeignKey _iter1251 : struct.foreignKeys) { - _iter1243.write(oprot); + _iter1251.write(oprot); } } } if (struct.isSetUniqueConstraints()) { { oprot.writeI32(struct.uniqueConstraints.size()); - for (SQLUniqueConstraint _iter1244 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter1252 : struct.uniqueConstraints) { - _iter1244.write(oprot); + _iter1252.write(oprot); } } } if (struct.isSetNotNullConstraints()) { { oprot.writeI32(struct.notNullConstraints.size()); - for (SQLNotNullConstraint _iter1245 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter1253 : struct.notNullConstraints) { - _iter1245.write(oprot); + _iter1253.write(oprot); } } } if (struct.isSetDefaultConstraints()) { { oprot.writeI32(struct.defaultConstraints.size()); - for (SQLDefaultConstraint _iter1246 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1254 : struct.defaultConstraints) { - _iter1246.write(oprot); + _iter1254.write(oprot); } } } if (struct.isSetCheckConstraints()) { { oprot.writeI32(struct.checkConstraints.size()); - for (SQLCheckConstraint _iter1247 : struct.checkConstraints) + for (SQLCheckConstraint _iter1255 : struct.checkConstraints) { - _iter1247.write(oprot); + _iter1255.write(oprot); } } } @@ -59065,84 +59095,84 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_with_co } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1248 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list1248.size); - SQLPrimaryKey _elem1249; - for (int _i1250 = 0; _i1250 < _list1248.size; ++_i1250) + org.apache.thrift.protocol.TList _list1256 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeys = new ArrayList(_list1256.size); + SQLPrimaryKey _elem1257; + for (int _i1258 = 0; _i1258 < _list1256.size; ++_i1258) { - _elem1249 = new SQLPrimaryKey(); - _elem1249.read(iprot); - struct.primaryKeys.add(_elem1249); + _elem1257 = new SQLPrimaryKey(); + _elem1257.read(iprot); + struct.primaryKeys.add(_elem1257); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1251 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list1251.size); - SQLForeignKey _elem1252; - for (int _i1253 = 0; _i1253 < _list1251.size; ++_i1253) + org.apache.thrift.protocol.TList _list1259 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.foreignKeys = new ArrayList(_list1259.size); + SQLForeignKey _elem1260; + for (int _i1261 = 0; _i1261 < _list1259.size; ++_i1261) { - _elem1252 = new SQLForeignKey(); - _elem1252.read(iprot); - struct.foreignKeys.add(_elem1252); + _elem1260 = new SQLForeignKey(); + _elem1260.read(iprot); + struct.foreignKeys.add(_elem1260); } } struct.setForeignKeysIsSet(true); } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list1254 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.uniqueConstraints = new ArrayList(_list1254.size); - SQLUniqueConstraint _elem1255; - for (int _i1256 = 0; _i1256 < _list1254.size; ++_i1256) + org.apache.thrift.protocol.TList _list1262 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.uniqueConstraints = new ArrayList(_list1262.size); + SQLUniqueConstraint _elem1263; + for (int _i1264 = 0; _i1264 < _list1262.size; ++_i1264) { - _elem1255 = new SQLUniqueConstraint(); - _elem1255.read(iprot); - struct.uniqueConstraints.add(_elem1255); + _elem1263 = new SQLUniqueConstraint(); + _elem1263.read(iprot); + struct.uniqueConstraints.add(_elem1263); } } struct.setUniqueConstraintsIsSet(true); } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1257 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.notNullConstraints = new ArrayList(_list1257.size); - SQLNotNullConstraint _elem1258; - for (int _i1259 = 0; _i1259 < _list1257.size; ++_i1259) + org.apache.thrift.protocol.TList _list1265 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.notNullConstraints = new ArrayList(_list1265.size); + SQLNotNullConstraint _elem1266; + for (int _i1267 = 0; _i1267 < _list1265.size; ++_i1267) { - _elem1258 = new SQLNotNullConstraint(); - _elem1258.read(iprot); - struct.notNullConstraints.add(_elem1258); + _elem1266 = new SQLNotNullConstraint(); + _elem1266.read(iprot); + struct.notNullConstraints.add(_elem1266); } } struct.setNotNullConstraintsIsSet(true); } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1260 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.defaultConstraints = new ArrayList(_list1260.size); - SQLDefaultConstraint _elem1261; - for (int _i1262 = 0; _i1262 < _list1260.size; ++_i1262) + org.apache.thrift.protocol.TList _list1268 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.defaultConstraints = new ArrayList(_list1268.size); + SQLDefaultConstraint _elem1269; + for (int _i1270 = 0; _i1270 < _list1268.size; ++_i1270) { - _elem1261 = new SQLDefaultConstraint(); - _elem1261.read(iprot); - struct.defaultConstraints.add(_elem1261); + _elem1269 = new SQLDefaultConstraint(); + _elem1269.read(iprot); + struct.defaultConstraints.add(_elem1269); } } struct.setDefaultConstraintsIsSet(true); } if (incoming.get(6)) { { - org.apache.thrift.protocol.TList _list1263 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.checkConstraints = new ArrayList(_list1263.size); - SQLCheckConstraint _elem1264; - for (int _i1265 = 0; _i1265 < _list1263.size; ++_i1265) + org.apache.thrift.protocol.TList _list1271 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.checkConstraints = new ArrayList(_list1271.size); + SQLCheckConstraint _elem1272; + for (int _i1273 = 0; _i1273 < _list1271.size; ++_i1273) { - _elem1264 = new SQLCheckConstraint(); - _elem1264.read(iprot); - struct.checkConstraints.add(_elem1264); + _elem1272 = new SQLCheckConstraint(); + _elem1272.read(iprot); + struct.checkConstraints.add(_elem1272); } } struct.setCheckConstraintsIsSet(true); @@ -69333,13 +69363,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, truncate_table_args case 3: // PART_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1266 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list1266.size); - String _elem1267; - for (int _i1268 = 0; _i1268 < _list1266.size; ++_i1268) + org.apache.thrift.protocol.TList _list1274 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list1274.size); + String _elem1275; + for (int _i1276 = 0; _i1276 < _list1274.size; ++_i1276) { - _elem1267 = iprot.readString(); - struct.partNames.add(_elem1267); + _elem1275 = iprot.readString(); + struct.partNames.add(_elem1275); } iprot.readListEnd(); } @@ -69375,9 +69405,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, truncate_table_arg oprot.writeFieldBegin(PART_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partNames.size())); - for (String _iter1269 : struct.partNames) + for (String _iter1277 : struct.partNames) { - oprot.writeString(_iter1269); + oprot.writeString(_iter1277); } oprot.writeListEnd(); } @@ -69420,9 +69450,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, truncate_table_args if (struct.isSetPartNames()) { { oprot.writeI32(struct.partNames.size()); - for (String _iter1270 : struct.partNames) + for (String _iter1278 : struct.partNames) { - oprot.writeString(_iter1270); + oprot.writeString(_iter1278); } } } @@ -69442,13 +69472,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, truncate_table_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1271 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = new ArrayList(_list1271.size); - String _elem1272; - for (int _i1273 = 0; _i1273 < _list1271.size; ++_i1273) + org.apache.thrift.protocol.TList _list1279 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list1279.size); + String _elem1280; + for (int _i1281 = 0; _i1281 < _list1279.size; ++_i1281) { - _elem1272 = iprot.readString(); - struct.partNames.add(_elem1272); + _elem1280 = iprot.readString(); + struct.partNames.add(_elem1280); } } struct.setPartNamesIsSet(true); @@ -71505,13 +71535,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 _list1274 = iprot.readListBegin(); - struct.success = new ArrayList(_list1274.size); - String _elem1275; - for (int _i1276 = 0; _i1276 < _list1274.size; ++_i1276) + org.apache.thrift.protocol.TList _list1282 = iprot.readListBegin(); + struct.success = new ArrayList(_list1282.size); + String _elem1283; + for (int _i1284 = 0; _i1284 < _list1282.size; ++_i1284) { - _elem1275 = iprot.readString(); - struct.success.add(_elem1275); + _elem1283 = iprot.readString(); + struct.success.add(_elem1283); } iprot.readListEnd(); } @@ -71546,9 +71576,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 _iter1277 : struct.success) + for (String _iter1285 : struct.success) { - oprot.writeString(_iter1277); + oprot.writeString(_iter1285); } oprot.writeListEnd(); } @@ -71587,9 +71617,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1278 : struct.success) + for (String _iter1286 : struct.success) { - oprot.writeString(_iter1278); + oprot.writeString(_iter1286); } } } @@ -71604,13 +71634,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 _list1279 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1279.size); - String _elem1280; - for (int _i1281 = 0; _i1281 < _list1279.size; ++_i1281) + org.apache.thrift.protocol.TList _list1287 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1287.size); + String _elem1288; + for (int _i1289 = 0; _i1289 < _list1287.size; ++_i1289) { - _elem1280 = iprot.readString(); - struct.success.add(_elem1280); + _elem1288 = iprot.readString(); + struct.success.add(_elem1288); } } struct.setSuccessIsSet(true); @@ -72584,13 +72614,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_by_type_ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1282 = iprot.readListBegin(); - struct.success = new ArrayList(_list1282.size); - String _elem1283; - for (int _i1284 = 0; _i1284 < _list1282.size; ++_i1284) + org.apache.thrift.protocol.TList _list1290 = iprot.readListBegin(); + struct.success = new ArrayList(_list1290.size); + String _elem1291; + for (int _i1292 = 0; _i1292 < _list1290.size; ++_i1292) { - _elem1283 = iprot.readString(); - struct.success.add(_elem1283); + _elem1291 = iprot.readString(); + struct.success.add(_elem1291); } iprot.readListEnd(); } @@ -72625,9 +72655,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_by_type oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1285 : struct.success) + for (String _iter1293 : struct.success) { - oprot.writeString(_iter1285); + oprot.writeString(_iter1293); } oprot.writeListEnd(); } @@ -72666,9 +72696,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1286 : struct.success) + for (String _iter1294 : struct.success) { - oprot.writeString(_iter1286); + oprot.writeString(_iter1294); } } } @@ -72683,13 +72713,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_r BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1287 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1287.size); - String _elem1288; - for (int _i1289 = 0; _i1289 < _list1287.size; ++_i1289) + org.apache.thrift.protocol.TList _list1295 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1295.size); + String _elem1296; + for (int _i1297 = 0; _i1297 < _list1295.size; ++_i1297) { - _elem1288 = iprot.readString(); - struct.success.add(_elem1288); + _elem1296 = iprot.readString(); + struct.success.add(_elem1296); } } struct.setSuccessIsSet(true); @@ -73346,14 +73376,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_materialize case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1290 = iprot.readListBegin(); - struct.success = new ArrayList(_list1290.size); - Table _elem1291; - for (int _i1292 = 0; _i1292 < _list1290.size; ++_i1292) + org.apache.thrift.protocol.TList _list1298 = iprot.readListBegin(); + struct.success = new ArrayList
(_list1298.size); + Table _elem1299; + for (int _i1300 = 0; _i1300 < _list1298.size; ++_i1300) { - _elem1291 = new Table(); - _elem1291.read(iprot); - struct.success.add(_elem1291); + _elem1299 = new Table(); + _elem1299.read(iprot); + struct.success.add(_elem1299); } iprot.readListEnd(); } @@ -73388,9 +73418,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_materializ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Table _iter1293 : struct.success) + for (Table _iter1301 : struct.success) { - _iter1293.write(oprot); + _iter1301.write(oprot); } oprot.writeListEnd(); } @@ -73429,9 +73459,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_materialize if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter1294 : struct.success) + for (Table _iter1302 : struct.success) { - _iter1294.write(oprot); + _iter1302.write(oprot); } } } @@ -73446,14 +73476,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_materialized BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1295 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list1295.size); - Table _elem1296; - for (int _i1297 = 0; _i1297 < _list1295.size; ++_i1297) + org.apache.thrift.protocol.TList _list1303 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list1303.size); + Table _elem1304; + for (int _i1305 = 0; _i1305 < _list1303.size; ++_i1305) { - _elem1296 = new Table(); - _elem1296.read(iprot); - struct.success.add(_elem1296); + _elem1304 = new Table(); + _elem1304.read(iprot); + struct.success.add(_elem1304); } } struct.setSuccessIsSet(true); @@ -74219,13 +74249,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialized_vi case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1298 = iprot.readListBegin(); - struct.success = new ArrayList(_list1298.size); - String _elem1299; - for (int _i1300 = 0; _i1300 < _list1298.size; ++_i1300) + org.apache.thrift.protocol.TList _list1306 = iprot.readListBegin(); + struct.success = new ArrayList(_list1306.size); + String _elem1307; + for (int _i1308 = 0; _i1308 < _list1306.size; ++_i1308) { - _elem1299 = iprot.readString(); - struct.success.add(_elem1299); + _elem1307 = iprot.readString(); + struct.success.add(_elem1307); } iprot.readListEnd(); } @@ -74260,9 +74290,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_materialized_v oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1301 : struct.success) + for (String _iter1309 : struct.success) { - oprot.writeString(_iter1301); + oprot.writeString(_iter1309); } oprot.writeListEnd(); } @@ -74301,9 +74331,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_vi if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1302 : struct.success) + for (String _iter1310 : struct.success) { - oprot.writeString(_iter1302); + oprot.writeString(_iter1310); } } } @@ -74318,13 +74348,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialized_vie BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1303 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1303.size); - String _elem1304; - for (int _i1305 = 0; _i1305 < _list1303.size; ++_i1305) + org.apache.thrift.protocol.TList _list1311 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1311.size); + String _elem1312; + for (int _i1313 = 0; _i1313 < _list1311.size; ++_i1313) { - _elem1304 = iprot.readString(); - struct.success.add(_elem1304); + _elem1312 = iprot.readString(); + struct.success.add(_elem1312); } } struct.setSuccessIsSet(true); @@ -74829,13 +74859,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_meta_args case 3: // TBL_TYPES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1306 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list1306.size); - String _elem1307; - for (int _i1308 = 0; _i1308 < _list1306.size; ++_i1308) + org.apache.thrift.protocol.TList _list1314 = iprot.readListBegin(); + struct.tbl_types = new ArrayList(_list1314.size); + String _elem1315; + for (int _i1316 = 0; _i1316 < _list1314.size; ++_i1316) { - _elem1307 = iprot.readString(); - struct.tbl_types.add(_elem1307); + _elem1315 = iprot.readString(); + struct.tbl_types.add(_elem1315); } iprot.readListEnd(); } @@ -74871,9 +74901,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_meta_arg oprot.writeFieldBegin(TBL_TYPES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tbl_types.size())); - for (String _iter1309 : struct.tbl_types) + for (String _iter1317 : struct.tbl_types) { - oprot.writeString(_iter1309); + oprot.writeString(_iter1317); } oprot.writeListEnd(); } @@ -74916,9 +74946,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args if (struct.isSetTbl_types()) { { oprot.writeI32(struct.tbl_types.size()); - for (String _iter1310 : struct.tbl_types) + for (String _iter1318 : struct.tbl_types) { - oprot.writeString(_iter1310); + oprot.writeString(_iter1318); } } } @@ -74938,13 +74968,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1311 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = new ArrayList(_list1311.size); - String _elem1312; - for (int _i1313 = 0; _i1313 < _list1311.size; ++_i1313) + org.apache.thrift.protocol.TList _list1319 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_types = new ArrayList(_list1319.size); + String _elem1320; + for (int _i1321 = 0; _i1321 < _list1319.size; ++_i1321) { - _elem1312 = iprot.readString(); - struct.tbl_types.add(_elem1312); + _elem1320 = iprot.readString(); + struct.tbl_types.add(_elem1320); } } struct.setTbl_typesIsSet(true); @@ -75350,14 +75380,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_table_meta_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1314 = iprot.readListBegin(); - struct.success = new ArrayList(_list1314.size); - TableMeta _elem1315; - for (int _i1316 = 0; _i1316 < _list1314.size; ++_i1316) + org.apache.thrift.protocol.TList _list1322 = iprot.readListBegin(); + struct.success = new ArrayList(_list1322.size); + TableMeta _elem1323; + for (int _i1324 = 0; _i1324 < _list1322.size; ++_i1324) { - _elem1315 = new TableMeta(); - _elem1315.read(iprot); - struct.success.add(_elem1315); + _elem1323 = new TableMeta(); + _elem1323.read(iprot); + struct.success.add(_elem1323); } iprot.readListEnd(); } @@ -75392,9 +75422,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_table_meta_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (TableMeta _iter1317 : struct.success) + for (TableMeta _iter1325 : struct.success) { - _iter1317.write(oprot); + _iter1325.write(oprot); } oprot.writeListEnd(); } @@ -75433,9 +75463,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter1318 : struct.success) + for (TableMeta _iter1326 : struct.success) { - _iter1318.write(oprot); + _iter1326.write(oprot); } } } @@ -75450,14 +75480,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1319 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1319.size); - TableMeta _elem1320; - for (int _i1321 = 0; _i1321 < _list1319.size; ++_i1321) + org.apache.thrift.protocol.TList _list1327 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1327.size); + TableMeta _elem1328; + for (int _i1329 = 0; _i1329 < _list1327.size; ++_i1329) { - _elem1320 = new TableMeta(); - _elem1320.read(iprot); - struct.success.add(_elem1320); + _elem1328 = new TableMeta(); + _elem1328.read(iprot); + struct.success.add(_elem1328); } } struct.setSuccessIsSet(true); @@ -76223,13 +76253,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 _list1322 = iprot.readListBegin(); - struct.success = new ArrayList(_list1322.size); - String _elem1323; - for (int _i1324 = 0; _i1324 < _list1322.size; ++_i1324) + org.apache.thrift.protocol.TList _list1330 = iprot.readListBegin(); + struct.success = new ArrayList(_list1330.size); + String _elem1331; + for (int _i1332 = 0; _i1332 < _list1330.size; ++_i1332) { - _elem1323 = iprot.readString(); - struct.success.add(_elem1323); + _elem1331 = iprot.readString(); + struct.success.add(_elem1331); } iprot.readListEnd(); } @@ -76264,9 +76294,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 _iter1325 : struct.success) + for (String _iter1333 : struct.success) { - oprot.writeString(_iter1325); + oprot.writeString(_iter1333); } oprot.writeListEnd(); } @@ -76305,9 +76335,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1326 : struct.success) + for (String _iter1334 : struct.success) { - oprot.writeString(_iter1326); + oprot.writeString(_iter1334); } } } @@ -76322,13 +76352,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 _list1327 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1327.size); - String _elem1328; - for (int _i1329 = 0; _i1329 < _list1327.size; ++_i1329) + org.apache.thrift.protocol.TList _list1335 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1335.size); + String _elem1336; + for (int _i1337 = 0; _i1337 < _list1335.size; ++_i1337) { - _elem1328 = iprot.readString(); - struct.success.add(_elem1328); + _elem1336 = iprot.readString(); + struct.success.add(_elem1336); } } struct.setSuccessIsSet(true); @@ -77781,13 +77811,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 _list1330 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1330.size); - String _elem1331; - for (int _i1332 = 0; _i1332 < _list1330.size; ++_i1332) + org.apache.thrift.protocol.TList _list1338 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list1338.size); + String _elem1339; + for (int _i1340 = 0; _i1340 < _list1338.size; ++_i1340) { - _elem1331 = iprot.readString(); - struct.tbl_names.add(_elem1331); + _elem1339 = iprot.readString(); + struct.tbl_names.add(_elem1339); } iprot.readListEnd(); } @@ -77818,9 +77848,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 _iter1333 : struct.tbl_names) + for (String _iter1341 : struct.tbl_names) { - oprot.writeString(_iter1333); + oprot.writeString(_iter1341); } oprot.writeListEnd(); } @@ -77857,9 +77887,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 _iter1334 : struct.tbl_names) + for (String _iter1342 : struct.tbl_names) { - oprot.writeString(_iter1334); + oprot.writeString(_iter1342); } } } @@ -77875,13 +77905,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1335 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1335.size); - String _elem1336; - for (int _i1337 = 0; _i1337 < _list1335.size; ++_i1337) + org.apache.thrift.protocol.TList _list1343 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list1343.size); + String _elem1344; + for (int _i1345 = 0; _i1345 < _list1343.size; ++_i1345) { - _elem1336 = iprot.readString(); - struct.tbl_names.add(_elem1336); + _elem1344 = iprot.readString(); + struct.tbl_names.add(_elem1344); } } struct.setTbl_namesIsSet(true); @@ -78206,14 +78236,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 _list1338 = iprot.readListBegin(); - struct.success = new ArrayList
(_list1338.size); - Table _elem1339; - for (int _i1340 = 0; _i1340 < _list1338.size; ++_i1340) + org.apache.thrift.protocol.TList _list1346 = iprot.readListBegin(); + struct.success = new ArrayList
(_list1346.size); + Table _elem1347; + for (int _i1348 = 0; _i1348 < _list1346.size; ++_i1348) { - _elem1339 = new Table(); - _elem1339.read(iprot); - struct.success.add(_elem1339); + _elem1347 = new Table(); + _elem1347.read(iprot); + struct.success.add(_elem1347); } iprot.readListEnd(); } @@ -78239,9 +78269,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 _iter1341 : struct.success) + for (Table _iter1349 : struct.success) { - _iter1341.write(oprot); + _iter1349.write(oprot); } oprot.writeListEnd(); } @@ -78272,9 +78302,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter1342 : struct.success) + for (Table _iter1350 : struct.success) { - _iter1342.write(oprot); + _iter1350.write(oprot); } } } @@ -78286,14 +78316,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1343 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list1343.size); - Table _elem1344; - for (int _i1345 = 0; _i1345 < _list1343.size; ++_i1345) + org.apache.thrift.protocol.TList _list1351 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list1351.size); + Table _elem1352; + for (int _i1353 = 0; _i1353 < _list1351.size; ++_i1353) { - _elem1344 = new Table(); - _elem1344.read(iprot); - struct.success.add(_elem1344); + _elem1352 = new Table(); + _elem1352.read(iprot); + struct.success.add(_elem1352); } } struct.setSuccessIsSet(true); @@ -79062,14 +79092,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_ext_resu case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1346 = iprot.readListBegin(); - struct.success = new ArrayList(_list1346.size); - ExtendedTableInfo _elem1347; - for (int _i1348 = 0; _i1348 < _list1346.size; ++_i1348) + org.apache.thrift.protocol.TList _list1354 = iprot.readListBegin(); + struct.success = new ArrayList(_list1354.size); + ExtendedTableInfo _elem1355; + for (int _i1356 = 0; _i1356 < _list1354.size; ++_i1356) { - _elem1347 = new ExtendedTableInfo(); - _elem1347.read(iprot); - struct.success.add(_elem1347); + _elem1355 = new ExtendedTableInfo(); + _elem1355.read(iprot); + struct.success.add(_elem1355); } iprot.readListEnd(); } @@ -79104,9 +79134,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_ext_res oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (ExtendedTableInfo _iter1349 : struct.success) + for (ExtendedTableInfo _iter1357 : struct.success) { - _iter1349.write(oprot); + _iter1357.write(oprot); } oprot.writeListEnd(); } @@ -79145,9 +79175,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_ext_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (ExtendedTableInfo _iter1350 : struct.success) + for (ExtendedTableInfo _iter1358 : struct.success) { - _iter1350.write(oprot); + _iter1358.write(oprot); } } } @@ -79162,14 +79192,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_ext_resul BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1351 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1351.size); - ExtendedTableInfo _elem1352; - for (int _i1353 = 0; _i1353 < _list1351.size; ++_i1353) + org.apache.thrift.protocol.TList _list1359 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1359.size); + ExtendedTableInfo _elem1360; + for (int _i1361 = 0; _i1361 < _list1359.size; ++_i1361) { - _elem1352 = new ExtendedTableInfo(); - _elem1352.read(iprot); - struct.success.add(_elem1352); + _elem1360 = new ExtendedTableInfo(); + _elem1360.read(iprot); + struct.success.add(_elem1360); } } struct.setSuccessIsSet(true); @@ -84682,13 +84712,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 _list1354 = iprot.readListBegin(); - struct.success = new ArrayList(_list1354.size); - String _elem1355; - for (int _i1356 = 0; _i1356 < _list1354.size; ++_i1356) + org.apache.thrift.protocol.TList _list1362 = iprot.readListBegin(); + struct.success = new ArrayList(_list1362.size); + String _elem1363; + for (int _i1364 = 0; _i1364 < _list1362.size; ++_i1364) { - _elem1355 = iprot.readString(); - struct.success.add(_elem1355); + _elem1363 = iprot.readString(); + struct.success.add(_elem1363); } iprot.readListEnd(); } @@ -84741,9 +84771,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 _iter1357 : struct.success) + for (String _iter1365 : struct.success) { - oprot.writeString(_iter1357); + oprot.writeString(_iter1365); } oprot.writeListEnd(); } @@ -84798,9 +84828,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1358 : struct.success) + for (String _iter1366 : struct.success) { - oprot.writeString(_iter1358); + oprot.writeString(_iter1366); } } } @@ -84821,13 +84851,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 _list1359 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1359.size); - String _elem1360; - for (int _i1361 = 0; _i1361 < _list1359.size; ++_i1361) + org.apache.thrift.protocol.TList _list1367 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1367.size); + String _elem1368; + for (int _i1369 = 0; _i1369 < _list1367.size; ++_i1369) { - _elem1360 = iprot.readString(); - struct.success.add(_elem1360); + _elem1368 = iprot.readString(); + struct.success.add(_elem1368); } } struct.setSuccessIsSet(true); @@ -91624,14 +91654,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 _list1362 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1362.size); - Partition _elem1363; - for (int _i1364 = 0; _i1364 < _list1362.size; ++_i1364) + org.apache.thrift.protocol.TList _list1370 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1370.size); + Partition _elem1371; + for (int _i1372 = 0; _i1372 < _list1370.size; ++_i1372) { - _elem1363 = new Partition(); - _elem1363.read(iprot); - struct.new_parts.add(_elem1363); + _elem1371 = new Partition(); + _elem1371.read(iprot); + struct.new_parts.add(_elem1371); } iprot.readListEnd(); } @@ -91657,9 +91687,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 _iter1365 : struct.new_parts) + for (Partition _iter1373 : struct.new_parts) { - _iter1365.write(oprot); + _iter1373.write(oprot); } oprot.writeListEnd(); } @@ -91690,9 +91720,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 _iter1366 : struct.new_parts) + for (Partition _iter1374 : struct.new_parts) { - _iter1366.write(oprot); + _iter1374.write(oprot); } } } @@ -91704,14 +91734,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 _list1367 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1367.size); - Partition _elem1368; - for (int _i1369 = 0; _i1369 < _list1367.size; ++_i1369) + org.apache.thrift.protocol.TList _list1375 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1375.size); + Partition _elem1376; + for (int _i1377 = 0; _i1377 < _list1375.size; ++_i1377) { - _elem1368 = new Partition(); - _elem1368.read(iprot); - struct.new_parts.add(_elem1368); + _elem1376 = new Partition(); + _elem1376.read(iprot); + struct.new_parts.add(_elem1376); } } struct.setNew_partsIsSet(true); @@ -92712,14 +92742,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 _list1370 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1370.size); - PartitionSpec _elem1371; - for (int _i1372 = 0; _i1372 < _list1370.size; ++_i1372) + org.apache.thrift.protocol.TList _list1378 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1378.size); + PartitionSpec _elem1379; + for (int _i1380 = 0; _i1380 < _list1378.size; ++_i1380) { - _elem1371 = new PartitionSpec(); - _elem1371.read(iprot); - struct.new_parts.add(_elem1371); + _elem1379 = new PartitionSpec(); + _elem1379.read(iprot); + struct.new_parts.add(_elem1379); } iprot.readListEnd(); } @@ -92745,9 +92775,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 _iter1373 : struct.new_parts) + for (PartitionSpec _iter1381 : struct.new_parts) { - _iter1373.write(oprot); + _iter1381.write(oprot); } oprot.writeListEnd(); } @@ -92778,9 +92808,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 _iter1374 : struct.new_parts) + for (PartitionSpec _iter1382 : struct.new_parts) { - _iter1374.write(oprot); + _iter1382.write(oprot); } } } @@ -92792,14 +92822,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 _list1375 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1375.size); - PartitionSpec _elem1376; - for (int _i1377 = 0; _i1377 < _list1375.size; ++_i1377) + org.apache.thrift.protocol.TList _list1383 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1383.size); + PartitionSpec _elem1384; + for (int _i1385 = 0; _i1385 < _list1383.size; ++_i1385) { - _elem1376 = new PartitionSpec(); - _elem1376.read(iprot); - struct.new_parts.add(_elem1376); + _elem1384 = new PartitionSpec(); + _elem1384.read(iprot); + struct.new_parts.add(_elem1384); } } struct.setNew_partsIsSet(true); @@ -93975,13 +94005,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 _list1378 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1378.size); - String _elem1379; - for (int _i1380 = 0; _i1380 < _list1378.size; ++_i1380) + org.apache.thrift.protocol.TList _list1386 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1386.size); + String _elem1387; + for (int _i1388 = 0; _i1388 < _list1386.size; ++_i1388) { - _elem1379 = iprot.readString(); - struct.part_vals.add(_elem1379); + _elem1387 = iprot.readString(); + struct.part_vals.add(_elem1387); } iprot.readListEnd(); } @@ -94017,9 +94047,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 _iter1381 : struct.part_vals) + for (String _iter1389 : struct.part_vals) { - oprot.writeString(_iter1381); + oprot.writeString(_iter1389); } oprot.writeListEnd(); } @@ -94062,9 +94092,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 _iter1382 : struct.part_vals) + for (String _iter1390 : struct.part_vals) { - oprot.writeString(_iter1382); + oprot.writeString(_iter1390); } } } @@ -94084,13 +94114,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1383 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1383.size); - String _elem1384; - for (int _i1385 = 0; _i1385 < _list1383.size; ++_i1385) + org.apache.thrift.protocol.TList _list1391 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1391.size); + String _elem1392; + for (int _i1393 = 0; _i1393 < _list1391.size; ++_i1393) { - _elem1384 = iprot.readString(); - struct.part_vals.add(_elem1384); + _elem1392 = iprot.readString(); + struct.part_vals.add(_elem1392); } } struct.setPart_valsIsSet(true); @@ -96399,13 +96429,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 _list1386 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1386.size); - String _elem1387; - for (int _i1388 = 0; _i1388 < _list1386.size; ++_i1388) + org.apache.thrift.protocol.TList _list1394 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1394.size); + String _elem1395; + for (int _i1396 = 0; _i1396 < _list1394.size; ++_i1396) { - _elem1387 = iprot.readString(); - struct.part_vals.add(_elem1387); + _elem1395 = iprot.readString(); + struct.part_vals.add(_elem1395); } iprot.readListEnd(); } @@ -96450,9 +96480,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 _iter1389 : struct.part_vals) + for (String _iter1397 : struct.part_vals) { - oprot.writeString(_iter1389); + oprot.writeString(_iter1397); } oprot.writeListEnd(); } @@ -96503,9 +96533,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 _iter1390 : struct.part_vals) + for (String _iter1398 : struct.part_vals) { - oprot.writeString(_iter1390); + oprot.writeString(_iter1398); } } } @@ -96528,13 +96558,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1391 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1391.size); - String _elem1392; - for (int _i1393 = 0; _i1393 < _list1391.size; ++_i1393) + org.apache.thrift.protocol.TList _list1399 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1399.size); + String _elem1400; + for (int _i1401 = 0; _i1401 < _list1399.size; ++_i1401) { - _elem1392 = iprot.readString(); - struct.part_vals.add(_elem1392); + _elem1400 = iprot.readString(); + struct.part_vals.add(_elem1400); } } struct.setPart_valsIsSet(true); @@ -100404,13 +100434,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 _list1394 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1394.size); - String _elem1395; - for (int _i1396 = 0; _i1396 < _list1394.size; ++_i1396) + org.apache.thrift.protocol.TList _list1402 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1402.size); + String _elem1403; + for (int _i1404 = 0; _i1404 < _list1402.size; ++_i1404) { - _elem1395 = iprot.readString(); - struct.part_vals.add(_elem1395); + _elem1403 = iprot.readString(); + struct.part_vals.add(_elem1403); } iprot.readListEnd(); } @@ -100454,9 +100484,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 _iter1397 : struct.part_vals) + for (String _iter1405 : struct.part_vals) { - oprot.writeString(_iter1397); + oprot.writeString(_iter1405); } oprot.writeListEnd(); } @@ -100505,9 +100535,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 _iter1398 : struct.part_vals) + for (String _iter1406 : struct.part_vals) { - oprot.writeString(_iter1398); + oprot.writeString(_iter1406); } } } @@ -100530,13 +100560,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1399 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1399.size); - String _elem1400; - for (int _i1401 = 0; _i1401 < _list1399.size; ++_i1401) + org.apache.thrift.protocol.TList _list1407 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1407.size); + String _elem1408; + for (int _i1409 = 0; _i1409 < _list1407.size; ++_i1409) { - _elem1400 = iprot.readString(); - struct.part_vals.add(_elem1400); + _elem1408 = iprot.readString(); + struct.part_vals.add(_elem1408); } } struct.setPart_valsIsSet(true); @@ -101775,13 +101805,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 _list1402 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1402.size); - String _elem1403; - for (int _i1404 = 0; _i1404 < _list1402.size; ++_i1404) + org.apache.thrift.protocol.TList _list1410 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1410.size); + String _elem1411; + for (int _i1412 = 0; _i1412 < _list1410.size; ++_i1412) { - _elem1403 = iprot.readString(); - struct.part_vals.add(_elem1403); + _elem1411 = iprot.readString(); + struct.part_vals.add(_elem1411); } iprot.readListEnd(); } @@ -101834,9 +101864,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 _iter1405 : struct.part_vals) + for (String _iter1413 : struct.part_vals) { - oprot.writeString(_iter1405); + oprot.writeString(_iter1413); } oprot.writeListEnd(); } @@ -101893,9 +101923,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 _iter1406 : struct.part_vals) + for (String _iter1414 : struct.part_vals) { - oprot.writeString(_iter1406); + oprot.writeString(_iter1414); } } } @@ -101921,13 +101951,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1407 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1407.size); - String _elem1408; - for (int _i1409 = 0; _i1409 < _list1407.size; ++_i1409) + org.apache.thrift.protocol.TList _list1415 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1415.size); + String _elem1416; + for (int _i1417 = 0; _i1417 < _list1415.size; ++_i1417) { - _elem1408 = iprot.readString(); - struct.part_vals.add(_elem1408); + _elem1416 = iprot.readString(); + struct.part_vals.add(_elem1416); } } struct.setPart_valsIsSet(true); @@ -106529,13 +106559,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 _list1410 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1410.size); - String _elem1411; - for (int _i1412 = 0; _i1412 < _list1410.size; ++_i1412) + org.apache.thrift.protocol.TList _list1418 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1418.size); + String _elem1419; + for (int _i1420 = 0; _i1420 < _list1418.size; ++_i1420) { - _elem1411 = iprot.readString(); - struct.part_vals.add(_elem1411); + _elem1419 = iprot.readString(); + struct.part_vals.add(_elem1419); } iprot.readListEnd(); } @@ -106571,9 +106601,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 _iter1413 : struct.part_vals) + for (String _iter1421 : struct.part_vals) { - oprot.writeString(_iter1413); + oprot.writeString(_iter1421); } oprot.writeListEnd(); } @@ -106616,9 +106646,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 _iter1414 : struct.part_vals) + for (String _iter1422 : struct.part_vals) { - oprot.writeString(_iter1414); + oprot.writeString(_iter1422); } } } @@ -106638,13 +106668,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1415 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1415.size); - String _elem1416; - for (int _i1417 = 0; _i1417 < _list1415.size; ++_i1417) + org.apache.thrift.protocol.TList _list1423 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1423.size); + String _elem1424; + for (int _i1425 = 0; _i1425 < _list1423.size; ++_i1425) { - _elem1416 = iprot.readString(); - struct.part_vals.add(_elem1416); + _elem1424 = iprot.readString(); + struct.part_vals.add(_elem1424); } } struct.setPart_valsIsSet(true); @@ -107862,15 +107892,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 _map1418 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1418.size); - String _key1419; - String _val1420; - for (int _i1421 = 0; _i1421 < _map1418.size; ++_i1421) + org.apache.thrift.protocol.TMap _map1426 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1426.size); + String _key1427; + String _val1428; + for (int _i1429 = 0; _i1429 < _map1426.size; ++_i1429) { - _key1419 = iprot.readString(); - _val1420 = iprot.readString(); - struct.partitionSpecs.put(_key1419, _val1420); + _key1427 = iprot.readString(); + _val1428 = iprot.readString(); + struct.partitionSpecs.put(_key1427, _val1428); } iprot.readMapEnd(); } @@ -107928,10 +107958,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 _iter1422 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1430 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1422.getKey()); - oprot.writeString(_iter1422.getValue()); + oprot.writeString(_iter1430.getKey()); + oprot.writeString(_iter1430.getValue()); } oprot.writeMapEnd(); } @@ -107994,10 +108024,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1423 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1431 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1423.getKey()); - oprot.writeString(_iter1423.getValue()); + oprot.writeString(_iter1431.getKey()); + oprot.writeString(_iter1431.getValue()); } } } @@ -108021,15 +108051,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 _map1424 = 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*_map1424.size); - String _key1425; - String _val1426; - for (int _i1427 = 0; _i1427 < _map1424.size; ++_i1427) + org.apache.thrift.protocol.TMap _map1432 = 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*_map1432.size); + String _key1433; + String _val1434; + for (int _i1435 = 0; _i1435 < _map1432.size; ++_i1435) { - _key1425 = iprot.readString(); - _val1426 = iprot.readString(); - struct.partitionSpecs.put(_key1425, _val1426); + _key1433 = iprot.readString(); + _val1434 = iprot.readString(); + struct.partitionSpecs.put(_key1433, _val1434); } } struct.setPartitionSpecsIsSet(true); @@ -109475,15 +109505,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partitions case 1: // PARTITION_SPECS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map1428 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1428.size); - String _key1429; - String _val1430; - for (int _i1431 = 0; _i1431 < _map1428.size; ++_i1431) + org.apache.thrift.protocol.TMap _map1436 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1436.size); + String _key1437; + String _val1438; + for (int _i1439 = 0; _i1439 < _map1436.size; ++_i1439) { - _key1429 = iprot.readString(); - _val1430 = iprot.readString(); - struct.partitionSpecs.put(_key1429, _val1430); + _key1437 = iprot.readString(); + _val1438 = iprot.readString(); + struct.partitionSpecs.put(_key1437, _val1438); } iprot.readMapEnd(); } @@ -109541,10 +109571,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 _iter1432 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1440 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1432.getKey()); - oprot.writeString(_iter1432.getValue()); + oprot.writeString(_iter1440.getKey()); + oprot.writeString(_iter1440.getValue()); } oprot.writeMapEnd(); } @@ -109607,10 +109637,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1433 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1441 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1433.getKey()); - oprot.writeString(_iter1433.getValue()); + oprot.writeString(_iter1441.getKey()); + oprot.writeString(_iter1441.getValue()); } } } @@ -109634,15 +109664,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partitions_ BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1434 = 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*_map1434.size); - String _key1435; - String _val1436; - for (int _i1437 = 0; _i1437 < _map1434.size; ++_i1437) + org.apache.thrift.protocol.TMap _map1442 = 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*_map1442.size); + String _key1443; + String _val1444; + for (int _i1445 = 0; _i1445 < _map1442.size; ++_i1445) { - _key1435 = iprot.readString(); - _val1436 = iprot.readString(); - struct.partitionSpecs.put(_key1435, _val1436); + _key1443 = iprot.readString(); + _val1444 = iprot.readString(); + struct.partitionSpecs.put(_key1443, _val1444); } } struct.setPartitionSpecsIsSet(true); @@ -110307,14 +110337,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, exchange_partitions case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1438 = iprot.readListBegin(); - struct.success = new ArrayList(_list1438.size); - Partition _elem1439; - for (int _i1440 = 0; _i1440 < _list1438.size; ++_i1440) + org.apache.thrift.protocol.TList _list1446 = iprot.readListBegin(); + struct.success = new ArrayList(_list1446.size); + Partition _elem1447; + for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) { - _elem1439 = new Partition(); - _elem1439.read(iprot); - struct.success.add(_elem1439); + _elem1447 = new Partition(); + _elem1447.read(iprot); + struct.success.add(_elem1447); } iprot.readListEnd(); } @@ -110376,9 +110406,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, exchange_partition oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1441 : struct.success) + for (Partition _iter1449 : struct.success) { - _iter1441.write(oprot); + _iter1449.write(oprot); } oprot.writeListEnd(); } @@ -110441,9 +110471,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1442 : struct.success) + for (Partition _iter1450 : struct.success) { - _iter1442.write(oprot); + _iter1450.write(oprot); } } } @@ -110467,14 +110497,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, exchange_partitions_ BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1443 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1443.size); - Partition _elem1444; - for (int _i1445 = 0; _i1445 < _list1443.size; ++_i1445) + org.apache.thrift.protocol.TList _list1451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1451.size); + Partition _elem1452; + for (int _i1453 = 0; _i1453 < _list1451.size; ++_i1453) { - _elem1444 = new Partition(); - _elem1444.read(iprot); - struct.success.add(_elem1444); + _elem1452 = new Partition(); + _elem1452.read(iprot); + struct.success.add(_elem1452); } } struct.setSuccessIsSet(true); @@ -111173,13 +111203,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 _list1446 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1446.size); - String _elem1447; - for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) + org.apache.thrift.protocol.TList _list1454 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1454.size); + String _elem1455; + for (int _i1456 = 0; _i1456 < _list1454.size; ++_i1456) { - _elem1447 = iprot.readString(); - struct.part_vals.add(_elem1447); + _elem1455 = iprot.readString(); + struct.part_vals.add(_elem1455); } iprot.readListEnd(); } @@ -111199,13 +111229,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 _list1449 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1449.size); - String _elem1450; - for (int _i1451 = 0; _i1451 < _list1449.size; ++_i1451) + org.apache.thrift.protocol.TList _list1457 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1457.size); + String _elem1458; + for (int _i1459 = 0; _i1459 < _list1457.size; ++_i1459) { - _elem1450 = iprot.readString(); - struct.group_names.add(_elem1450); + _elem1458 = iprot.readString(); + struct.group_names.add(_elem1458); } iprot.readListEnd(); } @@ -111241,9 +111271,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 _iter1452 : struct.part_vals) + for (String _iter1460 : struct.part_vals) { - oprot.writeString(_iter1452); + oprot.writeString(_iter1460); } oprot.writeListEnd(); } @@ -111258,9 +111288,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 _iter1453 : struct.group_names) + for (String _iter1461 : struct.group_names) { - oprot.writeString(_iter1453); + oprot.writeString(_iter1461); } oprot.writeListEnd(); } @@ -111309,9 +111339,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 _iter1454 : struct.part_vals) + for (String _iter1462 : struct.part_vals) { - oprot.writeString(_iter1454); + oprot.writeString(_iter1462); } } } @@ -111321,9 +111351,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 _iter1455 : struct.group_names) + for (String _iter1463 : struct.group_names) { - oprot.writeString(_iter1455); + oprot.writeString(_iter1463); } } } @@ -111343,13 +111373,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1456 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1456.size); - String _elem1457; - for (int _i1458 = 0; _i1458 < _list1456.size; ++_i1458) + org.apache.thrift.protocol.TList _list1464 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1464.size); + String _elem1465; + for (int _i1466 = 0; _i1466 < _list1464.size; ++_i1466) { - _elem1457 = iprot.readString(); - struct.part_vals.add(_elem1457); + _elem1465 = iprot.readString(); + struct.part_vals.add(_elem1465); } } struct.setPart_valsIsSet(true); @@ -111360,13 +111390,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1459 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1459.size); - String _elem1460; - for (int _i1461 = 0; _i1461 < _list1459.size; ++_i1461) + org.apache.thrift.protocol.TList _list1467 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1467.size); + String _elem1468; + for (int _i1469 = 0; _i1469 < _list1467.size; ++_i1469) { - _elem1460 = iprot.readString(); - struct.group_names.add(_elem1460); + _elem1468 = iprot.readString(); + struct.group_names.add(_elem1468); } } struct.setGroup_namesIsSet(true); @@ -114135,14 +114165,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 _list1462 = iprot.readListBegin(); - struct.success = new ArrayList(_list1462.size); - Partition _elem1463; - for (int _i1464 = 0; _i1464 < _list1462.size; ++_i1464) + org.apache.thrift.protocol.TList _list1470 = iprot.readListBegin(); + struct.success = new ArrayList(_list1470.size); + Partition _elem1471; + for (int _i1472 = 0; _i1472 < _list1470.size; ++_i1472) { - _elem1463 = new Partition(); - _elem1463.read(iprot); - struct.success.add(_elem1463); + _elem1471 = new Partition(); + _elem1471.read(iprot); + struct.success.add(_elem1471); } iprot.readListEnd(); } @@ -114186,9 +114216,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 _iter1465 : struct.success) + for (Partition _iter1473 : struct.success) { - _iter1465.write(oprot); + _iter1473.write(oprot); } oprot.writeListEnd(); } @@ -114235,9 +114265,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1466 : struct.success) + for (Partition _iter1474 : struct.success) { - _iter1466.write(oprot); + _iter1474.write(oprot); } } } @@ -114255,14 +114285,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 _list1467 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1467.size); - Partition _elem1468; - for (int _i1469 = 0; _i1469 < _list1467.size; ++_i1469) + org.apache.thrift.protocol.TList _list1475 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1475.size); + Partition _elem1476; + for (int _i1477 = 0; _i1477 < _list1475.size; ++_i1477) { - _elem1468 = new Partition(); - _elem1468.read(iprot); - struct.success.add(_elem1468); + _elem1476 = new Partition(); + _elem1476.read(iprot); + struct.success.add(_elem1476); } } struct.setSuccessIsSet(true); @@ -114952,13 +114982,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 _list1470 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1470.size); - String _elem1471; - for (int _i1472 = 0; _i1472 < _list1470.size; ++_i1472) + org.apache.thrift.protocol.TList _list1478 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1478.size); + String _elem1479; + for (int _i1480 = 0; _i1480 < _list1478.size; ++_i1480) { - _elem1471 = iprot.readString(); - struct.group_names.add(_elem1471); + _elem1479 = iprot.readString(); + struct.group_names.add(_elem1479); } iprot.readListEnd(); } @@ -115002,9 +115032,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 _iter1473 : struct.group_names) + for (String _iter1481 : struct.group_names) { - oprot.writeString(_iter1473); + oprot.writeString(_iter1481); } oprot.writeListEnd(); } @@ -115059,9 +115089,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 _iter1474 : struct.group_names) + for (String _iter1482 : struct.group_names) { - oprot.writeString(_iter1474); + oprot.writeString(_iter1482); } } } @@ -115089,13 +115119,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1475 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1475.size); - String _elem1476; - for (int _i1477 = 0; _i1477 < _list1475.size; ++_i1477) + org.apache.thrift.protocol.TList _list1483 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1483.size); + String _elem1484; + for (int _i1485 = 0; _i1485 < _list1483.size; ++_i1485) { - _elem1476 = iprot.readString(); - struct.group_names.add(_elem1476); + _elem1484 = iprot.readString(); + struct.group_names.add(_elem1484); } } struct.setGroup_namesIsSet(true); @@ -115582,14 +115612,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 _list1478 = iprot.readListBegin(); - struct.success = new ArrayList(_list1478.size); - Partition _elem1479; - for (int _i1480 = 0; _i1480 < _list1478.size; ++_i1480) + org.apache.thrift.protocol.TList _list1486 = iprot.readListBegin(); + struct.success = new ArrayList(_list1486.size); + Partition _elem1487; + for (int _i1488 = 0; _i1488 < _list1486.size; ++_i1488) { - _elem1479 = new Partition(); - _elem1479.read(iprot); - struct.success.add(_elem1479); + _elem1487 = new Partition(); + _elem1487.read(iprot); + struct.success.add(_elem1487); } iprot.readListEnd(); } @@ -115633,9 +115663,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 _iter1481 : struct.success) + for (Partition _iter1489 : struct.success) { - _iter1481.write(oprot); + _iter1489.write(oprot); } oprot.writeListEnd(); } @@ -115682,9 +115712,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1482 : struct.success) + for (Partition _iter1490 : struct.success) { - _iter1482.write(oprot); + _iter1490.write(oprot); } } } @@ -115702,14 +115732,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 _list1483 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1483.size); - Partition _elem1484; - for (int _i1485 = 0; _i1485 < _list1483.size; ++_i1485) + org.apache.thrift.protocol.TList _list1491 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1491.size); + Partition _elem1492; + for (int _i1493 = 0; _i1493 < _list1491.size; ++_i1493) { - _elem1484 = new Partition(); - _elem1484.read(iprot); - struct.success.add(_elem1484); + _elem1492 = new Partition(); + _elem1492.read(iprot); + struct.success.add(_elem1492); } } struct.setSuccessIsSet(true); @@ -116772,14 +116802,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 _list1486 = iprot.readListBegin(); - struct.success = new ArrayList(_list1486.size); - PartitionSpec _elem1487; - for (int _i1488 = 0; _i1488 < _list1486.size; ++_i1488) + org.apache.thrift.protocol.TList _list1494 = iprot.readListBegin(); + struct.success = new ArrayList(_list1494.size); + PartitionSpec _elem1495; + for (int _i1496 = 0; _i1496 < _list1494.size; ++_i1496) { - _elem1487 = new PartitionSpec(); - _elem1487.read(iprot); - struct.success.add(_elem1487); + _elem1495 = new PartitionSpec(); + _elem1495.read(iprot); + struct.success.add(_elem1495); } iprot.readListEnd(); } @@ -116823,9 +116853,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 _iter1489 : struct.success) + for (PartitionSpec _iter1497 : struct.success) { - _iter1489.write(oprot); + _iter1497.write(oprot); } oprot.writeListEnd(); } @@ -116872,9 +116902,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1490 : struct.success) + for (PartitionSpec _iter1498 : struct.success) { - _iter1490.write(oprot); + _iter1498.write(oprot); } } } @@ -116892,14 +116922,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 _list1491 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1491.size); - PartitionSpec _elem1492; - for (int _i1493 = 0; _i1493 < _list1491.size; ++_i1493) + org.apache.thrift.protocol.TList _list1499 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1499.size); + PartitionSpec _elem1500; + for (int _i1501 = 0; _i1501 < _list1499.size; ++_i1501) { - _elem1492 = new PartitionSpec(); - _elem1492.read(iprot); - struct.success.add(_elem1492); + _elem1500 = new PartitionSpec(); + _elem1500.read(iprot); + struct.success.add(_elem1500); } } struct.setSuccessIsSet(true); @@ -117959,13 +117989,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 _list1494 = iprot.readListBegin(); - struct.success = new ArrayList(_list1494.size); - String _elem1495; - for (int _i1496 = 0; _i1496 < _list1494.size; ++_i1496) + org.apache.thrift.protocol.TList _list1502 = iprot.readListBegin(); + struct.success = new ArrayList(_list1502.size); + String _elem1503; + for (int _i1504 = 0; _i1504 < _list1502.size; ++_i1504) { - _elem1495 = iprot.readString(); - struct.success.add(_elem1495); + _elem1503 = iprot.readString(); + struct.success.add(_elem1503); } iprot.readListEnd(); } @@ -118009,9 +118039,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 _iter1497 : struct.success) + for (String _iter1505 : struct.success) { - oprot.writeString(_iter1497); + oprot.writeString(_iter1505); } oprot.writeListEnd(); } @@ -118058,9 +118088,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1498 : struct.success) + for (String _iter1506 : struct.success) { - oprot.writeString(_iter1498); + oprot.writeString(_iter1506); } } } @@ -118078,13 +118108,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 _list1499 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1499.size); - String _elem1500; - for (int _i1501 = 0; _i1501 < _list1499.size; ++_i1501) + org.apache.thrift.protocol.TList _list1507 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1507.size); + String _elem1508; + for (int _i1509 = 0; _i1509 < _list1507.size; ++_i1509) { - _elem1500 = iprot.readString(); - struct.success.add(_elem1500); + _elem1508 = iprot.readString(); + struct.success.add(_elem1508); } } struct.setSuccessIsSet(true); @@ -119615,13 +119645,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 _list1502 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1502.size); - String _elem1503; - for (int _i1504 = 0; _i1504 < _list1502.size; ++_i1504) + org.apache.thrift.protocol.TList _list1510 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1510.size); + String _elem1511; + for (int _i1512 = 0; _i1512 < _list1510.size; ++_i1512) { - _elem1503 = iprot.readString(); - struct.part_vals.add(_elem1503); + _elem1511 = iprot.readString(); + struct.part_vals.add(_elem1511); } iprot.readListEnd(); } @@ -119665,9 +119695,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 _iter1505 : struct.part_vals) + for (String _iter1513 : struct.part_vals) { - oprot.writeString(_iter1505); + oprot.writeString(_iter1513); } oprot.writeListEnd(); } @@ -119716,9 +119746,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 _iter1506 : struct.part_vals) + for (String _iter1514 : struct.part_vals) { - oprot.writeString(_iter1506); + oprot.writeString(_iter1514); } } } @@ -119741,13 +119771,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1507 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1507.size); - String _elem1508; - for (int _i1509 = 0; _i1509 < _list1507.size; ++_i1509) + org.apache.thrift.protocol.TList _list1515 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1515.size); + String _elem1516; + for (int _i1517 = 0; _i1517 < _list1515.size; ++_i1517) { - _elem1508 = iprot.readString(); - struct.part_vals.add(_elem1508); + _elem1516 = iprot.readString(); + struct.part_vals.add(_elem1516); } } struct.setPart_valsIsSet(true); @@ -120238,14 +120268,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 _list1510 = iprot.readListBegin(); - struct.success = new ArrayList(_list1510.size); - Partition _elem1511; - for (int _i1512 = 0; _i1512 < _list1510.size; ++_i1512) + org.apache.thrift.protocol.TList _list1518 = iprot.readListBegin(); + struct.success = new ArrayList(_list1518.size); + Partition _elem1519; + for (int _i1520 = 0; _i1520 < _list1518.size; ++_i1520) { - _elem1511 = new Partition(); - _elem1511.read(iprot); - struct.success.add(_elem1511); + _elem1519 = new Partition(); + _elem1519.read(iprot); + struct.success.add(_elem1519); } iprot.readListEnd(); } @@ -120289,9 +120319,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 _iter1513 : struct.success) + for (Partition _iter1521 : struct.success) { - _iter1513.write(oprot); + _iter1521.write(oprot); } oprot.writeListEnd(); } @@ -120338,9 +120368,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1514 : struct.success) + for (Partition _iter1522 : struct.success) { - _iter1514.write(oprot); + _iter1522.write(oprot); } } } @@ -120358,14 +120388,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 _list1515 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1515.size); - Partition _elem1516; - for (int _i1517 = 0; _i1517 < _list1515.size; ++_i1517) + org.apache.thrift.protocol.TList _list1523 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1523.size); + Partition _elem1524; + for (int _i1525 = 0; _i1525 < _list1523.size; ++_i1525) { - _elem1516 = new Partition(); - _elem1516.read(iprot); - struct.success.add(_elem1516); + _elem1524 = new Partition(); + _elem1524.read(iprot); + struct.success.add(_elem1524); } } struct.setSuccessIsSet(true); @@ -121137,13 +121167,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 _list1518 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1518.size); - String _elem1519; - for (int _i1520 = 0; _i1520 < _list1518.size; ++_i1520) + org.apache.thrift.protocol.TList _list1526 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1526.size); + String _elem1527; + for (int _i1528 = 0; _i1528 < _list1526.size; ++_i1528) { - _elem1519 = iprot.readString(); - struct.part_vals.add(_elem1519); + _elem1527 = iprot.readString(); + struct.part_vals.add(_elem1527); } iprot.readListEnd(); } @@ -121171,13 +121201,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 _list1521 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1521.size); - String _elem1522; - for (int _i1523 = 0; _i1523 < _list1521.size; ++_i1523) + org.apache.thrift.protocol.TList _list1529 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1529.size); + String _elem1530; + for (int _i1531 = 0; _i1531 < _list1529.size; ++_i1531) { - _elem1522 = iprot.readString(); - struct.group_names.add(_elem1522); + _elem1530 = iprot.readString(); + struct.group_names.add(_elem1530); } iprot.readListEnd(); } @@ -121213,9 +121243,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 _iter1524 : struct.part_vals) + for (String _iter1532 : struct.part_vals) { - oprot.writeString(_iter1524); + oprot.writeString(_iter1532); } oprot.writeListEnd(); } @@ -121233,9 +121263,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 _iter1525 : struct.group_names) + for (String _iter1533 : struct.group_names) { - oprot.writeString(_iter1525); + oprot.writeString(_iter1533); } oprot.writeListEnd(); } @@ -121287,9 +121317,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 _iter1526 : struct.part_vals) + for (String _iter1534 : struct.part_vals) { - oprot.writeString(_iter1526); + oprot.writeString(_iter1534); } } } @@ -121302,9 +121332,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 _iter1527 : struct.group_names) + for (String _iter1535 : struct.group_names) { - oprot.writeString(_iter1527); + oprot.writeString(_iter1535); } } } @@ -121324,13 +121354,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1528 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1528.size); - String _elem1529; - for (int _i1530 = 0; _i1530 < _list1528.size; ++_i1530) + org.apache.thrift.protocol.TList _list1536 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1536.size); + String _elem1537; + for (int _i1538 = 0; _i1538 < _list1536.size; ++_i1538) { - _elem1529 = iprot.readString(); - struct.part_vals.add(_elem1529); + _elem1537 = iprot.readString(); + struct.part_vals.add(_elem1537); } } struct.setPart_valsIsSet(true); @@ -121345,13 +121375,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1531 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1531.size); - String _elem1532; - for (int _i1533 = 0; _i1533 < _list1531.size; ++_i1533) + org.apache.thrift.protocol.TList _list1539 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1539.size); + String _elem1540; + for (int _i1541 = 0; _i1541 < _list1539.size; ++_i1541) { - _elem1532 = iprot.readString(); - struct.group_names.add(_elem1532); + _elem1540 = iprot.readString(); + struct.group_names.add(_elem1540); } } struct.setGroup_namesIsSet(true); @@ -121838,14 +121868,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 _list1534 = iprot.readListBegin(); - struct.success = new ArrayList(_list1534.size); - Partition _elem1535; - for (int _i1536 = 0; _i1536 < _list1534.size; ++_i1536) + org.apache.thrift.protocol.TList _list1542 = iprot.readListBegin(); + struct.success = new ArrayList(_list1542.size); + Partition _elem1543; + for (int _i1544 = 0; _i1544 < _list1542.size; ++_i1544) { - _elem1535 = new Partition(); - _elem1535.read(iprot); - struct.success.add(_elem1535); + _elem1543 = new Partition(); + _elem1543.read(iprot); + struct.success.add(_elem1543); } iprot.readListEnd(); } @@ -121889,9 +121919,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 _iter1537 : struct.success) + for (Partition _iter1545 : struct.success) { - _iter1537.write(oprot); + _iter1545.write(oprot); } oprot.writeListEnd(); } @@ -121938,9 +121968,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1538 : struct.success) + for (Partition _iter1546 : struct.success) { - _iter1538.write(oprot); + _iter1546.write(oprot); } } } @@ -121958,14 +121988,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 _list1539 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1539.size); - Partition _elem1540; - for (int _i1541 = 0; _i1541 < _list1539.size; ++_i1541) + org.apache.thrift.protocol.TList _list1547 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1547.size); + Partition _elem1548; + for (int _i1549 = 0; _i1549 < _list1547.size; ++_i1549) { - _elem1540 = new Partition(); - _elem1540.read(iprot); - struct.success.add(_elem1540); + _elem1548 = new Partition(); + _elem1548.read(iprot); + struct.success.add(_elem1548); } } struct.setSuccessIsSet(true); @@ -122558,13 +122588,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 _list1542 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1542.size); - String _elem1543; - for (int _i1544 = 0; _i1544 < _list1542.size; ++_i1544) + org.apache.thrift.protocol.TList _list1550 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1550.size); + String _elem1551; + for (int _i1552 = 0; _i1552 < _list1550.size; ++_i1552) { - _elem1543 = iprot.readString(); - struct.part_vals.add(_elem1543); + _elem1551 = iprot.readString(); + struct.part_vals.add(_elem1551); } iprot.readListEnd(); } @@ -122608,9 +122638,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 _iter1545 : struct.part_vals) + for (String _iter1553 : struct.part_vals) { - oprot.writeString(_iter1545); + oprot.writeString(_iter1553); } oprot.writeListEnd(); } @@ -122659,9 +122689,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 _iter1546 : struct.part_vals) + for (String _iter1554 : struct.part_vals) { - oprot.writeString(_iter1546); + oprot.writeString(_iter1554); } } } @@ -122684,13 +122714,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1547 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1547.size); - String _elem1548; - for (int _i1549 = 0; _i1549 < _list1547.size; ++_i1549) + org.apache.thrift.protocol.TList _list1555 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1555.size); + String _elem1556; + for (int _i1557 = 0; _i1557 < _list1555.size; ++_i1557) { - _elem1548 = iprot.readString(); - struct.part_vals.add(_elem1548); + _elem1556 = iprot.readString(); + struct.part_vals.add(_elem1556); } } struct.setPart_valsIsSet(true); @@ -123178,13 +123208,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 _list1550 = iprot.readListBegin(); - struct.success = new ArrayList(_list1550.size); - String _elem1551; - for (int _i1552 = 0; _i1552 < _list1550.size; ++_i1552) + org.apache.thrift.protocol.TList _list1558 = iprot.readListBegin(); + struct.success = new ArrayList(_list1558.size); + String _elem1559; + for (int _i1560 = 0; _i1560 < _list1558.size; ++_i1560) { - _elem1551 = iprot.readString(); - struct.success.add(_elem1551); + _elem1559 = iprot.readString(); + struct.success.add(_elem1559); } iprot.readListEnd(); } @@ -123228,9 +123258,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 _iter1553 : struct.success) + for (String _iter1561 : struct.success) { - oprot.writeString(_iter1553); + oprot.writeString(_iter1561); } oprot.writeListEnd(); } @@ -123277,9 +123307,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1554 : struct.success) + for (String _iter1562 : struct.success) { - oprot.writeString(_iter1554); + oprot.writeString(_iter1562); } } } @@ -123297,13 +123327,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 _list1555 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1555.size); - String _elem1556; - for (int _i1557 = 0; _i1557 < _list1555.size; ++_i1557) + org.apache.thrift.protocol.TList _list1563 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1563.size); + String _elem1564; + for (int _i1565 = 0; _i1565 < _list1563.size; ++_i1565) { - _elem1556 = iprot.readString(); - struct.success.add(_elem1556); + _elem1564 = iprot.readString(); + struct.success.add(_elem1564); } } struct.setSuccessIsSet(true); @@ -124470,14 +124500,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 _list1558 = iprot.readListBegin(); - struct.success = new ArrayList(_list1558.size); - Partition _elem1559; - for (int _i1560 = 0; _i1560 < _list1558.size; ++_i1560) + org.apache.thrift.protocol.TList _list1566 = iprot.readListBegin(); + struct.success = new ArrayList(_list1566.size); + Partition _elem1567; + for (int _i1568 = 0; _i1568 < _list1566.size; ++_i1568) { - _elem1559 = new Partition(); - _elem1559.read(iprot); - struct.success.add(_elem1559); + _elem1567 = new Partition(); + _elem1567.read(iprot); + struct.success.add(_elem1567); } iprot.readListEnd(); } @@ -124521,9 +124551,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 _iter1561 : struct.success) + for (Partition _iter1569 : struct.success) { - _iter1561.write(oprot); + _iter1569.write(oprot); } oprot.writeListEnd(); } @@ -124570,9 +124600,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1562 : struct.success) + for (Partition _iter1570 : struct.success) { - _iter1562.write(oprot); + _iter1570.write(oprot); } } } @@ -124590,14 +124620,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 _list1563 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1563.size); - Partition _elem1564; - for (int _i1565 = 0; _i1565 < _list1563.size; ++_i1565) + org.apache.thrift.protocol.TList _list1571 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1571.size); + Partition _elem1572; + for (int _i1573 = 0; _i1573 < _list1571.size; ++_i1573) { - _elem1564 = new Partition(); - _elem1564.read(iprot); - struct.success.add(_elem1564); + _elem1572 = new Partition(); + _elem1572.read(iprot); + struct.success.add(_elem1572); } } struct.setSuccessIsSet(true); @@ -125764,14 +125794,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 _list1566 = iprot.readListBegin(); - struct.success = new ArrayList(_list1566.size); - PartitionSpec _elem1567; - for (int _i1568 = 0; _i1568 < _list1566.size; ++_i1568) + org.apache.thrift.protocol.TList _list1574 = iprot.readListBegin(); + struct.success = new ArrayList(_list1574.size); + PartitionSpec _elem1575; + for (int _i1576 = 0; _i1576 < _list1574.size; ++_i1576) { - _elem1567 = new PartitionSpec(); - _elem1567.read(iprot); - struct.success.add(_elem1567); + _elem1575 = new PartitionSpec(); + _elem1575.read(iprot); + struct.success.add(_elem1575); } iprot.readListEnd(); } @@ -125815,9 +125845,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 _iter1569 : struct.success) + for (PartitionSpec _iter1577 : struct.success) { - _iter1569.write(oprot); + _iter1577.write(oprot); } oprot.writeListEnd(); } @@ -125864,9 +125894,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 _iter1570 : struct.success) + for (PartitionSpec _iter1578 : struct.success) { - _iter1570.write(oprot); + _iter1578.write(oprot); } } } @@ -125884,14 +125914,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 _list1571 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1571.size); - PartitionSpec _elem1572; - for (int _i1573 = 0; _i1573 < _list1571.size; ++_i1573) + org.apache.thrift.protocol.TList _list1579 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1579.size); + PartitionSpec _elem1580; + for (int _i1581 = 0; _i1581 < _list1579.size; ++_i1581) { - _elem1572 = new PartitionSpec(); - _elem1572.read(iprot); - struct.success.add(_elem1572); + _elem1580 = new PartitionSpec(); + _elem1580.read(iprot); + struct.success.add(_elem1580); } } struct.setSuccessIsSet(true); @@ -128475,13 +128505,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 _list1574 = iprot.readListBegin(); - struct.names = new ArrayList(_list1574.size); - String _elem1575; - for (int _i1576 = 0; _i1576 < _list1574.size; ++_i1576) + org.apache.thrift.protocol.TList _list1582 = iprot.readListBegin(); + struct.names = new ArrayList(_list1582.size); + String _elem1583; + for (int _i1584 = 0; _i1584 < _list1582.size; ++_i1584) { - _elem1575 = iprot.readString(); - struct.names.add(_elem1575); + _elem1583 = iprot.readString(); + struct.names.add(_elem1583); } iprot.readListEnd(); } @@ -128517,9 +128547,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 _iter1577 : struct.names) + for (String _iter1585 : struct.names) { - oprot.writeString(_iter1577); + oprot.writeString(_iter1585); } oprot.writeListEnd(); } @@ -128562,9 +128592,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter1578 : struct.names) + for (String _iter1586 : struct.names) { - oprot.writeString(_iter1578); + oprot.writeString(_iter1586); } } } @@ -128584,13 +128614,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1579 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list1579.size); - String _elem1580; - for (int _i1581 = 0; _i1581 < _list1579.size; ++_i1581) + org.apache.thrift.protocol.TList _list1587 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list1587.size); + String _elem1588; + for (int _i1589 = 0; _i1589 < _list1587.size; ++_i1589) { - _elem1580 = iprot.readString(); - struct.names.add(_elem1580); + _elem1588 = iprot.readString(); + struct.names.add(_elem1588); } } struct.setNamesIsSet(true); @@ -129077,14 +129107,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 _list1582 = iprot.readListBegin(); - struct.success = new ArrayList(_list1582.size); - Partition _elem1583; - for (int _i1584 = 0; _i1584 < _list1582.size; ++_i1584) + org.apache.thrift.protocol.TList _list1590 = iprot.readListBegin(); + struct.success = new ArrayList(_list1590.size); + Partition _elem1591; + for (int _i1592 = 0; _i1592 < _list1590.size; ++_i1592) { - _elem1583 = new Partition(); - _elem1583.read(iprot); - struct.success.add(_elem1583); + _elem1591 = new Partition(); + _elem1591.read(iprot); + struct.success.add(_elem1591); } iprot.readListEnd(); } @@ -129128,9 +129158,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 _iter1585 : struct.success) + for (Partition _iter1593 : struct.success) { - _iter1585.write(oprot); + _iter1593.write(oprot); } oprot.writeListEnd(); } @@ -129177,9 +129207,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1586 : struct.success) + for (Partition _iter1594 : struct.success) { - _iter1586.write(oprot); + _iter1594.write(oprot); } } } @@ -129197,14 +129227,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 _list1587 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1587.size); - Partition _elem1588; - for (int _i1589 = 0; _i1589 < _list1587.size; ++_i1589) + org.apache.thrift.protocol.TList _list1595 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1595.size); + Partition _elem1596; + for (int _i1597 = 0; _i1597 < _list1595.size; ++_i1597) { - _elem1588 = new Partition(); - _elem1588.read(iprot); - struct.success.add(_elem1588); + _elem1596 = new Partition(); + _elem1596.read(iprot); + struct.success.add(_elem1596); } } struct.setSuccessIsSet(true); @@ -131692,14 +131722,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 _list1590 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1590.size); - Partition _elem1591; - for (int _i1592 = 0; _i1592 < _list1590.size; ++_i1592) + org.apache.thrift.protocol.TList _list1598 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1598.size); + Partition _elem1599; + for (int _i1600 = 0; _i1600 < _list1598.size; ++_i1600) { - _elem1591 = new Partition(); - _elem1591.read(iprot); - struct.new_parts.add(_elem1591); + _elem1599 = new Partition(); + _elem1599.read(iprot); + struct.new_parts.add(_elem1599); } iprot.readListEnd(); } @@ -131735,9 +131765,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 _iter1593 : struct.new_parts) + for (Partition _iter1601 : struct.new_parts) { - _iter1593.write(oprot); + _iter1601.write(oprot); } oprot.writeListEnd(); } @@ -131780,9 +131810,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 _iter1594 : struct.new_parts) + for (Partition _iter1602 : struct.new_parts) { - _iter1594.write(oprot); + _iter1602.write(oprot); } } } @@ -131802,14 +131832,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1595 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1595.size); - Partition _elem1596; - for (int _i1597 = 0; _i1597 < _list1595.size; ++_i1597) + org.apache.thrift.protocol.TList _list1603 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1603.size); + Partition _elem1604; + for (int _i1605 = 0; _i1605 < _list1603.size; ++_i1605) { - _elem1596 = new Partition(); - _elem1596.read(iprot); - struct.new_parts.add(_elem1596); + _elem1604 = new Partition(); + _elem1604.read(iprot); + struct.new_parts.add(_elem1604); } } struct.setNew_partsIsSet(true); @@ -132862,14 +132892,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, alter_partitions_wi case 3: // NEW_PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1598 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1598.size); - Partition _elem1599; - for (int _i1600 = 0; _i1600 < _list1598.size; ++_i1600) + org.apache.thrift.protocol.TList _list1606 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1606.size); + Partition _elem1607; + for (int _i1608 = 0; _i1608 < _list1606.size; ++_i1608) { - _elem1599 = new Partition(); - _elem1599.read(iprot); - struct.new_parts.add(_elem1599); + _elem1607 = new Partition(); + _elem1607.read(iprot); + struct.new_parts.add(_elem1607); } iprot.readListEnd(); } @@ -132914,9 +132944,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, alter_partitions_w oprot.writeFieldBegin(NEW_PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.new_parts.size())); - for (Partition _iter1601 : struct.new_parts) + for (Partition _iter1609 : struct.new_parts) { - _iter1601.write(oprot); + _iter1609.write(oprot); } oprot.writeListEnd(); } @@ -132967,9 +132997,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wi if (struct.isSetNew_parts()) { { oprot.writeI32(struct.new_parts.size()); - for (Partition _iter1602 : struct.new_parts) + for (Partition _iter1610 : struct.new_parts) { - _iter1602.write(oprot); + _iter1610.write(oprot); } } } @@ -132992,14 +133022,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1603 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1603.size); - Partition _elem1604; - for (int _i1605 = 0; _i1605 < _list1603.size; ++_i1605) + org.apache.thrift.protocol.TList _list1611 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1611.size); + Partition _elem1612; + for (int _i1613 = 0; _i1613 < _list1611.size; ++_i1613) { - _elem1604 = new Partition(); - _elem1604.read(iprot); - struct.new_parts.add(_elem1604); + _elem1612 = new Partition(); + _elem1612.read(iprot); + struct.new_parts.add(_elem1612); } } struct.setNew_partsIsSet(true); @@ -136138,13 +136168,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 _list1606 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1606.size); - String _elem1607; - for (int _i1608 = 0; _i1608 < _list1606.size; ++_i1608) + org.apache.thrift.protocol.TList _list1614 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1614.size); + String _elem1615; + for (int _i1616 = 0; _i1616 < _list1614.size; ++_i1616) { - _elem1607 = iprot.readString(); - struct.part_vals.add(_elem1607); + _elem1615 = iprot.readString(); + struct.part_vals.add(_elem1615); } iprot.readListEnd(); } @@ -136189,9 +136219,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 _iter1609 : struct.part_vals) + for (String _iter1617 : struct.part_vals) { - oprot.writeString(_iter1609); + oprot.writeString(_iter1617); } oprot.writeListEnd(); } @@ -136242,9 +136272,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 _iter1610 : struct.part_vals) + for (String _iter1618 : struct.part_vals) { - oprot.writeString(_iter1610); + oprot.writeString(_iter1618); } } } @@ -136267,13 +136297,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1611 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1611.size); - String _elem1612; - for (int _i1613 = 0; _i1613 < _list1611.size; ++_i1613) + org.apache.thrift.protocol.TList _list1619 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1619.size); + String _elem1620; + for (int _i1621 = 0; _i1621 < _list1619.size; ++_i1621) { - _elem1612 = iprot.readString(); - struct.part_vals.add(_elem1612); + _elem1620 = iprot.readString(); + struct.part_vals.add(_elem1620); } } struct.setPart_valsIsSet(true); @@ -138085,13 +138115,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 _list1614 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1614.size); - String _elem1615; - for (int _i1616 = 0; _i1616 < _list1614.size; ++_i1616) + org.apache.thrift.protocol.TList _list1622 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1622.size); + String _elem1623; + for (int _i1624 = 0; _i1624 < _list1622.size; ++_i1624) { - _elem1615 = iprot.readString(); - struct.part_vals.add(_elem1615); + _elem1623 = iprot.readString(); + struct.part_vals.add(_elem1623); } iprot.readListEnd(); } @@ -138125,9 +138155,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 _iter1617 : struct.part_vals) + for (String _iter1625 : struct.part_vals) { - oprot.writeString(_iter1617); + oprot.writeString(_iter1625); } oprot.writeListEnd(); } @@ -138164,9 +138194,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 _iter1618 : struct.part_vals) + for (String _iter1626 : struct.part_vals) { - oprot.writeString(_iter1618); + oprot.writeString(_iter1626); } } } @@ -138181,13 +138211,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 _list1619 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1619.size); - String _elem1620; - for (int _i1621 = 0; _i1621 < _list1619.size; ++_i1621) + org.apache.thrift.protocol.TList _list1627 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1627.size); + String _elem1628; + for (int _i1629 = 0; _i1629 < _list1627.size; ++_i1629) { - _elem1620 = iprot.readString(); - struct.part_vals.add(_elem1620); + _elem1628 = iprot.readString(); + struct.part_vals.add(_elem1628); } } struct.setPart_valsIsSet(true); @@ -140342,13 +140372,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 _list1622 = iprot.readListBegin(); - struct.success = new ArrayList(_list1622.size); - String _elem1623; - for (int _i1624 = 0; _i1624 < _list1622.size; ++_i1624) + org.apache.thrift.protocol.TList _list1630 = iprot.readListBegin(); + struct.success = new ArrayList(_list1630.size); + String _elem1631; + for (int _i1632 = 0; _i1632 < _list1630.size; ++_i1632) { - _elem1623 = iprot.readString(); - struct.success.add(_elem1623); + _elem1631 = iprot.readString(); + struct.success.add(_elem1631); } iprot.readListEnd(); } @@ -140383,9 +140413,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 _iter1625 : struct.success) + for (String _iter1633 : struct.success) { - oprot.writeString(_iter1625); + oprot.writeString(_iter1633); } oprot.writeListEnd(); } @@ -140424,9 +140454,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1626 : struct.success) + for (String _iter1634 : struct.success) { - oprot.writeString(_iter1626); + oprot.writeString(_iter1634); } } } @@ -140441,13 +140471,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 _list1627 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1627.size); - String _elem1628; - for (int _i1629 = 0; _i1629 < _list1627.size; ++_i1629) + org.apache.thrift.protocol.TList _list1635 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1635.size); + String _elem1636; + for (int _i1637 = 0; _i1637 < _list1635.size; ++_i1637) { - _elem1628 = iprot.readString(); - struct.success.add(_elem1628); + _elem1636 = iprot.readString(); + struct.success.add(_elem1636); } } struct.setSuccessIsSet(true); @@ -141210,15 +141240,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 _map1630 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1630.size); - String _key1631; - String _val1632; - for (int _i1633 = 0; _i1633 < _map1630.size; ++_i1633) + org.apache.thrift.protocol.TMap _map1638 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1638.size); + String _key1639; + String _val1640; + for (int _i1641 = 0; _i1641 < _map1638.size; ++_i1641) { - _key1631 = iprot.readString(); - _val1632 = iprot.readString(); - struct.success.put(_key1631, _val1632); + _key1639 = iprot.readString(); + _val1640 = iprot.readString(); + struct.success.put(_key1639, _val1640); } iprot.readMapEnd(); } @@ -141253,10 +141283,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 _iter1634 : struct.success.entrySet()) + for (Map.Entry _iter1642 : struct.success.entrySet()) { - oprot.writeString(_iter1634.getKey()); - oprot.writeString(_iter1634.getValue()); + oprot.writeString(_iter1642.getKey()); + oprot.writeString(_iter1642.getValue()); } oprot.writeMapEnd(); } @@ -141295,10 +141325,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 _iter1635 : struct.success.entrySet()) + for (Map.Entry _iter1643 : struct.success.entrySet()) { - oprot.writeString(_iter1635.getKey()); - oprot.writeString(_iter1635.getValue()); + oprot.writeString(_iter1643.getKey()); + oprot.writeString(_iter1643.getValue()); } } } @@ -141313,15 +141343,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 _map1636 = 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*_map1636.size); - String _key1637; - String _val1638; - for (int _i1639 = 0; _i1639 < _map1636.size; ++_i1639) + org.apache.thrift.protocol.TMap _map1644 = 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*_map1644.size); + String _key1645; + String _val1646; + for (int _i1647 = 0; _i1647 < _map1644.size; ++_i1647) { - _key1637 = iprot.readString(); - _val1638 = iprot.readString(); - struct.success.put(_key1637, _val1638); + _key1645 = iprot.readString(); + _val1646 = iprot.readString(); + struct.success.put(_key1645, _val1646); } } struct.setSuccessIsSet(true); @@ -141916,15 +141946,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 _map1640 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1640.size); - String _key1641; - String _val1642; - for (int _i1643 = 0; _i1643 < _map1640.size; ++_i1643) + org.apache.thrift.protocol.TMap _map1648 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1648.size); + String _key1649; + String _val1650; + for (int _i1651 = 0; _i1651 < _map1648.size; ++_i1651) { - _key1641 = iprot.readString(); - _val1642 = iprot.readString(); - struct.part_vals.put(_key1641, _val1642); + _key1649 = iprot.readString(); + _val1650 = iprot.readString(); + struct.part_vals.put(_key1649, _val1650); } iprot.readMapEnd(); } @@ -141968,10 +141998,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 _iter1644 : struct.part_vals.entrySet()) + for (Map.Entry _iter1652 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1644.getKey()); - oprot.writeString(_iter1644.getValue()); + oprot.writeString(_iter1652.getKey()); + oprot.writeString(_iter1652.getValue()); } oprot.writeMapEnd(); } @@ -142022,10 +142052,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1645 : struct.part_vals.entrySet()) + for (Map.Entry _iter1653 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1645.getKey()); - oprot.writeString(_iter1645.getValue()); + oprot.writeString(_iter1653.getKey()); + oprot.writeString(_iter1653.getValue()); } } } @@ -142048,15 +142078,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1646 = 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*_map1646.size); - String _key1647; - String _val1648; - for (int _i1649 = 0; _i1649 < _map1646.size; ++_i1649) + org.apache.thrift.protocol.TMap _map1654 = 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*_map1654.size); + String _key1655; + String _val1656; + for (int _i1657 = 0; _i1657 < _map1654.size; ++_i1657) { - _key1647 = iprot.readString(); - _val1648 = iprot.readString(); - struct.part_vals.put(_key1647, _val1648); + _key1655 = iprot.readString(); + _val1656 = iprot.readString(); + struct.part_vals.put(_key1655, _val1656); } } struct.setPart_valsIsSet(true); @@ -143540,15 +143570,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 _map1650 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1650.size); - String _key1651; - String _val1652; - for (int _i1653 = 0; _i1653 < _map1650.size; ++_i1653) + org.apache.thrift.protocol.TMap _map1658 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1658.size); + String _key1659; + String _val1660; + for (int _i1661 = 0; _i1661 < _map1658.size; ++_i1661) { - _key1651 = iprot.readString(); - _val1652 = iprot.readString(); - struct.part_vals.put(_key1651, _val1652); + _key1659 = iprot.readString(); + _val1660 = iprot.readString(); + struct.part_vals.put(_key1659, _val1660); } iprot.readMapEnd(); } @@ -143592,10 +143622,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 _iter1654 : struct.part_vals.entrySet()) + for (Map.Entry _iter1662 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1654.getKey()); - oprot.writeString(_iter1654.getValue()); + oprot.writeString(_iter1662.getKey()); + oprot.writeString(_iter1662.getValue()); } oprot.writeMapEnd(); } @@ -143646,10 +143676,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1655 : struct.part_vals.entrySet()) + for (Map.Entry _iter1663 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1655.getKey()); - oprot.writeString(_iter1655.getValue()); + oprot.writeString(_iter1663.getKey()); + oprot.writeString(_iter1663.getValue()); } } } @@ -143672,15 +143702,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1656 = 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*_map1656.size); - String _key1657; - String _val1658; - for (int _i1659 = 0; _i1659 < _map1656.size; ++_i1659) + org.apache.thrift.protocol.TMap _map1664 = 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*_map1664.size); + String _key1665; + String _val1666; + for (int _i1667 = 0; _i1667 < _map1664.size; ++_i1667) { - _key1657 = iprot.readString(); - _val1658 = iprot.readString(); - struct.part_vals.put(_key1657, _val1658); + _key1665 = iprot.readString(); + _val1666 = iprot.readString(); + struct.part_vals.put(_key1665, _val1666); } } struct.setPart_valsIsSet(true); @@ -168336,13 +168366,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 _list1660 = iprot.readListBegin(); - struct.success = new ArrayList(_list1660.size); - String _elem1661; - for (int _i1662 = 0; _i1662 < _list1660.size; ++_i1662) + org.apache.thrift.protocol.TList _list1668 = iprot.readListBegin(); + struct.success = new ArrayList(_list1668.size); + String _elem1669; + for (int _i1670 = 0; _i1670 < _list1668.size; ++_i1670) { - _elem1661 = iprot.readString(); - struct.success.add(_elem1661); + _elem1669 = iprot.readString(); + struct.success.add(_elem1669); } iprot.readListEnd(); } @@ -168377,9 +168407,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 _iter1663 : struct.success) + for (String _iter1671 : struct.success) { - oprot.writeString(_iter1663); + oprot.writeString(_iter1671); } oprot.writeListEnd(); } @@ -168418,9 +168448,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1664 : struct.success) + for (String _iter1672 : struct.success) { - oprot.writeString(_iter1664); + oprot.writeString(_iter1672); } } } @@ -168435,13 +168465,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 _list1665 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1665.size); - String _elem1666; - for (int _i1667 = 0; _i1667 < _list1665.size; ++_i1667) + org.apache.thrift.protocol.TList _list1673 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1673.size); + String _elem1674; + for (int _i1675 = 0; _i1675 < _list1673.size; ++_i1675) { - _elem1666 = iprot.readString(); - struct.success.add(_elem1666); + _elem1674 = iprot.readString(); + struct.success.add(_elem1674); } } struct.setSuccessIsSet(true); @@ -172496,13 +172526,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 _list1668 = iprot.readListBegin(); - struct.success = new ArrayList(_list1668.size); - String _elem1669; - for (int _i1670 = 0; _i1670 < _list1668.size; ++_i1670) + org.apache.thrift.protocol.TList _list1676 = iprot.readListBegin(); + struct.success = new ArrayList(_list1676.size); + String _elem1677; + for (int _i1678 = 0; _i1678 < _list1676.size; ++_i1678) { - _elem1669 = iprot.readString(); - struct.success.add(_elem1669); + _elem1677 = iprot.readString(); + struct.success.add(_elem1677); } iprot.readListEnd(); } @@ -172537,9 +172567,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 _iter1671 : struct.success) + for (String _iter1679 : struct.success) { - oprot.writeString(_iter1671); + oprot.writeString(_iter1679); } oprot.writeListEnd(); } @@ -172578,9 +172608,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1672 : struct.success) + for (String _iter1680 : struct.success) { - oprot.writeString(_iter1672); + oprot.writeString(_iter1680); } } } @@ -172595,13 +172625,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 _list1673 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1673.size); - String _elem1674; - for (int _i1675 = 0; _i1675 < _list1673.size; ++_i1675) + org.apache.thrift.protocol.TList _list1681 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1681.size); + String _elem1682; + for (int _i1683 = 0; _i1683 < _list1681.size; ++_i1683) { - _elem1674 = iprot.readString(); - struct.success.add(_elem1674); + _elem1682 = iprot.readString(); + struct.success.add(_elem1682); } } struct.setSuccessIsSet(true); @@ -175892,14 +175922,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 _list1676 = iprot.readListBegin(); - struct.success = new ArrayList(_list1676.size); - Role _elem1677; - for (int _i1678 = 0; _i1678 < _list1676.size; ++_i1678) + org.apache.thrift.protocol.TList _list1684 = iprot.readListBegin(); + struct.success = new ArrayList(_list1684.size); + Role _elem1685; + for (int _i1686 = 0; _i1686 < _list1684.size; ++_i1686) { - _elem1677 = new Role(); - _elem1677.read(iprot); - struct.success.add(_elem1677); + _elem1685 = new Role(); + _elem1685.read(iprot); + struct.success.add(_elem1685); } iprot.readListEnd(); } @@ -175934,9 +175964,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 _iter1679 : struct.success) + for (Role _iter1687 : struct.success) { - _iter1679.write(oprot); + _iter1687.write(oprot); } oprot.writeListEnd(); } @@ -175975,9 +176005,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1680 : struct.success) + for (Role _iter1688 : struct.success) { - _iter1680.write(oprot); + _iter1688.write(oprot); } } } @@ -175992,14 +176022,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 _list1681 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1681.size); - Role _elem1682; - for (int _i1683 = 0; _i1683 < _list1681.size; ++_i1683) + org.apache.thrift.protocol.TList _list1689 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1689.size); + Role _elem1690; + for (int _i1691 = 0; _i1691 < _list1689.size; ++_i1691) { - _elem1682 = new Role(); - _elem1682.read(iprot); - struct.success.add(_elem1682); + _elem1690 = new Role(); + _elem1690.read(iprot); + struct.success.add(_elem1690); } } struct.setSuccessIsSet(true); @@ -179004,13 +179034,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 _list1684 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1684.size); - String _elem1685; - for (int _i1686 = 0; _i1686 < _list1684.size; ++_i1686) + org.apache.thrift.protocol.TList _list1692 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1692.size); + String _elem1693; + for (int _i1694 = 0; _i1694 < _list1692.size; ++_i1694) { - _elem1685 = iprot.readString(); - struct.group_names.add(_elem1685); + _elem1693 = iprot.readString(); + struct.group_names.add(_elem1693); } iprot.readListEnd(); } @@ -179046,9 +179076,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 _iter1687 : struct.group_names) + for (String _iter1695 : struct.group_names) { - oprot.writeString(_iter1687); + oprot.writeString(_iter1695); } oprot.writeListEnd(); } @@ -179091,9 +179121,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 _iter1688 : struct.group_names) + for (String _iter1696 : struct.group_names) { - oprot.writeString(_iter1688); + oprot.writeString(_iter1696); } } } @@ -179114,13 +179144,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1689 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1689.size); - String _elem1690; - for (int _i1691 = 0; _i1691 < _list1689.size; ++_i1691) + org.apache.thrift.protocol.TList _list1697 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1697.size); + String _elem1698; + for (int _i1699 = 0; _i1699 < _list1697.size; ++_i1699) { - _elem1690 = iprot.readString(); - struct.group_names.add(_elem1690); + _elem1698 = iprot.readString(); + struct.group_names.add(_elem1698); } } struct.setGroup_namesIsSet(true); @@ -180578,14 +180608,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 _list1692 = iprot.readListBegin(); - struct.success = new ArrayList(_list1692.size); - HiveObjectPrivilege _elem1693; - for (int _i1694 = 0; _i1694 < _list1692.size; ++_i1694) + org.apache.thrift.protocol.TList _list1700 = iprot.readListBegin(); + struct.success = new ArrayList(_list1700.size); + HiveObjectPrivilege _elem1701; + for (int _i1702 = 0; _i1702 < _list1700.size; ++_i1702) { - _elem1693 = new HiveObjectPrivilege(); - _elem1693.read(iprot); - struct.success.add(_elem1693); + _elem1701 = new HiveObjectPrivilege(); + _elem1701.read(iprot); + struct.success.add(_elem1701); } iprot.readListEnd(); } @@ -180620,9 +180650,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 _iter1695 : struct.success) + for (HiveObjectPrivilege _iter1703 : struct.success) { - _iter1695.write(oprot); + _iter1703.write(oprot); } oprot.writeListEnd(); } @@ -180661,9 +180691,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1696 : struct.success) + for (HiveObjectPrivilege _iter1704 : struct.success) { - _iter1696.write(oprot); + _iter1704.write(oprot); } } } @@ -180678,14 +180708,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 _list1697 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1697.size); - HiveObjectPrivilege _elem1698; - for (int _i1699 = 0; _i1699 < _list1697.size; ++_i1699) + org.apache.thrift.protocol.TList _list1705 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1705.size); + HiveObjectPrivilege _elem1706; + for (int _i1707 = 0; _i1707 < _list1705.size; ++_i1707) { - _elem1698 = new HiveObjectPrivilege(); - _elem1698.read(iprot); - struct.success.add(_elem1698); + _elem1706 = new HiveObjectPrivilege(); + _elem1706.read(iprot); + struct.success.add(_elem1706); } } struct.setSuccessIsSet(true); @@ -184632,13 +184662,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 _list1700 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1700.size); - String _elem1701; - for (int _i1702 = 0; _i1702 < _list1700.size; ++_i1702) + org.apache.thrift.protocol.TList _list1708 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1708.size); + String _elem1709; + for (int _i1710 = 0; _i1710 < _list1708.size; ++_i1710) { - _elem1701 = iprot.readString(); - struct.group_names.add(_elem1701); + _elem1709 = iprot.readString(); + struct.group_names.add(_elem1709); } iprot.readListEnd(); } @@ -184669,9 +184699,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 _iter1703 : struct.group_names) + for (String _iter1711 : struct.group_names) { - oprot.writeString(_iter1703); + oprot.writeString(_iter1711); } oprot.writeListEnd(); } @@ -184708,9 +184738,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 _iter1704 : struct.group_names) + for (String _iter1712 : struct.group_names) { - oprot.writeString(_iter1704); + oprot.writeString(_iter1712); } } } @@ -184726,13 +184756,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1705 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1705.size); - String _elem1706; - for (int _i1707 = 0; _i1707 < _list1705.size; ++_i1707) + org.apache.thrift.protocol.TList _list1713 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1713.size); + String _elem1714; + for (int _i1715 = 0; _i1715 < _list1713.size; ++_i1715) { - _elem1706 = iprot.readString(); - struct.group_names.add(_elem1706); + _elem1714 = iprot.readString(); + struct.group_names.add(_elem1714); } } struct.setGroup_namesIsSet(true); @@ -185135,13 +185165,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 _list1708 = iprot.readListBegin(); - struct.success = new ArrayList(_list1708.size); - String _elem1709; - for (int _i1710 = 0; _i1710 < _list1708.size; ++_i1710) + org.apache.thrift.protocol.TList _list1716 = iprot.readListBegin(); + struct.success = new ArrayList(_list1716.size); + String _elem1717; + for (int _i1718 = 0; _i1718 < _list1716.size; ++_i1718) { - _elem1709 = iprot.readString(); - struct.success.add(_elem1709); + _elem1717 = iprot.readString(); + struct.success.add(_elem1717); } iprot.readListEnd(); } @@ -185176,9 +185206,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 _iter1711 : struct.success) + for (String _iter1719 : struct.success) { - oprot.writeString(_iter1711); + oprot.writeString(_iter1719); } oprot.writeListEnd(); } @@ -185217,9 +185247,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1712 : struct.success) + for (String _iter1720 : struct.success) { - oprot.writeString(_iter1712); + oprot.writeString(_iter1720); } } } @@ -185234,13 +185264,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 _list1713 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1713.size); - String _elem1714; - for (int _i1715 = 0; _i1715 < _list1713.size; ++_i1715) + org.apache.thrift.protocol.TList _list1721 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1721.size); + String _elem1722; + for (int _i1723 = 0; _i1723 < _list1721.size; ++_i1723) { - _elem1714 = iprot.readString(); - struct.success.add(_elem1714); + _elem1722 = iprot.readString(); + struct.success.add(_elem1722); } } struct.setSuccessIsSet(true); @@ -190531,13 +190561,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_all_token_ident case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1716 = iprot.readListBegin(); - struct.success = new ArrayList(_list1716.size); - String _elem1717; - for (int _i1718 = 0; _i1718 < _list1716.size; ++_i1718) + org.apache.thrift.protocol.TList _list1724 = iprot.readListBegin(); + struct.success = new ArrayList(_list1724.size); + String _elem1725; + for (int _i1726 = 0; _i1726 < _list1724.size; ++_i1726) { - _elem1717 = iprot.readString(); - struct.success.add(_elem1717); + _elem1725 = iprot.readString(); + struct.success.add(_elem1725); } iprot.readListEnd(); } @@ -190563,9 +190593,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_all_token_iden oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1719 : struct.success) + for (String _iter1727 : struct.success) { - oprot.writeString(_iter1719); + oprot.writeString(_iter1727); } oprot.writeListEnd(); } @@ -190596,9 +190626,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1720 : struct.success) + for (String _iter1728 : struct.success) { - oprot.writeString(_iter1720); + oprot.writeString(_iter1728); } } } @@ -190610,13 +190640,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_all_token_identi BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1721 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1721.size); - String _elem1722; - for (int _i1723 = 0; _i1723 < _list1721.size; ++_i1723) + org.apache.thrift.protocol.TList _list1729 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1729.size); + String _elem1730; + for (int _i1731 = 0; _i1731 < _list1729.size; ++_i1731) { - _elem1722 = iprot.readString(); - struct.success.add(_elem1722); + _elem1730 = iprot.readString(); + struct.success.add(_elem1730); } } struct.setSuccessIsSet(true); @@ -193646,13 +193676,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1724 = iprot.readListBegin(); - struct.success = new ArrayList(_list1724.size); - String _elem1725; - for (int _i1726 = 0; _i1726 < _list1724.size; ++_i1726) + org.apache.thrift.protocol.TList _list1732 = iprot.readListBegin(); + struct.success = new ArrayList(_list1732.size); + String _elem1733; + for (int _i1734 = 0; _i1734 < _list1732.size; ++_i1734) { - _elem1725 = iprot.readString(); - struct.success.add(_elem1725); + _elem1733 = iprot.readString(); + struct.success.add(_elem1733); } iprot.readListEnd(); } @@ -193678,9 +193708,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1727 : struct.success) + for (String _iter1735 : struct.success) { - oprot.writeString(_iter1727); + oprot.writeString(_iter1735); } oprot.writeListEnd(); } @@ -193711,9 +193741,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1728 : struct.success) + for (String _iter1736 : struct.success) { - oprot.writeString(_iter1728); + oprot.writeString(_iter1736); } } } @@ -193725,13 +193755,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_resu BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1729 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1729.size); - String _elem1730; - for (int _i1731 = 0; _i1731 < _list1729.size; ++_i1731) + org.apache.thrift.protocol.TList _list1737 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1737.size); + String _elem1738; + for (int _i1739 = 0; _i1739 < _list1737.size; ++_i1739) { - _elem1730 = iprot.readString(); - struct.success.add(_elem1730); + _elem1738 = iprot.readString(); + struct.success.add(_elem1738); } } struct.setSuccessIsSet(true); @@ -210852,13 +210882,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, find_columns_with_s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1732 = iprot.readListBegin(); - struct.success = new ArrayList(_list1732.size); - String _elem1733; - for (int _i1734 = 0; _i1734 < _list1732.size; ++_i1734) + org.apache.thrift.protocol.TList _list1740 = iprot.readListBegin(); + struct.success = new ArrayList(_list1740.size); + String _elem1741; + for (int _i1742 = 0; _i1742 < _list1740.size; ++_i1742) { - _elem1733 = iprot.readString(); - struct.success.add(_elem1733); + _elem1741 = iprot.readString(); + struct.success.add(_elem1741); } iprot.readListEnd(); } @@ -210884,9 +210914,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, find_columns_with_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1735 : struct.success) + for (String _iter1743 : struct.success) { - oprot.writeString(_iter1735); + oprot.writeString(_iter1743); } oprot.writeListEnd(); } @@ -210917,9 +210947,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, find_columns_with_s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1736 : struct.success) + for (String _iter1744 : struct.success) { - oprot.writeString(_iter1736); + oprot.writeString(_iter1744); } } } @@ -210931,13 +210961,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, find_columns_with_st BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1737 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1737.size); - String _elem1738; - for (int _i1739 = 0; _i1739 < _list1737.size; ++_i1739) + org.apache.thrift.protocol.TList _list1745 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1745.size); + String _elem1746; + for (int _i1747 = 0; _i1747 < _list1745.size; ++_i1747) { - _elem1738 = iprot.readString(); - struct.success.add(_elem1738); + _elem1746 = iprot.readString(); + struct.success.add(_elem1746); } } struct.setSuccessIsSet(true); @@ -247823,14 +247853,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_all_vers case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1740 = iprot.readListBegin(); - struct.success = new ArrayList(_list1740.size); - SchemaVersion _elem1741; - for (int _i1742 = 0; _i1742 < _list1740.size; ++_i1742) + org.apache.thrift.protocol.TList _list1748 = iprot.readListBegin(); + struct.success = new ArrayList(_list1748.size); + SchemaVersion _elem1749; + for (int _i1750 = 0; _i1750 < _list1748.size; ++_i1750) { - _elem1741 = new SchemaVersion(); - _elem1741.read(iprot); - struct.success.add(_elem1741); + _elem1749 = new SchemaVersion(); + _elem1749.read(iprot); + struct.success.add(_elem1749); } iprot.readListEnd(); } @@ -247874,9 +247904,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_all_ver oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (SchemaVersion _iter1743 : struct.success) + for (SchemaVersion _iter1751 : struct.success) { - _iter1743.write(oprot); + _iter1751.write(oprot); } oprot.writeListEnd(); } @@ -247923,9 +247953,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_all_vers if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (SchemaVersion _iter1744 : struct.success) + for (SchemaVersion _iter1752 : struct.success) { - _iter1744.write(oprot); + _iter1752.write(oprot); } } } @@ -247943,14 +247973,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_all_versi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1745 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1745.size); - SchemaVersion _elem1746; - for (int _i1747 = 0; _i1747 < _list1745.size; ++_i1747) + org.apache.thrift.protocol.TList _list1753 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1753.size); + SchemaVersion _elem1754; + for (int _i1755 = 0; _i1755 < _list1753.size; ++_i1755) { - _elem1746 = new SchemaVersion(); - _elem1746.read(iprot); - struct.success.add(_elem1746); + _elem1754 = new SchemaVersion(); + _elem1754.read(iprot); + struct.success.add(_elem1754); } } struct.setSuccessIsSet(true); @@ -256493,14 +256523,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_runtime_stats_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1748 = iprot.readListBegin(); - struct.success = new ArrayList(_list1748.size); - RuntimeStat _elem1749; - for (int _i1750 = 0; _i1750 < _list1748.size; ++_i1750) + org.apache.thrift.protocol.TList _list1756 = iprot.readListBegin(); + struct.success = new ArrayList(_list1756.size); + RuntimeStat _elem1757; + for (int _i1758 = 0; _i1758 < _list1756.size; ++_i1758) { - _elem1749 = new RuntimeStat(); - _elem1749.read(iprot); - struct.success.add(_elem1749); + _elem1757 = new RuntimeStat(); + _elem1757.read(iprot); + struct.success.add(_elem1757); } iprot.readListEnd(); } @@ -256535,9 +256565,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_runtime_stats_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (RuntimeStat _iter1751 : struct.success) + for (RuntimeStat _iter1759 : struct.success) { - _iter1751.write(oprot); + _iter1759.write(oprot); } oprot.writeListEnd(); } @@ -256576,9 +256606,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_runtime_stats_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (RuntimeStat _iter1752 : struct.success) + for (RuntimeStat _iter1760 : struct.success) { - _iter1752.write(oprot); + _iter1760.write(oprot); } } } @@ -256593,14 +256623,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_runtime_stats_re BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1753 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1753.size); - RuntimeStat _elem1754; - for (int _i1755 = 0; _i1755 < _list1753.size; ++_i1755) + org.apache.thrift.protocol.TList _list1761 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1761.size); + RuntimeStat _elem1762; + for (int _i1763 = 0; _i1763 < _list1761.size; ++_i1763) { - _elem1754 = new RuntimeStat(); - _elem1754.read(iprot); - struct.success.add(_elem1754); + _elem1762 = new RuntimeStat(); + _elem1762.read(iprot); + struct.success.add(_elem1762); } } struct.setSuccessIsSet(true); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php index da3b409b6c..8f21b87511 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ standalone-metastore/metastore-common/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -74,11 +74,11 @@ interface ThriftHiveMetastoreIf extends \FacebookServiceIf { public function create_database(\metastore\Database $database); /** * @param string $name + * @param string[] $processorCapabilities + * @param string $processorIdentifier * @return \metastore\Database - * @throws \metastore\NoSuchObjectException - * @throws \metastore\MetaException */ - public function get_database($name); + public function get_database($name, array $processorCapabilities, $processorIdentifier); /** * @param string $name * @param bool $deleteData @@ -2127,16 +2127,18 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas return; } - public function get_database($name) + public function get_database($name, array $processorCapabilities, $processorIdentifier) { - $this->send_get_database($name); + $this->send_get_database($name, $processorCapabilities, $processorIdentifier); return $this->recv_get_database(); } - public function send_get_database($name) + public function send_get_database($name, array $processorCapabilities, $processorIdentifier) { $args = new \metastore\ThriftHiveMetastore_get_database_args(); $args->name = $name; + $args->processorCapabilities = $processorCapabilities; + $args->processorIdentifier = $processorIdentifier; $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); if ($bin_accel) { @@ -2175,12 +2177,6 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas if ($result->success !== null) { return $result->success; } - if ($result->o1 !== null) { - throw $result->o1; - } - if ($result->o2 !== null) { - throw $result->o2; - } throw new \Exception("get_database failed: unknown result"); } @@ -16011,6 +16007,14 @@ class ThriftHiveMetastore_get_database_args { * @var string */ public $name = null; + /** + * @var string[] + */ + public $processorCapabilities = null; + /** + * @var string + */ + public $processorIdentifier = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -16019,12 +16023,30 @@ class ThriftHiveMetastore_get_database_args { 'var' => 'name', 'type' => TType::STRING, ), + 2 => array( + 'var' => 'processorCapabilities', + 'type' => TType::LST, + 'etype' => TType::STRING, + 'elem' => array( + 'type' => TType::STRING, + ), + ), + 3 => array( + 'var' => 'processorIdentifier', + 'type' => TType::STRING, + ), ); } if (is_array($vals)) { if (isset($vals['name'])) { $this->name = $vals['name']; } + if (isset($vals['processorCapabilities'])) { + $this->processorCapabilities = $vals['processorCapabilities']; + } + if (isset($vals['processorIdentifier'])) { + $this->processorIdentifier = $vals['processorIdentifier']; + } } } @@ -16054,6 +16076,30 @@ class ThriftHiveMetastore_get_database_args { $xfer += $input->skip($ftype); } break; + case 2: + if ($ftype == TType::LST) { + $this->processorCapabilities = array(); + $_size1022 = 0; + $_etype1025 = 0; + $xfer += $input->readListBegin($_etype1025, $_size1022); + for ($_i1026 = 0; $_i1026 < $_size1022; ++$_i1026) + { + $elem1027 = null; + $xfer += $input->readString($elem1027); + $this->processorCapabilities []= $elem1027; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + case 3: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->processorIdentifier); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -16072,6 +16118,28 @@ class ThriftHiveMetastore_get_database_args { $xfer += $output->writeString($this->name); $xfer += $output->writeFieldEnd(); } + if ($this->processorCapabilities !== null) { + if (!is_array($this->processorCapabilities)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('processorCapabilities', TType::LST, 2); + { + $output->writeListBegin(TType::STRING, count($this->processorCapabilities)); + { + foreach ($this->processorCapabilities as $iter1028) + { + $xfer += $output->writeString($iter1028); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + if ($this->processorIdentifier !== null) { + $xfer += $output->writeFieldBegin('processorIdentifier', TType::STRING, 3); + $xfer += $output->writeString($this->processorIdentifier); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -16086,14 +16154,6 @@ class ThriftHiveMetastore_get_database_result { * @var \metastore\Database */ public $success = null; - /** - * @var \metastore\NoSuchObjectException - */ - public $o1 = null; - /** - * @var \metastore\MetaException - */ - public $o2 = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -16103,28 +16163,12 @@ class ThriftHiveMetastore_get_database_result { 'type' => TType::STRUCT, 'class' => '\metastore\Database', ), - 1 => array( - 'var' => 'o1', - 'type' => TType::STRUCT, - 'class' => '\metastore\NoSuchObjectException', - ), - 2 => array( - 'var' => 'o2', - 'type' => TType::STRUCT, - 'class' => '\metastore\MetaException', - ), ); } if (is_array($vals)) { if (isset($vals['success'])) { $this->success = $vals['success']; } - if (isset($vals['o1'])) { - $this->o1 = $vals['o1']; - } - if (isset($vals['o2'])) { - $this->o2 = $vals['o2']; - } } } @@ -16155,22 +16199,6 @@ class ThriftHiveMetastore_get_database_result { $xfer += $input->skip($ftype); } break; - case 1: - if ($ftype == TType::STRUCT) { - $this->o1 = new \metastore\NoSuchObjectException(); - $xfer += $this->o1->read($input); - } else { - $xfer += $input->skip($ftype); - } - break; - case 2: - if ($ftype == TType::STRUCT) { - $this->o2 = new \metastore\MetaException(); - $xfer += $this->o2->read($input); - } else { - $xfer += $input->skip($ftype); - } - break; default: $xfer += $input->skip($ftype); break; @@ -16192,16 +16220,6 @@ class ThriftHiveMetastore_get_database_result { $xfer += $this->success->write($output); $xfer += $output->writeFieldEnd(); } - if ($this->o1 !== null) { - $xfer += $output->writeFieldBegin('o1', TType::STRUCT, 1); - $xfer += $this->o1->write($output); - $xfer += $output->writeFieldEnd(); - } - if ($this->o2 !== null) { - $xfer += $output->writeFieldBegin('o2', TType::STRUCT, 2); - $xfer += $this->o2->write($output); - $xfer += $output->writeFieldEnd(); - } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -16594,14 +16612,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1022 = 0; - $_etype1025 = 0; - $xfer += $input->readListBegin($_etype1025, $_size1022); - for ($_i1026 = 0; $_i1026 < $_size1022; ++$_i1026) + $_size1029 = 0; + $_etype1032 = 0; + $xfer += $input->readListBegin($_etype1032, $_size1029); + for ($_i1033 = 0; $_i1033 < $_size1029; ++$_i1033) { - $elem1027 = null; - $xfer += $input->readString($elem1027); - $this->success []= $elem1027; + $elem1034 = null; + $xfer += $input->readString($elem1034); + $this->success []= $elem1034; } $xfer += $input->readListEnd(); } else { @@ -16637,9 +16655,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1028) + foreach ($this->success as $iter1035) { - $xfer += $output->writeString($iter1028); + $xfer += $output->writeString($iter1035); } } $output->writeListEnd(); @@ -16770,14 +16788,14 @@ class ThriftHiveMetastore_get_all_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1029 = 0; - $_etype1032 = 0; - $xfer += $input->readListBegin($_etype1032, $_size1029); - for ($_i1033 = 0; $_i1033 < $_size1029; ++$_i1033) + $_size1036 = 0; + $_etype1039 = 0; + $xfer += $input->readListBegin($_etype1039, $_size1036); + for ($_i1040 = 0; $_i1040 < $_size1036; ++$_i1040) { - $elem1034 = null; - $xfer += $input->readString($elem1034); - $this->success []= $elem1034; + $elem1041 = null; + $xfer += $input->readString($elem1041); + $this->success []= $elem1041; } $xfer += $input->readListEnd(); } else { @@ -16813,9 +16831,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1035) + foreach ($this->success as $iter1042) { - $xfer += $output->writeString($iter1035); + $xfer += $output->writeString($iter1042); } } $output->writeListEnd(); @@ -17816,18 +17834,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1036 = 0; - $_ktype1037 = 0; - $_vtype1038 = 0; - $xfer += $input->readMapBegin($_ktype1037, $_vtype1038, $_size1036); - for ($_i1040 = 0; $_i1040 < $_size1036; ++$_i1040) + $_size1043 = 0; + $_ktype1044 = 0; + $_vtype1045 = 0; + $xfer += $input->readMapBegin($_ktype1044, $_vtype1045, $_size1043); + for ($_i1047 = 0; $_i1047 < $_size1043; ++$_i1047) { - $key1041 = ''; - $val1042 = new \metastore\Type(); - $xfer += $input->readString($key1041); - $val1042 = new \metastore\Type(); - $xfer += $val1042->read($input); - $this->success[$key1041] = $val1042; + $key1048 = ''; + $val1049 = new \metastore\Type(); + $xfer += $input->readString($key1048); + $val1049 = new \metastore\Type(); + $xfer += $val1049->read($input); + $this->success[$key1048] = $val1049; } $xfer += $input->readMapEnd(); } else { @@ -17863,10 +17881,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter1043 => $viter1044) + foreach ($this->success as $kiter1050 => $viter1051) { - $xfer += $output->writeString($kiter1043); - $xfer += $viter1044->write($output); + $xfer += $output->writeString($kiter1050); + $xfer += $viter1051->write($output); } } $output->writeMapEnd(); @@ -18070,15 +18088,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1045 = 0; - $_etype1048 = 0; - $xfer += $input->readListBegin($_etype1048, $_size1045); - for ($_i1049 = 0; $_i1049 < $_size1045; ++$_i1049) + $_size1052 = 0; + $_etype1055 = 0; + $xfer += $input->readListBegin($_etype1055, $_size1052); + for ($_i1056 = 0; $_i1056 < $_size1052; ++$_i1056) { - $elem1050 = null; - $elem1050 = new \metastore\FieldSchema(); - $xfer += $elem1050->read($input); - $this->success []= $elem1050; + $elem1057 = null; + $elem1057 = new \metastore\FieldSchema(); + $xfer += $elem1057->read($input); + $this->success []= $elem1057; } $xfer += $input->readListEnd(); } else { @@ -18130,9 +18148,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1051) + foreach ($this->success as $iter1058) { - $xfer += $iter1051->write($output); + $xfer += $iter1058->write($output); } } $output->writeListEnd(); @@ -18374,15 +18392,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1052 = 0; - $_etype1055 = 0; - $xfer += $input->readListBegin($_etype1055, $_size1052); - for ($_i1056 = 0; $_i1056 < $_size1052; ++$_i1056) + $_size1059 = 0; + $_etype1062 = 0; + $xfer += $input->readListBegin($_etype1062, $_size1059); + for ($_i1063 = 0; $_i1063 < $_size1059; ++$_i1063) { - $elem1057 = null; - $elem1057 = new \metastore\FieldSchema(); - $xfer += $elem1057->read($input); - $this->success []= $elem1057; + $elem1064 = null; + $elem1064 = new \metastore\FieldSchema(); + $xfer += $elem1064->read($input); + $this->success []= $elem1064; } $xfer += $input->readListEnd(); } else { @@ -18434,9 +18452,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1058) + foreach ($this->success as $iter1065) { - $xfer += $iter1058->write($output); + $xfer += $iter1065->write($output); } } $output->writeListEnd(); @@ -18650,15 +18668,15 @@ class ThriftHiveMetastore_get_schema_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1059 = 0; - $_etype1062 = 0; - $xfer += $input->readListBegin($_etype1062, $_size1059); - for ($_i1063 = 0; $_i1063 < $_size1059; ++$_i1063) + $_size1066 = 0; + $_etype1069 = 0; + $xfer += $input->readListBegin($_etype1069, $_size1066); + for ($_i1070 = 0; $_i1070 < $_size1066; ++$_i1070) { - $elem1064 = null; - $elem1064 = new \metastore\FieldSchema(); - $xfer += $elem1064->read($input); - $this->success []= $elem1064; + $elem1071 = null; + $elem1071 = new \metastore\FieldSchema(); + $xfer += $elem1071->read($input); + $this->success []= $elem1071; } $xfer += $input->readListEnd(); } else { @@ -18710,9 +18728,9 @@ class ThriftHiveMetastore_get_schema_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1065) + foreach ($this->success as $iter1072) { - $xfer += $iter1065->write($output); + $xfer += $iter1072->write($output); } } $output->writeListEnd(); @@ -18954,15 +18972,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1066 = 0; - $_etype1069 = 0; - $xfer += $input->readListBegin($_etype1069, $_size1066); - for ($_i1070 = 0; $_i1070 < $_size1066; ++$_i1070) + $_size1073 = 0; + $_etype1076 = 0; + $xfer += $input->readListBegin($_etype1076, $_size1073); + for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) { - $elem1071 = null; - $elem1071 = new \metastore\FieldSchema(); - $xfer += $elem1071->read($input); - $this->success []= $elem1071; + $elem1078 = null; + $elem1078 = new \metastore\FieldSchema(); + $xfer += $elem1078->read($input); + $this->success []= $elem1078; } $xfer += $input->readListEnd(); } else { @@ -19014,9 +19032,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1072) + foreach ($this->success as $iter1079) { - $xfer += $iter1072->write($output); + $xfer += $iter1079->write($output); } } $output->writeListEnd(); @@ -19688,15 +19706,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 2: if ($ftype == TType::LST) { $this->primaryKeys = array(); - $_size1073 = 0; - $_etype1076 = 0; - $xfer += $input->readListBegin($_etype1076, $_size1073); - for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) + $_size1080 = 0; + $_etype1083 = 0; + $xfer += $input->readListBegin($_etype1083, $_size1080); + for ($_i1084 = 0; $_i1084 < $_size1080; ++$_i1084) { - $elem1078 = null; - $elem1078 = new \metastore\SQLPrimaryKey(); - $xfer += $elem1078->read($input); - $this->primaryKeys []= $elem1078; + $elem1085 = null; + $elem1085 = new \metastore\SQLPrimaryKey(); + $xfer += $elem1085->read($input); + $this->primaryKeys []= $elem1085; } $xfer += $input->readListEnd(); } else { @@ -19706,15 +19724,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 3: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size1079 = 0; - $_etype1082 = 0; - $xfer += $input->readListBegin($_etype1082, $_size1079); - for ($_i1083 = 0; $_i1083 < $_size1079; ++$_i1083) + $_size1086 = 0; + $_etype1089 = 0; + $xfer += $input->readListBegin($_etype1089, $_size1086); + for ($_i1090 = 0; $_i1090 < $_size1086; ++$_i1090) { - $elem1084 = null; - $elem1084 = new \metastore\SQLForeignKey(); - $xfer += $elem1084->read($input); - $this->foreignKeys []= $elem1084; + $elem1091 = null; + $elem1091 = new \metastore\SQLForeignKey(); + $xfer += $elem1091->read($input); + $this->foreignKeys []= $elem1091; } $xfer += $input->readListEnd(); } else { @@ -19724,15 +19742,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 4: if ($ftype == TType::LST) { $this->uniqueConstraints = array(); - $_size1085 = 0; - $_etype1088 = 0; - $xfer += $input->readListBegin($_etype1088, $_size1085); - for ($_i1089 = 0; $_i1089 < $_size1085; ++$_i1089) + $_size1092 = 0; + $_etype1095 = 0; + $xfer += $input->readListBegin($_etype1095, $_size1092); + for ($_i1096 = 0; $_i1096 < $_size1092; ++$_i1096) { - $elem1090 = null; - $elem1090 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem1090->read($input); - $this->uniqueConstraints []= $elem1090; + $elem1097 = null; + $elem1097 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem1097->read($input); + $this->uniqueConstraints []= $elem1097; } $xfer += $input->readListEnd(); } else { @@ -19742,15 +19760,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 5: if ($ftype == TType::LST) { $this->notNullConstraints = array(); - $_size1091 = 0; - $_etype1094 = 0; - $xfer += $input->readListBegin($_etype1094, $_size1091); - for ($_i1095 = 0; $_i1095 < $_size1091; ++$_i1095) + $_size1098 = 0; + $_etype1101 = 0; + $xfer += $input->readListBegin($_etype1101, $_size1098); + for ($_i1102 = 0; $_i1102 < $_size1098; ++$_i1102) { - $elem1096 = null; - $elem1096 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem1096->read($input); - $this->notNullConstraints []= $elem1096; + $elem1103 = null; + $elem1103 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem1103->read($input); + $this->notNullConstraints []= $elem1103; } $xfer += $input->readListEnd(); } else { @@ -19760,15 +19778,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 6: if ($ftype == TType::LST) { $this->defaultConstraints = array(); - $_size1097 = 0; - $_etype1100 = 0; - $xfer += $input->readListBegin($_etype1100, $_size1097); - for ($_i1101 = 0; $_i1101 < $_size1097; ++$_i1101) + $_size1104 = 0; + $_etype1107 = 0; + $xfer += $input->readListBegin($_etype1107, $_size1104); + for ($_i1108 = 0; $_i1108 < $_size1104; ++$_i1108) { - $elem1102 = null; - $elem1102 = new \metastore\SQLDefaultConstraint(); - $xfer += $elem1102->read($input); - $this->defaultConstraints []= $elem1102; + $elem1109 = null; + $elem1109 = new \metastore\SQLDefaultConstraint(); + $xfer += $elem1109->read($input); + $this->defaultConstraints []= $elem1109; } $xfer += $input->readListEnd(); } else { @@ -19778,15 +19796,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 7: if ($ftype == TType::LST) { $this->checkConstraints = array(); - $_size1103 = 0; - $_etype1106 = 0; - $xfer += $input->readListBegin($_etype1106, $_size1103); - for ($_i1107 = 0; $_i1107 < $_size1103; ++$_i1107) + $_size1110 = 0; + $_etype1113 = 0; + $xfer += $input->readListBegin($_etype1113, $_size1110); + for ($_i1114 = 0; $_i1114 < $_size1110; ++$_i1114) { - $elem1108 = null; - $elem1108 = new \metastore\SQLCheckConstraint(); - $xfer += $elem1108->read($input); - $this->checkConstraints []= $elem1108; + $elem1115 = null; + $elem1115 = new \metastore\SQLCheckConstraint(); + $xfer += $elem1115->read($input); + $this->checkConstraints []= $elem1115; } $xfer += $input->readListEnd(); } else { @@ -19822,9 +19840,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); { - foreach ($this->primaryKeys as $iter1109) + foreach ($this->primaryKeys as $iter1116) { - $xfer += $iter1109->write($output); + $xfer += $iter1116->write($output); } } $output->writeListEnd(); @@ -19839,9 +19857,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); { - foreach ($this->foreignKeys as $iter1110) + foreach ($this->foreignKeys as $iter1117) { - $xfer += $iter1110->write($output); + $xfer += $iter1117->write($output); } } $output->writeListEnd(); @@ -19856,9 +19874,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints)); { - foreach ($this->uniqueConstraints as $iter1111) + foreach ($this->uniqueConstraints as $iter1118) { - $xfer += $iter1111->write($output); + $xfer += $iter1118->write($output); } } $output->writeListEnd(); @@ -19873,9 +19891,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->notNullConstraints)); { - foreach ($this->notNullConstraints as $iter1112) + foreach ($this->notNullConstraints as $iter1119) { - $xfer += $iter1112->write($output); + $xfer += $iter1119->write($output); } } $output->writeListEnd(); @@ -19890,9 +19908,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->defaultConstraints)); { - foreach ($this->defaultConstraints as $iter1113) + foreach ($this->defaultConstraints as $iter1120) { - $xfer += $iter1113->write($output); + $xfer += $iter1120->write($output); } } $output->writeListEnd(); @@ -19907,9 +19925,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->checkConstraints)); { - foreach ($this->checkConstraints as $iter1114) + foreach ($this->checkConstraints as $iter1121) { - $xfer += $iter1114->write($output); + $xfer += $iter1121->write($output); } } $output->writeListEnd(); @@ -22141,14 +22159,14 @@ class ThriftHiveMetastore_truncate_table_args { case 3: if ($ftype == TType::LST) { $this->partNames = array(); - $_size1115 = 0; - $_etype1118 = 0; - $xfer += $input->readListBegin($_etype1118, $_size1115); - for ($_i1119 = 0; $_i1119 < $_size1115; ++$_i1119) + $_size1122 = 0; + $_etype1125 = 0; + $xfer += $input->readListBegin($_etype1125, $_size1122); + for ($_i1126 = 0; $_i1126 < $_size1122; ++$_i1126) { - $elem1120 = null; - $xfer += $input->readString($elem1120); - $this->partNames []= $elem1120; + $elem1127 = null; + $xfer += $input->readString($elem1127); + $this->partNames []= $elem1127; } $xfer += $input->readListEnd(); } else { @@ -22186,9 +22204,9 @@ class ThriftHiveMetastore_truncate_table_args { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter1121) + foreach ($this->partNames as $iter1128) { - $xfer += $output->writeString($iter1121); + $xfer += $output->writeString($iter1128); } } $output->writeListEnd(); @@ -22624,14 +22642,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1122 = 0; - $_etype1125 = 0; - $xfer += $input->readListBegin($_etype1125, $_size1122); - for ($_i1126 = 0; $_i1126 < $_size1122; ++$_i1126) + $_size1129 = 0; + $_etype1132 = 0; + $xfer += $input->readListBegin($_etype1132, $_size1129); + for ($_i1133 = 0; $_i1133 < $_size1129; ++$_i1133) { - $elem1127 = null; - $xfer += $input->readString($elem1127); - $this->success []= $elem1127; + $elem1134 = null; + $xfer += $input->readString($elem1134); + $this->success []= $elem1134; } $xfer += $input->readListEnd(); } else { @@ -22667,9 +22685,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1128) + foreach ($this->success as $iter1135) { - $xfer += $output->writeString($iter1128); + $xfer += $output->writeString($iter1135); } } $output->writeListEnd(); @@ -22871,14 +22889,14 @@ class ThriftHiveMetastore_get_tables_by_type_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1129 = 0; - $_etype1132 = 0; - $xfer += $input->readListBegin($_etype1132, $_size1129); - for ($_i1133 = 0; $_i1133 < $_size1129; ++$_i1133) + $_size1136 = 0; + $_etype1139 = 0; + $xfer += $input->readListBegin($_etype1139, $_size1136); + for ($_i1140 = 0; $_i1140 < $_size1136; ++$_i1140) { - $elem1134 = null; - $xfer += $input->readString($elem1134); - $this->success []= $elem1134; + $elem1141 = null; + $xfer += $input->readString($elem1141); + $this->success []= $elem1141; } $xfer += $input->readListEnd(); } else { @@ -22914,9 +22932,9 @@ class ThriftHiveMetastore_get_tables_by_type_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1135) + foreach ($this->success as $iter1142) { - $xfer += $output->writeString($iter1135); + $xfer += $output->writeString($iter1142); } } $output->writeListEnd(); @@ -23048,15 +23066,15 @@ class ThriftHiveMetastore_get_all_materialized_view_objects_for_rewriting_result case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1136 = 0; - $_etype1139 = 0; - $xfer += $input->readListBegin($_etype1139, $_size1136); - for ($_i1140 = 0; $_i1140 < $_size1136; ++$_i1140) + $_size1143 = 0; + $_etype1146 = 0; + $xfer += $input->readListBegin($_etype1146, $_size1143); + for ($_i1147 = 0; $_i1147 < $_size1143; ++$_i1147) { - $elem1141 = null; - $elem1141 = new \metastore\Table(); - $xfer += $elem1141->read($input); - $this->success []= $elem1141; + $elem1148 = null; + $elem1148 = new \metastore\Table(); + $xfer += $elem1148->read($input); + $this->success []= $elem1148; } $xfer += $input->readListEnd(); } else { @@ -23092,9 +23110,9 @@ class ThriftHiveMetastore_get_all_materialized_view_objects_for_rewriting_result { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1142) + foreach ($this->success as $iter1149) { - $xfer += $iter1142->write($output); + $xfer += $iter1149->write($output); } } $output->writeListEnd(); @@ -23250,14 +23268,14 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1143 = 0; - $_etype1146 = 0; - $xfer += $input->readListBegin($_etype1146, $_size1143); - for ($_i1147 = 0; $_i1147 < $_size1143; ++$_i1147) + $_size1150 = 0; + $_etype1153 = 0; + $xfer += $input->readListBegin($_etype1153, $_size1150); + for ($_i1154 = 0; $_i1154 < $_size1150; ++$_i1154) { - $elem1148 = null; - $xfer += $input->readString($elem1148); - $this->success []= $elem1148; + $elem1155 = null; + $xfer += $input->readString($elem1155); + $this->success []= $elem1155; } $xfer += $input->readListEnd(); } else { @@ -23293,9 +23311,9 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1149) + foreach ($this->success as $iter1156) { - $xfer += $output->writeString($iter1149); + $xfer += $output->writeString($iter1156); } } $output->writeListEnd(); @@ -23400,14 +23418,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = array(); - $_size1150 = 0; - $_etype1153 = 0; - $xfer += $input->readListBegin($_etype1153, $_size1150); - for ($_i1154 = 0; $_i1154 < $_size1150; ++$_i1154) + $_size1157 = 0; + $_etype1160 = 0; + $xfer += $input->readListBegin($_etype1160, $_size1157); + for ($_i1161 = 0; $_i1161 < $_size1157; ++$_i1161) { - $elem1155 = null; - $xfer += $input->readString($elem1155); - $this->tbl_types []= $elem1155; + $elem1162 = null; + $xfer += $input->readString($elem1162); + $this->tbl_types []= $elem1162; } $xfer += $input->readListEnd(); } else { @@ -23445,9 +23463,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter1156) + foreach ($this->tbl_types as $iter1163) { - $xfer += $output->writeString($iter1156); + $xfer += $output->writeString($iter1163); } } $output->writeListEnd(); @@ -23524,15 +23542,15 @@ class ThriftHiveMetastore_get_table_meta_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1157 = 0; - $_etype1160 = 0; - $xfer += $input->readListBegin($_etype1160, $_size1157); - for ($_i1161 = 0; $_i1161 < $_size1157; ++$_i1161) + $_size1164 = 0; + $_etype1167 = 0; + $xfer += $input->readListBegin($_etype1167, $_size1164); + for ($_i1168 = 0; $_i1168 < $_size1164; ++$_i1168) { - $elem1162 = null; - $elem1162 = new \metastore\TableMeta(); - $xfer += $elem1162->read($input); - $this->success []= $elem1162; + $elem1169 = null; + $elem1169 = new \metastore\TableMeta(); + $xfer += $elem1169->read($input); + $this->success []= $elem1169; } $xfer += $input->readListEnd(); } else { @@ -23568,9 +23586,9 @@ class ThriftHiveMetastore_get_table_meta_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1163) + foreach ($this->success as $iter1170) { - $xfer += $iter1163->write($output); + $xfer += $iter1170->write($output); } } $output->writeListEnd(); @@ -23726,14 +23744,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1164 = 0; - $_etype1167 = 0; - $xfer += $input->readListBegin($_etype1167, $_size1164); - for ($_i1168 = 0; $_i1168 < $_size1164; ++$_i1168) + $_size1171 = 0; + $_etype1174 = 0; + $xfer += $input->readListBegin($_etype1174, $_size1171); + for ($_i1175 = 0; $_i1175 < $_size1171; ++$_i1175) { - $elem1169 = null; - $xfer += $input->readString($elem1169); - $this->success []= $elem1169; + $elem1176 = null; + $xfer += $input->readString($elem1176); + $this->success []= $elem1176; } $xfer += $input->readListEnd(); } else { @@ -23769,9 +23787,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1170) + foreach ($this->success as $iter1177) { - $xfer += $output->writeString($iter1170); + $xfer += $output->writeString($iter1177); } } $output->writeListEnd(); @@ -24086,14 +24104,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size1171 = 0; - $_etype1174 = 0; - $xfer += $input->readListBegin($_etype1174, $_size1171); - for ($_i1175 = 0; $_i1175 < $_size1171; ++$_i1175) + $_size1178 = 0; + $_etype1181 = 0; + $xfer += $input->readListBegin($_etype1181, $_size1178); + for ($_i1182 = 0; $_i1182 < $_size1178; ++$_i1182) { - $elem1176 = null; - $xfer += $input->readString($elem1176); - $this->tbl_names []= $elem1176; + $elem1183 = null; + $xfer += $input->readString($elem1183); + $this->tbl_names []= $elem1183; } $xfer += $input->readListEnd(); } else { @@ -24126,9 +24144,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter1177) + foreach ($this->tbl_names as $iter1184) { - $xfer += $output->writeString($iter1177); + $xfer += $output->writeString($iter1184); } } $output->writeListEnd(); @@ -24193,15 +24211,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1178 = 0; - $_etype1181 = 0; - $xfer += $input->readListBegin($_etype1181, $_size1178); - for ($_i1182 = 0; $_i1182 < $_size1178; ++$_i1182) + $_size1185 = 0; + $_etype1188 = 0; + $xfer += $input->readListBegin($_etype1188, $_size1185); + for ($_i1189 = 0; $_i1189 < $_size1185; ++$_i1189) { - $elem1183 = null; - $elem1183 = new \metastore\Table(); - $xfer += $elem1183->read($input); - $this->success []= $elem1183; + $elem1190 = null; + $elem1190 = new \metastore\Table(); + $xfer += $elem1190->read($input); + $this->success []= $elem1190; } $xfer += $input->readListEnd(); } else { @@ -24229,9 +24247,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1184) + foreach ($this->success as $iter1191) { - $xfer += $iter1184->write($output); + $xfer += $iter1191->write($output); } } $output->writeListEnd(); @@ -24388,15 +24406,15 @@ class ThriftHiveMetastore_get_tables_ext_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1185 = 0; - $_etype1188 = 0; - $xfer += $input->readListBegin($_etype1188, $_size1185); - for ($_i1189 = 0; $_i1189 < $_size1185; ++$_i1189) + $_size1192 = 0; + $_etype1195 = 0; + $xfer += $input->readListBegin($_etype1195, $_size1192); + for ($_i1196 = 0; $_i1196 < $_size1192; ++$_i1196) { - $elem1190 = null; - $elem1190 = new \metastore\ExtendedTableInfo(); - $xfer += $elem1190->read($input); - $this->success []= $elem1190; + $elem1197 = null; + $elem1197 = new \metastore\ExtendedTableInfo(); + $xfer += $elem1197->read($input); + $this->success []= $elem1197; } $xfer += $input->readListEnd(); } else { @@ -24432,9 +24450,9 @@ class ThriftHiveMetastore_get_tables_ext_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1191) + foreach ($this->success as $iter1198) { - $xfer += $iter1191->write($output); + $xfer += $iter1198->write($output); } } $output->writeListEnd(); @@ -25639,14 +25657,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1192 = 0; - $_etype1195 = 0; - $xfer += $input->readListBegin($_etype1195, $_size1192); - for ($_i1196 = 0; $_i1196 < $_size1192; ++$_i1196) + $_size1199 = 0; + $_etype1202 = 0; + $xfer += $input->readListBegin($_etype1202, $_size1199); + for ($_i1203 = 0; $_i1203 < $_size1199; ++$_i1203) { - $elem1197 = null; - $xfer += $input->readString($elem1197); - $this->success []= $elem1197; + $elem1204 = null; + $xfer += $input->readString($elem1204); + $this->success []= $elem1204; } $xfer += $input->readListEnd(); } else { @@ -25698,9 +25716,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1198) + foreach ($this->success as $iter1205) { - $xfer += $output->writeString($iter1198); + $xfer += $output->writeString($iter1205); } } $output->writeListEnd(); @@ -27223,15 +27241,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1199 = 0; - $_etype1202 = 0; - $xfer += $input->readListBegin($_etype1202, $_size1199); - for ($_i1203 = 0; $_i1203 < $_size1199; ++$_i1203) + $_size1206 = 0; + $_etype1209 = 0; + $xfer += $input->readListBegin($_etype1209, $_size1206); + for ($_i1210 = 0; $_i1210 < $_size1206; ++$_i1210) { - $elem1204 = null; - $elem1204 = new \metastore\Partition(); - $xfer += $elem1204->read($input); - $this->new_parts []= $elem1204; + $elem1211 = null; + $elem1211 = new \metastore\Partition(); + $xfer += $elem1211->read($input); + $this->new_parts []= $elem1211; } $xfer += $input->readListEnd(); } else { @@ -27259,9 +27277,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1205) + foreach ($this->new_parts as $iter1212) { - $xfer += $iter1205->write($output); + $xfer += $iter1212->write($output); } } $output->writeListEnd(); @@ -27476,15 +27494,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1206 = 0; - $_etype1209 = 0; - $xfer += $input->readListBegin($_etype1209, $_size1206); - for ($_i1210 = 0; $_i1210 < $_size1206; ++$_i1210) + $_size1213 = 0; + $_etype1216 = 0; + $xfer += $input->readListBegin($_etype1216, $_size1213); + for ($_i1217 = 0; $_i1217 < $_size1213; ++$_i1217) { - $elem1211 = null; - $elem1211 = new \metastore\PartitionSpec(); - $xfer += $elem1211->read($input); - $this->new_parts []= $elem1211; + $elem1218 = null; + $elem1218 = new \metastore\PartitionSpec(); + $xfer += $elem1218->read($input); + $this->new_parts []= $elem1218; } $xfer += $input->readListEnd(); } else { @@ -27512,9 +27530,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1212) + foreach ($this->new_parts as $iter1219) { - $xfer += $iter1212->write($output); + $xfer += $iter1219->write($output); } } $output->writeListEnd(); @@ -27764,14 +27782,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1213 = 0; - $_etype1216 = 0; - $xfer += $input->readListBegin($_etype1216, $_size1213); - for ($_i1217 = 0; $_i1217 < $_size1213; ++$_i1217) + $_size1220 = 0; + $_etype1223 = 0; + $xfer += $input->readListBegin($_etype1223, $_size1220); + for ($_i1224 = 0; $_i1224 < $_size1220; ++$_i1224) { - $elem1218 = null; - $xfer += $input->readString($elem1218); - $this->part_vals []= $elem1218; + $elem1225 = null; + $xfer += $input->readString($elem1225); + $this->part_vals []= $elem1225; } $xfer += $input->readListEnd(); } else { @@ -27809,9 +27827,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1219) + foreach ($this->part_vals as $iter1226) { - $xfer += $output->writeString($iter1219); + $xfer += $output->writeString($iter1226); } } $output->writeListEnd(); @@ -28313,14 +28331,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1220 = 0; - $_etype1223 = 0; - $xfer += $input->readListBegin($_etype1223, $_size1220); - for ($_i1224 = 0; $_i1224 < $_size1220; ++$_i1224) + $_size1227 = 0; + $_etype1230 = 0; + $xfer += $input->readListBegin($_etype1230, $_size1227); + for ($_i1231 = 0; $_i1231 < $_size1227; ++$_i1231) { - $elem1225 = null; - $xfer += $input->readString($elem1225); - $this->part_vals []= $elem1225; + $elem1232 = null; + $xfer += $input->readString($elem1232); + $this->part_vals []= $elem1232; } $xfer += $input->readListEnd(); } else { @@ -28366,9 +28384,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1226) + foreach ($this->part_vals as $iter1233) { - $xfer += $output->writeString($iter1226); + $xfer += $output->writeString($iter1233); } } $output->writeListEnd(); @@ -29222,14 +29240,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1227 = 0; - $_etype1230 = 0; - $xfer += $input->readListBegin($_etype1230, $_size1227); - for ($_i1231 = 0; $_i1231 < $_size1227; ++$_i1231) + $_size1234 = 0; + $_etype1237 = 0; + $xfer += $input->readListBegin($_etype1237, $_size1234); + for ($_i1238 = 0; $_i1238 < $_size1234; ++$_i1238) { - $elem1232 = null; - $xfer += $input->readString($elem1232); - $this->part_vals []= $elem1232; + $elem1239 = null; + $xfer += $input->readString($elem1239); + $this->part_vals []= $elem1239; } $xfer += $input->readListEnd(); } else { @@ -29274,9 +29292,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1233) + foreach ($this->part_vals as $iter1240) { - $xfer += $output->writeString($iter1233); + $xfer += $output->writeString($iter1240); } } $output->writeListEnd(); @@ -29529,14 +29547,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1234 = 0; - $_etype1237 = 0; - $xfer += $input->readListBegin($_etype1237, $_size1234); - for ($_i1238 = 0; $_i1238 < $_size1234; ++$_i1238) + $_size1241 = 0; + $_etype1244 = 0; + $xfer += $input->readListBegin($_etype1244, $_size1241); + for ($_i1245 = 0; $_i1245 < $_size1241; ++$_i1245) { - $elem1239 = null; - $xfer += $input->readString($elem1239); - $this->part_vals []= $elem1239; + $elem1246 = null; + $xfer += $input->readString($elem1246); + $this->part_vals []= $elem1246; } $xfer += $input->readListEnd(); } else { @@ -29589,9 +29607,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1240) + foreach ($this->part_vals as $iter1247) { - $xfer += $output->writeString($iter1240); + $xfer += $output->writeString($iter1247); } } $output->writeListEnd(); @@ -30605,14 +30623,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1241 = 0; - $_etype1244 = 0; - $xfer += $input->readListBegin($_etype1244, $_size1241); - for ($_i1245 = 0; $_i1245 < $_size1241; ++$_i1245) + $_size1248 = 0; + $_etype1251 = 0; + $xfer += $input->readListBegin($_etype1251, $_size1248); + for ($_i1252 = 0; $_i1252 < $_size1248; ++$_i1252) { - $elem1246 = null; - $xfer += $input->readString($elem1246); - $this->part_vals []= $elem1246; + $elem1253 = null; + $xfer += $input->readString($elem1253); + $this->part_vals []= $elem1253; } $xfer += $input->readListEnd(); } else { @@ -30650,9 +30668,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1247) + foreach ($this->part_vals as $iter1254) { - $xfer += $output->writeString($iter1247); + $xfer += $output->writeString($iter1254); } } $output->writeListEnd(); @@ -30894,17 +30912,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1248 = 0; - $_ktype1249 = 0; - $_vtype1250 = 0; - $xfer += $input->readMapBegin($_ktype1249, $_vtype1250, $_size1248); - for ($_i1252 = 0; $_i1252 < $_size1248; ++$_i1252) + $_size1255 = 0; + $_ktype1256 = 0; + $_vtype1257 = 0; + $xfer += $input->readMapBegin($_ktype1256, $_vtype1257, $_size1255); + for ($_i1259 = 0; $_i1259 < $_size1255; ++$_i1259) { - $key1253 = ''; - $val1254 = ''; - $xfer += $input->readString($key1253); - $xfer += $input->readString($val1254); - $this->partitionSpecs[$key1253] = $val1254; + $key1260 = ''; + $val1261 = ''; + $xfer += $input->readString($key1260); + $xfer += $input->readString($val1261); + $this->partitionSpecs[$key1260] = $val1261; } $xfer += $input->readMapEnd(); } else { @@ -30960,10 +30978,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1255 => $viter1256) + foreach ($this->partitionSpecs as $kiter1262 => $viter1263) { - $xfer += $output->writeString($kiter1255); - $xfer += $output->writeString($viter1256); + $xfer += $output->writeString($kiter1262); + $xfer += $output->writeString($viter1263); } } $output->writeMapEnd(); @@ -31275,17 +31293,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1257 = 0; - $_ktype1258 = 0; - $_vtype1259 = 0; - $xfer += $input->readMapBegin($_ktype1258, $_vtype1259, $_size1257); - for ($_i1261 = 0; $_i1261 < $_size1257; ++$_i1261) + $_size1264 = 0; + $_ktype1265 = 0; + $_vtype1266 = 0; + $xfer += $input->readMapBegin($_ktype1265, $_vtype1266, $_size1264); + for ($_i1268 = 0; $_i1268 < $_size1264; ++$_i1268) { - $key1262 = ''; - $val1263 = ''; - $xfer += $input->readString($key1262); - $xfer += $input->readString($val1263); - $this->partitionSpecs[$key1262] = $val1263; + $key1269 = ''; + $val1270 = ''; + $xfer += $input->readString($key1269); + $xfer += $input->readString($val1270); + $this->partitionSpecs[$key1269] = $val1270; } $xfer += $input->readMapEnd(); } else { @@ -31341,10 +31359,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1264 => $viter1265) + foreach ($this->partitionSpecs as $kiter1271 => $viter1272) { - $xfer += $output->writeString($kiter1264); - $xfer += $output->writeString($viter1265); + $xfer += $output->writeString($kiter1271); + $xfer += $output->writeString($viter1272); } } $output->writeMapEnd(); @@ -31477,15 +31495,15 @@ class ThriftHiveMetastore_exchange_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1266 = 0; - $_etype1269 = 0; - $xfer += $input->readListBegin($_etype1269, $_size1266); - for ($_i1270 = 0; $_i1270 < $_size1266; ++$_i1270) + $_size1273 = 0; + $_etype1276 = 0; + $xfer += $input->readListBegin($_etype1276, $_size1273); + for ($_i1277 = 0; $_i1277 < $_size1273; ++$_i1277) { - $elem1271 = null; - $elem1271 = new \metastore\Partition(); - $xfer += $elem1271->read($input); - $this->success []= $elem1271; + $elem1278 = null; + $elem1278 = new \metastore\Partition(); + $xfer += $elem1278->read($input); + $this->success []= $elem1278; } $xfer += $input->readListEnd(); } else { @@ -31545,9 +31563,9 @@ class ThriftHiveMetastore_exchange_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1272) + foreach ($this->success as $iter1279) { - $xfer += $iter1272->write($output); + $xfer += $iter1279->write($output); } } $output->writeListEnd(); @@ -31693,14 +31711,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1273 = 0; - $_etype1276 = 0; - $xfer += $input->readListBegin($_etype1276, $_size1273); - for ($_i1277 = 0; $_i1277 < $_size1273; ++$_i1277) + $_size1280 = 0; + $_etype1283 = 0; + $xfer += $input->readListBegin($_etype1283, $_size1280); + for ($_i1284 = 0; $_i1284 < $_size1280; ++$_i1284) { - $elem1278 = null; - $xfer += $input->readString($elem1278); - $this->part_vals []= $elem1278; + $elem1285 = null; + $xfer += $input->readString($elem1285); + $this->part_vals []= $elem1285; } $xfer += $input->readListEnd(); } else { @@ -31717,14 +31735,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1279 = 0; - $_etype1282 = 0; - $xfer += $input->readListBegin($_etype1282, $_size1279); - for ($_i1283 = 0; $_i1283 < $_size1279; ++$_i1283) + $_size1286 = 0; + $_etype1289 = 0; + $xfer += $input->readListBegin($_etype1289, $_size1286); + for ($_i1290 = 0; $_i1290 < $_size1286; ++$_i1290) { - $elem1284 = null; - $xfer += $input->readString($elem1284); - $this->group_names []= $elem1284; + $elem1291 = null; + $xfer += $input->readString($elem1291); + $this->group_names []= $elem1291; } $xfer += $input->readListEnd(); } else { @@ -31762,9 +31780,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1285) + foreach ($this->part_vals as $iter1292) { - $xfer += $output->writeString($iter1285); + $xfer += $output->writeString($iter1292); } } $output->writeListEnd(); @@ -31784,9 +31802,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1286) + foreach ($this->group_names as $iter1293) { - $xfer += $output->writeString($iter1286); + $xfer += $output->writeString($iter1293); } } $output->writeListEnd(); @@ -32377,15 +32395,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1287 = 0; - $_etype1290 = 0; - $xfer += $input->readListBegin($_etype1290, $_size1287); - for ($_i1291 = 0; $_i1291 < $_size1287; ++$_i1291) + $_size1294 = 0; + $_etype1297 = 0; + $xfer += $input->readListBegin($_etype1297, $_size1294); + for ($_i1298 = 0; $_i1298 < $_size1294; ++$_i1298) { - $elem1292 = null; - $elem1292 = new \metastore\Partition(); - $xfer += $elem1292->read($input); - $this->success []= $elem1292; + $elem1299 = null; + $elem1299 = new \metastore\Partition(); + $xfer += $elem1299->read($input); + $this->success []= $elem1299; } $xfer += $input->readListEnd(); } else { @@ -32429,9 +32447,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1293) + foreach ($this->success as $iter1300) { - $xfer += $iter1293->write($output); + $xfer += $iter1300->write($output); } } $output->writeListEnd(); @@ -32577,14 +32595,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1294 = 0; - $_etype1297 = 0; - $xfer += $input->readListBegin($_etype1297, $_size1294); - for ($_i1298 = 0; $_i1298 < $_size1294; ++$_i1298) + $_size1301 = 0; + $_etype1304 = 0; + $xfer += $input->readListBegin($_etype1304, $_size1301); + for ($_i1305 = 0; $_i1305 < $_size1301; ++$_i1305) { - $elem1299 = null; - $xfer += $input->readString($elem1299); - $this->group_names []= $elem1299; + $elem1306 = null; + $xfer += $input->readString($elem1306); + $this->group_names []= $elem1306; } $xfer += $input->readListEnd(); } else { @@ -32632,9 +32650,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1300) + foreach ($this->group_names as $iter1307) { - $xfer += $output->writeString($iter1300); + $xfer += $output->writeString($iter1307); } } $output->writeListEnd(); @@ -32723,15 +32741,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1301 = 0; - $_etype1304 = 0; - $xfer += $input->readListBegin($_etype1304, $_size1301); - for ($_i1305 = 0; $_i1305 < $_size1301; ++$_i1305) + $_size1308 = 0; + $_etype1311 = 0; + $xfer += $input->readListBegin($_etype1311, $_size1308); + for ($_i1312 = 0; $_i1312 < $_size1308; ++$_i1312) { - $elem1306 = null; - $elem1306 = new \metastore\Partition(); - $xfer += $elem1306->read($input); - $this->success []= $elem1306; + $elem1313 = null; + $elem1313 = new \metastore\Partition(); + $xfer += $elem1313->read($input); + $this->success []= $elem1313; } $xfer += $input->readListEnd(); } else { @@ -32775,9 +32793,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1307) + foreach ($this->success as $iter1314) { - $xfer += $iter1307->write($output); + $xfer += $iter1314->write($output); } } $output->writeListEnd(); @@ -32997,15 +33015,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1308 = 0; - $_etype1311 = 0; - $xfer += $input->readListBegin($_etype1311, $_size1308); - for ($_i1312 = 0; $_i1312 < $_size1308; ++$_i1312) + $_size1315 = 0; + $_etype1318 = 0; + $xfer += $input->readListBegin($_etype1318, $_size1315); + for ($_i1319 = 0; $_i1319 < $_size1315; ++$_i1319) { - $elem1313 = null; - $elem1313 = new \metastore\PartitionSpec(); - $xfer += $elem1313->read($input); - $this->success []= $elem1313; + $elem1320 = null; + $elem1320 = new \metastore\PartitionSpec(); + $xfer += $elem1320->read($input); + $this->success []= $elem1320; } $xfer += $input->readListEnd(); } else { @@ -33049,9 +33067,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1314) + foreach ($this->success as $iter1321) { - $xfer += $iter1314->write($output); + $xfer += $iter1321->write($output); } } $output->writeListEnd(); @@ -33270,14 +33288,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1315 = 0; - $_etype1318 = 0; - $xfer += $input->readListBegin($_etype1318, $_size1315); - for ($_i1319 = 0; $_i1319 < $_size1315; ++$_i1319) + $_size1322 = 0; + $_etype1325 = 0; + $xfer += $input->readListBegin($_etype1325, $_size1322); + for ($_i1326 = 0; $_i1326 < $_size1322; ++$_i1326) { - $elem1320 = null; - $xfer += $input->readString($elem1320); - $this->success []= $elem1320; + $elem1327 = null; + $xfer += $input->readString($elem1327); + $this->success []= $elem1327; } $xfer += $input->readListEnd(); } else { @@ -33321,9 +33339,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1321) + foreach ($this->success as $iter1328) { - $xfer += $output->writeString($iter1321); + $xfer += $output->writeString($iter1328); } } $output->writeListEnd(); @@ -33654,14 +33672,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1322 = 0; - $_etype1325 = 0; - $xfer += $input->readListBegin($_etype1325, $_size1322); - for ($_i1326 = 0; $_i1326 < $_size1322; ++$_i1326) + $_size1329 = 0; + $_etype1332 = 0; + $xfer += $input->readListBegin($_etype1332, $_size1329); + for ($_i1333 = 0; $_i1333 < $_size1329; ++$_i1333) { - $elem1327 = null; - $xfer += $input->readString($elem1327); - $this->part_vals []= $elem1327; + $elem1334 = null; + $xfer += $input->readString($elem1334); + $this->part_vals []= $elem1334; } $xfer += $input->readListEnd(); } else { @@ -33706,9 +33724,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1328) + foreach ($this->part_vals as $iter1335) { - $xfer += $output->writeString($iter1328); + $xfer += $output->writeString($iter1335); } } $output->writeListEnd(); @@ -33802,15 +33820,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1329 = 0; - $_etype1332 = 0; - $xfer += $input->readListBegin($_etype1332, $_size1329); - for ($_i1333 = 0; $_i1333 < $_size1329; ++$_i1333) + $_size1336 = 0; + $_etype1339 = 0; + $xfer += $input->readListBegin($_etype1339, $_size1336); + for ($_i1340 = 0; $_i1340 < $_size1336; ++$_i1340) { - $elem1334 = null; - $elem1334 = new \metastore\Partition(); - $xfer += $elem1334->read($input); - $this->success []= $elem1334; + $elem1341 = null; + $elem1341 = new \metastore\Partition(); + $xfer += $elem1341->read($input); + $this->success []= $elem1341; } $xfer += $input->readListEnd(); } else { @@ -33854,9 +33872,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1335) + foreach ($this->success as $iter1342) { - $xfer += $iter1335->write($output); + $xfer += $iter1342->write($output); } } $output->writeListEnd(); @@ -34003,14 +34021,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1336 = 0; - $_etype1339 = 0; - $xfer += $input->readListBegin($_etype1339, $_size1336); - for ($_i1340 = 0; $_i1340 < $_size1336; ++$_i1340) + $_size1343 = 0; + $_etype1346 = 0; + $xfer += $input->readListBegin($_etype1346, $_size1343); + for ($_i1347 = 0; $_i1347 < $_size1343; ++$_i1347) { - $elem1341 = null; - $xfer += $input->readString($elem1341); - $this->part_vals []= $elem1341; + $elem1348 = null; + $xfer += $input->readString($elem1348); + $this->part_vals []= $elem1348; } $xfer += $input->readListEnd(); } else { @@ -34034,14 +34052,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1342 = 0; - $_etype1345 = 0; - $xfer += $input->readListBegin($_etype1345, $_size1342); - for ($_i1346 = 0; $_i1346 < $_size1342; ++$_i1346) + $_size1349 = 0; + $_etype1352 = 0; + $xfer += $input->readListBegin($_etype1352, $_size1349); + for ($_i1353 = 0; $_i1353 < $_size1349; ++$_i1353) { - $elem1347 = null; - $xfer += $input->readString($elem1347); - $this->group_names []= $elem1347; + $elem1354 = null; + $xfer += $input->readString($elem1354); + $this->group_names []= $elem1354; } $xfer += $input->readListEnd(); } else { @@ -34079,9 +34097,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1348) + foreach ($this->part_vals as $iter1355) { - $xfer += $output->writeString($iter1348); + $xfer += $output->writeString($iter1355); } } $output->writeListEnd(); @@ -34106,9 +34124,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1349) + foreach ($this->group_names as $iter1356) { - $xfer += $output->writeString($iter1349); + $xfer += $output->writeString($iter1356); } } $output->writeListEnd(); @@ -34197,15 +34215,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1350 = 0; - $_etype1353 = 0; - $xfer += $input->readListBegin($_etype1353, $_size1350); - for ($_i1354 = 0; $_i1354 < $_size1350; ++$_i1354) + $_size1357 = 0; + $_etype1360 = 0; + $xfer += $input->readListBegin($_etype1360, $_size1357); + for ($_i1361 = 0; $_i1361 < $_size1357; ++$_i1361) { - $elem1355 = null; - $elem1355 = new \metastore\Partition(); - $xfer += $elem1355->read($input); - $this->success []= $elem1355; + $elem1362 = null; + $elem1362 = new \metastore\Partition(); + $xfer += $elem1362->read($input); + $this->success []= $elem1362; } $xfer += $input->readListEnd(); } else { @@ -34249,9 +34267,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1356) + foreach ($this->success as $iter1363) { - $xfer += $iter1356->write($output); + $xfer += $iter1363->write($output); } } $output->writeListEnd(); @@ -34372,14 +34390,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1357 = 0; - $_etype1360 = 0; - $xfer += $input->readListBegin($_etype1360, $_size1357); - for ($_i1361 = 0; $_i1361 < $_size1357; ++$_i1361) + $_size1364 = 0; + $_etype1367 = 0; + $xfer += $input->readListBegin($_etype1367, $_size1364); + for ($_i1368 = 0; $_i1368 < $_size1364; ++$_i1368) { - $elem1362 = null; - $xfer += $input->readString($elem1362); - $this->part_vals []= $elem1362; + $elem1369 = null; + $xfer += $input->readString($elem1369); + $this->part_vals []= $elem1369; } $xfer += $input->readListEnd(); } else { @@ -34424,9 +34442,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1363) + foreach ($this->part_vals as $iter1370) { - $xfer += $output->writeString($iter1363); + $xfer += $output->writeString($iter1370); } } $output->writeListEnd(); @@ -34519,14 +34537,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1364 = 0; - $_etype1367 = 0; - $xfer += $input->readListBegin($_etype1367, $_size1364); - for ($_i1368 = 0; $_i1368 < $_size1364; ++$_i1368) + $_size1371 = 0; + $_etype1374 = 0; + $xfer += $input->readListBegin($_etype1374, $_size1371); + for ($_i1375 = 0; $_i1375 < $_size1371; ++$_i1375) { - $elem1369 = null; - $xfer += $input->readString($elem1369); - $this->success []= $elem1369; + $elem1376 = null; + $xfer += $input->readString($elem1376); + $this->success []= $elem1376; } $xfer += $input->readListEnd(); } else { @@ -34570,9 +34588,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1370) + foreach ($this->success as $iter1377) { - $xfer += $output->writeString($iter1370); + $xfer += $output->writeString($iter1377); } } $output->writeListEnd(); @@ -34815,15 +34833,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1371 = 0; - $_etype1374 = 0; - $xfer += $input->readListBegin($_etype1374, $_size1371); - for ($_i1375 = 0; $_i1375 < $_size1371; ++$_i1375) + $_size1378 = 0; + $_etype1381 = 0; + $xfer += $input->readListBegin($_etype1381, $_size1378); + for ($_i1382 = 0; $_i1382 < $_size1378; ++$_i1382) { - $elem1376 = null; - $elem1376 = new \metastore\Partition(); - $xfer += $elem1376->read($input); - $this->success []= $elem1376; + $elem1383 = null; + $elem1383 = new \metastore\Partition(); + $xfer += $elem1383->read($input); + $this->success []= $elem1383; } $xfer += $input->readListEnd(); } else { @@ -34867,9 +34885,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1377) + foreach ($this->success as $iter1384) { - $xfer += $iter1377->write($output); + $xfer += $iter1384->write($output); } } $output->writeListEnd(); @@ -35112,15 +35130,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1378 = 0; - $_etype1381 = 0; - $xfer += $input->readListBegin($_etype1381, $_size1378); - for ($_i1382 = 0; $_i1382 < $_size1378; ++$_i1382) + $_size1385 = 0; + $_etype1388 = 0; + $xfer += $input->readListBegin($_etype1388, $_size1385); + for ($_i1389 = 0; $_i1389 < $_size1385; ++$_i1389) { - $elem1383 = null; - $elem1383 = new \metastore\PartitionSpec(); - $xfer += $elem1383->read($input); - $this->success []= $elem1383; + $elem1390 = null; + $elem1390 = new \metastore\PartitionSpec(); + $xfer += $elem1390->read($input); + $this->success []= $elem1390; } $xfer += $input->readListEnd(); } else { @@ -35164,9 +35182,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1384) + foreach ($this->success as $iter1391) { - $xfer += $iter1384->write($output); + $xfer += $iter1391->write($output); } } $output->writeListEnd(); @@ -35732,14 +35750,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size1385 = 0; - $_etype1388 = 0; - $xfer += $input->readListBegin($_etype1388, $_size1385); - for ($_i1389 = 0; $_i1389 < $_size1385; ++$_i1389) + $_size1392 = 0; + $_etype1395 = 0; + $xfer += $input->readListBegin($_etype1395, $_size1392); + for ($_i1396 = 0; $_i1396 < $_size1392; ++$_i1396) { - $elem1390 = null; - $xfer += $input->readString($elem1390); - $this->names []= $elem1390; + $elem1397 = null; + $xfer += $input->readString($elem1397); + $this->names []= $elem1397; } $xfer += $input->readListEnd(); } else { @@ -35777,9 +35795,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter1391) + foreach ($this->names as $iter1398) { - $xfer += $output->writeString($iter1391); + $xfer += $output->writeString($iter1398); } } $output->writeListEnd(); @@ -35868,15 +35886,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1392 = 0; - $_etype1395 = 0; - $xfer += $input->readListBegin($_etype1395, $_size1392); - for ($_i1396 = 0; $_i1396 < $_size1392; ++$_i1396) + $_size1399 = 0; + $_etype1402 = 0; + $xfer += $input->readListBegin($_etype1402, $_size1399); + for ($_i1403 = 0; $_i1403 < $_size1399; ++$_i1403) { - $elem1397 = null; - $elem1397 = new \metastore\Partition(); - $xfer += $elem1397->read($input); - $this->success []= $elem1397; + $elem1404 = null; + $elem1404 = new \metastore\Partition(); + $xfer += $elem1404->read($input); + $this->success []= $elem1404; } $xfer += $input->readListEnd(); } else { @@ -35920,9 +35938,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1398) + foreach ($this->success as $iter1405) { - $xfer += $iter1398->write($output); + $xfer += $iter1405->write($output); } } $output->writeListEnd(); @@ -36471,15 +36489,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1399 = 0; - $_etype1402 = 0; - $xfer += $input->readListBegin($_etype1402, $_size1399); - for ($_i1403 = 0; $_i1403 < $_size1399; ++$_i1403) + $_size1406 = 0; + $_etype1409 = 0; + $xfer += $input->readListBegin($_etype1409, $_size1406); + for ($_i1410 = 0; $_i1410 < $_size1406; ++$_i1410) { - $elem1404 = null; - $elem1404 = new \metastore\Partition(); - $xfer += $elem1404->read($input); - $this->new_parts []= $elem1404; + $elem1411 = null; + $elem1411 = new \metastore\Partition(); + $xfer += $elem1411->read($input); + $this->new_parts []= $elem1411; } $xfer += $input->readListEnd(); } else { @@ -36517,9 +36535,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1405) + foreach ($this->new_parts as $iter1412) { - $xfer += $iter1405->write($output); + $xfer += $iter1412->write($output); } } $output->writeListEnd(); @@ -36734,15 +36752,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1406 = 0; - $_etype1409 = 0; - $xfer += $input->readListBegin($_etype1409, $_size1406); - for ($_i1410 = 0; $_i1410 < $_size1406; ++$_i1410) + $_size1413 = 0; + $_etype1416 = 0; + $xfer += $input->readListBegin($_etype1416, $_size1413); + for ($_i1417 = 0; $_i1417 < $_size1413; ++$_i1417) { - $elem1411 = null; - $elem1411 = new \metastore\Partition(); - $xfer += $elem1411->read($input); - $this->new_parts []= $elem1411; + $elem1418 = null; + $elem1418 = new \metastore\Partition(); + $xfer += $elem1418->read($input); + $this->new_parts []= $elem1418; } $xfer += $input->readListEnd(); } else { @@ -36788,9 +36806,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1412) + foreach ($this->new_parts as $iter1419) { - $xfer += $iter1412->write($output); + $xfer += $iter1419->write($output); } } $output->writeListEnd(); @@ -37478,14 +37496,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1413 = 0; - $_etype1416 = 0; - $xfer += $input->readListBegin($_etype1416, $_size1413); - for ($_i1417 = 0; $_i1417 < $_size1413; ++$_i1417) + $_size1420 = 0; + $_etype1423 = 0; + $xfer += $input->readListBegin($_etype1423, $_size1420); + for ($_i1424 = 0; $_i1424 < $_size1420; ++$_i1424) { - $elem1418 = null; - $xfer += $input->readString($elem1418); - $this->part_vals []= $elem1418; + $elem1425 = null; + $xfer += $input->readString($elem1425); + $this->part_vals []= $elem1425; } $xfer += $input->readListEnd(); } else { @@ -37531,9 +37549,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1419) + foreach ($this->part_vals as $iter1426) { - $xfer += $output->writeString($iter1419); + $xfer += $output->writeString($iter1426); } } $output->writeListEnd(); @@ -37928,14 +37946,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1420 = 0; - $_etype1423 = 0; - $xfer += $input->readListBegin($_etype1423, $_size1420); - for ($_i1424 = 0; $_i1424 < $_size1420; ++$_i1424) + $_size1427 = 0; + $_etype1430 = 0; + $xfer += $input->readListBegin($_etype1430, $_size1427); + for ($_i1431 = 0; $_i1431 < $_size1427; ++$_i1431) { - $elem1425 = null; - $xfer += $input->readString($elem1425); - $this->part_vals []= $elem1425; + $elem1432 = null; + $xfer += $input->readString($elem1432); + $this->part_vals []= $elem1432; } $xfer += $input->readListEnd(); } else { @@ -37970,9 +37988,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1426) + foreach ($this->part_vals as $iter1433) { - $xfer += $output->writeString($iter1426); + $xfer += $output->writeString($iter1433); } } $output->writeListEnd(); @@ -38426,14 +38444,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1427 = 0; - $_etype1430 = 0; - $xfer += $input->readListBegin($_etype1430, $_size1427); - for ($_i1431 = 0; $_i1431 < $_size1427; ++$_i1431) + $_size1434 = 0; + $_etype1437 = 0; + $xfer += $input->readListBegin($_etype1437, $_size1434); + for ($_i1438 = 0; $_i1438 < $_size1434; ++$_i1438) { - $elem1432 = null; - $xfer += $input->readString($elem1432); - $this->success []= $elem1432; + $elem1439 = null; + $xfer += $input->readString($elem1439); + $this->success []= $elem1439; } $xfer += $input->readListEnd(); } else { @@ -38469,9 +38487,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1433) + foreach ($this->success as $iter1440) { - $xfer += $output->writeString($iter1433); + $xfer += $output->writeString($iter1440); } } $output->writeListEnd(); @@ -38631,17 +38649,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1434 = 0; - $_ktype1435 = 0; - $_vtype1436 = 0; - $xfer += $input->readMapBegin($_ktype1435, $_vtype1436, $_size1434); - for ($_i1438 = 0; $_i1438 < $_size1434; ++$_i1438) + $_size1441 = 0; + $_ktype1442 = 0; + $_vtype1443 = 0; + $xfer += $input->readMapBegin($_ktype1442, $_vtype1443, $_size1441); + for ($_i1445 = 0; $_i1445 < $_size1441; ++$_i1445) { - $key1439 = ''; - $val1440 = ''; - $xfer += $input->readString($key1439); - $xfer += $input->readString($val1440); - $this->success[$key1439] = $val1440; + $key1446 = ''; + $val1447 = ''; + $xfer += $input->readString($key1446); + $xfer += $input->readString($val1447); + $this->success[$key1446] = $val1447; } $xfer += $input->readMapEnd(); } else { @@ -38677,10 +38695,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter1441 => $viter1442) + foreach ($this->success as $kiter1448 => $viter1449) { - $xfer += $output->writeString($kiter1441); - $xfer += $output->writeString($viter1442); + $xfer += $output->writeString($kiter1448); + $xfer += $output->writeString($viter1449); } } $output->writeMapEnd(); @@ -38800,17 +38818,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1443 = 0; - $_ktype1444 = 0; - $_vtype1445 = 0; - $xfer += $input->readMapBegin($_ktype1444, $_vtype1445, $_size1443); - for ($_i1447 = 0; $_i1447 < $_size1443; ++$_i1447) + $_size1450 = 0; + $_ktype1451 = 0; + $_vtype1452 = 0; + $xfer += $input->readMapBegin($_ktype1451, $_vtype1452, $_size1450); + for ($_i1454 = 0; $_i1454 < $_size1450; ++$_i1454) { - $key1448 = ''; - $val1449 = ''; - $xfer += $input->readString($key1448); - $xfer += $input->readString($val1449); - $this->part_vals[$key1448] = $val1449; + $key1455 = ''; + $val1456 = ''; + $xfer += $input->readString($key1455); + $xfer += $input->readString($val1456); + $this->part_vals[$key1455] = $val1456; } $xfer += $input->readMapEnd(); } else { @@ -38855,10 +38873,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1450 => $viter1451) + foreach ($this->part_vals as $kiter1457 => $viter1458) { - $xfer += $output->writeString($kiter1450); - $xfer += $output->writeString($viter1451); + $xfer += $output->writeString($kiter1457); + $xfer += $output->writeString($viter1458); } } $output->writeMapEnd(); @@ -39180,17 +39198,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1452 = 0; - $_ktype1453 = 0; - $_vtype1454 = 0; - $xfer += $input->readMapBegin($_ktype1453, $_vtype1454, $_size1452); - for ($_i1456 = 0; $_i1456 < $_size1452; ++$_i1456) + $_size1459 = 0; + $_ktype1460 = 0; + $_vtype1461 = 0; + $xfer += $input->readMapBegin($_ktype1460, $_vtype1461, $_size1459); + for ($_i1463 = 0; $_i1463 < $_size1459; ++$_i1463) { - $key1457 = ''; - $val1458 = ''; - $xfer += $input->readString($key1457); - $xfer += $input->readString($val1458); - $this->part_vals[$key1457] = $val1458; + $key1464 = ''; + $val1465 = ''; + $xfer += $input->readString($key1464); + $xfer += $input->readString($val1465); + $this->part_vals[$key1464] = $val1465; } $xfer += $input->readMapEnd(); } else { @@ -39235,10 +39253,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1459 => $viter1460) + foreach ($this->part_vals as $kiter1466 => $viter1467) { - $xfer += $output->writeString($kiter1459); - $xfer += $output->writeString($viter1460); + $xfer += $output->writeString($kiter1466); + $xfer += $output->writeString($viter1467); } } $output->writeMapEnd(); @@ -44717,14 +44735,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1461 = 0; - $_etype1464 = 0; - $xfer += $input->readListBegin($_etype1464, $_size1461); - for ($_i1465 = 0; $_i1465 < $_size1461; ++$_i1465) + $_size1468 = 0; + $_etype1471 = 0; + $xfer += $input->readListBegin($_etype1471, $_size1468); + for ($_i1472 = 0; $_i1472 < $_size1468; ++$_i1472) { - $elem1466 = null; - $xfer += $input->readString($elem1466); - $this->success []= $elem1466; + $elem1473 = null; + $xfer += $input->readString($elem1473); + $this->success []= $elem1473; } $xfer += $input->readListEnd(); } else { @@ -44760,9 +44778,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1467) + foreach ($this->success as $iter1474) { - $xfer += $output->writeString($iter1467); + $xfer += $output->writeString($iter1474); } } $output->writeListEnd(); @@ -45631,14 +45649,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1468 = 0; - $_etype1471 = 0; - $xfer += $input->readListBegin($_etype1471, $_size1468); - for ($_i1472 = 0; $_i1472 < $_size1468; ++$_i1472) + $_size1475 = 0; + $_etype1478 = 0; + $xfer += $input->readListBegin($_etype1478, $_size1475); + for ($_i1479 = 0; $_i1479 < $_size1475; ++$_i1479) { - $elem1473 = null; - $xfer += $input->readString($elem1473); - $this->success []= $elem1473; + $elem1480 = null; + $xfer += $input->readString($elem1480); + $this->success []= $elem1480; } $xfer += $input->readListEnd(); } else { @@ -45674,9 +45692,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1474) + foreach ($this->success as $iter1481) { - $xfer += $output->writeString($iter1474); + $xfer += $output->writeString($iter1481); } } $output->writeListEnd(); @@ -46367,15 +46385,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1475 = 0; - $_etype1478 = 0; - $xfer += $input->readListBegin($_etype1478, $_size1475); - for ($_i1479 = 0; $_i1479 < $_size1475; ++$_i1479) + $_size1482 = 0; + $_etype1485 = 0; + $xfer += $input->readListBegin($_etype1485, $_size1482); + for ($_i1486 = 0; $_i1486 < $_size1482; ++$_i1486) { - $elem1480 = null; - $elem1480 = new \metastore\Role(); - $xfer += $elem1480->read($input); - $this->success []= $elem1480; + $elem1487 = null; + $elem1487 = new \metastore\Role(); + $xfer += $elem1487->read($input); + $this->success []= $elem1487; } $xfer += $input->readListEnd(); } else { @@ -46411,9 +46429,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1481) + foreach ($this->success as $iter1488) { - $xfer += $iter1481->write($output); + $xfer += $iter1488->write($output); } } $output->writeListEnd(); @@ -47075,14 +47093,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1482 = 0; - $_etype1485 = 0; - $xfer += $input->readListBegin($_etype1485, $_size1482); - for ($_i1486 = 0; $_i1486 < $_size1482; ++$_i1486) + $_size1489 = 0; + $_etype1492 = 0; + $xfer += $input->readListBegin($_etype1492, $_size1489); + for ($_i1493 = 0; $_i1493 < $_size1489; ++$_i1493) { - $elem1487 = null; - $xfer += $input->readString($elem1487); - $this->group_names []= $elem1487; + $elem1494 = null; + $xfer += $input->readString($elem1494); + $this->group_names []= $elem1494; } $xfer += $input->readListEnd(); } else { @@ -47123,9 +47141,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1488) + foreach ($this->group_names as $iter1495) { - $xfer += $output->writeString($iter1488); + $xfer += $output->writeString($iter1495); } } $output->writeListEnd(); @@ -47433,15 +47451,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1489 = 0; - $_etype1492 = 0; - $xfer += $input->readListBegin($_etype1492, $_size1489); - for ($_i1493 = 0; $_i1493 < $_size1489; ++$_i1493) + $_size1496 = 0; + $_etype1499 = 0; + $xfer += $input->readListBegin($_etype1499, $_size1496); + for ($_i1500 = 0; $_i1500 < $_size1496; ++$_i1500) { - $elem1494 = null; - $elem1494 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem1494->read($input); - $this->success []= $elem1494; + $elem1501 = null; + $elem1501 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem1501->read($input); + $this->success []= $elem1501; } $xfer += $input->readListEnd(); } else { @@ -47477,9 +47495,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1495) + foreach ($this->success as $iter1502) { - $xfer += $iter1495->write($output); + $xfer += $iter1502->write($output); } } $output->writeListEnd(); @@ -48347,14 +48365,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1496 = 0; - $_etype1499 = 0; - $xfer += $input->readListBegin($_etype1499, $_size1496); - for ($_i1500 = 0; $_i1500 < $_size1496; ++$_i1500) + $_size1503 = 0; + $_etype1506 = 0; + $xfer += $input->readListBegin($_etype1506, $_size1503); + for ($_i1507 = 0; $_i1507 < $_size1503; ++$_i1507) { - $elem1501 = null; - $xfer += $input->readString($elem1501); - $this->group_names []= $elem1501; + $elem1508 = null; + $xfer += $input->readString($elem1508); + $this->group_names []= $elem1508; } $xfer += $input->readListEnd(); } else { @@ -48387,9 +48405,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1502) + foreach ($this->group_names as $iter1509) { - $xfer += $output->writeString($iter1502); + $xfer += $output->writeString($iter1509); } } $output->writeListEnd(); @@ -48465,14 +48483,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1503 = 0; - $_etype1506 = 0; - $xfer += $input->readListBegin($_etype1506, $_size1503); - for ($_i1507 = 0; $_i1507 < $_size1503; ++$_i1507) + $_size1510 = 0; + $_etype1513 = 0; + $xfer += $input->readListBegin($_etype1513, $_size1510); + for ($_i1514 = 0; $_i1514 < $_size1510; ++$_i1514) { - $elem1508 = null; - $xfer += $input->readString($elem1508); - $this->success []= $elem1508; + $elem1515 = null; + $xfer += $input->readString($elem1515); + $this->success []= $elem1515; } $xfer += $input->readListEnd(); } else { @@ -48508,9 +48526,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1509) + foreach ($this->success as $iter1516) { - $xfer += $output->writeString($iter1509); + $xfer += $output->writeString($iter1516); } } $output->writeListEnd(); @@ -49627,14 +49645,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1510 = 0; - $_etype1513 = 0; - $xfer += $input->readListBegin($_etype1513, $_size1510); - for ($_i1514 = 0; $_i1514 < $_size1510; ++$_i1514) + $_size1517 = 0; + $_etype1520 = 0; + $xfer += $input->readListBegin($_etype1520, $_size1517); + for ($_i1521 = 0; $_i1521 < $_size1517; ++$_i1521) { - $elem1515 = null; - $xfer += $input->readString($elem1515); - $this->success []= $elem1515; + $elem1522 = null; + $xfer += $input->readString($elem1522); + $this->success []= $elem1522; } $xfer += $input->readListEnd(); } else { @@ -49662,9 +49680,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1516) + foreach ($this->success as $iter1523) { - $xfer += $output->writeString($iter1516); + $xfer += $output->writeString($iter1523); } } $output->writeListEnd(); @@ -50303,14 +50321,14 @@ class ThriftHiveMetastore_get_master_keys_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1517 = 0; - $_etype1520 = 0; - $xfer += $input->readListBegin($_etype1520, $_size1517); - for ($_i1521 = 0; $_i1521 < $_size1517; ++$_i1521) + $_size1524 = 0; + $_etype1527 = 0; + $xfer += $input->readListBegin($_etype1527, $_size1524); + for ($_i1528 = 0; $_i1528 < $_size1524; ++$_i1528) { - $elem1522 = null; - $xfer += $input->readString($elem1522); - $this->success []= $elem1522; + $elem1529 = null; + $xfer += $input->readString($elem1529); + $this->success []= $elem1529; } $xfer += $input->readListEnd(); } else { @@ -50338,9 +50356,9 @@ class ThriftHiveMetastore_get_master_keys_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1523) + foreach ($this->success as $iter1530) { - $xfer += $output->writeString($iter1523); + $xfer += $output->writeString($iter1530); } } $output->writeListEnd(); @@ -54094,14 +54112,14 @@ class ThriftHiveMetastore_find_columns_with_stats_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1524 = 0; - $_etype1527 = 0; - $xfer += $input->readListBegin($_etype1527, $_size1524); - for ($_i1528 = 0; $_i1528 < $_size1524; ++$_i1528) + $_size1531 = 0; + $_etype1534 = 0; + $xfer += $input->readListBegin($_etype1534, $_size1531); + for ($_i1535 = 0; $_i1535 < $_size1531; ++$_i1535) { - $elem1529 = null; - $xfer += $input->readString($elem1529); - $this->success []= $elem1529; + $elem1536 = null; + $xfer += $input->readString($elem1536); + $this->success []= $elem1536; } $xfer += $input->readListEnd(); } else { @@ -54129,9 +54147,9 @@ class ThriftHiveMetastore_find_columns_with_stats_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1530) + foreach ($this->success as $iter1537) { - $xfer += $output->writeString($iter1530); + $xfer += $output->writeString($iter1537); } } $output->writeListEnd(); @@ -62302,15 +62320,15 @@ class ThriftHiveMetastore_get_schema_all_versions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1531 = 0; - $_etype1534 = 0; - $xfer += $input->readListBegin($_etype1534, $_size1531); - for ($_i1535 = 0; $_i1535 < $_size1531; ++$_i1535) + $_size1538 = 0; + $_etype1541 = 0; + $xfer += $input->readListBegin($_etype1541, $_size1538); + for ($_i1542 = 0; $_i1542 < $_size1538; ++$_i1542) { - $elem1536 = null; - $elem1536 = new \metastore\SchemaVersion(); - $xfer += $elem1536->read($input); - $this->success []= $elem1536; + $elem1543 = null; + $elem1543 = new \metastore\SchemaVersion(); + $xfer += $elem1543->read($input); + $this->success []= $elem1543; } $xfer += $input->readListEnd(); } else { @@ -62354,9 +62372,9 @@ class ThriftHiveMetastore_get_schema_all_versions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1537) + foreach ($this->success as $iter1544) { - $xfer += $iter1537->write($output); + $xfer += $iter1544->write($output); } } $output->writeListEnd(); @@ -64225,15 +64243,15 @@ class ThriftHiveMetastore_get_runtime_stats_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1538 = 0; - $_etype1541 = 0; - $xfer += $input->readListBegin($_etype1541, $_size1538); - for ($_i1542 = 0; $_i1542 < $_size1538; ++$_i1542) + $_size1545 = 0; + $_etype1548 = 0; + $xfer += $input->readListBegin($_etype1548, $_size1545); + for ($_i1549 = 0; $_i1549 < $_size1545; ++$_i1549) { - $elem1543 = null; - $elem1543 = new \metastore\RuntimeStat(); - $xfer += $elem1543->read($input); - $this->success []= $elem1543; + $elem1550 = null; + $elem1550 = new \metastore\RuntimeStat(); + $xfer += $elem1550->read($input); + $this->success []= $elem1550; } $xfer += $input->readListEnd(); } else { @@ -64269,9 +64287,9 @@ class ThriftHiveMetastore_get_runtime_stats_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1544) + foreach ($this->success as $iter1551) { - $xfer += $iter1544->write($output); + $xfer += $iter1551->write($output); } } $output->writeListEnd(); diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote index 8e9a2c6718..d3f8e00742 100755 --- standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote @@ -32,7 +32,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print(' GetCatalogsResponse get_catalogs()') print(' void drop_catalog(DropCatalogRequest catName)') print(' void create_database(Database database)') - print(' Database get_database(string name)') + print(' Database get_database(string name, processorCapabilities, string processorIdentifier)') print(' void drop_database(string name, bool deleteData, bool cascade)') print(' get_databases(string pattern)') print(' get_all_databases()') @@ -368,10 +368,10 @@ elif cmd == 'create_database': pp.pprint(client.create_database(eval(args[0]),)) elif cmd == 'get_database': - if len(args) != 1: - print('get_database requires 1 args') + if len(args) != 3: + print('get_database requires 3 args') sys.exit(1) - pp.pprint(client.get_database(args[0],)) + pp.pprint(client.get_database(args[0],eval(args[1]),args[2],)) elif cmd == 'drop_database': if len(args) != 3: diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index 11164a056f..f22b82d480 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ standalone-metastore/metastore-common/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -76,10 +76,12 @@ def create_database(self, database): """ pass - def get_database(self, name): + def get_database(self, name, processorCapabilities, processorIdentifier): """ Parameters: - name + - processorCapabilities + - processorIdentifier """ pass @@ -2011,18 +2013,22 @@ def recv_create_database(self): raise result.o3 return - def get_database(self, name): + def get_database(self, name, processorCapabilities, processorIdentifier): """ Parameters: - name + - processorCapabilities + - processorIdentifier """ - self.send_get_database(name) + self.send_get_database(name, processorCapabilities, processorIdentifier) return self.recv_get_database() - def send_get_database(self, name): + def send_get_database(self, name, processorCapabilities, processorIdentifier): self._oprot.writeMessageBegin('get_database', TMessageType.CALL, self._seqid) args = get_database_args() args.name = name + args.processorCapabilities = processorCapabilities + args.processorIdentifier = processorIdentifier args.write(self._oprot) self._oprot.writeMessageEnd() self._oprot.trans.flush() @@ -2040,10 +2046,6 @@ def recv_get_database(self): iprot.readMessageEnd() if result.success is not None: return result.success - if result.o1 is not None: - raise result.o1 - if result.o2 is not None: - raise result.o2 raise TApplicationException(TApplicationException.MISSING_RESULT, "get_database failed: unknown result") def drop_database(self, name, deleteData, cascade): @@ -10219,16 +10221,10 @@ def process_get_database(self, seqid, iprot, oprot): iprot.readMessageEnd() result = get_database_result() try: - result.success = self._handler.get_database(args.name) + result.success = self._handler.get_database(args.name, args.processorCapabilities, args.processorIdentifier) msg_type = TMessageType.REPLY except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): raise - except NoSuchObjectException as o1: - msg_type = TMessageType.REPLY - result.o1 = o1 - except MetaException as o2: - msg_type = TMessageType.REPLY - result.o2 = o2 except Exception as ex: msg_type = TMessageType.EXCEPTION logging.exception(ex) @@ -16782,15 +16778,21 @@ class get_database_args: """ Attributes: - name + - processorCapabilities + - processorIdentifier """ thrift_spec = ( None, # 0 (1, TType.STRING, 'name', None, None, ), # 1 + (2, TType.LIST, 'processorCapabilities', (TType.STRING,None), None, ), # 2 + (3, TType.STRING, 'processorIdentifier', None, None, ), # 3 ) - def __init__(self, name=None,): + def __init__(self, name=None, processorCapabilities=None, processorIdentifier=None,): self.name = name + self.processorCapabilities = processorCapabilities + self.processorIdentifier = processorIdentifier 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: @@ -16806,6 +16808,21 @@ def read(self, iprot): self.name = iprot.readString() else: iprot.skip(ftype) + elif fid == 2: + if ftype == TType.LIST: + self.processorCapabilities = [] + (_etype1022, _size1019) = iprot.readListBegin() + for _i1023 in xrange(_size1019): + _elem1024 = iprot.readString() + self.processorCapabilities.append(_elem1024) + iprot.readListEnd() + else: + iprot.skip(ftype) + elif fid == 3: + if ftype == TType.STRING: + self.processorIdentifier = iprot.readString() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -16820,6 +16837,17 @@ def write(self, oprot): oprot.writeFieldBegin('name', TType.STRING, 1) oprot.writeString(self.name) oprot.writeFieldEnd() + if self.processorCapabilities is not None: + oprot.writeFieldBegin('processorCapabilities', TType.LIST, 2) + oprot.writeListBegin(TType.STRING, len(self.processorCapabilities)) + for iter1025 in self.processorCapabilities: + oprot.writeString(iter1025) + oprot.writeListEnd() + oprot.writeFieldEnd() + if self.processorIdentifier is not None: + oprot.writeFieldBegin('processorIdentifier', TType.STRING, 3) + oprot.writeString(self.processorIdentifier) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -16830,6 +16858,8 @@ def validate(self): def __hash__(self): value = 17 value = (value * 31) ^ hash(self.name) + value = (value * 31) ^ hash(self.processorCapabilities) + value = (value * 31) ^ hash(self.processorIdentifier) return value def __repr__(self): @@ -16847,20 +16877,14 @@ class get_database_result: """ Attributes: - success - - o1 - - o2 """ thrift_spec = ( (0, TType.STRUCT, 'success', (Database, Database.thrift_spec), None, ), # 0 - (1, TType.STRUCT, 'o1', (NoSuchObjectException, NoSuchObjectException.thrift_spec), None, ), # 1 - (2, TType.STRUCT, 'o2', (MetaException, MetaException.thrift_spec), None, ), # 2 ) - def __init__(self, success=None, o1=None, o2=None,): + def __init__(self, success=None,): self.success = success - self.o1 = o1 - self.o2 = o2 def read(self, iprot): if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: @@ -16877,18 +16901,6 @@ def read(self, iprot): self.success.read(iprot) else: iprot.skip(ftype) - elif fid == 1: - if ftype == TType.STRUCT: - self.o1 = NoSuchObjectException() - self.o1.read(iprot) - else: - iprot.skip(ftype) - elif fid == 2: - if ftype == TType.STRUCT: - self.o2 = MetaException() - self.o2.read(iprot) - else: - iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -16903,14 +16915,6 @@ def write(self, oprot): oprot.writeFieldBegin('success', TType.STRUCT, 0) self.success.write(oprot) oprot.writeFieldEnd() - if self.o1 is not None: - oprot.writeFieldBegin('o1', TType.STRUCT, 1) - self.o1.write(oprot) - oprot.writeFieldEnd() - if self.o2 is not None: - oprot.writeFieldBegin('o2', TType.STRUCT, 2) - self.o2.write(oprot) - oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -16921,8 +16925,6 @@ def validate(self): def __hash__(self): value = 17 value = (value * 31) ^ hash(self.success) - value = (value * 31) ^ hash(self.o1) - value = (value * 31) ^ hash(self.o2) return value def __repr__(self): @@ -17214,10 +17216,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1022, _size1019) = iprot.readListBegin() - for _i1023 in xrange(_size1019): - _elem1024 = iprot.readString() - self.success.append(_elem1024) + (_etype1029, _size1026) = iprot.readListBegin() + for _i1030 in xrange(_size1026): + _elem1031 = iprot.readString() + self.success.append(_elem1031) iprot.readListEnd() else: iprot.skip(ftype) @@ -17240,8 +17242,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 iter1025 in self.success: - oprot.writeString(iter1025) + for iter1032 in self.success: + oprot.writeString(iter1032) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17346,10 +17348,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1029, _size1026) = iprot.readListBegin() - for _i1030 in xrange(_size1026): - _elem1031 = iprot.readString() - self.success.append(_elem1031) + (_etype1036, _size1033) = iprot.readListBegin() + for _i1037 in xrange(_size1033): + _elem1038 = iprot.readString() + self.success.append(_elem1038) iprot.readListEnd() else: iprot.skip(ftype) @@ -17372,8 +17374,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 iter1032 in self.success: - oprot.writeString(iter1032) + for iter1039 in self.success: + oprot.writeString(iter1039) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18143,12 +18145,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1034, _vtype1035, _size1033 ) = iprot.readMapBegin() - for _i1037 in xrange(_size1033): - _key1038 = iprot.readString() - _val1039 = Type() - _val1039.read(iprot) - self.success[_key1038] = _val1039 + (_ktype1041, _vtype1042, _size1040 ) = iprot.readMapBegin() + for _i1044 in xrange(_size1040): + _key1045 = iprot.readString() + _val1046 = Type() + _val1046.read(iprot) + self.success[_key1045] = _val1046 iprot.readMapEnd() else: iprot.skip(ftype) @@ -18171,9 +18173,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 kiter1040,viter1041 in self.success.items(): - oprot.writeString(kiter1040) - viter1041.write(oprot) + for kiter1047,viter1048 in self.success.items(): + oprot.writeString(kiter1047) + viter1048.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -18316,11 +18318,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1045, _size1042) = iprot.readListBegin() - for _i1046 in xrange(_size1042): - _elem1047 = FieldSchema() - _elem1047.read(iprot) - self.success.append(_elem1047) + (_etype1052, _size1049) = iprot.readListBegin() + for _i1053 in xrange(_size1049): + _elem1054 = FieldSchema() + _elem1054.read(iprot) + self.success.append(_elem1054) iprot.readListEnd() else: iprot.skip(ftype) @@ -18355,8 +18357,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 iter1048 in self.success: - iter1048.write(oprot) + for iter1055 in self.success: + iter1055.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18523,11 +18525,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1052, _size1049) = iprot.readListBegin() - for _i1053 in xrange(_size1049): - _elem1054 = FieldSchema() - _elem1054.read(iprot) - self.success.append(_elem1054) + (_etype1059, _size1056) = iprot.readListBegin() + for _i1060 in xrange(_size1056): + _elem1061 = FieldSchema() + _elem1061.read(iprot) + self.success.append(_elem1061) iprot.readListEnd() else: iprot.skip(ftype) @@ -18562,8 +18564,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 iter1055 in self.success: - iter1055.write(oprot) + for iter1062 in self.success: + iter1062.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18716,11 +18718,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1059, _size1056) = iprot.readListBegin() - for _i1060 in xrange(_size1056): - _elem1061 = FieldSchema() - _elem1061.read(iprot) - self.success.append(_elem1061) + (_etype1066, _size1063) = iprot.readListBegin() + for _i1067 in xrange(_size1063): + _elem1068 = FieldSchema() + _elem1068.read(iprot) + self.success.append(_elem1068) iprot.readListEnd() else: iprot.skip(ftype) @@ -18755,8 +18757,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 iter1062 in self.success: - iter1062.write(oprot) + for iter1069 in self.success: + iter1069.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18923,11 +18925,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1066, _size1063) = iprot.readListBegin() - for _i1067 in xrange(_size1063): - _elem1068 = FieldSchema() - _elem1068.read(iprot) - self.success.append(_elem1068) + (_etype1073, _size1070) = iprot.readListBegin() + for _i1074 in xrange(_size1070): + _elem1075 = FieldSchema() + _elem1075.read(iprot) + self.success.append(_elem1075) iprot.readListEnd() else: iprot.skip(ftype) @@ -18962,8 +18964,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 iter1069 in self.success: - iter1069.write(oprot) + for iter1076 in self.success: + iter1076.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19416,66 +19418,66 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.primaryKeys = [] - (_etype1073, _size1070) = iprot.readListBegin() - for _i1074 in xrange(_size1070): - _elem1075 = SQLPrimaryKey() - _elem1075.read(iprot) - self.primaryKeys.append(_elem1075) + (_etype1080, _size1077) = iprot.readListBegin() + for _i1081 in xrange(_size1077): + _elem1082 = SQLPrimaryKey() + _elem1082.read(iprot) + self.primaryKeys.append(_elem1082) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.foreignKeys = [] - (_etype1079, _size1076) = iprot.readListBegin() - for _i1080 in xrange(_size1076): - _elem1081 = SQLForeignKey() - _elem1081.read(iprot) - self.foreignKeys.append(_elem1081) + (_etype1086, _size1083) = iprot.readListBegin() + for _i1087 in xrange(_size1083): + _elem1088 = SQLForeignKey() + _elem1088.read(iprot) + self.foreignKeys.append(_elem1088) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.uniqueConstraints = [] - (_etype1085, _size1082) = iprot.readListBegin() - for _i1086 in xrange(_size1082): - _elem1087 = SQLUniqueConstraint() - _elem1087.read(iprot) - self.uniqueConstraints.append(_elem1087) + (_etype1092, _size1089) = iprot.readListBegin() + for _i1093 in xrange(_size1089): + _elem1094 = SQLUniqueConstraint() + _elem1094.read(iprot) + self.uniqueConstraints.append(_elem1094) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.notNullConstraints = [] - (_etype1091, _size1088) = iprot.readListBegin() - for _i1092 in xrange(_size1088): - _elem1093 = SQLNotNullConstraint() - _elem1093.read(iprot) - self.notNullConstraints.append(_elem1093) + (_etype1098, _size1095) = iprot.readListBegin() + for _i1099 in xrange(_size1095): + _elem1100 = SQLNotNullConstraint() + _elem1100.read(iprot) + self.notNullConstraints.append(_elem1100) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.LIST: self.defaultConstraints = [] - (_etype1097, _size1094) = iprot.readListBegin() - for _i1098 in xrange(_size1094): - _elem1099 = SQLDefaultConstraint() - _elem1099.read(iprot) - self.defaultConstraints.append(_elem1099) + (_etype1104, _size1101) = iprot.readListBegin() + for _i1105 in xrange(_size1101): + _elem1106 = SQLDefaultConstraint() + _elem1106.read(iprot) + self.defaultConstraints.append(_elem1106) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 7: if ftype == TType.LIST: self.checkConstraints = [] - (_etype1103, _size1100) = iprot.readListBegin() - for _i1104 in xrange(_size1100): - _elem1105 = SQLCheckConstraint() - _elem1105.read(iprot) - self.checkConstraints.append(_elem1105) + (_etype1110, _size1107) = iprot.readListBegin() + for _i1111 in xrange(_size1107): + _elem1112 = SQLCheckConstraint() + _elem1112.read(iprot) + self.checkConstraints.append(_elem1112) iprot.readListEnd() else: iprot.skip(ftype) @@ -19496,43 +19498,43 @@ def write(self, oprot): if self.primaryKeys is not None: oprot.writeFieldBegin('primaryKeys', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.primaryKeys)) - for iter1106 in self.primaryKeys: - iter1106.write(oprot) + for iter1113 in self.primaryKeys: + iter1113.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.foreignKeys is not None: oprot.writeFieldBegin('foreignKeys', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.foreignKeys)) - for iter1107 in self.foreignKeys: - iter1107.write(oprot) + for iter1114 in self.foreignKeys: + iter1114.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.uniqueConstraints is not None: oprot.writeFieldBegin('uniqueConstraints', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.uniqueConstraints)) - for iter1108 in self.uniqueConstraints: - iter1108.write(oprot) + for iter1115 in self.uniqueConstraints: + iter1115.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.notNullConstraints is not None: oprot.writeFieldBegin('notNullConstraints', TType.LIST, 5) oprot.writeListBegin(TType.STRUCT, len(self.notNullConstraints)) - for iter1109 in self.notNullConstraints: - iter1109.write(oprot) + for iter1116 in self.notNullConstraints: + iter1116.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.defaultConstraints is not None: oprot.writeFieldBegin('defaultConstraints', TType.LIST, 6) oprot.writeListBegin(TType.STRUCT, len(self.defaultConstraints)) - for iter1110 in self.defaultConstraints: - iter1110.write(oprot) + for iter1117 in self.defaultConstraints: + iter1117.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.checkConstraints is not None: oprot.writeFieldBegin('checkConstraints', TType.LIST, 7) oprot.writeListBegin(TType.STRUCT, len(self.checkConstraints)) - for iter1111 in self.checkConstraints: - iter1111.write(oprot) + for iter1118 in self.checkConstraints: + iter1118.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21266,10 +21268,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.partNames = [] - (_etype1115, _size1112) = iprot.readListBegin() - for _i1116 in xrange(_size1112): - _elem1117 = iprot.readString() - self.partNames.append(_elem1117) + (_etype1122, _size1119) = iprot.readListBegin() + for _i1123 in xrange(_size1119): + _elem1124 = iprot.readString() + self.partNames.append(_elem1124) iprot.readListEnd() else: iprot.skip(ftype) @@ -21294,8 +21296,8 @@ def write(self, oprot): if self.partNames is not None: oprot.writeFieldBegin('partNames', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.partNames)) - for iter1118 in self.partNames: - oprot.writeString(iter1118) + for iter1125 in self.partNames: + oprot.writeString(iter1125) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21640,10 +21642,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1122, _size1119) = iprot.readListBegin() - for _i1123 in xrange(_size1119): - _elem1124 = iprot.readString() - self.success.append(_elem1124) + (_etype1129, _size1126) = iprot.readListBegin() + for _i1130 in xrange(_size1126): + _elem1131 = iprot.readString() + self.success.append(_elem1131) iprot.readListEnd() else: iprot.skip(ftype) @@ -21666,8 +21668,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 iter1125 in self.success: - oprot.writeString(iter1125) + for iter1132 in self.success: + oprot.writeString(iter1132) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21817,10 +21819,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1129, _size1126) = iprot.readListBegin() - for _i1130 in xrange(_size1126): - _elem1131 = iprot.readString() - self.success.append(_elem1131) + (_etype1136, _size1133) = iprot.readListBegin() + for _i1137 in xrange(_size1133): + _elem1138 = iprot.readString() + self.success.append(_elem1138) iprot.readListEnd() else: iprot.skip(ftype) @@ -21843,8 +21845,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 iter1132 in self.success: - oprot.writeString(iter1132) + for iter1139 in self.success: + oprot.writeString(iter1139) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21949,11 +21951,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1136, _size1133) = iprot.readListBegin() - for _i1137 in xrange(_size1133): - _elem1138 = Table() - _elem1138.read(iprot) - self.success.append(_elem1138) + (_etype1143, _size1140) = iprot.readListBegin() + for _i1144 in xrange(_size1140): + _elem1145 = Table() + _elem1145.read(iprot) + self.success.append(_elem1145) iprot.readListEnd() else: iprot.skip(ftype) @@ -21976,8 +21978,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 iter1139 in self.success: - iter1139.write(oprot) + for iter1146 in self.success: + iter1146.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22101,10 +22103,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1143, _size1140) = iprot.readListBegin() - for _i1144 in xrange(_size1140): - _elem1145 = iprot.readString() - self.success.append(_elem1145) + (_etype1150, _size1147) = iprot.readListBegin() + for _i1151 in xrange(_size1147): + _elem1152 = iprot.readString() + self.success.append(_elem1152) iprot.readListEnd() else: iprot.skip(ftype) @@ -22127,8 +22129,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 iter1146 in self.success: - oprot.writeString(iter1146) + for iter1153 in self.success: + oprot.writeString(iter1153) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22201,10 +22203,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype1150, _size1147) = iprot.readListBegin() - for _i1151 in xrange(_size1147): - _elem1152 = iprot.readString() - self.tbl_types.append(_elem1152) + (_etype1157, _size1154) = iprot.readListBegin() + for _i1158 in xrange(_size1154): + _elem1159 = iprot.readString() + self.tbl_types.append(_elem1159) iprot.readListEnd() else: iprot.skip(ftype) @@ -22229,8 +22231,8 @@ def write(self, oprot): if self.tbl_types is not None: oprot.writeFieldBegin('tbl_types', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.tbl_types)) - for iter1153 in self.tbl_types: - oprot.writeString(iter1153) + for iter1160 in self.tbl_types: + oprot.writeString(iter1160) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22286,11 +22288,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1157, _size1154) = iprot.readListBegin() - for _i1158 in xrange(_size1154): - _elem1159 = TableMeta() - _elem1159.read(iprot) - self.success.append(_elem1159) + (_etype1164, _size1161) = iprot.readListBegin() + for _i1165 in xrange(_size1161): + _elem1166 = TableMeta() + _elem1166.read(iprot) + self.success.append(_elem1166) iprot.readListEnd() else: iprot.skip(ftype) @@ -22313,8 +22315,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 iter1160 in self.success: - iter1160.write(oprot) + for iter1167 in self.success: + iter1167.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22438,10 +22440,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1164, _size1161) = iprot.readListBegin() - for _i1165 in xrange(_size1161): - _elem1166 = iprot.readString() - self.success.append(_elem1166) + (_etype1171, _size1168) = iprot.readListBegin() + for _i1172 in xrange(_size1168): + _elem1173 = iprot.readString() + self.success.append(_elem1173) iprot.readListEnd() else: iprot.skip(ftype) @@ -22464,8 +22466,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 iter1167 in self.success: - oprot.writeString(iter1167) + for iter1174 in self.success: + oprot.writeString(iter1174) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22701,10 +22703,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype1171, _size1168) = iprot.readListBegin() - for _i1172 in xrange(_size1168): - _elem1173 = iprot.readString() - self.tbl_names.append(_elem1173) + (_etype1178, _size1175) = iprot.readListBegin() + for _i1179 in xrange(_size1175): + _elem1180 = iprot.readString() + self.tbl_names.append(_elem1180) iprot.readListEnd() else: iprot.skip(ftype) @@ -22725,8 +22727,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 iter1174 in self.tbl_names: - oprot.writeString(iter1174) + for iter1181 in self.tbl_names: + oprot.writeString(iter1181) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22778,11 +22780,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1178, _size1175) = iprot.readListBegin() - for _i1179 in xrange(_size1175): - _elem1180 = Table() - _elem1180.read(iprot) - self.success.append(_elem1180) + (_etype1185, _size1182) = iprot.readListBegin() + for _i1186 in xrange(_size1182): + _elem1187 = Table() + _elem1187.read(iprot) + self.success.append(_elem1187) iprot.readListEnd() else: iprot.skip(ftype) @@ -22799,8 +22801,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 iter1181 in self.success: - iter1181.write(oprot) + for iter1188 in self.success: + iter1188.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22920,11 +22922,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1185, _size1182) = iprot.readListBegin() - for _i1186 in xrange(_size1182): - _elem1187 = ExtendedTableInfo() - _elem1187.read(iprot) - self.success.append(_elem1187) + (_etype1192, _size1189) = iprot.readListBegin() + for _i1193 in xrange(_size1189): + _elem1194 = ExtendedTableInfo() + _elem1194.read(iprot) + self.success.append(_elem1194) iprot.readListEnd() else: iprot.skip(ftype) @@ -22947,8 +22949,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 iter1188 in self.success: - iter1188.write(oprot) + for iter1195 in self.success: + iter1195.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23821,10 +23823,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1192, _size1189) = iprot.readListBegin() - for _i1193 in xrange(_size1189): - _elem1194 = iprot.readString() - self.success.append(_elem1194) + (_etype1199, _size1196) = iprot.readListBegin() + for _i1200 in xrange(_size1196): + _elem1201 = iprot.readString() + self.success.append(_elem1201) iprot.readListEnd() else: iprot.skip(ftype) @@ -23859,8 +23861,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 iter1195 in self.success: - oprot.writeString(iter1195) + for iter1202 in self.success: + oprot.writeString(iter1202) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24989,11 +24991,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype1199, _size1196) = iprot.readListBegin() - for _i1200 in xrange(_size1196): - _elem1201 = Partition() - _elem1201.read(iprot) - self.new_parts.append(_elem1201) + (_etype1206, _size1203) = iprot.readListBegin() + for _i1207 in xrange(_size1203): + _elem1208 = Partition() + _elem1208.read(iprot) + self.new_parts.append(_elem1208) iprot.readListEnd() else: iprot.skip(ftype) @@ -25010,8 +25012,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 iter1202 in self.new_parts: - iter1202.write(oprot) + for iter1209 in self.new_parts: + iter1209.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -25169,11 +25171,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype1206, _size1203) = iprot.readListBegin() - for _i1207 in xrange(_size1203): - _elem1208 = PartitionSpec() - _elem1208.read(iprot) - self.new_parts.append(_elem1208) + (_etype1213, _size1210) = iprot.readListBegin() + for _i1214 in xrange(_size1210): + _elem1215 = PartitionSpec() + _elem1215.read(iprot) + self.new_parts.append(_elem1215) iprot.readListEnd() else: iprot.skip(ftype) @@ -25190,8 +25192,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 iter1209 in self.new_parts: - iter1209.write(oprot) + for iter1216 in self.new_parts: + iter1216.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -25365,10 +25367,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1213, _size1210) = iprot.readListBegin() - for _i1214 in xrange(_size1210): - _elem1215 = iprot.readString() - self.part_vals.append(_elem1215) + (_etype1220, _size1217) = iprot.readListBegin() + for _i1221 in xrange(_size1217): + _elem1222 = iprot.readString() + self.part_vals.append(_elem1222) iprot.readListEnd() else: iprot.skip(ftype) @@ -25393,8 +25395,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 iter1216 in self.part_vals: - oprot.writeString(iter1216) + for iter1223 in self.part_vals: + oprot.writeString(iter1223) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -25747,10 +25749,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1220, _size1217) = iprot.readListBegin() - for _i1221 in xrange(_size1217): - _elem1222 = iprot.readString() - self.part_vals.append(_elem1222) + (_etype1227, _size1224) = iprot.readListBegin() + for _i1228 in xrange(_size1224): + _elem1229 = iprot.readString() + self.part_vals.append(_elem1229) iprot.readListEnd() else: iprot.skip(ftype) @@ -25781,8 +25783,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 iter1223 in self.part_vals: - oprot.writeString(iter1223) + for iter1230 in self.part_vals: + oprot.writeString(iter1230) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -26377,10 +26379,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1227, _size1224) = iprot.readListBegin() - for _i1228 in xrange(_size1224): - _elem1229 = iprot.readString() - self.part_vals.append(_elem1229) + (_etype1234, _size1231) = iprot.readListBegin() + for _i1235 in xrange(_size1231): + _elem1236 = iprot.readString() + self.part_vals.append(_elem1236) iprot.readListEnd() else: iprot.skip(ftype) @@ -26410,8 +26412,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 iter1230 in self.part_vals: - oprot.writeString(iter1230) + for iter1237 in self.part_vals: + oprot.writeString(iter1237) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -26584,10 +26586,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1234, _size1231) = iprot.readListBegin() - for _i1235 in xrange(_size1231): - _elem1236 = iprot.readString() - self.part_vals.append(_elem1236) + (_etype1241, _size1238) = iprot.readListBegin() + for _i1242 in xrange(_size1238): + _elem1243 = iprot.readString() + self.part_vals.append(_elem1243) iprot.readListEnd() else: iprot.skip(ftype) @@ -26623,8 +26625,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 iter1237 in self.part_vals: - oprot.writeString(iter1237) + for iter1244 in self.part_vals: + oprot.writeString(iter1244) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -27361,10 +27363,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1241, _size1238) = iprot.readListBegin() - for _i1242 in xrange(_size1238): - _elem1243 = iprot.readString() - self.part_vals.append(_elem1243) + (_etype1248, _size1245) = iprot.readListBegin() + for _i1249 in xrange(_size1245): + _elem1250 = iprot.readString() + self.part_vals.append(_elem1250) iprot.readListEnd() else: iprot.skip(ftype) @@ -27389,8 +27391,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 iter1244 in self.part_vals: - oprot.writeString(iter1244) + for iter1251 in self.part_vals: + oprot.writeString(iter1251) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27549,11 +27551,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1246, _vtype1247, _size1245 ) = iprot.readMapBegin() - for _i1249 in xrange(_size1245): - _key1250 = iprot.readString() - _val1251 = iprot.readString() - self.partitionSpecs[_key1250] = _val1251 + (_ktype1253, _vtype1254, _size1252 ) = iprot.readMapBegin() + for _i1256 in xrange(_size1252): + _key1257 = iprot.readString() + _val1258 = iprot.readString() + self.partitionSpecs[_key1257] = _val1258 iprot.readMapEnd() else: iprot.skip(ftype) @@ -27590,9 +27592,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 kiter1252,viter1253 in self.partitionSpecs.items(): - oprot.writeString(kiter1252) - oprot.writeString(viter1253) + for kiter1259,viter1260 in self.partitionSpecs.items(): + oprot.writeString(kiter1259) + oprot.writeString(viter1260) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -27797,11 +27799,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1255, _vtype1256, _size1254 ) = iprot.readMapBegin() - for _i1258 in xrange(_size1254): - _key1259 = iprot.readString() - _val1260 = iprot.readString() - self.partitionSpecs[_key1259] = _val1260 + (_ktype1262, _vtype1263, _size1261 ) = iprot.readMapBegin() + for _i1265 in xrange(_size1261): + _key1266 = iprot.readString() + _val1267 = iprot.readString() + self.partitionSpecs[_key1266] = _val1267 iprot.readMapEnd() else: iprot.skip(ftype) @@ -27838,9 +27840,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 kiter1261,viter1262 in self.partitionSpecs.items(): - oprot.writeString(kiter1261) - oprot.writeString(viter1262) + for kiter1268,viter1269 in self.partitionSpecs.items(): + oprot.writeString(kiter1268) + oprot.writeString(viter1269) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -27923,11 +27925,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1266, _size1263) = iprot.readListBegin() - for _i1267 in xrange(_size1263): - _elem1268 = Partition() - _elem1268.read(iprot) - self.success.append(_elem1268) + (_etype1273, _size1270) = iprot.readListBegin() + for _i1274 in xrange(_size1270): + _elem1275 = Partition() + _elem1275.read(iprot) + self.success.append(_elem1275) iprot.readListEnd() else: iprot.skip(ftype) @@ -27968,8 +27970,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 iter1269 in self.success: - iter1269.write(oprot) + for iter1276 in self.success: + iter1276.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28063,10 +28065,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1273, _size1270) = iprot.readListBegin() - for _i1274 in xrange(_size1270): - _elem1275 = iprot.readString() - self.part_vals.append(_elem1275) + (_etype1280, _size1277) = iprot.readListBegin() + for _i1281 in xrange(_size1277): + _elem1282 = iprot.readString() + self.part_vals.append(_elem1282) iprot.readListEnd() else: iprot.skip(ftype) @@ -28078,10 +28080,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1279, _size1276) = iprot.readListBegin() - for _i1280 in xrange(_size1276): - _elem1281 = iprot.readString() - self.group_names.append(_elem1281) + (_etype1286, _size1283) = iprot.readListBegin() + for _i1287 in xrange(_size1283): + _elem1288 = iprot.readString() + self.group_names.append(_elem1288) iprot.readListEnd() else: iprot.skip(ftype) @@ -28106,8 +28108,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 iter1282 in self.part_vals: - oprot.writeString(iter1282) + for iter1289 in self.part_vals: + oprot.writeString(iter1289) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -28117,8 +28119,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 iter1283 in self.group_names: - oprot.writeString(iter1283) + for iter1290 in self.group_names: + oprot.writeString(iter1290) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -28547,11 +28549,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1287, _size1284) = iprot.readListBegin() - for _i1288 in xrange(_size1284): - _elem1289 = Partition() - _elem1289.read(iprot) - self.success.append(_elem1289) + (_etype1294, _size1291) = iprot.readListBegin() + for _i1295 in xrange(_size1291): + _elem1296 = Partition() + _elem1296.read(iprot) + self.success.append(_elem1296) iprot.readListEnd() else: iprot.skip(ftype) @@ -28580,8 +28582,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 iter1290 in self.success: - iter1290.write(oprot) + for iter1297 in self.success: + iter1297.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28675,10 +28677,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1294, _size1291) = iprot.readListBegin() - for _i1295 in xrange(_size1291): - _elem1296 = iprot.readString() - self.group_names.append(_elem1296) + (_etype1301, _size1298) = iprot.readListBegin() + for _i1302 in xrange(_size1298): + _elem1303 = iprot.readString() + self.group_names.append(_elem1303) iprot.readListEnd() else: iprot.skip(ftype) @@ -28711,8 +28713,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 iter1297 in self.group_names: - oprot.writeString(iter1297) + for iter1304 in self.group_names: + oprot.writeString(iter1304) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -28773,11 +28775,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1301, _size1298) = iprot.readListBegin() - for _i1302 in xrange(_size1298): - _elem1303 = Partition() - _elem1303.read(iprot) - self.success.append(_elem1303) + (_etype1308, _size1305) = iprot.readListBegin() + for _i1309 in xrange(_size1305): + _elem1310 = Partition() + _elem1310.read(iprot) + self.success.append(_elem1310) iprot.readListEnd() else: iprot.skip(ftype) @@ -28806,8 +28808,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 iter1304 in self.success: - iter1304.write(oprot) + for iter1311 in self.success: + iter1311.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28965,11 +28967,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1308, _size1305) = iprot.readListBegin() - for _i1309 in xrange(_size1305): - _elem1310 = PartitionSpec() - _elem1310.read(iprot) - self.success.append(_elem1310) + (_etype1315, _size1312) = iprot.readListBegin() + for _i1316 in xrange(_size1312): + _elem1317 = PartitionSpec() + _elem1317.read(iprot) + self.success.append(_elem1317) iprot.readListEnd() else: iprot.skip(ftype) @@ -28998,8 +29000,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 iter1311 in self.success: - iter1311.write(oprot) + for iter1318 in self.success: + iter1318.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29157,10 +29159,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1315, _size1312) = iprot.readListBegin() - for _i1316 in xrange(_size1312): - _elem1317 = iprot.readString() - self.success.append(_elem1317) + (_etype1322, _size1319) = iprot.readListBegin() + for _i1323 in xrange(_size1319): + _elem1324 = iprot.readString() + self.success.append(_elem1324) iprot.readListEnd() else: iprot.skip(ftype) @@ -29189,8 +29191,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 iter1318 in self.success: - oprot.writeString(iter1318) + for iter1325 in self.success: + oprot.writeString(iter1325) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29430,10 +29432,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1322, _size1319) = iprot.readListBegin() - for _i1323 in xrange(_size1319): - _elem1324 = iprot.readString() - self.part_vals.append(_elem1324) + (_etype1329, _size1326) = iprot.readListBegin() + for _i1330 in xrange(_size1326): + _elem1331 = iprot.readString() + self.part_vals.append(_elem1331) iprot.readListEnd() else: iprot.skip(ftype) @@ -29463,8 +29465,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 iter1325 in self.part_vals: - oprot.writeString(iter1325) + for iter1332 in self.part_vals: + oprot.writeString(iter1332) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -29528,11 +29530,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1329, _size1326) = iprot.readListBegin() - for _i1330 in xrange(_size1326): - _elem1331 = Partition() - _elem1331.read(iprot) - self.success.append(_elem1331) + (_etype1336, _size1333) = iprot.readListBegin() + for _i1337 in xrange(_size1333): + _elem1338 = Partition() + _elem1338.read(iprot) + self.success.append(_elem1338) iprot.readListEnd() else: iprot.skip(ftype) @@ -29561,8 +29563,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 iter1332 in self.success: - iter1332.write(oprot) + for iter1339 in self.success: + iter1339.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29649,10 +29651,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1336, _size1333) = iprot.readListBegin() - for _i1337 in xrange(_size1333): - _elem1338 = iprot.readString() - self.part_vals.append(_elem1338) + (_etype1343, _size1340) = iprot.readListBegin() + for _i1344 in xrange(_size1340): + _elem1345 = iprot.readString() + self.part_vals.append(_elem1345) iprot.readListEnd() else: iprot.skip(ftype) @@ -29669,10 +29671,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype1342, _size1339) = iprot.readListBegin() - for _i1343 in xrange(_size1339): - _elem1344 = iprot.readString() - self.group_names.append(_elem1344) + (_etype1349, _size1346) = iprot.readListBegin() + for _i1350 in xrange(_size1346): + _elem1351 = iprot.readString() + self.group_names.append(_elem1351) iprot.readListEnd() else: iprot.skip(ftype) @@ -29697,8 +29699,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 iter1345 in self.part_vals: - oprot.writeString(iter1345) + for iter1352 in self.part_vals: + oprot.writeString(iter1352) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -29712,8 +29714,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 iter1346 in self.group_names: - oprot.writeString(iter1346) + for iter1353 in self.group_names: + oprot.writeString(iter1353) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -29775,11 +29777,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1350, _size1347) = iprot.readListBegin() - for _i1351 in xrange(_size1347): - _elem1352 = Partition() - _elem1352.read(iprot) - self.success.append(_elem1352) + (_etype1357, _size1354) = iprot.readListBegin() + for _i1358 in xrange(_size1354): + _elem1359 = Partition() + _elem1359.read(iprot) + self.success.append(_elem1359) iprot.readListEnd() else: iprot.skip(ftype) @@ -29808,8 +29810,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 iter1353 in self.success: - iter1353.write(oprot) + for iter1360 in self.success: + iter1360.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29890,10 +29892,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1357, _size1354) = iprot.readListBegin() - for _i1358 in xrange(_size1354): - _elem1359 = iprot.readString() - self.part_vals.append(_elem1359) + (_etype1364, _size1361) = iprot.readListBegin() + for _i1365 in xrange(_size1361): + _elem1366 = iprot.readString() + self.part_vals.append(_elem1366) iprot.readListEnd() else: iprot.skip(ftype) @@ -29923,8 +29925,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 iter1360 in self.part_vals: - oprot.writeString(iter1360) + for iter1367 in self.part_vals: + oprot.writeString(iter1367) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -29988,10 +29990,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1364, _size1361) = iprot.readListBegin() - for _i1365 in xrange(_size1361): - _elem1366 = iprot.readString() - self.success.append(_elem1366) + (_etype1371, _size1368) = iprot.readListBegin() + for _i1372 in xrange(_size1368): + _elem1373 = iprot.readString() + self.success.append(_elem1373) iprot.readListEnd() else: iprot.skip(ftype) @@ -30020,8 +30022,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 iter1367 in self.success: - oprot.writeString(iter1367) + for iter1374 in self.success: + oprot.writeString(iter1374) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30192,11 +30194,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1371, _size1368) = iprot.readListBegin() - for _i1372 in xrange(_size1368): - _elem1373 = Partition() - _elem1373.read(iprot) - self.success.append(_elem1373) + (_etype1378, _size1375) = iprot.readListBegin() + for _i1379 in xrange(_size1375): + _elem1380 = Partition() + _elem1380.read(iprot) + self.success.append(_elem1380) iprot.readListEnd() else: iprot.skip(ftype) @@ -30225,8 +30227,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 iter1374 in self.success: - iter1374.write(oprot) + for iter1381 in self.success: + iter1381.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30397,11 +30399,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1378, _size1375) = iprot.readListBegin() - for _i1379 in xrange(_size1375): - _elem1380 = PartitionSpec() - _elem1380.read(iprot) - self.success.append(_elem1380) + (_etype1385, _size1382) = iprot.readListBegin() + for _i1386 in xrange(_size1382): + _elem1387 = PartitionSpec() + _elem1387.read(iprot) + self.success.append(_elem1387) iprot.readListEnd() else: iprot.skip(ftype) @@ -30430,8 +30432,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 iter1381 in self.success: - iter1381.write(oprot) + for iter1388 in self.success: + iter1388.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30851,10 +30853,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype1385, _size1382) = iprot.readListBegin() - for _i1386 in xrange(_size1382): - _elem1387 = iprot.readString() - self.names.append(_elem1387) + (_etype1392, _size1389) = iprot.readListBegin() + for _i1393 in xrange(_size1389): + _elem1394 = iprot.readString() + self.names.append(_elem1394) iprot.readListEnd() else: iprot.skip(ftype) @@ -30879,8 +30881,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 iter1388 in self.names: - oprot.writeString(iter1388) + for iter1395 in self.names: + oprot.writeString(iter1395) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -30939,11 +30941,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1392, _size1389) = iprot.readListBegin() - for _i1393 in xrange(_size1389): - _elem1394 = Partition() - _elem1394.read(iprot) - self.success.append(_elem1394) + (_etype1399, _size1396) = iprot.readListBegin() + for _i1400 in xrange(_size1396): + _elem1401 = Partition() + _elem1401.read(iprot) + self.success.append(_elem1401) iprot.readListEnd() else: iprot.skip(ftype) @@ -30972,8 +30974,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 iter1395 in self.success: - iter1395.write(oprot) + for iter1402 in self.success: + iter1402.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -31382,11 +31384,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1399, _size1396) = iprot.readListBegin() - for _i1400 in xrange(_size1396): - _elem1401 = Partition() - _elem1401.read(iprot) - self.new_parts.append(_elem1401) + (_etype1406, _size1403) = iprot.readListBegin() + for _i1407 in xrange(_size1403): + _elem1408 = Partition() + _elem1408.read(iprot) + self.new_parts.append(_elem1408) iprot.readListEnd() else: iprot.skip(ftype) @@ -31411,8 +31413,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 iter1402 in self.new_parts: - iter1402.write(oprot) + for iter1409 in self.new_parts: + iter1409.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -31565,11 +31567,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1406, _size1403) = iprot.readListBegin() - for _i1407 in xrange(_size1403): - _elem1408 = Partition() - _elem1408.read(iprot) - self.new_parts.append(_elem1408) + (_etype1413, _size1410) = iprot.readListBegin() + for _i1414 in xrange(_size1410): + _elem1415 = Partition() + _elem1415.read(iprot) + self.new_parts.append(_elem1415) iprot.readListEnd() else: iprot.skip(ftype) @@ -31600,8 +31602,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 iter1409 in self.new_parts: - iter1409.write(oprot) + for iter1416 in self.new_parts: + iter1416.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -32104,10 +32106,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1413, _size1410) = iprot.readListBegin() - for _i1414 in xrange(_size1410): - _elem1415 = iprot.readString() - self.part_vals.append(_elem1415) + (_etype1420, _size1417) = iprot.readListBegin() + for _i1421 in xrange(_size1417): + _elem1422 = iprot.readString() + self.part_vals.append(_elem1422) iprot.readListEnd() else: iprot.skip(ftype) @@ -32138,8 +32140,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 iter1416 in self.part_vals: - oprot.writeString(iter1416) + for iter1423 in self.part_vals: + oprot.writeString(iter1423) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -32440,10 +32442,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype1420, _size1417) = iprot.readListBegin() - for _i1421 in xrange(_size1417): - _elem1422 = iprot.readString() - self.part_vals.append(_elem1422) + (_etype1427, _size1424) = iprot.readListBegin() + for _i1428 in xrange(_size1424): + _elem1429 = iprot.readString() + self.part_vals.append(_elem1429) iprot.readListEnd() else: iprot.skip(ftype) @@ -32465,8 +32467,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 iter1423 in self.part_vals: - oprot.writeString(iter1423) + for iter1430 in self.part_vals: + oprot.writeString(iter1430) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -32824,10 +32826,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1427, _size1424) = iprot.readListBegin() - for _i1428 in xrange(_size1424): - _elem1429 = iprot.readString() - self.success.append(_elem1429) + (_etype1434, _size1431) = iprot.readListBegin() + for _i1435 in xrange(_size1431): + _elem1436 = iprot.readString() + self.success.append(_elem1436) iprot.readListEnd() else: iprot.skip(ftype) @@ -32850,8 +32852,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 iter1430 in self.success: - oprot.writeString(iter1430) + for iter1437 in self.success: + oprot.writeString(iter1437) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -32975,11 +32977,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1432, _vtype1433, _size1431 ) = iprot.readMapBegin() - for _i1435 in xrange(_size1431): - _key1436 = iprot.readString() - _val1437 = iprot.readString() - self.success[_key1436] = _val1437 + (_ktype1439, _vtype1440, _size1438 ) = iprot.readMapBegin() + for _i1442 in xrange(_size1438): + _key1443 = iprot.readString() + _val1444 = iprot.readString() + self.success[_key1443] = _val1444 iprot.readMapEnd() else: iprot.skip(ftype) @@ -33002,9 +33004,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 kiter1438,viter1439 in self.success.items(): - oprot.writeString(kiter1438) - oprot.writeString(viter1439) + for kiter1445,viter1446 in self.success.items(): + oprot.writeString(kiter1445) + oprot.writeString(viter1446) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -33080,11 +33082,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1441, _vtype1442, _size1440 ) = iprot.readMapBegin() - for _i1444 in xrange(_size1440): - _key1445 = iprot.readString() - _val1446 = iprot.readString() - self.part_vals[_key1445] = _val1446 + (_ktype1448, _vtype1449, _size1447 ) = iprot.readMapBegin() + for _i1451 in xrange(_size1447): + _key1452 = iprot.readString() + _val1453 = iprot.readString() + self.part_vals[_key1452] = _val1453 iprot.readMapEnd() else: iprot.skip(ftype) @@ -33114,9 +33116,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 kiter1447,viter1448 in self.part_vals.items(): - oprot.writeString(kiter1447) - oprot.writeString(viter1448) + for kiter1454,viter1455 in self.part_vals.items(): + oprot.writeString(kiter1454) + oprot.writeString(viter1455) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -33330,11 +33332,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1450, _vtype1451, _size1449 ) = iprot.readMapBegin() - for _i1453 in xrange(_size1449): - _key1454 = iprot.readString() - _val1455 = iprot.readString() - self.part_vals[_key1454] = _val1455 + (_ktype1457, _vtype1458, _size1456 ) = iprot.readMapBegin() + for _i1460 in xrange(_size1456): + _key1461 = iprot.readString() + _val1462 = iprot.readString() + self.part_vals[_key1461] = _val1462 iprot.readMapEnd() else: iprot.skip(ftype) @@ -33364,9 +33366,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 kiter1456,viter1457 in self.part_vals.items(): - oprot.writeString(kiter1456) - oprot.writeString(viter1457) + for kiter1463,viter1464 in self.part_vals.items(): + oprot.writeString(kiter1463) + oprot.writeString(viter1464) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -37392,10 +37394,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1461, _size1458) = iprot.readListBegin() - for _i1462 in xrange(_size1458): - _elem1463 = iprot.readString() - self.success.append(_elem1463) + (_etype1468, _size1465) = iprot.readListBegin() + for _i1469 in xrange(_size1465): + _elem1470 = iprot.readString() + self.success.append(_elem1470) iprot.readListEnd() else: iprot.skip(ftype) @@ -37418,8 +37420,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 iter1464 in self.success: - oprot.writeString(iter1464) + for iter1471 in self.success: + oprot.writeString(iter1471) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -38107,10 +38109,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1468, _size1465) = iprot.readListBegin() - for _i1469 in xrange(_size1465): - _elem1470 = iprot.readString() - self.success.append(_elem1470) + (_etype1475, _size1472) = iprot.readListBegin() + for _i1476 in xrange(_size1472): + _elem1477 = iprot.readString() + self.success.append(_elem1477) iprot.readListEnd() else: iprot.skip(ftype) @@ -38133,8 +38135,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 iter1471 in self.success: - oprot.writeString(iter1471) + for iter1478 in self.success: + oprot.writeString(iter1478) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -38648,11 +38650,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1475, _size1472) = iprot.readListBegin() - for _i1476 in xrange(_size1472): - _elem1477 = Role() - _elem1477.read(iprot) - self.success.append(_elem1477) + (_etype1482, _size1479) = iprot.readListBegin() + for _i1483 in xrange(_size1479): + _elem1484 = Role() + _elem1484.read(iprot) + self.success.append(_elem1484) iprot.readListEnd() else: iprot.skip(ftype) @@ -38675,8 +38677,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 iter1478 in self.success: - iter1478.write(oprot) + for iter1485 in self.success: + iter1485.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -39185,10 +39187,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype1482, _size1479) = iprot.readListBegin() - for _i1483 in xrange(_size1479): - _elem1484 = iprot.readString() - self.group_names.append(_elem1484) + (_etype1489, _size1486) = iprot.readListBegin() + for _i1490 in xrange(_size1486): + _elem1491 = iprot.readString() + self.group_names.append(_elem1491) iprot.readListEnd() else: iprot.skip(ftype) @@ -39213,8 +39215,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 iter1485 in self.group_names: - oprot.writeString(iter1485) + for iter1492 in self.group_names: + oprot.writeString(iter1492) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -39441,11 +39443,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1489, _size1486) = iprot.readListBegin() - for _i1490 in xrange(_size1486): - _elem1491 = HiveObjectPrivilege() - _elem1491.read(iprot) - self.success.append(_elem1491) + (_etype1496, _size1493) = iprot.readListBegin() + for _i1497 in xrange(_size1493): + _elem1498 = HiveObjectPrivilege() + _elem1498.read(iprot) + self.success.append(_elem1498) iprot.readListEnd() else: iprot.skip(ftype) @@ -39468,8 +39470,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 iter1492 in self.success: - iter1492.write(oprot) + for iter1499 in self.success: + iter1499.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -40139,10 +40141,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype1496, _size1493) = iprot.readListBegin() - for _i1497 in xrange(_size1493): - _elem1498 = iprot.readString() - self.group_names.append(_elem1498) + (_etype1503, _size1500) = iprot.readListBegin() + for _i1504 in xrange(_size1500): + _elem1505 = iprot.readString() + self.group_names.append(_elem1505) iprot.readListEnd() else: iprot.skip(ftype) @@ -40163,8 +40165,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 iter1499 in self.group_names: - oprot.writeString(iter1499) + for iter1506 in self.group_names: + oprot.writeString(iter1506) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -40219,10 +40221,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1503, _size1500) = iprot.readListBegin() - for _i1504 in xrange(_size1500): - _elem1505 = iprot.readString() - self.success.append(_elem1505) + (_etype1510, _size1507) = iprot.readListBegin() + for _i1511 in xrange(_size1507): + _elem1512 = iprot.readString() + self.success.append(_elem1512) iprot.readListEnd() else: iprot.skip(ftype) @@ -40245,8 +40247,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 iter1506 in self.success: - oprot.writeString(iter1506) + for iter1513 in self.success: + oprot.writeString(iter1513) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -41178,10 +41180,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1510, _size1507) = iprot.readListBegin() - for _i1511 in xrange(_size1507): - _elem1512 = iprot.readString() - self.success.append(_elem1512) + (_etype1517, _size1514) = iprot.readListBegin() + for _i1518 in xrange(_size1514): + _elem1519 = iprot.readString() + self.success.append(_elem1519) iprot.readListEnd() else: iprot.skip(ftype) @@ -41198,8 +41200,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 iter1513 in self.success: - oprot.writeString(iter1513) + for iter1520 in self.success: + oprot.writeString(iter1520) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -41726,10 +41728,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1517, _size1514) = iprot.readListBegin() - for _i1518 in xrange(_size1514): - _elem1519 = iprot.readString() - self.success.append(_elem1519) + (_etype1524, _size1521) = iprot.readListBegin() + for _i1525 in xrange(_size1521): + _elem1526 = iprot.readString() + self.success.append(_elem1526) iprot.readListEnd() else: iprot.skip(ftype) @@ -41746,8 +41748,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 iter1520 in self.success: - oprot.writeString(iter1520) + for iter1527 in self.success: + oprot.writeString(iter1527) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -44760,10 +44762,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1524, _size1521) = iprot.readListBegin() - for _i1525 in xrange(_size1521): - _elem1526 = iprot.readString() - self.success.append(_elem1526) + (_etype1531, _size1528) = iprot.readListBegin() + for _i1532 in xrange(_size1528): + _elem1533 = iprot.readString() + self.success.append(_elem1533) iprot.readListEnd() else: iprot.skip(ftype) @@ -44780,8 +44782,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 iter1527 in self.success: - oprot.writeString(iter1527) + for iter1534 in self.success: + oprot.writeString(iter1534) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -51091,11 +51093,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1531, _size1528) = iprot.readListBegin() - for _i1532 in xrange(_size1528): - _elem1533 = SchemaVersion() - _elem1533.read(iprot) - self.success.append(_elem1533) + (_etype1538, _size1535) = iprot.readListBegin() + for _i1539 in xrange(_size1535): + _elem1540 = SchemaVersion() + _elem1540.read(iprot) + self.success.append(_elem1540) iprot.readListEnd() else: iprot.skip(ftype) @@ -51124,8 +51126,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 iter1534 in self.success: - iter1534.write(oprot) + for iter1541 in self.success: + iter1541.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -52600,11 +52602,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1538, _size1535) = iprot.readListBegin() - for _i1539 in xrange(_size1535): - _elem1540 = RuntimeStat() - _elem1540.read(iprot) - self.success.append(_elem1540) + (_etype1545, _size1542) = iprot.readListBegin() + for _i1546 in xrange(_size1542): + _elem1547 = RuntimeStat() + _elem1547.read(iprot) + self.success.append(_elem1547) iprot.readListEnd() else: iprot.skip(ftype) @@ -52627,8 +52629,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 iter1541 in self.success: - iter1541.write(oprot) + for iter1548 in self.success: + iter1548.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: diff --git standalone-metastore/metastore-common/src/gen/thrift/gen-rb/thrift_hive_metastore.rb standalone-metastore/metastore-common/src/gen/thrift/gen-rb/thrift_hive_metastore.rb index 3151fd82b8..893a300532 100644 --- standalone-metastore/metastore-common/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ standalone-metastore/metastore-common/src/gen/thrift/gen-rb/thrift_hive_metastore.rb @@ -144,20 +144,18 @@ module ThriftHiveMetastore return end - def get_database(name) - send_get_database(name) + def get_database(name, processorCapabilities, processorIdentifier) + send_get_database(name, processorCapabilities, processorIdentifier) return recv_get_database() end - def send_get_database(name) - send_message('get_database', Get_database_args, :name => name) + def send_get_database(name, processorCapabilities, processorIdentifier) + send_message('get_database', Get_database_args, :name => name, :processorCapabilities => processorCapabilities, :processorIdentifier => processorIdentifier) end def recv_get_database() result = receive_message(Get_database_result) return result.success unless result.success.nil? - raise result.o1 unless result.o1.nil? - raise result.o2 unless result.o2.nil? raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_database failed: unknown result') end @@ -3877,13 +3875,7 @@ module ThriftHiveMetastore def process_get_database(seqid, iprot, oprot) args = read_args(iprot, Get_database_args) result = Get_database_result.new() - begin - result.success = @handler.get_database(args.name) - rescue ::NoSuchObjectException => o1 - result.o1 = o1 - rescue ::MetaException => o2 - result.o2 = o2 - end + result.success = @handler.get_database(args.name, args.processorCapabilities, args.processorIdentifier) write_result(result, oprot, 'get_database', seqid) end @@ -6866,9 +6858,13 @@ module ThriftHiveMetastore class Get_database_args include ::Thrift::Struct, ::Thrift::Struct_Union NAME = 1 + PROCESSORCAPABILITIES = 2 + PROCESSORIDENTIFIER = 3 FIELDS = { - NAME => {:type => ::Thrift::Types::STRING, :name => 'name'} + NAME => {:type => ::Thrift::Types::STRING, :name => 'name'}, + PROCESSORCAPABILITIES => {:type => ::Thrift::Types::LIST, :name => 'processorCapabilities', :element => {:type => ::Thrift::Types::STRING}}, + PROCESSORIDENTIFIER => {:type => ::Thrift::Types::STRING, :name => 'processorIdentifier'} } def struct_fields; FIELDS; end @@ -6882,13 +6878,9 @@ module ThriftHiveMetastore class Get_database_result include ::Thrift::Struct, ::Thrift::Struct_Union SUCCESS = 0 - O1 = 1 - O2 = 2 FIELDS = { - SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Database}, - O1 => {:type => ::Thrift::Types::STRUCT, :name => 'o1', :class => ::NoSuchObjectException}, - O2 => {:type => ::Thrift::Types::STRUCT, :name => 'o2', :class => ::MetaException} + SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::Database} } def struct_fields; FIELDS; end diff --git standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index d3429c1003..4eee194d33 100644 --- standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java @@ -733,6 +733,14 @@ public static void setProcessorIdentifier(final String id) { processorIdentifier = id; } + public static String[] getProcessorCapabilities() { + return processorCapabilities; + } + + public static String getProcessorIdentifier() { + return processorIdentifier; + } + @Override public void setMetaConf(String key, String value) throws TException { client.setMetaConf(key, value); @@ -1874,7 +1882,8 @@ public Database getDatabase(String name) throws TException { @Override public Database getDatabase(String catalogName, String databaseName) throws TException { - Database d = client.get_database(prependCatalogToDbName(catalogName, databaseName, conf)); + Database d = client.get_database(prependCatalogToDbName(catalogName, databaseName, conf), + ((processorCapabilities != null) ? Arrays.asList(processorCapabilities): null), processorIdentifier); return deepCopy(FilterUtils.filterDbIfEnabled(isClientFilterEnabled, filterHook, d)); } diff --git standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java index 5bd23b7748..f56e48a0a2 100644 --- standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java +++ standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java @@ -957,4 +957,24 @@ public static boolean isView(Table table) { public static List> compilePatternsToPredicates(List patterns) { return patterns.stream().map(pattern -> compile(pattern).asPredicate()).collect(Collectors.toList()); } + + /** + * Enforce strict location policies for tables + * + * Checks that the location for MANAGED_TABLE is under Warehouse ROOT + * Checks that the location for EXTERNAL_TABLE is outside the Warehouse ROOT + * + * @param Table + * the table whose location is to be validated + * @param conf + * hive configuration + * @return true or false depending on conformance + * if it doesn't match the pattern. + * @throws MetaException if paths do not adhere to the rules. + */ + public static boolean validateTableLocation(Table table, Configuration conf) { + if (table != null) { + } + return true; + } } diff --git standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift index 7e55970c0f..072f973fa9 100644 --- standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift +++ standalone-metastore/metastore-common/src/main/thrift/hive_metastore.thrift @@ -1921,7 +1921,7 @@ service ThriftHiveMetastore extends fb303.FacebookService void drop_catalog(1: DropCatalogRequest catName) throws (1:NoSuchObjectException o1, 2:InvalidOperationException o2, 3:MetaException o3) void create_database(1:Database database) throws(1:AlreadyExistsException o1, 2:InvalidObjectException o2, 3:MetaException o3) - Database get_database(1:string name) throws(1:NoSuchObjectException o1, 2:MetaException o2) + Database get_database(1:string name, 2:list processorCapabilities, 3:string processorIdentifier) void drop_database(1:string name, 2:bool deleteData, 3:bool cascade) throws(1:NoSuchObjectException o1, 2:InvalidOperationException o2, 3:MetaException o3) list get_databases(1:string pattern) throws(1:MetaException o1) list get_all_databases() throws(1:MetaException o1) diff --git standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java index 3397f93bf6..c7266a9a1a 100644 --- standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -1508,13 +1508,14 @@ public void create_database(final Database db) } @Override - public Database get_database(final String name) throws NoSuchObjectException, MetaException { + public Database get_database(final String name, List processorCapabilities, String processorId) + throws NoSuchObjectException, MetaException { startFunction("get_database", ": " + name); Database db = null; Exception ex = null; try { String[] parsedDbName = parseDbName(name, conf); - db = get_database_core(parsedDbName[CAT_NAME], parsedDbName[DB_NAME]); + db = get_database_internal(parsedDbName[CAT_NAME], parsedDbName[DB_NAME], processorCapabilities, processorId); firePreEvent(new PreReadDatabaseEvent(db, this)); } catch (MetaException|NoSuchObjectException e) { ex = e; @@ -1527,12 +1528,21 @@ public Database get_database(final String name) throws NoSuchObjectException, Me @Override public Database get_database_core(String catName, final String name) throws NoSuchObjectException, MetaException { + return get_database_internal(catName, name, null, null); + } + + private Database get_database_internal(String catName, final String name, List processorCapabilities, + String processorId) throws NoSuchObjectException, MetaException { Database db = null; if (name == null) { throw new MetaException("Database name cannot be null."); } try { db = getMS().getDatabase(catName, name); + if (processorCapabilities != null && !processorCapabilities.contains("MANAGERAWMETADATA") && + transformer != null) { + db = transformer.transformDatabase(db, processorCapabilities, processorId); + } } catch (MetaException | NoSuchObjectException e) { throw e; } catch (Exception e) { @@ -3299,6 +3309,7 @@ private Table getTableInternal(String catName, String dbname, String name, startTableFunction("get_table_metas", parsedDbName[CAT_NAME], parsedDbName[DB_NAME], tblNames); Exception ex = null; try { + LOG.info("getTableMeta:catalog=" + parsedDbName[CAT_NAME] + ",db=" + parsedDbName[DB_NAME] + ",tables=" + tblNames); t = getMS().getTableMeta(parsedDbName[CAT_NAME], parsedDbName[DB_NAME], tblNames, tblTypes); t = FilterUtils.filterTableMetasIfEnabled(isServerFilterEnabled, filterHook, parsedDbName[CAT_NAME], parsedDbName[DB_NAME], t); diff --git standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreMetadataTransformer.java standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreMetadataTransformer.java index c460e12826..9a21ad978f 100644 --- standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreMetadataTransformer.java +++ standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreMetadataTransformer.java @@ -22,6 +22,7 @@ import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.classification.InterfaceStability; +import org.apache.hadoop.hive.metastore.api.Database; import org.apache.hadoop.hive.metastore.api.MetaException; import org.apache.hadoop.hive.metastore.api.Partition; import org.apache.hadoop.hive.metastore.api.Table; @@ -36,14 +37,14 @@ public interface IMetaStoreMetadataTransformer { /** - * @param table A Table object to be transformed + * @param tables A list of tables to be transformed. * @param processorCapabilities A array of String capabilities received from the data processor * @param processorId String ID used for logging purpose. * @return Map A Map of transformed objects keyed by Table and value is list of required capabilities * @throws HiveMetaException */ // TODO HiveMetaException or MetaException - public Map> transform(List
tables, List processorCapabilities, + public Map> transform(List
tables, List processorCapabilities, String processorId) throws MetaException; @@ -55,7 +56,7 @@ * @throws HiveMetaException */ // TODO HiveMetaException or MetaException - public List transformPartitions(List parts, Table table, List processorCapabilities, + public List transformPartitions(List parts, Table table, List processorCapabilities, String processorId) throws MetaException; /** @@ -65,6 +66,17 @@ * @return Table An altered Table based on the processor capabilities * @throws HiveMetaException */ - public Table transformCreateTable(Table table, List processorCapabilities, + public Table transformCreateTable(Table table, List processorCapabilities, + String processorId) throws MetaException; + + /** + * @param db A database object to be transformed, mainly db location + * @param processorCapabilities A array of String capabilities received from the data processor + * @param processorId String ID used for logging purpose. + * @return Database An altered Database based on the processor capabilities + * @throws HiveMetaException + */ + public Database transformDatabase(Database db, List processorCapabilities, String processorId) throws MetaException; } + diff --git standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetastoreDefaultTransformer.java standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetastoreDefaultTransformer.java index 1d98b09ed7..977e9ff08c 100644 --- standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetastoreDefaultTransformer.java +++ standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/MetastoreDefaultTransformer.java @@ -24,6 +24,8 @@ import static org.apache.hadoop.hive.metastore.api.hive_metastoreConstants.TABLE_TRANSACTIONAL_PROPERTIES; import static org.apache.hadoop.hive.metastore.utils.MetaStoreUtils.EXTERNAL_TABLE_PURGE; +import org.apache.hadoop.fs.Path; +import org.apache.hadoop.hive.metastore.api.Database; import org.apache.hadoop.hive.metastore.api.MetaException; import org.apache.hadoop.hive.metastore.api.Partition; import org.apache.hadoop.hive.metastore.api.StorageDescriptor; @@ -114,8 +116,10 @@ public MetastoreDefaultTransformer(IHMSHandler handler) throws HiveMetaException if (numBuckets > 0) { generated.add(HIVEBUCKET2); if (processorCapabilities.contains(HIVEBUCKET2)) { + LOG.info("External bucketed table with HB2 capability:RW"); newTable.setAccessType(ACCESSTYPE_READWRITE); } else { + LOG.info("External bucketed table without HB2 capability:RO"); newTable.setAccessType(ACCESSTYPE_READONLY); requiredWrites.add(HIVEBUCKET2); StorageDescriptor newSd = new StorageDescriptor(table.getSd()); @@ -126,12 +130,15 @@ public MetastoreDefaultTransformer(IHMSHandler handler) throws HiveMetaException } } else { // Unbucketed if (processorCapabilities.contains(EXTWRITE) && processorCapabilities.contains(EXTREAD)) { + LOG.info("External unbucketed table with EXTREAD/WRITE capability:RW"); newTable.setAccessType(ACCESSTYPE_READWRITE); } else if (processorCapabilities.contains(EXTREAD)) { + LOG.info("External unbucketed table with EXTREAD capability:RO"); newTable.setAccessType(ACCESSTYPE_READONLY); requiredWrites.add(EXTWRITE); newTable.setRequiredWriteCapabilities(requiredWrites); } else { + LOG.info("External unbucketed table without EXTREAD/WRITE capability:NONE"); newTable.setAccessType(ACCESSTYPE_NONE); requiredReads.add(EXTREAD); requiredWrites.add(EXTWRITE); @@ -145,6 +152,7 @@ public MetastoreDefaultTransformer(IHMSHandler handler) throws HiveMetaException case "MANAGED_TABLE": String txnal = params.get(TABLE_IS_TRANSACTIONAL); if (txnal == null || txnal.equalsIgnoreCase("FALSE")) { // non-ACID MANAGED table + LOG.info("Managed non-acid table:RW"); table.setAccessType(ACCESSTYPE_READWRITE); generated.addAll(acidWriteList); } @@ -154,11 +162,13 @@ public MetastoreDefaultTransformer(IHMSHandler handler) throws HiveMetaException if (txntype != null && txntype.equalsIgnoreCase("insert_only")) { // MICRO_MANAGED Tables // MGD table is insert only, not full ACID if (processorCapabilities.contains(HIVEMANAGEDINSERTWRITE) || processorCapabilities.contains(CONNECTORWRITE)) { + LOG.info("Managed acid table with INSERTWRITE or CONNECTORWRITE capability:RW"); table.setAccessType(ACCESSTYPE_READWRITE); // clients have RW access to INSERT-ONLY ACID tables processorCapabilities.retainAll(insertOnlyWriteList); generated.addAll(processorCapabilities); LOG.info("Processor has one of the write capabilities on insert-only, granting RW"); } else if (processorCapabilities.contains(HIVEMANAGEDINSERTREAD) || processorCapabilities.contains(CONNECTORREAD)) { + LOG.info("Managed acid table with INSERTREAD or CONNECTORREAD capability:RO"); table.setAccessType(ACCESSTYPE_READONLY); // clients have RO access to INSERT-ONLY ACID tables generated.addAll(insertOnlyWriteList); table.setRequiredWriteCapabilities(insertOnlyWriteList); @@ -175,16 +185,19 @@ public MetastoreDefaultTransformer(IHMSHandler handler) throws HiveMetaException } } else { // FULL ACID MANAGED TABLE if (processorCapabilities.contains(HIVEFULLACIDWRITE) || processorCapabilities.contains(CONNECTORWRITE)) { + LOG.info("Full acid table with ACIDWRITE or CONNECTORWRITE capability:RW"); table.setAccessType(ACCESSTYPE_READWRITE); // clients have RW access to IUD ACID tables processorCapabilities.retainAll(acidWriteList); generated.addAll(processorCapabilities); } else if (processorCapabilities.contains(HIVEFULLACIDREAD) || processorCapabilities.contains(CONNECTORREAD)) { + LOG.info("Full acid table with ACIDREAD or CONNECTORREAD capability:RO"); table.setAccessType(ACCESSTYPE_READONLY); // clients have RO access to IUD ACID tables generated.addAll(acidWriteList); table.setRequiredWriteCapabilities(acidWriteList); processorCapabilities.retainAll(getReads(acidList)); generated.addAll(processorCapabilities); } else { + LOG.info("Full acid table without ACIDREAD/WRITE or CONNECTORREAD/WRITE capability:NONE"); table.setAccessType(ACCESSTYPE_NONE); // clients have NO access to IUD ACID tables table.setRequiredWriteCapabilities(acidWriteList); table.setRequiredReadCapabilities(Arrays.asList(CONNECTORREAD, HIVEFULLACIDREAD)); @@ -324,6 +337,7 @@ public MetastoreDefaultTransformer(IHMSHandler handler) throws HiveMetaException } if (processorCapabilities.contains(CONNECTORWRITE)) { + LOG.info("Managed acid table with CONNECTORWRITE capability:RW"); table.setAccessType(ACCESSTYPE_READWRITE); // clients have RW access to INSERT-ONLY ACID tables with CONNWRITE hintList.add(CONNECTORWRITE); hintList.addAll(getReads(requiredCapabilities)); @@ -331,6 +345,7 @@ public MetastoreDefaultTransformer(IHMSHandler handler) throws HiveMetaException continue; } else if (processorCapabilities.containsAll(getReads(requiredCapabilities)) || processorCapabilities.contains(HIVEMANAGEDINSERTREAD)) { + LOG.info("Managed acid table with MANAGEDREAD capability:RO"); table.setAccessType(ACCESSTYPE_READONLY); table.setRequiredWriteCapabilities(diff(getWrites(requiredCapabilities), getWrites(processorCapabilities))); hintList.add(HIVEMANAGEDINSERTWRITE); @@ -338,6 +353,7 @@ public MetastoreDefaultTransformer(IHMSHandler handler) throws HiveMetaException ret.put(table, hintList); continue; } else if (processorCapabilities.contains(CONNECTORREAD)) { + LOG.info("Managed acid table with CONNECTORREAD capability:RO"); table.setAccessType(ACCESSTYPE_READONLY); table.setRequiredWriteCapabilities(diff(getWrites(requiredCapabilities), getWrites(processorCapabilities))); hintList.add(CONNECTORREAD); @@ -345,6 +361,7 @@ public MetastoreDefaultTransformer(IHMSHandler handler) throws HiveMetaException ret.put(table, hintList); continue; } else { + LOG.info("Managed acid table without any READ capability:NONE"); table.setAccessType(ACCESSTYPE_NONE); ret.put(table, requiredCapabilities); table.setRequiredWriteCapabilities(diff(getWrites(requiredCapabilities), getWrites(processorCapabilities))); @@ -363,6 +380,7 @@ public MetastoreDefaultTransformer(IHMSHandler handler) throws HiveMetaException } if(processorCapabilities.contains(CONNECTORWRITE)) { + LOG.info("Full acid table with CONNECTORWRITE capability:RW"); table.setAccessType(ACCESSTYPE_READWRITE); // clients have RW access to IUD ACID tables hintList.add(CONNECTORWRITE); hintList.addAll(getReads(requiredCapabilities)); @@ -370,6 +388,7 @@ public MetastoreDefaultTransformer(IHMSHandler handler) throws HiveMetaException continue; } else if (processorCapabilities.contains(HIVEFULLACIDREAD) || (processorCapabilities.contains(CONNECTORREAD) )) { + LOG.info("Full acid table with CONNECTORREAD/ACIDREAD capability:RO"); table.setAccessType(ACCESSTYPE_READONLY); // clients have RO access to IUD ACID tables table.setRequiredWriteCapabilities(diff(getWrites(requiredCapabilities), getWrites(processorCapabilities))); hintList.add(CONNECTORREAD); @@ -377,6 +396,7 @@ public MetastoreDefaultTransformer(IHMSHandler handler) throws HiveMetaException ret.put(table, hintList); continue; } else { + LOG.info("Full acid table without READ capability:RO"); table.setAccessType(ACCESSTYPE_NONE); // clients have NO access to IUD ACID tables table.setRequiredWriteCapabilities(diff(getWrites(requiredCapabilities), getWrites(processorCapabilities))); table.setRequiredReadCapabilities(diff(getReads(requiredCapabilities), getReads(processorCapabilities))); @@ -534,6 +554,15 @@ public Table transformCreateTable(Table table, List processorCapabilitie params.put("TRANSLATED_TO_EXTERNAL", "TRUE"); newTable.setParameters(params); LOG.info("Modified table params are:" + params.toString()); + if (table.getSd().getLocation() == null) { + try { + Path newPath = hmsHandler.getWh().getDefaultTablePath(table.getDbName(), table.getTableName(), true); + newTable.getSd().setLocation(newPath.toString()); + LOG.info("Modified location from " + table.getSd().getLocation() + " to " + newPath); + } catch (Exception e) { + LOG.warn("Exception determining external table location:" + e.getMessage()); + } + } } } else { // ACID table if (processorCapabilities == null || processorCapabilities.isEmpty()) { @@ -565,6 +594,27 @@ public Table transformCreateTable(Table table, List processorCapabilitie return newTable; } + /** + * Alter location of the database depending on whether or not the processor has ACID capabilities. + */ + @Override + public Database transformDatabase(Database db, List processorCapabilities, String processorId) throws MetaException { + LOG.info("Starting translation for transformDatabase for processor " + processorId + " with " + processorCapabilities + + " on database " + db.getName()); + + if (processorCapabilities == null || (!processorCapabilities.contains(HIVEMANAGEDINSERTWRITE) && + !processorCapabilities.contains(HIVEFULLACIDWRITE))) { + LOG.info("Processor does not have any of ACID write capabilities, changing current location from " + + db.getLocationUri() + " to external warehouse location"); + // org.apache.hadoop.hive.metastore.utils.MetaStoreUtils.getDefaultCatalog() + Path extWhLocation = hmsHandler.getWh().getDefaultExternalDatabasePath(db.getName()); + LOG.info("Setting DBLocation to " + extWhLocation.toString()); + db.setLocationUri(extWhLocation.toString()); + } + LOG.info("Transformer returning database:" + db.toString()); + return db; + } + // returns the elements contained in list1 but missing in list2 private List diff(final List list1, final List list2) { List diffList = new ArrayList<>(); diff --git standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java index ccd7af5545..aa6a05ca6c 100644 --- standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java +++ standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java @@ -1376,7 +1376,7 @@ public boolean listPartitionsByExpr(String db_name, String tbl_name, byte[] expr @Override public Database getDatabase(String name) throws NoSuchObjectException, MetaException, TException { - Database d = client.get_database(name); + Database d = client.get_database(name, null, null); return fastpath ? d :deepCopy(filterHook.filterDatabase(d)); } diff --git standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestAddPartitions.java standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestAddPartitions.java index 3d66c3f027..3918d6bd7f 100644 --- standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestAddPartitions.java +++ standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestAddPartitions.java @@ -85,7 +85,12 @@ public void setUp() throws Exception { client = metaStore.getClient(); // Clean up the database - client.dropDatabase(DB_NAME, true, true, true); + try { + client.dropDatabase(DB_NAME, true, true, true); + } catch (Exception e ) { + e.printStackTrace(); + System.out.println("DropDatabase failed in setup:dbName=" + DB_NAME + ",message=" + e.getMessage()); + } metaStore.cleanWarehouseDirs(); new DatabaseBuilder(). setName(DB_NAME). @@ -465,12 +470,12 @@ public void testAddPartitionEmptyLocation() throws Exception { @Test public void testAddPartitionNullLocationInTableToo() throws Exception { - createTable(DB_NAME, TABLE_NAME, null); + Table table = createTable(DB_NAME, TABLE_NAME, null); Partition partition = buildPartition(DB_NAME, TABLE_NAME, DEFAULT_YEAR_VALUE, null); client.add_partition(partition); Partition part = client.getPartition(DB_NAME, TABLE_NAME, "year=2017"); Assert.assertEquals( - metaStore.getWarehouseRoot() + "/test_partition_db.db/test_partition_table/year=2017", + table.getSd().getLocation() + "/year=2017", part.getSd().getLocation()); Assert.assertTrue(metaStore.isPathExists(new Path(part.getSd().getLocation()))); } @@ -534,13 +539,14 @@ public void testAddPartitionForExternalTableNullLocation() throws Exception { String tableName = "part_add_ext_table"; createExternalTable(tableName, null); + Table table = client.getTable(DB_NAME, tableName); Partition partition = buildPartition(DB_NAME, tableName, DEFAULT_YEAR_VALUE, null); client.add_partition(partition); Partition resultPart = client.getPartition(DB_NAME, tableName, Lists.newArrayList(DEFAULT_YEAR_VALUE)); Assert.assertNotNull(resultPart); Assert.assertNotNull(resultPart.getSd()); - String defaultTableLocation = metaStore.getWarehouseRoot() + "/" + DB_NAME + ".db/" + tableName; + String defaultTableLocation = table.getSd().getLocation(); String defaulPartitionLocation = defaultTableLocation + "/year=2017"; Assert.assertEquals(defaulPartitionLocation, resultPart.getSd().getLocation()); } @@ -852,8 +858,8 @@ public void testAddPartitionsDifferentDBs() throws Exception { @Test public void testAddPartitionsDuplicateInTheList() throws Exception { - createTable(); - List partitions = buildPartitions(DB_NAME, TABLE_NAME, + Table table = createTable(); + List partitions = buildPartitions(table, Lists.newArrayList("2014", "2015", "2017", "2017", "2018", "2019")); try { @@ -896,13 +902,13 @@ public void testAddPartitionsWithSameNameInTheListCaseSensitive() throws Excepti @Test public void testAddPartitionsAlreadyExists() throws Exception { - createTable(); - String tableLocation = metaStore.getWarehouseRoot() + "/" + TABLE_NAME; + Table table = createTable(); + String tableLocation = table.getSd().getLocation(); Partition partition = buildPartition(DB_NAME, TABLE_NAME, "2016", tableLocation + "/year=2016a"); client.add_partition(partition); - List partitions = buildPartitions(DB_NAME, TABLE_NAME, + List partitions = buildPartitions(table, Lists.newArrayList("2014", "2015", "2016", "2017", "2018")); try { @@ -1151,7 +1157,7 @@ public void testAddPartitionNullAndEmptyLocation() throws Exception { @Test public void testAddPartitionsNullLocationInTableToo() throws Exception { - createTable(DB_NAME, TABLE_NAME, null); + Table table = createTable(DB_NAME, TABLE_NAME, null); List partitions = new ArrayList<>(); Partition partition = buildPartition(DB_NAME, TABLE_NAME, DEFAULT_YEAR_VALUE, null); partitions.add(partition); @@ -1159,7 +1165,7 @@ public void testAddPartitionsNullLocationInTableToo() throws Exception { Partition part = client.getPartition(DB_NAME, TABLE_NAME, "year=2017"); Assert.assertEquals( - metaStore.getWarehouseRoot() + "/test_partition_db.db/test_partition_table/year=2017", + table.getSd().getLocation() + "/year=2017", part.getSd().getLocation()); Assert.assertTrue(metaStore.isPathExists(new Path(part.getSd().getLocation()))); } @@ -1206,6 +1212,7 @@ public void testAddPartitionsForExternalTableNullLocation() throws Exception { String tableName = "part_add_ext_table"; createExternalTable(tableName, null); + Table table = client.getTable(DB_NAME, tableName); Partition partition1 = buildPartition(DB_NAME, tableName, "2017", null); Partition partition2 = buildPartition(DB_NAME, tableName, "2018", null); List partitions = Lists.newArrayList(partition1, partition2); @@ -1215,7 +1222,7 @@ public void testAddPartitionsForExternalTableNullLocation() throws Exception { Lists.newArrayList("year=2017", "year=2018")); Assert.assertNotNull(resultParts); Assert.assertEquals(2, resultParts.size()); - String defaultTableLocation = metaStore.getWarehouseRoot() + "/" + DB_NAME + ".db/" + tableName; + String defaultTableLocation = table.getSd().getLocation(); String defaultPartLocation1 = defaultTableLocation + "/year=2017"; String defaultPartLocation2 = defaultTableLocation + "/year=2018"; if (resultParts.get(0).getValues().get(0).equals("2017")) { @@ -1245,8 +1252,8 @@ public void testAddPartitionsNoValueInPartition() throws Exception { @Test(expected=MetaException.class) public void testAddPartitionsMorePartColInTable() throws Exception { - createTable(DB_NAME, TABLE_NAME, getYearAndMonthPartCols(), null); - Partition partition = buildPartition(DB_NAME, TABLE_NAME, DEFAULT_YEAR_VALUE); + Table table = createTable(DB_NAME, TABLE_NAME, getYearAndMonthPartCols(), null); + Partition partition = buildPartition(table, DEFAULT_YEAR_VALUE); List partitions = new ArrayList<>(); partitions.add(partition); client.add_partitions(partitions); @@ -1263,8 +1270,8 @@ public void testAddPartitionsNullPartition() throws Exception { @Test(expected = MetaException.class) public void testAddPartitionsNullValues() throws Exception { - createTable(); - Partition partition = buildPartition(DB_NAME, TABLE_NAME, null); + Table table = createTable(); + Partition partition = buildPartition(table, null); partition.setValues(null); List partitions = new ArrayList<>(); partitions.add(partition); @@ -1274,8 +1281,8 @@ public void testAddPartitionsNullValues() throws Exception { @Test public void testAddPartitionsEmptyValue() throws Exception { - createTable(); - Partition partition = buildPartition(DB_NAME, TABLE_NAME, ""); + Table table = createTable(); + Partition partition = buildPartition(table, ""); List partitions = new ArrayList<>(); partitions.add(partition); client.add_partitions(partitions); @@ -1289,15 +1296,15 @@ public void testAddPartitionsEmptyValue() throws Exception { @Test public void testAddPartitionsInvalidLocation() throws Exception { - createTable(); - String tableLocation = metaStore.getWarehouseRoot() + "/" + TABLE_NAME; + Table table = createTable(); + String tableLocation = table.getSd().getLocation(); Map valuesAndLocations = new HashMap<>(); valuesAndLocations.put("2014", tableLocation + "/year=2014"); valuesAndLocations.put("2015", tableLocation + "/year=2015"); valuesAndLocations.put("2016", "invalidhost:80000/wrongfolder"); valuesAndLocations.put("2017", tableLocation + "/year=2017"); valuesAndLocations.put("2018", tableLocation + "/year=2018"); - List partitions = buildPartitions(DB_NAME, TABLE_NAME, valuesAndLocations); + List partitions = buildPartitions(table, valuesAndLocations); try { client.add_partitions(partitions); @@ -1319,8 +1326,8 @@ public void testAddPartitionsInvalidLocation() throws Exception { @Test public void testAddPartitionsMoreThanThreadCountsOneFails() throws Exception { - createTable(); - String tableLocation = metaStore.getWarehouseRoot() + "/" + TABLE_NAME; + Table table = createTable(); + String tableLocation = table.getSd().getLocation(); List partitions = new ArrayList<>(); for (int i = 0; i < 50; i++) { @@ -1571,6 +1578,13 @@ protected Partition buildPartition(String dbName, String tableName, String value metaStore.getWarehouseRoot() + "/" + tableName + "/addparttest"); } + + protected Partition buildPartition(Table table, String value) + throws MetaException { + return buildPartition(table.getDbName(), table.getTableName(), value, + table.getSd().getLocation() + "/addparttest"); + } + protected Partition buildPartition(String dbName, String tableName, String value, String location) throws MetaException { Partition partition = new PartitionBuilder() @@ -1713,28 +1727,29 @@ protected void verifyPartitionAttributesDefaultValues(Partition partition, Strin skewedInfo.getSkewedColValueLocationMaps().isEmpty()); } - private List buildPartitions(String dbName, String tableName, List values) + private List buildPartitions(Table table, List values) throws MetaException { - String tableLocation = metaStore.getWarehouseRoot() + "/" + tableName; + String tableLocation = table.getSd().getLocation(); List partitions = new ArrayList<>(); for (String value : values) { Partition partition = - buildPartition(dbName, tableName, value, tableLocation + "/year=" + value); + buildPartition(table.getDbName(), table.getTableName(), value, tableLocation + "/year=" + value); partitions.add(partition); } return partitions; } - private List buildPartitions(String dbName, String tableName, + private List buildPartitions(Table table, Map valuesAndLocations) throws MetaException { List partitions = new ArrayList<>(); for (Map.Entry valueAndLocation : valuesAndLocations.entrySet()) { Partition partition = - buildPartition(dbName, tableName, valueAndLocation.getKey(), valueAndLocation.getValue()); + buildPartition(table.getDbName(), table.getTableName(), valueAndLocation.getKey(), + valueAndLocation.getValue()); partitions.add(partition); } return partitions; diff --git standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestListPartitions.java standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestListPartitions.java index 94d37c220f..5613911a23 100644 --- standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestListPartitions.java +++ standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestListPartitions.java @@ -89,9 +89,13 @@ public void setUp() throws Exception { client = metaStore.getClient(); // Clean up the database - client.dropDatabase(DB_NAME, true, true, true); + try { + client.dropDatabase(DB_NAME, true, true, true); + } catch (Exception e ) { + e.printStackTrace(); + System.out.println("DropDatabase failed in setup:dbName=" + DB_NAME + ",message=" + e.getMessage()); + } createDB(DB_NAME); - } @After diff --git standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools/HMSClient.java standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools/HMSClient.java index 7cc1e42a8b..50805a99a7 100644 --- standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools/HMSClient.java +++ standalone-metastore/metastore-tools/tools-common/src/main/java/org/apache/hadoop/hive/metastore/tools/HMSClient.java @@ -158,7 +158,7 @@ boolean tableExists(@NotNull String dbName, @NotNull String tableName) throws TE } Database getDatabase(@NotNull String dbName) throws TException { - return client.get_database(dbName); + return client.get_database(dbName, null, null); } /**